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 … 611 612 613 614 615 … 1231 Next »
How do I get a program to run from postprocessing.bat?

 
  • 0 Vote(s) - 0 Average
How do I get a program to run from postprocessing.bat?
dvasco
Offline

Senior Member

Posts: 718
Threads: 113
Joined: Jun 2006
#1
2007-01-31, 07:28 AM
How do I get a program to run from postprocessing.bat? Do I just put the exe in the devnz folder and the name of the file in the postprocessing.bat?
[SIZE="1"] [COLOR="Blue"]
NPVR | Athlon XP 5000+ 2 GB RAM | Asus EAH3450 | Hauppauge HVR-1600 & Colossus | MS MCE Beanbag
Harmony 659 | RF keyboard | Vizio 42" LCD & Panasonic 32" CRT | 3 PCH A-100 [/COLOR][/SIZE]
elite
Offline

Senior Member

Posts: 700
Threads: 26
Joined: Sep 2004
#2
2007-01-31, 07:42 AM
Never had to use it...

Either copy the exe to the gbpvr directory and just specify the file name or specify the complete path to the exe in the bat file
Alternative music reviews[URL="http://soundblab.com"]
[/URL]
tomlissen
Offline

Junior Member

Posts: 36
Threads: 4
Joined: Jan 2007
#3
2007-01-31, 10:50 AM
Hey

Just make a batch file, en put the full path to the program in there. for example when you want to run notepad you make a batch file call postprocessing.bat:

"c:\windows\notepad.exe"

Save it and put it in the root of the gb-pvr install.
dvasco
Offline

Senior Member

Posts: 718
Threads: 113
Joined: Jun 2006
#4
2007-01-31, 01:59 PM
dvasco Wrote:How do I get a program to run from postprocessing.bat? Do I just put the exe in the devnz folder and the name of the file in the postprocessing.bat?
I meant to write gbpvr folder. 1:28 AM it way too late.
[SIZE="1"] [COLOR="Blue"]
NPVR | Athlon XP 5000+ 2 GB RAM | Asus EAH3450 | Hauppauge HVR-1600 & Colossus | MS MCE Beanbag
Harmony 659 | RF keyboard | Vizio 42" LCD & Panasonic 32" CRT | 3 PCH A-100 [/COLOR][/SIZE]
dvasco
Offline

Senior Member

Posts: 718
Threads: 113
Joined: Jun 2006
#5
2007-01-31, 05:35 PM
I already had a postprocessing.bat and I wanted to add mpg2srt to it. I placed mpg2srt.exe in the gbpvr folder and entered the mpg2srt into the bat file after the others. mpg2srt never ran.
Contents of the bat file are:
comskip %1
rectracker %1 > rectracker.log
rem recycler.exe
RenameRecording.exe -t %1 > rename.log
mpg2srt

Should I have placed %1 after mpg2srt?
[SIZE="1"] [COLOR="Blue"]
NPVR | Athlon XP 5000+ 2 GB RAM | Asus EAH3450 | Hauppauge HVR-1600 & Colossus | MS MCE Beanbag
Harmony 659 | RF keyboard | Vizio 42" LCD & Panasonic 32" CRT | 3 PCH A-100 [/COLOR][/SIZE]
replaytv
Offline

Senior Member

Posts: 352
Threads: 22
Joined: Oct 2004
#6
2007-01-31, 05:45 PM
I am not sure what mpg2srt.exe does, but it should run before renamerecording because after renamerecording has change the file to a different name.

Dan L.
Dell Dual Core 6400 XP Pro, PVR500, HVR-1600, MVPs on Belkin wireless bridge
pastro
Offline

Posting Freak

Posts: 1,885
Threads: 128
Joined: Jul 2006
#7
2007-01-31, 06:14 PM
dvasco Wrote:I already had a postprocessing.bat and I wanted to add mpg2srt to it. I placed mpg2srt.exe in the gbpvr folder and entered the mpg2srt into the bat file after the others. mpg2srt never ran.
Contents of the bat file are:
comskip %1
rectracker %1 > rectracker.log
rem recycler.exe
RenameRecording.exe -t %1 > rename.log
mpg2srt

Should I have placed %1 after mpg2srt?


Yes you should since this parameter is the name of the file that you are working on, and I would think mpg2srt would need it.

Also as said below the filename changes with the renamerecording call so you probably need to run mpg2srt first. Trouble is you are probably going to have to differnent names, one for the mpg file after the rename, and one that mpg2srt generates from the original name.
GBpvr PC: Intel Celeron 1.8 Ghz. 768 Mb WinXp Home Sp2
Video: Diamond 128 Mb 9550
Capture Cards: PVR-150 & PVR-150 MCE w/fm + 2x MVP
Author of: BurnDVDX2 and Skiptool
mmatheny
Offline

Senior Member

Posts: 732
Threads: 113
Joined: May 2006
#8
2007-01-31, 08:20 PM
Also, if you are going to call another batch file from postprocessing.bat, do a call statement so when it finishes it returns to the calling file (in this case postprocessing.bat)

i.e.

do something
do something else
call another batch file
continue doing something here
Mike

PVRX2 1.3.11
Community Skin 3.2.4
Community Skin Plugin 3.2.2
Win7 RTM 7600 x32
Comcast Houston (cable co)
ECS 7050M-M2 V2
AMD Phenom 9550 QuadCore
4G RAM
BFG GeForce 9600GT 512mb
160g SATA II (OS)
500g SATA II (DATA)
LG GGC-H20LK Combo drive
Hauppauge WinTV HVR-2250
JVC RX-9010 RX
Samsung PN50A550
dvasco
Offline

Senior Member

Posts: 718
Threads: 113
Joined: Jun 2006
#9
2007-02-01, 06:42 PM
I didn't get an email notification of any of these responses but I did on others. I guess I don't get them when I start a thread. I will have to look into that more.
[SIZE="1"] [COLOR="Blue"]
NPVR | Athlon XP 5000+ 2 GB RAM | Asus EAH3450 | Hauppauge HVR-1600 & Colossus | MS MCE Beanbag
Harmony 659 | RF keyboard | Vizio 42" LCD & Panasonic 32" CRT | 3 PCH A-100 [/COLOR][/SIZE]
dvasco
Offline

Senior Member

Posts: 718
Threads: 113
Joined: Jun 2006
#10
2007-02-01, 06:51 PM
pastro Wrote:Yes you should since this parameter is the name of the file that you are working on, and I would think mpg2srt would need it.

Also as said below the filename changes with the renamerecording call so you probably need to run mpg2srt first. Trouble is you are probably going to have to differnent names, one for the mpg file after the rename, and one that mpg2srt generates from the original name.
I need to figure that out, plus how to have the files from comskip renamed also so that the VRD file has the same name also. Can you help me more on that?
[SIZE="1"] [COLOR="Blue"]
NPVR | Athlon XP 5000+ 2 GB RAM | Asus EAH3450 | Hauppauge HVR-1600 & Colossus | MS MCE Beanbag
Harmony 659 | RF keyboard | Vizio 42" LCD & Panasonic 32" CRT | 3 PCH A-100 [/COLOR][/SIZE]
« 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
  Program MCE remote? arkennedy75 1 2,714 2011-04-13, 12:09 AM
Last Post: pBS
  How to record a program while sleeping broadband412 2 2,172 2011-01-10, 11:13 PM
Last Post: broadband412
  GBPVR keeps recording after end of program stoenjes 2 1,935 2010-10-15, 12:37 AM
Last Post: stoenjes
  Postprocessing and the recordings database shsw 1 1,548 2010-08-29, 04:46 PM
Last Post: sub
  parallelprocessing does not run on second program when two consecutive recordings zaldwaik 2 1,614 2010-07-20, 12:31 AM
Last Post: zaldwaik
  TS 'fixing' program? (JohnnyCam please read) johnsonx42 3 2,071 2010-07-19, 04:59 AM
Last Post: johnsonx42
  ffdshow postprocessing on .ts file playback alibert 2 1,742 2010-04-05, 05:33 AM
Last Post: alibert
  Program Guide Is 2 Hours Off. canbrass 2 1,526 2010-02-27, 06:09 PM
Last Post: canbrass
  2250 sometimes records wrong QAM program steveum 8 2,818 2010-02-16, 10:41 PM
Last Post: whurlston
  Recorded program not playing PVRX2 changed file extension to avi before conversion luttrell1962 5 2,012 2010-02-16, 07:05 PM
Last Post: luttrell1962

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

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

Linear Mode
Threaded Mode