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) v
« Previous 1 … 37 38 39 40 41 … 125 Next »
PostProcessing.bat keeps launching WMP?

 
  • 0 Vote(s) - 0 Average
PostProcessing.bat keeps launching WMP?
volksman
Offline

Member

Posts: 131
Threads: 23
Joined: Jan 2006
#1
2007-01-01, 04:52 PM
I customized my postprocessing.bat script to behave differently based on the channel it is recording. However when I run the script to test it it keeps launching WMP.

Any help is very much appreciated:

Code:
:channel300
start /low /wait "c:\program files\mplayer\mencoder.exe" %1 -ovc xvid -xvidencopts bitrate=900:me_quality=6:chroma_me:noqpel:chroma_opt:vhq=4:bvhq=1:trellis:hq_ac:gmc:quant_type=mpeg:max_key_interval=240 -oac mp3lame -lameopts mode=2:cbr:br=128    -vf filmdint,softskip,scale=512:384,hqdn3d=3:2:3:3  -ofps 24000/1001 -o "D:\VideoArchive\TV\My Show\%~n1.avi"
echo Running 300 transcode >>postprocessing.log
goto eof

Everything works when I remove the "start /low /wait" but that doesn't make sense to me. Am I doing something wrong?
[SIZE="1"]Main HTPC - ASUS M2NPV-VM Athlon 4200+ X2 1 GIG DDR2-667 500 GIG of HD space Hauppauge PVR-150 PCI Hauppauge DVB-S-Plus GBPVR 99.12 VFD/LCD (Still working on it)
Client HTPC - Athlon 2500+, 512 Mb RAM, 200Gig Dump, 250Gig Archive, 20 Gig OS Hauppagge WinTV PVR USB2 GBPVR 99.05
Client - SoftMod Xbox, XBMC[/SIZE]
David
Offline

Senior Member

Posts: 435
Threads: 18
Joined: Oct 2005
#2
2007-01-01, 06:36 PM
The reference to mencoder is being used as the window title, so the %1 (translated to your recording file name) is being executed. Try adding something like "mencoder" as the first quoted option behind the "start /low /wait".


Code:
start /low /wait "mencoder window" "c:\program files\mplayer\mencoder.exe" %1 -ovc ...
David

PVR PC: Win2K3, Athlon x2 64 4600+, 1280MB Ram, 40+400 GB HD's, Gigabyte Network
PVR-250, ATSC-110 digital x2, GBPVR v1.3.7 w/SQLite DB
Extras: Addepisode 41, Comskip 79.46, EWA 76, Zaptools

DSM-520 (D-Link Media Lounge) FW 1.04 using TVersity Media Server 0.9.11.4
DSM-320 (D-Link Media Lounge) FW 1.09
MediaMVP

More specs
volksman
Offline

Member

Posts: 131
Threads: 23
Joined: Jan 2006
#3
2007-01-01, 11:53 PM
Hrm....added the extra bit in there but it still didn't work. I think you may be on to something though....perhaps I don't have it quoted properly?

Never really wrote any batch scripts so I'm not sure about syntax...I tried quoting %1 but that presents an error saying it can't find the file and provides me the first part of the path up to the first space (IE e:\PVRDUMP\Show where it should be e:\PVRDUMP\Show Name\Show Name_xxxxx).

I'm going to play around with a more simple batch script tomorrow to see if I can figure it out....
[SIZE="1"]Main HTPC - ASUS M2NPV-VM Athlon 4200+ X2 1 GIG DDR2-667 500 GIG of HD space Hauppauge PVR-150 PCI Hauppauge DVB-S-Plus GBPVR 99.12 VFD/LCD (Still working on it)
Client HTPC - Athlon 2500+, 512 Mb RAM, 200Gig Dump, 250Gig Archive, 20 Gig OS Hauppagge WinTV PVR USB2 GBPVR 99.05
Client - SoftMod Xbox, XBMC[/SIZE]
David
Offline

Senior Member

Posts: 435
Threads: 18
Joined: Oct 2005
#4
2007-01-02, 02:30 AM
The quotes maybe through it off. Try changing to the mplayer directory and running mencoder with out the path.

Something like this:

Code:
cd "\program files\mplayer\"
start /low /wait "mencoder window" mencoder.exe %1 -ovc ...

I don't actually use the mplayer app, so just moved the mencoder executable into my GB-PVR directory and uninstalled the mplayer app.
David

PVR PC: Win2K3, Athlon x2 64 4600+, 1280MB Ram, 40+400 GB HD's, Gigabyte Network
PVR-250, ATSC-110 digital x2, GBPVR v1.3.7 w/SQLite DB
Extras: Addepisode 41, Comskip 79.46, EWA 76, Zaptools

DSM-520 (D-Link Media Lounge) FW 1.04 using TVersity Media Server 0.9.11.4
DSM-320 (D-Link Media Lounge) FW 1.09
MediaMVP

More specs
volksman
Offline

Member

Posts: 131
Threads: 23
Joined: Jan 2006
#5
2007-01-02, 01:32 PM
actually you were REALLY close on your first note:

start "mencoder" /low /wait etc....


that works!

Smile

Thanks for the pointer!
[SIZE="1"]Main HTPC - ASUS M2NPV-VM Athlon 4200+ X2 1 GIG DDR2-667 500 GIG of HD space Hauppauge PVR-150 PCI Hauppauge DVB-S-Plus GBPVR 99.12 VFD/LCD (Still working on it)
Client HTPC - Athlon 2500+, 512 Mb RAM, 200Gig Dump, 250Gig Archive, 20 Gig OS Hauppagge WinTV PVR USB2 GBPVR 99.05
Client - SoftMod Xbox, XBMC[/SIZE]
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Program Plugin not launching MS Games jw100 0 2,722 2010-04-01, 05:53 PM
Last Post: jw100
  How do I get SHowanalyzer to run automatically from the postprocessing linfor 2 1,468 2007-12-21, 08:05 PM
Last Post: linfor
  Postprocessing calling question dmporch 10 4,160 2007-12-02, 12:06 AM
Last Post: sgilani
  Convert dvr-ms to mpg in postprocessing.bat dmporch 0 1,291 2007-11-22, 03:15 PM
Last Post: dmporch
  PostProcessing.bat with comskip & RenameRecording Hinde01 10 4,828 2007-08-06, 01:07 AM
Last Post: Hinde01
  RenameRecording/PostProcessing heath11 4 1,726 2007-04-24, 05:33 PM
Last Post: David
  Using ParallelProcessing & PostProcessing together. Jim_ 19 7,032 2007-04-07, 06:16 PM
Last Post: zehd
  PostProcessing.bat troubles: Clean, rename and retime netwerk23 6 2,831 2007-04-03, 08:25 PM
Last Post: pastro
  postprocessing.bat Michael Gentile 2 2,013 2006-03-24, 12:11 PM
Last Post: Michael Gentile
  I have no postprocessing.bat TrunkMonkey 9 2,731 2005-10-04, 08:06 PM
Last Post: rhuss

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

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

Linear Mode
Threaded Mode