[mythtv-users] Mythtranscode error: Deadlock detected. One buffer is full when, the other is empty! Aborting

John Pilkington J.Pilk at tesco.net
Wed May 19 19:31:21 UTC 2010

On 19/05/10 16:29, Michael T. Dean wrote:
> On 05/19/2010 07:46 AM, John Pilkington wrote:
>> On 19/05/10 11:32, Ian Barton wrote:
>>> I am running 0.23 Mythbuntu daily builds and have just encountered this
>>> error:
>>> mythtv at mythtv:~$ /usr/bin/mythtranscode --showprogress --honorcutlist
>>> --mpeg2 -c 1012 -s "20100518150000" -o
>>> /home/mythmedia/1012_20100518150000.mpg.tmp
>>> 2010-05-19 11:17:32.942 Using runtime prefix = /usr
>>> 2010-05-19 11:17:32.942 Using configuration directory =
>>> /home/mythtv/.mythtv
>>> 2010-05-19 11:17:32.943 Empty LocalHostName.
>>> 2010-05-19 11:17:33.437 Cannot find default UPnP backend
>>> 2010-05-19 11:17:33.464 New DB connection, total: 1
>>> 2010-05-19 11:17:33.475 Closing DB connection named 'DBManager0'
>>> 2010-05-19 11:17:34.279 Enabled verbose msgs: important
>>> 2010-05-19 11:17:34.287 ProgramInfo(): Updated pathname '':'' ->
>>> '1012_20100518150000.mpg'
>>> Mux rate: 15.44 Mbit/s
>>> 2010-05-19 11:17:35.337 Deadlock detected. One buffer is full when
>>> the other is empty! Aborting
>>> A search of the archive turns up http://svn.mythtv.org/trac/ticket/2077
>>> This is the first time I have seen this error. Should I add a comment to
>>> the ticket and upload a sample file?
>> Unless things have changed recently I'm afraid this just suggests that
>> you haven't tried running that command on a dvb recording very often.
>> The standard response seems to be 'use Project-X' and you may like to
>> look at my script at http://svn.mythtv.org/trac/ticket/8347
>> As it stands it needs manual intervention - and a little editing to
>> configure it - but I find that it does work.
> John, if there's any information on ticket #8347 that's required to use
> your script, please include that information on the script's page:
> http://www.mythtv.org/wiki/mythcutprojectx . For example, if it requires
> a certain revision of 0.23-fixes or trunk or ... Plus, a description of
> the required manual intervention and editing would make it much easier
> for someone to use.
> Thanks,
> Mike

Mike: I appreciate that you're trying to move contrib scripts to the 
wiki.  I used the trac reference because it already contains links to 
other tickets that show why it was written and how it can be used with 
mytharchive and, optionally, a shrink-to-fit requantiser, to create DVDs 
with video and one stereo channel.  That may not be exactly what people 
want, but in my experience it does it reliably.  The old system, which I 
used with mencoder, used to work quite well for me, but I had had more 
problems with it since early 2009.

I suspect that quite simple tweaks would enable use of the script with 
subtitles and more complex audio and I really posted it and the 
mytharchive patch as a basis for further work by anyone interested.  I 
don't think the traffic is likely to swamp trac, but I'll look at adding 
to the wiki stuff.


John P

More information about the mythtv-users mailing list