After upgrading to Knoppmyth 5.5, I've attempted to use MythArchive twice. This is a component of the system I used many times under R5F27 and prior, with no problems of note.
Both times I've used MythArchive since, the process has worked perfectly, according to the log files. The video is nice and pretty, but the audio is just static. If I turn up the volume to painful levels, I can make out some of the original audio, but it's not in any way usable.
The input files have been MPG, 720x480, from Hauppauge 150 cards. It was set to use the cutlist, and it did run through all the steps I'm accustomed to seeing for that. My settings are set to always use MythTranscode, and to use FIFO files.
The most recent file, which is the only one I've got at hand, was 2hrs 9min long after removing the commercials. The DVD claims to be 4:18 in length, although the video doesn't play past 2:09.
Anyone have a clue on what I can do to re-enable this very useful functionality? Dragging files to my Windows box to clip commercials and convert to DVD is incredibly tedious.
Progress.log:
Code:
2008-11-30 09:42:39 mythburn.py (0.1.20080629-1-fixes) starting up...
2008-11-30 09:42:39 Found 1 CPUs
2008-11-30 09:42:39 Obtaining MythTV settings from MySQL database for hostname mythtv
2008-11-30 09:42:39 temppath: /myth/tmp/mytharchive/work
2008-11-30 09:42:39 logpath: /myth/tmp/mytharchive/logs
2008-11-30 09:42:39 Setting process priority to 17
2008-11-30 09:42:39 Processing Mythburn job number 1.
2008-11-30 09:42:39 Options - mediatype = 0, doburn = 1, createiso = 0, erasedvdrw = 0
2008-11-30 09:42:39 savefilename = ''
2008-11-30 09:42:39 Looking for: /usr/share/mythtv/mytharchive/themes/Simple - Autoplay/theme.xml
2008-11-30 09:42:39 Loading font 0, /usr/share/mythtv/FreeSans.ttf size 19
2008-11-30 09:42:39 Loading font 1, /usr/share/mythtv/FreeSans.ttf size 15
2008-11-30 09:42:39 Loading font 2, /usr/share/mythtv/FreeSans.ttf size 13
2008-11-30 09:42:39 wantIntro: 0, wantMainMenu: 0, wantChapterMenu:0, wantDetailsPage: 0
2008-11-30 09:42:39 Final DVD Video format will be ntsc
2008-11-30 09:42:39 There are 1 files to process
2008-11-30 09:42:39 Pre-processing recording 1: '/myth/tv/1059_20081129195900.mpg'
2008-11-30 09:42:40 Stephen King's Desperation
2008-11-30 09:42:40 Video resolution is 720 by 480
2008-11-30 09:42:40 *************************************************************
2008-11-30 09:42:40 Processing recording 1: '/myth/tv/1059_20081129195900.mpg'
2008-11-30 09:42:40 *************************************************************
2008-11-30 09:42:40 File type is 'mpeg'
2008-11-30 09:42:40 Video codec is 'mpeg2video'
2008-11-30 09:42:40 File has a cut list - running mythtranscode to remove unwanted segments
2008-11-30 09:55:40 Preferred audio languages eng and eng
2008-11-30 09:55:40 Video id: 0x1e0, Audio1: [1] 0x1c0 (MP2, N/A), Audio2: [-1] - 0x-1 (N/A, N/A)
2008-11-30 09:55:40 Splitting MPEG stream into audio and video parts
2008-11-30 09:55:40 Running: mythreplex --demux --fix_sync -o /myth/tmp/mytharchive/work/1/stream -v 224 -a 192 "/myth/tmp/mytharchive/work/1/newfile.mpg"
2008-11-30 10:04:03 Audio track 1 is in mp2 format - re-encoding to ac3
2008-11-30 10:04:03 Encoding audio to ac3
2008-11-30 10:12:43 *************************************************************
2008-11-30 10:12:43 Finished processing '/myth/tv/1059_20081129195900.mpg'
2008-11-30 10:12:43 *************************************************************
2008-11-30 10:12:43 Creating DVD XML file for dvd author (No Menus)
2008-11-30 10:12:44 Adding item 1
2008-11-30 10:12:44 aspect ratio is: 1.33333
2008-11-30 10:12:44 Fixed length chapters: 00:00:00,00:05:00,00:10:00,00:15:00,00:20:00,00:25:00,00:30:00,00:35:00,00:40:00,00:45:00,00:50:00,00:55:00,01:00:00,01:05:00,01:10:00,01:15:00,01:20:00,01:25:00,01:30:00,01:35:00,01:40:00,01:45:00,01:50:00,01:55:00,02:00:00,02:05:00
2008-11-30 10:12:44 Total size of video files, before multiplexing, is 4626 Mbytes, audio is 355 MBytes, menus are 0 MBytes.
2008-11-30 10:12:44 Need to shrink MPEG2 video files to fit onto recordable DVD, video is 869.08 MBytes too big.
2008-11-30 10:12:44 Need to scale by 1.21058395929
2008-11-30 10:12:44 tcrequant /myth/tmp/mytharchive/work/1/stream.mv2 /myth/tmp/mytharchive/work/1/video.small.m2v 1.21058395929
2008-11-30 10:18:18 Total DVD size AFTER TCREQUANT is 4367.05 MBytes
2008-11-30 10:18:18 Multiplexing MPEG stream to /myth/tmp/mytharchive/work/1/final.mpg
2008-11-30 10:18:18 Adding sync offset of -15ms
2008-11-30 10:18:18 Available streams - video and one audio stream
2008-11-30 10:18:18 Multiplex started PID=21524
2008-11-30 10:18:18 Starting dvdauthor
2008-11-30 10:27:00 Finished dvdauthor
2008-11-30 10:27:09 Burning ISO image to /dev/dvd
2008-11-30 10:27:09 growisofs -dvd-compat -Z /dev/dvd -dvd-video -V "Stephen King's Desperation" /myth/tmp/mytharchive/work/dvd
2008-11-30 10:27:09 Running growisofs to burn DVD
2008-11-30 10:33:58 Finished burning ISO image
2008-11-30 10:33:58 Removing all archive items from the archiveitems DB table
2008-11-30 10:33:58 Finished processing jobs!!!
Mythburn.log (lightly edited to remove fluff):
Code:
Using simple_fix_rtl
mythburn.py (0.1.20080629-1-fixes) starting up...
script path:/usr/share/mythtv/mytharchive/scripts
myth share path:/usr/share/mythtv
passed job file: /myth/tmp/mytharchive/config/mydata.xml
passed progress log file: /myth/tmp/mytharchive/logs/progress.log
mythburn.py (0.1.20080629-1-fixes) starting up...
Found 1 CPUs
Obtaining MythTV settings from MySQL database for hostname mythtv
temppath: /myth/tmp/mytharchive/work
logpath: /myth/tmp/mytharchive/logs
Setting process priority to 17
Processing Mythburn job number 1.
Options - mediatype = 0, doburn = 1, createiso = 0, erasedvdrw = 0
savefilename = ''
Looking for: /usr/share/mythtv/mytharchive/themes/Simple - Autoplay/theme.xml
Loading font 0, /usr/share/mythtv/FreeSans.ttf size 19
Loading font 1, /usr/share/mythtv/FreeSans.ttf size 15
Loading font 2, /usr/share/mythtv/FreeSans.ttf size 13
wantIntro: 0, wantMainMenu: 0, wantChapterMenu:0, wantDetailsPage: 0
Final DVD Video format will be ntsc
There are 1 files to process
Pre-processing recording 1: '/myth/tv/1059_20081129195900.mpg'
2008-11-30 09:42:39.952 Opening /myth/tv/1059_20081129195900.mpg
Input #0, mpeg, from '/myth/tv/1059_20081129195900.mpg':
Duration: 03:02:13.2, start: 0.233733, bitrate: 5566 kb/s
Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x480 [PAR 8:9 DAR 4:3], 6500 kb/s, 29.97 tb(r)
Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, 256 kb/s
2008-11-30 09:42:39.992 duration = 10933
2008-11-30 09:42:39.992 Extracting details from: 1059_20081129195900.mpg
2008-11-30 09:42:39.994 chanid: 1059 starttime:2008-11-29T19:59:00
2008-11-30 09:42:40.000 File is a Myth recording.
2008-11-30 09:42:40.002 cutframes = 94966
2008-11-30 09:42:40.002 cutduration = 3168
streaminfo.xml :-
<?xml version="1.0" ?><!DOCTYPE FILEINFO><file cutduration="7765" duration="10933" filename="/myth/tv/1059_20081129195900.mpg" type="mpeg">
<streams count="2">
<video aspectratio="1.33333" bitrate="6500000" codec="mpeg2video" ffmpegindex="0" fps="29.97" height="480" id="480" start_time="0.36039" streamindex="0" width="720"/>
<audio bitrate="256000" channels="2" codec="mp2" ffmpegindex="1" id="448" language="N/A" samplerate="48000" start_time="0.21036" streamindex="1"/>
</streams>
</file>
Stephen King's Desperation
Video resolution is 720 by 480
*************************************************************
Processing recording 1: '/myth/tv/1059_20081129195900.mpg'
*************************************************************
File type is 'mpeg'
Video codec is 'mpeg2video'
File has a cut list - running mythtranscode to remove unwanted segments
2008-11-30 09:42:40.353 Using runtime prefix = /usr
2008-11-30 09:42:40.354 Empty LocalHostName.
2008-11-30 09:42:40.376 New DB connection, total: 1
2008-11-30 09:42:40.383 Closing DB connection named 'DBManager0'
2008-11-30 09:42:40.384 Enabled verbose msgs: important
2008-11-30 09:42:40.387 New DB connection, total: 2
Mux rate: 6.87 Mbit/s
2008-11-30 09:53:14.927 Opening /myth/tmp/mytharchive/work/1/newfile.mpg
Input #0, mpeg, from '/myth/tmp/mytharchive/work/1/newfile.mpg':
Duration: 02:09:25.0, start: 0.315967, bitrate: 5332 kb/s
Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x480 [PAR 8:9 DAR 4:3], 6500 kb/s, 29.97 tb(r)
Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, 256 kb/s
2008-11-30 09:53:15.005 Calculating frame count
2008-11-30 09:55:40.080 frames = 232720
2008-11-30 09:55:40.109 duration = 7765
2008-11-30 09:55:40.125 Extracting details from: newfile.mpg
2008-11-30 09:55:40.206 Cannot find details for newfile.mpg
2008-11-30 09:55:40.206 File is not a Myth recording.
2008-11-30 09:55:40.207 cutframes = 0
2008-11-30 09:55:40.207 cutduration = 0
streaminfo.xml :-
<?xml version="1.0" ?><!DOCTYPE FILEINFO><file cutduration="7765" duration="7765" filename="/myth/tmp/mytharchive/work/1/newfile.mpg" type="mpeg">
<streams count="2">
<video aspectratio="1.33333" bitrate="6500000" codec="mpeg2video" ffmpegindex="0" fps="29.97" height="480" id="480" start_time="0.28437" streamindex="0" width="720"/>
<audio bitrate="256000" channels="2" codec="mp2" ffmpegindex="1" id="448" language="N/A" samplerate="48000" start_time="0.29967" streamindex="1"/>
</streams>
</file>
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 /myth/tmp/mytharchive/work/1/stream -v 224 -a 192 "/myth/tmp/mytharchive/work/1/newfile.mpg"
Reading from /myth/tmp/mytharchive/work/1/newfile.mpg
Input file length: 4935.89 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.50 Mbit/s
vbvbuffer 1835008
Sequence Extension: chroma 4:2:0 size = 720x480 bit rate: 6.50 Mbit/s vbvbuffer 1835008 frame rate: 29.970
starting with video PTS: 0:00:00.3159
Audiostream: layer: 2 BRate: 256 kb/s Freq: 48.0 kHz frame size: 768 ( 0:00:00.0240 ) starting audio PTS: 0:00:00.3329
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 remove 1 frame(s)
fixing audio PTS inconsistency - diff: 0:00:00.0480 - need to add 2 frame(s)
encoding an MP2 audio frame
Video output File is: /myth/tmp/mytharchive/work/1/stream.mv2
Audio0 output File is: /myth/tmp/mytharchive/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
read 1%
read 2%
read 3%
read 4%
read 5%
read 6%
read 7%
read 8%
read 9%
read 10%
read 11%
read 12%
read 13%
read 14%
fixing audio PTS inconsistency - diff: 0:00:00.0346 - need to add 1 frame(s)
encoding an MP2 audio frame
read 15%
read 16%
read 17%
read 18%
read 19%
read 20%
read 21%
read 22%
read 23%
read 24%
read 25%
read 26%
read 27%
read 28%
read 29%
read 30%
fixing audio PTS inconsistency - diff: 0:00:00.0442 - need to add 1 frame(s)
encoding an MP2 audio frame
read 31%
read 32%
video PTS inconsistent: 0:41:42.2821 0:41:42.2821 0:41:42.4155 0:41:42.0996 diff: 0:00:00.1334
read 33%
read 34%
read 35%
read 36%
read 37%
read 38%
read 39%
read 40%
read 41%
video PTS inconsistent: 0:53:48.8746 0:53:48.8746 0:53:48.3741 0:53:48.0581 diff: 0:00:00.5005
fixing audio PTS inconsistency - diff: 0:00:00.0287 - need to add 1 frame(s)
encoding an MP2 audio frame
read 42%
read 43%
read 44%
read 45%
read 46%
read 47%
read 48%
read 49%
read 50%
read 51%
read 52%
read 53%
read 54%
read 55%
read 56%
video PTS inconsistent: 1:13:19.8444 1:13:19.8444 1:13:19.9779 1:13:19.6619 diff: 0:00:00.1334
read 57%
fixing audio PTS inconsistency - diff: 0:00:00.0461 - need to add 1 frame(s)
encoding an MP2 audio frame
read 58%
read 59%
read 60%
read 61%
read 62%
read 63%
read 64%
read 65%
read 66%
fixing audio PTS inconsistency - diff: 0:00:00.0442 - need to add 1 frame(s)
encoding an MP2 audio frame
read 67%
read 68%
read 69%
read 70%
read 71%
read 72%
read 73%
read 74%
video PTS inconsistent: 1:36:50.6872 1:36:50.6872 1:36:50.1867 1:36:49.8707 diff: 0:00:00.5005
fixing audio PTS inconsistency - diff: 0:00:00.0394 - need to add 1 frame(s)
encoding an MP2 audio frame
read 75%
read 76%
read 77%
read 78%
read 79%
read 80%
fixing audio PTS inconsistency - diff: 0:00:00.0340 - need to add 1 frame(s)
encoding an MP2 audio frame
read 81%
read 82%
read 83%
read 84%
read 85%
read 86%
fixing audio PTS inconsistency - diff: 0:00:00.0333 - need to add 1 frame(s)
encoding an MP2 audio frame
read 87%
read 88%
read 89%
read 90%
read 91%
read 92%
read 93%
read 94%
read 95%
read 96%
read 97%
read 98%
read 99%
read 100%
video PTS inconsistent: 2:09:25.3732 2:09:25.3732 2:09:24.8727 2:09:24.5568 diff: 0:00:00.5005
Audio track 1 is in mp2 format - re-encoding to ac3
Encoding audio to ac3
FFmpeg version SVN-r12391, Copyright (c) 2000-2008 Fabrice Bellard, et al.
configuration: --enable-libmp3lame --enable-libfaac --enable-liba52 --enable-libvorbis --enable-gpl --enable-shared --enable-libxvid --prefix=/usr --enable-libtheora --arch=i586 --cpu=i586 --enable-pthreads --enable-avfilter --enable-postproc
libavutil version: 49.6.0
libavcodec version: 51.51.0
libavformat version: 52.9.0
libavdevice version: 52.0.0
libavfilter version: 0.0.0
built on Apr 16 2008 05:24:04, gcc: 4.2.3 20071123 (prerelease) (Debian 4.2.2-4)
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
size= 363964kB time=15529.2 bitrate= 192.0kbits/s
video:0kB audio:363964kB global headers:0kB muxing overhead 0.000000%
*************************************************************
Finished processing '/myth/tv/1059_20081129195900.mpg'
*************************************************************
Creating DVD XML file for dvd author (No Menus)
Adding item 1
aspect ratio is: 1.33333
Fixed length chapters: 00:00:00,00:05:00,00:10:00,00:15:00,00:20:00,00:25:00,00:30:00,00:35:00,00:40:00,00:45:00,00:50:00,00:55:00,01:00:00,01:05:00,01:10:00,01:15:00,01:20:00,01:25:00,01:30:00,01:35:00,01:40:00,01:45:00,01:50:00,01:55:00,02:00:00,02:05:00
Total size of video files, before multiplexing, is 4626 Mbytes, audio is 355 MBytes, menus are 0 MBytes.
Need to shrink MPEG2 video files to fit onto recordable DVD, video is 869.08 MBytes too big.
Need to scale by 1.21058395929
tcrequant /myth/tmp/mytharchive/work/1/stream.mv2 /myth/tmp/mytharchive/work/1/video.small.m2v 1.21058395929
[tcrequant] MPEG2 Requantiser by Makira.
[tcrequant] Using 1.210584 as factor.
Total DVD size AFTER TCREQUANT is 4367.05 MBytes
Multiplexing MPEG stream to /myth/tmp/mytharchive/work/1/final.mpg
Adding sync offset of -15ms
Available streams - video and one audio stream
Multiplex started PID=21524
Starting dvdauthor
DVDAuthor::dvdauthor, version 0.6.13.
Build options: gnugetopt magick iconv freetype fribidi
Send bugs to <dvdauthor-users@lists.sourceforge.net>
INFO: Locale=C
INFO: Converting filenames to ANSI_X3.4-1968
INFO: dvdauthor creating VTS
STAT: Picking VTS 01
STAT: Processing /usr/share/mythtv/mytharchive/intro/ntsc_blank.mpg...
INFO: Video pts = 0.178 .. 1.179
INFO: Audio[0] pts = 0.178 .. 1.170
STAT: VOBU 1 at 0MB, 1 PGCS
INFO: Generating VTSM with the following video attributes:
INFO: MPEG version: mpeg2
INFO: TV standard: ntsc
INFO: Aspect ratio: 4:3
INFO: Resolution: 720x480
INFO: Audio ch 0 format: ac3/2ch, 48khz drc
STAT: Processing /myth/tmp/mytharchive/work/1/final.mpg...
STAT: VOBU 16 at 3MB, 1 PGCS
...
ETC
...
STAT: VOBU 15520 at 4087MB, 1 PGCS
INFO: Video pts = 0.178 .. 7765.168
INFO: Audio[0] pts = 0.193 .. 15529.345
STAT: VOBU 15531 at 4271MB, 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: 720x480
INFO: Audio ch 0 format: ac3/2ch, 48khz drc
STAT: fixed 1 VOBUS
STAT: fixing VOBU at 3MB (17/15531, 0%)
...
ETC
...
STAT: fixing VOBU at 4087MB (15521/15531, 99%)
STAT: fixed 15531 VOBUS
INFO: dvdauthor creating table of contents
INFO: Scanning /myth/tmp/mytharchive/work/dvd/VIDEO_TS/VTS_01_0.IFO
INFO: Creating menu for TOC
STAT: Processing /usr/share/mythtv/mytharchive/intro/ntsc_blank.mpg...
INFO: Video pts = 0.178 .. 1.179
INFO: Audio[0] pts = 0.178 .. 1.170
STAT: VOBU 1 at 0MB, 2 PGCS
INFO: Generating VMGM with the following video attributes:
INFO: MPEG version: mpeg2
INFO: TV standard: ntsc
INFO: Aspect ratio: 4:3
INFO: Resolution: 720x480
INFO: Audio ch 0 format: ac3/2ch, 48khz drc
STAT: fixed 1 VOBUS
Finished dvdauthor
Burning ISO image to /dev/dvd
growisofs -dvd-compat -Z /dev/dvd -dvd-video -V "Stephen King's Desperation" /myth/tmp/mytharchive/work/dvd
Running growisofs to burn DVD
Executing 'genisoimage -dvd-video -V Stephen King's Desperation /myth/tmp/mytharchive/work/dvd | builtin_dd of=/dev/dvd obs=32k seek=0'
/dev/dvd: "Current Write Speed" is 16.4x1352KBps.
0.23% done, estimate finish Sun Nov 30 12:08:59 2008
...
ETC
...
99.88% done, estimate finish Sun Nov 30 10:33:11 2008
Total translation table size: 0
Total rockridge attributes bytes: 0
Total directory bytes: 4096
Path table size(bytes): 42
Max brk space used 0
2187538 extents written (4272 MB)
/dev/dvd: flushing cache
/dev/dvd: updating RMA
/dev/dvd: closing disc
/dev/dvd: reloading tray
Finished burning ISO image
Removing all archive items from the archiveitems DB table
Finished processing jobs!!!