I was unable to encode using the latest version of FFMPEG - my hosting company figured out it was an incompatibility with a more recent version of FFMPEG - SVN-r19344.
Installing version SVN-r16196 instead did the trick, so I'm OK now.
Below is the FFMPEG output with errors - I thought this could be helpful. BD video rocks!
MP4 encode output:
export MALLOC_CHECK_=1; time /usr/local/bin/ffmpeg -v 0 -y -i '/home/barryadl/public_html/sites/default/files/storage/1' -f mp4 -vcodec libx264 -b 320k -r 24 -g 48 -s 528x360 -acodec libfaac -ab 128k -ac 2 -ar 44100 -pass 1 -passlogfile 2pass-5 /home/barryadl/public_html/sites/default/files/temp/ds5O9B 2>&1 malloc: using debugging hooks FFmpeg version SVN-r19344, Copyright (c) 2000-2009 Fabrice Bellard, et al. configuration: --enable-libmp3lame --disable-mmx --enable-shared --enable-gpl --enable-postproc --enable-nonfree --enable-postproc --enable-libfaad --enable-avfilter --enable-pthreads --enable-libxvid --enable-libx264 --enable-libfaac --enable-libamr-nb --enable-libamr-wb libavutil 50. 3. 0 / 50. 3. 0 libavcodec 52.32. 0 / 52.32. 0 libavformat 52.36. 0 / 52.36. 0 libavdevice 52. 2. 0 / 52. 2. 0 libavfilter 0. 5. 0 / 0. 5. 0 libswscale 0. 7. 1 / 0. 7. 1 libpostproc 51. 2. 0 / 51. 2. 0 built on Aug 8 2009 21:03:57, gcc: 4.1.2 20080704 (Red Hat 4.1.2-44) Input #0, mpeg, from '/home/barryadl/public_html/sites/default/files/storage/1': Duration: 00:00:31.94, start: 0.226278, bitrate: 3089 kb/s Stream #0.0[0x1e0]: Video: mpeg1video, yuv420p, 704x480 [PAR 200:219 DAR 880:657], 3000 kb/s, 30 tbr, 90k tbn, 30 tbc Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, 2 channels, s16, 224 kb/s [libx264 @ 0x80d3a80]broken ffmpeg default settings detected [libx264 @ 0x80d3a80]use an encoding preset (vpre) Output #0, mp4, to '/home/barryadl/public_html/sites/default/files/temp/ds5O9B': Stream #0.0: Video: libx264, yuv420p, 528x360 [PAR 200:219 DAR 880:657], q=2-31, pass 1, 320 kb/s, 90k tbn, 24 tbc Stream #0.1: Audio: libfaac, 44100 Hz, 2 channels, s16, 128 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 Error while opening encoder for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or heightFLV encode output:
export MALLOC_CHECK_=1; time /usr/local/bin/ffmpeg -v 0 -y -i 'sites/default/files/storage/1' -f flv -vcodec flv -b 320k -r 24 -g 48 -s 528x360 -acodec libmp3lame -ab 96k -ac 2 -ar 44100 -pass 1 -passlogfile /home/barryadl/public_html/sites/default/files/temp/DZ8bPM /home/barryadl/public_html/sites/default/files/temp/5pYKRe 2>&1 malloc: using debugging hooks FFmpeg version SVN-r19344, Copyright (c) 2000-2009 Fabrice Bellard, et al. configuration: --enable-libmp3lame --disable-mmx --enable-shared --enable-gpl --enable-postproc --enable-nonfree --enable-postproc --enable-libfaad --enable-avfilter --enable-pthreads --enable-libxvid --enable-libx264 --enable-libfaac --enable-libamr-nb --enable-libamr-wb libavutil 50. 3. 0 / 50. 3. 0 libavcodec 52.32. 0 / 52.32. 0 libavformat 52.36. 0 / 52.36. 0 libavdevice 52. 2. 0 / 52. 2. 0 libavfilter 0. 5. 0 / 0. 5. 0 libswscale 0. 7. 1 / 0. 7. 1 libpostproc 51. 2. 0 / 51. 2. 0 built on Aug 8 2009 21:03:57, gcc: 4.1.2 20080704 (Red Hat 4.1.2-44) Input #0, mpeg, from 'sites/default/files/storage/1': Duration: 00:00:31.94, start: 0.226278, bitrate: 3089 kb/s Stream #0.0[0x1e0]: Video: mpeg1video, yuv420p, 704x480 [PAR 200:219 DAR 880:657], 3000 kb/s, 30 tbr, 90k tbn, 30 tbc Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, 2 channels, s16, 224 kb/s Output #0, flv, to '/home/barryadl/public_html/sites/default/files/temp/5pYKRe': Stream #0.0: Video: flv, yuv420p, 528x360 [PAR 200:219 DAR 880:657], q=2-31, pass 1, 320 kb/s, 1k tbn, 24 tbc Stream #0.1: Audio: libmp3lame, 44100 Hz, 2 channels, s16, 96 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 Press [q] to stop encoding [libmp3lame @ 0x9505fe0]lame: output buffer too small (buffer index: 9404, free bytes: 388) Audio encoding failed
Comments
Comment #1
geek-merlinsubscribing
Comment #2
matt2000 commentedsubscribe. Anyone else verify this?
Comment #3
jbrown commentedFixed: http://drupal.org/cvs?commit=290476
I used this great article: http://rob.opendot.cl/index.php/useful-stuff/ffmpeg-x264-encoding-guide/
bcobin: This is your FLV prob: #376012: SOLVED - ffmpeg lame output buffer too small
Comment #4
jbrown commented