Recherche avancée

Médias (1)

Mot : - Tags -/getid3

Autres articles (59)

  • 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 (...)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

Sur d’autres sites (6672)

  • ffmpeg video stitching error (error while opening decoder...)

    24 mai 2013, par Revoluzifer

    I'm trying to stitch nine videos into one grid using this command :

    /usr/local/bin/ffmpeg -loglevel debug
    -i ./woohoo/7_video.mp4 -i ./woohoo/5_video.mp4 -i ./woohoo/6_video.mp4
    -i ./woohoo/2_video.mp4 -i ./woohoo/8_video.mp4 -i ./woohoo/0_video.mp4
    -i ./woohoo/3_video.mp4 -i ./woohoo/1_video.mp4 -i ./woohoo/10_video.mp4
    -filter_complex "
       [0:0]pad=iw:ih[a];[1:0]scale=w=iw/4:h=ih/4[b];[2:0]scale=w=iw/4:h=ih/4[c];
       [3:0]scale=w=iw/4:h=ih/4[d];[4:0]scale=w=iw/4:h=ih/4[e];
       [5:0]scale=w=iw/4:h=ih/4[f];[6:0]scale=w=iw/4:h=ih/4[g];
       [7:0]scale=w=iw/4:h=ih/4[h];[8:0]scale=w=iw/4:h=ih/4[i];
       [0:0]scale=w=iw/4:h=ih/4[j];
       [a][b]overlay=0*w:0*h[k];[k][c]overlay=1*w:0*h[l];[l][d]overlay=2*w:0*h[m];
       [m][e]overlay=0*w:1*h[n];[n][f]overlay=1*w:1*h[o];[o][g]overlay=2*w:1*h[p];
       [p][h]overlay=0*w:2*h[q];[q][i]overlay=1*w:2*h[r];[r][j]overlay=2*w:2*h
       "
    -c:v libx264 -an -r 30 -q:v 0 -threads 0 ./woohoo/10_video_out.mp4

    I'm running Ubuntu 10.04 LTS

    The complete output given by ffmpeg looks like this :

    ffmpeg version N-52943-g500220a Copyright (c) 2000-2013 the FFmpeg developers
     built on May 23 2013 16:44:21 with gcc 4.4.3 (Ubuntu 4.4.3-4ubuntu5.1)
     configuration: --enable-gpl --enable-version3 --enable-avisynth --enable-bzlib --enable-frei0r --enable-libass --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-zlib
     libavutil      52. 30.100 / 52. 30.100
     libavcodec     55.  7.100 / 55.  7.100
     libavformat    55.  4.101 / 55.  4.101
     libavdevice    55.  0.100 / 55.  0.100
     libavfilter     3. 63.101 /  3. 63.101
     libswscale      2.  3.100 /  2.  3.100
     libswresample   0. 17.102 /  0. 17.102
     libpostproc    52.  3.100 / 52.  3.100
    Splitting the commandline.

    (...)

    Successfully parsed a group of options.
    Parsing a group of options: input file ./woohoo/7_video.mp4.
    Successfully parsed a group of options.
    Opening an input file: ./woohoo/7_video.mp4.
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2919e20] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2919e20] ISO: File Type Major Brand: isom
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2919e20] File position before avformat_find_stream_info() is 969848
    [h264 @ 0x291aa80] no picture
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2919e20] All info found
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2919e20] File position after avformat_find_stream_info() is 19245
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from './woohoo/7_video.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf55.4.101
     Duration: 00:00:14.93, start: 0.000000, bitrate: 519 kb/s
       Stream #0:0(und), 1, 1/15360: Video: h264 (High) (avc1 / 0x31637661), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 1/60, 516 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc
       Metadata:
         handler_name    : VideoHandler
    Successfully opened the file.
    Parsing a group of options: input file ./woohoo/5_video.mp4.
    Successfully parsed a group of options.
    Opening an input file: ./woohoo/5_video.mp4.
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x291f580] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x291f580] ISO: File Type Major Brand: isom
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x291f580] File position before avformat_find_stream_info() is 990829
    [h264 @ 0x2920340] no picture
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x291f580] All info found
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x291f580] File position after avformat_find_stream_info() is 15914
    Input #1, mov,mp4,m4a,3gp,3g2,mj2, from './woohoo/5_video.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf55.4.101
     Duration: 00:00:14.93, start: 0.000000, bitrate: 530 kb/s
       Stream #1:0(und), 1, 1/15360: Video: h264 (High) (avc1 / 0x31637661), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 1/60, 528 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc
       Metadata:
         handler_name    : VideoHandler
    Successfully opened the file.
    Parsing a group of options: input file ./woohoo/6_video.mp4.
    Successfully parsed a group of options.
    Opening an input file: ./woohoo/6_video.mp4.
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2921aa0] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2921aa0] ISO: File Type Major Brand: isom
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2921aa0] File position before avformat_find_stream_info() is 709220
    [h264 @ 0x2935f60] no picture
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2921aa0] All info found
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2921aa0] File position after avformat_find_stream_info() is 22467
    Input #2, mov,mp4,m4a,3gp,3g2,mj2, from './woohoo/6_video.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf55.4.101
     Duration: 00:00:15.00, start: 0.000000, bitrate: 378 kb/s
       Stream #2:0(und), 1, 1/15360: Video: h264 (High) (avc1 / 0x31637661), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 1/60, 375 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc
       Metadata:
         handler_name    : VideoHandler
    Successfully opened the file.
    Parsing a group of options: input file ./woohoo/2_video.mp4.
    Successfully parsed a group of options.
    Opening an input file: ./woohoo/2_video.mp4.
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x29ad800] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x29ad800] ISO: File Type Major Brand: isom
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x29ad800] File position before avformat_find_stream_info() is 928241
    [h264 @ 0x29b1040] no picture
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x29ad800] All info found
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x29ad800] File position after avformat_find_stream_info() is 28508
    Input #3, mov,mp4,m4a,3gp,3g2,mj2, from './woohoo/2_video.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf55.4.101
     Duration: 00:00:14.87, start: 0.000000, bitrate: 499 kb/s
       Stream #3:0(und), 1, 1/15360: Video: h264 (High) (avc1 / 0x31637661), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 1/60, 496 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc
       Metadata:
         handler_name    : VideoHandler
    Successfully opened the file.
    Parsing a group of options: input file ./woohoo/8_video.mp4.
    Successfully parsed a group of options.
    Opening an input file: ./woohoo/8_video.mp4.
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x29b2f00] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x29b2f00] ISO: File Type Major Brand: isom
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x29b2f00] File position before avformat_find_stream_info() is 1038553
    [h264 @ 0x29b3cc0] no picture
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x29b2f00] All info found
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x29b2f00] File position after avformat_find_stream_info() is 20282
    Input #4, mov,mp4,m4a,3gp,3g2,mj2, from './woohoo/8_video.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf55.4.101
     Duration: 00:00:15.03, start: 0.000000, bitrate: 552 kb/s
       Stream #4:0(und), 1, 1/15360: Video: h264 (High) (avc1 / 0x31637661), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 1/60, 549 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc
       Metadata:
         handler_name    : VideoHandler
    Successfully opened the file.
    Parsing a group of options: input file ./woohoo/0_video.mp4.
    Successfully parsed a group of options.
    Opening an input file: ./woohoo/0_video.mp4.
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2a30f20] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2a30f20] ISO: File Type Major Brand: isom
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2a30f20] File position before avformat_find_stream_info() is 1158061
    [h264 @ 0x2a318e0] no picture
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2a30f20] All info found
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2a30f20] File position after avformat_find_stream_info() is 19639
    Input #5, mov,mp4,m4a,3gp,3g2,mj2, from './woohoo/0_video.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf55.4.101
     Duration: 00:00:15.03, start: 0.000000, bitrate: 616 kb/s
       Stream #5:0(und), 1, 1/15360: Video: h264 (High) (avc1 / 0x31637661), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 1/60, 614 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc
       Metadata:
         handler_name    : VideoHandler
    Successfully opened the file.
    Parsing a group of options: input file ./woohoo/3_video.mp4.
    Successfully parsed a group of options.
    Opening an input file: ./woohoo/3_video.mp4.
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2ac6ba0] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2ac6ba0] ISO: File Type Major Brand: isom
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2ac6ba0] File position before avformat_find_stream_info() is 1102892
    [h264 @ 0x2ab4f00] no picture
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2ac6ba0] All info found
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2ac6ba0] File position after avformat_find_stream_info() is 22585
    Input #6, mov,mp4,m4a,3gp,3g2,mj2, from './woohoo/3_video.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf55.4.101
     Duration: 00:00:15.03, start: 0.000000, bitrate: 586 kb/s
       Stream #6:0(und), 1, 1/15360: Video: h264 (High) (avc1 / 0x31637661), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 1/60, 583 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc
       Metadata:
         handler_name    : VideoHandler
    Successfully opened the file.
    Parsing a group of options: input file ./woohoo/1_video.mp4.
    Successfully parsed a group of options.
    Opening an input file: ./woohoo/1_video.mp4.
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2ab6b20] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2ab6b20] ISO: File Type Major Brand: isom
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2ab6b20] File position before avformat_find_stream_info() is 933389
    [h264 @ 0x2ad7d80] no picture
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2ab6b20] All info found
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2ab6b20] File position after avformat_find_stream_info() is 20610
    Input #7, mov,mp4,m4a,3gp,3g2,mj2, from './woohoo/1_video.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf55.4.101
     Duration: 00:00:14.97, start: 0.000000, bitrate: 498 kb/s
       Stream #7:0(und), 1, 1/15360: Video: h264 (High) (avc1 / 0x31637661), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 1/60, 495 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc
       Metadata:
         handler_name    : VideoHandler
    Successfully opened the file.
    Parsing a group of options: input file ./woohoo/10_video.mp4.
    Successfully parsed a group of options.
    Opening an input file: ./woohoo/10_video.mp4.
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2ad9ac0] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2ad9ac0] ISO: File Type Major Brand: isom
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2ad9ac0] File position before avformat_find_stream_info() is 933355
    [h264 @ 0x2ada4a0] no picture
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2ad9ac0] All info found
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2ad9ac0] File position after avformat_find_stream_info() is 21283
    Input #8, mov,mp4,m4a,3gp,3g2,mj2, from './woohoo/10_video.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf55.4.101
     Duration: 00:00:15.03, start: 0.000000, bitrate: 496 kb/s
       Stream #8:0(und), 1, 1/15360: Video: h264 (High) (avc1 / 0x31637661), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 1/60, 493 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc
       Metadata:
         handler_name    : VideoHandler
    Successfully opened the file.
    Parsing a group of options: output file ./woohoo/10_video_out.mp4.
    Applying option c:v (codec name) with argument libx264.
    Applying option an (disable audio) with argument 1.
    Applying option r (set frame rate (Hz value, fraction or abbreviation)) with argument 30.
    Applying option q:v (use fixed quality scale (VBR)) with argument 0.
    Successfully parsed a group of options.
    Opening an output file: ./woohoo/10_video_out.mp4.
    [Parsed_pad_0 @ 0x2cb42a0] Setting 'width' to value 'iw'
    [Parsed_pad_0 @ 0x2cb42a0] Setting 'height' to value 'ih'
    [Parsed_scale_1 @ 0x2cb58a0] Setting 'w' to value 'iw/4'
    [Parsed_scale_1 @ 0x2cb58a0] Setting 'h' to value 'ih/4'
    [Parsed_scale_1 @ 0x2cb58a0] w:iw/4 h:ih/4 flags:'bilinear' interl:0
    [Parsed_scale_2 @ 0x2cb6a60] Setting 'w' to value 'iw/4'
    [Parsed_scale_2 @ 0x2cb6a60] Setting 'h' to value 'ih/4'
    [Parsed_scale_2 @ 0x2cb6a60] w:iw/4 h:ih/4 flags:'bilinear' interl:0
    [Parsed_scale_3 @ 0x2cb7920] Setting 'w' to value 'iw/4'
    [Parsed_scale_3 @ 0x2cb7920] Setting 'h' to value 'ih/4'
    [Parsed_scale_3 @ 0x2cb7920] w:iw/4 h:ih/4 flags:'bilinear' interl:0
    [Parsed_scale_4 @ 0x2cb8580] Setting 'w' to value 'iw/4'
    [Parsed_scale_4 @ 0x2cb8580] Setting 'h' to value 'ih/4'
    [Parsed_scale_4 @ 0x2cb8580] w:iw/4 h:ih/4 flags:'bilinear' interl:0
    [Parsed_scale_5 @ 0x2d2f0c0] Setting 'w' to value 'iw/4'
    [Parsed_scale_5 @ 0x2d2f0c0] Setting 'h' to value 'ih/4'
    [Parsed_scale_5 @ 0x2d2f0c0] w:iw/4 h:ih/4 flags:'bilinear' interl:0
    [Parsed_scale_6 @ 0x2d302a0] Setting 'w' to value 'iw/4'
    [Parsed_scale_6 @ 0x2d302a0] Setting 'h' to value 'ih/4'
    [Parsed_scale_6 @ 0x2d302a0] w:iw/4 h:ih/4 flags:'bilinear' interl:0
    [Parsed_scale_7 @ 0x2d31060] Setting 'w' to value 'iw/4'
    [Parsed_scale_7 @ 0x2d31060] Setting 'h' to value 'ih/4'
    [Parsed_scale_7 @ 0x2d31060] w:iw/4 h:ih/4 flags:'bilinear' interl:0
    [Parsed_scale_8 @ 0x2d31d60] Setting 'w' to value 'iw/4'
    [Parsed_scale_8 @ 0x2d31d60] Setting 'h' to value 'ih/4'
    [Parsed_scale_8 @ 0x2d31d60] w:iw/4 h:ih/4 flags:'bilinear' interl:0
    [Parsed_scale_9 @ 0x2d32c60] Setting 'w' to value 'iw/4'
    [Parsed_scale_9 @ 0x2d32c60] Setting 'h' to value 'ih/4'
    [Parsed_scale_9 @ 0x2d32c60] w:iw/4 h:ih/4 flags:'bilinear' interl:0
    [Parsed_overlay_10 @ 0x2cb69a0] Setting 'x' to value '0*w'
    [Parsed_overlay_10 @ 0x2cb69a0] Setting 'y' to value '0*h'
    [Parsed_overlay_11 @ 0x2cb6420] Setting 'x' to value '1*w'
    [Parsed_overlay_11 @ 0x2cb6420] Setting 'y' to value '0*h'
    [Parsed_overlay_12 @ 0x2d2ee20] Setting 'x' to value '2*w'
    [Parsed_overlay_12 @ 0x2d2ee20] Setting 'y' to value '0*h'
    [Parsed_overlay_13 @ 0x2cb7220] Setting 'x' to value '0*w'
    [Parsed_overlay_13 @ 0x2cb7220] Setting 'y' to value '1*h'
    [Parsed_overlay_14 @ 0x2d322e0] Setting 'x' to value '1*w'
    [Parsed_overlay_14 @ 0x2d322e0] Setting 'y' to value '1*h'
    [Parsed_overlay_15 @ 0x2d2fba0] Setting 'x' to value '2*w'
    [Parsed_overlay_15 @ 0x2d2fba0] Setting 'y' to value '1*h'
    [Parsed_overlay_16 @ 0x2cb83a0] Setting 'x' to value '0*w'
    [Parsed_overlay_16 @ 0x2cb83a0] Setting 'y' to value '2*h'
    [Parsed_overlay_17 @ 0x2cb8480] Setting 'x' to value '1*w'
    [Parsed_overlay_17 @ 0x2cb8480] Setting 'y' to value '2*h'
    [Parsed_overlay_18 @ 0x2d30d80] Setting 'x' to value '2*w'
    [Parsed_overlay_18 @ 0x2d30d80] Setting 'y' to value '2*h'
    [graph 0 input from stream 0:0 @ 0x2d36880] Setting 'video_size' to value '640x360'
    [graph 0 input from stream 0:0 @ 0x2d36880] Setting 'pix_fmt' to value '0'
    [graph 0 input from stream 0:0 @ 0x2d36880] Setting 'time_base' to value '1/15360'
    [graph 0 input from stream 0:0 @ 0x2d36880] Setting 'pixel_aspect' to value '1/1'
    [graph 0 input from stream 0:0 @ 0x2d36880] Setting 'sws_param' to value 'flags=2'
    [graph 0 input from stream 0:0 @ 0x2d36880] Setting 'frame_rate' to value '30/1'
    [graph 0 input from stream 0:0 @ 0x2d36880] w:640 h:360 pixfmt:yuv420p tb:1/15360 fr:30/1 sar:1/1 sws_param:flags=2
    [graph 0 input from stream 1:0 @ 0x2d2e780] Setting 'video_size' to value '640x360'
    [graph 0 input from stream 1:0 @ 0x2d2e780] Setting 'pix_fmt' to value '0'
    [graph 0 input from stream 1:0 @ 0x2d2e780] Setting 'time_base' to value '1/15360'
    [graph 0 input from stream 1:0 @ 0x2d2e780] Setting 'pixel_aspect' to value '1/1'
    [graph 0 input from stream 1:0 @ 0x2d2e780] Setting 'sws_param' to value 'flags=2'
    [graph 0 input from stream 1:0 @ 0x2d2e780] Setting 'frame_rate' to value '30/1'
    [graph 0 input from stream 1:0 @ 0x2d2e780] w:640 h:360 pixfmt:yuv420p tb:1/15360 fr:30/1 sar:1/1 sws_param:flags=2
    [graph 0 input from stream 2:0 @ 0x2cb4d40] Setting 'video_size' to value '640x360'
    [graph 0 input from stream 2:0 @ 0x2cb4d40] Setting 'pix_fmt' to value '0'
    [graph 0 input from stream 2:0 @ 0x2cb4d40] Setting 'time_base' to value '1/15360'
    [graph 0 input from stream 2:0 @ 0x2cb4d40] Setting 'pixel_aspect' to value '1/1'
    [graph 0 input from stream 2:0 @ 0x2cb4d40] Setting 'sws_param' to value 'flags=2'
    [graph 0 input from stream 2:0 @ 0x2cb4d40] Setting 'frame_rate' to value '30/1'
    [graph 0 input from stream 2:0 @ 0x2cb4d40] w:640 h:360 pixfmt:yuv420p tb:1/15360 fr:30/1 sar:1/1 sws_param:flags=2
    [graph 0 input from stream 3:0 @ 0x2d318e0] Setting 'video_size' to value '640x360'
    [graph 0 input from stream 3:0 @ 0x2d318e0] Setting 'pix_fmt' to value '0'
    [graph 0 input from stream 3:0 @ 0x2d318e0] Setting 'time_base' to value '1/15360'
    [graph 0 input from stream 3:0 @ 0x2d318e0] Setting 'pixel_aspect' to value '1/1'
    [graph 0 input from stream 3:0 @ 0x2d318e0] Setting 'sws_param' to value 'flags=2'
    [graph 0 input from stream 3:0 @ 0x2d318e0] Setting 'frame_rate' to value '30/1'
    [graph 0 input from stream 3:0 @ 0x2d318e0] w:640 h:360 pixfmt:yuv420p tb:1/15360 fr:30/1 sar:1/1 sws_param:flags=2
    [graph 0 input from stream 4:0 @ 0x2cb60c0] Setting 'video_size' to value '640x360'
    [graph 0 input from stream 4:0 @ 0x2cb60c0] Setting 'pix_fmt' to value '0'
    [graph 0 input from stream 4:0 @ 0x2cb60c0] Setting 'time_base' to value '1/15360'
    [graph 0 input from stream 4:0 @ 0x2cb60c0] Setting 'pixel_aspect' to value '1/1'
    [graph 0 input from stream 4:0 @ 0x2cb60c0] Setting 'sws_param' to value 'flags=2'
    [graph 0 input from stream 4:0 @ 0x2cb60c0] Setting 'frame_rate' to value '30/1'
    [graph 0 input from stream 4:0 @ 0x2cb60c0] w:640 h:360 pixfmt:yuv420p tb:1/15360 fr:30/1 sar:1/1 sws_param:flags=2
    [graph 0 input from stream 5:0 @ 0x2d2f9e0] Setting 'video_size' to value '640x360'
    [graph 0 input from stream 5:0 @ 0x2d2f9e0] Setting 'pix_fmt' to value '0'
    [graph 0 input from stream 5:0 @ 0x2d2f9e0] Setting 'time_base' to value '1/15360'
    [graph 0 input from stream 5:0 @ 0x2d2f9e0] Setting 'pixel_aspect' to value '1/1'
    [graph 0 input from stream 5:0 @ 0x2d2f9e0] Setting 'sws_param' to value 'flags=2'
    [graph 0 input from stream 5:0 @ 0x2d2f9e0] Setting 'frame_rate' to value '30/1'
    [graph 0 input from stream 5:0 @ 0x2d2f9e0] w:640 h:360 pixfmt:yuv420p tb:1/15360 fr:30/1 sar:1/1 sws_param:flags=2
    [graph 0 input from stream 6:0 @ 0x2d33380] Setting 'video_size' to value '640x360'
    [graph 0 input from stream 6:0 @ 0x2d33380] Setting 'pix_fmt' to value '0'
    [graph 0 input from stream 6:0 @ 0x2d33380] Setting 'time_base' to value '1/15360'
    [graph 0 input from stream 6:0 @ 0x2d33380] Setting 'pixel_aspect' to value '1/1'
    [graph 0 input from stream 6:0 @ 0x2d33380] Setting 'sws_param' to value 'flags=2'
    [graph 0 input from stream 6:0 @ 0x2d33380] Setting 'frame_rate' to value '30/1'
    [graph 0 input from stream 6:0 @ 0x2d33380] w:640 h:360 pixfmt:yuv420p tb:1/15360 fr:30/1 sar:1/1 sws_param:flags=2
    [graph 0 input from stream 7:0 @ 0x2cb55c0] Setting 'video_size' to value '640x360'
    [graph 0 input from stream 7:0 @ 0x2cb55c0] Setting 'pix_fmt' to value '0'
    [graph 0 input from stream 7:0 @ 0x2cb55c0] Setting 'time_base' to value '1/15360'
    [graph 0 input from stream 7:0 @ 0x2cb55c0] Setting 'pixel_aspect' to value '1/1'
    [graph 0 input from stream 7:0 @ 0x2cb55c0] Setting 'sws_param' to value 'flags=2'
    [graph 0 input from stream 7:0 @ 0x2cb55c0] Setting 'frame_rate' to value '30/1'
    [graph 0 input from stream 7:0 @ 0x2cb55c0] w:640 h:360 pixfmt:yuv420p tb:1/15360 fr:30/1 sar:1/1 sws_param:flags=2
    [graph 0 input from stream 8:0 @ 0x2d34ae0] Setting 'video_size' to value '640x360'
    [graph 0 input from stream 8:0 @ 0x2d34ae0] Setting 'pix_fmt' to value '0'
    [graph 0 input from stream 8:0 @ 0x2d34ae0] Setting 'time_base' to value '1/15360'
    [graph 0 input from stream 8:0 @ 0x2d34ae0] Setting 'pixel_aspect' to value '1/1'
    [graph 0 input from stream 8:0 @ 0x2d34ae0] Setting 'sws_param' to value 'flags=2'
    [graph 0 input from stream 8:0 @ 0x2d34ae0] Setting 'frame_rate' to value '30/1'
    [graph 0 input from stream 8:0 @ 0x2d34ae0] w:640 h:360 pixfmt:yuv420p tb:1/15360 fr:30/1 sar:1/1 sws_param:flags=2
    [graph 0 input from stream 0:0 @ 0x2d2f8e0] Setting 'video_size' to value '640x360'
    [graph 0 input from stream 0:0 @ 0x2d2f8e0] Setting 'pix_fmt' to value '0'
    [graph 0 input from stream 0:0 @ 0x2d2f8e0] Setting 'time_base' to value '1/15360'
    [graph 0 input from stream 0:0 @ 0x2d2f8e0] Setting 'pixel_aspect' to value '1/1'
    [graph 0 input from stream 0:0 @ 0x2d2f8e0] Setting 'sws_param' to value 'flags=2'
    [graph 0 input from stream 0:0 @ 0x2d2f8e0] Setting 'frame_rate' to value '30/1'
    [graph 0 input from stream 0:0 @ 0x2d2f8e0] w:640 h:360 pixfmt:yuv420p tb:1/15360 fr:30/1 sar:1/1 sws_param:flags=2
    [format @ 0x2d382c0] compat: called with args=[yuv420p|yuvj420p|yuv422p|yuv444p]
    [format @ 0x2d382c0] Setting 'pix_fmts' to value 'yuv420p|yuvj420p|yuv422p|yuv444p'
    Successfully opened the file.
    [AVFilterGraph @ 0x2cb0e80] query_formats: 31 queried, 30 merged, 0 already done, 0 delayed
    [Parsed_pad_0 @ 0x2cb42a0] w:640 h:360 -> w:640 h:360 x:0 y:0 color:0x000000FF
    [Parsed_scale_1 @ 0x2cb58a0] w:640 h:360 fmt:yuv420p sar:1/1 -> w:160 h:90 fmt:yuva420p sar:1/1 flags:0x2
    [Parsed_overlay_10 @ 0x2cb69a0] main w:640 h:360 fmt:yuv420p overlay w:160 h:90 fmt:yuva420p
    [Parsed_scale_2 @ 0x2cb6a60] w:640 h:360 fmt:yuv420p sar:1/1 -> w:160 h:90 fmt:yuva420p sar:1/1 flags:0x2
    [Parsed_overlay_11 @ 0x2cb6420] main w:640 h:360 fmt:yuv420p overlay w:160 h:90 fmt:yuva420p
    [Parsed_scale_3 @ 0x2cb7920] w:640 h:360 fmt:yuv420p sar:1/1 -> w:160 h:90 fmt:yuva420p sar:1/1 flags:0x2
    [Parsed_overlay_12 @ 0x2d2ee20] main w:640 h:360 fmt:yuv420p overlay w:160 h:90 fmt:yuva420p
    [Parsed_scale_4 @ 0x2cb8580] w:640 h:360 fmt:yuv420p sar:1/1 -> w:160 h:90 fmt:yuva420p sar:1/1 flags:0x2
    [Parsed_overlay_13 @ 0x2cb7220] main w:640 h:360 fmt:yuv420p overlay w:160 h:90 fmt:yuva420p
    [Parsed_scale_5 @ 0x2d2f0c0] w:640 h:360 fmt:yuv420p sar:1/1 -> w:160 h:90 fmt:yuva420p sar:1/1 flags:0x2
    [Parsed_overlay_14 @ 0x2d322e0] main w:640 h:360 fmt:yuv420p overlay w:160 h:90 fmt:yuva420p
    [Parsed_scale_6 @ 0x2d302a0] w:640 h:360 fmt:yuv420p sar:1/1 -> w:160 h:90 fmt:yuva420p sar:1/1 flags:0x2
    [Parsed_overlay_15 @ 0x2d2fba0] main w:640 h:360 fmt:yuv420p overlay w:160 h:90 fmt:yuva420p
    [Parsed_scale_7 @ 0x2d31060] w:640 h:360 fmt:yuv420p sar:1/1 -> w:160 h:90 fmt:yuva420p sar:1/1 flags:0x2
    [Parsed_overlay_16 @ 0x2cb83a0] main w:640 h:360 fmt:yuv420p overlay w:160 h:90 fmt:yuva420p
    [Parsed_scale_8 @ 0x2d31d60] w:640 h:360 fmt:yuv420p sar:1/1 -> w:160 h:90 fmt:yuva420p sar:1/1 flags:0x2
    [Parsed_overlay_17 @ 0x2cb8480] main w:640 h:360 fmt:yuv420p overlay w:160 h:90 fmt:yuva420p
    [Parsed_scale_9 @ 0x2d32c60] w:640 h:360 fmt:yuv420p sar:1/1 -> w:160 h:90 fmt:yuva420p sar:1/1 flags:0x2
    [Parsed_overlay_18 @ 0x2d30d80] main w:640 h:360 fmt:yuv420p overlay w:160 h:90 fmt:yuva420p
    [libx264 @ 0x2d38ae0] using mv_range_thread = 24
    [libx264 @ 0x2d38ae0] using SAR=1/1
    [libx264 @ 0x2d38ae0] using cpu capabilities: MMX2 SSE2Fast SSEMisalign LZCNT
    [libx264 @ 0x2d38ae0] profile High, level 3.0
    [libx264 @ 0x2d38ae0] 264 - core 132 r2310 76a5c3a - H.264/MPEG-4 AVC codec - Copyleft 2003-2013 - http://www.videolan.org/x264.html - options:  cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
    [h264 @ 0x291aa80] detected 8 logical cores
    [h264 @ 0x2920340] detected 8 logical cores
    [h264 @ 0x2935f60] detected 8 logical cores
    [h264 @ 0x29b1040] detected 8 logical cores
    [h264 @ 0x29b3cc0] detected 8 logical cores
    Output #0, mp4, to './woohoo/10_video_out.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf55.4.101
       Stream #0:0, 0, 1/90000: Video: h264, yuv420p, 640x360 [SAR 1:1 DAR 16:9], 1/30, q=-1--1, 90k tbn, 30 tbc
    Stream mapping:
     Stream #0:0 (h264) -> pad
     Stream #0:0 (h264) -> scale
     Stream #1:0 (h264) -> scale
     Stream #2:0 (h264) -> scale
     Stream #3:0 (h264) -> scale
     Stream #4:0 (h264) -> scale
     Stream #5:0 (h264) -> scale
     Stream #6:0 (h264) -> scale
     Stream #7:0 (h264) -> scale
     Stream #8:0 (h264) -> scale
     overlay -> Stream #0:0 (libx264)
    Error while opening decoder for input stream #4:0
    [AVIOContext @ 0x2d2fea0] Statistics: 0 seeks, 0 writeouts
    [AVIOContext @ 0x28dd8e0] Statistics: 71559 bytes read, 2 seeks
    [AVIOContext @ 0x291fae0] Statistics: 70647 bytes read, 2 seeks
    [AVIOContext @ 0x2931c40] Statistics: 71199 bytes read, 2 seeks
    [AVIOContext @ 0x2935e40] Statistics: 71399 bytes read, 2 seeks
    [AVIOContext @ 0x29b3480] Statistics: 71339 bytes read, 2 seeks
    [AVIOContext @ 0x2a2e180] Statistics: 69591 bytes read, 2 seeks
    [AVIOContext @ 0x2a317c0] Statistics: 71147 bytes read, 2 seeks
    [AVIOContext @ 0x2ab4de0] Statistics: 71363 bytes read, 2 seeks
    [AVIOContext @ 0x2c3ab00] Statistics: 71647 bytes read, 2 seeks

    The error line

    Error while opening decoder for input stream #4:0

    seems to be kind of random to me - at least the streams, ffmpeg fails on changes from time to time.

  • ffmpeg conversion skips audio

    10 mars 2012, par user504879

    While converting a video to mp4 format using ffmpeg the audio gets skipped because of which the audio goes out of sync with the Video.

    One can have a look at the following Video :
    https://vialogues.com/vialogues/play/486

    I am using the following options for conversion

    /usr/local/bin/ffmpeg -y -i $inputfile -acodec libfaac -ar 44100 -ab 96k -vcodec libx264 -level 41 -bufsize 20000k -maxrate 25000k -g 250 -r 20 -s 480x270 -coder 1 -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -flags2 +dct8x8+bpyramid -me_method umh -subq 7 -me_range 16 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -rc_eq 'blurCplx^(1-qComp)' -bf 16 -b_strategy 1 -bidir_refine 1 -refs 6 -crf 25 -deblockalpha 0 -vpre medium -deblockbeta 0 $outputfile

    Also the ffmpeg version is

    ffmpeg
    FFmpeg version 0.6.1, Copyright (c) 2000-2010 the FFmpeg developers
     built on Feb 19 2011 19:03:56 with gcc 4.4.5
     configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-x11grab
     libavutil     50.15. 1 / 50.15. 1
     libavcodec    52.72. 2 / 52.72. 2
     libavformat   52.64. 2 / 52.64. 2
     libavdevice   52. 2. 0 / 52. 2. 0
     libswscale     0.11. 0 /  0.11. 0
     libpostproc   51. 2. 0 / 51. 2. 0
    Hyper fast Audio and Video encoder

    Any ideas as to why this would be happening ?

  • How to convert .flv file to .3gp using ffmpeg ? [migrated]

    19 octobre 2011, par Chetana

    I have converted any video format to 3gp file format using ffmpeg on one server.
    But on another server it not works.

    Following is my script :

    exec("ffmpeg -i test.flv -sameq -acodec libmp3lame -ar 22050 -ab 96000
       -deinterlace -nr 500 -s 320x240 -aspect 4:3 -r 20 -g 500 -me_range 20
       -b 270k -deinterlace -f flv -y test.3gp ");

    Can anyone tell me what is wrong in script ?

    Following is my ffmpeg setting :

    root@ninja [ ]# ffmpeg -formats
    ffmpeg version CVS, build 3277056, Copyright (c) 2000-2004 Fabrice Bellard
    configuration : —enable-mp3lame —enable-libogg —enable-gpl —disable-mmx
    —enable-shared
    built on Jun 17 2009 10:51:43, gcc : 4.1.2 20080704 (Red Hat 4.1.2-44)