| 115 | | [https://developer.apple.com/documentation/videotoolbox VideoToolbox], only supported on macOS. H.263/H.264/HEVC/MPEG1/MPEG2/MPEG4/ProRes decoding is available in FFmpeg/libavcodec. |
| 116 | | |
| 117 | | To use hardware encoding in macOS, just use the encoder `-c:v h264_videotoolbox` or `-c:v hevc_videotoolbox` for H.264 or HEVC respectively. Check `ffmpeg -h encoder=...` to see encoder options. It's worth noting that !VideoToolbox does not support constant quality (CRF) encoding. Bit rate, `-b:v ...`, is your main lever to balance size vs quality. |
| | 115 | [https://developer.apple.com/documentation/videotoolbox VideoToolbox], only supported on macOS. |
| | 116 | |
| | 117 | H.263, H.264, HEVC, MPEG1, MPEG2, MPEG4, ProRes decoding is available in FFmpeg/libavcodec. |
| | 118 | |
| | 119 | H.264, HEVC, ProRes encoding is available in FFmpeg/libavcodec. |
| | 120 | |
| | 121 | To use H.264/HEVC hardware encoding in macOS, just use the encoder `-c:v h264_videotoolbox` or `-c:v hevc_videotoolbox` for H.264 or HEVC respectively. Check `ffmpeg -h encoder=...` to see encoder options. It's worth noting that !VideoToolbox does not support constant quality (CRF) encoding. Bit rate, `-b:v ...`, is your main lever to balance size vs quality. |