Am Do., 27. Feb. 2020 um 16:08 Uhr schrieb Kevin Smallman <[email protected]>:
> 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 [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
