IPB

Welcome Guest ( Log In | Register )

23 Pages V  « < 21 22 23  
Reply to this topicStart new topic
> Post Capture Tasks, Generic Management Script
Rating 4 V
Guest_bradm_*
post Sep 28 2006, 08:32 AM
Post #441





Guests






QUOTE (paul_ahb @ Sep 22 2006, 07:45 PM) *
hmm, I am not sure what you have done wrong. Have you installed the xvid codec and ffdshow?

I have created a new version of integratedmodules.ini and an example job that uses it. Unzip both and copy the integratedmodules.ini over the existing one and copy the exampleXVIDhi.bat into the jobs folder. Then drag and drop a TS or MPG file onto the exampleXVIDhi.bat and see how that goes. let us know the result.

Paul


Thanks Paul,

The exampleXVIDhi.bat and integratedmodules.ini file were exactly what I had already created.

I have changed the modules/xvidhi.bat to use the following options:
-ovc xvid -xvidencopts autoaspect:pass=1 -nosound -o %outputfile% %inputfile% -edl %edlfile%
and
-ovc xvid -xvidencopts autoaspect:bitrate=%bitrate%:pass=2 -oac copy -o %outputfile% %inputfile% -edl %edlfile%

I guess that means I have removed the reliance on ffdshow? It seems to work ok now though, although much slower encoding than DivX.
Go to the top of the page
 
+Quote Post
paul_ahb
post Sep 28 2006, 01:01 PM
Post #442


Forum Regular


Group: Members
Posts: 1,162
Joined: 9-June 04
From: Hobart
Member No.: 1,030
Card: None


QUOTE (bradm @ Sep 28 2006, 08:32 AM) *
I guess that means I have removed the reliance on ffdshow? It seems to work ok now though, although much slower encoding than DivX.

This means that you aren't scaling your video and you aren't compressing your audio. If this is what you want then great!.

yes, divx is faster than xvid (as someone pointed out to me in an earlier post). That is why I configured divx to be the main compression type. But of course I still provide xvid for those who prefer to use it.

Paul

This post has been edited by paul_ahb: Sep 28 2006, 01:02 PM


--------------------
Go to the top of the page
 
+Quote Post
Guest_bradm_*
post Sep 29 2006, 01:21 PM
Post #443





Guests






QUOTE (paul_ahb @ Sep 28 2006, 01:01 PM) *
This means that you aren't scaling your video and you aren't compressing your audio. If this is what you want then great!.

yes, divx is faster than xvid (as someone pointed out to me in an earlier post). That is why I configured divx to be the main compression type. But of course I still provide xvid for those who prefer to use it.

Paul



I've gone back to DivX, just because it's faster encoding.

Without scaling, the aspect ratio is wrong when viewing on the pc, but it is displayed correctly on my Widescreen TV via xbox media centre. Both PAL 16:9 and 4:3 are 720x576, just scaled differently on the display device right?

Any reason you are using CBR for the audio? I get a similar filesize using VBR=3, but it should *in theory* be better quality. So now my options for pass 2 in the DivXhi module are:

-ffourcc DIVX -vf pp=hb/vb/dr -ovc lavc -lavcopts vcodec=mpeg4:vpass=2:vhq:vbitrate=%bitrate% -oac mp3lame -lameopts mode=2:vbr=3 -o %outputfile% %inputfile% -edl %edlfile%

I still can't get it to be the default task in webscheduler though - I have set it to the default EPG task. But when I add a new schedule, it always defaults to none for 'post capture task'
Go to the top of the page
 
+Quote Post
paul_ahb
post Sep 29 2006, 03:24 PM
Post #444


Forum Regular


Group: Members
Posts: 1,162
Joined: 9-June 04
From: Hobart
Member No.: 1,030
Card: None


QUOTE (bradm @ Sep 29 2006, 01:21 PM) *
Without scaling, the aspect ratio is wrong when viewing on the pc, but it is displayed correctly on my Widescreen TV via xbox media centre.

Yes, some applicaitons will scale it correctly on your copmuter aswell, eg mplayer.
QUOTE
Both PAL 16:9 and 4:3 are 720x576, just scaled differently on the display device right?
no. 4x3 is 540x576 with the remainder of the 720 (ie 180) being the black borders on the sides.
QUOTE
Any reason you are using CBR for the audio?

Yes, I did not find a decent editing programme that could handle vbr audio for cutting. I now use virtiualdub, and this requires constant bitrate.
QUOTE
I still can't get it to be the default task in webscheduler though - I have set it to the default EPG task. But when I add a new schedule, it always defaults to none for 'post capture task'

I think that the default EPG task only applies to items that are added by clicking on a programme in the EPG. If you use the normal scheduler then I don't think there is an option to specify a default post capture task. I may easily be corrected on this statement though.

Paul


--------------------
Go to the top of the page
 
+Quote Post
Columbus
post Sep 29 2006, 10:11 PM
Post #445


Participant


Group: New Members
Posts: 23
Joined: 10-September 06
Member No.: 5,501
Card: Compro VideoMate DVB-T300


Hi Paul,

I'm just wondering if it's possible that you've overlooked my recent post, number 440 in this historically long thread (back on page 22)?

I rather suspect you've missed it, having been kept busy dealing with bradm and his Xvid and ffdshow problems.

Rather than re-post the whole thing here, when you find a moment, any chance of checking it out, and maybe posting a response? I'd appreciate it.

As always: best wishes to all from Fremantle, Western Australia.
Go to the top of the page
 
+Quote Post
black_dog
post Sep 29 2006, 10:37 PM
Post #446


Forum Regular


Group: Members
Posts: 219
Joined: 31-July 05
Member No.: 3,277
Card: DVICO FusionHDTV


Hi Paul,

I dont seem to be able to download this at the moment. Is anyone else having problems?

Blacky..
Go to the top of the page
 
+Quote Post
Columbus
post Sep 29 2006, 10:49 PM
Post #447


Participant


Group: New Members
Posts: 23
Joined: 10-September 06
Member No.: 5,501
Card: Compro VideoMate DVB-T300


QUOTE (black_dog @ Sep 29 2006, 08:37 PM) *
Hi Paul,

I dont seem to be able to download this at the moment. Is anyone else having problems?

Blacky..


Blacky, I just checked, and everything seems in order at http://paulahb.dyndns.org/scripts/Complete...ostProcessor17/. Likewise, at http://paulahb.dyndns.org/scripts/Complete...7/Applications/ ... maybe you should try again?

Is it possible you're looking at an incorrect URL?

Good luck.
Go to the top of the page
 
+Quote Post
black_dog
post Sep 29 2006, 11:59 PM
Post #448


Forum Regular


Group: Members
Posts: 219
Joined: 31-July 05
Member No.: 3,277
Card: DVICO FusionHDTV


QUOTE (Columbus @ Sep 29 2006, 10:49 PM) *
... maybe you should try again?


I'm using the link at the beginning of the thread, and sure enough, it works now.

Until about 10:30 or so, I was getting network errors connecting to 'paulahb.dyndns.org'.

I can now ping and browse that address, so the problem was 'out there' somewhere.

Thanks.
Go to the top of the page
 
+Quote Post
paul_ahb
post Sep 30 2006, 12:06 AM
Post #449


Forum Regular


Group: Members
Posts: 1,162
Joined: 9-June 04
From: Hobart
Member No.: 1,030
Card: None


This support thread now closed. Please use:
http://forums.dvbowners.com/index.php?showtopic=6888


--------------------
Go to the top of the page
 
+Quote Post
Mark Walsh
post Feb 19 2007, 10:16 PM
Post #450


Be nice to me, I am new.


Group: New Members
Posts: 7
Joined: 12-August 06
From: Fitzroy (Melbourne), formerly Sandy Bay (Hobart)
Member No.: 5,275
Card: LeadTek DVT2000


A Non-Programmer's Unfinished Tale of Discovery on Automating TV Tuner Card Recordings.

Dear Administrator,
This is my first post.
It was aimed at Complete Post Processor, WSMPP
http://forums.dvb script:-
"C:\Program Files\WSMPP\Modules\ExampleRemux.bat" "$filename"
We schedule a recording, and refer to ExampleRemux.bat as a Post Task, and NOTHING HAPPENS!

[[[Discovery No 3: as a drag and drop, the ExampleRemux.bat CODE
cscript "%~dp0..\WSMPP.vbs" %1 -rxs
works just fine.

For reasons I don't understand, you need to change this to:
C:\WINDOWS\system32\cscript.exe "C:\Program Files\WSMPP\WSMPP.vbs" %1 -rxs
Then ExampleRemux.bat (I've renamed it Remux.bat) will work just fine within Web Scheduler.


(d) Returning to the sample script on the WSMPP Wiki site, I change the CODE:
cscript "%~dp0..\WSMPP.vbs" %1 -m "%~dp1paul\" -n -mf ( -n -rxs -n del 80 -divx4x3 -ad del 5
To
C:\WINDOWS\system32\cscript.exe "C:\Program Files\WSMPP\WSMPP.vbs" %1 -m "%~dp1paul\" -n -mf ( -n -rxs -n del 80 -divx4x3 -ad del 5
And it also works a treat.

This module created a folder "paul" within the folder where I capture my .TS files, and after an hour of recording:-
1) converted the original 'sample.ts' of 2.37GB into a lip-sync corrected 'sample.mpg' of 2.08GB, and
2) care of DivX video compression, created a 'sample.avi' of only 257MB (12.37% of the .TS original)

As an non-programmer, this is going well. Genuine 'Mozart Moment' - singing out loud now.


(e) Now I've entered that phase of development where I've started editing scripts for my own needs.
Moving ahead a bit here, I have now created the following scipt, which I called "Mark-Standard.bat":
C:\WINDOWS\system32\cscript.exe "C:\Program Files\commandqueue\CommandQueue.vbs" C:\WINDOWS\system32\cscript.exe "C:\Program Files\WSMPP\WSMPP.vbs" %1 -mf ( -n -rxs -n del 80 -dvd4x3 -scad del 5

Apart from 'del 80' and 'del 5' - I actually understand 'Mark-Standard.bat'.
Remux the recorded .TS file + Convert to DVD (standard screen) + Scan for advertisements.

After an hour of recording, this creates:-
1) a sample.ts = 2.37GB
2) a sample.mpg = 2.15GB
3) a folder (sample.mpg.dvd) containing a video in DVD format = 2.14GB

This is great. I record a show, play back the DVD, and if I like it, cut a copy using Nero.
Sooooo convenient.

I thought I understood 'del', and tried to use it to delete the superfluous 'sample.mpg' by varying 'del 80' from 'del 100' to 'del 5', but got no change to final output.
Clearly I don't understand the 'del 80' module.

In fact, all I want to keep after this processing is over is the DVD video in the 'sample.mpg.dvd' folder.
No idea how to automatically delete 'sample.ts' and 'sample.mpg' along the way.
Renaming final DVD folder from 'sample.mpg.dvd' to 'sample' also unknown, though I think '–kre', (a module I found in the forum discussion but not referred to when double clicking WSMPP.vbs) might have something to do with it.


(f) Now I'm stuck. My problem is recording Sunday evening and using the '-t' module.
SBS: 19:30 - 20:30: Lost Worlds.
ABC: 20:30 - 22:05: Foyle's War

If I schedule these two sequential programs with 'Mark-Standard.bat' mentioned above, the processing starts the moment Lost Worlds ends, and on my average PC, this compromises the recording of Foyle's War. I need to delay the processing of both programs until Foyle's War has finished - say around 10:30PM.

[[[PC: WinXP-SP2 + AMD 1910Mhz CPU + 512MB RAM + VIA/S3G KM400 Display + Vinyl AC'97 Sound + Leadtek DTV2000H Tuner Card]]]

I believe I understand the 'CommandQueue.vbs' component, and Queue the implementation of Foyle's War using my current 'Mark-Standard.bat' below.
C:\WINDOWS\system32\cscript.exe "C:\Program Files\commandqueue\CommandQueue.vbs" C:\WINDOWS\system32\cscript.exe "C:\Program Files\WSMPP\WSMPP.vbs" %1 -mf ( -n -rxs -n del 80 -dvd4x3 -scad del 5
The script for Foyle's War is in a queue and will run after the Lost World script has finished.
But I need to 'delay' the implementation of the script for Lost Worlds somehow.

In the forum I found something like:-
C:\WINDOWS\system32\cscript.exe "C:\Program Files\commandqueue\CommandQueue.vbs" C:\WINDOWS\system32\cscript.exe "C:\Program Files\WSMPP\WSMPP.vbs" %1 -t 00:00 17:00 -dmd -a3-169d -m F:\TV\2.Paul –kre
Note the -t 00:00 17:00 means only run start between midnight and 5pm.
This was implemented to suppress processing during the times of day that you might be watching TV and so therefore allowing your PC full resources for viewing.

Double clicking WSMPP.vbs gives us:-
-t <start after time> <start before time>
waittime.bat {{ARG}} {{ARG}}
Waits until the time is between the first and second time before proceeding with the next module.

WSMPP.vbs implies that the '-t' module ought to be written -t "00:00" "17:00"
I notice during the forum that you guys skimp on writing the full script so save time and space - is that the case here?

Modifying my 'Mark-Standard.bat', I get
C:\WINDOWS\system32\cscript.exe "C:\Program Files\WSMPP\WSMPP.vbs" %1 -t "22:30" "23:50" -mf ( -n -rxs -n del 80 -dvd4x3 -scad del 5

After Lost World has ended, the Post Task begins, opens a black Command Prompt or DOS window, then stops before the rxs commences.
However, it does not resume after 10:30PM.
If I manually close this Command Prompt window after Foyle's War has ended, both scripts proceed one after another.

I have used both:-
-t "22:30" "23:50" and -t "22:30" "23:50"
before and after the -mf ( module, but no change.

How do I stop a pause a script from operating until a designated time later on so that sequential recordings are not placed under multi-tasking stress?

From the forum, I sort of understand the debuglog.log in C:\Program Files\WSMPP if you need it later on. I seems to grow with the execution of each script!

Regards,

Mark
Go to the top of the page
 
+Quote Post

23 Pages V  « < 21 22 23
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 20th June 2013 - 01:38 PM