mythburn.py (0.1.20070428-1) starting up...
script path:/usr/local/share/mythtv/mytharchive/scripts
myth share path:/usr/local/share/mythtv
passed job file: /video/archivetemp/config/mydata.xml
passed progress log file: /video/archivetemp/logs/progress.log
mythburn.py (0.1.20070428-1) starting up...
Found 1 CPUs
Obtaining MythTV settings from MySQL database for hostname localhost.localdomain
temppath: /video/archivetemp/work
logpath: /video/archivetemp/logs
Setting process priority to 10
Processing Mythburn job number 1.
Options - mediatype = 0, doburn = 1, createiso = 0, erasedvdrw = 0
savefilename = ''
Looking for: /usr/local/share/mythtv/mytharchive/themes/Compact/theme.xml
Loading font 0, /usr/local/share/mythtv/FreeSans.ttf size 19
Loading font 1, /usr/local/share/mythtv/FreeSans.ttf size 15
Loading font 2, /usr/local/share/mythtv/FreeSans.ttf size 13
wantIntro: 1, wantMainMenu: 1, wantChapterMenu:0, wantDetailsPage: 0
Final DVD Video format will be ntsc
There are 1 files to process
Pre-processing file '/video/recordings/1035_20070611150000.mpg' of type 'recording'
2007-06-13 00:10:32.623 Opening /video/recordings/1035_20070611150000.mpg
Input #0, mpeg, from '/video/recordings/1035_20070611150000.mpg':
Duration: 01:44:56.5, start: 0.189256, bitrate: 5190 kb/s
Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x480, 6000 kb/s, 29.97 fps(r)
Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, 384 kb/s
0: start_time: 0.036 duration: 566.669
1: start_time: 0.017 duration: 566.657
stream: start_time: 0.189 duration: 6296.535 bitrate=5190 kb/s
2007-06-13 00:10:32.688 duration = 6296
streaminfo.xml :-
The Emperor's New Groove
Video resolution is 720 by 480
*************************************************************
Processing file /video/recordings/1035_20070611150000.mpg of type recording
*************************************************************
File type is 'mpeg'
Video codec is 'mpeg2video'
File has a cut list - running mythtrancode to remove unwanted segments
2007-06-13 00:10:33.064 Using runtime prefix = /usr/local
2007-06-13 00:10:33.082 New DB connection, total: 1
2007-06-13 00:10:33.099 Enabled verbose msgs: important
2007-06-13 00:10:33.102 New DB connection, total: 2
Mux rate: 6.49 Mbit/s
2007-06-13 00:19:20.434 Opening /video/archivetemp/work/1/tmp
Input #0, mpeg, from '/video/archivetemp/work/1/tmp':
Duration: 01:17:06.9, start: 0.312411, bitrate: 4959 kb/s
Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x480, 6000 kb/s, 29.97 fps(r)
Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, 384 kb/s
0: start_time: 0.028 duration: 416.429
1: start_time: 0.028 duration: 416.397
stream: start_time: 0.312 duration: 4626.989 bitrate=4959 kb/s
2007-06-13 00:19:20.571 Calculating frame count
2007-06-13 00:21:53.053 frames = 138686
2007-06-13 00:21:53.112 duration = 4627
streaminfo.xml :-
Preferred audio languages eng and eng
Video id: 0x1e0, Audio1: [1] 0x1c0 (MP2, N/A), Audio2: [-1] - 0x-1 (N/A, N/A)
Splitting MPEG stream into audio and video parts
Running: mythreplex --demux --fix_sync -o /video/archivetemp/work/1/stream -v 224 -a 192 "/video/archivetemp/work/1/tmp"
Reading from /video/archivetemp/work/1/tmp
Input file length: 2735.72 MB
Checking for TS: failed
Checking for AVI: failed
Checking for PS: confirmed(maybe)
Video: aspect ratio: 4:3 size = 720x480 frame rate: 29.970 fps bit rate: 6.00 Mbit/s
vbvbuffer 1835008
Sequence Extension: chroma 4:2:0 size = 720x480 bit rate: 6.00 Mbit/s vbvbuffer 1835008 frame rate: 29.970
starting with video PTS: 0:00:00.3124
Audiostream: layer: 2 BRate: 384 kb/s Freq: 48.0 kHz frame size: 1152 ( 0:00:00.0240 ) starting audio PTS: 0:00:00.3153
fixing audio PTS inconsistency - diff: 0:00:00.0240 - need to remove 1 frame(s)
fixing audio PTS inconsistency - diff: 0:00:00.0240 - need to remove 1 frame(s)
fixing audio PTS inconsistency - diff: 0:00:00.0240 - need to add 1 frame(s)
encoding an MP2 audio frame
Video output File is: /video/archivetemp/work/1/stream.mv2
Audio0 output File is: /video/archivetemp/work/1/stream0.mp2
STARTING DEMUX
fixing audio PTS inconsistency - diff: 0:00:00.0240 - need to add 1 frame(s)
encoding an MP2 audio frame
fixing audio PTS inconsistency - diff: 0:00:00.0346 - need to add 1 frame(s)
encoding an MP2 audio frame
video PTS inconsistent: 0:22:31.0618 0:22:31.0618 0:22:30.5613 0:22:30.2489 diff: 0:00:00.5005
video PTS inconsistent: 0:22:31.0951 0:22:31.0951 0:22:30.5946 0:22:30.2822 diff: 0:00:00.5005
video PTS inconsistent: 0:22:31.1952 0:22:31.1952 0:22:31.2620 0:22:30.9496 diff: 0:00:00.0667
video PTS inconsistent: 0:22:31.2953 0:22:31.2953 0:22:31.3621 0:22:31.0497 diff: 0:00:00.0667
video PTS inconsistent: 0:22:31.2286 0:22:31.2286 0:22:31.2953 0:22:30.9829 diff: 0:00:00.0667
video PTS inconsistent: 0:22:31.2620 0:22:31.2620 0:22:31.3287 0:22:31.0163 diff: 0:00:00.0667
video PTS inconsistent: 0:22:31.3954 0:22:31.3954 0:22:31.4622 0:22:31.1498 diff: 0:00:00.0667
video PTS inconsistent: 0:22:31.3287 0:22:31.3287 0:22:31.3954 0:22:31.0830 diff: 0:00:00.0667
video PTS inconsistent: 0:22:31.3621 0:22:31.3621 0:22:31.4288 0:22:31.1164 diff: 0:00:00.0667
video PTS inconsistent: 0:22:31.4955 0:22:31.4955 0:22:31.5623 0:22:31.2499 diff: 0:00:00.0667
fixing audio PTS inconsistency - diff: 0:00:00.0353 - need to add 1 frame(s)
encoding an MP2 audio frame
video PTS inconsistent: 0:22:31.4288 0:22:31.4288 0:22:31.4955 0:22:31.1831 diff: 0:00:00.0667
video PTS inconsistent: 0:22:31.4622 0:22:31.4622 0:22:31.5289 0:22:31.2165 diff: 0:00:00.0667
video PTS inconsistent: 0:22:31.5289 0:22:31.5289 0:22:31.5956 0:22:31.2832 diff: 0:00:00.0667
video PTS inconsistent: 0:22:31.5623 0:22:31.5623 0:22:31.6290 0:22:31.3166 diff: 0:00:00.0667
fixing audio PTS inconsistency - diff: 0:00:00.0511 - need to add 2 frame(s)
encoding an MP2 audio frame
fixing audio PTS inconsistency - diff: 0:00:00.0322 - need to add 1 frame(s)
encoding an MP2 audio frame
fixing audio PTS inconsistency - diff: 0:00:00.0465 - need to add 1 frame(s)
encoding an MP2 audio frame
fixing audio PTS inconsistency - diff: 0:00:00.0596 - need to add 2 frame(s)
encoding an MP2 audio frame
read 100%
Audio track 1 is in mp2 format - NOT re-encoding to ac3
*************************************************************
Finished processing file /video/recordings/1035_20070611150000.mpg
*************************************************************
Menu items per page 6
Background image file is /usr/local/share/mythtv/mytharchive/themes/Compact/Compact-Background.png
Music is menumusic.ac3, length is 15 seconds
Creating DVD menus
Menu page 1
Creating Preview Video
Wrapped text = Page 1
Wrapped text = 1. The Emperor's New Groove
Wrapped text = Mon Jun 11 03:00 PM
Encoding Menu Page 1 using aspect ratio '4:3'
**ERROR: [mpeg2enc] mpeg2enc is currently broken. If you really want to use it delete this line and recompile
************************************************************
ERROR: Failed while running jpeg2yuv - jpeg2yuv -n 449 -v0 -I p -f 29.97 -j '/video/archivetemp/work/background-1.jpg' | mpeg2enc -b 5000 -a 2 -v 1 -f 8 -o '/video/archivetemp/work/temp.m2v'
************************************************************
------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/share/mythtv/mytharchive/scripts/mythburn.py", line 4037, in ?
processJob(job)
File "/usr/local/share/mythtv/mytharchive/scripts/mythburn.py", line 3804, in processJob
createMenu(format, dpi, files.length)
File "/usr/local/share/mythtv/mytharchive/scripts/mythburn.py", line 2839, in createMenu
aspect_ratio)
File "/usr/local/share/mythtv/mytharchive/scripts/mythburn.py", line 339, in encodeMenu
fatalError("Failed while running jpeg2yuv - %s" % command)
File "/usr/local/share/mythtv/mytharchive/scripts/mythburn.py", line 171, in fatalError
saveSetting("MythArchiveLastRunResult", "Failed: " + msg);
File "/usr/local/share/mythtv/mytharchive/scripts/mythburn.py", line 638, in saveSetting
cursor.execute(query)
File "/usr/lib/python2.4/site-packages/MySQLdb/cursors.py", line 163, in execute
self.errorhandler(self, exc, value)
File "/usr/lib/python2.4/site-packages/MySQLdb/connections.py", line 35, in defaulterrorhandler
raise errorclass, errorvalue
ProgrammingError: (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'jpg' | mpeg2enc -b 5000 -a 2 -v 1 -f 8 -o '/video/archivetemp/work/temp.m2v'', '' at line 1")
------------------------------------------------------------