[mythtv-users] silence detection blocks jobqueue [ mythcommflag; silence.py ]

Stefan Pappalardo stefan.pappalardo at gmx.de
Mon Oct 20 13:49:00 UTC 2014


Am 20.10.2014 um 15:27 schrieb Roger Siddons:
> On Mon, 20 Oct 2014 13:45:47 +0100, Roger Siddons <dizygotheca at ntlworld.com> wrote:
>
>>> Input #0, mpegts, from '1043_20141015125000.mpg':
>>>    Duration: 01:39:55.21, start: 89500.844867, bitrate: 4212 kb/s
>>>      Stream #0:0[0x20](deu): Subtitle: dvb_teletext
>>>      Stream #0:1[0x8ff]: Video: mpeg2video (Main), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
>>>      Stream #0:2[0x900](deu): Audio: mp2, 48000 Hz, stereo, s16p, 192 kb/s
>>>      Stream #0:3[0x901](eng): Audio: mp2, 48000 Hz, stereo, s16p, 192 kb/s
>>>      Stream #0:4[0x903](deu): Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s
>>
>> I believe ffmpeg is using the ac3 stream. I wonder if the fltp format is causing problems...
>
> Try checking the audio demuxing explicitly with:
>
> mythffmpeg -i 1043_20141015125000.mpg -loglevel verbose -f au -ac 6 - >  /dev/null
>
> It may produce a few decoding errors but the important thing is that it completes (and possibly how long it takes)
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
>

$ date ; mythffmpeg -i 1043_20141015125000.mpg -loglevel verbose -f au -ac 6 - >  /dev/null ; date
Mo 20. Okt 15:37:57 CEST 2014
ffmpeg version 1.2.7 Copyright (c) 2000-2014 the FFmpeg developers
   built on Oct 17 2014 06:18:59 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
   configuration: --compile-type=profile --prefix=/usr --runprefix=/usr --disable-mythlogserver --enable-crystalhd --enable-lirc --enable-audio-alsa --enable-audio-oss --enable-dvb --enable-ivtv --enable-firewire --enable-joystick-menu --with-bindings=perl --enable-ffmpeg-pthreads --enable-pic --perl-config-opts='INSTALLDIRS=vendor' --enable-libvpx --enable-sdl --enable-libmp3lame --enable-libx264 --enable-opengl-video --enable-vaapi --enable-vdpau
   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 @ 0xa92f80] parser not found for codec dvb_teletext, packets or times may be invalid.
     Last message repeated 1 times
[mpegts @ 0xa92f80] max_analyze_duration 5000000 reached at 5000000 microseconds
[NULL @ 0xa95e60] start time is not set in estimate_timings_from_pts
[mpegts @ 0xa92f80] PES packet size mismatch
     Last message repeated 1 times
Input #0, mpegts, from '1043_20141015125000.mpg':
   Duration: 01:39:55.21, start: 89500.844867, bitrate: 4212 kb/s
     Stream #0:0[0x20](deu): Subtitle: dvb_teletext
     Stream #0:1[0x8ff]: Video: mpeg2video (Main), yuv420p, 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
     Stream #0:2[0x900](deu): Audio: mp2, 48000 Hz, stereo, s16p, 192 kb/s
     Stream #0:3[0x901](eng): Audio: mp2, 48000 Hz, stereo, s16p, 192 kb/s
     Stream #0:4[0x903](deu): Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s
[graph 0 input from stream 0:4 @ 0xa9b0a0] tb:1/48000 samplefmt:fltp samplerate:48000 chlayout:0x60f
[audio format for output stream 0:0 @ 0xa7d1c0] auto-inserting filter 'auto-inserted resampler 0' between the filter 'Parsed_anull_0' and the filter 'audio format for output stream 0:0'
[auto-inserted resampler 0 @ 0xa7e8a0] ch:6 chl:5.1(side) fmt:fltp r:48000Hz -> ch:6 chl:5.1 fmt:s16 r:48000Hz
Output #0, au, to 'pipe:':
   Metadata:
     encoder         : Lavf54.63.104
     Stream #0:0(deu): Audio: pcm_s16be ([3][0][0][0] / 0x0003), 48000 Hz, 5.1, s16, 4608 kb/s
Stream mapping:
   Stream #0:4 -> #0:0 (ac3 -> pcm_s16be)
Press [q] to stop, [?] for help
parser not found for codec dvb_teletext, packets or times may be invalid.
parser not found for codec dvb_teletext, packets or times may be invalid.
Speicherzugriffsfehler (Speicherabzug geschrieben)
Mo 20. Okt 15:38:04 CEST 2014

Very interesting. I think we have found something. At 00:03:03 the stream is changing for showing a trailer (edge of tomorrow).
Looking at the playback-data in mythfrontend the channel-count is changing from 6 to 2. And there are only two audio streams instead of four.
Mythffmpeg tries to decode an not existing audio stream, and gets lost.

I wonder if mythffmpeg should switch to the "true" audio stream by itself, or if this is the job of mythfrontend...

-- 
Stefan Pappalardo


More information about the mythtv-users mailing list