It would be pretty nifty if HandBrakeCLI had an option to only perform the 'scan' pass. The output can be pretty helpful, particularly in batch process where you want to get information to use in a second call.
For example:
HandBrakeCLI -i dvdvideo.iso | script-to-parse-scan-output
HandBrakeCLI -i dvdvideo.iso -o dvdvideo.mp4 "options based upon previous script output"
scan-only option
Forum rules
*******************************
Please be aware we are now using GitHub for issue tracking and feature requests.
- This section of the forum is now closed to new topics.
*******************************
*******************************
Please be aware we are now using GitHub for issue tracking and feature requests.
- This section of the forum is now closed to new topics.
*******************************
Re: scan-only option
-t 0
Rodney
Rodney
-
- Posts: 7
- Joined: Tue Nov 11, 2008 6:16 pm
Re: scan-only option
Hello
I'm using windows 7 and I haven't been able to redirect the output of the scan to a text file. This is what I'm doing:
C:\Program Files (x86)\Handbrake>handbrakecli -i D:\dvd\ALIEN_3_DISC1\VIDEO_TS\ -t 0 > C:\output.txt
Is it possible to capture the output.
What I'd like to do is automatically create MKV files that include all available audio and subtitle tracks. I want to run the scan, parse the output, and run the conversion.
Thanks
I'm using windows 7 and I haven't been able to redirect the output of the scan to a text file. This is what I'm doing:
C:\Program Files (x86)\Handbrake>handbrakecli -i D:\dvd\ALIEN_3_DISC1\VIDEO_TS\ -t 0 > C:\output.txt
Is it possible to capture the output.
What I'd like to do is automatically create MKV files that include all available audio and subtitle tracks. I want to run the scan, parse the output, and run the conversion.
Thanks
Re: scan-only option
The information you desire goes to stderr, not stdout.
should work.
Or you could just specify a large number of tracks and you'll get the ones that exist.
Code: Select all
handbrakecli -i D:\dvd\ALIEN_3_DISC1\VIDEO_TS\ -t 0 2> C:\output.txt
Or you could just specify a large number of tracks and you'll get the ones that exist.
-
- Posts: 7
- Joined: Tue Nov 11, 2008 6:16 pm
Re: scan-only option
Ah. Thanks for info.
-
- Posts: 2
- Joined: Thu Dec 31, 2009 12:02 pm
Re: scan-only option
In nightly build 3380, I noticed this:
Code: Select all
--scan Scan selected title only.
Re: scan-only option
Correct. Now you can scan just a single title instead of all titles - this way added several weeks ago, IIRC.Troy Cheek wrote:In nightly build 3380, I noticed this:Code: Select all
--scan Scan selected title only.
So you do something like this:
Code: Select all
-t 28 --scan