manio / vdr-plugin-dvbapi

VDR dvbapi plugin for use with OSCam
http://www.streamboard.tv/wbb2/thread.php?threadid=40060
GNU General Public License v2.0
57 stars 25 forks source link

dvbapi-1.0.6 vdr-2.0.2 (osacm key ok) black screen #61

Closed zz64 closed 10 years ago

zz64 commented 10 years ago

Hi, using 1.0.6 and vdr-2.0.2 i get only black screen. runing vdr: /usr/bin/vdr -v /home/vdr -w 60 -Pepgtableid0 -Piptv -Pstreamdev-server -Pvnsiserver -Pxineliboutput --local=none --primary --remote=:37890 -Pdvbapi -B0 -B1 -B2

ls -R /dev/dvb/ /dev/dvb/: adapter0 adapter1 adapter2 /dev/dvb/adapter0: demux0 dvr0 frontend0 net0 /dev/dvb/adapter1: demux0 dvr0 frontend0 net0 /dev/dvb/adapter2: demux0 dvr0 frontend0 net0

dvbapi log: vdr: [1297] DVBAPI: ci_cmd(S)=01 vdr: [1297] DVBAPI: pid=6,070c len=39 (0x27) vdr: [1297] DVBAPI: ci_cmd(S)=01 vdr: [1297] DVBAPI: pid=6,070d len=0 (0x0) vdr: [1297] DVBAPI: 2.0 got CA pmt ciCmd=1 caLm=4 vdr: [1297] DVBAPI: 2.0 set CAM decrypt (SID 28551, caLm 4, HasCaDescriptors 1) vdr: [1297] DVBAPI: ProcessSIDRequest: added: i=0 vdr: [1297] DVBAPI: send: channelSid=0x6f87 (28551) vdr: [1297] DVBAPI: created socket with socket_fd=29 vdr: [1297] DVBAPI: socket_fd=29 length=273 toWrite=283 wrote=283 vdr: [1350] receiver on device 3 thread started (pid=1297, tid=1350, prio=high) vdr: [1350] DVBAPI: OpenDvr vdr: [1350] DVBAPI: CloseDvr vdr: [1350] DVBAPI: ScActive vdr: [1350] DVBAPI: 2: set active on vdr: [1351] TS buffer on device 3 thread started (pid=1297, tid=1351, prio=high) vdr: [1314] DVBAPI: Action: Got CA_SET_PID request vdr: [1314] DVBAPI: DeCSASetCaPid: PID=-1, index=-761827125 vdr: [1314] DVBAPI: Action: Got CA_SET_PID request vdr: [1314] DVBAPI: DeCSASetCaPid: PID=0, index=-761827125 vdr: [1314] DVBAPI: 2.-761827125: set pid 0000 vdr: [1314] DVBAPI: Action: Got CA_SET_PID request vdr: [1314] DVBAPI: DeCSASetCaPid: PID=0, index=-761827125 vdr: [1314] DVBAPI: 2.-761827125: set pid 0000 vdr: [1314] DVBAPI: Action: Got CA_SET_PID request vdr: [1314] DVBAPI: DeCSASetCaPid: PID=0, index=-761827125 vdr: [1314] DVBAPI: 2.-761827125: set pid 0000 vdr: [1314] DVBAPI: Action: Got CA_SET_DESCR request vdr: [1314] DVBAPI: DeCSASetCaDescr: index=0 vdr: [1314] DVBAPI: SetDescr vdr: [1314] DVBAPI: 2.0: odd key set vdr: [1314] DVBAPI: Action: Got CA_SET_DESCR request vdr: [1314] DVBAPI: DeCSASetCaDescr: index=0 vdr: [1314] DVBAPI: SetDescr vdr: [1314] DVBAPI: 2.0: odd key set vdr: [1315] DVBAPI: OSCamCheck: 2: checking if connection to socket_fd=29 is still alive vdr: [1315] DVBAPI: OSCamCheck: 2: checking if connection to socket_fd=29 is still alive vdr: [1350] DVBAPI: 2.0: timed out. proceeding anyways vdr: [1314] DVBAPI: Action: Got CA_SET_DESCR request vdr: [1314] DVBAPI: DeCSASetCaDescr: index=1 vdr: [1314] DVBAPI: SetDescr vdr: [1314] DVBAPI: 2.1: odd key set vdr: [1314] DVBAPI: Action: Got CA_SET_DESCR request vdr: [1314] DVBAPI: DeCSASetCaDescr: index=0 vdr: [1314] DVBAPI: SetDescr vdr: [1314] DVBAPI: 2.0: odd key set vdr: [1315] DVBAPI: OSCamCheck: 2: checking if connection to socket_fd=29 is still alive vdr: [1315] DVBAPI: OSCamCheck: 2: checking if connection to socket_fd=29 is still alive vdr: [1315] DVBAPI: OSCamCheck: 2: checking if connection to socket_fd=29 is still alive

I want to know if I am correct version of dvbapi ? or there is something else to check ?

Thanks.

manio commented 10 years ago

Hello, Is it working when you use latest master dvbapi plugin version?

zz64 commented 10 years ago

latest version of dvbapi not build with vdr-2.0.2

log build: ... g++ -I/usr/include -I/home/vdr-2.0.2 -I/home/vdr-2.0.2/include -c -O3 -Wall -Werror=overloaded-virtual -Wno-parentheses -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DPLUGIN_NAMEI18N='"dvbapi"' -DGITVERSION='"-GIT-bdcad3f"' -o SCCAMSlot.o SCCAMSlot.cpp SCCAMSlot.cpp: In constructor ‘SCCAMSlot::SCCAMSlot(SCCIAdapter, int, int)’: SCCAMSlot.cpp:43:59: erreur: no matching function for call to ‘cCamSlot::cCamSlot(SCCIAdapter&, bool)’ SCCAMSlot.cpp:43:59: note: candidates are: /home/vdr-2.0.2/include/vdr/ci.h:150:3: note: cCamSlot::cCamSlot(cCiAdapter) /home/vdr-2.0.2/include/vdr/ci.h:150:3: note: candidate expects 1 argument, 2 provided /home/vdr-2.0.2/include/vdr/ci.h:125:7: note: cCamSlot::cCamSlot(const cCamSlot&) /home/vdr-2.0.2/include/vdr/ci.h:125:7: note: candidate expects 1 argument, 2 provided make: _\ [SCCAMSlot.o] Erreur 1

manio commented 10 years ago

Ah - sorry - I forgot you're using this ancient vdr version ;) Ok, in this case (and my 1.0.6 plugin) make sure you're using OSCam revision which is greater then 7314 and also less then 9095. Only those versions will work.

manio commented 10 years ago

Was my advice helpful? Is it working?

zz64 commented 10 years ago

using version "ymodv18-t48" (for testing). i have not idea which real version of this closed source. any solution ?

manio commented 10 years ago

Sorry - no idea. I am using vanilla OSCam. It just depends on which OSCam version it is based. If you cannot test it on pure OSCam, can I close this issue in this case?