【问题标题】:ffmpeg how do i know what preset was usedffmpeg 我怎么知道使用了什么预设
【发布时间】:2020-10-11 14:03:24
【问题描述】:

ffmpeg 我怎么知道使用了什么预设?

如何在 mediainfo 编码设置中找到它。

cpuid=0 / frame-threads=3 / no-wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=1920x1080 / interlace=0 / total-frames=0 / level-idc=0 / high-tier=1 / uhd-bd=0 / ref=1 / no-allow-non-conformance / no-repeat-headers / Annexb / no -aud / no-hrd / info / hash=0 / no-temporal-layers / open-gop / min-keyint=23 / keyint=250 / gop-lookahead=0 / bframes=3 / b-adapt=0 / b -pyramid/bframe-bias=0/rc-lookahead=5/lookahead-slices=0/scenecut=0/radl=0/no-splice/no-intra-refresh/ctu=32/min-cu-size=16 / no-rect / no-amp / max-tu-size=32 / tu-inter-depth=1 / tu-intra-depth=1 / limit-tu=0 / rdoq-level=0 / dynamic-rd=0.00 / no-ssim-rd / no-signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / strong-intra-smoothing / max-merge=2 / limit-refs=0 / no-limit-modes / me=0 / subme=0 / merange=57 / temporal-mvp / ...

【问题讨论】:

标签: ffmpeg preset


【解决方案1】:

-preset ultrafast

将编码器 libx265 用于 H.265/HEVC 视频。

如何找到使用的预设

  1. 使用strings input.mp4 | grep x265mediainfo input.mp4 获取问题中显示的信息。

  2. 转到x265 documentation - Preset Options 并参考参数表。

  3. 你的有 ref=1subme=0,这与 ultrafast 预设相关。

如果您的文件详细信息与任何预设不完全匹配,则可能使用了其他选项,或者您正在查看由具有不同设置的不同编码器(例如 libx264)创建的文件。

【讨论】:

  • 谢谢你,我很自满,我已经搜索了好几天,这解决了我的问题。
  • 你有 libx264 预设选项的链接吗?
  • @AydınTekin 有关每个预设的设置,请参见 x264 --fullhelp
  • 感谢您的帮助。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2015-12-31
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2019-07-06
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多