Hello,
I have a problem that is of concern to anyone who plans burning the events to a DVD-video format disk.
My plan is:
1. Generate a DVD-compatible video of all the events.
2. Create an XML-file that can be used by dvdauthor to create & write DVD.
The video clips are generated like this:
Input for the mpeg2enc is done with jpeg2yuv:
jpeg2yuv -b 1 -f25 -I p -j $d/%03d-capture.jpg
Which is piped to mpeg2enc.
/usr/bin/mpeg2enc -f 8 -o $d.mpg
Man mpeg2enc says that the option -f 8 is "for dvdauthor". I think that should mean that it is DVD-video compatible as well.
When trying to generate the video disk I bump into the following problem:
dvdauthor -o /home/nakka/lepakkodvd1
-x /home/nakka/Desktop/lepakkotemp/lepakkovideo1.xml
The first path is the output director. The second, after option -x is the path to the .xml file that tells dvdauthor what to do when authoring.
The syntax of the XML-file is:
<dvdauthor>
<vmgm />
<titleset>
<titles>
<video format="pal" resolution="352x288" />
<pgc>
<vob file="10027.mpg" pause="1" />
<vob file="10081.mpg" pause="1" />
<vob file="10082.mpg" pause="1" />
<vob file="10087.mpg" pause="1" />
<vob file="10091.mpg" pause="1" />
.
Here is a similar entry for each videoclip. There are lots of them.
<vob file="23369.mpg" pause="1" />
<vob file="23380.mpg" pause="1" />
</pgc>
</titles>
</titleset>
</dvdauthor>
Running dvdauthor using this XML file gives the following error:
DVDAuthor::dvdauthor, version 0.6.10.
Build options: gnugetopt iconv
Send bugs to <dvdauthor-users@lists.sourceforge.net>
INFO: Locale=en_GB.ISO-8859-1
INFO: Converting filenames to ISO-8859-1
INFO: dvdauthor creating VTS
STAT: Picking VTS 01
STAT: Processing 10027.mpg...
WARN: Skipping sector, waiting for first VOBU...
WARN: Skipping sector, waiting for first VOBU...
WARN: Skipping sector, waiting for first VOBU...
WARN: Skipping sector, waiting for first VOBU...
WARN: Skipping sector, waiting for first VOBU...
WARN: Skipping sector, waiting for first VOBU...
I guess this a newbie thing - what am I doing wrong?
Generating DVD-video compatible videos using ZM event jpegs
The problem is in mpeg2enc
Hello,
I found an answer with "a little help from my friends".
The problem is mpeg2enc. Even though the man page claims that the option -f 8 generates mpegs "for dvdauthor", they are not DVD compatible.
I think mpeg2enc does something wrong when inserting the empty VOB frames to the stream.
Doing mplex -f 8 to the videofiles makes the problem disappear.
I found an answer with "a little help from my friends".
The problem is mpeg2enc. Even though the man page claims that the option -f 8 generates mpegs "for dvdauthor", they are not DVD compatible.
I think mpeg2enc does something wrong when inserting the empty VOB frames to the stream.
Doing mplex -f 8 to the videofiles makes the problem disappear.
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact: