Page 1 of 1

Watermarking by text, not image?

Posted: Thu Jun 29, 2017 7:45 am
by rholm
Hi,

Does anyone know if I could watermark by text and not image? I would like to take the name of the folder the file is located in and watermark the name of this folder into the video (bottim corner or similar), is this possible?

Thanks for any help :)

Re: Watermarking by text, not image?

Posted: Mon Jul 03, 2017 6:57 pm
by admin
It's not an inbuilt functionality of FFAStrans but you can do it by using either custom AviSynth scripts or a custom ffmpeg preset. I don't have the answer ready for you but you should just search the net and see what you can come up with. Good luck! :-)

-steinar

Re: Watermarking by text, not image?

Posted: Wed Jul 05, 2017 11:12 am
by vijm1972
Hi Rholm,

Try below command using custom FFMPEG.

-vf "drawtext=text='%s_original_name%':x=10:y=H-th-10:fontfile=/Windows/Font/arial.ttf:fontsize=50:fontcolor=white:shadowcolor=black:shadowx=5:shadowy=5"

This will add file name to your output video, I am not sure if FFAStarns can monitor for folder?

Thanks,
Vijay

Re: Watermarking by text, not image?

Posted: Wed Jul 05, 2017 11:34 am
by vijm1972
If you are able to monitor folder's, you can use below command.

-vf "drawtext=text='%s_original_path~1%':x=10:y=H-th-10:fontfile=/Windows/Fonts/arial.ttf:fontsize=50:fontcolor=white:shadowcolor=black:shadowx=5:shadowy=5"

This will add folder name to your video.

If your monitor folder is

C:\ROOT_FOLDER\Monitor_Folder\TEST\Source.mp4

Then watermark on your video is "TEST".

Thanks,
Vijay