Does this exist ?

Discussion of the HandBrake command line interface (CLI)
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
redridinghood74
Posts: 4
Joined: Thu Jun 29, 2017 3:37 am

Does this exist ?

Post by redridinghood74 »

I currently use handbrakecli in the winre environtment & am really happy with the end results.
I would like to know if the following is possible & how it could be done.

I have 5 videos and 5 presets, i would like to encode the first 5mins of a video with each preset & compare each encode against the oiginal, whichever has the least artifacts or artifacts < i.e. 10% , then choose this preset for this video.

I hope this is possible ?
mduell
Veteran User
Posts: 8188
Joined: Sat Apr 21, 2007 8:54 pm

Re: Does this exist ?

Post by mduell »

Sure, write a short shell script to loop through the iterations.
nhyone
Bright Spark User
Posts: 252
Joined: Fri Jul 24, 2015 4:13 am

Re: Does this exist ?

Post by nhyone »

Which presets do you have in mind?

Here's an easier way: pick a preset and just vary the CRF (say 18, 20, 22, 24), find the two numbers where the video switches from transparent to not-so-transparent and do it one more time (say 18, 19, 20). Then pick the highest number that is transparent to you.

Once you find this value, you can use it for >90% of your encodings.
User avatar
BradleyS
Moderator
Posts: 1860
Joined: Thu Aug 09, 2007 12:16 pm

Re: Does this exist ?

Post by BradleyS »

HandBrakeCLI --stop-at=duration:300
Post Reply