Recherche avancée

Médias (91)

Autres articles (43)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

Sur d’autres sites (10860)

  • Touble when excuting the same ffmpeg command for many times

    4 janvier 2015, par morndust

    Decription

    when using the same ffmpeg command for a couple of times, some of those will succeed, but, some of those would failed, ffmpeg report Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height or Invalid data found when processing input error.

    Input

    ffprobe

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/tmp/2137b8d42dcf4607a625755994133e69':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf56.4.101
     Duration: 00:01:00.02, start: 0.021333, bitrate: N/A
       Chapter #0.0: start 0.000000, end 60.000000
       Metadata:
         title           : 00:00:00.000
       Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x798 [SAR 1:1 DAR 320:133], 3255 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 192 kb/s (default)
       Metadata:
         handler_name    : SoundHandler
       Stream #0:2(eng): Subtitle: mov_text (text / 0x74786574), 0 kb/s
       Metadata:
         handler_name    : SubtitleHandler

    Command

    /usr/local/bin/ffmpeg -i /tmp/2137b8d42dcf4607a625755994133e69 -f mp4 -b:v 3000k -r 24.0 -map_metadata -1 -vf scale=50:50 -y /tmp/foo.mp4

    Detail

    when i excute same command above 10 times, error would occur like 3 - 4 times.

    At the end, thanks for reading anyway, any answer would be appriciated.

  • Trouble when executing the same ffmpeg command for many times

    14 décembre 2017, par Chan

    Description

    when using the same ffmpeg command for a couple of times, some of those will succeed, but, some of those would failed, ffmpeg report Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height or Invalid data found when processing input error.

    Input

    ffprobe

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/tmp/2137b8d42dcf4607a625755994133e69':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf56.4.101
     Duration: 00:01:00.02, start: 0.021333, bitrate: N/A
       Chapter #0.0: start 0.000000, end 60.000000
       Metadata:
         title           : 00:00:00.000
       Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x798 [SAR 1:1 DAR 320:133], 3255 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 192 kb/s (default)
       Metadata:
         handler_name    : SoundHandler
       Stream #0:2(eng): Subtitle: mov_text (text / 0x74786574), 0 kb/s
       Metadata:
         handler_name    : SubtitleHandler

    Command

    /usr/local/bin/ffmpeg -i /tmp/2137b8d42dcf4607a625755994133e69 -f mp4 -b:v 3000k -r 24.0 -map_metadata -1 -vf scale=50:50 -y /tmp/foo.mp4

    Detail

    when I execute same command above 10 times, error would occur like 3 - 4 times.

  • Print results at conclusion of bash 'for loop'

    4 juin 2016, par Matthew Schwarz

    I’m a beginner.
    I have a Bash script that embeds subtitles into mkv files if they exist in a directory.

    for i in *.mkv; do
       if [ -f "${i%mkv}"*"srt" ]; then
           ffmpeg -i "$i" -f srt -i "${i%mkv}"*"srt" -map 0:0 -map 0:1 -map 1:0 -c:v copy -c:a copy -c:s srt $i.output.mkv
           mv "${i%mkv}"*"srt" "${i%mkv}srt".old
           mv $i $i.old
           mv $i.output.mkv $i
       else
           echo $i "does not have srt file"
       fi
    done

    It looks for all .mkv files that have an associated .srt file and does some ffmpeg magic to it. If it does not find an associated .srt file it says that the .mkv file "does not have srt file."

    How can I make it so that at the conclusion of the for loop I get a print out of all the .mkv files that did have an .srt file and did successfully do all the other actions ?

    Thank you.