[FFmpeg-user] White is not pure white in overlay of PNG on JPEG image

Paul B Mahol onemda at gmail.com
Wed Oct 9 19:22:50 EEST 2019


On 10/9/19, Jason Green <jason.green at threadsstyling.com> wrote:
> I feel like I'm so close with your help, but the docs around some of these
> commands is not great and I just can't figure it out.
> Could you please post an example of how you use these options in this
> context. I made the image public so you can literally amend the command I
> posted originally and try it yourself. No matter what I do the png text is
> always a bit grey. Here it is again in its simples form.
>
> ffmpeg -i "
> https://asset-info-examples.s3-eu-west-1.amazonaws.com/white-text-bg.jpg"
> -i "https://asset-info-examples.s3-eu-west-1.amazonaws.com/white-text.png"
> -filter_complex "[0][1]overlay=x=131:y=300" -codec:v mjpeg test_remote.jpg

If you have read overlay documentation you would use format=gbrp option.

> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-user mailing list