Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#12945 closed Bug Report - General (fixed)

DVB-T2 HD in Germany (Berlin) test services cannot be viewed correctly

Reported by: linux@… Owned by: Stuart Auchterlonie
Priority: major Milestone: 0.28.1
Component: MythTV - DVB Version: 0.28.0
Severity: medium Keywords: fixes/0.28
Cc: Ticket locked: no

Description

In Germany DVB-T2 HD will replace current DVB-T in March 2017. As in many other regions, in Berlin test services have been setup to check operation of used devices. In Berlin 642 MHz is used with a multiplex of 6 services. 2 services are public, 4 are scrambled (Irdeto).

I will add my findings (failures/glitches) on a step by step basis.

As requested on IRC, i'll start adding dvbsnoop captures of PAT, PMT, SDT, AIT and possibly BAT

Attachments (9)

dvbsnoop_-s_pidscan_642MHz.out (3.3 KB) - added by Guenter Kukkukk <linux@…> 3 years ago.
Overview of all PIDS at 642 MHz
dvbsnoop_PAT_642MHz.out (1.5 KB) - added by Guenter Kukkukk <linux@…> 3 years ago.
PAT at 642 MHz
dvbsnoop_NIT_642MHz.out (4.2 KB) - added by Guenter Kukkukk <linux@…> 3 years ago.
NIT at 642 MHz
dvbsnoop_SDT_642MHz.out (7.4 KB) - added by Guenter Kukkukk <linux@…> 3 years ago.
SDT at 642 MHz
dvbsnoop_EIT_642MHz.out (13.0 KB) - added by Guenter Kukkukk <linux@…> 3 years ago.
EIT at 642 MHz
dvbsnoop_PMT_DasErsteHD_0x550_642MHz.out (6.8 KB) - added by Guenter Kukkukk <linux@…> 3 years ago.
PMT for PID 0x550 Das Erste HD
dvbsnoop_AIT_DasErsteHD_0x557_642MHz.out (2.7 KB) - added by Guenter Kukkukk <linux@…> 3 years ago.
AIT 0x557 Das Erste HD at 642 MHz
dvbsnoop_PMT_ZDFHD_0x560_642MHz.out (3.8 KB) - added by Guenter Kukkukk <linux@…> 3 years ago.
PMT 0x560 ZDF HD at 642 MHz (different to 0x550)
dvbsnoop_AIT_ZDFHD_0x567_642MHz.out (8.7 KB) - added by Guenter Kukkukk <linux@…> 3 years ago.
AIT 0x567 of ZDF HD at 642 MHz

Download all attachments as: .zip

Change History (18)

Changed 3 years ago by Guenter Kukkukk <linux@…>

Overview of all PIDS at 642 MHz

comment:1 Changed 3 years ago by Stuart Auchterlonie

Component: MythTV - GeneralMythTV - DVB
Milestone: unknown29.0

Changed 3 years ago by Guenter Kukkukk <linux@…>

Attachment: dvbsnoop_PAT_642MHz.out added

PAT at 642 MHz

Changed 3 years ago by Guenter Kukkukk <linux@…>

Attachment: dvbsnoop_NIT_642MHz.out added

NIT at 642 MHz

Changed 3 years ago by Guenter Kukkukk <linux@…>

Attachment: dvbsnoop_SDT_642MHz.out added

SDT at 642 MHz

Changed 3 years ago by Guenter Kukkukk <linux@…>

Attachment: dvbsnoop_EIT_642MHz.out added

EIT at 642 MHz

Changed 3 years ago by Guenter Kukkukk <linux@…>

PMT for PID 0x550 Das Erste HD

Changed 3 years ago by Guenter Kukkukk <linux@…>

AIT 0x557 Das Erste HD at 642 MHz

Changed 3 years ago by Guenter Kukkukk <linux@…>

PMT 0x560 ZDF HD at 642 MHz (different to 0x550)

Changed 3 years ago by Guenter Kukkukk <linux@…>

AIT 0x567 of ZDF HD at 642 MHz

comment:2 Changed 3 years ago by Guenter Kukkukk <linux@…>

I'm atm using very recent git fixes/0.28 branch.

With mythfrontend i can start *lifeTV* on both (public) services - but no video, only sound. Mythfrontend gets very busy spitting out lots of same error messages and doesn't respond to the keybord anymore.

With mythfrontend, *recording* of both services does work. Playback of those recordings does not always work (with mythfrontend). Other frontends (KODI, vlc, smplayer, ...) can play those recordings.

When using KODI with the MythTV PVR, nearly all is working as expected: LifeTV, recording, playback. Sometimes more than one tuning request (LifeTV) is needed. During *playback* of those recordings, "jumping forward/backwards" or "player fastforward/fastbackward" does *not* work! Most of the time the playback just ends abruptly.

comment:3 Changed 3 years ago by Guenter Kukkukk <linux@…>

Hmm - took me some time to work this out - now it looks obvious and simple. :-)

With this patch mythfrontend is able to switch to lifeTV, showing *video and sound* - using DVB-T2 HD:

diff --git a/mythtv/external/FFmpeg/libavformat/mpegts-mythtv.c b/mythtv/external/FFmpeg/libavformat/mpegts-mythtv.c index 2bbf89a..b62a923 100644 --- a/mythtv/external/FFmpeg/libavformat/mpegts-mythtv.c +++ b/mythtv/external/FFmpeg/libavformat/mpegts-mythtv.c @@ -717,6 +717,7 @@ static const StreamType? ISO_types[] = {

{ 0x10, AVMEDIA_TYPE_VIDEO, AV_CODEC_ID_MPEG4 }, { 0x11, AVMEDIA_TYPE_AUDIO, AV_CODEC_ID_AAC_LATM }, /* LATM syntax */ { 0x1b, AVMEDIA_TYPE_VIDEO, AV_CODEC_ID_H264 },

+ { 0x24, AVMEDIA_TYPE_VIDEO, AV_CODEC_ID_HEVC },

{ 0xd1, AVMEDIA_TYPE_VIDEO, AV_CODEC_ID_DIRAC }, { 0xea, AVMEDIA_TYPE_VIDEO, AV_CODEC_ID_VC1 }, { 0 },

Version 0, edited 3 years ago by Guenter Kukkukk <linux@…> (next)

comment:4 Changed 3 years ago by Stuart Auchterlonie

Owner: set to JYA
Status: newassigned

Jya,

Can you review this? I've taken a quick look at other differences in the definitions in this area from the ffmpeg original, and there appear to be quite a number of other things we should pull across at the same time.

Note that since we've just done a resync, the patches for 0.28 and master are potentially different.

Regards Stuart

comment:5 Changed 3 years ago by JYA

LGTM. it will be the same in master.

Feel free to commit it.

Though hevc is evil.

comment:6 Changed 3 years ago by Stuart Auchterlonie

Owner: changed from JYA to Stuart Auchterlonie
Status: assignedaccepted

comment:7 Changed 3 years ago by Guenter Kukkukk <linux@…>

In 07c59e7d962c9e046c0960ae42d2a1d38d5508b3/mythtv:

Refs #12945 - Add HEVC to the mpegts parser.

Enables use of DVB-T2 broadcasts in Germany.

Signed-off-by: Stuart Auchterlonie <stuarta@…>

comment:8 Changed 3 years ago by Guenter Kukkukk <linux@…>

Resolution: fixed
Status: acceptedclosed

In 128e29782fa3f397bb7b54d260be4b85606bcdeb/mythtv:

Fixes #12945 - Add HEVC to the mpegts parser.

Enables use of DVB-T2 broadcasts in Germany.

Signed-off-by: Stuart Auchterlonie <stuarta@…>
(cherry picked from commit 07c59e7d962c9e046c0960ae42d2a1d38d5508b3)

comment:9 Changed 3 years ago by Stuart Auchterlonie

Milestone: 29.00.28.1
Note: See TracTickets for help on using tickets.