Mailing List Archive

Ticket #13557: Decode errors
#13557: Decode errors
--------------------------------------+--------------------------
Reporter: Jarno Suni | Owner: (none)
Type: Bug Report - General | Status: new
Priority: critical | Milestone: needs_triage
Component: MythTV - General | Version: v30-fixes
Severity: high | Keywords:
Ticket locked: 0 |
--------------------------------------+--------------------------
mythtv-frontend 2:30.0+fixes.201912012038.a27754a~ubuntu19.10.1

When using VAAPI2 decoder:
With some recordings playback ends with decode error. If I symlinked the
respective ts-file from recordings directory to videos directory I could
play it there without the error.

When using Standard decoder:
The decode error may happen even if I play from the videos directory.
(Besides frontend chashes often.)

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13557>
MythTV <http://www.mythtv.org>
MythTV Media Center
Re: Ticket #13557: Decode errors [ In reply to ]
#13557: Decode errors
----------------------------------+--------------------------------
Reporter: Jarno Suni | Owner: (none)
Type: Bug Report - General | Status: infoneeded_new
Priority: critical | Milestone: needs_triage
Component: MythTV - General | Version: v30-fixes
Severity: high | Resolution:
Keywords: | Ticket locked: 0
----------------------------------+--------------------------------
Changes (by mark-kendall):

* status: new => infoneeded_new


Comment:

Can you please provide a 30-60second sample. Thanks

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13557#comment:1>
MythTV <http://www.mythtv.org>
MythTV Media Center
Re: Ticket #13557: Decode errors [ In reply to ]
#13557: Decode errors
----------------------------------+--------------------------------
Reporter: Jarno Suni | Owner: (none)
Type: Bug Report - General | Status: infoneeded_new
Priority: critical | Milestone: needs_triage
Component: MythTV - General | Version: v30-fixes
Severity: high | Resolution:
Keywords: | Ticket locked: 0
----------------------------------+--------------------------------

Comment (by Jarno Suni):

Download the sample here:
https://drive.google.com/open?id=1_dYmRaB_FJpJLhV395j74tytJ3gBg0z8
(The error happens almost at the beginning.)

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13557#comment:2>
MythTV <http://www.mythtv.org>
MythTV Media Center
Re: Ticket #13557: Decode errors [ In reply to ]
#13557: Decode errors
-------------------------------------+------------------------------
Reporter: Jarno Suni | Owner: mark-kendall
Type: Bug Report - General | Status: assigned
Priority: critical | Milestone: 31.0
Component: MythTV - Video Decoding | Version: v30-fixes
Severity: high | Resolution:
Keywords: | Ticket locked: 0
-------------------------------------+------------------------------
Changes (by mark-kendall):

* owner: (none) => mark-kendall
* status: infoneeded_new => assigned
* component: MythTV - General => MythTV - Video Decoding
* milestone: needs_triage => 31.0


Comment:

Confirmed that the sample has major issues playing in master.

The problem appears to be in our custom mpegts-mythtv demuxer.

A workaround is to enable 'Use FFmpeg's original MPEG-TS muxer'
(Setup->Video->Playback->General Playback)

Unfortunately that does not detect all of the streams - and will not
detect all subsequent stream changes.

This is the same problem as ticket #13218 - which appears to be a sample
from the same channel.

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13557#comment:3>
MythTV <http://www.mythtv.org>
MythTV Media Center
Re: Ticket #13557: Decode errors [ In reply to ]
#13557: Decode errors
-------------------------------------+------------------------------
Reporter: Jarno Suni | Owner: mark-kendall
Type: Bug Report - General | Status: assigned
Priority: critical | Milestone: 31.0
Component: MythTV - Video Decoding | Version: v30-fixes
Severity: high | Resolution:
Keywords: | Ticket locked: 0
-------------------------------------+------------------------------

Comment (by mark-kendall):

Output from 'ffprobe decode-error.ts':-

{{{
Input #0, mpegts, from 'decode-error.ts':
Duration: 00:00:36.65, start: 13416.566033, bitrate: 5140 kb/s
Program 1
Stream #0:0[0x136]: Video: h264 (High) ([27][0][0][0] / 0x001B),
yuv420p(tv, bt709, top first), 1920x1080 [SAR 1:1 DAR 16:9], Closed
Captions, 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1[0x352](fin): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz,
stereo, fltp, 448 kb/s
Stream #0:2[0x13ec](fin): Subtitle: dvb_teletext ([6][0][0][0] /
0x0006), 492x250
Stream #0:3[0x1901]: Unknown: none ([5][0][0][0] / 0x0005)
Stream #0:4[0x353](dut): Audio: ac3 (AC-3 / 0x332D4341), 0 channels
(visual impaired) (descriptions)
Stream #0:5[0x467](fin): Subtitle: dvb_subtitle ([6][0][0][0] /
0x0006)
Stream #0:6[0x47e](fin): Subtitle: dvb_subtitle ([6][0][0][0] /
0x0006) (hearing impaired)
Unsupported codec with id 0 for input stream 3
}}}

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13557#comment:4>
MythTV <http://www.mythtv.org>
MythTV Media Center
Re: Ticket #13557: Decode errors [ In reply to ]
#13557: Decode errors
-------------------------------------+------------------------------
Reporter: Jarno Suni | Owner: mark-kendall
Type: Bug Report - General | Status: assigned
Priority: critical | Milestone: 31.0
Component: MythTV - Video Decoding | Version: v30-fixes
Severity: high | Resolution:
Keywords: | Ticket locked: 0
-------------------------------------+------------------------------

Comment (by mark-kendall):

Output from mythfronted log (-v playback) when using FFmpeg demuxer (NOTE:
only 4 streams detected):-

{{{
2020-01-28 09:50:48.901472 I [23256/23256] CoreContext
decoders/avformatdecoder.cpp:1011:OpenFile AFD: Using FFmpeg MPEG-TS
demuxer (forced)
2020-01-28 09:50:48.901488 I [23256/23256] CoreContext
decoders/avformatdecoder.cpp:918:InitByteContext AFD: Buffer size: 32768
Streamed 0 Seekable 1 Available 327680
2020-01-28 09:50:48.997822 I [23256/23256] CoreContext
decoders/avformatdecoder.cpp:1981:ScanStreams AFD: Stream #0: ID: 0x136
Codec ID: H264 Type: Video(1920x1080) Bitrate: 0
2020-01-28 09:50:48.997831 I [23256/23256] CoreContext
decoders/avformatdecoder.cpp:1981:ScanStreams AFD: Stream #1: ID: 0x352
Codec ID: AC3 Type: Audio Bitrate: 448000
2020-01-28 09:50:48.997834 I [23256/23256] CoreContext
decoders/avformatdecoder.cpp:2033:ScanStreams AFD: codec AC3 has 2
channels
2020-01-28 09:50:48.997836 I [23256/23256] CoreContext
decoders/avformatdecoder.cpp:2090:ScanStreams AFD: Looking for decoder
for AC3
2020-01-28 09:50:48.997966 I [23256/23256] CoreContext
decoders/avformatdecoder.cpp:2508:OpenAVCodec AFD: Opened codec
0x55c99a985640, id(AC3) type(Audio)
2020-01-28 09:50:48.997984 I [23256/23256] CoreContext
decoders/avformatdecoder.cpp:1981:ScanStreams AFD: Stream #2: ID: 0x13ec
Codec ID: DVB_TELETEXT Type: Subtitle Bitrate: 0
2020-01-28 09:50:48.997986 I [23256/23256] CoreContext
decoders/avformatdecoder.cpp:2047:ScanStreams AFD: subtitle codec
(Subtitle)
2020-01-28 09:50:48.997989 I [23256/23256] CoreContext
decoders/avformatdecoder.cpp:1981:ScanStreams AFD: Stream #3: ID: 0x1901
Codec ID: NONE Type: Unknown Bitrate: 0
2020-01-28 09:50:48.997992 E [23256/23256] CoreContext
decoders/avformatdecoder.cpp:2074:ScanStreams AFD: Unknown codec type
(Unknown)
2020-01-28 09:50:48.997993 I [23256/23256] CoreContext
decoders/avformatdecoder.cpp:2254:ScanStreams AFD: Trying to select best
video track
2020-01-28 09:50:48.998014 I [23256/23256] CoreContext
decoders/avformatdecoder.cpp:2294:ScanStreams AFD: Selected track #0: ID:
0x136 Codec ID: H264 Profile: High Type: Video(1920x1080) Bitrate: 500000
}}}

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13557#comment:5>
MythTV <http://www.mythtv.org>
MythTV Media Center
Re: Ticket #13557: Decode errors [ In reply to ]
#13557: Decode errors
-------------------------------------+------------------------------
Reporter: Jarno Suni | Owner: mark-kendall
Type: Bug Report - General | Status: assigned
Priority: critical | Milestone: 31.0
Component: MythTV - Video Decoding | Version: v30-fixes
Severity: high | Resolution:
Keywords: | Ticket locked: 0
-------------------------------------+------------------------------

Comment (by mark-kendall):

Output from mythfrontend with mythtv demuxer. 6 streams detected but not
complete and playback goes into a tailspin as the video size is not
detected properly:-

{{{
2020-01-28 09:52:54.910784 I [23256/23256] CoreContext
decoders/avformatdecoder.cpp:1981:ScanStreams AFD: Stream #0: ID: 0x136
Codec ID: H264 Type: Video(0x0) Bitrate: 0
2020-01-28 09:52:54.910791 I [23256/23256] CoreContext
decoders/avformatdecoder.cpp:1981:ScanStreams AFD: Stream #1: ID: 0x352
Codec ID: AC3 Type: Audio Bitrate: 0
2020-01-28 09:52:54.910794 I [23256/23256] CoreContext
decoders/avformatdecoder.cpp:2033:ScanStreams AFD: codec AC3 has 0
channels
2020-01-28 09:52:54.910796 I [23256/23256] CoreContext
decoders/avformatdecoder.cpp:2090:ScanStreams AFD: Looking for decoder
for AC3
2020-01-28 09:52:54.910925 I [23256/23256] CoreContext
decoders/avformatdecoder.cpp:2508:OpenAVCodec AFD: Opened codec
0x55c99a9476c0, id(AC3) type(Audio)
2020-01-28 09:52:54.911115 I [23256/23256] CoreContext
decoders/avformatdecoder.cpp:1981:ScanStreams AFD: Stream #2: ID: 0x353
Codec ID: AC3 Type: Audio Bitrate: 0
2020-01-28 09:52:54.911117 I [23256/23256] CoreContext
decoders/avformatdecoder.cpp:2033:ScanStreams AFD: codec AC3 has 0
channels
2020-01-28 09:52:54.911119 I [23256/23256] CoreContext
decoders/avformatdecoder.cpp:2090:ScanStreams AFD: Looking for decoder
for AC3
2020-01-28 09:52:54.911240 I [23256/23256] CoreContext
decoders/avformatdecoder.cpp:2508:OpenAVCodec AFD: Opened codec
0x55c99cd38480, id(AC3) type(Audio)
2020-01-28 09:52:54.911264 I [23256/23256] CoreContext
decoders/avformatdecoder.cpp:1981:ScanStreams AFD: Stream #3: ID: 0x467
Codec ID: DVB_SUBTITLE Type: Subtitle Bitrate: 0
2020-01-28 09:52:54.911266 I [23256/23256] CoreContext
decoders/avformatdecoder.cpp:2047:ScanStreams AFD: subtitle codec
(Subtitle)
2020-01-28 09:52:54.911268 I [23256/23256] CoreContext
decoders/avformatdecoder.cpp:2090:ScanStreams AFD: Looking for decoder
for DVB_SUBTITLE
2020-01-28 09:52:54.911396 I [23256/23256] CoreContext
decoders/avformatdecoder.cpp:2508:OpenAVCodec AFD: Opened codec
0x55c99ac3ea00, id(DVB_SUBTITLE) type(Subtitle)
2020-01-28 09:52:54.911407 I [23256/23256] CoreContext
decoders/avformatdecoder.cpp:2195:ScanStreams AFD: Subtitle track #1 is
A/V stream #3 and is in the Finnish language(6711662).
2020-01-28 09:52:54.911410 I [23256/23256] CoreContext
decoders/avformatdecoder.cpp:1981:ScanStreams AFD: Stream #4: ID: 0x47e
Codec ID: DVB_SUBTITLE Type: Subtitle Bitrate: 0
2020-01-28 09:52:54.911413 I [23256/23256] CoreContext
decoders/avformatdecoder.cpp:2047:ScanStreams AFD: subtitle codec
(Subtitle)
2020-01-28 09:52:54.911415 I [23256/23256] CoreContext
decoders/avformatdecoder.cpp:2090:ScanStreams AFD: Looking for decoder
for DVB_SUBTITLE
2020-01-28 09:52:54.911532 I [23256/23256] CoreContext
decoders/avformatdecoder.cpp:2508:OpenAVCodec AFD: Opened codec
0x55c99c0984c0, id(DVB_SUBTITLE) type(Subtitle)
2020-01-28 09:52:54.911538 I [23256/23256] CoreContext
decoders/avformatdecoder.cpp:2195:ScanStreams AFD: Subtitle track #2 is
A/V stream #4 and is in the Finnish language(6711662).
2020-01-28 09:52:54.911542 I [23256/23256] CoreContext
decoders/avformatdecoder.cpp:1981:ScanStreams AFD: Stream #5: ID: 0x13ec
Codec ID: DVB_TELETEXT Type: Subtitle Bitrate: 0
2020-01-28 09:52:54.911557 I [23256/23256] CoreContext
decoders/avformatdecoder.cpp:1842:ScanTeletextCaptions AFD: Teletext
stream #0 (Menu) is in the Finnish language on page 1 0.
2020-01-28 09:52:54.911562 I [23256/23256] CoreContext
decoders/avformatdecoder.cpp:2047:ScanStreams AFD: subtitle codec
(Subtitle)
2020-01-28 09:52:54.911564 I [23256/23256] CoreContext
decoders/avformatdecoder.cpp:2254:ScanStreams AFD: Trying to select best
video track
2020-01-28 09:52:54.911583 I [23256/23256] CoreContext
decoders/avformatdecoder.cpp:2294:ScanStreams AFD: Selected track #0: ID:
0x136 Codec ID: H264 Profile: Type: Video(0x0) Bitrate: 500000
}}}

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13557#comment:6>
MythTV <http://www.mythtv.org>
MythTV Media Center
Re: Ticket #13557: Decode errors [ In reply to ]
#13557: Decode errors
-------------------------------------+------------------------------
Reporter: Jarno Suni | Owner: mark-kendall
Type: Bug Report - General | Status: assigned
Priority: critical | Milestone: 31.0
Component: MythTV - Video Decoding | Version: v30-fixes
Severity: high | Resolution:
Keywords: | Ticket locked: 0
-------------------------------------+------------------------------

Comment (by mark-kendall):

Output from mediainfo decode-error.ts:-

{{{
ID : 4865 (0x1301)
Complete name : decode-error.ts
Format : MPEG-TS
File size : 22.5 MiB
Duration : 35 s 705 ms
Overall bit rate mode : Variable
Overall bit rate : 5 270 kb/s

Video
ID : 310 (0x136)
Menu ID : 1 (0x1)
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4
Format settings : CABAC / 4 Ref Frames
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : 27
Duration : 35 s 240 ms
Bit rate : 4 363 kb/s
Maximum bit rate : 10.0 Mb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 25.000 FPS
Standard : Component
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : MBAFF
Scan type, store method : Interleaved fields
Scan order : Top Field First
Bits/(Pixel*Frame) : 0.084
Stream size : 18.3 MiB (82%)
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709

Audio #1
ID : 850 (0x352)
Menu ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Codec ID : 129
Duration : 35 s 648 ms
Bit rate mode : Constant
Bit rate : 448 kb/s
Maximum bit rate : 459 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Bit depth : 16 bits
Compression mode : Lossy
Delay relative to video : -1 s 15 ms
Stream size : 1.90 MiB (8%)
Language : Finnish
Service kind : Complete Main

Audio #2
ID : 851 (0x353)
Menu ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Commercial name : Dolby Digital
Codec ID : 129
Duration : 28 s 288 ms
Bit rate mode : Constant
Bit rate : 192 kb/s
Maximum bit rate : 230 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Bit depth : 16 bits
Compression mode : Lossy
Delay relative to video : 6 s 410 ms
Stream size : 663 KiB (3%)
Language : Dutch
Service kind : Complete Main

Text #1
ID : 1127 (0x467)
Menu ID : 1 (0x1)
Format : DVB Subtitle
Codec ID : 6
Delay relative to video : 8 s 647 ms
Language : Finnish

Text #2
ID : 1150 (0x47E)
Menu ID : 1 (0x1)
Format : DVB Subtitle
Codec ID : 6
Duration : 6 s 79 ms
Delay relative to video : 8 s 647 ms
Language : Finnish

Other
ID : 5100 (0x13EC)-100
Menu ID : 1 (0x1)
Format : Teletext
Language : Finnish

Menu
ID : 210 (0xD2)
Menu ID : 1 (0x1)
Duration : 35 s 705 ms
List : 310 (0x136) (AVC) / 850 (0x352)
(AC-3, Finnish) / 5100 (0x13EC)-100 (Teletext, fi) / 6401 (0x1901) () /
851 (0x353) (AC-3, Dutch) / 1127 (0x467) (DVB Subtitle, Finnish) / 1150
(0x47E) (DVB Subtitle, Finnish)
Language : / Finnish / Finnish / / Dutch
/ Finnish / Finnish
Maximum bit rate : 13418400
}}}

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13557#comment:7>
MythTV <http://www.mythtv.org>
MythTV Media Center
Re: Ticket #13557: Decode errors [ In reply to ]
#13557: Decode errors
-------------------------------------+------------------------------
Reporter: Jarno Suni | Owner: mark-kendall
Type: Bug Report - General | Status: assigned
Priority: critical | Milestone: 31.0
Component: MythTV - Video Decoding | Version: v30-fixes
Severity: high | Resolution:
Keywords: | Ticket locked: 0
-------------------------------------+------------------------------

Comment (by mark-kendall):

Output of av_dump_format from mythfrontend when using mythtv demuxer:-

{{{
2020-01-28 09:59:03.565068 I [23754/23754] CoreContext
decoders/avformatdecoder.cpp:303:myth_av_log Input #0, mpegts, from
'/home/mark/Videos//decode-error.ts':
2020-01-28 09:59:03.565079 I [23754/23754] CoreContext
decoders/avformatdecoder.cpp:303:myth_av_log Duration: N/A, bitrate: N/A
2020-01-28 09:59:03.565171 I [23754/23754] CoreContext
decoders/avformatdecoder.cpp:303:myth_av_log Stream #0:0[0x136], 0,
1/90000: Video: h264, none, 500 kb/s, 90k tbn
2020-01-28 09:59:03.565242 I [23754/23754] CoreContext
decoders/avformatdecoder.cpp:303:myth_av_log Stream #0:1[0x352](fin), 0,
1/90000: Audio: ac3 (AC-3 / 0x332D4341), 0 channels
2020-01-28 09:59:03.565303 I [23754/23754] CoreContext
decoders/avformatdecoder.cpp:303:myth_av_log Stream #0:2[0x353](dut), 0,
1/90000: Audio: ac3 (AC-3 / 0x332D4341), 0 channels
2020-01-28 09:59:03.565357 I [23754/23754] CoreContext
decoders/avformatdecoder.cpp:303:myth_av_log Stream #0:3[0x467](fin), 0,
1/90000: Subtitle: dvb_subtitle
2020-01-28 09:59:03.565408 I [23754/23754] CoreContext
decoders/avformatdecoder.cpp:303:myth_av_log Stream #0:4[0x47e](fin), 0,
1/90000: Subtitle: dvb_subtitle
2020-01-28 09:59:03.565461 I [23754/23754] CoreContext
decoders/avformatdecoder.cpp:303:myth_av_log Stream #0:5[0x13ec](fin), 0,
1/90000: Subtitle: dvb_teletext
}}}

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13557#comment:8>
MythTV <http://www.mythtv.org>
MythTV Media Center
Re: Ticket #13557: Decode errors [ In reply to ]
#13557: Decode errors
-------------------------------------+------------------------------
Reporter: Jarno Suni | Owner: mark-kendall
Type: Bug Report - General | Status: assigned
Priority: critical | Milestone: 31.0
Component: MythTV - Video Decoding | Version: v30-fixes
Severity: high | Resolution:
Keywords: | Ticket locked: 0
-------------------------------------+------------------------------

Comment (by jpilk):

It looks to me as if this could be a recording from the start of a part-
time channel, when stream identification has always given problems. The
easiest workaround is to start recording later.

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13557#comment:9>
MythTV <http://www.mythtv.org>
MythTV Media Center
Re: Ticket #13557: Decode errors [ In reply to ]
#13557: Decode errors
-------------------------------------+------------------------------
Reporter: Jarno Suni | Owner: mark-kendall
Type: Bug Report - General | Status: assigned
Priority: critical | Milestone: 31.0
Component: MythTV - Video Decoding | Version: v30-fixes
Severity: high | Resolution:
Keywords: | Ticket locked: 0
-------------------------------------+------------------------------

Comment (by dagnygren):

How can I get myself on the notification list for this ticket? Would be
nice to know what is going on here. Also tell me if I can help with
something, please.

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13557#comment:10>
MythTV <http://www.mythtv.org>
MythTV Media Center
Re: Ticket #13557: Decode errors [ In reply to ]
#13557: Decode errors
-------------------------------------+------------------------------
Reporter: Jarno Suni | Owner: mark-kendall
Type: Bug Report - General | Status: assigned
Priority: critical | Milestone: 31.0
Component: MythTV - Video Decoding | Version: v30-fixes
Severity: high | Resolution:
Keywords: | Ticket locked: 0
-------------------------------------+------------------------------

Comment (by Jarno Suni):

Replying to [comment:3 mark-kendall]:

> A workaround is to enable 'Use FFmpeg's original MPEG-TS muxer'
(Setup->Video->Playback->General Playback)

I do not see such an option on Mythtv 30.

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13557#comment:11>
MythTV <http://www.mythtv.org>
MythTV Media Center
Re: Ticket #13557: Decode errors [ In reply to ]
#13557: Decode errors
-------------------------------------+------------------------------
Reporter: Jarno Suni | Owner: mark-kendall
Type: Bug Report - General | Status: assigned
Priority: critical | Milestone: 31.0
Component: MythTV - Video Decoding | Version: v30-fixes
Severity: high | Resolution:
Keywords: | Ticket locked: 0
-------------------------------------+------------------------------

Comment (by jpilk):

mv mythfilename mythfilename0
Test playback for assorted values of n: 3 worked for me
dd bs=1M skip=n count=40 if=mythfilename0 of=mythfilename

When satisfied
mythcommflag -q --rebuild --file mythfilename
rm mythfilename0

and see comment 9

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13557#comment:12>
MythTV <http://www.mythtv.org>
MythTV Media Center
Re: Ticket #13557: Decode errors [ In reply to ]
#13557: Decode errors
-------------------------------------+------------------------------
Reporter: Jarno Suni | Owner: mark-kendall
Type: Bug Report - General | Status: assigned
Priority: critical | Milestone: 31.0
Component: MythTV - Video Decoding | Version: v30-fixes
Severity: high | Resolution:
Keywords: | Ticket locked: 0
-------------------------------------+------------------------------

Comment (by jpilk):

{{{

Formatting error, so repeating

mv mythfilename mythfilename0

Test playback for assorted values of n: 3 worked for me

dd bs=1M skip=n count=40 if=mythfilename0 of=mythfilename

When satisfied:

mythcommflag -q --rebuild --file mythfilename
rm mythfilename0

and see comment 9 :-)
}}}

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13557#comment:13>
MythTV <http://www.mythtv.org>
MythTV Media Center
Re: Ticket #13557: Decode errors [ In reply to ]
#13557: Decode errors
-------------------------------------+------------------------------
Reporter: Jarno Suni | Owner: mark-kendall
Type: Bug Report - General | Status: assigned
Priority: critical | Milestone: 31.0
Component: MythTV - Video Decoding | Version: v30-fixes
Severity: high | Resolution:
Keywords: | Ticket locked: 0
-------------------------------------+------------------------------

Comment (by Jarno Suni):

Also got decode errors when using VDPAU.

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13557#comment:14>
MythTV <http://www.mythtv.org>
MythTV Media Center
Re: Ticket #13557: Decode errors [ In reply to ]
#13557: Decode errors
-------------------------------------+------------------------------
Reporter: Jarno Suni | Owner: mark-kendall
Type: Bug Report - General | Status: assigned
Priority: critical | Milestone: 31.0
Component: MythTV - Video Decoding | Version: v30-fixes
Severity: high | Resolution:
Keywords: | Ticket locked: 0
-------------------------------------+------------------------------

Comment (by Jarno Suni):

Sometimes decode error happens after many minutes of playback. This did
not happen by 29.

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13557#comment:15>
MythTV <http://www.mythtv.org>
MythTV Media Center
Re: Ticket #13557: Decode errors [ In reply to ]
#13557: Decode errors
-------------------------------------+------------------------------
Reporter: Jarno Suni | Owner: mark-kendall
Type: Bug Report - General | Status: assigned
Priority: major | Milestone: 32.0
Component: MythTV - Video Decoding | Version: v30-fixes
Severity: high | Resolution:
Keywords: | Ticket locked: 0
-------------------------------------+------------------------------
Changes (by mark-kendall):

* priority: critical => major
* milestone: 31.0 => 32.0


--
Ticket URL: <https://code.mythtv.org/trac/ticket/13557#comment:16>
MythTV <http://www.mythtv.org>
MythTV Media Center
Re: Ticket #13557: Decode errors [ In reply to ]
#13557: Decode errors
-------------------------------------+------------------------------
Reporter: Jarno Suni | Owner: mark-kendall
Type: Bug Report - General | Status: assigned
Priority: major | Milestone: 32.0
Component: MythTV - Video Decoding | Version: v30-fixes
Severity: high | Resolution:
Keywords: | Ticket locked: 0
-------------------------------------+------------------------------

Comment (by Jarno Suni):

Frontend crashes occasionally when playing the clip when using
mythfrontend version 31.
https://pastebin.com/XH0c2Liz

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13557#comment:17>
MythTV <http://www.mythtv.org>
MythTV Media Center
Re: Ticket #13557: Decode errors [ In reply to ]
#13557: Decode errors
-------------------------------------+------------------------------
Reporter: Jarno Suni | Owner: mark-kendall
Type: Bug Report - General | Status: assigned
Priority: major | Milestone: 32.0
Component: MythTV - Video Decoding | Version: v30-fixes
Severity: high | Resolution:
Keywords: | Ticket locked: 0
-------------------------------------+------------------------------

Comment (by jpilk):

The clip that you posted played with no problem for me after I had deleted
the first 3 MiB. See Comment 13.

You are attempting to play streams which do not exist in the recording at
the position where the stream analysis is done. I believe that this is
also true for other tickets that you have opened recently. MythTV should
perhaps handle the situation better, but the simple workaround is to delay
the start of the recording until the part-time channel is properly
established.

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13557#comment:18>
MythTV <http://www.mythtv.org>
MythTV Media Center
Re: Ticket #13557: Decode errors [ In reply to ]
#13557: Decode errors
-------------------------------------+------------------------------
Reporter: Jarno Suni | Owner: mark-kendall
Type: Bug Report - General | Status: assigned
Priority: major | Milestone: 32.0
Component: MythTV - Video Decoding | Version: v30-fixes
Severity: high | Resolution:
Keywords: | Ticket locked: 0
-------------------------------------+------------------------------

Comment (by grandmastermarclar):

Starting a recording later may, thanks to scheduling and current events,
miss the beginning. Plus, it's impossible to use mythfrontend to edit such
recordings (of which I have a few from BBC FOUR HD here in the UK).

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13557#comment:19>
MythTV <http://www.mythtv.org>
MythTV Media Center
Re: Ticket #13557: Decode errors [ In reply to ]
#13557: Decode errors
-------------------------------------+------------------------------
Reporter: Jarno Suni | Owner: mark-kendall
Type: Bug Report - General | Status: assigned
Priority: major | Milestone: 32.0
Component: MythTV - Video Decoding | Version: v30-fixes
Severity: high | Resolution:
Keywords: | Ticket locked: 0
-------------------------------------+------------------------------

Comment (by Jarno Suni):

Do you mean I should change each recording rule so that they start 1
minutes later or what? What is a part-time channel? Of course MythTV
should handle the situation better. Currently I can not record any HD
broadcast or play HD live TV. If there is something wrong with the
broadcasts, it is something that I can not do much about.

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13557#comment:20>
MythTV <http://www.mythtv.org>
MythTV Media Center
Re: Ticket #13557: Decode errors [ In reply to ]
#13557: Decode errors
-------------------------------------+------------------------------
Reporter: Jarno Suni | Owner: mark-kendall
Type: Bug Report - General | Status: assigned
Priority: major | Milestone: 32.0
Component: MythTV - Video Decoding | Version: v30-fixes
Severity: high | Resolution:
Keywords: | Ticket locked: 0
-------------------------------------+------------------------------

Comment (by jpilk):

In the UK, the BBC FOUR schedule starts at 19:00 local time. CBeebies, a
channel for toddlers, ends then. They use the same DVB transport, but
their streams have different identifiers. I find that recordings from BBC
FOUR (SD) that are scheduled to start at 18:59 have no problems. 18:58
gives corrupt displays of audio level in the Myth video editor, and
occasionally a segfault. I forget what happens for 18:57 or earlier.

In the past I have had related problems when recording past 19:00 from
CBeebies; and ffmpeg and mythffmpeg have sometimes used different time
offsets for their stream analysis.

There are many other examples of such part-time channels here. The timing
of the changeovers is probably reliable.

There are comments about this buried in
https://www.mythtv.org/wiki/MythDVBcut

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13557#comment:21>
MythTV <http://www.mythtv.org>
MythTV Media Center
Re: Ticket #13557: Decode errors [ In reply to ]
#13557: Decode errors
-------------------------------------+------------------------------
Reporter: Jarno Suni | Owner: mark-kendall
Type: Bug Report - General | Status: assigned
Priority: major | Milestone: 32.0
Component: MythTV - Video Decoding | Version: v30-fixes
Severity: high | Resolution:
Keywords: | Ticket locked: 0
-------------------------------------+------------------------------

Comment (by Jarno Suni):

I also get segmentation faults occasionally when trying to play recordings
from Yle HD channels in Finland. Now new thing with version 31 of the
frontend is that only zoomed left top of video is shown. See the
attachment. The code seems really far from being robust.

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13557#comment:22>
MythTV <http://www.mythtv.org>
MythTV Media Center
Re: Ticket #13557: Decode errors [ In reply to ]
#13557: Decode errors
-------------------------------------+------------------------------
Reporter: Jarno Suni | Owner: mark-kendall
Type: Bug Report - General | Status: assigned
Priority: major | Milestone: 32.0
Component: MythTV - Video Decoding | Version: v30-fixes
Severity: high | Resolution:
Keywords: | Ticket locked: 0
-------------------------------------+------------------------------
Changes (by Jarno Suni):

* Attachment "zoomed_2020-04-04_00-26-44.png" added.

playback of Yle HD channel starts zoomed

--
Ticket URL: <https://code.mythtv.org/trac/ticket/13557>
MythTV <http://www.mythtv.org>
MythTV Media Center
Re: Ticket #13557: Decode errors [ In reply to ]
#13557: Decode errors
-------------------------------------+------------------------------
Reporter: Jarno Suni | Owner: mark-kendall
Type: Bug Report - General | Status: assigned
Priority: major | Milestone: 32.0
Component: MythTV - Video Decoding | Version: v30-fixes
Severity: high | Resolution:
Keywords: | Ticket locked: 0
-------------------------------------+------------------------------

Comment (by Jarno Suni):

If I play such a recording using ASX stream from MythWeb by VLC, there are
no those problems (but I miss at least bookmark handling).

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

1 2  View All