[mythtv-users] MythArchive to DVD audio out of sync

Tim clueo8 at yahoo.com
Tue Nov 12 14:45:59 UTC 2013


On Monday, November 11, 2013 2:50 PM, John Pilkington <J.Pilk at tesco.net> wrote:


> More info might be helpful:  format of recording; did you transcode 
> and/or cut it, either within mytharchive or before; how many audio 
> and/or subtitle streams?

> In my experience the most satisfactory solutions involve Project-X, but 
> I haven't tried not-using it for years :-)

> John P

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.

Here is the progress.log:

2013-11-06 23:03:42 mythburn.py (0.1.20120304-1) starting up...
2013-11-06 23:03:42 Found 2 CPUs
2013-11-06 23:03:42 Obtaining MythTV settings from MySQL database for hostname Ubuntu-Server
2013-11-06 23:03:42 temppath: /var/lib/mytharchive/temp/work
2013-11-06 23:03:42 logpath:  /var/lib/mytharchive/temp/logs
2013-11-06 23:03:42 Setting process priority to 19
2013-11-06 23:03:42 Processing Mythburn job number 1.
2013-11-06 23:03:42 Options - mediatype = 2, doburn= 1, createiso = 0, erasedvdrw = 1
2013-11-06 23:03:42           savefilename = ''
2013-11-06 23:03:42 Looking for: /usr/share/mythtv/mytharchive/themes/Simple_-_Autoplay/theme.xml
2013-11-06 23:03:42 Loading font 0, /usr/share/mythtv/fonts/FreeSans.ttf size 19
2013-11-06 23:03:42 Loading font 1, /usr/share/mythtv/fonts/FreeSans.ttf size 15
2013-11-06 23:03:42 Loading font 2, /usr/share/mythtv/fonts/FreeSans.ttf size 13
2013-11-06 23:03:42 wantIntro: 0, wantMainMenu: 0, wantChapterMenu: 0, wantDetailsPage: 0
2013-11-06 23:03:42 Final DVD Video format will be ntsc
2013-11-06 23:03:42 There are 1 file(s) to process
2013-11-06 23:03:43 Pre-processing recording 1: '/hd2/recordings/2265_20131107020000.mpg'
2013-11-06 23:03:43           Law & Order: Special Victims Unit *
2013-11-06 23:03:43 Node = chanid, Data = 2265
2013-11-06 23:03:43 Node = type, Data = recording
2013-11-06 23:03:43 Node = filename, Data = /hd2/recordings/2265_20131107020000.mpg
2013-11-06 23:03:43 Node = title, Data = Law & Order: Special Victims Unit *
2013-11-06 23:03:43 Node = recordingdate, Data = Wed  Nov  06
2013-11-06 23:03:43 Node = recordingtime, Data = 09:00 PM
2013-11-06 23:03:43 Node = subtitle, Data = Dissonant Voices
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).
2013-11-06 23:03:43 Node = rating, Data = 0.0
2013-11-06 23:03:43 Node = coverfile, Data =
2013-11-06 23:03:43 Node = cutlist, Data =
2013-11-06 23:03:43 Node = starttime, Data = 2013-11-06T21:00:00-05:00
2013-11-06 23:03:43 Node = hascutlist, Data = no
2013-11-06 23:03:43 Video resolution is 1920 by 1080
2013-11-06 23:03:43 *************************************************************
2013-11-06 23:03:43 Processing recording 1: '/hd2/recordings/2265_20131107020000.mpg'
2013-11-06 23:03:43 *************************************************************
2013-11-06 23:03:43 File type is 'mpegts'
2013-11-06 23:03:43 Video codec is 'mpeg2video (Main)'
2013-11-06 23:03:43 Running mythtranscode --mpeg2 to fix any errors
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"
2013-11-06 23:03:43 Failed to run mythtranscode to fix any errors
2013-11-06 23:03:43 File will be re-encoded using profile SP
2013-11-06 23:03:43 Preferred audio languages eng and eng
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)
2013-11-06 23:03:43 Aspect ratio is 16:9
2013-11-06 23:03:43 Re-encoding audio and video
2013-11-06 23:03:43 Using encoder profiles from /usr/share/mythtv/mytharchive/encoder_profiles/ffmpeg_dvd_ntsc.xml
2013-11-06 23:03:43 Encoding profile (SP) found
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
2013-11-07 00:13:21 Preferred audio languages eng and eng
2013-11-07 00:13:21 Video id: 0x1e0, Audio1: [1] 0x80 (AC3, N/A), Audio2: [-1] - 0x-1 (N/A, N/A)
2013-11-07 00:13:21 Splitting MPEG stream into audio and video parts
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"
2013-11-07 00:16:32 Audio is already in ac3 format2013-11-07 00:16:32 *************************************************************
2013-11-07 00:16:32 Finished processing '/hd2/recordings/2265_20131107020000.mpg'
2013-11-07 00:16:32 *************************************************************
2013-11-07 00:16:32 Creating DVD XML file for dvd author (No Menus)
2013-11-07 00:16:32 Adding item 1
2013-11-07 00:16:32 aspect ratio is: 1.77778
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
2013-11-07 00:16:32 Total video  1496.64 Mb, audio 84.99 Mb, menus 0.00 Mb.
2013-11-07 00:16:32 Unpackaged total 1581.63 Mb. About 2728 Mb will be unused.
2013-11-07 00:16:32 Multiplexing MPEG stream to /var/lib/mytharchive/temp/work/1/final.vob
2013-11-07 00:16:32 Adding sync offset of 4ms
2013-11-07 00:16:32 Available streams - video and one audio stream
2013-11-07 00:16:32 Multiplex started PID=10880
2013-11-07 00:16:32 Starting dvdauthor
2013-11-07 00:18:58 Finished  dvdauthor
2013-11-07 00:18:59 Burning ISO image to /dev/dvd
2013-11-07 00:18:59 "growisofs" -dvd-compat -use-the-force-luke -Z "/dev/dvd" -dvd-video -V "LAW_&_OR" "/var/lib/mytharchive/temp/work/dvd"
2013-11-07 00:18:59 Running growisofs to burn DVD
2013-11-07 00:29:20 Waiting for drive
2013-11-07 00:29:25 Waiting for drive
2013-11-07 00:29:30 Waiting for drive
2013-11-07 00:29:35 Waiting for drive
2013-11-07 00:29:41 Failed to eject the disc!
2013-11-07 00:29:41 ------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 5179, in main
  processJob(job)
  File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 4977, in processJob
  BurnDVDISO(title)
  File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 2332, in BurnDVDISO
  tray(CDROM.CDROMEJECT)
  File "/usr/share/mythtv/mytharchive/scripts/mythburn.py", line 2263, in tray
  os.close(f)
UnboundLocalError: local variable 'f' referenced before assignment
2013-11-07 00:29:41 ------------------------------------------------------------

Thanks,
Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20131112/03a5837c/attachment.html>


More information about the mythtv-users mailing list