NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Forum Issues & Documentation NPVR Documentation v
« Previous 1 2 3 4 5 Next »
Guide: Digital TV via Card Reader

 
  • 0 Vote(s) - 0 Average
Guide: Digital TV via Card Reader
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#1
2011-10-04, 08:56 AM (This post was last modified: 2012-10-03, 02:55 AM by reven.)
hey guys,this is a rough guide to get this working, ill edit it and tweak it over the next few weeks. but some people have asked how to get this working and instead of PMing everyone, here it is (very rough, i will improve it, and writing all from memory so my terminology might be a little off).

I'll start with this: This is not meant to help you steal cable/paid television, i have no idea how you would do that, I have no desire to do that or help anyone do that. This is meant if you want to "have one box to rule them all". I dont want have to change inputs on my tv, not be able to stop watching a recording in the lounge and continue in the bedroom. I want a sexy interface and be able to view that on every machine/tv in the house.

Hardware
im using a "OMNIKEY 1021 USB" as my card reader that I bought off ebay for $17.99 + $2 shipping.
http://www.ebay.com/sch/tuutu5/m.html?_n...m270.l1313
only one I used and works well with Sky Digital in NZ.
I got a TBS card reader when I bought my quad tuner card from buydvb.net, but that burnt out the chip on my smart card. i think the settings/switches were wrong on it. The omnikey one doesn't have any settings, so no options to "fry your card" like the buydvb one.

Step 1. Oscam
oscam is a windows server with a web frontend. this handles the card reader side of things. you can use this instead of newcs (i found oscam easier). MDAPI plugins will connect to this service for decrypting the signal.

You need to setup users oscam so an mdapi plugin can connect to the server, much like a gmail account, username and password. My setup is i have a username/password for each instance and card. so I have 4 instances and a quad tuner, my usernames details are
tuner1a password
tuner1b password
tuner1c password
etc

Step 2. NextPVR
next pvr uses a mdapi plugin to do some magic, you need to enable multidec/CAM for the cards you want to tune decrypted channels. and specify how many streams you can record at once, I used 4.

Once you have done that nextpvr will create a "MDPlugins" directory with a folder for each tuner and instance/stream. in every one of those folders you need to put the acamd and a configuration file using the server details of oscam, username:password for each tuner/instance and the port etc. [ill expand on this later]

next pvr also requires a ffdecsa.dll in the root npvr directory (the c:\program files one, not the c:\users\public one). not sure what this does, but it needs it (all pvrs seem to)
http://forums.nextpvr.com/showthread.php...post377803

you *may* also need to install "mdapifilter 2009 v3", for the record and mediaportal require this so I assumed next pvr does aswell.

Basic Overview
[CARD Reader] <--> [OSCAM Server] <--> [ACAMD Plugin] <--> [NextPVR]
nextpvr loads acamd.
acamd talks to oscam for decrypting
oscam uses card to decrytion keys.
then goes back down the chain.


the hardest part for me was the configuration file for the acamd tuners, that each tuner had a different user, what to put into those settings. i'll upload samples of my configuration files later (dont have them on this computer).

hope that makes a little sense....

err i hope this post is ok, if its not, and too much in the grey area, I understand if you need to delete it.
steeb
Offline

Posting Freak

Posts: 2,667
Threads: 183
Joined: Nov 2006
#2
2011-10-04, 09:07 AM
Hi reven,

great stuff, I've been wanting to understand/know about mdapi for ages.

I am most certainly not going to delete this thread Big Grin but am wondering if I should move it into the NextPVR specific documumentation thread? Of course if it is too much of a grey area I may be over-ruled. But we are talking

Quote:This is not meant to help you steal cable/paid television, i have no idea how you would do that, I have no desire to do that or help anyone do that. This is meant if you want to "have one box to rule them all".
When you have tweaked it I hope you would be OK with us putting this onto the wiki somewhere as info for anyone wanting to have a look at mdapi stuff?

cheers

steeb
Reddwarf
Offline

Posting Freak

Posts: 6,629
Threads: 230
Joined: Mar 2007
#3
2011-10-04, 11:10 AM
Please revice to use the term "multidec" instead of mdapi since it may easy be confused with the old mdapifilter.ax which is NOT in use by npvr. Smile

"I'd rather have a bottle in front of me than a frontal lobotomy"
steeb
Offline

Posting Freak

Posts: 2,667
Threads: 183
Joined: Nov 2006
#4
2011-10-04, 12:14 PM
To get me started is this what I need?

http://www.infinityusb.com/default.asp?s...roductID=7

cheers

steeb
martint123
Offline

Posting Freak

UK, East Yorkshire
Posts: 4,658
Threads: 208
Joined: Nov 2005
#5
2011-10-04, 12:39 PM (This post was last modified: 2011-10-04, 01:00 PM by martint123.)
I used to run one of these, although running under linux, under VMPLayer. http://www.maxdigital.nl/smargo/ (beware of clones that don't last long!)
But it looks like my npvr end needs some looking at.

Just double checked and I forgot the fdesca.dll in the program directory.
It seems extremely slow starting and stopping watching a channel - even those no encrypted.
It also appears that when you say "yes" for CI or whatever, it has to be there an working for all channels on that tuner or it just sits there laughing at you (and logging nothing ;(

Must have a search for oscam to get rid of the debian/vmplayer route.
steeb
Offline

Posting Freak

Posts: 2,667
Threads: 183
Joined: Nov 2006
#6
2011-10-04, 03:00 PM
So Infinity USB or SMARGO should be OK?

Still don't understand half of this but with reven's write up to reference now things should be much easier Big Grin

Martin, hmmm that channel changing seems real slow?

steeb
martint123
Offline

Posting Freak

UK, East Yorkshire
Posts: 4,658
Threads: 208
Joined: Nov 2005
#7
2011-10-04, 05:24 PM
Another thing you have to watch out for is that the software can emulate the card properly.

For sure, this afternoon a smargo USB card reader, debian6 linux running under vmplayer and CCcam2.2.1 on my HP microserver works with acamd and npvr on my PVR machine.

Yes, the channel change is real slow - the snag being all channels changes slow down, even those in the clear.
With gbpvr you could have two "sources" (using the same tuner) and group clear and encrypted onto the separate sources - not so npvr.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,661
Threads: 767
Joined: Nov 2003
#8
2011-10-04, 07:12 PM
martint123 Wrote:Yes, the channel change is real slow - the snag being all channels changes slow down, even those in the clear.
That shouldnt be the case, and isnt in my experience. Clear channels should change just as quickly as ever. Encrypted channels will take however long it takes the multidec plugin to decrypt the content.
martint123
Offline

Posting Freak

UK, East Yorkshire
Posts: 4,658
Threads: 208
Joined: Nov 2005
#9
2011-10-04, 08:38 PM
The card is back in the STB for normal use at present. I'll have another try tomorrow and do some more timings.
The system is a new install of W7(32) and npvr. Trying the card stuff was just an experiment while I have the machine available before it goes into full time service.

I do notice that from clicking "watch" in the TV Guide to getting video displayed takes quite a long time on this machine. Looking in the log shows quite a pause at:-
2011-10-04 21:17:04.345 [INFO][6] About to start BDA graph
2011-10-04 21:17:04.346 [DEBUG][6] Starting graph...
2011-10-04 21:17:11.911 [DEBUG][6] About to tune BDA graph:

edit: Sorry, this shouldn't be in this thread really, feel free to zap it.
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#10
2011-10-04, 09:34 PM
updated original with the card reader im using and a link to them on ebay.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  NPVR with Tuner Card and External DirecTV box WannaBeGeekster 4 11,494 2015-04-29, 05:18 PM
Last Post: Grampz
  XBMC and NextPVR - A user guide steeb 47 31,975 2012-10-25, 04:19 AM
Last Post: mvallevand
  "Keep digital graphs constructed" - what is it for? McBainUK 4 3,455 2011-01-27, 04:27 PM
Last Post: sub

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode