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 … 160 161 162 163 164 … 1231 Next »
Distributed recording/processing, when to reprocess

 
  • 0 Vote(s) - 0 Average
Distributed recording/processing, when to reprocess
Reddwarf
Offline

Posting Freak

Posts: 6,629
Threads: 230
Joined: Mar 2007
#1
2009-03-08, 08:08 PM
I needed a third capture card to be able to record all the shows I wanted (good shows/documentarys tend to show up at the same time), but was out of free PCI-slots in my HTPC. But I had a (mostly) vacant pc, so I got a new card (ATI-550Pro) and istalled it and gbpvr in one of my "kitchen machines"Big Grin. I use WEB-admin from my htpc in the living room to schedule recordings on that system, and, after hours of head-scratching, I came up with a system that process and transfer the recordings to my htpc as well as import them to gbpvr's database automatically. (If anyone is interested in the setup I can post a how-to here).

The processing runs in the early morning hours when no recording normally is scheduled. But if the recording (on the kitchen machine) is finished early and there is no more recordings until next day, why wait until 04:30AM to process?

So my question is: Is there a way to obtaining information of when the next recording is due from a .bat file? If there is, simple math can be used to see if there is enough time to finish post-processing before the next recording kicks in.

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

Administrator

NextPVR HQ, New Zealand
Posts: 106,707
Threads: 767
Joined: Nov 2003
#2
2009-03-08, 08:42 PM
There is nothing built in that tell you this info, but I seem to remember someone else posted a batch file that does this in the past. From memory it was executing a SQLite database query from a command line database utility.
ACTCMS
Offline

Posting Freak

UK
Posts: 2,730
Threads: 101
Joined: Jun 2007
#3
2009-03-08, 10:19 PM
Reddwarf Wrote:If anyone is interested in the setup I can post a how-to here
I run two GBPVR servers - I'd be interested in seeing how you do it...
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#4
2009-03-08, 10:24 PM
Reddwarf Wrote:I needed a third capture card to be able to record all the shows I wanted (good shows/documentarys tend to show up at the same time), but was out of free PCI-slots in my HTPC. But I had a (mostly) vacant pc, so I got a new card (ATI-550Pro) and istalled it and gbpvr in one of my "kitchen machines"Big Grin. I use WEB-admin from my htpc in the living room to schedule recordings on that system, and, after hours of head-scratching, I came up with a system that process and transfer the recordings to my htpc as well as import them to gbpvr's database automatically. (If anyone is interested in the setup I can post a how-to here).

The processing runs in the early morning hours when no recording normally is scheduled. But if the recording (on the kitchen machine) is finished early and there is no more recordings until next day, why wait until 04:30AM to process?

So my question is: Is there a way to obtaining information of when the next recording is due from a .bat file? If there is, simple math can be used to see if there is enough time to finish post-processing before the next recording kicks in.

Yeah, and that's an Idea I've been kicking around for a while.

A service running on all machines that talks to the other machines. When computer A records a new show, it send the path of the file (with other info) to the computers B (and C,D). Those computers then create a new entry in their local database, which actually point to the file across a network)

I've been toying with this code for a little while, but haven't had time to actually start writing...
Frank Z
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]
Reddwarf
Offline

Posting Freak

Posts: 6,629
Threads: 230
Joined: Mar 2007
#5
2009-03-08, 10:34 PM
Actually the "slave" pc has very limited harddisk space, so after converting the recording to XviD (in a two-pass encoding, not enough power for h264 within a resonable time) it delets the .mpg file, writes a batch-file and transfers this to the master htpc. Using PsExec it starts the batch-file on the master htpc and the bat uses VidImport to insert the new recording into gbpvr's database. Finally it delets the local copy on the recording and all files belonging to it.

I guess the .avi could very well reside on a network pc (is it so sub?), but I'v done it this way due to lack of harddisk space on the slave pc.

I'm about to compile a how-to which will include the .bat-files and a bit of explanation, needed to get PsExec running. Will post it in a couple of days, I belive.

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

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#6
2009-03-09, 05:13 AM (This post was last modified: 2009-03-09, 05:18 AM by JavaWiz.)
Quote:So my question is: Is there a way to obtaining information of when the next recording is due from a .bat file? If there is, simple math can be used to see if there is enough time to finish post-processing before the next recording kicks in.

This will do close to what you want.

It creates a report of:

o Recordings in conflict
o Scheduled Recordings (today and tomorrow)
o Failed Recordings
o Season recordings

Outputs into a log file and mails it to your email address.

You could probably model your batch file off the SQL commands to pull what you need out of the db.
Reddwarf
Offline

Posting Freak

Posts: 6,629
Threads: 230
Joined: Mar 2007
#7
2009-03-09, 08:15 AM
Thanks! I'll have a look. Smile

"I'd rather have a bottle in front of me than a frontal lobotomy"
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Audio buzzing second time recording launched. dennit 2 4,533 2012-12-09, 11:28 PM
Last Post: dennit
  Conversion Processing paul1 1 2,817 2012-10-01, 10:07 AM
Last Post: Graham
  Inhibit Computer Shutdown While Recording rwnz 52 30,148 2012-04-03, 11:40 AM
Last Post: pBS
  Start PC for recording, Sleep/Hibernate when done Basher52 6 4,953 2011-12-17, 02:52 PM
Last Post: Sykor
  intermittent recording failures bcdudley 6 3,616 2011-09-28, 07:28 AM
Last Post: bcdudley
  Recording fails but only on one channel (live viewing still works) dshoup 5 3,506 2011-09-19, 01:15 AM
Last Post: sub
  Sattelite interent recording? crsfooddude 1 2,135 2011-07-26, 02:32 AM
Last Post: mvallevand
  Recording problem with Hauppauge Nova-S USB2 ... softfoot 4 3,375 2011-06-27, 02:06 AM
Last Post: sub
  How to kill an orphan Live TV recording? martint123 2 2,343 2011-05-16, 05:33 PM
Last Post: martint123
  SUB: Recording show in two pieces. Found bug(?) lif 10 5,072 2011-05-11, 09:30 AM
Last Post: jksmurf

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

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

Linear Mode
Threaded Mode