NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) GB-PVR Support (legacy) v
« Previous 1 … 40 41 42 43 44 … 1231 Next »
Live-tv decrypting, recording not

 
  • 0 Vote(s) - 0 Average
Live-tv decrypting, recording not
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#11
2009-09-28, 11:39 PM
Sorry, I dont really know what to suggest. I'm not really very useful at knowing whats happening inside the multidec components.

Acamd works fine for me, but my cable system is using Irdeto, and I'm guessing yours a different set of variables.
Reddwarf
Offline

Posting Freak

Posts: 6,629
Threads: 230
Joined: Mar 2007
#12
2009-09-29, 05:55 AM
I have to correct myself, if I run the recordingservice from a command prompt it works partly, that is, it records some seconds of clear show, then partly encrypted and unencrypted.

It is strange thou, it seems to me as if the recording service has problems detecting that a channel is encrypted and, if run as a service, doesn't see the need to decrypt.

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

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#13
2009-09-29, 01:52 PM
Quote:It is strange thou, it seems to me as if the recording service has problems detecting that a channel is encrypted and, if run as a service, doesn't see the need to decrypt.
The recording service doesnt know or care if a channel is encrypted, it just records everything that comes through on that channel. When you start a recording on an encrypted channel though (indicated by "~E:T" in the tuning request), it tells multidec which channel it wants decrypted, but thats it for special handling of encrypted channels.

If it starts decrypting, but then stops, it sounds like something is going wrong inside your multidec plugin.
Reddwarf
Offline

Posting Freak

Posts: 6,629
Threads: 230
Joined: Mar 2007
#14
2009-09-29, 04:39 PM
Some more experiments today has cleared up a thing or two. Note that this thread is about a problem on my testrig, running the Cinergy C PCI HD card, not my regular htpc that runs the Technotrend 1501 with CI/CA.

A while ago I experimented with some remote desktop sw, and in order to get it working I had to turn off simple file sharing. Today I tried to turn it on again in a desperat appempt to see what effected the problem and not. After turning it on, both recording and live-tv (as well as dvb-epd updating) works IF, and only if, I run the recording service from a command prompt with the "run" option, ie. as my own user. Running it as a system service does not work, even if I let it log in as my user.

To me that indicates that there is somthing about permissions, access and ownership that I don't understand.

Now, running the recording service from a command prompt is probably not a permanent solution, but I may be able to live with it for now, if it will work on my regular htpc and the Technotrend card.

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

Posting Freak

Posts: 6,629
Threads: 230
Joined: Mar 2007
#15
2009-10-07, 11:36 AM
I have now been running the recording service from a command prompt with the run commandline parameter on my regular htpc for a couple of weeks, and it seems to work both stable and well. I have an analog PVR150 card, one Technotrend 1501 dvb-c card with CI/CA and one Terratec Cinergy C PCI HD card which uses MDAPI/ACAMD/NEWCS to decrypt. The system service GBPVRRecordingService is disabled so when I occationally have to run the config app I have to enable it, else the config won't save the changes.

1. What is the primary reason for running the recording service as a system service? It seems to be working just as fine run from a command prompt (or with "Run" from start menue).

2. Why the one-channel limit for encrypted channels with MDAPI? One should think that recording service can load one instance of mdapi for each channel it needs to decrypt.

I'v noticed that pvrx2 loads one instance of mdapi while the recording service loads another one, and they seem to coexist without interference.

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

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#16
2009-10-07, 11:47 AM
Reddwarf Wrote:I have now been running the recording service from a command prompt with the run commandline parameter on my regular htpc for a couple of weeks, and it seems to work both stable and well.
Thats definitely sounds like you have something permission related going on there. The only thing different when running as a service is running under a different user account and different desktop session. It be nice if you could resolve that.

Quote:1. What is the primary reason for running the recording service as a system service?
Thats just the way its designed to work. It makes sense for it to be a service, since it needs to run in the background all the time, even when the user isnt logged in etc.

Some other things in the app expect it to be a service, like clicking OK in the config app restarts the service etc.

The only time I run it from the command line is when I need to run it in the debugger for my testing.

Quote:2. Why the one-channel limit for encrypted channels with MDAPI? One should think that recording service can load one instance of mdapi for each channel it needs to decrypt.

I'v noticed that pvrx2 loads one instance of mdapi while the recording service loads another one, and they seem to coexist without interference.
There is a setting in the config.xml which allows you to up the maximum instances used in the recording service. It defaults to 1 because many multidec plugins are built with the expectation there will only be one instance, using global variables etc, and crash badly if you use more than once instance. This is because multidec originated in an application that only supported one tuner. (it works fine with one in the recording service and one in pvrx2 since these are separate processes and isolated from each other)
Reddwarf
Offline

Posting Freak

Posts: 6,629
Threads: 230
Joined: Mar 2007
#17
2009-10-07, 12:43 PM
sub Wrote:Thats definitely sounds like you have something permission related going on there. The only thing different when running as a service is running under a different user account and different desktop session. It be nice if you could resolve that.

There must be something else, because if I let the system service run as my user it doesn't work, it is a different session yes, but NEWCAMD also runs as a different session so I can't see why a system service should be cut off from accessing port 555.

sub Wrote:There is a setting in the config.xml which allows you to up the maximum instances used in the recording service. It defaults to 1 because many multidec plugins are built with the expectation there will only be one instance, using global variables etc, and crash badly if you use more than once instance. This is because multidec originated in an application that only supported one tuner. (it works fine with one in the recording service and one in pvrx2 since these are separate processes and isolated from each other)

Doed this mean that I can try increasing this value and try multirecord with mdapi? Anything else I need to change?

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

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#18
2009-10-08, 11:03 AM
Reddwarf Wrote:There must be something else, because if I let the system service run as my user it doesn't work, it is a different session yes, but NEWCAMD also runs as a different session so I can't see why a system service should be cut off from accessing port 555.
I dont know, but I've not seen any other reports of this, and personally works fine for me from a service, so I'm still leaning towards it just beening some quirk about permissions or similar at your end.

Quote:Doed this mean that I can try increasing this value and try multirecord with mdapi?
No, it wouldnt help with multi-record, but if you increased the value it might decrypt multiple simultaneous recordings if you had multiple capture cards in your machine (ie, one decrypt per card)
Reddwarf
Offline

Posting Freak

Posts: 6,629
Threads: 230
Joined: Mar 2007
#19
2009-10-08, 11:11 AM
So there's absolutely no way of getting multirecord to work with encrypted channels? If so, why not?

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

Posting Freak

Posts: 788
Threads: 43
Joined: Aug 2007
#20
2009-10-08, 11:49 AM
Reddwarf Wrote:So there's absolutely no way of getting multirecord to work with encrypted channels? If so, why not?

You can always do post recording decryption.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (5): « Previous 1 2 3 4 5 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Live TV and recordings do not match greg in kansas 8 7,127 2013-02-22, 06:35 PM
Last Post: sub
  Audio buzzing second time recording launched. dennit 2 4,534 2012-12-09, 11:28 PM
Last Post: dennit
  Live TV not showing anything although recordings are OK. Pls advise. seymoria 8 4,768 2012-08-07, 05:07 PM
Last Post: ACTCMS
  Inhibit Computer Shutdown While Recording rwnz 52 30,175 2012-04-03, 11:40 AM
Last Post: pBS
  Start PC for recording, Sleep/Hibernate when done Basher52 6 4,958 2011-12-17, 02:52 PM
Last Post: Sykor
  Live TV Locks Onto Different Channel persim 1 2,310 2011-10-24, 06:33 PM
Last Post: sub
  intermittent recording failures bcdudley 6 3,619 2011-09-28, 07:28 AM
Last Post: bcdudley
  Recording fails but only on one channel (live viewing still works) dshoup 5 3,507 2011-09-19, 01:15 AM
Last Post: sub
  Sattelite interent recording? crsfooddude 1 2,139 2011-07-26, 02:32 AM
Last Post: mvallevand
  Recording problem with Hauppauge Nova-S USB2 ... softfoot 4 3,377 2011-06-27, 02:06 AM
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