[FFmpeg-devel] [PATCH 01/17] swscale/utils: check for supported color transfers
Michael Niedermayer
michael at niedermayer.cc
Fri Dec 6 00:04:01 EET 2024
On Thu, Dec 05, 2024 at 12:30:10PM +0100, Niklas Haas wrote:
> From: Niklas Haas <git at haasn.dev>
>
> We will use the av_csp_itu_eotf() functions to decode these internally, so
> check this function to see if it succeeds.
> ---
> libswscale/utils.c | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
Probably iam missing some patch, but this fails here:
[swscaler @ 0x7fae2c006740] Unsupported input (Operation not supported): fmt:yuv420p csp:unknown prim:unknown trc:unknown -> fmt:yuv444p10le csp:unknown prim:unknown trc:unknown
[fc#0 @ 0x561bb84148c0] Error while filtering: Operation not supported
[fc#0 @ 0x561bb84148c0] Task finished with error code: -95 (Operation not supported)
[fc#0 @ 0x561bb84148c0] Terminating thread with return code -95 (Operation not supported)
[vost#0:0/rawvideo @ 0x561bb8420d40] [enc:rawvideo @ 0x561bb8421680] Could not open encoder before EOF
[vost#0:0/rawvideo @ 0x561bb8420d40] Task finished with error code: -22 (Invalid argument)
[vost#0:0/rawvideo @ 0x561bb8420d40] Terminating thread with return code -22 (Invalid argument)
--- ./tests/ref/fate/filter-overlay_yuv444p10 2024-11-29 20:32:49.749717991 +0100
+++ tests/data/fate/filter-overlay_yuv444p10 2024-12-05 22:56:12.885400405 +0100
@@ -1,8 +0,0 @@
-#tb 0: 1/25
-#media_type 0: video
-#codec_id 0: rawvideo
-#dimensions 0: 352x288
-#sar 0: 0/1
-0, 0, 0, 1, 608256, 0xc5ba4285
-0, 1, 1, 1, 608256, 0x3066fd50
-0, 2, 2, 1, 608256, 0xdb8e68a8
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
If a bugfix only changes things apparently unrelated to the bug with no
further explanation, that is a good sign that the bugfix is wrong.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20241205/879e7d7f/attachment.sig>
More information about the ffmpeg-devel
mailing list