Cypheros Transportstream Forum

English-speaking Support => TS-Doctor 2.x => Thema gestartet von: jse am Juni 01, 2017, 06:48:43

Titel: Any way to Call TS-Doctor from CLI?
Beitrag von: jse am Juni 01, 2017, 06:48:43
Hello, Lets say I have a transport stream cut with another app and I just want TS-Doctor to extract the teletext/dvb subs and convert them to .srt. Is this possible to do via command line so I can script it, Or does the gui need to be launched every time?

Thanks

EDIT

@echo off
set tsd="C:\Program Files (x86)\Cypheros\TSDoctor2\TSDoctor.exe"
%tsd% C:\Test\test.ts autodemux C:\Test\


Ok this will work to demux all tracks, but can I specify subtitles only? also is there anyway to get tsdoctor to exit after the command has run? because atm it stays open and a script will not continue untill it's closed to it breaks automation.
Titel: Re: Any way to Call TS-Doctor from CLI?
Beitrag von: Cypheros am Juni 01, 2017, 09:04:19
Sorry TS-Doctor is a gui tool with limited automation capabilities. No subtitle demuxing yet.

In the manual on page 26 you should find the command line options.

TS-Doctor should close after demuxing via command line. I will check that.