IPB

Welcome Guest ( Log In | Register )

23 Pages V   1 2 3 > »   
Reply to this topicStart new topic
> Post Capture Tasks, Generic Management Script
Rating 4 V
paul_ahb
post Jul 12 2005, 02:07 PM
Post #1


Forum Regular


Group: Members
Posts: 1,161
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

This post has been edited by paul_ahb: Sep 30 2006, 12:04 AM


--------------------
Go to the top of the page
 
+Quote Post
Guest_paulie-g_*
post Jul 13 2005, 08:24 AM
Post #2





Guests






I'm Interested.

Where do I sign?
Go to the top of the page
 
+Quote Post
Guest_marlow_*
post Jul 13 2005, 12:18 PM
Post #3





Guests






Sounds great Paul. I'm interested.
Go to the top of the page
 
+Quote Post
Guest_belorion_*
post Jul 13 2005, 01:36 PM
Post #4





Guests






I think everyone who has had their PVR for more than a few minutes will realise the value of a script like this. I would love a script that would "just make things happen" the way everyone wants (compressed, chopped, commercials removed etc).

So that's a Y E S please :- )
Go to the top of the page
 
+Quote Post
paul_ahb
post Jul 13 2005, 06:03 PM
Post #5


Forum Regular


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


QUOTE (belorion @ Jul 13 2005, 01:36 PM)
I think everyone who has had their PVR for more than a few minutes will realise the value of a script like this. I would love a script that would "just make things happen" the way everyone wants (compressed, chopped, commercials removed etc).

So that's a  Y E S please :- )
*

Well it doesn't make cops of tea yet sad.gif

But I don't mind taking requests.

The scipt is here:
http://paulahb.dyndns.org/scripts/
Here you can download the commandqueue.zip which is the core of the script.

To use it decompress it and move the commandqueue folder to you program files directory. You will probably also want to downlaod the xvidcompress.bat and put that into your mplayer folder. If you don't have mplayer then you will need to downlaod it (for mencoder).

If you would like more detailed instructions then let me know.

I haven't said everything that you need to know here but it is tea time for my kids so I am in a rush.

Paul


--------------------
Go to the top of the page
 
+Quote Post
paul_ahb
post Jul 13 2005, 08:26 PM
Post #6


Forum Regular


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


Please post what you would like to do eg:
-record in dvr-ms format and convert to avi and then move into a folder
or
-record HD tv in a full TS, demux and remux the file to mpg to keep the HD quality recording but throw away the excess streams.
or
record in mpg format and automatically skip the adverts and convert to avi and delete all of the previous files.

Please let me know what you would like to do and I'll try to post a way to do it.

Paul


--------------------
Go to the top of the page
 
+Quote Post
Guest_belorion_*
post Jul 13 2005, 09:13 PM
Post #7





Guests






Thanks for the quick reply :- )

I can only state my own preferences which are:
- capture TS (smallest load on the system as I have multiple cards and use the machine for other uses)
- automagically strip out the ads
- convert to XVid
- delete the TS (if the XVid is reasonable [size])

That would be my ideal scenario :- ) Anything that gets me closer to that is always appreciated :- )

thanks
Go to the top of the page
 
+Quote Post
damianh
post Jul 14 2005, 10:30 AM
Post #8


Forum Regular


Group: Members
Posts: 140
Joined: 12-April 05
Member No.: 2,844
Card: DNTV Live! Low Profile


QUOTE (paul_ahb @ Jul 13 2005, 09:26 PM)
Please post what you would like to do eg:
-record in dvr-ms format and convert to avi and then move into a folder
or
-record HD tv in a full TS, demux and remux the file to mpg to keep the HD quality recording but throw away the excess streams.
or
record in mpg format and automatically skip the adverts and convert to avi and delete all of the previous files.

Please let me know what you would like to do and I'll try to post a way to do it.

Paul
*


Paul,
Ive downloaded your script and mplayer and put these in my program files directory.
As im not too hot on programming , how do i activate a post capture task that will record in mpeg and then convert the file to a divx file with the attached requirements , see attachment, and then move the new divx file to an archive folder?
Hope this is not asking too much.
Thanks for your help.[attachment=197:attachment] ohmy.gif
Go to the top of the page
 
+Quote Post
paul_ahb
post Jul 14 2005, 02:40 PM
Post #9


Forum Regular


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


QUOTE (belorion @ Jul 13 2005, 09:13 PM)
Thanks for the quick reply :- )

I can only state my own preferences which are:
- capture TS (smallest load on the system as I have multiple cards and use the machine for other uses)
- automagically strip out the ads
- convert to XVid
- delete the TS (if the XVid is reasonable [size])

That would be my ideal scenario :- ) Anything that gets me closer to that is always appreciated  :- )

thanks
*

I will add some functionality to make this process a bit easier before I post an answer to this.

when you convert to XVid do you want to leave in 16x9 mode or would you like to have an option of converting to 4x3 aswell?

oh, and I think that ts puts a higher load on the machine than dvr-ms. I have 3 cards and there is usually a compression running in addition to myself or my wife watching a show. But if it works for you then there is no need to change smile.gif

Paul


--------------------
Go to the top of the page
 
+Quote Post
paul_ahb
post Jul 14 2005, 03:28 PM
Post #10


Forum Regular


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


QUOTE (damianh @ Jul 14 2005, 10:30 AM)
QUOTE (paul_ahb @ Jul 13 2005, 09:26 PM)
Please post what you would like to do eg:
-record in dvr-ms format and convert to avi and then move into a folder
or
-record HD tv in a full TS, demux and remux the file to mpg to keep the HD quality recording but throw away the excess streams.
or
record in mpg format and automatically skip the adverts and convert to avi and delete all of the previous files.

Please let me know what you would like to do and I'll try to post a way to do it.

Paul
*


Paul,
Ive downloaded your script and mplayer and put these in my program files directory.
As im not too hot on programming , how do i activate a post capture task that will record in mpeg and then convert the file to a divx file with the attached requirements , see attachment, and then move the new divx file to an archive folder?
Hope this is not asking too much.
Thanks for your help.[attachment=197:attachment] ohmy.gif
*


I can make an adjustment to the script to allow arbitrary settings if you like, but it looks like you have a mistake in your config, you specify 512 x 272 but you should have 512 x 288. Your shows will be slightly squished if it is not 16x9.

I curenlty have 8 different compression settings. All do 2 pass encoding for improved quality/size.

crop setting, output size, bitrate, audio bitrate, delete source setting

CODE
"528:560:96:8","256:192","100","64","No Delete"
"528:560:0:8","256:144","100","64","No Delete"

"528:560:96:8","512:384","300","128","No Delete"
"528:560:0:8","512:288","300","128","No Delete"

"528:560:96:8","512:384","600","128","No Delete"
"528:560:96:8","512:384","600","128","Delete if > 1%"
"704:560:0:8","512:288","600","128","No Delete" - This one looks closest to what your settings are

"528:560:96:8","512:384","1000","128","No Delete"
"704:560:0:8","768:432","1000","128","No Delete"


From what you say I assume that you record straight to mpg using webscheduler. Is that right?

the command to run could be:
QUOTE
C:\WINDOWS\system32\cscript.exe "C:\Program Files\CommandQueue\CommandQueue.vbs" C:\WINDOWS\system32\cscript.exe "C:\Program Files\CommandQueue\WSPostProcessor.vbs" %1 -a3-169 -n -m "C:\your destination\folder"


but I think that I have just found a bug with the 16x9 compression, so I will look at that tonight and get back to you again.

Paul


--------------------
Go to the top of the page
 
+Quote Post
paul_ahb
post Jul 14 2005, 11:26 PM
Post #11


Forum Regular


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


QUOTE (damianh @ Jul 14 2005, 10:30 AM)
QUOTE (paul_ahb @ Jul 13 2005, 09:26 PM)
Please post what you would like to do eg:
-record in dvr-ms format and convert to avi and then move into a folder
or
-record HD tv in a full TS, demux and remux the file to mpg to keep the HD quality recording but throw away the excess streams.
or
record in mpg format and automatically skip the adverts and convert to avi and delete all of the previous files.

Please let me know what you would like to do and I'll try to post a way to do it.

Paul
*


Paul,
Ive downloaded your script and mplayer and put these in my program files directory.
As im not too hot on programming , how do i activate a post capture task that will record in mpeg and then convert the file to a divx file with the attached requirements , see attachment, and then move the new divx file to an archive folder?
Hope this is not asking too much.
Thanks for your help.[attachment=197:attachment] ohmy.gif
*




do you want it to delete the source file if the avi is a half reasonable size?


--------------------
Go to the top of the page
 
+Quote Post
paul_ahb
post Jul 15 2005, 10:59 AM
Post #12


Forum Regular


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


QUOTE (belorion @ Jul 13 2005, 09:13 PM)
Thanks for the quick reply :- )

I can only state my own preferences which are:
- capture TS (smallest load on the system as I have multiple cards and use the machine for other uses)
- automagically strip out the ads
- convert to XVid
- delete the TS (if the XVid is reasonable [size])

That would be my ideal scenario :- ) Anything that gets me closer to that is always appreciated  :- )

thanks
*

download the new completepostprocessor and follow the readme file to install from:
http://paulahb.dyndns.org/scripts/CompletePostProcessor

In web scheduler create a custom task to run:
"C:\Program Files\CommandQueue\belorion.bat" "$filename"

and then test it on an unimportant file

let me know how it goes.

Paul


--------------------
Go to the top of the page
 
+Quote Post
paul_ahb
post Jul 15 2005, 11:15 AM
Post #13


Forum Regular


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


QUOTE (damianh @ Jul 14 2005, 10:30 AM)
QUOTE (paul_ahb @ Jul 13 2005, 09:26 PM)
Please post what you would like to do eg:
-record in dvr-ms format and convert to avi and then move into a folder
or
-record HD tv in a full TS, demux and remux the file to mpg to keep the HD quality recording but throw away the excess streams.
or
record in mpg format and automatically skip the adverts and convert to avi and delete all of the previous files.

Please let me know what you would like to do and I'll try to post a way to do it.

Paul
*


Paul,
Ive downloaded your script and mplayer and put these in my program files directory.
As im not too hot on programming , how do i activate a post capture task that will record in mpeg and then convert the file to a divx file with the attached requirements , see attachment, and then move the new divx file to an archive folder?
Hope this is not asking too much.
Thanks for your help.[attachment=197:attachment] ohmy.gif
*


download and install the current version

create a custom capture task:
"C:\Program Files\CommandQueue\damianh.bat" "$filename" "C:\path\to\move to after\processing"

and then tryu it out on an unimportant file to make sure it works ok


--------------------
Go to the top of the page
 
+Quote Post
Guest_belorion_*
post Jul 16 2005, 11:28 AM
Post #14





Guests






QUOTE
In web scheduler create a custom task to run:
"C:\Program Files\CommandQueue\belorion.bat" "$filename"

and then test it on an unimportant file

let me know how it goes.

Paul
Thanks paul I managed to sucessfully convert an episode of Dr Who :- ) The only thing is that it is surrounded by black bars on all sides. i'm guessing that this has something to do with the fact that the stuff before and after Dr Who is WS (16:9) whereas Dr Who itself is 4:3 sitting in the middle of a WS setting.

I don't suppose you know the corrrect crop size for Dr Who ;-) Or perhaps a means of cutting out the 16:9 stuff before and after Dr Who and then cropping to Dr Who (4:3) ratio.

Being kinda new to this I am not sure I understand the cropping coordinates.
QUOTE
crop setting, output size, bitrate, audio bitrate, delete source setting

"704:560:0:8","512:288","600","128","No Delete" - This one looks closest to what your settings are


512:288 is the dimension (width x height)
600 video bitrate
128 audio bitrate
No Delete (keep source file)

but I haven't a clue with 704:560:0:8

I thought it may define a bounding box around the show ... but I don't know where the Origin (0,0) point is and I don't know if this means rectangle is defined by these points (704,0), (560,8) or something else.

If anyone could help with this it would be greatly appreciated :- )

thanks
Go to the top of the page
 
+Quote Post
Guest_budge31_*
post Jul 16 2005, 06:06 PM
Post #15





Guests






QUOTE (paul_ahb @ Jul 13 2005, 09:26 PM)
Please post what you would like to do eg:
-record in dvr-ms format and convert to avi and then move into a folder
or
-record HD tv in a full TS, demux and remux the file to mpg to keep the HD quality recording but throw away the excess streams.
or
record in mpg format and automatically skip the adverts and convert to avi and delete all of the previous files.

Please let me know what you would like to do and I'll try to post a way to do it.

Paul
*



Hi Paul,

I just tried out your script and it seems to have worked perfectly.

I actually record in mpeg format and would just like to remove the adverts, delete the original file and then leave it in mpeg format. What do I need to do to acheive that?

Cheers

Budge
Go to the top of the page
 
+Quote Post
Rob S
post Jul 16 2005, 09:26 PM
Post #16


Forum Regular
Group Icon

Group: Admin
Posts: 872
Joined: 8-July 03
From: Sydney
Member No.: 2
Card: VisionPlus DVB-t


Good stuff Paul, except i can't seem to play the files. Maybe i'm doing something wrong. I just installed the Spectrum BDA drivers for the TH card and have just setup WS and DW (although I'm struggling smile.gif )

Perhaps adding something on the wiki might be worthwile. Then others can add/update it...

EDIT:- Don't worry, i didn't realise you have to download the Codec pack as well wink.gif

EDIT #2: Hrmm didn't help...

A couple of questions. What's the best capture format? How can ProjectX become involved (i see it there in the script smile.gif )? Heeelp wink.gif

- Rob
Go to the top of the page
 
+Quote Post
damianh
post Jul 17 2005, 07:59 AM
Post #17


Forum Regular


Group: Members
Posts: 140
Joined: 12-April 05
Member No.: 2,844
Card: DNTV Live! Low Profile


QUOTE (paul_ahb @ Jul 15 2005, 12:26 AM)
QUOTE (damianh @ Jul 14 2005, 10:30 AM)
QUOTE (paul_ahb @ Jul 13 2005, 09:26 PM)
Please post what you would like to do eg:
-record in dvr-ms format and convert to avi and then move into a folder
or
-record HD tv in a full TS, demux and remux the file to mpg to keep the HD quality recording but throw away the excess streams.
or
record in mpg format and automatically skip the adverts and convert to avi and delete all of the previous files.

Please let me know what you would like to do and I'll try to post a way to do it.

Paul
*


Paul,
Ive downloaded your script and mplayer and put these in my program files directory.
As im not too hot on programming , how do i activate a post capture task that will record in mpeg and then convert the file to a divx file with the attached requirements , see attachment, and then move the new divx file to an archive folder?
Hope this is not asking too much.
Thanks for your help.[attachment=197:attachment] ohmy.gif
*




do you want it to delete the source file if the avi is a half reasonable size?
*



Sorry i havent been posting for the last few days , work got kinda hectic , but to answer your question.....
I actually need to keep the original mpg recording for backup purposes for 30 days after the recording
Ill try your new script when i get back to work on Monday, thanks again for your help smile.gif
Go to the top of the page
 
+Quote Post
paul_ahb
post Jul 17 2005, 09:14 AM
Post #18


Forum Regular


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


belorion:

Edit the belorion.bat file that I made for you and near the end of the command line it says "-a3-169d" change it to "-a3-43d" (the 169 reffers to 16x9 and the 43 refers to 4x3

Paul


--------------------
Go to the top of the page
 
+Quote Post
paul_ahb
post Jul 17 2005, 09:19 AM
Post #19


Forum Regular


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


QUOTE (budge31 @ Jul 16 2005, 06:06 PM)
QUOTE (paul_ahb @ Jul 13 2005, 09:26 PM)
Please post what you would like to do eg:
-record in dvr-ms format and convert to avi and then move into a folder
or
-record HD tv in a full TS, demux and remux the file to mpg to keep the HD quality recording but throw away the excess streams.
or
record in mpg format and automatically skip the adverts and convert to avi and delete all of the previous files.

Please let me know what you would like to do and I'll try to post a way to do it.

Paul
*



Hi Paul,

I just tried out your script and it seems to have worked perfectly.

I actually record in mpeg format and would just like to remove the adverts, delete the original file and then leave it in mpeg format. What do I need to do to acheive that?

Cheers

Budge
*



try a bat file with the following command line (all on one line):
CODE
C:\WINDOWS\system32\cscript.exe "C:\Program Files\CommandQueue\CommandQueue.vbs" C:\WINDOWS\system32\cscript.exe "C:\Program Files\CommandQueue\WSPostProcessor.vbs" %1 -sd


Paul


--------------------
Go to the top of the page
 
+Quote Post
paul_ahb
post Jul 17 2005, 09:23 AM
Post #20


Forum Regular


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


damianh:
edit the damianh.bat file to be the following (all opn one line):
CODE
C:\WINDOWS\system32\cscript.exe "C:\Program Files\CommandQueue\CommandQueue.vbs" C:\WINDOWS\system32\cscript.exe "C:\Program Files\CommandQueue\WSPostProcessor.vbs" %1 -a-damianh -n -m %2

this will leave the original mpg file intact, create an xvid avi file and move the new avi file to the specified directory.

Paul


--------------------
Go to the top of the page
 
+Quote Post

23 Pages V   1 2 3 > » 
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: 24th May 2013 - 04:09 AM