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 … 1036 1037 1038 1039 1040 … 1231 Next »
Postprocessing.bat not working

 
  • 0 Vote(s) - 0 Average
Postprocessing.bat not working
filipcza
Offline

Junior Member

Posts: 12
Threads: 4
Joined: Apr 2005
#1
2005-04-24, 07:08 PM
If I understand this correctly, then all I need to do is create a postprocessing.bat -file to gbpvr directory and it should be executed after each recording.

But for some reason it seems not to be working. This is what I have written in the postprocessing.bat:
-------------------------
c:
cd\multimedia\gbpvr\
compress.exe
-------------------------

but for some reason it doesn't work. After the recording nothing happens..help please :confused:
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,823
Threads: 769
Joined: Nov 2003
#2
2005-04-24, 07:40 PM
What does compress.exe do, and how does it know what file to 'do it' on?
filipcza
Offline

Junior Member

Posts: 12
Threads: 4
Joined: Apr 2005
#3
2005-04-24, 09:04 PM (This post was last modified: 2005-04-24, 09:08 PM by filipcza.)
It's just an automation script(which is compiled to .exe), which uses auto gordian knot to compress all files that are in the recorded shows directory. It works fine if I launch it manually but for some reason the postprocessing.bat file doesn't seem to launch it, or anything else for that matter.

So what I need to know is, is there anything else that needs to be done in order for the postprocessing.bat to work? Does it matter where I have installed gbpvr? (It's in c:\multimedia\gbpvr\ now).
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,823
Threads: 769
Joined: Nov 2003
#4
2005-04-24, 09:35 PM
No, there is nothing else you need to do. As long as your postprocessing.bat is in the GB-PVR directory it'll be run.

Its important to remember that it'll run as a different user account than when you run it manually, so if you .exe file relies on any settings that are associated with user account, these wont be found.
filipcza
Offline

Junior Member

Posts: 12
Threads: 4
Joined: Apr 2005
#5
2005-04-24, 09:41 PM
Ok, thanks.
SWK
Offline

Member

Posts: 116
Threads: 12
Joined: Mar 2005
#6
2005-04-25, 12:00 PM
Hi

I find it useful to add some simple logging to the batch file, you can also redirect the output of any .EXE's being executed :

@ECHO OFF
SET LOG_FILE="%~dpn0.LOG"
ECHO %DATE% %TIME% '%*' >>%LOG_FILE%

rem comskip.exe %1
ArchiveEpisode %1 > archive.log
rectracker %1 > rectracker.log

Notes :

SET LOG_FILE="%~dpn0.LOG"

Creates a filename with the same path and name of the batch file (%0), but with the extension '.LOG'

ECHO %DATE% %TIME% '%*' >>%LOG_FILE%

Outputs the current date and time along with any command line parameters to the log file.

Hope this helps, Sean
dazz
Offline

Member

Posts: 62
Threads: 29
Joined: Nov 2004
#7
2005-04-26, 11:02 PM
Hi,

To filipcza:

Did you get postprocess.bat to work?

Can you send me the compress.exe code? I'd like to use auto_gk to compress recordings.

To anyone:

Is there any other auto compress utility/program anyone is using?

Thanks!
filipcza
Offline

Junior Member

Posts: 12
Threads: 4
Joined: Apr 2005
#8
2005-04-27, 04:03 AM
No, I didn't, but I stopped trying, since the original problem was solved...the reason why I wanted to compress was that I couldn't watch mpg recordings over 5 minutes. For some reason picture froze after that. So I wanted to convert all my recordings to xvid automatically, so they wouldn't freeze. The problem was fixed when I downloaded windvd and installed it. Maybe my mpg decoder was corrupt.

The compress.exe is created using program called "AutoIt3". It's great program and with it you can simulate mouse movements and keyboard keystrokes. I just programmed it to open autogordian knot, click the open dialog, enter the first filename from my recordings directory and so on..just like I was doing it by hand, but this thing would do it on it's own. If you want I can send you the script so you can get the hang of it. If you want it send email to filipcza@hotmail.com.
American_rob
Offline

Junior Member

Posts: 7
Threads: 2
Joined: May 2005
#9
2005-05-25, 03:36 AM
I am having the same problem in that my Postprocessing.bat does not seem to be running. I am really rusty on Batch files but please give me some ideas. Is there a setting in GBPVR that would disable the batch file?

Here is the file:
echo "running postprocessing.bat" > debugpostprocess.log
REM comskip %1
REM rectracker %1 > rectracker.log
echo "line 2" > debugpostprocess.log
COPY PocketDivXEncoder_tasks.pde PocketDivXEncoder_tasks.bak
echo "line 3" > debugpostprocess.log
ECHO %1,%1_Smartphone.avi,6-32000-32- -Mono-1917-25.000-MOVI-0-12-36- - - -0,220x146,10 > newshow.txt
echo "line 4" > debugpostprocess.log
COPY newshow.txt+PocketDivXEncoder_tasks.bak PocketDivXEncoder_tasks.pde
echo "line 5" > debugpostprocess.log
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Web Scheduling Not Working hasso 1 1,927 2011-06-28, 10:48 AM
Last Post: hasso
  Can't get GBPVR working w/ WinTV-PVR150 RandyH 21 9,064 2011-06-22, 05:35 PM
Last Post: adrian_vg@yahoo.com
  Windows 7 and Working DVD Menu Navigation imilne 8 4,516 2011-01-04, 02:23 PM
Last Post: imilne
  Webgrab no longer working, no EPG! mc2xml? ericbiermann 3 2,853 2010-12-23, 09:04 AM
Last Post: ericbiermann
  Automatic Transcoding Not Working taz 3 2,344 2010-11-22, 09:01 AM
Last Post: goelectric
  Hauppauge 1600 analog stopped working stoenjes 2 2,082 2010-11-16, 11:09 PM
Last Post: ryanmc
  Live TV Recording Pause etc not working manoj.kollam 3 2,558 2010-10-21, 10:50 PM
Last Post: sub
  PVRX2 has stopped working roguejedi 2 1,929 2010-10-09, 05:16 PM
Last Post: roguejedi
  Comcast DCI105COM1 DTA and Hauppauge IR Blaster not working DonP 6 7,433 2010-09-26, 03:46 AM
Last Post: pBS
  Net Radio not working on client PC JP23 2 1,796 2010-09-14, 10:45 PM
Last Post: JP23

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

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

Linear Mode
Threaded Mode