Real-Time FFmpeg Video Watermarking
Budget: $10 – $30 USD
I want to add an imperceptible fingerprint to live video streams using FFmpeg, in real time, for watermarking purposes.
- it means special compiled version of ffmpeg with usage of realtime trigger >
that means you give the source code also for fingerprinting option and make this code effiecinet so we can compile different versions of ffmpeg with it
for now we use when we press on fingerprint option this command
- solution should be realtime running ffmpeg process with injection for
urls field - USERNAME = the viewer's username (for MAG: username / M XX:YY with last 2 MAC octets) - x and y position changes per viewer (9 positions: corners, edges, center)
- this command what we now use request to re -encode at its taking alot of cpu resources.
ffmpeg -hide_banner -loglevel error -reconnect 1 -reconnect_streamed 1 -reconnect_delay_max 5 -user_agent "Mozilla/5.0" -i SOURCE_URL -vf "drawtext=fontfile='/app/public/c/template/digital/fonts/Roboto-Bold.ttf':text='USERNAME':fontsize=28:fontcolor=white@0.75:borderw=2:bordercolor=black@0.5:x=10:y=10" -c:v libx264 -preset ultrafast -tune zerolatency -crf 28 -c:a copy -map 0:v:0? -map 0:a:0? -f mpegts -mpegts_copyts 1 pipe:1 Parameters: - SOURCE_URL = the stream source URL from the urls field - USERNAME = the viewer's username (for MAG: username / M XX:YY with last 2 MAC octets) - x and y position changes per viewer (9 positions: corners, edges, center) -
- it means special compiled version of ffmpeg with usage of realtime trigger >
that means you give the source code also for fingerprinting option and make this code effiecinet so we can compile different versions of ffmpeg with it
for now we use when we press on fingerprint option this command
- solution should be realtime running ffmpeg process with injection for
urls field - USERNAME = the viewer's username (for MAG: username / M XX:YY with last 2 MAC octets) - x and y position changes per viewer (9 positions: corners, edges, center)
- this command what we now use request to re -encode at its taking alot of cpu resources.
ffmpeg -hide_banner -loglevel error -reconnect 1 -reconnect_streamed 1 -reconnect_delay_max 5 -user_agent "Mozilla/5.0" -i SOURCE_URL -vf "drawtext=fontfile='/app/public/c/template/digital/fonts/Roboto-Bold.ttf':text='USERNAME':fontsize=28:fontcolor=white@0.75:borderw=2:bordercolor=black@0.5:x=10:y=10" -c:v libx264 -preset ultrafast -tune zerolatency -crf 28 -c:a copy -map 0:v:0? -map 0:a:0? -f mpegts -mpegts_copyts 1 pipe:1 Parameters: - SOURCE_URL = the stream source URL from the urls field - USERNAME = the viewer's username (for MAG: username / M XX:YY with last 2 MAC octets) - x and y position changes per viewer (9 positions: corners, edges, center) -
Related categories:
Video Services
C++ Programming
Video Production
Video Editing
Scripting
Video Processing
Video Streaming