[FFmpeg-devel] [PATCH 2/2] avcodec/videotoolbox: add hevc support

Aman Gupta ffmpeg at tmm1.net
Wed Sep 27 19:17:36 EEST 2017


On Wed, Sep 27, 2017 at 5:51 AM, wm4 <nfxjfg at googlemail.com> wrote:

> On Tue, 26 Sep 2017 18:08:10 -0700
> Aman Gupta <ffmpeg at tmm1.net> wrote:
>
> > From: Aman Gupta <aman at tmm1.net>
> >
> > ---
> >  configure                    |   2 +
> >  libavcodec/allcodecs.c       |   1 +
> >  libavcodec/hevc_refs.c       |   3 +
> >  libavcodec/hevcdec.c         |  12 ++-
> >  libavcodec/vda_vt_internal.h |   1 +
> >  libavcodec/videotoolbox.c    | 203 ++++++++++++++++++++++++++++++
> +++++++++++++
> >  6 files changed, 221 insertions(+), 1 deletion(-)
>
> PS: A final patch should make sure these symbols don't cause build
> failures with older SDKs:
>
> > +        case kCMVideoCodecType_HEVC :
>
> > +        videotoolbox->cm_codec_type = kCMVideoCodecType_HEVC;
>
>
> Maybe with a configure check.
>

This is available since macOS 10.11. How far back does ffmpeg support?


> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>


More information about the ffmpeg-devel mailing list