[FFmpeg-trac] #11568(undetermined:new): 422.y4m encoded wrongly
FFmpeg
trac at avcodec.org
Thu May 1 02:16:25 EEST 2025
#11568: 422.y4m encoded wrongly
-------------------------------------+-------------------------------------
Reporter: huhn | Owner: (none)
Type: defect | Status: new
Priority: normal | Component:
| undetermined
Version: git-master | Resolution:
Keywords: 422.y4m | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Description changed by huhn:
Old description:
> 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.
New description:
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 of right part
and moves the chroma relative to the rest of the image. x264 was also
tried same output.
edit: file is barely to big here you go:
https://drive.google.com/file/d/1eLCFCJb4NKOf3CxTdYaYQDLGvaw7CEbJ/view?usp=sharing
--
--
Ticket URL: <https://trac.ffmpeg.org/ticket/11568#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list