[Libav-user] Using Videotoolbox H.264 decode on MacOS
BIGLER Don (Framatome)
don.bigler at framatome.com
Thu Feb 6 17:03:26 EET 2020
Here is an example from the QtAV library:
From: Libav-user [mailto:libav-user-bounces at ffmpeg.org] On Behalf Of Philippe Noël
Sent: Thursday, February 6, 2020 9:07 AM
To: This list is about using libavcodec, libavformat, libavutil, libavdevice and libavfilter.
Subject: Re: [Libav-user] Using Videotoolbox H.264 decode on MacOS
Security Notice: Please be aware that this email was sent by an external sender.
Bumping this, anyone has experience working with videotoolbox on libav?
On Sun, Feb 2, 2020 at 11:53 AM Philippe Noël <philippe_noel at college.harvard.edu<mailto:philippe_noel at college.harvard.edu>> wrote:
I'm trying to use Hwaccel H.264 decoding on MacOS. I have MacOS Catalina (Late 2015 model) and when I run "ffmpeg -hwaccels" it shows "videotoolbox" twice. From the FFmpeg website, it seems videotoolbox is implemented for both encode and decode of H.264 videos.
I've found the encoder name, "h264_videotoolbox" but I can't find the name to feed to "avcodec_find_decoder_by_name" for the videotoolbox decoder. I was searching online and couldn't find much, but found that apparently standard "h264" decoder will use videotoolbox hwaccel if properly set up, is that correct? How should I proceed to decode H264 with videotoolbox, how do I tell the decoder to use videotoolbox hwaccel with h264, or what is the name of the videotoolbox decoder?
Thanks for your help!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user