<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12pt"><div><span style="font-family: Arial; font-size: 13px;">On Monday, November 11, 2013 2:50 PM, John Pilkington &lt;J.Pilk@tesco.net&gt; wrote:</span><br></div><div class="yahoo_quoted" style="display: block;"><div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"><div style="font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12pt;"><div dir="ltr"> </div>  <div class="y_msg_container"><br>&gt; More info might be helpful:&nbsp; format of recording; did you transcode <br clear="none">&gt; and/or cut it, either within mytharchive or before; how many audio <br clear="none">&gt; and/or subtitle streams?<br clear="none"><br clear="none">&gt; In my experience the most satisfactory
 solutions involve Project-X, but <br clear="none">&gt; I haven't tried not-using it for years :-)<br clear="none"><br clear="none">&gt; John P</div><div class="y_msg_container"><br></div><div class="y_msg_container"><div style="margin-top: 0.1em; margin-bottom: 0.1em;">Recordings are mpg, I have my recordings set to flag commercials, but when I burn to DVD with mytharchive, the commercials are always on the DVD... I believe the recording has 2 audio streams, on for 5.1, one for 2 channel.</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;"><br></div><div style="margin-top: 0.1em; margin-bottom: 0.1em; background-color: transparent;">Here is the progress.log:</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;"><br></div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-06 23:03:42 mythburn.py (0.1.20120304-1) starting up...</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-06 23:03:42 Found 2 CPUs</div><div
 style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-06 23:03:42 Obtaining MythTV settings from MySQL database for hostname Ubuntu-Server</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-06 23:03:42 temppath: /var/lib/mytharchive/temp/work</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-06 23:03:42 logpath: &nbsp;/var/lib/mytharchive/temp/logs</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-06 23:03:42 Setting process priority to 19</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-06 23:03:42 Processing Mythburn job number 1.</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-06 23:03:42 Options - mediatype = 2, doburn= 1, createiso = 0, erasedvdrw = 1</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-06 23:03:42 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; savefilename = ''</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-06 23:03:42
 Looking for: /usr/share/mythtv/mytharchive/themes/Simple_-_Autoplay/theme.xml</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-06 23:03:42 Loading font 0, /usr/share/mythtv/fonts/FreeSans.ttf size 19</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-06 23:03:42 Loading font 1, /usr/share/mythtv/fonts/FreeSans.ttf size 15</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-06 23:03:42 Loading font 2, /usr/share/mythtv/fonts/FreeSans.ttf size 13</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-06 23:03:42 wantIntro: 0, wantMainMenu: 0, wantChapterMenu: 0, wantDetailsPage: 0</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-06 23:03:42 Final DVD Video format will be ntsc</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-06 23:03:42 There are 1 file(s) to process</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-06 23:03:43 Pre-processing
 recording 1: '/hd2/recordings/2265_20131107020000.mpg'</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-06 23:03:43 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Law &amp; Order: Special Victims Unit *</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-06 23:03:43 Node = chanid, Data = 2265</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-06 23:03:43 Node = type, Data = recording</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-06 23:03:43 Node = filename, Data = /hd2/recordings/2265_20131107020000.mpg</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-06 23:03:43 Node = title, Data = Law &amp; Order: Special Victims Unit *</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-06 23:03:43 Node = recordingdate, Data = Wed &nbsp;Nov &nbsp;06</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-06 23:03:43 Node = recordingtime, Data = 09:00 PM</div><div
 style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-06 23:03:43 Node = subtitle, Data = Dissonant Voices</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-06 23:03:43 Node = description, Data = A 4-year-old student makes claims of sexual abuse against a singing coach and popular TV personality (Billy Porter).</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-06 23:03:43 Node = rating, Data = 0.0</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-06 23:03:43 Node = coverfile, Data =</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-06 23:03:43 Node = cutlist, Data =</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-06 23:03:43 Node = starttime, Data = 2013-11-06T21:00:00-05:00</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-06 23:03:43 Node = hascutlist, Data = no</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-06 23:03:43 Video
 resolution is 1920 by 1080</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-06 23:03:43 *************************************************************</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-06 23:03:43 Processing recording 1: '/hd2/recordings/2265_20131107020000.mpg'</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-06 23:03:43 *************************************************************</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-06 23:03:43 File type is 'mpegts'</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-06 23:03:43 Video codec is 'mpeg2video (Main)'</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-06 23:03:43 Running mythtranscode --mpeg2 to fix any errors</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-06 23:03:43 Failed while running mythtranscode to cut commercials and/or clean up an mpeg2 file.Result:
 146, Command was mythtranscode --mpeg2 --chanid 2265 --starttime 2013-11-06T21:00:00-05:00 --outfile "/var/lib/mytharchive/temp/work/1/newfile.mpg"</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-06 23:03:43 Failed to run mythtranscode to fix any errors</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-06 23:03:43 File will be re-encoded using profile SP</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-06 23:03:43 Preferred audio languages eng and eng</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-06 23:03:43 Video id: 0x3ee, Audio1: [1] 0x3ef (AC3 (AC[45]3 / 0X332D4341), eng), Audio2: [-1] - 0x-1 (N/A, N/A)</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-06 23:03:43 Aspect ratio is 16:9</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-06 23:03:43 Re-encoding audio and video</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-06
 23:03:43 Using encoder profiles from /usr/share/mythtv/mytharchive/encoder_profiles/ffmpeg_dvd_ntsc.xml</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-06 23:03:43 Encoding profile (SP) found</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-06 23:03:43 mythffmpeg -threads 2 -v 1 -i "/hd2/recordings/2265_20131107020000.mpg" -r ntsc -target ntsc-dvd -b:v 4771k -s 720x480 -acodec ac3 -b:a192k -ac 2 -copyts -aspect 16:9 "/var/lib/mytharchive/temp/work/1/newfile2.mpg" -map 0:0 -map 0:1</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-07 00:13:21 Preferred audio languages eng and eng</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-07 00:13:21 Video id: 0x1e0, Audio1: [1] 0x80 (AC3, N/A), Audio2: [-1] - 0x-1 (N/A, N/A)</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-07 00:13:21 Splitting MPEG stream into audio and video parts</div><div style="margin-top: 0.1em;
 margin-bottom: 0.1em;">2013-11-07 00:13:21 Running: mythreplex --demux --fix_sync -o "/var/lib/mytharchive/temp/work/1/stream"-v 224 -c 128 "/var/lib/mytharchive/temp/work/1/newfile2.mpg"</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-07 00:16:32 Audio is already in ac3 format2013-11-07 00:16:32 *************************************************************</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-07 00:16:32 Finished processing '/hd2/recordings/2265_20131107020000.mpg'</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-07 00:16:32 *************************************************************</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-07 00:16:32 Creating DVD XML file for dvd author (No Menus)</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-07 00:16:32 Adding item 1</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-07 00:16:32 aspect
 ratio is: 1.77778</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-07 00:16:32 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</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-07 00:16:32 Total video &nbsp;1496.64 Mb, audio 84.99 Mb, menus 0.00 Mb.</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-07 00:16:32 Unpackaged total 1581.63 Mb. About 2728 Mb will be unused.</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-07 00:16:32 Multiplexing MPEG stream to /var/lib/mytharchive/temp/work/1/final.vob</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-07 00:16:32 Adding sync offset of 4ms</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-07 00:16:32 Available streams - video and one audio stream</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-07
 00:16:32 Multiplex started PID=10880</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-07 00:16:32 Starting dvdauthor</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-07 00:18:58 Finished &nbsp;dvdauthor</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-07 00:18:59 Burning ISO image to /dev/dvd</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-07 00:18:59 "growisofs" -dvd-compat -use-the-force-luke -Z "/dev/dvd" -dvd-video -V "LAW_&amp;_OR" "/var/lib/mytharchive/temp/work/dvd"</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-07 00:18:59 Running growisofs to burn DVD</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-07 00:29:20 Waiting for drive</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-07 00:29:25 Waiting for drive</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-07 00:29:30 Waiting for drive</div><div
 style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-07 00:29:35 Waiting for drive</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-07 00:29:41 Failed to eject the disc!</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-07 00:29:41 ------------------------------------------------------------</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">Traceback (most recent call last):</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">&nbsp; File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 5179, in main</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">&nbsp; processJob(job)</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">&nbsp; File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 4977, in processJob</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">&nbsp; BurnDVDISO(title)</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">&nbsp; File
 "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 2332, in BurnDVDISO</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">&nbsp; tray(CDROM.CDROMEJECT)</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">&nbsp; File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 2263, in tray</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">&nbsp; os.close(f)</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">UnboundLocalError: local variable 'f' referenced before assignment</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;">2013-11-07 00:29:41 ------------------------------------------------------------</div><div style="margin-top: 0.1em; margin-bottom: 0.1em;"><br></div><div style="margin-top: 0.1em; margin-bottom: 0.1em; color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style:
 normal;">Thanks,</div><div style="margin-top: 0.1em; margin-bottom: 0.1em; color: rgb(0, 0, 0); font-size: 16px; font-family: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: transparent; font-style: normal;">Tim</div></div>  </div> </div>  </div> </div></body></html>