Bug #3853
HTSP and one not all (this is the strange thing) HEVC 4k channels
100%
Description
VERSION: Last git (master)
ARCH: x86_64 (maybe any)
PROBLEM: I'm using Tvheadend in a pc as backend for some arm boxes with kodi and never got a problem until yesterday evening (euro 2016 event). For this event our national tv started more or less a week ago a new TEST channel in hevc main10 on Eutelsat 13E 12399H 27500: this channel was encrypted since his born, and until yesterday evening was the exact same copy of hotbird 4k1 channel (same video feed) plus encryption: i could watch it with no problems. When the live transmission has begun, and consequentially the video feed change from hotbird 4k1, i wasn't able to tune that channel anymore with kodi and htsp client.
WHAT HAPPENS IN KODI: if i click on that channel, the stream seams not to start, the channel is selected, but no audio and no video in background. The debug log of kodi's client reports "Get - failed to get stream" , if i start a recording with a timer of that channel and than soon play that recording i can play it without issues (so it's a bypass for this problem).
Other 4k channels like funbox or 4k1 are playing fine.
WHAT HAPPENS WITH OTHER PROTOCOLS: No problem with http stream, mux and service direct link streaming the TEST channel plays fine.
WHAT HAPPENS IN TVHEADEND: So if i check in the subscription panel i can see that the live stream seems (but of course not) to work, i start a debug logging of htsp protocol (attached ) and i notice that for this channel there is no " subscription start" like other channels.
What do you think about? I've notice in kodi forums that in the last days other people have similar problems ,maybe it's related to uefa hevc feed don't know.
I can provide a video sample directly recorded from that channel if needed.
Just to be extremely complete(better report every change) the other thing that i've change these days in tvheadend was the name of TEST channel from TEST to rai4k but of course i've tried to delete mux, rescan and remap that channel.
Thanks for your time
Files
History
Updated by Antonio Tex over 8 years ago
UPDATE: i've analyzed the video with ffmpeg and it jumped out that (VERY strange for a 4K feed) it was a 4k hevc main and not main10 video. while normally 4k channels are in 2160p hevc main10, so maybe something it's not corrected initialize with htsp?
Updated by Antonio Tex over 8 years ago
UPDATE2: i can confirm this, when the video feed has been changed from hotbird 4k1 to the live event and consequentially , the video that was in hevc main10 has changed to a simple hevc main, i cannot tune that channel with htsp protocol anymore, no "subscription start", i hope someone can investigate. No problem if i record the channel .
Updated by Antonio Tex over 8 years ago
Really sorry if i update this issue for the third time. Ignore my second update, this evening the transmission was with 10bit and the streaming sill doesn't work so i really don't know were to change something. what kind of log should i provide? i only put htsp log because i've noticed "no subscription start " for this channel. It's a test Channel and tvheadend in service list isn't able to get "service name" there is a blank space and when i map it tvheadend maps it with this name:" DVB-S Network/12399H/{PMT:1010} " when i change that name to Rai4k htsp streaming won't go anymore. my theory of Update1&2 was wrong : i repeat the only thing i've touch is the name of the channel from that moment nothing. As i said i'm not the only one with this problem Thanks in advance
Updated by Michael Freudenberg over 8 years ago
Hello,
I would like to confirm, that I have exactly the same issues with streaming HEVC encoded channels here in Germany, whose are new since the introduction of DVB-T2 HD.
My setup is as follows:
tvheadend 4.0.8 on raspbian jessie
2x August DVB-T2 USB Receiver
Client: Lenovo X201 Laptop, Windows 10 x64, Kodi 16.1 (Jarvis).
I can record HEVC encoded channels, and play them back with Kodi. The playback is a bit slow, but I think that's due to the lack of HW Support of my Laptop.
here is the end of my kodi.log where I try to open a HEVC encoded DVB-T2 HD channel:
07:47:28 T:3184 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED 07:47:28 T:8300 NOTICE: Creating InputStream 07:47:28 T:8300 NOTICE: Creating Demuxer 07:47:28 T:8300 ERROR: CSelectionStreams::Get - failed to get stream 07:47:28 T:8300 WARNING: CDVDMessageQueue(audio)::Put MSGQ_NOT_INITIALIZED 07:47:28 T:8300 WARNING: CDVDMessageQueue(video)::Put MSGQ_NOT_INITIALIZED
I wanted to upload a sample recording, but it was not able.
Updated by Michael Freudenberg over 8 years ago
Here is ffmpeg info about a recorded show from the channel "Das Erste HD"
[mpegts @ 0x1a952d0] Could not find codec parameters for stream 2 (Audio: mp3, 0 channels, s16p): unspecified frame size Consider increasing the value for the 'analyzeduration' and 'probesize' options Input #0, mpegts, from 'Tagesthemen.Mit Wetter.2016-06-01.22-15.ts': Duration: 00:08:43.54, start: 32206.877378, bitrate: 3505 kb/s Program 769 Metadata: service_name : Das Erste HD service_provider: MEDIA BROADCAST Stream #0:0[0x551]: Video: hevc (Main) ([36][0][0][0] / 0x0024), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 50 tbc Stream #0:1[0x552](ger): Audio: eac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, fltp, 192 kb/s No Program Stream #0:2[0x556]: Audio: mp3, 0 channels, s16p
Updated by Antonio Tex about 8 years ago
Hi again all, may i ask if somebody has investigated during this months? Now with latest git revision the problem has reappeared with FunBox 4k channel, on hotbird 13E. Could someone of whom can receive this channel tests if it's not working also for you? Many thanks (note this channel worked well until a week or so ago) they must be change something...
Updated by Antonio Tex about 8 years ago
- File NotWorking.txt NotWorking.txt added
- File Working.txt Working.txt added
So the problem for me it is still here. I've spoken with kodi's htsp client developer and they said that it "tvheadend problem".. please can someone investigate on this? @perexg ? Do you need something in particular to investigate? maybe a video sample? it seems to be htsp that is not able to parse some hevc streams, so an htsp client will never receive a video feed. i've attached a sample of working and not working channels hoping that someone could find the problem, of course i'm on last git (build today). The 2 sample are taken with profile "pass" and cut with ffmpeg \-i video \-c copy \-t 5 out.ts-. Unfortunately the fact that they are uhd channels combined with 386kbit of upload speed i have to cut it.
Thank you , i hope that someone would say something for now 3 of 5 Uhd channels on hotbird 13E are Working, 2 of them Rai 4k and Funbox are not.
https://mega.nz/#!z4hGiT4D!LUzJFAVmN3Um-_44VNu4oKsu2gWsvVUtKT0RWFdg0WQ >not Working
https://mega.nz/#!OsgHRJbK!VEYAhQ91Kd4K1pZHAT3wD_mOJVdqIYmz7Y1TcqOYq0E > working
Updated by Jaroslav Kysela about 8 years ago
I'm sorry. I'm really busy with other things, so I'm not able to do anything with tvh these days except quick fixes.
Updated by Antonio Tex about 8 years ago
Thank you for answering @perexg of course don't worry, just wanted to point out this problem. Again thanks for your great work.
Updated by Jaroslav Kysela about 8 years ago
- Status changed from New to Fixed
- % Done changed from 0 to 100
Applied in changeset commit:tvheadend|18b3457479a2d9c0fd719a82a68a971969b1b783.
Updated by Antonio Tex about 8 years ago
Sorry @perexg ,Just built tvheadend-git 4.1.r2305.g18b3457-1 , for me it seems not be fixed here is a debug log with htsp,htsp-sub,htsp-req,htsp-ans,parser,TS,subscription,service-mapper,mpegts : Simply played 2 channel, Hotbird 4k that works, funbox that doesn't work. Thanks again for your patient
Anthony
Updated by Antonio Tex about 8 years ago
Thank you very much! it's fixed now and also for other UHD hevc main10 channels :)
Really thank you!