FernetMenta / vdr-plugin-vnsiserver

VDR plugin to handle XBMC clients.
GNU General Public License v2.0
16 stars 33 forks source link

VNSI-Error: cParser::AddPESPacket - max buffer size reached (V2) #67

Closed ivanmara555 closed 8 years ago

ivanmara555 commented 8 years ago

I have problem with message: VNSI-Error: cParser::AddPESPacket - max buffer size reached in log file after switching every DVB-S2 (mpeg4, h.264) encrypted channel on Eutelsat 36 satellite. In the Kodi gui a pop up window with message "Channel: no data" is shown. Accordingly, I can not watch these channels. But DVB-S encrypted channels working good. It's not hardware or firmware problem because on the same system xvdr plugin (xvdr + vdr + oscam) working excellent. Problem only with vnsi + vdr + oscam.

I saw closed issue https://github.com/FernetMenta/vdr-plugin-vnsiserver/issues/55 but problem doesnot solved

What can i do?

My DVB-S2 card: TeVii S464 PCI Ubuntu 16.04 x64

My versions:

dpkg -l vdr\*
ii  vdr                                      2.3.1-314~a26aae3-xenial  amd64                     
ii  vdr-plugin-dvbapi                        2.2.3-518~897c50e-xenial  amd64                    
ii  vdr-plugin-vnsiserver                    1:1.5.0-931~7ee66aa-xenia amd64     

Log after switching to Amedia channel:

Jul  8 14:23:24 ubuntu vdr: [6069] CAM 1: activating on device 1 with channel 11 (AMEDIA)
Jul  8 14:23:24 ubuntu vdr: [6069] VNSI: Successfully switched to channel 11 - AMEDIA
Jul  8 14:23:24 ubuntu vdr: [6069] VNSI: Started streaming of channel AMEDIA (timeout 10 seconds)
Jul  8 14:23:24 ubuntu vdr: [6071] cLiveStreamer stream processor thread started (pid=4068, tid=6071, prio=high)
Jul  8 14:23:24 ubuntu oscam[4066]: 14:23:24 244CF5DC c   (dvbapi) Demuxer 0 ecmpid 0 CAID: 0500 ECM_PID: 1006 PROVID: 040610
Jul  8 14:23:24 ubuntu oscam[4066]: 14:23:24 244CF5DC c   (dvbapi) Demuxer 0 ecmpid 1 CAID: 0500 ECM_PID: 106A PROVID: 040620
Jul  8 14:23:24 ubuntu oscam[4066]: 14:23:24 244CF5DC c   (dvbapi) Demuxer 0 ecmpid 2 CAID: 0500 ECM_PID: 1452 PROVID: 050A00
Jul  8 14:23:24 ubuntu oscam[4066]: 14:23:24 244CF5DC c   (dvbapi) Demuxer 0 ecmpid 3 CAID: 0500 ECM_PID: 1772 PROVID: 060A00
Jul  8 14:23:24 ubuntu oscam[4066]: 14:23:24 244CF5DC c   (dvbapi) Demuxer 0 ecmpid 4 CAID: 0500 ECM_PID: 183A PROVID: 060C00
Jul  8 14:23:24 ubuntu oscam[4066]: 14:23:24 244CF5DC c   (dvbapi) Demuxer 0 found 5 ECMpids and 3 STREAMpids in caPMT
Jul  8 14:23:24 ubuntu oscam[4066]: 14:23:24 244CF5DC c   (dvbapi) Demuxer 0 found channel in cache and matching prio -> start descrambling ecmpid 1
Jul  8 14:23:24 ubuntu oscam[4066]: 14:23:24 244CF5DC c   (dvbapi) Demuxer 0 trying to descramble PID 1 CAID 0500 PROVID 040620 ECMPID 106A ANY CHID PMTPID 0000 VPID 00CA
Jul  8 14:23:24 ubuntu vdr: [6070] device 1 receiver thread started (pid=4068, tid=6070, prio=high)
Jul  8 14:23:24 ubuntu vdr: [6072] device 1 TS buffer thread started (pid=4068, tid=6072, prio=high)
Jul  8 14:23:24 ubuntu vdr: [6071] VNSI: Created stream for pid=202 and type=7
Jul  8 14:23:24 ubuntu vdr: [6071] VNSI: Created stream for pid=302 and type=2
Jul  8 14:23:24 ubuntu vdr: [6071] VNSI: Created stream for pid=402 and type=2
Jul  8 14:23:24 ubuntu vdr: [6071] VNSI: Created stream for pid=502 and type=11
Jul  8 14:23:24 ubuntu vdr: [6071] VNSI: Audio stream change, pid: 402, channels: 2, samplerate: 48000
Jul  8 14:23:24 ubuntu vdr: [6071] VNSI: Audio stream change, pid: 302, channels: 2, samplerate: 48000
Jul  8 14:23:25 ubuntu vdr: [4151] VNSI: Requesting clients to load epg
Jul  8 14:23:25 ubuntu oscam[4066]: 14:23:25 244CF5DC c      (ecm) anonymous (0500@040620/289F/0836/56:EBD7F8C0283C3DED6DB1253806150C1B): found (1080 ms) by ntv+
Jul  8 14:23:30 ubuntu vdr: [4151] VNSI: Requesting clients to load epg
Jul  8 14:23:30 ubuntu vdr: [6070] CAM 1: activated!
Jul  8 14:23:30 ubuntu vdr: [6071] VNSI-Error: cParser::AddPESPacket - max buffer size reached, pid: 202
Jul  8 14:23:30 ubuntu vdr: [4068] info: CAM activated!
Jul  8 14:23:30 ubuntu vdr: [4068] ERROR: no OSD provider available - using dummy OSD!
Jul  8 14:23:32 ubuntu oscam[4066]: 14:23:32 244CF5DC c      (ecm) anonymous (0500@040620/289F/0836/56:2B3DD1853AEDEF185C6973EFF3E85921): found (404 ms) by ntv+
Jul  8 14:23:34 ubuntu vdr: [6071] VNSI: Channel: no data 16
Jul  8 14:23:35 ubuntu vdr: [4151] VNSI: Requesting clients to load epg
Jul  8 14:23:36 ubuntu vdr: [6071] VNSI-Error: cParser::AddPESPacket - max buffer size reached, pid: 202
Jul  8 14:23:40 ubuntu vdr: [4151] VNSI: Requesting clients to load epg
Jul  8 14:23:42 ubuntu oscam[4066]: 14:23:42 244CF5DC c      (ecm) anonymous (0500@040620/289F/0836/56:7216C4AB862EC5082B298E10E96818B4): found (565 ms) by ntv+
FernetMenta commented 8 years ago

is this HD broadcasted in mpeg2?

ivanmara555 commented 8 years ago

SD and HD channels only on DVB-S2 transponders broadcasted on mpeg2 ... DVB-S channels working good.

FernetMenta commented 8 years ago

does it work if you double the size of the buffer?

ivanmara555 commented 8 years ago

Ok ... are you mean

if (m_PesBufferPtr + size >= m_PesBufferSize)
{
if (m_PesBufferPtr + size >= 1000000)
{
ERRORLOG("cParser::AddPESPacket - max buffer size reached, pid: %d", m_pID);
Reset();
return false;
}

Change to m_PesBufferPtr + size >= 2000000 ?

FernetMenta commented 8 years ago

yes

ivanmara555 commented 8 years ago

Recompile from source with m_PesBufferPtr + size >= 2000000. The problem persists. Im installed streamdev ... id doest not open dvb-s2 channels to ... probably problem in dvbapi. Sorry.

FernetMenta commented 8 years ago

Thanks for feedback. Then I will close this case.