[FFmpeg-user] intel hd4000 h264 encoding with vaapi for quicktime - yuv420p possible?

Kevin Smallman pipeline79 at gmail.com
Thu Feb 27 20:37:31 EET 2020


Thanks Carl,

OK wil try that.

On Thu, 27 Feb 2020 at 15:24, Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
>
> Am Do., 27. Feb. 2020 um 16:08 Uhr schrieb Kevin Smallman
> <pipeline79 at gmail.com>:
>
> > I can encode them successfully on my linux laptop with libx264 cpu
> > encoding and -pix_fmt yuv420p option.  The cpu is ivybridge, so the
> > gpu can do h264 encode and decode which plays fine in vlc on linux,
> > but not in quicktime on the old imac.
>
> The reason is possibly that you have to avoid cabac etc., try
> with -profile baseline (which does not force the baseline profile that
> no decoder supports but the required constrained baseline profile).
>
> > My question is:  is there a set of options so that the hardware
> > accelerated ffmpeg encoding/decoding/both can output a mp4 file with
> > yuv420p pixel format that is compatible with the quicktime standards?
> >
> > So far, I haven't been able to find one from here:
> > https://trac.ffmpeg.org/wiki/Hardware/VAAPI
> >
> > To get hardware encoding to work I seem to need to use this option
> > with the h264_vaapi encoder:
> > -vf 'hwupload,format=nv12'
>
> Unrelated to your quicktime issue:
> The result of this encode will be a file with yuv420p (there is no
> semantic difference between nv12 and yuv420p).
>
> Carl Eugen
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-user mailing list