Answers:
在MacOSX上,
有录像带盒。
检查编码器选项:
ffmpeg -hide_banner -h encoder=hevc_videotoolbox
输出:
Supported pixel formats: videotoolbox_vld nv12 yuv420p
hevc_videotoolbox AVOptions:
-profile <int> E..V.... Profile (from 0 to 3) (default 0)
main E..V.... Main Profile
main10 E..V.... Main10 Profile
-allow_sw <boolean> E..V.... Allow software encoding (default false)
-realtime <boolean> E..V.... Hint that encoding should happen in real-time if not faster (e.g. capturing from camera). (default false)
-frames_before <boolean> E..V.... Other frames will come before the frames in this session. This helps smooth concatenation issues. (default false)
-frames_after <boolean> E..V.... Other frames will come after the frames in this session. This helps smooth concatenation issues. (default false)
如果你有最近的Mac,也许你可以测试一下。
有关videotoolbox的更多信息: https://developer.apple.com/documentation/videotoolbox
正如您所看到的,它采用了Mac OSX上可用的基于硬件的编码器,为多个抽象(英特尔支持的英特尔IGP上的QuickSync等)提供了统一的视频编码API。
在这里抓住一个构建: https://evermeet.cx/ffmpeg/