Bug 376805 - No picture in German DVB-T2 HD channel
Summary: No picture in German DVB-T2 HD channel
Status: RESOLVED FIXED
Alias: None
Product: kaffeine
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Mauro Carvalho Chehab
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-22 15:02 UTC by yulinux
Modified: 2017-02-23 12:10 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yulinux 2017-02-22 15:02:24 UTC
Hello, 
I use kaffeine from git and would like to see the German DVB-T2 HD channels. The channel is found automatically and is unencrypted, and also the sound works. But there is no picture. The system has all necessary codecs installed, and VLC also plays the used H.265 codec. If I record the channel, also the resulting file has no video. In tvheadend everything is fine, so there should be no problem with the hardware or the kernel drivers (Linux 4.10).

The relevant log part is here:
22-02-17 15:28:38.667 [Info    ] Using built-in dvb device manager
22-02-17 15:28:38.872 [Debug   ] New device detected: /org/kde/solid/udev/sys/devices/pci0000:00/0000:00:13.2/usb2/2-2/dvb/dvb0.demux0
22-02-17 15:28:38.872 [Debug   ] New device detected: /org/kde/solid/udev/sys/devices/pci0000:00/0000:00:13.2/usb2/2-2/dvb/dvb0.dvr0
22-02-17 15:28:38.872 [Debug   ] New device detected: /org/kde/solid/udev/sys/devices/pci0000:00/0000:00:13.2/usb2/2-2/dvb/dvb0.frontend0
22-02-17 15:28:39.310 [Info    ] Found dvb device : Realtek RTL2832 (DVB-T)
22-02-17 15:28:39.311 [Debug   ] New device detected: /org/kde/solid/udev/sys/devices/pci0000:00/0000:00:13.2/usb2/2-2/dvb/dvb0.frontend1
22-02-17 15:28:39.980 [Info    ] Found dvb device : Panasonic MN88473
22-02-17 15:28:39.980 [Debug   ] New device detected: /org/kde/solid/udev/sys/devices/pci0000:00/0000:00:13.2/usb2/2-2/dvb/dvb0.net0
22-02-17 15:29:01.551 [Debug   ] tune to: T2 650000000 8MHz AUTO NONE AUTO AUTO AUTO NONE 0
22-02-17 15:29:03.077 [Debug   ] tuning succeeded on 650.00 MHz
22-02-17 15:29:03.114 [Debug   ] Short section
22-02-17 15:29:03.124 [Debug   ] EPG channel invalid
22-02-17 15:29:03.135 [Debug   ] EPG channel invalid
22-02-17 15:29:03.206 [Debug   ] EPG channel invalid
22-02-17 15:29:03.237 [Debug   ] EPG channel invalid
22-02-17 15:29:03.247 [Debug   ] EPG table 0x4e, extension 0x0301, session 0/1, size 733
22-02-17 15:29:03.349 [Debug   ] EPG channel invalid
22-02-17 15:29:03.399 [Debug   ] EPG table 0x50, extension 0x0301, session 32/248, size 534
22-02-17 15:29:03.417 [Debug   ] Got subtitle id#1366: Teletext subtitles - [German]
22-02-17 15:29:03.417 [Debug   ] Got subtitle id#2: Teletext - [German]
[00007f8964021118] mpeg4audio packetizer: AAC channels: 2 samplerate: 48000
22-02-17 15:29:03.419 [Debug   ] EPG channel invalid

Afterwards only the EPG messages get repeated over and over.

Any idea how to debug this further? It's a bit unfortunate that there are so many EPG messages when using --debug. Maybe it makes sense to make a special parameter for EPG debug only?

Thanks in advance.
Comment 1 Mauro Carvalho Chehab 2017-02-22 17:16:33 UTC
(In reply to yulinux from comment #0)
> Hello, 
> I use kaffeine from git and would like to see the German DVB-T2 HD channels.
> The channel is found automatically and is unencrypted, and also the sound
> works. But there is no picture. The system has all necessary codecs
> installed, and VLC also plays the used H.265 codec. If I record the channel,
> also the resulting file has no video. In tvheadend everything is fine, so
> there should be no problem with the hardware or the kernel drivers (Linux
> 4.10).

I guess I don't have any stream here with H.265 encoding for video. It would be nice if you could provide me one, as I can use it for testing purposes.

I need the full stream with all PIDs, plus the DVB-T2 parameters from the original video. This way, I can reproduce the same transponder you have with my RF modulator.

You need to be sure that it is receiving everything, including video and DVB tables (PAT, PMT, NIT, EPG, ...). Kaffeine filters only the PIDs it recognizes. So, you'll need to use dvbv5-zap with the "-P" flag (https://linuxtv.org/wiki/index.php/Dvbv5-zap). Just 60 seconds is enough.

You can record 60 seconds it with:

$ dvbv5-zap -c dvb_channel.conf "trilhas sonoras" -r -t60 -P

Feel free to send me in priv a link for me to download the file.

dvbv5-zap requires an input file with the channels, generated via dvbv5-scan (or some other scan tool, like w_scan).
Comment 2 Mauro Carvalho Chehab 2017-02-23 11:56:30 UTC
The issue is that H-265 (HEVC) video uses a new type for the stream type. Fixed by adding new video and audio types to Kaffeine.
Comment 3 Mauro Carvalho Chehab 2017-02-23 12:10:52 UTC
Git commit 0b45a9e934fdb7282f877f8ca4f39015cd16a31f by Mauro Carvalho Chehab.
Committed on 23/02/2017 at 11:56.
Pushed by mauroc into branch 'master'.

dvbsi: update PMT PSI stream types

Several new audio and video codec type were added along the time.
In particular, some EU countries are now using HEVC (H-265)
streams for HD channels.

Add support to those new types.
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>

M  +10   -0    src/dvb/dvbsi.cpp

https://commits.kde.org/kaffeine/0b45a9e934fdb7282f877f8ca4f39015cd16a31f