[FFmpeg-trac] #9132(ffmpeg:open): Wrong pixel format/output when converting video to yuv444p*

FFmpeg trac at avcodec.org
Tue Mar 2 02:46:38 EET 2021


#9132: Wrong pixel format/output when converting video to yuv444p*
------------------------------------+----------------------------------
             Reporter:  viley       |                    Owner:
                 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 viley):

 Replying to [comment:2 Balling]:
 > For now use
 > {{{
 > ffmpeg -i TESTCASE.mkv -pixel_format yuv444p -color_primaries 1
 -color_trc 1 -colorspace 1 TESTCASE-yuv1.mkv
 > }}}
 >
 > You can add -color_range too. Also yuv420p and yuv422p are "broken" too.

 Thanks for the info and the workaround.  Above works perfectly when
 scaling with out_color_matrix=bt709 and adding -color_range 2 (which was
 my intended use case).

--
Ticket URL: <https://trac.ffmpeg.org/ticket/9132#comment:5>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list