-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wrong color space and range convert when filter graph use "format=rgba" #161
Comments
Thanks for your feedback, we will check and fix it as soon as possible |
before encoder, rgba Tensor is the same as raw. There is no problem when using ffmpeg cmd: |
So, do you mean it's still fading after BMF encoding? What's the csc range of the encoded video? |
yes, it still fading after BMF encoding. before encoding csc = CS_RGB, cr= CR_JPEG. However, changing rgb ColorModel property doesn't effect encoded video. |
update debug result: |
Could you please try bellow PR to verify whether the issue was resolved? |
After some research, if you need to convert from RGB to YUV (BT.709), you need to explicitly specify the color space. You can use either the "format" filter of FFmpeg 7.1 or the "scale" filter with some parameters to do this. |
input yuv444p bt709 tv range,convert to rgba format,output rgba color looks fading
ffmpeg complain when calling
av_buffersrc_add_frame_flags
:The text was updated successfully, but these errors were encountered: