[FFmpeg-user] White is not pure white in overlay of PNG on JPEG image
Jason Green
jason.green at threadsstyling.com
Wed Oct 9 19:43:32 EEST 2019
Actually I managed to get it working by specifying format=gbrp in the
overlay filter.
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:format=gbrp" -codec:v mjpeg
test_remote.jpg
Thanks for the help
On Wed, 9 Oct 2019 at 17:15, 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
>
>
>
--
*Jason Green*
*Principal Developer Email: jason.green at threadsstyling.com
<christina.s at threadsstyling.com> Mobile: +44 7462 752 694
<++44+7462+752+694>*
[image: Snapchat] <https://www.snapchat.com/add/threads_styling> [image:
Instagram] <https://www.instagram.com/threadsstyling> [image: LinkedIn]
<https://api.whatsapp.com/send?phone=447881362517>
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system manager.
This message contains confidential information and is intended only for the
individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately by e-mail if you have received this e-mail by mistake and
delete this e-mail from your system. If you are not the intended recipient
you are notified that disclosing, copying, distributing or taking any
action in reliance on the contents of this information is strictly
prohibited.
More information about the ffmpeg-user
mailing list