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) SearchWiz & MovieWiz v
« Previous 1 … 6 7 8 9 10 … 16 Next »
WizRenameRecording v0.1.0.0

 
  • 0 Vote(s) - 0 Average
WizRenameRecording v0.1.0.0
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#61
2008-09-24, 03:11 PM
Ok, for some reason, the gbpvr.db3 entry for Canada AM shows that the recording is still in progress (status code 1). Since another process (ie PVRX2 recording service) still has the file open, it cannot be renamed.

This could be a timing issue, and might be solved by putting a delay in the script before WizRename recording, or perhaps better yet, before VideoRedo script is called.

The windows server 2003 resource kit has a sleep command. This should work if you are running XP.
reboot
Offline

Posting Freak

Posts: 1,426
Threads: 89
Joined: Mar 2005
#62
2008-09-24, 03:17 PM (This post was last modified: 2008-09-24, 03:29 PM by reboot.)
OK, I get what you're trying to say, but what confuses me, is that comskip won't even run, and it comes BEFORE anything else in the .bat
I'll try a delay, the problem is how long? Show length, or 10 seconds, or ???
I tried it with a 60 second sleep. It's like the command isn't even there. The error is generated in the first 10 seconds of recording.
How can the recording NOT be in progress. I just started the recording, and the error says it's already recording...leads me to think that it's not seeing the second recording as a separate one. It thinks the first recording is the one already in progress, then generates the error when I start the second one. Clear as mud?
You can never have enough tuners!
Pentium Quad / 4Gb Dual Channel RAM / XPSP3 / 2 x PVR-500, PVR-250 / GB-PVR
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#63
2008-09-24, 03:51 PM
I don't use ParallelProcessing.bat, which runs at the same time as the recording is being made. Instead, I use PostProcessing.bat that runs AFTER the recording completes.

It seems that on one of the recordings, comskip either does not run, or it terminates prior to the recording being complete. Therefore when VideoRedo and WizRenameRecording kicks in, the recording is still in process.

Not sure if the problem isn't that comskip is unable to run two copies (recording 1 and recording 2) at the same time.

You might try moving VideoRedo and WizRename recording into PostProcessing.bat. You are then insured that the recording is complete, before the script is called.

I can work on some batch scripts to accomplish the above if you need some assistance.
reboot
Offline

Posting Freak

Posts: 1,426
Threads: 89
Joined: Mar 2005
#64
2008-09-24, 06:15 PM (This post was last modified: 2008-09-24, 06:39 PM by reboot.)
Makes sense. I'll give it a shot and see if there's any difference. Thanks Smile
Nope. Postprocessing.bat doesn't even run. Comskip runs on the first file, not the second, then when ended, nothing...
I put the whole process into postprocessing.bat (just renamed parallelprocessing.bat) and it all works, so go figure?
I was using parallelprocessing.bat because of the CPU consumption that comskip requires when running 2, or more, at once, so in parallel significantly reduced the processing time.
I'd really like to get this working in parallel again. Any clues?


I think I may have solved my problem. If I run comskip from gb-pvr's config, and then run videoredo/wizrenamerecording from postprocessing.bat it may all work. Testing now, back in 25 minutes to let you know how it turned out Big Grin
You can never have enough tuners!
Pentium Quad / 4Gb Dual Channel RAM / XPSP3 / 2 x PVR-500, PVR-250 / GB-PVR
reboot
Offline

Posting Freak

Posts: 1,426
Threads: 89
Joined: Mar 2005
#65
2008-09-24, 07:46 PM
Yup, success at last. Big Grin
You can never have enough tuners!
Pentium Quad / 4Gb Dual Channel RAM / XPSP3 / 2 x PVR-500, PVR-250 / GB-PVR
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#66
2008-09-24, 10:26 PM
Excellent. Glad you got it to work.

So, if I understand, you have GBPVR parallel processing with comskip via the config setting, and VideoRedo and WizRenameRecording running in the PostProcessing.bat. Right?
reboot
Offline

Posting Freak

Posts: 1,426
Threads: 89
Joined: Mar 2005
#67
2008-09-25, 02:23 PM
Exactly. For some reason, it was working perfectly until a clean install of the latest gb-pvr, then one tuner wouldn't record at all, sorted that out, then started the problems of the second (and third) tuner's errors in parallelprocessing. I purposely didn't mention the third tuner in our previous posts to avoid confusion, and was concentrating on the pvr-500 only, with 2 recordings.
The pvr-250 fell prey to the same errors, if both tuners on the pvr-500 were recording, and I started a third.
By taking comskip out of the parallel and running it from within config, then allowing the remainder (wizrename and videoredo) to run in postprocessing, I keep the memory/CPU usage to a minimum during recording, and everything runs just as it did in parallelprocessing before the changes.
Same end result, just a different way of getting it.
Maybe if Sub peeks in here, he can shed a bit of light on what happened.
Cheers for checking the logs and such, and helping me solve this Big Grin
You can never have enough tuners!
Pentium Quad / 4Gb Dual Channel RAM / XPSP3 / 2 x PVR-500, PVR-250 / GB-PVR
superflysocal
Offline

Junior Member

Posts: 38
Threads: 5
Joined: Oct 2008
#68
2008-10-11, 02:42 PM (This post was last modified: 2008-10-11, 02:46 PM by superflysocal.)
How do I integrate this into PostProcessing.bat that is right now Stattik's transcode script? His new script also updates the databse to point to the avi file instead of mpg file.

so what i want is:
originalname.mpg to newfilename.mpg
newfilename.mpg converted to newfilename.avi (stattik's script)
library point to newfilename.avi (stattik's script)

or
originalname.mpg to originalname.avi (stattik's script)
originalname.avi to newfilename.avi
library point to newfilename.avi (stattik's script)

This is the part of the stattik's script I'm not sure what to do about:

PHP Code:
::      BEGIN MAIN SCRIPT
SET name
=%1
SET short_name
="%~nx1"
SET title="%~n1"
SET source_size=%~z1
SET start_opt
="%short_name:"=% - stattik_transcode" /low /wait /min 
here is my Postprecessing.bat
JimF
Offline

Member

Posts: 217
Threads: 19
Joined: Oct 2005
#69
2008-11-07, 05:37 PM (This post was last modified: 2008-11-07, 07:36 PM by JimF.)
I have been trying to run WizRenameRecording 1.0.5 from the PostProcessing.bat file under Vista x64 without any luck. If I use the GUI (without administrator privileges for WizRenameRecording.exe), I get the following error in the log:

Evalute called.
Source : Modern Marvels
Pattern: {episode}
Result : Axes

Rename called.
Source : F:\Modern Marvels\Modern Marvels_20081107_12001300.dvr-ms
Target : F:\Modern Marvels\Axes.dvr-ms
Step1: Rename file- Successful.
Step2: Comskip/support files- 0 comskip/support files renamed.
Step3: Rename thumbnails- media\art directory does not exist. Bypass.
Step4: Update recording table- ERROR: Unable to open the database file
unable to open database file
***Backout triggered***
1-Set filename back. Successful.
2-Set comskip files back. Successful.
3-Set thumbnail files back. media/art directory does not exist. Bypass.
Backout complete.

But if I run the GUI with Administrator privileges, it works fine. So the problem with running it from PostProcessing.bat seems to be that it can't run with Administrator privileges. I don't even get a log file generated then. Any suggestions?

EDIT: Even if I run the PostProcessing.bat with UAC disabled on Vista x64, it still won't start WizRenameRecording, and I still don't get a log file either.
All I have in the PostProcessing.bat file is:
@echo
WizRenameRecordings "%~f1" "{episode}"
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#70
2008-11-07, 06:57 PM
superflysocal Wrote:How do I integrate this into PostProcessing.bat that is right now Stattik's transcode script? His new script also updates the databse to point to the avi file instead of mpg file.

so what i want is:
originalname.mpg to newfilename.mpg
newfilename.mpg converted to newfilename.avi (stattik's script)
library point to newfilename.avi (stattik's script)

or
originalname.mpg to originalname.avi (stattik's script)
originalname.avi to newfilename.avi
library point to newfilename.avi (stattik's script)

This is the part of the stattik's script I'm not sure what to do about:

PHP Code:
::      BEGIN MAIN SCRIPT
SET name
=%1
SET short_name
="%~nx1"
SET title="%~n1"
SET source_size=%~z1
SET start_opt
="%short_name:"=% - stattik_transcode" /low /wait /min 
here is my Postprecessing.bat
Sorry, I missed this post. I'll take a look at the bat and try to figure out how this may be acheived, it may be a few days before I respond...
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (9): « Previous 1 … 5 6 7 8 9 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Would Somebody Please Help Me With A WizRenameRecording Problem??? skycyclepilot 1 4,964 2010-05-20, 03:01 PM
Last Post: Gedanken
  WizRenameRecording - blank output hakras 21 8,875 2010-02-22, 05:03 AM
Last Post: JavaWiz
  WizRenameRecording issues reboot 6 3,286 2009-03-24, 09:01 PM
Last Post: reboot
  new issues WizRenameRecording reboot 8 3,741 2008-10-06, 10:19 PM
Last Post: reboot

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

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

Linear Mode
Threaded Mode