[FFmpeg-trac] #11568(undetermined:new): 422.y4m encoded wrongly

FFmpeg trac at avcodec.org
Thu May 1 02:13:27 EEST 2025


#11568: 422.y4m encoded wrongly
-------------------------------------+-------------------------------------
             Reporter:  huhn         |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:  git-
  undetermined                       |  master
             Keywords:  422.y4m      |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Latest Auto-Build (2025-04-30 13:13) Latest ffmpeg-master-latest-win64
 -gpl-shared

 ffmpeg.exe -i Untitled.bmp -vf scale=out_color_matrix=bt709:flags=lanczos
 -pix_fmt yuv422p 42224k.y4m

 the 42224k.y4m works fine in video players and is 3840x2160 just like the
 bmp. file should be 16.588.800 bytes but is 16.588.858.

 ffmpeg.exe -f rawvideo -pixel_format yuv422p -video_size 3840x2160 -i
 42224k.y4m -c:v libx265 -x265-params crf=18 422.mkv
 this is producing trash it is producing odd data at the left the right
 part and moves the chroma relative to the rest of the image. x264 was also
 tried same output.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11568>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list