[FFmpeg-trac] #10577(swscale:new): add support for ay10 pixel format
FFmpeg
trac at avcodec.org
Fri Sep 22 12:27:24 EEST 2023
#10577: add support for ay10 pixel format
-------------------------------------+-----------------------------------
Reporter: micolous | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Component: swscale
Version: git-master | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-----------------------------------
Comment (by micolous):
I figured out what was wrong with my patch: I didn't implement the output
format converter in `ff_sws_init_output_funcs`. I've uploaded a new
version of the patch (v2), so this now appears to round-trip correctly
with an `ay10be` raw frame:
{{{
ffmpeg -i /tmp/atem-colourbars5.expanded.png -f rawvideo -pix_fmt ay10be
-colorspace bt709 /tmp/atem-colourbars5.redux
ffmpeg -f rawvideo -pixel_format ay10be -colorspace bt709 -video_size
1920x1080 -i /tmp/atem-colourbars5.redux -pix_fmt rgba /tmp/atem-
colourbars-redux.'%03d'.png
}}}
`ay10le` also seems to round-trip correctly, and generates a different
file.
Images with alpha channels appear to also work correctly.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10577#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list