Recherche avancée

Médias (91)

Autres articles (72)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (14600)

  • Re-creating/matching ffmpeg settings

    8 novembre 2013, par Pete Helgren

    I have an MP4 file that plays pretty much on every browser using either HTML5 or flash fallback (using mediaelement.js). I also have a series of additional video files that I would like to have "match" the one file that does play consistently but I haven't been able to match the ffmpeg settings so it produces a like file. I used ffprobe and got the following results on the file that plays successfully :

    ffprobe version N-53616-g7a2edcf Copyright (c) 2007-2013 the FFmpeg developers
    built on May 29 2013 01:21:08 with gcc 4.7.3 (GCC)
    configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
    isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
    le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
    e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
    ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
    ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
    eex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-
    amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --
    enable-libxvid --enable-zlib
    libavutil      52. 34.100 / 52. 34.100
    libavcodec     55. 12.102 / 55. 12.102
    libavformat    55.  7.100 / 55.  7.100
    libavdevice    55.  1.101 / 55.  1.101
    libavfilter     3. 72.100 /  3. 72.100
    libswscale      2.  3.100 /  2.  3.100
    libswresample   0. 17.102 /  0. 17.102
    libpostproc    52.  3.100 / 52.  3.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'MyFile.mp4':
    Metadata:
     major_brand     : M4V
     minor_version   : 1
     compatible_brands: M4V mp42isom
     creation_time   : 2013-05-29 16:08:29
    Duration: 00:01:58.10, start: 0.000000, bitrate: 1155 kb/s
    Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 854x480 [SAR 1:1 DAR 427:240], 995 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc
    Metadata:
     creation_time   : 2013-05-29 16:08:29
     handler_name    : Mainconcept MP4 Video Media Handler
    Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 157 kb/s
    Metadata:
     creation_time   : 2013-05-29 16:08:29
     handler_name    : Mainconcept MP4 Sound Media Handler

    Following a few guides I found online, I am using the following ffmpeg settings :

    ffmpeg -i {input file name} -y -acodec aac -ac 2 -strict experimental -ab 64k -s 320x240 -vcodec libx264 -pix_fmt yuv420p -preset slow -profile:v baseline -level 30 -maxrate 300k -bufsize 600k -b:v 300k -f mp4 -threads 0 -movflags +faststart {output file name}

    That command produces the following output :

    ffmpeg -i "testin.mp4" -y -acodec aac -ac 2 -strict experimental -ab 64k -s 320x240 -vcodec libx264 -pix_fmt yuv420p -preset slow-profile:v baseline -level 30 -maxrate 300k -bufsize 600k -b:v 300k -f mp4 -threads 0 -movflags +faststart testout.mp4

    ffmpeg version N-53616-g7a2edcf Copyright (c) 2000-2013 the FFmpeg developers  built on May 29 2013 01:21:08 with gcc 4.7.3 (GCC)  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
     libavutil      52. 34.100 / 52. 34.100
     libavcodec     55. 12.102 / 55. 12.102
     libavformat    55.  7.100 / 55.  7.100
     libavdevice    55.  1.101 / 55.  1.101
     libavfilter     3. 72.100 /  3. 72.100
     libswscale      2.  3.100 /  2.  3.100
     libswresample   0. 17.102 /  0. 17.102
     libpostproc    52.  3.100 / 52.  3.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'testin.mp4':
     Metadata:
       major_brand     : mp42
       minor_version   : 0
       compatible_brands: mp42mp41
       creation_time   : 2013-10-01 17:11:42
     Duration: 00:04:33.75, start: 0.000000, bitrate: 725 kb/s
       Stream #0:0(eng): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p, 320x240 [SAR 1:1 DAR 4:3], 596 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc
       Metadata:
         creation_time   : 2013-10-01 17:11:42
         handler_name    : ?Mainconcept Video Media Handler
       Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 125 kb/s
       Metadata:
         creation_time   : 2013-10-01 17:11:42
         handler_name    : #Mainconcept MP4 Sound Media Handler
    [libx264 @ 0000000000358160] using SAR=1/1
    [libx264 @ 0000000000358160] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2AVX
    [libx264 @ 0000000000358160] profile Constrained Baseline, level 3.0
    [libx264 @ 0000000000358160] 264 - core 133 r2334 a3ac64b - H.264/MPEG-4 AVC codec - Copyleft 2003-2013 - http://www.videolan.org/x264.html - options: cabac=0 ref=5 deblock=1:0:0 analyse=0x1:0x111 me=umh subme=8 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=50 rc=cbr mbtree=1 bitrate=300 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=300 vbv_bufsize=600 nal_hrd=none ip_ratio=1.40 aq=1:1.00

    Output #0, mp4, to 'testout.mp4':
     Metadata:
       major_brand     : mp42
       minor_version   : 0
       compatible_brands: mp42mp41
       encoder         : Lavf55.7.100
      Stream #0:0(eng): Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 320x240 [SAR 1:1 DAR 4:3], q=-1--1, 300 kb/s, 30k tbn, 29.97 tbc
       Metadata:
         creation_time   : 2013-10-01 17:11:42
         handler_name    : ?Mainconcept Video Media Handler
       Stream #0:1(eng): Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo, fltp, 64 kb/s
       Metadata:
         creation_time   : 2013-10-01 17:11:42
         handler_name    : #Mainconcept MP4 Sound Media Handler
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 -> libx264)
     Stream #0:1 -> #0:1 (aac -> aac)
    Press [q] to stop, [?] for help
    frame=  283 fps=0.0 q=21.0 size=     329kB time=00:00:09.30 bitrate= 289.9kbits/
    frame=  565 fps=564 q=20.0 size=     760kB time=00:00:18.64 bitrate= 333.7kbits/
    frame=  846 fps=564 q=21.0 size=    1179kB time=00:00:28.20 bitrate= 342.5kbits/
    frame= 1123 fps=561 q=22.0 size=    1603kB time=00:00:37.33 bitrate= 351.7kbits/
    frame= 1376 fps=550 q=25.0 size=    1986kB time=00:00:45.69 bitrate= 356.1kbits/
    frame= 1651 fps=550 q=22.0 size=    2377kB time=00:00:55.01 bitrate= 353.9kbits/
    frame= 1914 fps=546 q=24.0 size=    2776kB time=00:01:03.70 bitrate= 357.0kbits/
    frame= 2181 fps=545 q=24.0 size=    3163kB time=00:01:12.70 bitrate= 356.4kbits/
    frame= 2443 fps=543 q=24.0 size=    3566kB time=00:01:21.38 bitrate= 358.9kbits/
    frame= 2702 fps=540 q=24.0 size=    3939kB time=00:01:30.04 bitrate= 358.4kbits/
    frame= 2965 fps=539 q=24.0 size=    4338kB time=00:01:38.73 bitrate= 359.9kbits/
    frame= 3236 fps=539 q=23.0 size=    4731kB time=00:01:48.03 bitrate= 358.7kbits/
    frame= 3505 fps=539 q=24.0 size=    5130kB time=00:01:56.75 bitrate= 360.0kbits/
    frame= 3765 fps=537 q=26.0 size=    5521kB time=00:02:05.41 bitrate= 360.6kbits/
    frame= 4036 fps=538 q=24.0 size=    5905kB time=00:02:14.59 bitrate= 359.4kbits/
    frame= 4326 fps=540 q=24.0 size=    6343kB time=00:02:24.10 bitrate= 360.6kbits/
    frame= 4606 fps=542 q=27.0 size=    6783kB time=00:02:33.49 bitrate= 362.0kbits/
    frame= 4886 fps=543 q=24.0 size=    7168kB time=00:02:42.81 bitrate= 360.7kbits/
    frame= 5166 fps=544 q=27.0 size=    7616kB time=00:02:52.13 bitrate= 362.5kbits/
    frame= 5456 fps=545 q=24.0 size=    8020kB time=00:03:01.84 bitrate= 361.3kbits/
    frame= 5736 fps=546 q=27.0 size=    8458kB time=00:03:11.18 bitrate= 362.4kbits/
    frame= 6001 fps=545 q=30.0 size=    8849kB time=00:03:20.17 bitrate= 362.1kbits/
    frame= 6264 fps=544 q=27.0 size=    9233kB time=00:03:28.85 bitrate= 362.2kbits/
    frame= 6526 fps=544 q=26.0 size=    9611kB time=00:03:37.55 bitrate= 361.9kbits/
    frame= 6793 fps=543 q=26.0 size=   10006kB time=00:03:46.51 bitrate= 361.9kbits/
    frame= 7076 fps=544 q=24.0 size=   10410kB time=00:03:55.86 bitrate= 361.6kbits/
    frame= 7355 fps=544 q=25.0 size=   10835kB time=00:04:05.20 bitrate= 362.0kbits/
    frame= 7615 fps=543 q=27.0 size=   11236kB time=00:04:13.88 bitrate= 362.5kbits/
    frame= 7883 fps=543 q=25.0 size=   11625kB time=00:04:22.89 bitrate= 362.3kbits/
    frame= 8166 fps=544 q=21.0 size=   12040kB time=00:04:32.31 bitrate= 362.2kbits/
    Starting second pass: moving header on top of the file
    frame= 8203 fps=540 q=-1.0 Lsize=   12417kB time=00:04:33.74 bitrate= 371.6kbits/s
    video:10035kB audio:2150kB subtitle:0 global headers:0kB muxing overhead 1.901929%
    [libx264 @ 0000000000358160] frame I:41    Avg QP:14.13  size: 18349
    [libx264 @ 0000000000358160] frame P:8162  Avg QP:17.24  size:  1167
    [libx264 @ 0000000000358160] mb I  I16..4: 24.8%  0.0% 75.2%
    [libx264 @ 0000000000358160] mb P  I16..4:  0.4%  0.0%  0.3%  P16..4: 29.1%  6.4%  3.2%  0.0%  0.0%    skip:60.7%
    [libx264 @ 0000000000358160] coded y,uvDC,uvAC intra: 66.1% 74.1% 53.1% inter: 15.3% 20.2% 4.0%
    [libx264 @ 0000000000358160] i16 v,h,dc,p: 23% 21% 11% 45%
    [libx264 @ 0000000000358160] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 21% 25% 14%  6%  7% 7%  7%  6%  7%
    [libx264 @ 0000000000358160] i8c dc,h,v,p: 43% 28% 19% 10%
    [libx264 @ 0000000000358160] ref P L0: 78.4% 12.6%  4.9%  2.4%  1.7%
    [libx264 @ 0000000000358160] kb/s:300.33

    The one problem with the incantation above is that on iPad's and iPhones and some Android tablets all you hear is the audio with no video. But the file listed above (contents of the ffprobe) does not have that problem, it WILL play on an iPad, iPhone, Android tablet. I researched causes for "audio, no video" and the recommendations were all over the deck. But, the file listed in the ffprobe DOES play, so if I can match those settings described by the ffprobe for all of the other videos, they should play consistently as well. My challenge is to match the ffprobe settings using ffmpeg and there doesn't seem to be a 1 to 1 match between what I see in ffprobe and the corresponding settings in ffmpeg (a nice utility would be to have ffprobe output the ffmpeg settings that could be used to create a file of similar format).

    I walked through the ffprobe documentation but couldn't find anything that would produce a format that could be used as input to ffmpeg. Suggestions ?

  • cannot convert FLV to MP4 despite compiling ffmpeg with all codecs

    1er novembre 2013, par Rubytastic

    Try to convert FLV to MP4 with below params, but it always fails. I included also list of codeces that are compiled in. Why It will not convert the FLV to MP4, who knows ?

    ffmpeg -y -i stream2.flv -acodec libmp3lame -ar 44100 -ac 1 -vcodec libx264 stream2.mp4;
    ffmpeg version git-2013-11-01-64a0ed1 Copyright (c) 2000-2013 the FFmpeg developers
     built on Nov  1 2013 14:44:29 with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-3)
     configuration: --prefix=/root/ffmpeg_build --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --extra-libs=-ldl --enable-gpl --enable-nonfree --enable-libfdk_aac --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264
     libavutil      52. 49.100 / 52. 49.100
     libavcodec     55. 40.100 / 55. 40.100
     libavformat    55. 20.100 / 55. 20.100
     libavdevice    55.  5.100 / 55.  5.100
     libavfilter     3. 90.100 /  3. 90.100
     libswscale      2.  5.101 /  2.  5.101
     libswresample   0. 17.104 /  0. 17.104
     libpostproc    52.  3.100 / 52.  3.100
    Input #0, flv, from 'stream2.flv':
     Duration: 00:00:01.60, start: 0.000000, bitrate: 636 kb/s
       Stream #0:0: Video: h264 (Baseline), yuv420p(tv), 640x480 [SAR 1:1 DAR 4:3], 11.92 tbr, 1k tbn, 60 tbc
       Stream #0:1: Audio: speex, 16000 Hz, mono
    [graph 1 input from stream 0:1 @ 0xb000d40] Invalid sample format (null)
    Error opening filters!

    i followed the official compile documentation with all the codes, this is my full codec list :

    ffmpeg version git-2013-11-01-64a0ed1 Copyright (c) 2000-2013 the FFmpeg developers
     built on Nov  1 2013 14:44:29 with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-3)
     configuration: --prefix=/root/ffmpeg_build --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_build/lib --bindir=/root/bin --extra-libs=-ldl --enable-gpl --enable-nonfree --enable-libfdk_aac --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264
     libavutil      52. 49.100 / 52. 49.100
     libavcodec     55. 40.100 / 55. 40.100
     libavformat    55. 20.100 / 55. 20.100
     libavdevice    55.  5.100 / 55.  5.100
     libavfilter     3. 90.100 /  3. 90.100
     libswscale      2.  5.101 /  2.  5.101
     libswresample   0. 17.104 /  0. 17.104
     libpostproc    52.  3.100 / 52.  3.100
    Codecs:
    D..... = Decoding supported
    .E.... = Encoding supported
    ..V... = Video codec
    ..A... = Audio codec
    ..S... = Subtitle codec
    ...I.. = Intra frame-only codec
    ....L. = Lossy compression
    .....S = Lossless compression
    -------
    D.VI.. 012v                 Uncompressed 4:2:2 10-bit
    D.V.L. 4xm                  4X Movie
    D.VI.S 8bps                 QuickTime 8BPS video
    .EVIL. a64_multi            Multicolor charset for Commodore 64 (encoders: a64multi )
    .EVIL. a64_multi5           Multicolor charset for Commodore 64, extended with 5th color (colram) (encoders: a64multi5 )
    D.V..S aasc                 Autodesk RLE
    D.VIL. aic                  Apple Intermediate Codec
    DEVIL. amv                  AMV Video
    D.V.L. anm                  Deluxe Paint Animation
    D.V.L. ansi                 ASCII/ANSI art
    DEVIL. asv1                 ASUS V1
    DEVIL. asv2                 ASUS V2
    D.VIL. aura                 Auravision AURA
    D.VIL. aura2                Auravision Aura 2
    D.V... avrn                 Avid AVI Codec
    DEVI.. avrp                 Avid 1:1 10-bit RGB Packer
    D.V.L. avs                  AVS (Audio Video Standard) video
    DEVI.. avui                 Avid Meridien Uncompressed
    DEVI.. ayuv                 Uncompressed packed MS 4:4:4:4
    D.V.L. bethsoftvid          Bethesda VID video
    D.V.L. bfi                  Brute Force & Ignorance
    D.V.L. binkvideo            Bink video
    D.VI.. bintext              Binary text
    DEVI.S bmp                  BMP (Windows and OS/2 bitmap)
    D.V..S bmv_video            Discworld II BMV video
    D.VI.S brender_pix          BRender PIX image
    D.V.L. c93                  Interplay C93
    D.V.L. cavs                 Chinese AVS (Audio Video Standard) (AVS1-P2, JiZhun profile)
    D.V.L. cdgraphics           CD Graphics video
    D.VIL. cdxl                 Commodore CDXL video
    D.V.L. cinepak              Cinepak
    DEVIL. cljr                 Cirrus Logic AccuPak
    D.VI.S cllc                 Canopus Lossless Codec
    D.V.L. cmv                  Electronic Arts CMV video (decoders: eacmv )
    D.V... cpia                 CPiA video format
    D.V..S cscd                 CamStudio (decoders: camstudio )
    D.VIL. cyuv                 Creative YUV (CYUV)
    D.V.L. dfa                  Chronomaster DFA
    D.V.LS dirac                Dirac
    DEVIL. dnxhd                VC3/DNxHD
    DEVI.S dpx                  DPX (Digital Picture Exchange) image
    D.V.L. dsicinvideo          Delphine Software International CIN video
    DEVIL. dvvideo              DV (Digital Video)
    D.V..S dxa                  Feeble Files/ScummVM DXA
    D.VI.S dxtory               Dxtory
    D.V.L. escape124            Escape 124
    D.V.L. escape130            Escape 130
    D.VILS exr                  OpenEXR image
    DEV..S ffv1                 FFmpeg video codec #1
    DEVI.S ffvhuff              Huffyuv FFmpeg variant
    DEV..S flashsv              Flash Screen Video v1
    DEV.L. flashsv2             Flash Screen Video v2
    D.V..S flic                 Autodesk Animator Flic video
    DEV.L. flv1                 FLV / Sorenson Spark / Sorenson H.263 (Flash Video) (decoders: flv ) (encoders: flv )
    D.V..S fraps                Fraps
    D.VI.S frwu                 Forward Uncompressed
    D.V.L. g2m                  Go2Meeting
    DEV..S gif                  GIF (Graphics Interchange Format)
    DEV.L. h261                 H.261
    DEV.L. h263                 H.263 / H.263-1996, H.263+ / H.263-1998 / H.263 version 2
    D.V.L. h263i                Intel H.263
    DEV.L. h263p                H.263+ / H.263-1998 / H.263 version 2
    DEV.LS h264                 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (encoders: libx264 libx264rgb )
    D.V.LS hevc                 H.265 / HEVC
    D.V.L. hnm4video            HNM 4 video
    DEVI.S huffyuv              HuffYUV
    D.V.L. idcin                id Quake II CIN video (decoders: idcinvideo )
    D.VI.. idf                  iCEDraw text
    D.V.L. iff_byterun1         IFF ByteRun1 (decoders: iff )
    D.V.L. iff_ilbm             IFF ILBM (decoders: iff )
    D.V.L. indeo2               Intel Indeo 2
    D.V.L. indeo3               Intel Indeo 3
    D.V.L. indeo4               Intel Indeo Video Interactive 4
    D.V.L. indeo5               Intel Indeo Video Interactive 5
    D.V.L. interplayvideo       Interplay MVE video
    DEVILS jpeg2000             JPEG 2000
    DEVILS jpegls               JPEG-LS
    D.VIL. jv                   Bitmap Brothers JV video
    D.V.L. kgv1                 Kega Game Video
    D.V.L. kmvc                 Karl Morton's video codec
    D.VI.S lagarith             Lagarith lossless
    .EVI.S ljpeg                Lossless JPEG
    D.VI.S loco                 LOCO
    D.V.L. mad                  Electronic Arts Madcow Video (decoders: eamad )
    D.VIL. mdec                 Sony PlayStation MDEC (Motion DECoder)
    D.V.L. mimic                Mimic
    DEVIL. mjpeg                Motion JPEG
    D.VIL. mjpegb               Apple MJPEG-B
    D.V.L. mmvideo              American Laser Games MM Video
    D.V.L. motionpixels         Motion Pixels video
    DEV.L. mpeg1video           MPEG-1 video
    DEV.L. mpeg2video           MPEG-2 video (decoders: mpeg2video mpegvideo )
    DEV.L. mpeg4                MPEG-4 part 2
    ..V.L. mpegvideo_xvmc       MPEG-1/2 video XvMC (X-Video Motion Compensation)
    D.V.L. msa1                 MS ATC Screen
    D.V.L. msmpeg4v1            MPEG-4 part 2 Microsoft variant version 1
    DEV.L. msmpeg4v2            MPEG-4 part 2 Microsoft variant version 2
    DEV.L. msmpeg4v3            MPEG-4 part 2 Microsoft variant version 3 (decoders: msmpeg4 ) (encoders: msmpeg4 )
    D.V..S msrle                Microsoft RLE
    D.V.L. mss1                 MS Screen 1
    D.VIL. mss2                 MS Windows Media Video V9 Screen
    DEV.L. msvideo1             Microsoft Video 1
    D.VI.S mszh                 LCL (LossLess Codec Library) MSZH
    D.V.L. mts2                 MS Expression Encoder Screen
    D.VIL. mvc1                 Silicon Graphics Motion Video Compressor 1
    D.VIL. mvc2                 Silicon Graphics Motion Video Compressor 2
    D.V.L. mxpeg                Mobotix MxPEG video
    D.V.L. nuv                  NuppelVideo/RTJPEG
    D.V.L. paf_video            Amazing Studio Packed Animation File Video
    DEVI.S pam                  PAM (Portable AnyMap) image
    DEVI.S pbm                  PBM (Portable BitMap) image
    DEVI.S pcx                  PC Paintbrush PCX image
    DEVI.S pgm                  PGM (Portable GrayMap) image
    DEVI.S pgmyuv               PGMYUV (Portable GrayMap YUV) image
    D.VIL. pictor               Pictor/PC Paint
    DEV..S png                  PNG (Portable Network Graphics) image
    DEVI.S ppm                  PPM (Portable PixelMap) image
    DEVIL. prores               Apple ProRes (iCodec Pro) (decoders: prores prores_lgpl ) (encoders: prores prores_aw prores_ks )
    D.VIL. ptx                  V.Flash PTX image
    D.VI.S qdraw                Apple QuickDraw
    D.V.L. qpeg                 Q-team QPEG
    DEV..S qtrle                QuickTime Animation (RLE) video
    DEVI.S r10k                 AJA Kona 10-bit RGB Codec
    DEVI.S r210                 Uncompressed RGB 10-bit
    DEVI.S rawvideo             raw video
    D.VIL. rl2                  RL2 video
    DEV.L. roq                  id RoQ video (decoders: roqvideo ) (encoders: roqvideo )
    D.V.L. rpza                 QuickTime video (RPZA)
    DEV.L. rv10                 RealVideo 1.0
    DEV.L. rv20                 RealVideo 2.0
    D.V.L. rv30                 RealVideo 3.0
    D.V.L. rv40                 RealVideo 4.0
    D.V.L. sanm                 LucasArts SMUSH video
    DEVI.S sgi                  SGI image
    D.VI.S sgirle               SGI RLE 8-bit
    D.V.L. smackvideo           Smacker video (decoders: smackvid )
    D.V.L. smc                  QuickTime Graphics (SMC)
    D.V... smv                  Sigmatel Motion Video (decoders: smvjpeg )
    DEV.LS snow                 Snow
    D.VIL. sp5x                 Sunplus JPEG (SP5X)
    DEVI.S sunrast              Sun Rasterfile image
    DEV.L. svq1                 Sorenson Vector Quantizer 1 / Sorenson Video 1 / SVQ1
    D.V.L. svq3                 Sorenson Vector Quantizer 3 / Sorenson Video 3 / SVQ3
    DEVI.S targa                Truevision Targa image
    D.VI.. targa_y216           Pinnacle TARGA CineWave YUV16
    D.V.L. tgq                  Electronic Arts TGQ video (decoders: eatgq )
    D.V.L. tgv                  Electronic Arts TGV video (decoders: eatgv )
    D.V.L. theora               Theora
    D.VIL. thp                  Nintendo Gamecube THP video
    D.V.L. tiertexseqvideo      Tiertex Limited SEQ video
    DEVI.S tiff                 TIFF image
    D.VIL. tmv                  8088flex TMV
    D.V.L. tqi                  Electronic Arts TQI video (decoders: eatqi )
    D.V.L. truemotion1          Duck TrueMotion 1.0
    D.V.L. truemotion2          Duck TrueMotion 2.0
    D.V..S tscc                 TechSmith Screen Capture Codec (decoders: camtasia )
    D.V.L. tscc2                TechSmith Screen Codec 2
    D.VIL. txd                  Renderware TXD (TeXture Dictionary) image
    D.V.L. ulti                 IBM UltiMotion (decoders: ultimotion )
    DEVI.S utvideo              Ut Video
    DEVI.S v210                 Uncompressed 4:2:2 10-bit
    D.VI.S v210x                
    DEVI.. v308                 Uncompressed packed 4:4:4
    DEVI.. v408                 Uncompressed packed QT 4:4:4:4
    DEVI.S v410                 Uncompressed 4:4:4 10-bit
    D.V.L. vb                   Beam Software VB
    D.VI.S vble                 VBLE Lossless Codec
    D.V.L. vc1                  SMPTE VC-1
    D.V.L. vc1image             Windows Media Video 9 Image v2
    D.VIL. vcr1                 ATI VCR1
    D.VIL. vixl                 Miro VideoXL (decoders: xl )
    D.V.L. vmdvideo             Sierra VMD video
    D.V..S vmnc                 VMware Screen Codec / VMware Video
    D.V.L. vp3                  On2 VP3
    D.V.L. vp5                  On2 VP5
    D.V.L. vp6                  On2 VP6
    D.V.L. vp6a                 On2 VP6 (Flash version, with alpha channel)
    D.V.L. vp6f                 On2 VP6 (Flash version)
    DEV.L. vp8                  On2 VP8 (decoders: vp8 libvpx ) (encoders: libvpx )
    DEV.L. vp9                  Google VP9 (decoders: vp9 libvpx-vp9 ) (encoders: libvpx-vp9 )
    D.VILS webp                 WebP
    DEV.L. wmv1                 Windows Media Video 7
    DEV.L. wmv2                 Windows Media Video 8
    D.V.L. wmv3                 Windows Media Video 9
    D.V.L. wmv3image            Windows Media Video 9 Image
    D.VIL. wnv1                 Winnov WNV1
    D.V.L. ws_vqa               Westwood Studios VQA (Vector Quantized Animation) video (decoders: vqavideo )
    D.V.L. xan_wc3              Wing Commander III / Xan
    D.V.L. xan_wc4              Wing Commander IV / Xxan
    D.VI.. xbin                 eXtended BINary text
    DEVI.S xbm                  XBM (X BitMap) image
    DEVIL. xface                X-face image
    DEVI.S xwd                  XWD (X Window Dump) image
    DEVI.. y41p                 Uncompressed YUV 4:1:1 12-bit
    D.V.L. yop                  Psygnosis YOP Video
    DEVI.. yuv4                 Uncompressed packed 4:2:0
    D.V..S zerocodec            ZeroCodec Lossless Video
    DEVI.S zlib                 LCL (LossLess Codec Library) ZLIB
    DEV..S zmbv                 Zip Motion Blocks Video
    D.A.L. 8svx_exp             8SVX exponential
    D.A.L. 8svx_fib             8SVX fibonacci
    DEA.L. aac                  AAC (Advanced Audio Coding) (decoders: aac libfdk_aac ) (encoders: aac libfdk_aac )
    D.A.L. aac_latm             AAC LATM (Advanced Audio Coding LATM syntax)
    DEA.L. ac3                  ATSC A/52A (AC-3) (encoders: ac3 ac3_fixed )
    D.A.L. adpcm_4xm            ADPCM 4X Movie
    DEA.L. adpcm_adx            SEGA CRI ADX ADPCM
    D.A.L. adpcm_afc            ADPCM Nintendo Gamecube AFC
    D.A.L. adpcm_ct             ADPCM Creative Technology
    D.A.L. adpcm_dtk            ADPCM Nintendo Gamecube DTK
    D.A.L. adpcm_ea             ADPCM Electronic Arts
    D.A.L. adpcm_ea_maxis_xa    ADPCM Electronic Arts Maxis CDROM XA
    D.A.L. adpcm_ea_r1          ADPCM Electronic Arts R1
    D.A.L. adpcm_ea_r2          ADPCM Electronic Arts R2
    D.A.L. adpcm_ea_r3          ADPCM Electronic Arts R3
    D.A.L. adpcm_ea_xas         ADPCM Electronic Arts XAS
    DEA.L. adpcm_g722           G.722 ADPCM (decoders: g722 ) (encoders: g722 )
    DEA.L. adpcm_g726           G.726 ADPCM (decoders: g726 ) (encoders: g726 )
    D.A.L. adpcm_g726le         G.726 ADPCM little-endian (decoders: g726le )
    D.A.L. adpcm_ima_amv        ADPCM IMA AMV
    D.A.L. adpcm_ima_apc        ADPCM IMA CRYO APC
    D.A.L. adpcm_ima_dk3        ADPCM IMA Duck DK3
    D.A.L. adpcm_ima_dk4        ADPCM IMA Duck DK4
    D.A.L. adpcm_ima_ea_eacs    ADPCM IMA Electronic Arts EACS
    D.A.L. adpcm_ima_ea_sead    ADPCM IMA Electronic Arts SEAD
    D.A.L. adpcm_ima_iss        ADPCM IMA Funcom ISS
    D.A.L. adpcm_ima_oki        ADPCM IMA Dialogic OKI
    DEA.L. adpcm_ima_qt         ADPCM IMA QuickTime
    D.A.L. adpcm_ima_rad        ADPCM IMA Radical
    D.A.L. adpcm_ima_smjpeg     ADPCM IMA Loki SDL MJPEG
    DEA.L. adpcm_ima_wav        ADPCM IMA WAV
    D.A.L. adpcm_ima_ws         ADPCM IMA Westwood
    DEA.L. adpcm_ms             ADPCM Microsoft
    D.A.L. adpcm_sbpro_2        ADPCM Sound Blaster Pro 2-bit
    D.A.L. adpcm_sbpro_3        ADPCM Sound Blaster Pro 2.6-bit
    D.A.L. adpcm_sbpro_4        ADPCM Sound Blaster Pro 4-bit
    DEA.L. adpcm_swf            ADPCM Shockwave Flash
    D.A.L. adpcm_thp            ADPCM Nintendo Gamecube THP
    D.A.L. adpcm_xa             ADPCM CDROM XA
    DEA.L. adpcm_yamaha         ADPCM Yamaha
    DEA..S alac                 ALAC (Apple Lossless Audio Codec)
    D.A.L. amr_nb               AMR-NB (Adaptive Multi-Rate NarrowBand) (decoders: amrnb )
    D.A.L. amr_wb               AMR-WB (Adaptive Multi-Rate WideBand) (decoders: amrwb )
    D.A..S ape                  Monkey's Audio
    D.A.L. atrac1               ATRAC1 (Adaptive TRansform Acoustic Coding)
    D.A.L. atrac3               ATRAC3 (Adaptive TRansform Acoustic Coding 3)
    ..A.L. atrac3p              ATRAC3+ (Adaptive TRansform Acoustic Coding 3+)
    D.A.L. binkaudio_dct        Bink Audio (DCT)
    D.A.L. binkaudio_rdft       Bink Audio (RDFT)
    D.A.L. bmv_audio            Discworld II BMV audio
    ..A.L. celt                 Constrained Energy Lapped Transform (CELT)
    DEA.L. comfortnoise         RFC 3389 Comfort Noise
    D.A.L. cook                 Cook / Cooker / Gecko (RealAudio G2)
    D.A.L. dsicinaudio          Delphine Software International CIN audio
    DEA.LS dts                  DCA (DTS Coherent Acoustics) (decoders: dca ) (encoders: dca )
    ..A.L. dvaudio              
    DEA.L. eac3                 ATSC A/52B (AC-3, E-AC-3)
    D.A.L. evrc                 EVRC (Enhanced Variable Rate Codec)
    DEA..S flac                 FLAC (Free Lossless Audio Codec)
    DEA.L. g723_1               G.723.1
    D.A.L. g729                 G.729
    D.A.L. gsm                  GSM
    D.A.L. gsm_ms               GSM Microsoft variant
    D.A.L. iac                  IAC (Indeo Audio Coder)
    ..A.L. ilbc                 iLBC (Internet Low Bitrate Codec)
    D.A.L. imc                  IMC (Intel Music Coder)
    D.A.L. interplay_dpcm       DPCM Interplay
    D.A.L. mace3                MACE (Macintosh Audio Compression/Expansion) 3:1
    D.A.L. mace6                MACE (Macintosh Audio Compression/Expansion) 6:1
    D.A.L. metasound            Voxware MetaSound
    D.A..S mlp                  MLP (Meridian Lossless Packing)
    D.A.L. mp1                  MP1 (MPEG audio layer 1) (decoders: mp1 mp1float )
    DEA.L. mp2                  MP2 (MPEG audio layer 2) (decoders: mp2 mp2float )
    DEA.L. mp3                  MP3 (MPEG audio layer 3) (decoders: mp3 mp3float ) (encoders: libmp3lame )
    D.A.L. mp3adu               ADU (Application Data Unit) MP3 (MPEG audio layer 3) (decoders: mp3adu mp3adufloat )
    D.A.L. mp3on4               MP3onMP4 (decoders: mp3on4 mp3on4float )
    D.A..S mp4als               MPEG-4 Audio Lossless Coding (ALS) (decoders: als )
    D.A.L. musepack7            Musepack SV7 (decoders: mpc7 )
    D.A.L. musepack8            Musepack SV8 (decoders: mpc8 )
    DEA.L. nellymoser           Nellymoser Asao
    DEA.L. opus                 Opus (Opus Interactive Audio Codec) (decoders: libopus ) (encoders: libopus )
    D.A.L. paf_audio            Amazing Studio Packed Animation File Audio
    DEA.L. pcm_alaw             PCM A-law / G.711 A-law
    D.A..S pcm_bluray           PCM signed 16|20|24-bit big-endian for Blu-ray media
    D.A..S pcm_dvd              PCM signed 20|24-bit big-endian
    DEA..S pcm_f32be            PCM 32-bit floating point big-endian
    DEA..S pcm_f32le            PCM 32-bit floating point little-endian
    DEA..S pcm_f64be            PCM 64-bit floating point big-endian
    DEA..S pcm_f64le            PCM 64-bit floating point little-endian
    D.A..S pcm_lxf              PCM signed 20-bit little-endian planar
    DEA.L. pcm_mulaw            PCM mu-law / G.711 mu-law
    DEA..S pcm_s16be            PCM signed 16-bit big-endian
    DEA..S pcm_s16be_planar     PCM signed 16-bit big-endian planar
    DEA..S pcm_s16le            PCM signed 16-bit little-endian
    DEA..S pcm_s16le_planar     PCM signed 16-bit little-endian planar
    DEA..S pcm_s24be            PCM signed 24-bit big-endian
    DEA..S pcm_s24daud          PCM D-Cinema audio signed 24-bit
    DEA..S pcm_s24le            PCM signed 24-bit little-endian
    DEA..S pcm_s24le_planar     PCM signed 24-bit little-endian planar
    DEA..S pcm_s32be            PCM signed 32-bit big-endian
    DEA..S pcm_s32le            PCM signed 32-bit little-endian
    DEA..S pcm_s32le_planar     PCM signed 32-bit little-endian planar
    DEA..S pcm_s8               PCM signed 8-bit
    DEA..S pcm_s8_planar        PCM signed 8-bit planar
    DEA..S pcm_u16be            PCM unsigned 16-bit big-endian
    DEA..S pcm_u16le            PCM unsigned 16-bit little-endian
    DEA..S pcm_u24be            PCM unsigned 24-bit big-endian
    DEA..S pcm_u24le            PCM unsigned 24-bit little-endian
    DEA..S pcm_u32be            PCM unsigned 32-bit big-endian
    DEA..S pcm_u32le            PCM unsigned 32-bit little-endian
    DEA..S pcm_u8               PCM unsigned 8-bit
    D.A.L. pcm_zork             PCM Zork
    D.A.L. qcelp                QCELP / PureVoice
    D.A.L. qdm2                 QDesign Music Codec 2
    ..A.L. qdmc                 QDesign Music
    DEA.L. ra_144               RealAudio 1.0 (14.4K) (decoders: real_144 ) (encoders: real_144 )
    D.A.L. ra_288               RealAudio 2.0 (28.8K) (decoders: real_288 )
    D.A..S ralf                 RealAudio Lossless
    DEA.L. roq_dpcm             DPCM id RoQ
    DEA..S s302m                SMPTE 302M
    D.A..S shorten              Shorten
    D.A.L. sipr                 RealAudio SIPR / ACELP.NET
    D.A.L. smackaudio           Smacker audio (decoders: smackaud )
    ..A.L. smv                  SMV (Selectable Mode Vocoder)
    D.A.L. sol_dpcm             DPCM Sol
    DEA... sonic                Sonic
    .EA... sonicls              Sonic lossless
    ..A.L. speex                Speex
    D.A..S tak                  TAK (Tom's lossless Audio Kompressor)
    D.A..S truehd               TrueHD
    D.A.L. truespeech           DSP Group TrueSpeech
    DEA..S tta                  TTA (True Audio)
    D.A.L. twinvq               VQF TwinVQ
    D.A.L. vima                 LucasArts VIMA audio
    D.A.L. vmdaudio             Sierra VMD audio
    DEA.L. vorbis               Vorbis (decoders: vorbis libvorbis ) (encoders: vorbis libvorbis )
    ..A.L. voxware              Voxware RT29 Metasound
    D.A... wavesynth            Wave synthesis pseudo-codec
    DEA.LS wavpack              WavPack
    D.A.L. westwood_snd1        Westwood Audio (SND1) (decoders: ws_snd1 )
    D.A..S wmalossless          Windows Media Audio Lossless
    D.A.L. wmapro               Windows Media Audio 9 Professional
    DEA.L. wmav1                Windows Media Audio 1
    DEA.L. wmav2                Windows Media Audio 2
    D.A.L. wmavoice             Windows Media Audio Voice
    D.A.L. xan_dpcm             DPCM Xan
    ..D... dvd_nav_packet       DVD Nav packet
    ..D... klv                  SMPTE 336M Key-Length-Value (KLV) metadata
    DES... ass                  ASS (Advanced SSA) subtitle
    DES... dvb_subtitle         DVB subtitles (decoders: dvbsub ) (encoders: dvbsub )
    ..S... dvb_teletext         DVB teletext
    DES... dvd_subtitle         DVD subtitles (decoders: dvdsub ) (encoders: dvdsub )
    ..S... eia_608              EIA-608 closed captions
    D.S... hdmv_pgs_subtitle    HDMV Presentation Graphic Stream subtitles (decoders: pgssub )
    D.S... jacosub              JACOsub subtitle
    D.S... microdvd             MicroDVD subtitle
    DES... mov_text             MOV text
    D.S... mpl2                 MPL2 subtitle
    D.S... pjs                  PJS (Phoenix Japanimation Society) subtitle
    D.S... realtext             RealText subtitle
    D.S... sami                 SAMI subtitle
    DES... srt                  SubRip subtitle with embedded timing
    DES... ssa                  SSA (SubStation Alpha) subtitle
    DES... subrip               SubRip subtitle
    D.S... subviewer            SubViewer subtitle
    D.S... subviewer1           SubViewer v1 subtitle
    D.S... text                 raw UTF-8 text
    D.S... vplayer              VPlayer subtitle
    D.S... webvtt               WebVTT subtitle
    DES... xsub                 XSUB
  • Unable to transcode video using ffmpeg transcoder

    28 octobre 2014, par user1843970

    This question may be asked in different forums but still answer is not discovered yet.

    I am trying to play *.flv using Video Module and FFMPEG Converter.
    Whenever I upload any flv Video , I get the following message :-

    PHPVideoToolkit error : Execute error. It was not possible to encode "C :\xampp\htdocs\Resonance\sites\default\files\videos\original\barsandtone_3.flv" as FFmpeg returned an error. The error is with the video codec of the input file. FFmpeg reports the error to be "Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height".

    Installed Modules are :-

    Video - 7.x-2.9

    Video.js - 7.x-2.3 - Version : 4.0.3

    Video transcoder : FFmpeg / avconv : git : c2dd5a1

    JW Player

    All above are installed correctly.

    Configuration of Video Module :-

    Inside Player Tab of Video(admin/config/media/video/players), following has been configured :-

    enter image description here

    A New FLV Preset has been created and added under Preset Tab of Video(admin/config/media/video/presets). Details are as Follows :-

    Preset name :- FLV Preset

    Video output extension :- FLV Flash Video

    Video codec :- H 263/H263-1996,H263+/H0-º1998/H263 Version 2(Not sure about Video Codec)

    FFmpeg video preset :- None

    Video quality :-None

    Video speed :- None

    Dimensions :- 640 X 360

    Aspect mode :- Preserve Aspect Ratio

    When I am uploading the video from content type then it extract the thumbnail as follows :-

    enter image description here

    After saving the video it shows the following Mesage :-

    enter image description here

    My gut feeling is that I am setting up wrong preset but I am not able to solve this problem out. Please help me as I am very close to my completion of project which would have been waste without solving the problem.

    Updated :-

    The Console message is as follows :-

    Reported errors

    PHPVideoToolkit error : Execute error. It was not possible to encode "C :\xampp\htdocs\Resonance\sites\default\files\videos\original\barsandtone_19.flv" as FFmpeg returned an error. Note, however the error was encountered on the second pass of the encoding process and the first pass appear to go fine. The error is with the video codec of the input file. FFmpeg reports the error to be "Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height".

    Executed commands and output

    /ffmpeg/ffmpeg.exe -i "C:\xampp\htdocs\Resonance\sites\default\files\videos\original\barsandtone_7.flv" -strict experimental -vcodec "h264" -s "320x180" -acodec "aac" -ac "2" -pass "1" -passlogfile "C:\xampp\tmp/1384191046-5281144682cfc-multipass"  -y C:\xampp\tmp/1384191046-5281144681e51.flv

    ffmpeg version N-49610-gc2dd5a1 Copyright (c) 2000-2013 the FFmpeg developers
     built on Feb  5 2013 13:26:02 with gcc 4.7.2 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
     libavutil      52. 17.101 / 52. 17.101
     libavcodec     54. 91.100 / 54. 91.100
     libavformat    54. 61.104 / 54. 61.104
     libavdevice    54.  3.103 / 54.  3.103
     libavfilter     3. 35.101 /  3. 35.101
     libswscale      2.  2.100 /  2.  2.100
     libswresample   0. 17.102 /  0. 17.102
     libpostproc    52.  2.100 / 52.  2.100
    [flv @ 00000000002fb860] max_analyze_duration 5000000 reached at 5018000 microseconds
    Input #0, flv, from 'C:\xampp\htdocs\Resonance\sites\default\files\videos\original\barsandtone_7.flv':
     Metadata:
       audiodelay      : 0
       canSeekToEnd    : true
     Duration: 00:00:06.00, start: 0.000000, bitrate: 118 kb/s
       Stream #0:0: Video: vp6f, yuv420p, 360x288, 409 kb/s, 1k tbr, 1k tbn, 1k tbc
       Stream #0:1: Audio: mp3, 44100 Hz, stereo, s16p, 96 kb/s
    [libx264 @ 0000000002457340] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
    [libx264 @ 0000000002457340] profile Main, level 4.0
    [libx264 @ 0000000002457340] 264 - core 129 r2245 bc13772 - H.264/MPEG-4 AVC codec - Copyleft 2003-2013 - http://www.videolan.org/x264.html - options: cabac=1 ref=1 deblock=1:0:0 analyse=0x1:0 me=dia subme=2 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=6 lookahead_threads=1 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
    Output #0, flv, to 'C:\xampp\tmp/1384191046-5281144681e51.flv':
     Metadata:
       audiodelay      : 0
       canSeekToEnd    : true
       encoder         : Lavf54.61.104
       Stream #0:0: Video: h264 ([7][0][0][0] / 0x0007), yuv420p, 320x180, q=-1--1, pass 1, 1k tbn, 1k tbc
       Stream #0:1: Audio: aac ([10][0][0][0] / 0x000A), 44100 Hz, stereo, fltp, 128 kb/s
    Stream mapping:
     Stream #0:0 -> #0:0 (vp6f -> libx264)
     Stream #0:1 -> #0:1 (mp3 -> aac)
    Press [q] to stop, [?] for help
    frame=    2 fps=0.0 q=-1.0 Lsize=     102kB time=00:00:06.10 bitrate= 136.7kbits/s
    video:2kB audio:95kB subtitle:0 global headers:0kB muxing overhead 4.978013%
    [libx264 @ 0000000002457340] frame I:1     Avg QP:11.95  size:  1595
    [libx264 @ 0000000002457340] frame P:1     Avg QP: 2.00  size:    21
    [libx264 @ 0000000002457340] mb I  I16..4: 86.3%  0.0% 13.8%
    [libx264 @ 0000000002457340] mb P  I16..4:  0.4%  0.0%  0.0%  P16..4:  0.0%  0.0%  0.0%  0.0%  0.0%    skip:99.6%
    [libx264 @ 0000000002457340] coded y,uvDC,uvAC intra: 13.8% 40.7% 32.8% inter: 0.0% 0.0% 0.0%
    [libx264 @ 0000000002457340] i16 v,h,dc,p: 80% 15%  4%  0%
    [libx264 @ 0000000002457340] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 36% 42% 21%  0%  0%  0%  0%  0%  0%
    [libx264 @ 0000000002457340] i8c dc,h,v,p: 45% 24% 31%  0%
    [libx264 @ 0000000002457340] Weighted P-Frames: Y:0.0% UV:0.0%
    [libx264 @ 0000000002457340] kb/s:1.08

    /ffmpeg/ffmpeg.exe -i "C:\xampp\htdocs\Resonance\sites\default\files\videos\original\barsandtone_7.flv" -strict experimental -vcodec "h264" -s "320x180" -acodec "aac" -ac "2" -pass "2" -passlogfile "C:\xampp\tmp/1384191046-5281144682cfc-multipass"  -y C:\xampp\tmp/1384191046-5281144681e51.flv

    ffmpeg version N-49610-gc2dd5a1 Copyright (c) 2000-2013 the FFmpeg developers
     built on Feb  5 2013 13:26:02 with gcc 4.7.2 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
     libavutil      52. 17.101 / 52. 17.101
     libavcodec     54. 91.100 / 54. 91.100
     libavformat    54. 61.104 / 54. 61.104
     libavdevice    54.  3.103 / 54.  3.103
     libavfilter     3. 35.101 /  3. 35.101
     libswscale      2.  2.100 /  2.  2.100
     libswresample   0. 17.102 /  0. 17.102
     libpostproc    52.  2.100 / 52.  2.100
    [flv @ 00000000002fb860] max_analyze_duration 5000000 reached at 5018000 microseconds
    Input #0, flv, from 'C:\xampp\htdocs\Resonance\sites\default\files\videos\original\barsandtone_7.flv':
     Metadata:
       audiodelay      : 0
       canSeekToEnd    : true
     Duration: 00:00:06.00, start: 0.000000, bitrate: 118 kb/s
       Stream #0:0: Video: vp6f, yuv420p, 360x288, 409 kb/s, 1k tbr, 1k tbn, 1k tbc
       Stream #0:1: Audio: mp3, 44100 Hz, stereo, s16p, 96 kb/s
    [libx264 @ 00000000024e7340] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
    [libx264 @ 00000000024e7340] constant rate-factor is incompatible with 2pass.
    Output #0, flv, to 'C:\xampp\tmp/1384191046-5281144681e51.flv':
     Metadata:
       audiodelay      : 0
       canSeekToEnd    : true
       Stream #0:0: Video: h264, yuv420p, 320x180, q=-1--1, pass 2, 90k tbn, 1k tbc
       Stream #0:1: Audio: none, 44100 Hz, stereo, fltp, 128 kb/s
    Stream mapping:
     Stream #0:0 -> #0:0 (vp6f -> libx264)
     Stream #0:1 -> #0:1 (mp3 -> aac)
    Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height

    I am not Unix Wizard to get the things out of this. Please help me in suggesting the right path.