From: Marko L. <mar...@gm...> - 2007-03-27 21:43:35
|
Hi! Is there a command to make a non-compliant mpeg2 into a compliant mpeg2 without reencoding? I get the mpegs from my camcorder (Panasonic sdr-s150). Using them directly with dvdauthor, I get the error. WARN: Skipping sector, waiting for first VOBU... Using the windows dvd application that came with the camcorder (generating a dvd from a single mpeg file) I get DVD structure with a VOB file which is very similar to the original mpeg. It has about about the same size (slightly smaller) and a diff of the hexdump of the files shows that most of the bytes are identical. The difference comes after a regular amount of bytes. Apparenlty the only difference is some kind of header information, so I suppose that no mpeg reencoding is performed. I have tried dvdauthor with such VOB files and it works without complaining, so this method solves my problem, except that switching to windows and doing all the GUI manipulations for each file is really not practical... So I would like to know if I can do the same in linux. Decoding and reencoding seems a bad solution to me, it takes time and it gives suboptimal quality (optimal being of course the original mpeg encoding). I have tried ffmpeg -i orig.mpeg -target pal-dvd new.mpeg It produces compliant a mpeg, but reencodes the file, the quality is not the same (besides I get a strange problem when playing the resulting dvd on my tv which I couldn't yet solve). I also tried ffmpeg -i orig.mpeg -vcodec copy -acodec copy new.mpeg but the resulting file is also not dvdauthor compliant (same error occurs as for the original file). I have also played a bit with mjpeg-tools commands but couldn't find a way to do the manipulation I want. Thanks a lot! Marko |