Dirk.R.Gently
21st July 2007, 01:33
I was wondering if someone could possibly help the little fix I'm in. I've read some guides on extracting video and audio and I hoped to be able to compress my videos and encoding them in a smaller size, trouble is I'm stuck at mp4creator. This may not be so bad but my processor is slow, and I was probably hoping I wouldn't have to start again, so any ideas would be nice. Here's the setup so far:
I've pulled the video:
mplayer dvd://01 -dumpstream -dumpfile movie.vob
Then the audio:
mplayer movie.vob -aid 128 -dumpaudio -dumpfile audio128.aac
Then I detected the bitrape and crop, and encoded the video in two passes to H.264:
mencoder movie.vob -vf pullup,softskip,crop=720:480:0:0,harddup -nosound -ovc x264 -x264encopts bitrate=1103:subq=5:bframes=3:b_pyramid:weight_b:turbo=1:pass=1 -of rawvideo -o ${RIPPATH}movie.264
mencoder movie.vob -vf pullup,softskip,crop=720:480:0:0,harddup -nosound -ovc x264 -x264encopts bitrate=1103:subq=5:8x8dct:frameref=2:bframes=3:b_pyramid:weight_b:pass=2 -of rawvideo -o movie.264
Then I put the raw video in a mp4 containter:
mp4creator -create=movie.264 -timescale=29970 -rate=29.97 movie.mp4
Alls well until I see this message when I try to combine video and audio:
mp4creator -create=audio128.aac movie.mp4
Now returns:
Warning: dropped 3851 input bytes at offset 0
mp4creator: data in file doesn't appear to be valid audio
mp4creator -optimize movie.mp4
I'm lost at this point. I could use Matroska, I've heard good things, but would definitely rather, I surely wouldn't want to start again. Any mp4creator users, or ideas, that could possibly help?
I've pulled the video:
mplayer dvd://01 -dumpstream -dumpfile movie.vob
Then the audio:
mplayer movie.vob -aid 128 -dumpaudio -dumpfile audio128.aac
Then I detected the bitrape and crop, and encoded the video in two passes to H.264:
mencoder movie.vob -vf pullup,softskip,crop=720:480:0:0,harddup -nosound -ovc x264 -x264encopts bitrate=1103:subq=5:bframes=3:b_pyramid:weight_b:turbo=1:pass=1 -of rawvideo -o ${RIPPATH}movie.264
mencoder movie.vob -vf pullup,softskip,crop=720:480:0:0,harddup -nosound -ovc x264 -x264encopts bitrate=1103:subq=5:8x8dct:frameref=2:bframes=3:b_pyramid:weight_b:pass=2 -of rawvideo -o movie.264
Then I put the raw video in a mp4 containter:
mp4creator -create=movie.264 -timescale=29970 -rate=29.97 movie.mp4
Alls well until I see this message when I try to combine video and audio:
mp4creator -create=audio128.aac movie.mp4
Now returns:
Warning: dropped 3851 input bytes at offset 0
mp4creator: data in file doesn't appear to be valid audio
mp4creator -optimize movie.mp4
I'm lost at this point. I could use Matroska, I've heard good things, but would definitely rather, I surely wouldn't want to start again. Any mp4creator users, or ideas, that could possibly help?