Help with marq filter

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
gerlos
New Cone
New Cone
Posts: 3
Joined: 24 Jun 2009 01:25
Operating System: Linux
Contact:

Help with marq filter

Postby gerlos » 15 Jul 2009 17:42

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

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Help with marq filter

Postby Jean-Baptiste Kempf » 15 Jul 2009 23:21

You need to transcode and put the marqee in it.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

gerlos
New Cone
New Cone
Posts: 3
Joined: 24 Jun 2009 01:25
Operating System: Linux
Contact:

Re: Help with marq filter

Postby gerlos » 15 Jul 2009 23:56

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


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 79 guests

cron