[mythtv-users] mythburn.py with cutlist: ERR: Cannot jump to chapter 7 of title 1, only 6 exist
Will Dormann
wdormann at gmail.com
Wed Mar 5 16:08:44 UTC 2014
On 3/5/14, 10:42 AM, Will Dormann wrote:
> getLengthOfVideo() is parsing streaminfo.xml to determine the video
> length, and streaminfo.xml does not reflect the post-cut size:
> <file duration="21" cutduration="21" type="mpeg"
> filename="/var/lib/mytharchive/temp/work/1/newfile2.mpg">
Or more specifically, the "cutduration" property gets lost by the time
it makes it to newfile2.mpg:
Pre-processing recording 1: '/var/lib/mythtv/livetv/2012_20140304211321.mpg'
Input #0, mpegts, from '/var/lib/mythtv/livetv/2012_20140304211321.mpg':
Duration: 00:00:21.99, start: 0.387044, bitrate: 1993 kb/s
Stream #0:0[0x1011]: Video: h264 (Main) (HDMV / 0x564D4448),
yuv420p, 720x480 [SAR 8:9 DAR 4:3], 29.97 fps, 59.94 tbr, 90k tbn, 59.94 tbc
Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz,
5.1(side), fltp, 384 kb/s
/var/lib/mytharchive/temp/work/1/streaminfo.xml:-
<?xml version="1.0" ?><!DOCTYPE FILEINFO><file cutduration="6"
duration="21"
...
*************************************************************
Processing recording 1: '/var/lib/mythtv/livetv/2012_20140304211321.mpg'
*************************************************************
Input #0, mpegts, from '/var/lib/mythtv/livetv/2012_20140304211321.mpg':
Duration: 00:00:21.99, start: 0.387044, bitrate: 1993 kb/s
Stream #0:0[0x1011]: Video: h264 (Main) (HDMV / 0x564D4448),
yuv420p, 720x480 [SAR 8:9 DAR 4:3], 29.97 fps, 59.94 tbr, 90k tbn, 59.94 tbc
Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz,
5.1(side), fltp, 384 kb/s
/var/lib/mytharchive/temp/work/1/streaminfo.xml:-
<?xml version="1.0" ?><!DOCTYPE FILEINFO><file cutduration="6"
duration="21"
...
Input #0, mpeg, from '/var/lib/mytharchive/temp/work/1/newfile2.mpg':
Duration: 00:00:21.89, start: 1.000000, bitrate: 4430 kb/s
Stream #0:0[0x1bf]: Data: dvd_nav_packet
Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x480 [SAR
8:9 DAR 4:3], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
Stream #0:2[0x80]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s
/var/lib/mytharchive/temp/work/1/streaminfo.xml:-
<?xml version="1.0" ?><!DOCTYPE FILEINFO><file cutduration="21"
duration="21"
-WD
More information about the mythtv-users
mailing list