A
A
artanets2013-08-29 00:48:57
VLC
artanets, 2013-08-29 00:48:57

Need help with VLC. (Help correctly form the code for the command line)?

Good afternoon.
Tell me how to correct the code for the Marq module in VLC on the command line, so that the information superimposed on the video is not displayed all the time, but appears only at the beginning of the video for 10 seconds and at the end.
Code itself:
vlc.exe --sub-filter "marq{marquee=$V ($P%%),color=16776960,opacity=200}:marq{marquee=%H:%M:%S,position=6 }» 1.avi
Where 1.avi is the name of the video clip, and $V is the variable value taken from the file properties (in this case, it displays the volume level)
Why is all this needed? To create something similar to titles with the name of the artist and the title of the work, as on music TV channels, which will be taken from the media information of the video file. In order not to overlay captions through video editors.
PS If there is an alternative method of displaying media information on the video, I will be glad to hear
Yes, I'm also interested in changing the style, size, color of the text displayed over the video using the command line.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
artanets, 2013-08-29
@artanets

If anyone is interested, there was also a solution how to put an animated drawing under the inscription that disappears after a while.
vlc.exe --sub-filter "logo{file='pic1.png,2000,150;pic2.png,2000,150;pic3.png,2000,150;pic4.png,2000,150',position=8 ,repeat=1}" 1.avi
Where pic1.png is a Photoshopped png with a transparent background.
pic2...pic4 is an animation split into 3 images (or more).
the value 2000 is the display time for one image in milliseconds.
150 image transparency.
position=8 is the place to display the image on the screen
repeat=1 the number of repetitions of your animation
1.avi my video clip
As a result, we get an animated picture starting with an empty frame and ending with it, you can choose the time yourself by changing the value of 2000 for each frame.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question