Page 1 of 1

stream a video after incorporate date+time on it

Posted: 17 Nov 2009 15:20
by walid
Hi, everybody, i've a question about the advenced use of VLC, my english is not fluent, but i will try to tell you about my problem.

So, i would like to incorporate a texte (for exemple: date + time) in a video then stream it (for exemple by UDP on 172.22.35.37:1234).

This is what i can make at prensent:
1) TO Incorporate date + time on a video: vlc --sub-filter "marq{marquee=%d/%m/%y %H:%M:%S,position=9}" MyVideo.mpeg
2) TO Stream a video by UDP on 172.22.35.37:1234: vlc -vvv MyVideo.mpeg --sout '#std{access=udp,mux=ts,dst=172.22.35.37:1234}'

BUT what i don't t know how to do is to stream the video after it contains the (date + time) IN order to reuse this video for other treatments, for exemple to make mosaic.

I have an idea: i must make a mix of both commands!!!!

Is there someone who can help me?
Any idea?

http://www.yelles.fr

Re: stream a video after incorporate date+time on it

Posted: 02 Dec 2009 18:00
by thannoy
Never tested, but have a look at Documentation:Streaming_HowTo/Advanced_Streaming_Using_the_Command_Line wiki page (transcode> sfilter).

So if the mix of your commands do not work, this worth a try:

Code: Select all

'--sout=#transcode{sfilter{I don't know how to use this stuff}}:std{udp like your line}'