[FFmpeg-trac] #9132(ffmpeg:open): Wrong pixel format/output when converting video to yuv444p*
FFmpeg
trac at avcodec.org
Tue Aug 24 10:46:48 EEST 2021
#9132: Wrong pixel format/output when converting video to yuv444p*
------------------------------------+----------------------------------
Reporter: viley | Owner: (none)
Type: defect | Status: open
Priority: important | Component: ffmpeg
Version: git-master | Resolution:
Keywords: regression | Blocked By:
Blocking: | Reproduced by developer: 1
Analyzed by developer: 0 |
------------------------------------+----------------------------------
Comment (by Balling):
You also said FATE tests should be done :)
You are wrong that it is only zscale. It is not:
-vf 'scale=out_color_matrix=bt709:out_h_chr_pos=0:out_v_chr_pos=128'
The position is specified in the luma grid / 256, so for a 4x4 grid in
4:2:0, 0:0 is center of the first pixel, 256:256 the last, and 0:128 is in
the first column, between both rows - ie. mpeg2 position.
HEVC type 2 should be 0:0 from what I can tell (ffmpeg calls this
AVCHROMA_LOC_TOPLEFT).
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9132#comment:21>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list