multiple fake AC3 channels with vnsi saw by xbmc. - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26) +---- Forum: PVR (https://forum.kodi.tv/forumdisplay.php?fid=136) +---- Thread: multiple fake AC3 channels with vnsi saw by xbmc. (/showthread.php?tid=92318) |
multiple fake AC3 channels with vnsi saw by xbmc. - hotlobster - 2011-01-27 Hi I have a recurrent problem with vdr+vnsi & xbmc. This happens with all xbmc-pvr version i tryed ( dharma from opendkamp, pvr-testing & master from opendkamp ) . I use vdr-1.7.16 but had this problem with previous version too. XBMC sees like 9 ac3 audio tracks for some channels, instead of 2. For example, Canal + here. We have 2 mpeg audio tracks and 2 ac3 tracks ( one for each language: fr & en ) On vdr everything is ok. The channels.conf line for it looks like this: CANAL+;CANALSAT:131125:M64:C:6875:160=2:80=fra@4,81=eng@4;46=fra@106,48=eng@106:32:1812,100:8201:1:1072:0 On xbmc side, when i zap to this channel, I don't have audio by default. If i go to audio menu on xbmc, i can see 11 audio channels. First 2 ac3 detected have no audio, then the 3-4 channels have ac3 audio, then 5-6 have mpeg audio, then there's still 5 fake ac3 channels showed on the audio track listing. Only channels 3-4-5-6 exist really in the stream. On xbmc side, when i zap to this channel i can see those logs: Code: 19:45:41 T:2930764656 M:1068384256 DEBUG: PVRRecording: xbmc.pvrclient-VDR VNSI Client - Recording started : CANAL+ (null) If I play a recording of the same channel, xbmc only see the 4 tracks, it's ok. This occurs only for live tv streams. This problem doesn't happens with streamdev, only with vnsi. I don't have lot of information to give on this, vdr log is not really verbose for vnsi. I checked the raw mux, and there's only 4 audio tracks referenced in the PMT, so I don't understand why this occurs. Teletext subtitles are not detected by xbmc either. I can see them in xbmc with streamdev vtp:// video source, but not by using pvr+vnsi. DVB subtitles are ok. Perhaps this is related... I'm ready to provide all the missing information if needed. Regards. - opdenkamp - 2011-01-27 could you try if the patches sent in https://github.com/opdenkamp/xbmc/pull/8 solve this problem? - hotlobster - 2011-01-27 I've just tryed, but no improvement, still 9 or 11 audio tracks appearing on many channels instead of 2 or 4. Updated vnsi too with yesterday set of patches you've committed. Anyway this looks normal, those patches don't really seems to be really related to my issue. I'm not on ATSC, but on europpean DVB-C cable for info. Cheers. edit: What's strange, is on vdr side, it identifies only the 4 audio pid correctly, nothing else: [core.pids] 0.1: pids after add VIDEO=00a0 AUDIO=0050 AUDIO=0051 DOLBY=002e DOLBY=0030 Do you think it could parse Teletext pids as aC3 ? As teletext subs are not seen by xbmc with vnsi. This could be a clue. Any way to capture the ts data sent from vnsi to xbmc ? I'd like to analyze the mux & check the pids. - hotlobster - 2011-01-27 Yeah, some interesting logs from xbmc when testing the same channel with vtp:// & streamdev. What is identified as AC3 streams by xbmc vnsi client seems to be data pids: [HTML]17:18:02 T:2447326064 M:978055168 INFO: ffmpeg[91DF3B70]: Duration: N/A, start: 30643.972256, bitrate: 16280 kb/s 17:18:02 T:2447326064 M:978055168 INFO: ffmpeg[91DF3B70]: Program 8201 17:18:02 T:2447326064 M:978055168 INFO: ffmpeg[91DF3B70]: Stream #0.0[0x20](fra): Subtitle: [6][0][0][0] / 0x0006 17:18:02 T:2447326064 M:978055168 INFO: ffmpeg[91DF3B70]: Stream #0.1[0x21]: Data: [192][0][0][0] / 0x00C0 17:18:02 T:2447326064 M:978055168 INFO: ffmpeg[91DF3B70]: Stream #0.2[0x22]: Data: [193][0][0][0] / 0x00C1 17:18:02 T:2447326064 M:978055168 INFO: ffmpeg[91DF3B70]: Stream #0.3[0x2e](fra): Audio: ac3, 48000 Hz, 5.1, s16, 384 kb/s 17:18:02 T:2447326064 M:978055168 INFO: ffmpeg[91DF3B70]: Stream #0.4[0x30](eng): Audio: ac3, 48000 Hz, 5.1, s16, 384 kb/s 17:18:02 T:2447326064 M:978055168 INFO: ffmpeg[91DF3B70]: Stream #0.5[0x50](fra): Audio: mp2, 48000 Hz, 2 channels, s16, 256 kb/s 17:18:02 T:2447326064 M:978055168 INFO: ffmpeg[91DF3B70]: Stream #0.6[0x51](eng): Audio: mp2, 48000 Hz, 2 channels, s16, 256 kb/s 17:18:02 T:2447326064 M:978055168 INFO: ffmpeg[91DF3B70]: Stream #0.7[0x86]: Data: [192][0][0][0] / 0x00C0 17:18:02 T:2447326064 M:978055168 INFO: ffmpeg[91DF3B70]: Stream #0.8[0xa0]: Video: mpeg2video, yuv420p, 720x576 [PAR 64:45 DAR 16:9], 15000 kb/s, 95 fps, 25 tbr, 90k tbn, 50 tbc 17:18:02 T:2447326064 M:978055168 INFO: ffmpeg[91DF3B70]: Stream #0.9[0xe3]: Data: [193][0][0][0] / 0x00C1 17:18:02 T:2447326064 M:978055168 INFO: ffmpeg[91DF3B70]: Stream #0.10[0x10f]: Data: [193][0][0][0] / 0x00C1 17:18:02 T:2447326064 M:978055168 INFO: ffmpeg[91DF3B70]: Stream #0.11[0x4e5]: Data: [193][0][0][0] / 0x00C1 17:18:02 T:2447326064 M:978055168 INFO: ffmpeg[91DF3B70]: Stream #0.12[0x4e7]: Data: [193][0][0][0] / 0x00C1[/HTML] - hotlobster - 2011-02-02 I've found the debug parameter on vnsi plugin Makefile, missed this one before. It seems, when the PID descriptor is not present for a found pid in the mux, vnsi assume wrongly it's AC3 Here are the vnsi plugin log: Quote:VERBOSE GetPid - cStreamdevPatFilter PMT scanner: adding PID 32 (ISO/IEC 13818-1 Private PES data) Teletext The problem is here in receiver.c ( line 320 ) : Quote: if (!found) Commenting this solves the problem: //*type = stAC3; //return stream.getPid(); - hotlobster - 2011-02-04 @Dushmaniac , I've submitted a pull request that solve this problem. Last thing not working here is teletext subtitles on xbmc. No subtitle tracks are available on xbmc audio menu. Channels have 2 subtitles on 888 and 889 pages. But if i hit Teltext button on the menu, and manually select page 888, i can display them ( not really suitable as it takes 40% of the screen, and the xbmc menu on the top stays displayed. ) XBMC seems to see it according to this log: DEBUG: CDVDDemuxPVRClient::UpdateStreams(): update stream 5:5 with codec_id 94215 ( 94215 are DVB Teletext subtitle ) . How XBMC is suppose to find the correct teletext page to parse ? I'd like to give a look in the code, if you can give me a direction ( on what I can do with my poor non dev skill ) - opdenkamp - 2011-02-04 I'll have a look at your pull request later. about teletext: guess CDemuxStreamTeletext is a good starting point to start looking. |