[mythtv-commits] Ticket #2077: transcoding fails with "Deadlock detected. One buffer is full when ..." for some DVB recordings
MythTV
mythtv at cvs.mythtv.org
Sun Sep 28 17:07:18 UTC 2008
#2077: transcoding fails with "Deadlock detected. One buffer is full when ..."
for some DVB recordings
---------------------------+------------------------------------------------
Reporter: seb | Owner: ghaushe
Type: defect | Status: accepted
Priority: minor | Milestone: unknown
Component: mythtranscode | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
---------------------------+------------------------------------------------
Comment(by robert.mcnamara at gmail.com):
Here is a long (3 Minute, 235 MB) sample of a channel that exhibits this
problem. In living with this bug over the past year or so, I've learned
some things anecdotally. For me, this problem manifests on certain
channels without fail. For example, Universal HD, Discovery HD, HBO HD,
etc. *always* fails lossless transcode. Further, this problem seems to be
most evident on HD channels.
Sample:
http://www.fecitfacta.com/1739_20080928094700.mpg
There is a Windows Tool called MPEG2Cut2 that lossless cuts affected files
properly. It's GPL and runs well in WINE, so it's a workaround for now.
Unfortunately, it only cuts at GOP borders and not frame-level, but it's
close enough in most cases. There are occasional issues with audio sync,
but it's the best option I've found thus far. I wonder whether any of the
stream correction code could be leveraged in mythtranscode to overcome
this.
The executable is here:
http://download.videohelp.com/download/mpg2cut2_7701_libmmd_mpalib.zip
and the source is here:
http://www.dvbsupport.net/download/index.php?act=download&id=98
The source is fairly nicely commented, and the file
"__Fault_Tolerance_SUBALLOC.txt" may be of some use/inspiration here.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/2077#comment:20>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list