[ATrpms-users] dvdauthor error
Jeffrey J. Kosowsky
atrpms at kosowsky.org
Thu Jan 10 15:01:50 CET 2008
Jeffrey J. Kosowsky wrote at about 01:56:36 -0500 on Thursday, January 10, 2008:
> I just installed mytharchive (which in turn pulled in dvdauthor).
>
> I then tried to create a dvd out of an mpeg2 recording of a live TV
> show. The only transcoding then was to take care of my cut list and I
> otherwise left the encoding unchanged since it all fit on a single DVD
> anyway.
>
> However, in the middle of the processing, I got an error:
> "ERROR: Failed while running dvdauthor. Result:1"
>
> I got this error using both the atrpms version of dvdauthor (0.6.11-1)
> and the Fedora version (0.6.14-2).
>
> ----------------------------------------------------------------
> Here is the rest of the progress.log file: (I also excerpted some
> interesting warning and error messages from the mythburn.log below
> this)
>
> 2008-01-10 00:54:33 mythburn.py (0.1.20071115-1.fixes) starting up...
> 2008-01-10 00:54:33 Found 1 CPUs
> 2008-01-10 00:54:33 Obtaining MythTV settings from MySQL database for hostname mycomputer.domain
> 2008-01-10 00:54:33 temppath: /mnt/video/myth-temp/work
> 2008-01-10 00:54:33 logpath: /mnt/video/myth-temp/logs
> 2008-01-10 00:54:33 Processing Mythburn job number 1.
> 2008-01-10 00:54:33 Options - mediatype = 0, doburn = 1, createiso = 0, erasedvdrw = 0
> 2008-01-10 00:54:33 savefilename = ''
> 2008-01-10 00:54:33 Looking for: /usr/share/mythtv/mytharchive/themes/MythCenter/theme.xml
> 2008-01-10 00:54:33 Loading font 0, /usr/share/mythtv/FreeSans.ttf size 19
> 2008-01-10 00:54:33 Loading font 1, /usr/share/mythtv/FreeSans.ttf size 15
> 2008-01-10 00:54:33 Loading font 2, /usr/share/mythtv/FreeSans.ttf size 13
> 2008-01-10 00:54:33 wantIntro: 1, wantMainMenu: 1, wantChapterMenu:1, wantDetailsPage: 0
> 2008-01-10 00:54:33 Final DVD Video format will be ntsc
> 2008-01-10 00:54:33 There are 1 files to process
> 2008-01-10 00:54:39 Pre-processing file '2021_20080109210000.mpg' of type 'recording'
> 2008-01-10 00:54:39 streaminfo.xml :-
> <?xml version="1.0" ?>
> <!DOCTYPE FILEINFO>
> <file duration="2901" filename="/mnt/video/mythtv-raw/2021_20080109210000.mpg" type="mpegts">
> <streams count="3">
> <video aspectratio="1.33333" bitrate="15000000" codec="mpeg2video" ffmpegindex="0" fps="29.97" height="480" id="65" start_time="6554.597418" streamindex="0" width="704"/>
> <audio bitrate="192000" channels="2" codec="ac3" ffmpegindex="1" id="68" language="N/A" samplerate="48000" start_time="6554.572649" streamindex="1"/>
> <audio bitrate="128000" channels="2" codec="ac3" ffmpegindex="2" id="69" language="N/A" samplerate="48000" start_time="6554.572379" streamindex="2"/>
> </streams>
> </file>
> 2008-01-10 00:54:39 My Show
> 2008-01-10 00:54:39 Video resolution is 704 by 480
> 2008-01-10 00:54:39 *************************************************************
> 2008-01-10 00:54:39 Processing file 2021_20080109210000.mpg of type recording
> 2008-01-10 00:54:39 *************************************************************
> 2008-01-10 00:54:39 File type is 'mpegts'
> 2008-01-10 00:54:39 Video codec is 'mpeg2video'
> 2008-01-10 00:54:39 File has a cut list - running mythtrancode to remove unwanted segments
> 2008-01-10 00:59:50 streaminfo.xml :-
> <?xml version="1.0" ?>
> <!DOCTYPE FILEINFO>
> <file duration="6877" filename="/mnt/video/myth-temp/work/1/tmp" type="mpeg">
> <streams count="3">
> <video aspectratio="1.33333" bitrate="15000000" codec="mpeg2video" ffmpegindex="0" fps="29.97" height="480" id="480" start_time="0.28762" streamindex="0" width="704"/>
> <audio bitrate="192000" channels="2" codec="ac3" ffmpegindex="1" id="128" language="N/A" samplerate="48000" start_time="0.28849" streamindex="1"/>
> <audio bitrate="128000" channels="2" codec="ac3" ffmpegindex="2" id="129" language="N/A" samplerate="48000" start_time="0.28762" streamindex="2"/>
> </streams>
> </file>
> 2008-01-10 00:59:50 Preferred audio languages eng and eng
> 2008-01-10 00:59:50 Video id: 0x1e0, Audio1: [1] 0x80 (AC3, N/A), Audio2: [-1] - 0x-1 (N/A, N/A)
> 2008-01-10 00:59:50 Splitting MPEG stream into audio and video parts
> 2008-01-10 00:59:50 Running: mythreplex --demux --fix_sync -o /mnt/video/myth-temp/work/1/stream -v 224 -c 128 "/mnt/video/myth-temp/work/1/tmp"
> 2008-01-10 01:05:35 Audio is already in ac3 format
> 2008-01-10 01:05:35 *************************************************************
> 2008-01-10 01:05:35 Finished processing file 2021_20080109210000.mpg
> 2008-01-10 01:05:35 *************************************************************
> 2008-01-10 01:05:35 Menu items per page 3
> 2008-01-10 01:05:35 Background image file is /usr/share/mythtv/mytharchive/themes/MythCenter/MythCenter-Background.png
> 2008-01-10 01:05:35 Music is menumusic.ac3, length is 15 seconds
> 2008-01-10 01:05:35 Creating DVD menus
> 2008-01-10 01:05:35 Menu page 1
> 2008-01-10 01:05:35 Added image /mnt/video/myth-temp/work/1/thumbnail.jpg
> 2008-01-10 01:05:37 Encoding Menu Page 1 using aspect ratio '16:9'
> 2008-01-10 01:06:16 Chapter items per page 8
> 2008-01-10 01:06:16 Background image file is /usr/share/mythtv/mytharchive/themes/MythCenter/MythCenter-Background.png
> 2008-01-10 01:06:16 Music is menumusic.ac3, length is 15 seconds
> 2008-01-10 01:06:16 Creating DVD sub-menus
> 2008-01-10 01:06:16 Sub-menu 1
> 2008-01-10 01:06:16 Video length is 6877 seconds. Each chapter will be 859 seconds
> 2008-01-10 01:06:16 Extracting thumbnail images from: /mnt/video/myth-temp/work/1/stream.mv2 - at 10,859,1718,2577,3436,4295,5154,6013,
> 2008-01-10 01:06:16 Destination file /mnt/video/myth-temp/work/1/chapter-%1.jpg
> 2008-01-10 01:07:06 Added image /mnt/video/myth-temp/work/1/chapter-1.jpg
> 2008-01-10 01:07:06 Added image /mnt/video/myth-temp/work/1/chapter-2.jpg
> 2008-01-10 01:07:06 Added image /mnt/video/myth-temp/work/1/chapter-3.jpg
> 2008-01-10 01:07:06 Added image /mnt/video/myth-temp/work/1/chapter-4.jpg
> 2008-01-10 01:07:06 Added image /mnt/video/myth-temp/work/1/chapter-5.jpg
> 2008-01-10 01:07:06 Added image /mnt/video/myth-temp/work/1/chapter-6.jpg
> 2008-01-10 01:07:06 Added image /mnt/video/myth-temp/work/1/chapter-7.jpg
> 2008-01-10 01:07:06 Added image /mnt/video/myth-temp/work/1/chapter-8.jpg
> 2008-01-10 01:07:06 Added titlemenu button image /usr/share/mythtv/mytharchive/images/previous.png
> 2008-01-10 01:07:06 Added titlemenu button mask image /usr/share/mythtv/mytharchive/images/previous.png
> 2008-01-10 01:07:07 aspect ratio is: 1.33333
> 2008-01-10 01:07:07 Encoding Chapter Menu Page 1 using aspect ratio 'Video'
> 2008-01-10 01:07:48 Menu items per page 3
> 2008-01-10 01:07:48 Chapters per recording 8
> 2008-01-10 01:07:48 Creating DVD XML file for dvd author
> 2008-01-10 01:07:48 Menu page 1
> 2008-01-10 01:07:48 aspect ratio is: 1.33333
> 2008-01-10 01:07:48 aspect ratio is: 1.33333
> 2008-01-10 01:07:48 Video length is 6877 seconds. Each chapter will be 859 seconds
> 2008-01-10 01:07:48 Total size of video files, before multiplexing, is 2419 Mbytes, audio is 158 MBytes, menus are 6 MBytes.
> 2008-01-10 01:07:48 Video will fit onto DVD. 1778.05 MBytes of space remaining on recordable DVD.
> 2008-01-10 01:07:48 Multiplexing MPEG stream to /mnt/video/myth-temp/work/1/final.mpg
> 2008-01-10 01:07:48 Adding sync offset of 0ms
> 2008-01-10 01:07:48 Available streams - video and one audio stream
> 2008-01-10 01:07:48 Multiplex started PID=23070
> 2008-01-10 01:07:48 Starting dvdauthor
> 2008-01-10 01:08:50 ************************************************************
> 2008-01-10 01:08:50 ERROR: Failed while running dvdauthor. Result: 1
> 2008-01-10 01:08:50 ************************************************************
> 2008-01-10 01:08:50
> 2008-01-10 01:08:50 Terminated
>
>
> --------------------------------------------------------------
>
> Note that the (longer) mythburn.log had some other interesting
> warnings/errors that I will summarize:
>
> 1. Many, many warnings like this:
> video PTS inconsistent: 0:00:15.768 0:00:15.768 0:00:15.901 0:00:15.582 diff: 0:00:00.133
> Picture Coding Extension: 2:3 pulldown detected
> video PTS inconsistent: 0:00:30.316 0:00:30.316 0:00:37.807 0:00:37.487 diff: 0:00:07.490
> video DTS inconsistent: 0:00:30.216 0:00:30.216 0:00:37.673 0:00:37.353 diff: 0:00:07.457
> ....
> Warning negative video PTS increase!
> video PTS inconsistent: 0:00:30.449 0:00:30.449 0:00:37.982 0:00:37.662 diff: 0:00:07.532
> video DTS inconsistent: 0:00:30.332 0:00:30.332 0:00:37.848 0:00:37.529 diff: 0:00:07.515
> ....
>
>
> 2. About a dozen messages from mples about data arriving too late
> ++ WARN: [mplex] Target data rate lower than computed requirement!
> ++ WARN: [mplex] N.b. a 20% or so discrepancy in variable bit-rate
> ++ WARN: [mplex] streams is common and harmless provided no time-outs
> will occur
> ....
> STAT: VOBU 16 at 6MB, 1 PGCS++ WARN: [mplex] Stream e0: data will arrive too late sent(SCR)=2658889 required(DTS)=9009
> ++ WARN: [mplex] Video e0: buf= 224136 frame=000897 sector=00005493
> ++ WARN: [mplex] Audio bd: buf= 15165 frame=000939 sector=00000358
>
> 3. Then this more ominous warning:
> ++ WARN: [mplex] Video e0: buf= 228807 frame=046104 sector=00280087
> ++ WARN: [mplex] Audio bd: buf= 14397 frame=048609 sector=00018518
> **ERROR: [mplex] Too many frame drops -exiting
>
> 4. Followed by:
> INFO: Video pts = 0.133 .. 1555.086
> INFO: Audio[0] pts = 0.133 .. 1555.653
> STAT: VOBU 1381 at 585MB, 1 PGCS
> INFO: Generating VTS with the following video attributes:
> INFO: MPEG version: mpeg2
> INFO: TV standard: ntsc
> INFO: Aspect ratio: 4:3
> INFO: Resolution: 704x480
> INFO: Audio ch 0 format: ac3/2ch, 48khz drc
>
> ERR: Cannot jump to chapter 3 of title 1, only 2 exist
> ERR: in VTSM pgc 0, button 3
> ************************************************************
> ERROR: Failed while running dvdauthor. Result: 1
> ************************************************************
>
> _______________________________________________
> atrpms-users mailing list
> atrpms-users at atrpms.net
> http://lists.atrpms.net/mailman/listinfo/atrpms-users
I was able to get beyond this error by allowing mytharchive to
re-encode the video mpg file. Originally, I had chosen not to since
the file was already in mpeg2 and was about 2.85GB (after commmercial
cutting) so it didn't seem to make sense to re-encode to fill the dvd
(and effectively increase the bitrate). The only re-encoding done was
the trivial one based on the option to remove commercial cuts.
Now interestingly, from my googling, it seems that other people have
had a similar problem caused by the bitrate being higher than the DVD
maximum rate (of about 1080kb/sec). This would explain the mplex
warnings that "data will arrive too late" and the final error message
of "too many frame drops -exiting"
Now, according to the log file (see above), the xml file seemed to
specify a bitrate of "15000000" (or 15mb/sec), which would exceed the
1080kb/sec limit. On the other hand since the actual recording was 2
hours long and the total length was 2.85GB, the (average) bitrate was
more like 3.1kb/sec (2850000*8/3600/2). So, unless the bitrate is
highly variable (this is an atsc dvb recording), it probably did not
exceed the limit too much.
So, I'm not really sure what is going on here unless it really is a
bitrate issue with the variable bitrate truly exceeding the dvd max
too often.
Any thoughts/advice here...
More information about the atrpms-users
mailing list