[MEncoder-users] AAC encoding
Olivier Rolland
billl at users.sf.net
Mon Jan 29 23:58:32 CET 2007
On 1/29/07, Nico Sabbi <nicola_sabbi at fastwebnet.it> wrote:
> why don't you simply use
> mencoder -oac faac -faacopts mpeg=4:raw -ovc ... -vf ... -o file.avi
> dvd:// ?
That would be the best. But I'm trying to add full mp4 support in
OGMRip and OGMRip requires that the audio is encoded first in order to
calculate the bitrate and it doesn't offer any possibility to encode
the audio twice.
Anyway, I've encoded a few chapters with mencoder -oac faac ... -ovc
x264 ... dvd://1 and the sync is perfect. I've then dumped the audio
stream and try to merge it again with no success. I cannot play it
either with mplayer. AFAICT, this is because this is a raw aac file
with no header. However, I produced a raw aac file with faac and I can
play it with:
$ mplayer audio.aac -demuxer rawaudio -rawaudio format=0xff:rate=48000
What's the difference between this file and the dumped one ?
And last question (at least for tonight), is there any difference
between -audio-demuxer in mplayer and -audio-demuxer in mencoder ?
I've got an aac stream embedded in mp4 (encoded with faac -w) and I
can play it perfectly along with the video with mplayer:
$ mplayer -audio-file audio.mp4 video.avi
However, I cannot merge in avi it with mencoder:
$ mencoder -nosound -noskip -mc 0 -ovc copy -oac copy -o movie.avi
-audiofile audio.mp4 -audio-demuxer mov video.avi
The output file doesn't have any sound.
Thanks for your help,
Kind regards,
Olivier
More information about the MEncoder-users
mailing list