[mythtv-commits] Ticket #2199: MtyhArchive failes when encoding transcoded mpeg4 recordings

MythTV mythtv at cvs.mythtv.org
Thu Sep 7 03:01:27 UTC 2006


#2199: MtyhArchive failes when encoding transcoded mpeg4 recordings
--------------------------------+-------------------------------------------
 Reporter:  chris at chrisdos.com  |        Owner:  paulh   
     Type:  defect              |       Status:  reopened
 Priority:  minor               |    Milestone:          
Component:  mytharchive         |      Version:          
 Severity:  medium              |   Resolution:          
--------------------------------+-------------------------------------------
Changes (by siggy at hotmail.com):

  * status:  closed => reopened
  * resolution:  fixed =>

Comment:

 Thanks for the fix paulh, I'm no longer getting that error, but now I've
 got a new one:

 {{{
 NameError: global name 'SIGKILL' is not defined
 }}}

 It occurs on line 1364 in mythburn.py:

 {{{
 1364        result = runCommand(command)
 1365        if result != 0:
 1366            os.kill(PID, SIGKILL)
 1367            fatalError("Failed while running ffmpeg to re-encode
 video.\n"
 1368                       "Command was %s" % command)
 }}}

 I fixed it on my system (SUSE 10.1) by adding this line, but you may find
 a more elegant way:

 {{{
 1364        result = runCommand(command)
 1365        if result != 0:
                 SIGKILL = 9
 1366            os.kill(PID, SIGKILL)
 1367            fatalError("Failed while running ffmpeg to re-encode
 video.\n"
 1368                       "Command was %s" % command)
 }}}

 I'm not sure if I should have started a new ticket for this one, but I'm
 keeping with this thread just for reference. Thanks again.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/2199#comment:6>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list