Hello, I just downloaded, configured and compiled ffmpeg perfectly fine. Now comes the hard part. I am trying to use it to convert an avi to flv and when I run: ./ffmpeg -i marco.avi -acodec mp3 -ar 22050 -ab 32 -f flv -s 320x240 -aspect 4:3 -y bob.flv ffmpeg version CVS, build 3276800, Copyright (c) 2000-2004 Fabrice Bellard configuration: --enable-mb3lame --enable-gpl built on Sep 20 2005 16:14:35, gcc: 3.2.3 20030502 (Red Hat Linux 3.2.3-24) Input #0, psxstr, from 'marco.avi': Duration: N/A, bitrate: N/A Stream #0.0: Audio: adpcm_xa, 18900 Hz, stereo Output #0, flv, to 'bob.flv': Stream #0.0: Audio: 0x0000, 22050 Hz, stereo, 32 kb/s Stream mapping: Stream #0.0 -> #0.0 Unsupported codec for output stream #0.0 As a matter of fact I get this error "Unsupported codec" error NO matter WHAT I try to convert to. I have attempted going to Quick time (mov) and: ./ffmpeg -i marco.avi test.mov ffmpeg version CVS, build 3276800, Copyright (c) 2000-2004 Fabrice Bellard configuration: --enable-mb3lame --enable-gpl built on Sep 20 2005 16:14:35, gcc: 3.2.3 20030502 (Red Hat Linux 3.2.3-24) Input #0, psxstr, from 'marco.avi': Duration: N/A, bitrate: N/A Stream #0.0: Audio: adpcm_xa, 18900 Hz, stereo File 'test.mov' already exists. Overwrite ? [y/N] y Output #0, mov, to 'test.mov': Stream #0.0: Audio: 0x0000, 18900 Hz, stereo, 64 kb/s Stream mapping: Stream #0.0 -> #0.0 Unsupported codec for output stream #0.0 so I am a little confused here. Looking at the documentation I find that flv and swf is indeed supported, and it even seeems to recognize it ,I think. Any help will be greatly appreciated. Thank you, Marco
I can spot one problem right here:
./ffmpeg -i marco.avi -acodec mp3 -ar 22050 -ab 32 -f flv -s 320x240 -aspect 4:3 -y bob.flv ffmpeg version CVS, build 3276800, Copyright (c) 2000-2004 Fabrice Bellard configuration: --enable-mb3lame --enable-gpl ^^^^^^^^^^^^^^^^^ If you miss-spell a configure option it silently ignores it, so your build of ffmpeg does not have mp3 support. This will be causing the first error, and probably the second one as well. Rebuild ffmpeg with --enable-mp3lame & it should work.
participants (2)
-
chalserogers@gmail.com -
marco@mbuzzy.com