如何查看 handbrake 向 mencoder 发送了哪些命令行选项

如何查看 handbrake 向 mencoder 发送了哪些命令行选项

我想查看 handbrake 向 mencoder 发送了哪些命令行选项。我查看了活动窗口,它显示了很多内容,但不是我想要的。我该如何找到它?

答案1

根据我在 Windows 和 Linux 上使用 Handbrake 的经验:不是使用 mencoder。相反,它提供了自己的命令行界面:HandBrakeCLI

在 Windows 上,可以单击Show Queue> Queue>Generate Batch Script导出包含传递给 HandBrakeCLI 的所有命令行参数的脚本。虽然您对“活动窗口”的引用让我相信您正在使用 Mac OS X,但 Mac 版本上可能也存在这样的选项。

主窗口 替代文本

答案2

我之所以在这里找到这个帖子,是因为

https://trac.handbrake.fr/wiki/CLIGuide 我注意到 :

...在“视频选项”下

-x, --encopts <string>  Specify advanced encoding options in the same
                        style as mencoder (all encoders except theora):
                        option1=value1:option2=value2

和 :

在“图片设置”下

--crop: controls the cropping values. The cropping has to be in the form Top:Bottom:Left:Right, so to crop 60pixels from the top, 58 from the bottom, 2 from the left, and 6 from the right, use --crop 60:58:2:6 

... do note that this is different from cropping in some other programs,
like MEncoder. If you don't enter this setting, HandBrake will
automatically detect how many pixels to crop to remove black borders. 

相关内容