[FFmpeg-user] White is not pure white in overlay of PNG on JPEG image
Paul B Mahol
onemda at gmail.com
Wed Oct 9 14:18:49 EEST 2019
On 10/9/19, Jason Green <jason.green at threadsstyling.com> wrote:
> I'm sorry to bother you all with this but I have been unable to resolve the
> issue with my own research (which is really rare for me :) ).
> I am trying to overlay pngs of text that have been generated by another
> source onto jpg photos. I have simplified the command down to it's simplest
> example and I am using public images so you can even try the command
> ffmpeg -y -i "
> -i "https://asset-info-examples.s3-eu-west-1.amazonaws.com/white-text.png"
> -movflags faststart -filter_complex "overlay=x=131:y=300" -q:v 6 -f
> image2 -codec:v mjpeg test_remote.jpg
> The white text png has perfectly white pixels in the original, but in the
> final they are slightly grey. I have tried various options using format but
> I can't manage to get it to work.
> Any suggestions would be appreciated.
Avoid implicit colorspace conversion, and do it explicitly.
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-user