VideoHelp.com 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
    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
    Because apps tend to only link against lame for encoding and having decoding enabled can cause problems.
    Quote Quote  




Similar Threads

  1. Replies: 3
    Last Post: 7th Oct 2010, 15:23
  2. FFMPEG AVI to FLV Converting Help!
    By sp0oon in forum Video Conversion
    Replies: 6
    Last Post: 20th Jan 2010, 11:48
  3. FFMPEG and other avi to flv encoders...
    By sp0oon in forum Video Conversion
    Replies: 8
    Last Post: 30th Oct 2009, 04:42
  4. Trouble converting AVI(divx)+MP3 to FLV+MP3
    By BLboy in forum Video Conversion
    Replies: 7
    Last Post: 21st Jul 2009, 04:36
  5. Mux a FLV AVI + MP3 -> FLV with ffmpeg or mencoder?
    By Colmino in forum Video Conversion
    Replies: 9
    Last Post: 29th Mar 2008, 22:11
Search   Contact us   About   Advertise   Forum   RSS Feeds   Statistics   Tools