I have a bunch of, I think, x264 encoded AVIs that I'd like to convert to m4v so that I can play with Quicktime. Here's how I created them
First I dump the vob from DVD with this:
$ mplayer -dumpstream -dumpfile new.vob dvd://1
Then I compress it:
$ mencoder -oac copy -o new.avi -ovc x264 -x264encopts crf=18 new.vob
I tried doing this to convertthem to m4v, but it's blowing up...
I tried dumping the h264/acc streams:
$ mplayer new.avi -dumpvideo -dumpfile new.h264
$ mplayer new.avi -dumpaudio -dumpfile new.acc
And remuxing(?) with MP4Box but I'm getting an error:
$ MP4Box -add new.h264#video -add new.aac#audio new.m4v
Cannot find H264 start code
Error importing new.h264#video: BitStream Not Compliant
So not sure what to do now...