Recherche avancée

Médias (0)

Mot : - Tags -/diogene

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (74)

  • Qualité du média après traitement

    21 juin 2013, par

    Le bon réglage du logiciel qui traite les média est important pour un équilibre entre les partis ( bande passante de l’hébergeur, qualité du média pour le rédacteur et le visiteur, accessibilité pour le visiteur ). Comment régler la qualité de son média ?
    Plus la qualité du média est importante, plus la bande passante sera utilisée. Le visiteur avec une connexion internet à petit débit devra attendre plus longtemps. Inversement plus, la qualité du média est pauvre et donc le média devient dégradé voire (...)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

Sur d’autres sites (8247)

  • How do you set up carrierwave-video with ffmpeg ?

    24 septembre 2013, par Maleckai

    This has been doing my head in for the past 2 days, and I just cannot seem to get it working.

    I am building a simple Rails app with the sole purpose of uploading & processing images and videos. I'm working on Ubuntu Linux.

    Here's the relevant gems in my Gemfile :

    gem 'delayed_job_active_record'
    gem 'carrierwave'
    gem 'carrierwave-video'
    gem 'carrierwave_backgrounder'
    gem 'mini_magick'
    gem 'streamio-ffmpeg'

    At first I was having problems with ffmpeg complaining about certain arguments (I determined this by taking the command the rails app attempted to run when it was to convert a video, and running it manually outside rails), which I discovered was because the version of ffmpeg I was using was 'too new'. So I downgraded to 1.2.1, which is what streamio-ffmpeg says is the only version of ffmpeg they're tested against.

    After that, I could run the command manually, fine. But whenever I tried to convert through the app, I'd get the error :

    Failed to transcode with FFmpeg. Check ffmpeg install and verify video is not corrupt or cut short. Original error: nil is not a symbol

    I did a bit of Googling on the error, and only came up with one relevant result, but nothing in there has helped my situation.

    I'm at a total loss at this point, and am not sure where I can go from here. I assume many of people have tried this before, so I'm hoping someone can guide me on the exact steps they took to get carrierwave-video & ffmpeg working together.

  • ffmpeg batch reencode with subfolders

    25 janvier, par Alan

    I am trying to reencode a few hundred videos to X265 but there are many directories that have spaces in the filenames as do some of the files. I have looked at a bunch of scripts and am struggling to find one that works with the spaces and the different directory levels.

    



    This one works, as long as there is no sub directories :

    



    #!/bin/bash
for i in *.avi;
do 
    ffmpeg -i "$i" -c:v libx265 -c:a copy X265_"$i"
done


    



    I have been trying to work with this bash script, but it fails with the whitespaces I am guessing.

    



    #!/bin/bash
inputdir=$PWD
outputdir=$PWD
while IFS= read -r file ; do
  video=`basename "$file"`
  dir=`dirname "$file"`
 ffmpeg -fflags +genpts -i "$file" -c:v libx265 -c:a copy "$dir"/X265_"$video"
done < <(find "$inputdir" -name "*.avi" | head -100)


    



    On this thread it looks like a good solution for windows users, but not linux.
FFMPEG - Batch convert subfolders

    



    FOR /r %%i in (*.mp4) DO ffmpeg32 -i "%%~fi" -map 0:0 -map 0:1 -map 0:1 -c:v copy -c:a:0 aac -b:a 128k -ac 2 -strict -2 -cutoff 15000 -c:a:1 copy "%%~dpni(2)%%~xi"

    



    If you can point me to the right solution that is appropriate for bash, I would appreciate it.

    


  • ffmpeg batch reencode with subfolders

    4 octobre 2016, par Alan

    I am trying to reencode a few hundred videos to X265 but there are many directories that have spaces in the filenames as do some of the files. I have looked at a bunch of scripts and am struggling to find one that works with the spaces and the different directory levels.

    This one works, as long as there is no sub directories :

    #!/bin/bash
    for i in *.avi;
    do
       ffmpeg -i "$i" -c:v libx265 -c:a copy X265_"$i"
    done

    I have been trying to work with this bash script, but it fails with the whitespaces I am guessing.

    #!/bin/bash
    inputdir=$PWD
    outputdir=$PWD
    while IFS= read -r file ; do
     video=`basename "$file"`
     dir=`dirname "$file"`
    ffmpeg -fflags +genpts -i "$file" -c:v libx265 -c:a copy "$dir"/X265_"$video"
    done < <(find "$inputdir" -name "*.avi" | head -100)

    On this thread it looks like a good solution for windows users, but not linux.
    FFMPEG - Batch convert subfolders

    FOR /r %%i in (*.mp4) DO ffmpeg32 -i "%%~fi" -map 0:0 -map 0:1 -map 0:1 -c:v copy -c:a:0 aac -b:a 128k -ac 2 -strict -2 -cutoff 15000 -c:a:1 copy "%%~dpni(2)%%~xi"

    If you can point me to the right solution that is appropriate for bash, I would appreciate it.