How to find the movie name with HandBrake CLI

handbrake

When using HandBrake, it found it quite a nice feature that it can recognize the correct movie name that is on a DVD (of course not all, but a lot). When using HandBrake CLI, I could not find an option to do that autodiscovery.

Did I miss something? How does the GUI do it? Any recommendations for getting the movie name from the commandline? It does not need to be HandBrake CLI, I can stitch it together myself.

For clarification of my question: I am not after the movie title number (as in the argument to the -t option), but after the movie name, as in "Lock, Stock and Two Smoking Barrels". The gui does recognize this, at least for some DVDs. How is that acomplished?

Best Answer

I have not found this feature in the CLI myself. According to this: https://forum.handbrake.fr/viewtopic.php?f=6&t=15874#p74897 (opens from Help->Guide in my Handbrake), Handbrake (GUI) by default selects the longest title as this is usually the main feature.

If you supply 0 to the -t option for CLI, it will list all the titles so that you can select the longest.

Another technique I have used is what is described in the solution section in the forum post above, simply start the DVD in VLC and then check which title is playing.

Related Question