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 … 175 176 177 178 179 … 1231 Next »
postprocessing.bat, comskip & videoredo

 
  • 0 Vote(s) - 0 Average
postprocessing.bat, comskip & videoredo
ApexHack
Offline

Member

Posts: 184
Threads: 34
Joined: Mar 2006
#11
2009-02-04, 10:39 PM
Damn, I'm getting thoroughly frustrated with this shit.

If I try to set the rec svc up under a user it forces a password and won't start due to logon errors. I tried taking the PWs out but they just keep coming back. Fuckin' computers.

It is and was set to run under a SYSTEM account and is checked to interact with the desktop.

This is pissing me off because this is huge to me to have a recording get the commercials cut out and sitting there waiting w/o any intervention. I really don't know what the difference is between this new machine and the one I had this working on for years.

Shit, what else can I do?
[SIZE="1"]1.3.11 / XP Pro SP2 / P5VD2-MX-SE {VIA P4M890 VT8237A} / E2200 / 2GB / 2.8TB / HVR1800 x 1, HVR1600 x 2 / 1 PCH[/SIZE]
K.S.
Offline

Senior Member

Posts: 526
Threads: 12
Joined: Oct 2006
#12
2009-02-05, 02:47 PM
you need to set username & password for the service, else it won't start (exception is local system account)
sub Wrote:Yep, what he said.

curiosity killed the cat Big Grin
ApexHack
Offline

Member

Posts: 184
Threads: 34
Joined: Mar 2006
#13
2009-02-05, 11:39 PM
Thank you. I didn't know.

I noticed my NMT isn't letting me on that computer since I was futzing with the rec svc yesterday. Will setting a password require me to set something with the nmt/mvpmc to get it to work?
[SIZE="1"]1.3.11 / XP Pro SP2 / P5VD2-MX-SE {VIA P4M890 VT8237A} / E2200 / 2GB / 2.8TB / HVR1800 x 1, HVR1600 x 2 / 1 PCH[/SIZE]
ApexHack
Offline

Member

Posts: 184
Threads: 34
Joined: Mar 2006
#14
2009-02-06, 09:15 AM
After a minor problem with the recording service not running I then went into the user account for Administrator and set it to have the same password. The recording service now runs and it records shows again, but it still doesn't run postprocessing.bat like it should.

I have no idea why but before the above messing it did actually process one or two shows like it should have leaving a cut file in the appropriate recording directory and the original in the originals folder. An anomaly just to mess with my head.

Oh well, it looks like this functionality is just fucked for now. I'll have to maintain the damn thing every day.

The WAF is on a serious downslide now.
[SIZE="1"]1.3.11 / XP Pro SP2 / P5VD2-MX-SE {VIA P4M890 VT8237A} / E2200 / 2GB / 2.8TB / HVR1800 x 1, HVR1600 x 2 / 1 PCH[/SIZE]
Clanky
Offline

Senior Member

Posts: 276
Threads: 57
Joined: Dec 2004
#15
2009-02-06, 09:26 AM
I've got an Autoit script that qsf's the files & works perfectly for mpegs.

If you want to give it a try I can post the code here.
ApexHack
Offline

Member

Posts: 184
Threads: 34
Joined: Mar 2006
#16
2009-02-06, 10:01 AM
Huh, how would it help? Thanks for posting.
[SIZE="1"]1.3.11 / XP Pro SP2 / P5VD2-MX-SE {VIA P4M890 VT8237A} / E2200 / 2GB / 2.8TB / HVR1800 x 1, HVR1600 x 2 / 1 PCH[/SIZE]
gEd
Offline

Posting Freak

London
Posts: 3,518
Threads: 100
Joined: Jan 2005
#17
2009-02-06, 10:04 AM
Clanky Wrote:I've got an Autoit script that qsf's the files & works perfectly for mpegs.

If you want to give it a try I can post the code here.

yes please.
“If this is the way Queen Victoria treats her prisoners, she doesn't deserve to have any.”
Clanky
Offline

Senior Member

Posts: 276
Threads: 57
Joined: Dec 2004
#18
2009-02-06, 10:52 AM (This post was last modified: 2009-02-06, 11:08 AM by Clanky.)
OK, download Autoit and Scite Autoit editor

Copy & paste the script lines in the editor, read the comment about tmp path location & change it to where you want it.

Compile the script to create cleanmpeg.exe & copy it to devnz\gbpvr directory. Copy the & place the following line in postprocessing.bat
cleanmpeg.exe %1

It sometimes doesn't work with .ts files, I think that this could be a problem with the mux I'm using, so I have gone back to using mpeg files until I try a different mux.

You can test the script from the command line by typing
cleanmpeg.au3 followed by full path to recording




---------------Script starts on the next line------------------------------
#cs ----------------------------------------------------------------------------

AutoIt Version: 3.2.12.0
Author: Al

Rewrite to take care of .ts files, orig script failed because of mpeg cockup!
#ce ----------------------------------------------------------------------------

; Script Start - Add your code below here
#include <file.au3>
AutoItSetOption("WinTitleMatchMode", 2)
AutoItSetOption('Trayicondebug', 1)
AutoItSetOption('MouseCoordMode', 0)
HotKeySet("{ESC}", "Terminate")

While WinExists("C:\WINDOWS\system32\cscript.exe")
WEnd

; Get file & path names
Dim $szDrive, $szDir, $szFName, $szExt
$Pathfile = _PathSplit($cmdline[1], $szDrive, $szDir, $szFName, $szExt)
$fname = $szFName & $szExt
$pth = $szDrive & $szDir

;get filename extension, .mpg=t1, .ts=t4
If $szExt = '.mpg' Then $outtype = '/t1'
If $szExt = '.ts' Then $outtype = '/t4'

;set temp path & filename, change it if required
$tmp = "F:\" & $fname
; Enclose the paths with "", else VideoReDo script wont work if
; a path contains spaces
$vrin = '"' & $cmdline[1] & '"'
$vrout = '"' & $tmp & '"'

;Check the path for vp.vbs is valid, may be videoredoplus, not tvsuite
RunWait('cscript //nologo "C:\Program Files\VideoReDoTVSuite\vp.vbs" ' & $vrin & ' ' & $vrout & ' ' & $outtype)

;rename temp to original filename
$result = FileMove($tmp, $cmdline[1], 1)

; Next 8 lines were used for debugging, can be deleted
If $result = 0 Then
$resultfile = $cmdline[1] & "_VR_FAIL.txt"
Else
$resultfile = $cmdline[1] & "_VR_OK.txt"
EndIf
$resfile = FileOpen($resultfile, 1)
FileWriteLine($resultfile, $vrin & ' ' & $vrout & ' ' & $outtype)
FileClose($resfile)


Func Terminate()
Exit 0
EndFunc ;==>Terminate

------------------------Script ends on previous line----------------------
K.S.
Offline

Senior Member

Posts: 526
Threads: 12
Joined: Oct 2006
#19
2009-02-06, 01:58 PM
@ApexHack: you're sure that postprocessing.bat is running at all? (you can easily check that with some logging at the beginning like "echo %time% postprocessing called >>postprocessing.log") if so, better try Clanky's script. use something that another videoredo user has running with no problems. else, your're in trouble... sorry mate Sad
sub Wrote:Yep, what he said.

curiosity killed the cat Big Grin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#20
2009-02-06, 04:00 PM
There is some problem I'm looking into where Postprocessing.bat wasnt running on TS recordings where multi-record was enabled and a back to back recording was occurring at the end of the recording.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): « Previous 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Postprocessing and the recordings database shsw 1 1,521 2010-08-29, 04:46 PM
Last Post: sub
  Comskip pcostanza 3 2,399 2010-06-02, 01:46 AM
Last Post: pBS
  Running comskip at a scheduled time? gonzo90017 4 2,171 2010-05-19, 06:09 AM
Last Post: pBS
  Anyone using comskip in New Zealand - TVNZ, TV3 etc ? wodger 3 1,840 2010-04-22, 11:07 PM
Last Post: Lindsay
  Help do not know how to configure comskip to work with records or live. HYBRiD.BLiNG 1 1,539 2010-04-16, 12:43 AM
Last Post: Graham
  comskip problem dspdrew 3 1,890 2010-04-13, 03:55 AM
Last Post: Daldana
  ffdshow postprocessing on .ts file playback alibert 2 1,715 2010-04-05, 05:33 AM
Last Post: alibert
  ATSC LiveTV and comskip on same server/client system? linene 2 1,576 2010-03-07, 09:31 PM
Last Post: linene
  Comskip ts NZ Lindsay 2 1,960 2010-02-27, 11:56 PM
Last Post: lyntonb
  New play pause toggle and comskip soccerdad 3 2,072 2010-02-03, 12:59 AM
Last Post: AOSandman

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

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

Linear Mode
Threaded Mode