Watermarking by text, not image?

Questions and answers on how to get the most out of FFAStrans
Post Reply
rholm
Posts: 27
Joined: Wed Jun 01, 2016 10:23 am

Watermarking by text, not image?

Post 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 :)
admin
Site Admin
Posts: 1658
Joined: Sat Feb 08, 2014 10:39 pm

Re: Watermarking by text, not image?

Post 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
vijm1972
Posts: 128
Joined: Fri Apr 24, 2015 7:35 am

Re: Watermarking by text, not image?

Post 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
vijm1972
Posts: 128
Joined: Fri Apr 24, 2015 7:35 am

Re: Watermarking by text, not image?

Post 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
Post Reply