[mythtv-commits] Ticket #2077: transcoding fails with "Deadlock detected. One buffer is full when ..." for some DVB recordings

MythTV noreply at mythtv.org
Mon Jun 24 04:56:44 UTC 2013


#2077: transcoding fails with "Deadlock detected.  One buffer is full when ..."
for some DVB recordings
------------------------------------+-----------------------------
 Reporter:  seb                     |          Owner:  beirdo
     Type:  Bug Report - General    |         Status:  assigned
 Priority:  minor                   |      Milestone:  unknown
Component:  MythTV - Mythtranscode  |        Version:  Master Head
 Severity:  medium                  |     Resolution:
 Keywords:  mythtranscode           |  Ticket locked:  0
------------------------------------+-----------------------------

Comment (by j@…):

 Running 0.26.0+fixes20130617 I can confirm that it no longer fails with
 this error message 100% of the time as it had been but now just some of
 the time.

 In addition, when the transcoding process does work, sometimes the files
 are damaged in the process and FFmpeg will not read them (I try to use
 FFmpeg to encode them into WebM after the commercials have been deleted.)
 In other cases where the transcoding process works, FFmpeg reads the files
 just fine.

 In those cases where FFmpeg doesn't like the files it just keeps
 discarding frame after frame. The total number of frames encoded remain
 zero or one while the number of discarded frames just keeps going up and
 up and up.

 I tried to use FFmpeg's -acodec copy and -vcodec copy to remux it into a
 Matroska file but FFmpeg died in the process. However, I was able to use
 mkvmerge to remux it into a Matroska file just fine, and FFmpeg read and
 encoded that file into a WebM file. So there seens to be a workaround for
 the files getting damaged during the transcoding process.

 So, there's certainly been progress on this bug but it seems to not be
 totally fixed just yet.

 I have a 10MB sample here in which the transcoding still failed with the
 error "Deadlock detected.  One buffer is full when the other is empty!
 Aborting", in case it's helpful. I produced it using dd
 if=/backup/tvrecordings/1647_20130624015800.mpg of=~/Desktop/home.mpg
 bs=1024 count=1000

 It lives at http://aws.bluehome.net/home.mpg

--
Ticket URL: <http://code.mythtv.org/trac/ticket/2077#comment:55>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list