XFileSharing Pro - Video Watermark

Message
Author
rhyle0827
Posts: 20
Joined: Dec 18, 2011 5:06 am

Video Watermark

#1 Postby rhyle0827 » Apr 06, 2015 9:25 pm

Is there a way to add a video watermark like in xvideosharing?

Guneyd
Posts: 68
Joined: Mar 11, 2011 4:30 pm

Re: Video Watermark

#2 Postby Guneyd » Apr 08, 2015 2:41 am

rhyle0827 wrote:Is there a way to add a video watermark like in xvideosharing?
You can do this in two ways (as far as I know):

1 - Get a paid license for Flowplayer or JWPlayer and include a watermark through the player (the video itself doesn't get a watermark, but your player and the embeds do show it).

2 - Modify the ffmpeg code so that a watermark gets added during the encoding process.

In /cgi-bin/enc.pl, find:

Code: Select all

 my @rr = `ffmpeg -i $file -y -acodec libfaac -ab $video_sound_kbps -ac 2 -s $size -vcodec libx264 -vpre normal -g 60 -crf $c->{m_e_vid_quality} -threads 0 $c->{upload_dir}/$dx/$code.mp4`;
And you can change the command so that a watermark gets added.
According to this website you only need to add in a few extra commands.

rhyle0827
Posts: 20
Joined: Dec 18, 2011 5:06 am

#3 Postby rhyle0827 » Apr 08, 2015 8:07 am

hmm, im planning like something a mod so that you can edit words/image through the panel not through ssh. but anyway i might consider to check on this soon.