[mythtv-users] mythtranscode failure - deadlock detected

Alistair Grant akgrant0710 at gmail.com
Sun Nov 16 21:03:20 UTC 2014


Hi John,

On Mon, Nov 17, 2014 at 6:28 AM, John Pilkington <J.Pilk at tesco.net> wrote:
> On 16/11/14 10:45, Alistair Grant wrote:
>>
>> Hi,
>>
>> mythtranscode is failing with deadlock detected, see the log file below.
>>
>> I'm able to watch the recording within mythtv and using mplayer
>> without any problems.
>> ...
>> 2014-11-16 21:32:15.728014 E  Deadlock detected.  One buffer is full
>> when the other is empty!  Aborting
>
>
> Ticket #2077 from 2006.  Probably a result of audio streams stopping or
> starting unexpectedly.
>
> See, perhaps, (end of thread)
>
> http://www.gossamer-threads.com/lists/mythtv/users/579736#579736

Thanks very much for your reply.

I had seen this, but since my problem file only contains a single
audio track I assumed that it was a different problem.

However modifying rmExtraAudioStream.sh to not check the number of
audio streams allowed mythtranscode to complete successfully, so I now
have a (rather IO intensive) workaround.   I've added the output from
mythffmpeg -i to the end of the message in case it is useful to
somebody.

Thanks again,
Alistair

$ mythffmpeg -i 1007_20141113090000.mpg
ffmpeg version 1.2.7 Copyright (c) 2000-2014 the FFmpeg developers
  built on Oct 21 2014 15:31:25 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
  configuration: --with-bindings='python,perl' --enable-libmp3lame
--enable-libx264 --enable-libxvid
  libavutil      52. 18.100 / 52. 18.100
  libavcodec     54. 92.100 / 54. 92.100
  libavformat    54. 63.104 / 54. 63.104
  libavdevice    54.  3.103 / 54.  3.103
  libavfilter     3. 42.103 /  3. 42.103
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[mpegts @ 0x14dba20] write_section_data: PID 0x399 CRC error
    Last message repeated 1 times
[NULL @ 0x14e1ae0] start time is not set in estimate_timings_from_pts
[mpegts @ 0x14dba20] PES packet size mismatch
Input #0, mpegts, from '1007_20141113090000.mpg':
  Duration: 02:29:57.76, start: -46.148511, bitrate: 6864 kb/s
    Stream #0:0[0x301]: Video: mpeg2video (Main), yuv420p, 720x576
[SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x302](eng): Audio: mp2, 48000 Hz, stereo, s16p, 256 kb/s
    Stream #0:2[0x304](eng): Subtitle: dvb_teletext
    Stream #0:3[0x399]: Data: dsmcc_b
At least one output file must be specified
--


More information about the mythtv-users mailing list