How i can add watermark with text or image on ffmpeg stream ? This is my command :
ffmpeg -re -i "input.mp4" -c:v copy -c:a aac -ar 44100 -ab 128k -ac 2 -strict -2
-flags +global_header -bsf:a aac_adtstoasc -f flv "rtmp://"
How i can add watermark with text or image on ffmpeg stream ? This is my command :
ffmpeg -re -i "input.mp4" -c:v copy -c:a aac -ar 44100 -ab 128k -ac 2 -strict -2
-flags +global_header -bsf:a aac_adtstoasc -f flv "rtmp://"
You can use the overlay filter. It would look something like this:
ffmpeg -re -i "input.mp4" -i "logo.png" -filter_complex "overlay=0:0"
-c:v libx264 -profile:v main -level 31 -preset slow -b:v 800k -c:a aac
-ar 44100 -ab 128k -ac 2 -strict -2 -flags +global_header
-bsf:a aac_adtstoasc -f flv "rtmp://"