ffmepg 使用 MAC 的 m 系列的硬件转码

比如以下这个命令:


 ffmpeg -f concat -safe 0  -i 1.txt    -c:v hevc_videotoolbox -b:v 2M  all2.mp4


如果想使用 h264

就换成 h264_videotoolbox



评论

此博客中的热门博文

在南京见到的农民工午饭情景

购买了iacces for iPad

在 Mac M1 CPU 上编译ffmpeg,并支持 opencl和videotoolbox