Bug #5771
HEVC 4K channels don't get descrambled
0%
Description
Just tested a few 4K channels in HEVC encoding, which are known to be working in other software like DVBDream. Tvheadend fails to descramble it with no log errors, except constant discontinuity reports. Unknown unplayable traffic at output at 64 Kb/s or so.
History
Updated by Flole Systems about 5 years ago
You are using the old 4.2 version, update to the latest version and try again.
Updated by Victor S about 5 years ago
Flole Systems wrote:
You are using the old 4.2 version, update to the latest version and try again.
Just updated it to 4.3-1854~gfda89e85e and there is no difference. However, any other channel in H.264 has no problem being descrambled, so CA and source are configured correctly.
...
2019-11-11 12:12:30.727 TS: IPTV/Test HD 4K HEVC/Test HD 4K HEVC: HEVC #1101 Continuity counter error (total 1)
#1101 Continuity counter error (total 9)
2019-11-11 12:12:41.280 TS: IPTV/Test HD 4K HEVC/Test HD 4K HEVC: HEVC
2019-11-11 12:12:51.532 TS: IPTV/Test HD 4K HEVC/Test HD 4K HEVC: HEVC @ #1101 Continuity counter error (total 14)
2019-11-11 12:13:07.205 subscription: 0001: "HTTP" unsubscribing from "Test HD 4K HEVC", hostname="192.168.1.213", client="VLC/3.0.6 LibVLC/3.0.6"
Updated by Joe User about 5 years ago
Victor S wrote:
so CA and source are configured correctly.
Maybe, maybe not... show how it is configured.
What hardware???
show a --trace descrambler for a start.
Updated by Victor S about 5 years ago
Joe User wrote:
Victor S wrote:
so CA and source are configured correctly.
Maybe, maybe not... show how it is configured.
What hardware???
show a --trace descrambler for a start.
May be not? I clearly mentioned in previous message, that another channel, encoded in H.264 is being descrambled through the same CA config. What a point of that rejection? And what about hardware? It requires HEVC supported GPU or what? I opened DVB Dream player on the same host and it DOES play the same HEVC channel and it does descramble it. TVheadend is installed in VM running Ubuntu 18, host is Windows 2012R2.
Hardware is shared :
Win DVBDream -> Descrambling: H.264 (any res) - YES , HEVC 4k - YES
TVHeadend Ubuntu (VM) -> Descrambling: H.264 (any res) - YES, HEVC 4k - NO
"--trace descrambler"
and where I suppose to put that? I start it "systemctl tvheadend start"
Updated by Jaroslav Kysela about 5 years ago
Try vlc and the direct MPEG-TS stream (pass profile), if there's a bug in the parser. The descrambler does not differentiate the content.
Updated by Victor S about 5 years ago
Jaroslav Kysela wrote:
Try vlc and the direct MPEG-TS stream (pass profile), if there's a bug in the parser. The descrambler does not differentiate the content.
It is already pass profile.
Updated by Victor S about 5 years ago
So? There is nobody can test this out? Satellites are filled with 4K channels nowadays.
Updated by Pablo R. about 5 years ago
"--trace descrambler,capmt,tbl-base"
Provide logs https://tvheadend.org/projects/tvheadend/wiki/Debugging#Logging
Tune to a problematic channel and wait for about a minute. Then, attach log.
Updated by Joe User about 5 years ago
Victor S wrote:
So? There is nobody can test this out? Satellites are filled with 4K channels nowadays.
Very funny!
Joe User wrote:
Maybe, maybe not... show how it is configured.
What hardware???
show a --trace descrambler for a start.
Luis Alves wrote:
In what machine are you running tvh?
VM, Ubuntu, Windows ARE NOT hardware.
No configuration settings????
No logs????
No help.
Updated by Victor S about 5 years ago
Very funny!
I don't see anything funny here. You declared HEVC support, I say it's not working. And you can't perform the test, how did you implement it at the first place then, if you unable to tune any HEVC channels? This is funny.
VM, Ubuntu, Windows ARE NOT hardware.
Why not to be more specific here? Hardware is a wide definition. What does make a point here? GPU? Mobo? CPU? What?? P7P55LX, i5 760. Is it helpful info? No gpu in use in this case, but guess what, CPU decoding does it.
I've several times said that my hardware is capable to decode 4K HEVC, because I have tested it.
No configuration settings????
What config you want? I have to dump entire config, including sensitive data of cccam server and stream coming from TBS 6909x?
No logs????
If you'd read the posts, I have asked where exactly I put that. "and where I suppose to put that? I start it "systemctl tvheadend start"" asked 6 days ago
No help.
How rude and careless.
Updated by Victor S about 5 years ago
2019-11-18 14:29:44.633 [WARNING] TS: TB6909x/HEVC 4K/{PMT:1100}: AAC-LATM #1102 Continuity counter error (total 1)
#1101 Continuity counter error (total 1)
2019-11-18 14:29:44.686 [WARNING] TS: TB6909x/HEVC 4K/{PMT:1100}: HEVC
2019-11-18 14:35:22.832 [WARNING] TS: TB6909x/HEVC 4K/{PMT:1100}: HEVC #1101 Continuity counter error (total 1)
#1101 Continuity counter error (total 12)
2019-11-18 14:35:33.440 [WARNING] TS: TB6909x/HEVC 4K/{PMT:1100}: HEVC
2019-11-18 14:35:43.789 [WARNING] TS: TB6909x/HEVC 4K/{PMT:1100}: HEVC @ #1101 Continuity counter error (total 24)
So informational... VLC shows blank with running traffic. The rest of log is "Subscribing / Unsubscribing" requests, nothing else. If I play any other H.264 scrambled CH, it decodes just fine.
Updated by Pablo R. about 5 years ago
Pablo R. wrote:
"--trace descrambler,capmt,tbl-base"
Provide logs https://tvheadend.org/projects/tvheadend/wiki/Debugging#Logging
Tune to a problematic channel and wait for about a minute. Then, attach log.
Again, provide debugging logs. See link for more info.
Updated by Jaroslav Kysela about 5 years ago
The best is to attach 30 seconds of the mpeg-ts stream (the "pass" profile) to check it. It seems that descrambling works (the stream type does not matter). HEVC is tested, but your stream might be a little different. There is plenty of parameters which may be different.
Updated by Victor S about 5 years ago
Jaroslav Kysela wrote:
The best is to attach 30 seconds of the mpeg-ts stream (the "pass" profile) to check it. It seems that descrambling works (the stream type does not matter). HEVC is tested, but your stream might be a little different. There is plenty of parameters which may be different.
I will setup a physical host and will test again and will attach a sample here.
Updated by Victor S about 5 years ago
After setting up on physical host, I got it decoded with Tvheadend 4.3-1857~g221c29b40 version, however, it's barely watchable without any visible load on the host, following with lots of "Continuity counter error" messages in the log.