I use mencoder as an intermediate step: mencoder -oac mp3lame -ovc lavc -lavcopts vcodec=mpeg4 -of avi input.flv -o output.temp.avi ffmpeg -i output.temp.avi -vcodec flv -s 480x320 -acodec libmp3lame output.flv On Wed, Dec 24, 2008 at 9:36 PM, JoeHill <joehill at teksavvy.com> wrote:
Trying to convert avi's from my camera to flv format, like so:
joehill at node1:~$ ffmpeg -i dscf0014.avi -acodec libmp3lame -ar 22050 -f flv magda.flv FFmpeg version SVN-r15773, Copyright (c) 2000-2008 Fabrice Bellard, et al. configuration: --prefix=/usr --enable-libmp3lame --enable-libtheora --enable-libx264 --enable-libgsm --enable-postproc --enable-libxvid --enable-libfaac --enable-pthreads --enable-libvorbis --enable-libfaad --enable-gpl --enable-x11grab libavutil 49.12. 0 / 49.12. 0 libavcodec 52. 2. 0 / 52. 2. 0 libavformat 52.23. 1 / 52.23. 1 libavdevice 52. 1. 0 / 52. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 built on Nov 8 2008 23:11:08, gcc: 4.3.2 Input #0, avi, from 'dscf0014.avi': Duration: 00:02:04.00, start: 0.000000, bitrate: 9365 kb/s Stream #0.0: Video: mjpeg, yuvj422p, 640x480, 30.00 tb(r) Stream #0.1: Audio: pcm_u8, 11024 Hz, mono, s16, 88 kb/s Output #0, flv, to 'magda.flv': Stream #0.0: Video: flv, yuv420p, 640x480, q=2-31, 200 kb/s, 30.00 tb(c) Stream #0.1: Audio: libmp3lame, 22050 Hz, mono, s16, 64 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 Press [q] to stop encoding Audio resampler only works with 16 bits per sample, patch welcome.
I see that this was reported as a bug here:
https://roundup.mplayerhq.hu/roundup/ffmpeg/issue582
but do not see if it has been fixed.
Any ideas on how to get around this? Perhaps some intermediary conversion step?
Many thanks for any tips.
-- J _______________________________________________ ffmpeg-user mailing list ffmpeg-user at mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user