View Single Post
Old 12th October 2011, 17:39   #1  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
mencoder aac encodering (without faac) ?

Using the standard mencoder version that comes with ubuntu, faac is not included in mencoder,..

when using:
Code:
mencoder -lavdopts threads=8 -mc 0 -noskip -aid 1  -ovc frameno -oac lavc -lavcopts acodec=aac:abitrate=128 -o "test__aid_1__18_11_43_591_01.aac" "test.avi"
I get the following info:
"WARNING: OUTPUT FILE FORMAT IS _AVI_. See -of help."
and an avi, if I use:

Code:
mencoder -lavdopts threads=8 -mc 0 -noskip -aid 1  -ovc frameno -oac lavc -lavcopts acodec=aac:abitrate=128 -of rawaudio -o "test__aid_1__18_11_43_591_01.aac" "test.avi"
I get an aac file without the adts headers,.. (-> can't mux it with mp4box, can't playback it with anything :/)

(-of lavf -lavfopts format=mp4 also creates a not usable file,..)

Does anybody know what I'm doing wrong, or is mencoder not capable to produce a proper aac output file?

Cu Selur

Ps.: I know I could use eac3to or ffmpeg, but I want to know if this is possible with mencoder.
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote