Cypheros Transportstream Forum

English-speaking Support => TS-Doctor 1.2 => Thema gestartet von: pyrodex am März 11, 2012, 22:16:41

Titel: Batch check files?
Beitrag von: pyrodex am März 11, 2012, 22:16:41
Could anyone point me to a method or script someone is using at the moment to check files for errors in a batch fashion? It would help me greatly if I could loop through a bunch of files and check them for errors.
Titel: Re: Batch check files?
Beitrag von: klabauter am März 11, 2012, 22:45:27
At command-line type (or make a batch-file):

"C:\Program Files\Cypheros\TSDoctor\tsdoctor.exe" c:\source\*.ts AUTOCHECK LOG c:\target\

You can use your own folder names for source and target, of course.
Unfortunately, the option "log" at the moment does not log the file names correctly, but hopefully it will be fixed soon  ;)

You can fix files using the option AUTOFIX.

If you prefer a "quiet" batch-run, you possibly will have to set Settings/Preferences/Dialog-Settings first to avoid dialog-boxes popping up.
Titel: Re: Batch check files?
Beitrag von: pyrodex am März 12, 2012, 13:23:18
That doesn't seem to work....

My files are .mpg in MPEG2TS format (Mythtv recordings) and when I do your format but with *.mpg it never checks them... could it be the extension?
Titel: Re: Batch check files?
Beitrag von: klabauter am März 12, 2012, 13:28:09
Can you open the file in the GUI?
Titel: Re: Batch check files?
Beitrag von: pyrodex am März 12, 2012, 17:07:15

Yes I can, but I have to change the dropdown to ALL files since .mpg isn't one of the options in the list. These files are simply MPEG2TS but the extension is .mpg since that is what mythtv saves them in.
Titel: Re: Batch check files?
Beitrag von: pyrodex am März 12, 2012, 17:09:36
Ok it seems to be the extension... if I relabel them as .ts it works fine.