Adding Logo to Videos with VLC

Please go to video path and open terminal in this path.
Firstly we try following command in terminal on GNU/Linux OS:
vlc input.mp4 --sub-filter logo --logo-file="logo.jpg" --logo-opacity=164 --logo-position=5 --play-and-exit
We opened VLC with input.mp4 video added as logo.jpg at same path.
You can add any jpg or png picture as a logo with --logo-file parameter.
--logo-opacity parameter accepts numbers from 0 to 255; 0 is fully transparent and 255 is fully opaque.
You can set the position of logo in video with --logo-position parameter:
vlc logo positions

You can use --logo-x parameter as horizontal position and --logo-y parameter as vertical position for setting place of the logo:
vlc templates.mp4 --sub-filter logo --logo-file="logo.jpg" --logo-opacity 230 --logo-position=5 --logo-x=100 --logo-y=100 --play-and-exit


Lastly we can use this command for saving as output video with logo.
cvlc templates.mp4 --logo-file="logo.jpg" --logo-opacity 230 --logo-position=5 --logo-x=100 --logo-y=100 --play-and-exit --sout '#transcode{vcodec=h264, acodec=mp3, sfilter=logo}:standard{access=file, dst=output.mp4}'
Note: VLC preferences is important for this command, for example if video repeat option is open, record starts repeat (second video overrides first one and so on) after it finishes, therefore video repeat option must be close when you give this command. Besides Video Filters open with Tools-Preferences-Select All-Sout Stream-Transcode musn't be selected.

You can add your logo on Vlc graphic screen, too:
1)Tools-Preferences from Menu
2)Select All in Show Settings.
3)Sout Stream-Transcode
4)Wrigt "logo{file=logo.jpg, position=0, opacity=128, x=50, y=30}" in Overlays box from Overlays/Subtitles.
5)Save
6)Media-Convert/Save
7)File-Add and choose your video
8)Right Click Convert/Save.
9)Decide folder name and place with "Browse" option and Save.
10)Choose “Video – H.264 + MP3 (MP4)” as mp4 format and click to Start. Your video will be ready in a while...

Our video link about this subject:
https://youtu.be/UcL4O2fLYxE


Above process applied on Vlc 2.1.6 Rincewind
Date of Article: 21.02.2016




HOME GNU/LINUX Vlc TURKISH