pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

multimedia/ffmpeg5 and hardware encoding on Mac M1


Newer Macs support hardware video encoding (H264) with Apple's VideoToolbox.

I just learned FFmpeg supports VideoToolbox, it just needs to be
configured with --enable-videotoolbox and
--enable-encoder=h264_videotoolbox. Then, on the command line use
ffmpeg -vcodec h264_videotoolbox.

(There is also hevc_videotoolbox and prores_videotoolbox.)

All the best.

Home | Main Index | Thread Index | Old Index