[MEncoder-users] problem with h264/aac .mp4
Christian Ebert
blacktrash at gmx.net
Wed Jun 11 12:49:20 CEST 2008
* James Hastings-Trew on Tuesday, June 10, 2008 at 23:02:29 -0500
> I've found that mp4box does a crappy job of extracting the video and
> audio streams. Try this:
>
> Encode as you have been but instead of encoding the audio to aac, encode
> it to pcm.
>
> // extract video
> mencoder temp.avi -of rawvideo -nosound -ovc copy -o temp_video.h264
> // extract audio
> mplayer temp.avi -vc null -vo null -ao pcm:fast
> // encode audio
> neroaacenc -lc -br 160000 -if audiodump.wav -of temp_audio.m4a
> // mux in mp4
> mp4box -add temp_video.h264 -add temp_audio.m4a -fps 23.976 -tmp
> /temp/user/1000/ MyMP4.mp4
Is there a difference between what mp4box does as opposed to
using ffmpeg for remuxing? Like:
$ ffmpeg -i temp_video.h264 -i temp_audio.m4a \
-f mp4 -acodec copy -vcodec copy -sameq MyMP4.mp4
I could do the whole thing in ffmpeg, but I might want to use
mencoder's video filters, that's why I'm asking.
c
--
Was heißt hier Dogma, ich bin Underdogma!
[ What the hell do you mean dogma, I am underdogma. ]
_F R E E_ _V I D E O S_ -->> http://www.blacktrash.org/underdogma/
More information about the MEncoder-users
mailing list