Buying Command Line to Add Logo to Batch Video

Status
Not open for further replies.
5 comments
I used to code that in some scripts.

Basically:

1) generate a "video" logo watermark:
Code:
nohup /path/to/ffmpeg -loop 1 -i /path/to/logo.png -t 10 -c qtrle -vf "fade=out:150:100:alpha=1" /path/to/logo.mov > /path/to/logs.txt 2>&1 &

2) encode your video applying the watermark layer (logo.mov):
Code:
nohup /path/to/ffmpeg -i /path/to/video/to_encode_video.mp4 -vf "movie=/path/to/logo.mov [watermark]; [in][watermark] overlay=30:30 [out]" /path/to/new/watermarked_video.mp4 > /path/to/logs.txt 2>&1 &

3) repeat step 2 for any other video.

you will need ffmpeg, check the official website there's a great step by step tutorial on how to compile it with the shitload codecs. It takes around 30min to complete.
Needless to say you will need a powerfull CPU.
 
No. You can't bypass the encoding step to achieve what you want. And you better have a server that will be exclusively dedicated to encoding, doing it on a production/streaming server would be completely fucked up. :facepalm:
An other "alternative" would be using an image layer as a watermark over your video player. JwPlayer and FlowPlayer can do that, to name a few. You'll fool your visitors, but obviously you won't stop leechers as the watermark won't be "hard encoded".
If you have unlimited bandwith and if you're concerned about your CPU usage, there are also paid web services that allow you to transfer your videos via an API to a remote server, and grab them a few minutes later once they have been encoded.
I saw your pm, don't write to me unless you know your budget. I'm not interested, I'm just giving you the key lines if you can code a bit. Check on Google for more, or just hire an Indonesian on Freelancer dot com who will do it for nearly 1$, which is probably the max you're willing to pay for anyway. :wave:
 
Status
Not open for further replies.
Back
Top