Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: [Opensuse 11] Audio LAVC, couldn't find encoder for codec aac.

  1. #1
    Safraco NNTP User

    Default [Opensuse 11] Audio LAVC, couldn't find encoder for codec aac.


    I've installed faac, libfaac-devel and libfaac0 from videolan repository:
    neither mencoder nor Avidemux recognize it.
    Ideas?
    Grazie e ciao.
    Safraco

    > rpm -qa | grep faac

    faac-1.26-10.1
    libfaac-devel-1.26-10.1
    libfaac0-1.26-10.1

    __________________________________________________________________________
    > mencoder -oac lavc -ovc lavc -of lavf -lavcopts

    aglobal=1:vglobal=1:vcodec=mpeg4:acodec=aac -af lavcresample=24000 -vf
    harddup -lavfopts format=psp -ofps 30000/1001 test.avi -o test.psp -info
    name=test
    MEncoder 1.0rc2-SUSE Linux 11.0 (i686)-Packman-4.3 (C) 2000-2007 MPlayer
    Team
    CPU: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz (Family: 6, Model: 15,
    Stepping: 11)
    CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
    Compiled with runtime CPU detection.
    success: format: 0 data: 0x0 - 0x2b4993ce
    AVI file format detected.
    [aviheader] Video stream found, -vid 0
    [aviheader] Audio stream found, -aid 1
    VIDEO: [FMP4] 696x418 24bpp 25.000 fps 1228.9 kbps (150.0 kbyte/s)
    [V] filefmt:3 fourcc:0x34504D46 size:696x418 fps:25.00 ftime:=0.0400
    ==========================================================================
    Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
    AUDIO: 44100 Hz, 2 ch, s16le, 80.0 kbit/5.67% (ratio: 10000->176400)
    Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
    ==========================================================================
    ** MUXER_LAVF
    *****************************************************************
    REMEMBER: MEncoder's libavformat muxing is presently broken and can generate
    INCORRECT files in the presence of B frames. Moreover, due to bugs MPlayer
    will play these INCORRECT files as if nothing were wrong!
    **************************************************************************
    OK, exit
    Opening video filter: [expand osd=1]
    Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
    Opening video filter: [harddup]
    ==========================================================================
    Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
    Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
    ==========================================================================
    Audio LAVC, couldn't find encoder for codec aac.

    Exiting...
    __________________________________________________________________________

    > mencoder -oac help

    MEncoder 1.0rc2-SUSE Linux 11.0 (i686)-Packman-4.3 (C) 2000-2007 MPlayer
    Team
    CPU: Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz (Family: 6, Model: 15,
    Stepping: 11)
    CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
    Compiled with runtime CPU detection.

    Available codecs:
    copy - frame copy, without re-encoding (useful for AC3)
    pcm - uncompressed PCM audio
    mp3lame - cbr/abr/vbr MP3 using libmp3lame
    lavc - FFmpeg audio encoder (MP2, AC3, ...)
    twolame - Twolame MP2 audio encoder
    __________________________________________________________________________

    Any suggestions will be appreciated!




  2. #2
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    27,109
    Blog Entries
    40

    Default Re: [Opensuse 11] Audio LAVC, couldn't find encoder for code

    Quote Originally Posted by Safraco View Post
    I've installed faac, libfaac-devel and libfaac0 from videolan repository:
    neither mencoder nor Avidemux recognize it.
    I see you have mixed videolan rpms with packman packaged rpms. I prefer not to do that. That can cause compatibility problems at times. I do not know if this is the cause of your observation.

    I use Packman packaged rpms (only) myself on my PCs (except for libdvdcss2 from videolan) and my recommendation for users is to use the Packman packaged rpms only.

  3. #3

    Default Re: [Opensuse 11] Audio LAVC, couldn't find encoder for code

    From "man mencoder":
    Code:
    acodec=<value> 
     audio codec (default: mp2) 
    ac3  
     Dolby Digital (AC-3) 
    adpcm_*
     Adaptive PCM formats - see the HTML documentation for details. 
    flac 
     Free Lossless Audio Codec (FLAC) 
    g726 
     G.726 ADPCM 
    libamr_nb
     3GPP Adaptive Multi-Rate (AMR) narrow-band 
    libamr_wb
     3GPP Adaptive Multi-Rate (AMR) wide-band 
    libfaac
     Advanced Audio Coding (AAC) - using FAAC 
    libmp3lame
     MPEG-1 audio layer 3 (MP3) - using LAME 
    mp2  
     MPEG-1 audio layer 2 (MP2) 
    pcm_*
     PCM formats - see the HTML documentation for details. 
    roq_dpcm
     Id Software RoQ DPCM 
    sonic
     experimental simple lossy codec 
    sonicls
     experimental simple lossless codec 
    vorbis
     Vorbis 
    wmav1
     Windows Media Audio v1 
    wmav2
     Windows Media Audio v2

  4. #4
    Safraco NNTP User

    Default Re: [Opensuse 11] Audio LAVC, couldn't find encoder for codec aac.

    oldcpu wrote:
    > Safraco;1833169 Wrote:


    >> I've installed faac, libfaac-devel and libfaac0 from videolan
    >> repository:
    >> neither mencoder nor Avidemux recognize it.


    > I see you have mixed videolan rpms with packman packaged rpms. I
    > prefer not to do that.


    Thank's for reply!!
    I've tried to install faac from Packman and it still isn't recognized from
    various program.

    Ciao.




  5. #5
    Join Date
    Jun 2008
    Location
    Sogndal, Noreg
    Posts
    1,103

    Default Re: [Opensuse 11] Audio LAVC, couldn't find encoder for code

    Maybe it is because you have apps from the packman repo. Don't think you have, for example, mplayer which provides mencoder in the vlc repo. So I would suggest you to do the opposite and uninstall everything from vlc, except from libdvdcss, and delete vlc from your yast repo list (if you have added it there), and only use packman.

    This is only my personal preference, there isn't anything wrong with the VLC repo as far as I know. But packman provides all the same codecs as vlc, and a lot more both codecs and applications. There is well know issues with mixing codecs from the two repoes, thus, if you want to use packages from packman, use the codecs from packman.


  6. #6
    Join Date
    Jun 2008
    Location
    /dev/belgium
    Posts
    1,946

    Default Re: [Opensuse 11] Audio LAVC, couldn't find encoder for code

    Quote Originally Posted by Safraco View Post
    oldcpu wrote:
    > Safraco;1833169 Wrote:


    >> I've installed faac, libfaac-devel and libfaac0 from videolan
    >> repository:
    >> neither mencoder nor Avidemux recognize it.


    > I see you have mixed videolan rpms with packman packaged rpms. I
    > prefer not to do that.


    Thank's for reply!!
    I've tried to install faac from Packman and it still isn't recognized from
    various program.

    Ciao.
    First, check to see if MEncoder is compiled with FAAC support. You can do this by opening a terminal and typing

    mencoder -oac help

    if it's there, you should see something like: faac - FAAC AAC audio encoder. If there's nothing about FAAC, then the only way to get mencoder to encode to AAC audio is to recompile it with libfaac support (install the devel package).

    if your mencoder does support FAAC, then another way to encode to is

    -oac faac -faacopts br=128

  7. #7
    Safraco NNTP User

    Default Re: [Opensuse 11] Audio LAVC, couldn't find encoder for codec aac.

    RedDwarf wrote:

    > From "man mencoder":


    > *libfaac
    > Advanced Audio Coding (AAC) - using FAAC*


    I don't know if I've understood the tip... Does it mean that I need libfaac
    instead of libfaac0?

    [To all ]
    If you've mplayer and faac installed by rpm and with opensuse11, and
    your "mencoder -oac help | grep faac"'s output is something, could you
    explain me what have you done to obtain this?

    Grazie e ciao.


  8. #8
    Safraco NNTP User

    Default Re: [Opensuse 11] Audio LAVC, couldn't find encoder for codec aac.

    microchip8 wrote:

    >
    > Safraco;1833925 Wrote:
    >> oldcpu wrote:
    >> > Safraco;1833169 Wrote:


    >> >> I've installed faac, libfaac-devel and libfaac0 from videolan
    >> >> repository: neither mencoder nor Avidemux recognize it.


    >> > I see you have mixed videolan rpms with packman packaged rpms. I
    >> > prefer not to do that.


    >> Thank's for reply!!
    >> I've tried to install faac from Packman and it still isn't recognized
    >> from various program.


    > First, check to see if MEncoder is compiled with FAAC support. You can
    > do this by opening a terminal and typing
    > MENCODER -OAC HELP


    nada...

    copy - frame copy, without re-encoding (useful for AC3)
    pcm - uncompressed PCM audio
    mp3lame - cbr/abr/vbr MP3 using libmp3lame
    lavc - FFmpeg audio encoder (MP2, AC3, ...)
    twolame - Twolame MP2 audio encoder

    > if it's there, you should see something like: *faac - FAAC AAC
    > audio encoder*. If there's nothing about FAAC, then the only way to get
    > mencoder to encode to AAC audio is to recompile it with libfaac support
    > (install the devel package).


    Ok, but it was been grace to have faac also with other software like
    avidemux. I've to compile also it? Why faac is it not generally available
    to the system? Binaries in Packman repository are compiled without faac
    support?

    > if your mencoder does support FAAC, then another way to encode to is
    > *-oac faac -faacopts br=128*


    as before... $MPlayer was compiled without libfaac


  9. #9
    Safraco NNTP User

    Default Re: [Opensuse 11] Audio LAVC, couldn't find encoder for codec aac.

    F Sauce wrote:

    >
    > Maybe it is because you have apps from the packman repo.


    Ok, I'll try now.
    Sorry for the other answer, I've read this for last.
    Thanks


  10. #10
    Join Date
    Jun 2008
    Location
    /dev/belgium
    Posts
    1,946

    Default Re: [Opensuse 11] Audio LAVC, couldn't find encoder for code

    Quote Originally Posted by Safraco View Post

    Ok, but it was been grace to have faac also with other software like
    avidemux. I've to compile also it? Why faac is it not generally available
    to the system? Binaries in Packman repository are compiled without faac
    support?
    Yes, I've noticed that too that some programs like MEncoder, Avidemux, etc from Packman are not compiled with faac support. The only two things you can do are, either compile MPlayer yourself with faac support, or contact the responsible Packman packager of MPlayer and tell him to package it with faac support

Page 1 of 3 123 LastLast

Posting Permissions

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