Tvheadend - Bug #2222 Kodi: Sound but no picture 2014-08-13 17:04 - Randy M Status: Fixed Start date: 2014-08-13 Priority: Normal Due date: Assignee: % Done: 0% Category: General Estimated time: 0.00 hour Target version: Found in version: 3.9.1236 Affected Versions: Description Running 3.9.1236 and since a few versions i have, for 1 channel only, no picture but only sound. Did several restarts and removed and add channel back without luck, any ideas? Debug output http://pastebin.com/aedyefd6 Index PID Type Language Details 0x0ed9 / 3801 PCR 0x0ed8 / 3800 PMT 1 0x0ed9 / 3801 MPEG2VIDEO 2 0x0eda / 3802 MPEG2AUDIO dut 4 0x01c0 / 448 MPEG2VIDEO 3 0x1389 / 5001 CA CAIDS: 0604:000000 After filtering and reordering (without PCR and PMT) Index PID Type Language Details 1 0x0ed9 / 3801 MPEG2VIDEO 2 0x0eda / 3802 MPEG2AUDIO dut 4 0x01c0 / 448 MPEG2VIDEO 3 0x1389 / 5001 CA CAIDS: 0604:000000 History #1-2014-08-13 18:17 - J H Same here with Ziggo and Zenderoverzicht HD. Only 1 affected channel, sound but no picture. Other channels on the same mix work just fine. #2-2014-08-13 18:26 - J H Loglevel debug: enabled 2014-08-13 18:22:27.947 mpegts: 738000 in Ziggo - tuning on Sundtek DVB-C : DVB-C #0 2014-08-13 18:22:28.219 subscription: "192.168.1.104 [ huisman XBMC Media Center ]" subscribing on "Zenderoverzicht HD", weight: 150, adapter: "Sundtek DVB-C : DVB-C #0", network: "Ziggo", mux: "738000", provider: "Ziggo", service: "Zenderoverzicht HD", hostname: "192.168.1.104", username: "huisman", client: "XBMC Media Center" 2014-08-13 18:22:31.954 parser: transport stream H264, DTS discontinuity. DTS = 115200, last = 0 2014-08-13 18:22:33.213 parser: transport stream H264, DTS discontinuity. DTS = 230400, last = 115200 2014-08-13 18:22:34.481 parser: transport stream H264, DTS discontinuity. DTS = 345600, last = 230400 2014-08-13 18:22:35.804 parser: transport stream H264, DTS discontinuity. DTS = 460800, last = 345600 2014-08-13 18:23:03.525 HTTP: 192.168.1.46: / -- 401 2014-08-13 18:23:03.778 subscription: "192.168.1.104 [ huisman XBMC Media Center ]" unsubscribing from "Zenderoverzicht HD", hostname="192.168.1.104", username="huisman", client="xbmc Media Center" 2018-07-23 1/10
#3-2014-08-14 08:34 - Randy M After a re-install with a newer version (1278 and 1281) it doesn't play at all. From 16 channels in this mux 2 are affected with this "bug". I'll enable debug when home and upload log. #4-2014-08-15 15:12 - Randy M XBMC debug log (if useful) from other user can be found here http://gathering.tweakers.net/forum/list_message/42715753#42715753 #5-2014-08-22 23:38 - Randy M I tested a few versions, 3.4 and up until 3.9.512 and then the specific channel works. I think when i upgrade to 3.9.1084 it still works but need to test, after that it breaks! #6-2014-08-23 12:31 - Randy M Version 3.9.1341 does work on ipad but doesn't in XBMC 1. Nick Jr. works on version 3.4 for XBMC and ipad 2. Nick Jr. works on version 3.9.1341 for ipad 3. Nick Jr. DOESN'T work on version 3.91341 for XBMC http://gathering.tweakers.net/forum/list_message/42749698#42749698 #7-2014-08-23 18:14 - glenn ch What do you mean by Ipad? vlc, tvh app, xbmc,..? You can try with the new xbmc tvh addon from here: http://forum.xbmc.org/showthread.php?tid=187521 (windows builds on last page, linux a few pages back) #8-2014-08-26 16:05 - Randy M @glenn Actually i'm not sure how he played it on his ipad. What i do know is that using "Adam's" addon doesn't solve the issue. I also tested it on my android phone using TVHguide (http://john-tornblom.github.io/tvhguide/download.html) and BSplayer and i'm getting the same result, channel won't play. When i downgrade to version 3.9.512 everything is working again bot in XBMC and BSplayer. #9-2014-08-27 00:47 - glenn ch Does v3.9.1120 work? If so, does v3.9.1133? 2018-07-23 2/10
#10-2014-09-07 00:54 - Randy M I'll test them asap. #11-2014-09-08 20:53 - Randy M I didn't have 1120 in my possession but do have 1084, that one works. When i installed 1133, it breaks #12-2014-09-21 17:05 - Martijn Hoogenbosch Is there any progress on this issue? I have the same issue, on two channels: Zenderoverzicht HD Nick Jr. @ipad tvh app played with vlc player the channels work just fine. Old versions work fine too. #13-2014-10-06 16:58 - J H Just noticed Nostalgie Net also doesn't work with recent build #14-2014-11-12 22:18 - Martijn Hoogenbosch Is there any progress on this issue. Now i know i cannot push anyone but i'd like to see if i can help. Maybe provide more logfiles, maybe provide a remote session of some kind? #15-2014-11-16 21:09 - Martijn Hoogenbosch Ziggo TV also doesn't work anymore. #16-2014-11-16 21:31 - Martijn Hoogenbosch There are now six channels which doesn't work anymore since 3.9.1133 Nick Jr. Nostalgienet Zenderoverzicht HD Ziggo TV Euronews France2 #17-2014-12-08 14:38 - Beralt Meppelink 2018-07-23 3/10
I think I tracked this down to the muxer. When doing a DVR with one of the channels mentioned, and using the the Matroska stream profile, not a single byte ends up on disk. Changing this to a pass-through muxer solves these problems entirely. Moreover the mentioned channels seem to report strange properties on their streams when using the pass-through muxer. This might explain why the internal muxer won't add those to the resulting MKV stream. Unfortunately I don't own a subscription to most of the channels mentioned here. I tested the above with NostalgieNet. #18-2014-12-08 15:24 - Beralt Meppelink - File Time-12-08-2014-11_51.ts added Attached a short NostalgieNet TS file which does not work if you would use the Matroska muxer. #19-2014-12-08 16:15 - Jaroslav Kysela This issue should be fixed in master, commits: tsfix, htsp: wait only for first video stream globalheaders: reduce scan time, add warning for disabled streams Note that the second video stream does contain some "unknown" data (it is not really mpeg2video stream). It completely confused tvh.. #20-2014-12-08 20:42 - J H Just updated to latest git version and still the same problem with these channels. #21-2014-12-08 20:55 - Jaroslav Kysela J H wrote: Just updated to latest git version and still the same problem with these channels. Grab TS stream (from service - use URL in the services grid - configuration) and upload it here.. EDIT: It appears like an another problem than with the NostalgieNet channel.. #22-2014-12-08 21:48 - J H - File Euronews_530.ts added - File France2_465.ts added - File NickJr_650.ts added - File NostalgieNet_650.ts added - File Zenderoverzicht_HD_738.ts added - File Ziggo_TV_658.ts added #23-2014-12-12 16:42 - Jaroslav Kysela I tried all these.ts streams and they work with the recent code. Not sure which issues you have with them. Only France2 has wrong PMT tables - it's 2018-07-23 4/10
fixed in v3.9-2228-g9469ef0. EDIT: Tested with XBMC 13.2. #24-2014-12-12 17:08 - J H - File kodi log France 2.log added I have the latest and greatest version running now, and no France 2 for example. If VLC plays the streams correct, would you suggest there's something wrong with the PVR part of XBMC/KODI? #25-2014-12-12 17:14 - J H Ok, just tested my own.ts files on Kodi, they play fine. Stupid I haven't tested before. I exported the files with VLC and to be sure, VLC does not alter the.ts file in some kind of way? #26-2014-12-12 17:56 - Jaroslav Kysela J H wrote: Ok, just tested my own.ts files on Kodi, they play fine. Stupid I haven't tested before. I exported the files with VLC and to be sure, VLC does not alter the.ts file in some kind of way? It's better to use 'wget' to the play URL in the service grid. But I think that vlc saves streams without mods by default. Could you try vlc, but force the 'matroska' profile? Just add '?profile=matroska' or '&profile=matroska' (the second one with & is valid if you see?title=) to the end of URL offered in tvh webui.. Matroska uses same A/V data packetizer like the HTSP protocol (used by XBMC). #27-2014-12-12 20:56 - J H Just tried and with the matroska profile VLC plays Euronews, France 2, Nick Jr, NostalgieNet just fine. Zenderoverzicht HD; same problem - frozen ZiggoTV plays fine on VLC and Kodi, so that one can be removed from the list. #28-2014-12-12 21:00 - J H NostalgieNet is audio only on Kodi #29-2014-12-12 23:13 - Jaroslav Kysela - Subject changed from Sound but no picture to Kodi: Sound but no picture Could you use '--enable-tsdebug' for configure and run tvheadend with the '--tsdebug <dir>' option? I would check a short (20 second).ts stream (use whole mux URL from the mux grid) for Zenderoverzicht HD. Two files should be in the tsdebug directory. It's enough to upload only mux.ts one. 2018-07-23 5/10
#30-2014-12-13 10:49 - J H - File 738MHz in Ziggo-1418426488-0x1ae29b0-mux.ts added #31-2014-12-19 02:01 - Randy M I updated today to version 3.9.2280 and still have (even more) channels that don't work. Haven't read the follow-ups that thoroughly but will try to provided info. (can also give remote access to my TVH system if wanted, just drop me a PM) #32-2014-12-19 08:46 - Randy M I checked system but it's unclear how to provide the needed files. Any assistance? #33-2014-12-22 17:29 - J H Jaroslav, could please take a look at the mux.ts file I added? #34-2014-12-23 18:44 - Jaroslav Kysela DTS and PTS for audio and video tracks are not in sync from the provider (looking to 738MHz in Ziggo-1418426488-0x1ae29b0-mux.ts, channel "Zenderoverzicht HD"): [ TRACE]:parser: pkt stream 2 MPEG2AUDIO type dts 37194789644 (3347531068) pts 37194789644 (3347531068) dur 2351 len 626 [ TRACE]:parser: pkt stream 1 H264 type I dts 38841249055 (3495712415) pts 38841249055 (3495712415) dur 3600 len 243268 3495712415-3347531068 = 148181347 148181347 / 90000.0 = 1646.4594111111112 seconds I don't know, how to sync these streams in tvh. The timestamps must be valid and tvh allows only really small difference (few seconds). You may use "--trace parser" to see these differences. If I look to this channel in mplayer using the passthrough muxer, I see also this A/V difference in the status line. #35-2014-12-23 19:47 - J H Ok, and what about the other channels? Zenderoverzicht HD wasn't working on VLC, but the other stations are. Any chance to find out what goes wrong with those? #36-2014-12-23 21:12 - Martijn Hoogenbosch - File Nick Jr.-Ben and Holly_s Little Kingdom.2014-12-23.ts added Jaroslav Kysela wrote: 2018-07-23 6/10
DTS and PTS for audio and video tracks are not in sync from the provider (looking to 738MHz in Ziggo-1418426488-0x1ae29b0-mux.ts, channel "Zenderoverzicht HD"): [...] [...] I don't know, how to sync these streams in tvh. The timestamps must be valid and tvh allows only really small difference (few seconds). You may use "--trace parser" to see these differences. If I look to this channel in mplayer using the passthrough muxer, I see also this A/V difference in the status line. I've hookedup an old dvb-c tuner, and Zenderoverzicht HD runs very badly on it aswell, constantly audio issues. So that is kind of what you are saying. Other channels though, like Nick Jr. and France2 are working very well. For reference i've added a ts file from Nick Jr which doesn't work in Kodi, but does work when using the ipad applicaton and works when recording it with a passthrough profile. #37-2014-12-24 15:27 - Jaroslav Kysela Could you try latest (v3.9-2295-g74090c6)? I found a little problem in the HTSP server. #38-2014-12-24 15:39 - J H NostalgieNet working again, the rest is not. Changes I noticed on Zenderoverzicht and Zenderoverzicht HD is that I hear audio now but it has to buffer a lot. #39-2014-12-24 19:52 - Jaroslav Kysela J H wrote: NostalgieNet working again, the rest is not. Changes I noticed on Zenderoverzicht and Zenderoverzicht HD is that I hear audio now but it has to buffer a lot. I cannot test other encrypted channels in the mux (.ts file you provided), because keys are available only for "watched" channels - not for all channels. So, we know that Zenderoverzicht HD has wrong DTS/PTS sync, so if you like to check another channel, provide another mux dump when the channel/service was active (watched) to get encryption keys. #40-2014-12-24 22:09 - Martijn Hoogenbosch Jaroslav Kysela wrote: J H wrote: NostalgieNet working again, the rest is not. Changes I noticed on Zenderoverzicht and Zenderoverzicht HD is that I hear audio now but it has to buffer a lot. I cannot test other encrypted channels in the mux (.ts file you provided), because keys are available only for "watched" channels - not for all 2018-07-23 7/10
channels. So, we know that Zenderoverzicht HD has wrong DTS/PTS sync, so if you like to check another channel, provide another mux dump when the channel/service was active (watched) to get encryption keys. how can i do this, as i cannot watch any of these channels. Should i watch a channel from the mux and record the malfunction channel? Is that sufficient? or should i tune to the channel and try to do a recording? #41-2014-12-24 22:16 - Martijn Hoogenbosch - File Nick Jr.-Wonder Team.2014-12-24.ts added Okay, i've tuned the TV to Nick Jr. which results in... nothing /plugin_assets/redmine_wiki_extensions/images/smile.png but i see the channel playing in TVHeadend. So i started a recording on the same channel and uploaded it. #42-2014-12-25 15:44 - Jaroslav Kysela Martijn Hoogenbosch wrote: Okay, i've tuned the TV to Nick Jr. which results in... nothing /plugin_assets/redmine_wiki_extensions/images/smile.png but i see the channel playing in TVHeadend. So i started a recording on the same channel and uploaded it. I tried this.ts file with XBMC 13.2 and it works.. I don't use direct play, but I use this.ts file as input to tvheadend using --tsfile option (it creates another special input from the specified file) - so the whole processing chain is kept like from the linuxdvb input.. Could you test with another xbmc version or vlc htsp plugin? #43-2014-12-25 17:46 - Jaroslav Kysela Zenderoverzicht HD: Workaround is in v3.9-2299-g0324cf8. The audio is manually synced with video, but if this channel will broadcast something other than info-graphics, the lip-sync will be probably lost until the streaming restarts. #44-2014-12-25 22:24 - Martijn Hoogenbosch Jaroslav Kysela wrote: Martijn Hoogenbosch wrote: Okay, i've tuned the TV to Nick Jr. which results in... nothing /plugin_assets/redmine_wiki_extensions/images/smile.png but i see the channel playing in TVHeadend. So i started a recording on the same channel and uploaded it. I tried this.ts file with XBMC 13.2 and it works.. I don't use direct play, but I use this.ts file as input to tvheadend using --tsfile option (it creates another special input from the specified file) - so the whole processing chain is kept like from the linuxdvb input.. Could you test with another xbmc version or vlc htsp plugin? Okay, and which built is this? Is this with some commits or does it just work? Because i can play the recording from Kodi, only live tv doesn't work. I'm using TVHeadend 3.9.2293. 2018-07-23 8/10
#45-2014-12-25 22:25 - Martijn Hoogenbosch Jaroslav Kysela wrote: Zenderoverzicht HD: Workaround is in v3.9-2299-g0324cf8. The audio is manually synced with video, but if this channel will broadcast something other than info-graphics, the lip-sync will be probably lost until the streaming restarts. okay, that's great, the channel probally won't be broadcasting anything else than it does right now. It has a overview of all the channels, zenderoverzicht means channeloverview. Thanks for your effort, much appriciated! #46-2015-01-04 20:02 - Martijn Hoogenbosch Just upgraded to 3.9.2304 (synology), all channels work!! Now TVHeadend is better than the Humax decoders, because they don't play Zenderoverzicht HD /plugin_assets/redmine_wiki_extensions/images/smile.png #47-2015-01-04 21:35 - J H I'm on 3.9.2310 and Nick Jr, Euronews and France 2 don't work. Zenderoverzicht, Zenderoverzicht HD, Ziggo TV and NostalgieNet work. #48-2015-01-06 22:36 - Martijn Hoogenbosch J H wrote: I'm on 3.9.2310 and Nick Jr, Euronews and France 2 don't work. Zenderoverzicht, Zenderoverzicht HD, Ziggo TV and NostalgieNet work. Just upgraded to 3.9.2334 and they still work at my system. #49-2016-02-14 18:08 - Cassio Simoes I have the same problem with some channels with Kodi (tested on 15 and 16), I've selected two as examples, ESPN Brasil HD and ESPN+ HD. Here's the log file http://pastebin.com/fdxv9j6f The channels works fine in VLC for Mac, but not on Kodi, I get audio only. #50-2016-02-18 20:14 - Jaroslav Kysela - Status changed from New to Fixed 2018-07-23 9/10
I think that the original report was resolved. @Cassio - try to upgrade to lasest master and disable 'packet backlog' in the general config. Files Time-12-08-2014-11_51.ts 43.8 MB 2014-12-08 Beralt Meppelink Euronews_530.ts 10.8 MB 2014-12-08 J H France2_465.ts 7.24 MB 2014-12-08 J H NostalgieNet_650.ts 24.9 MB 2014-12-08 J H Zenderoverzicht_HD_738.ts 37.5 KB 2014-12-08 J H NickJr_650.ts 29.7 MB 2014-12-08 J H Ziggo_TV_658.ts 13.5 MB 2014-12-08 J H kodi log France 2.log 26.9 KB 2014-12-12 J H 738MHz in Ziggo-1418426488-0x1ae29b0-mux.ts 11.7 MB 2014-12-13 J H Nick Jr.-Ben and Holly_s Little Kingdom.2014-12-23.ts 55 MB 2014-12-23 Martijn Hoogenbosch Nick Jr.-Wonder Team.2014-12-24.ts 49 MB 2014-12-24 Martijn Hoogenbosch 2018-07-23 10/10