[Note: I'm a sometime contributor to dvdauthor, but not the maintainer.] On Thu, 2008-03-27 at 01:39 +0100, Nicolas Boullis wrote: > Package: dvdauthor > Version: 0.6.14-1+b1 > Severity: normal > > I've been trying to burn a DVD out of a DVB stream, without recoding the > video. The DVB stream was recorded with vdr (as MPEG TS), and I used > ffmpeg (-target dvd -vcodec copy) tu rewrap it as a DVD-compliant MPEG > PS.
This ought to work if the bit rates and GOP size are within spec, but ffmpeg is not a great MPEG multiplexer. (Perhaps you should file a bug on ffmpeg too, if you haven't already.) By the way, why not use -acodec copy? > Then, I try to author a DVD out of that MPEG file, and I get: > - first a pageful of "WARN: Skipping sector, waiting for first VOBU..." > - then VOBUs are counted > - and then: > WARN: Partial sector read (4 bytes); discarding data. > WARN: Cannot detect pts for VOBU if there is no audio or video > WARN: Using SCR instead. > dvdauthor: dvdvob.c:1321: FindVobus: Assertion > `p>=s->vi[i-1].sectpts[1]' failed. > Aborted > > Recoding the video stream (running ffmpeg without the "-vcodec copy" > option) solves the problem, but I'm not fond of recoding since it > degrades the quality (and in this case, in leads to a larger file). > > Hence, I guess my non-recoded stream is somewhat not compliant enough. This thread on the dvdauthor-user mailing list may be helpful: http://thread.gmane.org/gmane.comp.multimedia.dvdauthor.user/3537 You could also try remultiplexing like this: ffmpeg -i foo.mpeg -vcodec copy -an -f rawvideo foo.mpv ffmpeg -i foo.mpeg -vn -acodec copy -f mp2 foo.mp2 ffmpeg -i foo.mpv -i foo.mp2 -target dvd -vcodec copy -acodec copy foo.vob > But the I find the error message very uninformative... It's an assertion failure, which is by definition a bug. Ben. -- Ben Hutchings Teamwork is essential - it allows you to blame someone else.
signature.asc
Description: This is a digitally signed message part