Page 1 of 1

Help with marq filter

Posted: 15 Jul 2009 17:42
by gerlos
Hello everyone,
I'm capturing some videos from a webcam using VLC 1.0.0 in gnu/linux, and need to add a text overlay to the saved video. I tried this way:

Code: Select all

vlc v4l:///dev/video0:fps=5:width=640:height=480:audio-mute=1 --sub-filter 'marq{marquee="%F %T",position=8}' --sout '#duplicate{dst=display,dst=std{access=file,mux=avi,dst="/home/gerlos/test.avi"}}'
But the overlay is displayed only on the screen during the capture, and isn't recorded in the avi file.

Where's my error?

thanks in advance
gerlos

Re: Help with marq filter

Posted: 15 Jul 2009 23:21
by Jean-Baptiste Kempf
You need to transcode and put the marqee in it.

Re: Help with marq filter

Posted: 15 Jul 2009 23:56
by gerlos
You need to transcode and put the marqee in it.
Even if I don't want to transcode the video? The problem is that after I captured them, I need to process each frame, and don't want to lose information. I'd like to leave the frames like they came from the webcam.

I'm still not feeling confident with the command line... tried this:

Code: Select all

vlc v4l:///dev/video0:fps=5:width=640:height=480:audio-mute=1 --sout '#transcode{sfilter=marq{marquee="%F %T",position=8}}:duplicate{dst=display,dst=std{access=file,mux=avi,dst="/home/gerlos/test.avi"}}'
But doesn't work. The marquee is not displayed, and the frame is smaller than 640x480 px. What is wrong?

anyway, thank you for your atttention
gerlos