VideoHelp Forum
+ Reply to Thread
Results 1 to 4 of 4
Thread
  1. 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:
    Code:
    ./configure --enable-mp3lame --enable-shared --prefix=/usr
    ...and LAME with:
    Code:
    ./configure --enable-shared --prefix=/usr
    And they both worked fine.

    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:

    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
    Anyone have any ideas, at all?
    Quote Quote  
  2. Member
    Join Date
    Dec 2004
    Location
    Australia
    Search Comp PM
    I would disable decoding with lame and also enable nasm.
    --disable-decoder --enable-nasm

    Also check your ffmpeg config log.

    Assembly won't help, but it will encode faster if you get it working.
    Quote Quote  
  3. Originally Posted by celtic_druid
    I would disable decoding with lame and also enable nasm.
    --disable-decoder --enable-nasm

    Also check your ffmpeg config log.

    Assembly won't help, but it will encode faster if you get it working.
    Okay thanks. Why would you want to disable decoder?
    Quote Quote  
  4. Member
    Join Date
    Dec 2004
    Location
    Australia
    Search Comp PM
    Because apps tend to only link against lame for encoding and having decoding enabled can cause problems.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!