[FFmpeg-trac] #9521(undetermined:new): hevc_videotoolbox not working anymore
FFmpeg
trac at avcodec.org
Sun Nov 21 12:18:59 EET 2021
#9521: hevc_videotoolbox not working anymore
-------------------------------------+-------------------------------------
Reporter: Atarikid | Owner: (none)
Type: defect | Status: new
Priority: critical | Component:
| undetermined
Version: git-master | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by Atarikid):
And some more important info. :-)
It seems the older FFmpeg versions dropped a warning when YUV420P is not
possible with hevc_videotoolbox and converted it automatically to NV12.
Incompatible pixel format 'yuv420p' for codec 'hevc_videotoolbox', auto-
selecting format 'nv12'
This is not the case anymore with the current FFmpeg versions.
If you set the pixel format to YUV422P, the warning also pops up but the
auto switching to NV12 is done correctly.
Basically the fix is easy: do let the warning popup again when the pixel
format is set to YUV420P (which is btw the default pixel format when you
do not set -pix_fmt )
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9521#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list