[MEncoder-users] AAC encoding

Nico Sabbi nicola_sabbi at fastwebnet.it
Tue Jan 30 00:07:22 CET 2007


Olivier Rolland wrote:
> 
> 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:


if you want an adts aac stream (with headers inline, maybe muxable 
indipendently) remove that :raw

> 
> $ 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 ?

none

> 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.

of course!! remove that -nosound just after mencoder

-- 
"Without a frontend, mplayer is useless" - someone in mplayer-users



More information about the MEncoder-users mailing list