NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Wishlist v
« Previous 1 … 131 132 133 134 135 … 193 Next »
Option for using "High"-Priority during recording...

 
  • 0 Vote(s) - 0 Average
Option for using "High"-Priority during recording...
ghost_zero
Offline

Junior Member

Posts: 44
Threads: 9
Joined: Sep 2005
#1
2005-11-18, 05:38 PM
Hi,

I would like to see an option (settable via options) that GBPVR-Recording-Service uses "High"-Priority during recording...
And a second one to use "High"-Priority during LiveTV...

That would be great because if e.g. I start FireFox during a video gets recording (Plextor ConvertX) the video may stutter at that time because the recording service did not have enough time for encoding audio...
And therefore "High"-Priority would be good...
Of course, those things also depneds on the CPU-Speed... but as far as I know changing Priority in C# (.net Framework at all) is not that hard... so it should not be that hard to implement... I have done this before...
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#2
2005-11-18, 05:40 PM
I personally think its a bad idea to start fiddling with process priorities, but I should point out there is the following setting in config.xml:

<ForceHighPriorityRecordingService>false</ForceHighPriorityRecordingService>
robplatt
Offline

Member

Posts: 61
Threads: 10
Joined: Aug 2005
#3
2005-11-18, 05:42 PM
I thought the card did all the encoding and the cpu just wrote it to the drive. and if you had a seperate drive, then if your computer hung for 1-2 seconds the buffer would write it to disk anyways.

However. I would like gbpvr to be high priority at times as well. sometimes the whole app.
ghost_zero
Offline

Junior Member

Posts: 44
Threads: 9
Joined: Sep 2005
#4
2005-11-18, 06:00 PM
@robplatt:

The video yes... but the audio not and because to keep audio/video-synchronsation the whole video would stutter...

Quote:<ForceHighPriorityRecordingService>false</ForceHighPriorityRecordingService>
Does this only use Force-High-Priority during recording or the whole time? I don't want to have a High-Priority-Service all the time just when recording starts...

I now tested it and it is then ALWAYS on "Higher then normal" ... I would like to have it the real "High" and just during recording... I might would write an own program but it seems that I can't change the recording-service priority on-the-fly (at least not from task manager)... otherwise I would write a PreRecording-Program...
ghost_zero
Offline

Junior Member

Posts: 44
Threads: 9
Joined: Sep 2005
#5
2005-11-18, 06:12 PM (This post was last modified: 2005-11-18, 06:18 PM by ghost_zero.)
OK I found out that it works with a C# Program to change the priority of the recording-service...

Is there a PreProcessing.bat that starts before recording starts?

I know it is possible with PVRPowerTray but that needs too much CPU-Usage and memory for just a prerecording script...
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#6
2005-11-18, 06:16 PM
Quote:I thought the card did all the encoding and the cpu just wrote it to the drive. and if you had a seperate drive, then if your computer hung for 1-2 seconds the buffer would write it to disk anyways.
ghost_zero's plextor device does a lot of stuff in software (audio encoding, stream muxing) so is more CPU dependent than device like PVR150 etc.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#7
2005-11-18, 06:17 PM
Quote:I now tested it and it is then ALWAYS on "Higher then normal" ... I would like to have it the real "High" and just during recording... I might would write an own program but it seems that I can't change the recording-service priority on-the-fly (at least not from task manager)... otherwise I would write a PreRecording-Program...
Why? What is this going to achieve? If you leave the recording service at high priortity between recordings, then "doing nothing" at high priority isnt going to impact anything else. It seems pointless to drop it back to normal priority between recordings.
ghost_zero
Offline

Junior Member

Posts: 44
Threads: 9
Joined: Sep 2005
#8
2005-11-18, 06:48 PM
Who says that I do nothing during recording or at least that the PC does nothing during recording?

Ah btw. who says that I do nothing during recordings? Ah you mean the Recording-Service? That is not completely right it at least needs to check if there are recordings and if when they start... that would be done with higher priority... but you are right it is not that important because the program does not much during not recording... but I still would like to have my priorities set to normal if I don't need to change them... That is more personal flavor - especially if the program might has a bug that it suddenly has a high CPU-Load, if you then have set it to high you will not be able to change it that easily or kill it... but the back-changing is not the problem.. PostProcessing.bat exists... but PreProcessing.bat?

Is there something like a PreProcessing.bat or will there come one?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#9
2005-11-18, 07:22 PM
Quote:That is not completely right it at least needs to check if there are recordings and if when they start... that would be done with higher priority...
This would consume virtually 0% CPU. If it does it at high priority, its not going to impact anything else running on your machine.

Quote:That is more personal flavor - especially if the program might has a bug that it suddenly has a high CPU-Load, if you then have set it to high you will not be able to change it that easily or kill it... but the back-changing is not the problem.. PostProcessing.bat exists... but PreProcessing.bat?

Is there something like a PreProcessing.bat or will there come one?
There is a ParallelProcessing.bat which is called immediately after starting the recording. Honestly though, I would bother. It sounds like wasted effort. It'll also get complicated if you add a second capture device in the future.
-stattik-
Offline

Posting Freak

Posts: 924
Threads: 26
Joined: Mar 2005
#10
2005-11-18, 08:20 PM
GBPVR doesn't use too many cycles when you're not using it so even if it were at high priority at all times it shouldn't interfere with other processes. The only time when GBPVR at high priority would interfere with other processes would be during recording using the Plextor which is needed and when using the frontend which means you would be using other apps anyway. The EPG update could be scheduled during a time when you wouldn't be using anything.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
Lightbulb An option when confronted with a "Scheduling Error". Siamese Cat 2 600 2024-07-07, 12:16 PM
Last Post: mvallevand
  Overwrite oldest recording with lock feature djenson 0 612 2023-09-28, 10:37 AM
Last Post: djenson
  Recording status displayed when finished coreymichael 6 1,189 2023-08-31, 05:32 PM
Last Post: sub
  Recording scheduling mzanetti 2 1,008 2023-07-28, 05:24 PM
Last Post: sub
  Feature Request: EIT Support, plus Stop and Save Recording. Chris4877 8 1,846 2022-09-12, 12:58 AM
Last Post: mvallevand
  Delete option from Videos feature artmetz 5 1,607 2022-03-17, 07:38 PM
Last Post: HarryH3
  Add manual recording - default time markn62 0 980 2022-02-14, 12:46 AM
Last Post: markn62
  Sorting Options for Recurring Recording List pkscout 1 1,006 2021-11-23, 07:51 PM
Last Post: sub
  Remove failed recurring recording artmetz 0 824 2021-11-17, 07:55 PM
Last Post: artmetz
  24h clock option for TV Guide luguber 2 1,368 2021-09-09, 03:05 PM
Last Post: luguber

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

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

Linear Mode
Threaded Mode