[mythtv-users] Archive to DVD - time format error

Zig jzigpublic at gmail.com
Sun Nov 17 22:38:16 UTC 2013


On 11/17/2013 8:57 AM, John Pilkington wrote:
> On 17/11/13 14:14, Paul Harrison wrote:
>> On 17/11/13 13:47, Zig wrote:
>>> On 11/17/2013 5:29 AM, Paul Harrison wrote:
>>>> On 17/11/13 10:17, John Pilkington wrote:
>>>>>
>>>>> However, I have a confession to make.  My instructions for patching
>>>>> mythburn.py were incomplete; they didn't follow RW's patch. Try that.
>>>>>
>>>>> http://code.mythtv.org/trac/ticket/11758#comment:2
>>>>>
>>>>
>>>> I've committed the patch to both master and fixes to make it easier
>>>> to test.
>>>>
>>>> Please report back if it fixed the problem for you.
>>> I don't understand exactly, the commit system.  Is it possible to
>>> briefly explain to a novice how to figure out when this commit will
>>> show up in my particular distribution?
>>>  I'm currently running v0.27-89-g4ca9300  Branch: fixes/0.27. I have
>>> looked at the ticket and see the extremely long commit number as well
>>> at the changeset number, but I don't know how to follow those numbers
>>> down to what release they first show up in.
>>>
>>> If this is beyond the scope of explaining to a novice, I understand.
>>> Thanks,
>>> Ziggy
>>>
>>
>> The easiest way to tell if you have the commit is to look at the number
>> after v0.27 in the version you have it is 89 which means there have been
>> 89 commits to the 0.27 branch since it was tagged. The commit you want
>> the number is 92 so when that number is >= 92 in the version you have
>> then you know you have the commit.
>>
>> Paul H.
>
> You can get the version of mythburn.py after this commit here. Because 
> it's python, provided nothing has changed in its links to the rest of 
> the system, you should be able to drop it into yours without waiting 
> for a fresh system build.
>
> IIRC you found that you had to apply a different patch, based on this 
> one, to get your system to create a DVD :-)
>
> I got here from the fixes branch, but I see nothing on the page that 
> confirms that's what it is.
>
> https://github.com/MythTV/mythtv/blob/fa94c154c79d0752eb0eb59e579e1985ccf26532/mythplugins/mytharchive/mythburn/scripts/mythburn.py 
>
>
> John P
>
Using the mythburn.py you referenced above (with your addition to output 
the mythtranscode command line to the log) I still get the error - see 
failedlog.txt that is attached.

If I change line 1429 from:
         data.starttime = rec.starttime.isoformat()
to:
         data.starttime = rec.starttime.utcisoformat()
then mythtranscode completes - see successlog.txt that is attached.

On the frontend archive setup screens I have "always use mythtranscode" 
checked and "use projectX" unchecked.
Ziggy




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20131117/04d86f14/attachment.html>
-------------- next part --------------
*************************************************************
Processing recording 1: '/var/lib/mythtv/recordings/1571_20131117160300.mpg'
*************************************************************
File type is 'mpegts'
Video codec is 'mpeg2video (Main)'
Running mythtranscode --mpeg2 to fix any errors
Running: mythtranscode --mpeg2 --chanid 1571 --starttime 2013-11-17T10:03:00-06:00 --outfile "/var/lib/mytharchive/temp/work/1/newfile.mpg" XXX
2013-11-17 15:34:52.872333 C  mythtranscode version: fixes/0.27 [v0.27-89-g4ca9300] www.mythtv.org
2013-11-17 15:34:52.872361 C  Qt version: compile: 4.8.1, runtime: 4.8.1
2013-11-17 15:34:52.872367 N  Enabled verbose msgs:  general
2013-11-17 15:34:52.872381 N  Setting Log Level to LOG_INFO
2013-11-17 15:34:52.883175 I  Added logging to the console
2013-11-17 15:34:52.883919 I  Setup Interrupt handler
2013-11-17 15:34:52.883933 I  Setup Terminated handler
2013-11-17 15:34:52.883944 I  Setup Segmentation fault handler
2013-11-17 15:34:52.883955 I  Setup Aborted handler
2013-11-17 15:34:52.883965 I  Setup Bus error handler
2013-11-17 15:34:52.883976 I  Setup Floating point exception handler
2013-11-17 15:34:52.883988 I  Setup Illegal instruction handler
2013-11-17 15:34:52.884004 I  Setup Real-time signal 0 handler
2013-11-17 15:34:52.884047 N  Using runtime prefix = /usr
2013-11-17 15:34:52.884063 N  Using configuration directory = /home/ziggy/.mythtv
2013-11-17 15:34:52.884139 I  Assumed character encoding: en_US.UTF-8
2013-11-17 15:34:52.884542 N  Empty LocalHostName.
2013-11-17 15:34:52.884552 I  Using localhost value of mythbuntu
2013-11-17 15:34:52.904942 N  Setting QT default locale to EN_US
2013-11-17 15:34:52.905020 I  Current locale EN_US
2013-11-17 15:34:52.905075 N  Reading locale defaults from /usr/share/mythtv//locales/en_us.xml
2013-11-17 15:34:52.911027 I  Loading en_us translation for module mythfrontend
2013-11-17 15:34:52.911680 E  Couldn't find recording for chanid 1571 @ 2013-11-17T10:03:00Z
2013-11-17 15:34:52.984963 I  New Client:  (#1)
Failed while running mythtranscode to cut commercials and/or clean up an mpeg2 file.
Result: 146, Command was mythtranscode --mpeg2 --chanid 1571 --starttime 2013-11-17T10:03:00-06:00 --outfile "/var/lib/mytharchive/temp/work/1/newfile.mpg"
Failed to run mythtranscode to fix any errors
-------------- next part --------------
*************************************************************
Processing recording 1: '/var/lib/mythtv/recordings/1571_20131117160300.mpg'
*************************************************************
File type is 'mpegts'
Video codec is 'mpeg2video (Main)'
Running mythtranscode --mpeg2 to fix any errors
Running: mythtranscode --mpeg2 --chanid 1571 --starttime 2013-11-17T16:03:00 --outfile "/var/lib/mytharchive/temp/work/1/newfile.mpg" XXX
2013-11-17 15:27:30.934804 C  mythtranscode version: fixes/0.27 [v0.27-89-g4ca9300] www.mythtv.org
2013-11-17 15:27:30.934831 C  Qt version: compile: 4.8.1, runtime: 4.8.1
2013-11-17 15:27:30.934836 N  Enabled verbose msgs:  general
2013-11-17 15:27:30.934851 N  Setting Log Level to LOG_INFO
2013-11-17 15:27:30.945731 I  Added logging to the console
2013-11-17 15:27:30.946518 I  Setup Interrupt handler
2013-11-17 15:27:30.946532 I  Setup Terminated handler
2013-11-17 15:27:30.946544 I  Setup Segmentation fault handler
2013-11-17 15:27:30.946554 I  Setup Aborted handler
2013-11-17 15:27:30.946565 I  Setup Bus error handler
2013-11-17 15:27:30.946575 I  Setup Floating point exception handler
2013-11-17 15:27:30.946587 I  Setup Illegal instruction handler
2013-11-17 15:27:30.946602 I  Setup Real-time signal 0 handler
2013-11-17 15:27:30.946650 N  Using runtime prefix = /usr
2013-11-17 15:27:30.946667 N  Using configuration directory = /home/ziggy/.mythtv
2013-11-17 15:27:30.946746 I  Assumed character encoding: en_US.UTF-8
2013-11-17 15:27:30.947164 N  Empty LocalHostName.
2013-11-17 15:27:30.947174 I  Using localhost value of mythbuntu
2013-11-17 15:27:30.968046 N  Setting QT default locale to EN_US
2013-11-17 15:27:30.968133 I  Current locale EN_US
2013-11-17 15:27:30.968188 N  Reading locale defaults from /usr/share/mythtv//locales/en_us.xml
2013-11-17 15:27:30.974399 I  Loading en_us translation for module mythfrontend
2013-11-17 15:27:30.976334 N  Transcoding from /var/lib/mythtv/recordings/1571_20131117160300.mpg to /var/lib/mytharchive/temp/work/1/newfile.mpg
2013-11-17 15:27:30.977885 I  Opening /var/lib/mythtv/recordings/1571_20131117160300.mpg
2013-11-17 15:27:31.002708 I  Input #0, mpegts, from '/var/lib/mythtv/recordings/1571_20131117160300.mpg':
2013-11-17 15:27:31.002731 I    Duration: 00:00:41.07, start: 28249.290622, bitrate: 14478 kb/s
2013-11-17 15:27:31.002798 I      Stream #0:0[0x41]: Video: mpeg2video (Main), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
2013-11-17 15:27:31.002830 I      Stream #0:1[0x44](eng): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 384 kb/s
2013-11-17 15:27:31.009633 I  #0 PTS:07:50:49.557 Delta: 0.0ms queue: 7
2013-11-17 15:27:31.009703 I  #1 PTS:07:50:49.546 Delta: 11.0444ms queue: 2
2013-11-17 15:27:31.048295 I  New Client:  (#1)
2013-11-17 15:27:31.056038 I  Mux rate: 46.13 Mbit/s
2013-11-17 15:27:31.452309 I  Generating Keyframe Index
2013-11-17 15:27:31.452325 I  Opening /var/lib/mytharchive/temp/work/1/newfile.mpg
2013-11-17 15:27:31.519470 I  Input #0, mpeg, from '/var/lib/mytharchive/temp/work/1/newfile.mpg':
2013-11-17 15:27:31.519490 I    Duration: 00:00:40.82, start: 0.360000, bitrate: 14329 kb/s
2013-11-17 15:27:31.519530 I      Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
2013-11-17 15:27:31.519547 I      Stream #0:1[0x80]: Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s
2013-11-17 15:27:31.655183 N  Transcode Completed
2013-11-17 15:27:31.658837 N  Transcoding /var/lib/mythtv/recordings/1571_20131117160300.mpg done


More information about the mythtv-users mailing list