I have just installed ffmpeg for the first time on my server machine which runs Slackware 10.2. The install goes fine and everything, and I have installed it with --enable-shared.
The problem is that I can't get the output file with audio.
I know that LAME is needed to encode mp3 tracks, and I have that installed. Also that is installed with --enable-shared.
I installed ffmpeg with the following config:
...and LAME with:Code:./configure --enable-mp3lame --enable-shared --prefix=/usr
And they both worked fine.Code:./configure --enable-shared --prefix=/usr
I have tried alot of different command lines, like:
ffmpeg -i source_file.avi dest_file.flv
Gives me a correct flv file, but without the sound.
ffmpeg -i source_file.avi -acodec mp3 dest_file.flv
Returns an error saying "Unsupported codec for output stream #0.1". So my guess is that it's the mp3 lib that is messing with me.
# ffmpeg -formats returns that I have mp3 support installed:
Anyone have any ideas, at all?Code:File formats: // a bunch of codecs info (uninteresting stuff) DE mp3 MPEG audio layer 3 // bla bla bla D A mp3 D A mp3adu
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 4 of 4
Thread
-
-
Originally Posted by celtic_druid
-
Because apps tend to only link against lame for encoding and having decoding enabled can cause problems.
Similar Threads
-
Due to converting from flv to mp3 ffmpeg runs out with error
By Maxroy in forum Video ConversionReplies: 3Last Post: 7th Oct 2010, 15:23 -
FFMPEG AVI to FLV Converting Help!
By sp0oon in forum Video ConversionReplies: 6Last Post: 20th Jan 2010, 11:48 -
FFMPEG and other avi to flv encoders...
By sp0oon in forum Video ConversionReplies: 8Last Post: 30th Oct 2009, 04:42 -
Trouble converting AVI(divx)+MP3 to FLV+MP3
By BLboy in forum Video ConversionReplies: 7Last Post: 21st Jul 2009, 04:36 -
Mux a FLV AVI + MP3 -> FLV with ffmpeg or mencoder?
By Colmino in forum Video ConversionReplies: 9Last Post: 29th Mar 2008, 22:11