[mythtv-users] MythArchive dvdauthor error

James Armstrong james at thearmstrongs.org
Tue May 9 07:57:20 EDT 2006


I updated mytharchive yesterday and got a few errors. I had gotten past 
this before the update so I'm not sure what the problem is. Somethings 
look fishy with blanks for the names. It ran ffmpeg first, then mythreplex.

Here are the files in my work directory:

drwxrwxrwx  2 mythtv mythtv    4096 May  8 19:20 1
drwxrwxrwx  2 mythtv mythtv    4096 May  8 20:24 2
-rw-rw-rw-  1 mythtv mythtv 2541568 May  8 20:25 details-1.mpg
-rw-rw-rw-  1 mythtv mythtv  247302 May  8 20:24 details-1.png
-rw-rw-rw-  1 mythtv mythtv 2516992 May  8 20:26 details-2.mpg
-rw-rw-rw-  1 mythtv mythtv  215774 May  8 20:25 details-2.png
-rw-rw-rw-  1 mythtv mythtv     126 May  8 20:24 detailsspumux-1.xml
-rw-rw-rw-  1 mythtv mythtv     126 May  8 20:25 detailsspumux-2.xml
drwxrwxrwx  4 mythtv mythtv    4096 May  8 17:45 dvd
[root at frontend work]# ls 1
info.xml  stream0.ac3  streaminfo.xml  stream.mv2  thumbnail.jpg  tmp
[root at frontend work]# ls 2
info.xml  stream0.ac3  streaminfo.xml  stream.mv2  thumbnail.jpg  tmp  
tmp.map


Here is the log chopped down. This is right after mythreplex:

Audio is already in ac3 format
Extracting thumbnail image from /home/mythtv/tmp/work/1/stream.mv2 at 
position 0
Destination file /home/mythtv/tmp/work/1/thumbnail.jpg
2006-05-08 19:20:59.184 Extracting details from: 
/home/mythtv/tmp/work/1/stream.mv2
2006-05-08 19:20:59.184 chanid:  starttime:
2006-05-08 19:20:59.185 File is not a Myth recording.
*QString::arg(): Argument missing: 
/home/mythtv/tmp/work/1/thumbnail.jpg, 1 (First Error)
*0: start_time: 0.000 duration: 107.429
stream: start_time: 0.000 duration: 1193.654 bitrate=8999 kb/s
*************************************************************
Finished processing file 1002_20060502210000.mpg
*************************************************************

Here it processes a second file.......

Audio is already in ac3 format
Extracting thumbnail image from /home/mythtv/tmp/work/2/stream.mv2 at 
position 0
Destination file /home/mythtv/tmp/work/2/thumbnail.jpg
2006-05-08 20:24:13.519 Extracting details from: 
/home/mythtv/tmp/work/2/stream.mv2
2006-05-08 20:24:13.520 chanid:  starttime:
2006-05-08 20:24:13.520 File is not a Myth recording.
*QString::arg(): Argument missing: /home/mythtv/tmp/work/2/thumbnail.jpg, 1*
0: start_time: 0.000 duration: 81.858
stream: start_time: 0.000 duration: 909.529 bitrate=9000 kb/s
*************************************************************
Finished processing file 1002_20060503200000.mpg
*************************************************************
Creating details pages
Background image file is /usr/share/mythtv/mytharchive/themes/MythCenter 
- Autoplay/MythCenter-Background.png
Creating details page for 1
Added image /home/mythtv/tmp/work/1/thumbnail.jpg
Wrapped text  = House
Wrapped text  = Euphoria
Wrapped text  = Tue 02 May 2006 09:00 PM
Wrapped text  = Duration 0:54:45
Wrapped text  = A police officer in critical condition has bizarre 
symptoms; Dr. Foreman finds himself in
Wrapped text  = an unpleasant situation.
Encoding Details Page 1
   INFO: [mpeg2enc] Selecting DVD output profile
   INFO: [mpeg2enc] Assuming norm NTSC
   INFO: [mpeg2enc] Progressive input - selecting progressive encoding.
   INFO: [mpeg2enc] Encoding MPEG-2 video to /home/mythtv/tmp/work/temp.m2v
   INFO: [mpeg2enc] Horizontal size: 720 pel
   INFO: [mpeg2enc] Vertical size: 480 pel
   INFO: [mpeg2enc] Aspect ratio code: 3 = 16:9 display
   INFO: [mpeg2enc] Frame rate code:   4 = 30000.0/1001.0 (NTSC VIDEO)
   INFO: [mpeg2enc] Bitrate: 5000 KBit/s
   INFO: [mpeg2enc] Quality factor: 8 (Quantisation = 9) (1=best, 31=worst)
   INFO: [mpeg2enc] Field order for input: none/progressive
   INFO: [mpeg2enc] Sequence unlimited length
   INFO: [mpeg2enc] Search radius: 16
   INFO: [mpeg2enc] GOP SIZE RANGE 9 TO 15
   INFO: [mpeg2enc] Setting colour/gamma parameters to "NTSC"
   INFO: [mpeg2enc] Progressive format frames = 1
   INFO: [mpeg2enc] Using default unmodified quantization matrices
   INFO: [mpeg2enc] Buffering 33 frames
......
DVDAuthor::spumux, version 0.6.11.
Build options: gnugetopt magick iconv freetype
Send bugs to <dvdauthor-users at lists.sourceforge.net>

INFO: Locale=en_US.UTF-8
INFO: Converting filenames to UTF-8
STAT: 0:00:00.000
*mythtv: Unable to load file ().
WARN: Bad image,  skipping line -1
*WARN:  Read 0, expected 4
INFO: 0 subtitles added, 1 subtitles skipped, stream: 32, offset: 0.18

Statistics:
- Processed 0 subtitles.
- The longest display line had -1 characters.
- The maximum number of displayed lines was 0.
- The normal display height of the font arial.ttf was 0.
- The bottom display height of the font arial.ttf was 0.
- The biggest subtitle box had 0 bytes.
Creating details page for 2
Added image /home/mythtv/tmp/work/2/thumbnail.jpg
Wrapped text  = House
Wrapped text  = Euphoria
Wrapped text  = Wed 03 May 2006 08:00 PM
Wrapped text  = Duration 0:40:36
Wrapped text  = Facing possible death, Dr. Foreman meets with his father 
and tries to make amends;
Wrapped text  = House tries radical procedures to save Foreman's life.
Encoding Details Page 2
   INFO: [mpeg2enc] Selecting DVD output profile
   INFO: [mpeg2enc] Assuming norm NTSC
   INFO: [mpeg2enc] Progressive input - selecting progressive encoding.
   INFO: [mpeg2enc] Encoding MPEG-2 video to /home/mythtv/tmp/work/temp.m2v
   INFO: [mpeg2enc] Horizontal size: 720 pel
   INFO: [mpeg2enc] Vertical size: 480 pel
   INFO: [mpeg2enc] Aspect ratio code: 3 = 16:9 display
   INFO: [mpeg2enc] Frame rate code:   4 = 30000.0/1001.0 (NTSC VIDEO)
   INFO: [mpeg2enc] Bitrate: 5000 KBit/s
   INFO: [mpeg2enc] Quality factor: 8 (Quantisation = 9) (1=best, 31=worst)
   INFO: [mpeg2enc] Field order for input: none/progressive
   INFO: [mpeg2enc] Sequence unlimited length
   INFO: [mpeg2enc] Search radius: 16
   INFO: [mpeg2enc] GOP SIZE RANGE 9 TO 15
   INFO: [mpeg2enc] Setting colour/gamma parameters to "NTSC"
   INFO: [mpeg2enc] Progressive format frames = 1
   INFO: [mpeg2enc] Using default unmodified quantization matrices
.....

DVDAuthor::spumux, version 0.6.11.
Build options: gnugetopt magick iconv freetype
Send bugs to <dvdauthor-users at lists.sourceforge.net>

INFO: Locale=en_US.UTF-8
INFO: Converting filenames to UTF-8
STAT: 0:00:00.000
*mythtv: Unable to load file ().*
*WARN: Bad image,  skipping line -1*
WARN:  Read 0, expected 4
INFO: 0 subtitles added, 1 subtitles skipped, stream: 32, offset: 0.18

Statistics:
- Processed 0 subtitles.
- The longest display line had -1 characters.
- The maximum number of displayed lines was 0.
- The normal display height of the font arial.ttf was 0.
- The bottom display height of the font arial.ttf was 0.
- The biggest subtitle box had 0 bytes.
Creating DVD XML file for dvd author (No Menus)
Adding item 1
------------------------------------------------------------
*Traceback (most recent call last):
  File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 2744, in ?
    processJob(job)
  File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 2567, 
in processJob
    createDVDAuthorXMLNoMenus(format, files.length)
  File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 1605, 
in createDVDAuthorXMLNoMenus
    post.appendChild(dvddom.createTextNode("jump title %s chapter 1;" % 
itemNum + 1))
TypeError: cannot concatenate 'str' and 'int' objects
*------------------------------------------------------------




More information about the mythtv-users mailing list