PDA

View Full Version : Tytool command line/batch file options?


classicsat
03-31-2007, 07:54 PM
So, I have made a program to make cut files to cut segments out of programs (pulled from a Series 2 Standalone, passed through DSD), sometimes even more than one segment per program, and make a master batch file to mux and cut a number of segments out of a number of programs.

Tytools works fine from the GUI. I just need to know how to have it mux and cut a file from the command line in a batch file.

Can it be done, and how?

If not, is there an alternative software that will mux and cut the MPG files from DSD, using command line from a batch file?

I am willing to recode my cutfile generator, as long as I can easily convert or find the cut points I need somehow.
I currently get them with the GOP editor, manually entering them into a plaintext file for the cutfile generator.

dburckh
03-31-2007, 08:26 PM
If you can tell me what DSD is and give me an example cut file, I might be able to help you. I already have a command line interface. It shouldn't be too hard to add cut points.

classicsat
03-31-2007, 09:37 PM
DSD is DirectshowDump, it basically decrypts .tivo files from a series 2 with TiVoToGo, to almost normal MPEG files, which I run through tytools to edit and remux to more normal MPEG.

A sample cut file made by my cut file generator is as follows:

# This cut file created by the TyTool GOP Editor...

00:00:00.000 00:22:01.150 -1 -1
00:26:11.325 13:15:21.858 -1 -1
# Chapters!
# Done!


Which, BTW, I cannot tell the difference between it and a cut file actually made by the GOP editor, FWIW.

dburckh
04-01-2007, 12:44 PM
If you can reformat the output, projectX DVB (sourceforge.net) already does this including the CLI. Here's an example I googled. Probably others out there as well.

http://www.kaashoek.com/comskip/viewtopic.php?t=125&view=next&sid=67dcc07169955049a2589ce2db3b72e8

I think you want format 4.

classicsat
04-01-2007, 07:41 PM
I have been playing with the Java version (I can't find a directly compile windows/DOS version).

Its GUI is bog slow on my system, and the command line won't cut as per the cut file I specified, despite it finding it.

I am just saying. I wish there were a readily available windows binary that works better than the Java one.

I'd sooner not do this on my Linux box, which isn't really set up to do a lot of sit-down work.

dburckh
04-01-2007, 08:22 PM
I've use the byte based version of the cut tool quite a bit before without problem. I admit I haven't tried the time based cutting. The video is dog slow on HD, but with SD I haven't had a problem. The biggest tip I can give you is not to use the scrollbar. Use the arrows.

Is it safe to assume that the format mentioned above is:

start:end
start:end

This is a tougher one. Do you know if those are Video PTS or are they SCR timestamps?

I don't understand the Linux reference. Java runs on Windows too.

classicsat
04-04-2007, 04:15 PM
I know nothing of the construction of the files.

The Linux reference is that I think the GUI on the Java version is way to slow for me, and I cannot build a direct version for my windows machine, nor can find a direct windows version.

Besides I want to run it from command line with time stamps I already have from tytools.

My trouble is getting command line to run from a batch file, and actually use the supplied time based cut file.

classicsat
04-07-2007, 03:14 PM
Update:

I can get Projectx to work from the batch file, save for the cutfile working. It just re-encodes the whole source file.