+ Post New Thread
Results 1 to 9 of 9
*nix Thread, Audio LAVC, couldn't find encoder for codec libfaac. in Technical; since reinstalling with the new ububtu my commandline for re-encoding isnt workin with mencoder, im getting this error: Code: Audio ...
  1. #1

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    5,527
    Thank Post
    1,339
    Thanked 470 Times in 307 Posts
    Blog Entries
    6
    Rep Power
    200

    Audio LAVC, couldn't find encoder for codec libfaac.

    since reinstalling with the new ububtu my commandline for re-encoding isnt workin with mencoder, im getting this error:

    Code:
    Audio LAVC, couldn't find encoder for codec libfaac.
    ive installed libfaac0 and libfaac-devel

    my command is

    Code:
    mencoder $f -oac lavc -ovc lavc -of lavf -lavcopts aglobal=1:vglobal=1:vcodec=mpeg4:vbitrate=2500:acodec=libfaac -af lavcresample=48000 -vf scale=320:240,harddup -lavfopts format=psp -ofps 30000/1001 -o  $f.mp4
    and it used to work fine

  2. #2

    Join Date
    Sep 2008
    Location
    Birmingham
    Posts
    82
    Thank Post
    31
    Thanked 8 Times in 7 Posts
    Rep Power
    14
    Just done a quick google and found this:

    [SOLVED] [HELP]Mencoder doesnt wrok after update!! - Ubuntu Forums

    The only thing you could try from that post is:

    use -oac faac instead of -oac lavc.

  3. Thanks to AdamK from:

    RabbieBurns (10th November 2009)

  4. #3

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    5,527
    Thank Post
    1,339
    Thanked 470 Times in 307 Posts
    Blog Entries
    6
    Rep Power
    200
    that seems to be it going now.. hopefullyy itll output a playable file.. cheers

  5. #4

    Join Date
    Sep 2008
    Location
    Birmingham
    Posts
    82
    Thank Post
    31
    Thanked 8 Times in 7 Posts
    Rep Power
    14
    No problem, glad to have been some help

  6. #5

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    5,527
    Thank Post
    1,339
    Thanked 470 Times in 307 Posts
    Blog Entries
    6
    Rep Power
    200
    file encoded ok but playback doesnt have any audio

  7. #6

    Join Date
    Sep 2008
    Location
    Birmingham
    Posts
    82
    Thank Post
    31
    Thanked 8 Times in 7 Posts
    Rep Power
    14
    I've just had a play around with it on my Fedora machine.
    I got the same error as you with lavc.
    I then tried faac and it encoded it but the sound was very poor.

    I then tried using mp3lame instead and that seems to work fine.

    Give that ago and see if that works ok for you

  8. #7

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    5,527
    Thank Post
    1,339
    Thanked 470 Times in 307 Posts
    Blog Entries
    6
    Rep Power
    200
    HOWTO: Easily enable MP3, MPEG4, AAC, and other restricted encoding in FFmpeg - Ubuntu Forums

    I think this thread answers my questions

    Will report back ASAP

  9. #8

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    5,527
    Thank Post
    1,339
    Thanked 470 Times in 307 Posts
    Blog Entries
    6
    Rep Power
    200
    Note: Right now there is no way to encode AAC audio with FFmpeg from the Karmic Koala repository. You will have to compile FFmpeg yourself to do so. Refer to option A. Compile FFmpeg yourself if you would like to encode to AAC audio with FFmpeg. Another option is to use a separate encoder and then combine the video and audio.
    Is the key

    Then I had to
    Code:
    svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg
    cd ffmpeg
    ./configure --enable-gpl --enable-nonfree --enable-pthreads --enable-libfaac --enable-libfaad --enable-libmp3lame --enable-libtheora --enable-libx264 --enable-libxvid --enable-x11grab
    make
    sudo checkinstall --fstrans=no --install=yes --pkgname=ffmpeg --pkgversion "4:0.5+svn`date +%Y%m%d`" --default
    Now it works if i do:

    Code:
    ffmpeg -i input.avi -acodec libfaac -ab 128k -ac 2 -vcodec mpeg4 -s 320x240 -vb 500k output.mp4
    Im not sure if ive solved my original problem or just found another way to do it?

  10. #9

    RabbieBurns's Avatar
    Join Date
    Apr 2008
    Location
    Sydney
    Posts
    5,527
    Thank Post
    1,339
    Thanked 470 Times in 307 Posts
    Blog Entries
    6
    Rep Power
    200
    I find it amusing that I google a problem Im sure Ive had previously, and my original post about it is the number 1 hit on Google.

SHARE:
+ Post New Thread

Similar Threads

  1. [Video] The new Mac-Book Wheel — It couldn't be simpler!
    By SYNACK in forum Jokes/Interweb Things
    Replies: 3
    Last Post: 6th January 2009, 08:51 AM
  2. Replies: 16
    Last Post: 6th June 2008, 12:41 PM
  3. Capture Card for Windows Media Encoder
    By robknowles in forum Hardware
    Replies: 1
    Last Post: 4th June 2008, 08:55 PM
  4. [Pics] She just couldn't wait to spend that money...
    By mattx in forum Jokes/Interweb Things
    Replies: 8
    Last Post: 20th March 2008, 03:06 PM
  5. SMART Notebook + Espresso + Riva Encoder Problem
    By CM786 in forum Educational Software
    Replies: 0
    Last Post: 16th October 2007, 02:22 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •