New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Serverside decipher #103
Comments
I see it is a very requested feature...I am looking into this. |
@catalinii: You could take a look at this VDR plugin: https://github.com/manio/vdr-plugin-dvbapi |
may the better reference is mumudvb |
or maybe this? |
thanks I will look into those as well... |
TVHeadend supports the SAT>IP Server with descrambling now - the fork with the implementation is here: This code will be merged after testing. @catalinii : Could you implement X-SATIP-RTSP-Port extension to run minisatip completely using the user priviledges (for tvheadend) ? |
Hi, No problem, can you describe what X-SATIP-RTSP-Port? Thanks |
The standard RTSP port 554 requires root priviledges (to bind to) for the server. The X-SATIP-RTSP-Port is one entry in the HTTP header (when serving the XML description file) sent by the SAT>IP server to notify client about the non-standard RTSP TCP port number. It's my idea (only implemented in tvheadend at the moment). |
Hi mates, as I mentioned a while ago, I got server side decryption working, by using I's more a test drive than productive environment because fast zapping is not possible, decryption between channel switching tooks's roughly 4-7 seconds. Some information regarding the setup: Client side: Card and key server: The CAID parameter in the vdr channels.conf need to be set to CAID=1A, something in the private space between 0010-00FF should work either and channel list update should be disabled. This setup is successful working with 8 DVB-S2 devices and 8 vdr sat>IP clients on different channels at the same time. In between i moved the server hardware to a ASRock Q1900M with 8 GB DDR 3 RAM, and got the same decryption time between channel switching, so the CPU is not the bottle-neck. kind regards |
I did nearly the same with openelec in a wetek play 2 tuners for my Panasonic Client. |
How do you start minisatip (Parameters) ? |
You have to start minisatIP by using the -e parameter, each loopback device need to be listed like: ./minisat -e 0,1,2,3,x... other parameters to your needs It is important not adding the physical devices, but in the case you use the wrong, the system will |
Hey guys... I am still testing the dvbapi protocol with minisatip... Next commit will have at least minimal support... |
Sounds great catalinii! My setup mentioned above is not a productive solution. |
Any News? |
Reopend. Sorry, i closed it, because i pushed the wrong button. ^^ |
I am still testing it...did not have too much time latelly to complete it. |
I have just added the support for this. |
@catalinii : please, make this code completely optional... some hw does not have CPU power to do descrambling on the SAT>IP server side... |
Yeah, this is the idea...without -o should be no performance penalty. |
just tested the latest code with minisatip, vdr-plugin-satip and oscam - seems that the minisatip is connecting as dvbapi user successful. I modified vdr channels.conf to hava caid 1a for all channels. FTA is fine but for decrypt i get only one single request from vdr. So i get a snapshot of the decrypted picture and then decsrambling stops. I can see same in oscam log: one successfull ecm and then it stops. Is there anything else i should know to get it working? Thanks, Pitty |
@catalinii : There is no reason to compile code which cannot be used. I would prefer an ifdef solution.. (also in Makefile) |
Hi, the solution from Makefile and dvbapi.c/h is not what you are looking for ? |
See #111 |
can u provide one or two encrypted astra rtsp we can use to test with vlc instead. - or is there any script available to convert channels,conf to rtsp? unfortunately in the readme is only a single one Hotbird 13E and also FTA |
You can go to http://www.inverto.tv/products/product.php?section=2&id=242&cat=96 and download from there this file: IDL400S_DLNA_and_M3U_Channel_Lists |
Not working here. ;( BTW: why do you use the dvbapi protocol and not the camd3 protocol?? |
pbriesch: unfortunately no single hdp, orf or sky channel in that astra list from inverto... a script would be fine, also for deeper testing pupose |
Hi guys, |
Yeaaaaah, seems fine, thank u catalinii! Will check concurrent recordings from one and two vdr and with more channel per transponder maybe tonight. Pitty |
Hi Paul, Can you upload the log mentioning on which channel oscan does not detect the channel change? Thanks |
just for info, there is a nice sheet with all details in regards to dvb on the net |
Hi, Please, someone can explain with examples, how to use Oscam with minisatip in CLIENT MODE? Here the my config:
Then, how to configure the second minisatip and the Oscam server? Please, can you explain? |
Hi, I respond to me (and anyone that needs this info):
Then you can run the Oscam server in a remote machine (different than the server where running minisatip); and it also works in client mode (with remote SAT>IP servers). Great! ;-) |
@lars18th
|
@pbriesch |
Hi, Using Oscam with some Astra 19.2 channels, some crash when channel change:
|
Probably this is the same as #133 , can you reproduce it at will or just happened once ? Thanks |
Hi Catalin,
Yes, after several tests it seems to be the same issue. Haw many times happens? Between 40-50% of times for a channel change when selecting different frequency. I feel that the problem is related to two troubles:
In any case the crash occurs only when using Oscam server. |
I added some code to force the checksum check for pmt and pat. Please test the next commit. Thanks |
I hope this checksum check will fix the crash. Waiting for test it! |
I have added the checksum fix in the latest commit...can you test and let me know ? Thanks |
please reply to #133 |
Hi Catalin, Also I can reproduce some specific case: When minisatip request a new channel to the Oscam server, but the timeout expires on the server, then the status of the minisatip will be inconsistent and after some commands it crashes. Log on the Oscam server related to this problem:
I hope this helps! |
Hi Catalin, After more testing, my suggestion is: please, include code for process the case of "timeout" in the Oscam server when you start to decode. Perhaps the simple option of re-ask for decoding is the more simple and efective. My conclusion is that this particular case is at time the source of several problems. Regards. |
Hi, Can you send me some minisatip logs for this issue? Thanks |
I'll try to provide some log... However, the "use case" is very specific: the Oscam server triggers a "timeout" and then the minisatip continues waiting for the response from the Oscam server. I hope you can complete the code (with a simple "re-ask for key" in case of "timeout"). Regards! |
I have a more interesting solution than a LOG: You can reproduce the issue (and debug it)! :-D
The result is: minisatip request the key to the Oscam server, the timeour expires on the Oscam server, and the minisatip waits indefinitely. Try it! |
Hi Lars, for all the issues I am reproducing in house what is going on. However a log helps me understand better where is the problem and understand if I am on the right track on reproducing the issue. For example in this case, the dvbapi should not block minisatip in any way, it should just not decrypt the stream. |
Perhaps the dvbapi not blocks minisatip, but it stops the stream! I think you really need to "re-ask" for decryption when a timeout occurs! If you don't do it, at every minimal error (network fails, oscan error, etc.) the stream stops. Any idea for improve this? |
Are you using the satip client ? Please post a log and I will look into it. Thanks |
Hi Catalin, Will be possible to add one new parameter like this?
This is because I like to use it when a client is scanning for "convert" all channels to FTA. It's not for decrypt multiple programs, but for mark all as clear in the channel list. You agree? |
Hi Guys, please let me know if there are any issues here or I can close this. |
Is it possible to implant Support for Softcams e.g. oscam for serverside decipher?
The text was updated successfully, but these errors were encountered: