Page 1 of 1

--marq-marquee help please

Posted: 22 Mar 2007 15:54
by fdlu
Hello,

I am looking for some help to print some text on the video with new lines.
I saw in doc that we can use some varaibles like $a to print artiste name etc....and $_ new line.
Can anybody show me an example how to use $a or $_ with the filter marq (--marq-marquee).

Thank a lot .

Dorian

Posted: 22 Mar 2007 23:52
by dionoea
First, you need a development version of VLC (get a nightly on http://nightlies.videolan.org).

Once that's done, I suggest that you look at the examples on http://wiki.videolan.org/Documentation:Modules/marq .

If you're running Linux (or any Unix ... Mac OS X included), make sure that you using single quotes around the --marq-marquee option's value. Else the $variables will be interpreted by the Shell before VLC gets called (so you'd need to escape the $ signs).

Tell me if you need more help,

Posted: 28 Mar 2007 14:59
by fdlu
thanks for your support.

But I tested many version a nighlies vlc, marq filter with $_ works fine but I have another problem : it's that command :marq-marquee doesn't work with RC command console in 0.9.0.
But you were right, $variable work with vlc 0.9.0 so I have to waiting for new VLC version 0.9.0 and get marq-marquee command ok to change dynamically the text.

For information I would like to get a dynamic osd, so I use osdmenu to get a background picture , and I am using marq (text) to print informations.

Thanks again.

Posted: 30 Mar 2007 00:25
by dionoea
The RC interface callbacks changed in 0.9.0.
Here's how it now works:
If your version is older than last week end: it doesn't work.
If your version is newer: https://trac.videolan.org/vlc/changeset/19424
When i get to commit modifications on my computer: @instancename command args (but you don't need to understand that now ... since it's not available yet)

Posted: 02 Apr 2007 12:50
by fdlu
great I am going to test it and take you aware.
Thanks a lot.

Posted: 02 Apr 2007 12:58
by fdlu
ok it seemes to work, but I could not play some video files.
I doesn't appear, I tried a ;mpg and dvdrip (.avi) but no picture are showed and the current time goes fast.

Posted: 02 Apr 2007 23:41
by dionoea
Nightlies (for windows) are a bit broken ATM i believe ... that might be your issue :)

Posted: 03 Apr 2007 09:08
by fdlu
that for sure .......... RIP windows

marq and save

Posted: 12 Jun 2007 11:09
by Arcturus
I passed to put some text on a mosaic with the new version 0.9
but i can't save in a file :( ... with 0.8.6 it save the file but with no text
"c:\program files\videolan\vlc_0.8.6\vlc.exe" --sub-filter "marq{marquee=Camera 1,x=25,y=0}:marq{marquee=Camera 3,x=25,y=160}:marq{marquee=Camera 2,x=185,y=0}:marq{marquee=Camera 4,x=185,y=160}" "C:\Program Files\VideoLAN\vlc_0.8.6\mosaic_4_fichier_mp4v_256kb_res150x150.mpeg" :sout=#transcode{vcodec=mp4v,vb=256,scale=1}:duplicate{dst=std{access=file,mux=ts,dst="test.mpeg"}}
this command on the version 0.8.6 save the file but don"t display marquee
and on the version 0.9 it crash vlc ....
the syntax changed or it's not yet implemented ?

thanx
Arcturus

using marq with VLM in VLC ver0.9.0

Posted: 15 Jun 2007 00:04
by rleeson
Sorry for jumping into this thread, but this seems to be related to something I'm having trouble with...

I have a VLM script that starts off several streams and builds a mosaic amoung other things... The problem is it appears that the "Marque" filter isn't available in the V0.8.6b release... I have been able to got it to display VLC in the upper left screen and the default format for the "Time" filter to appear in the lower left. by adding sfilter=marq or sfilter=time to the #transcode part of the output setup...

I would like to stick with VLM to avoid starting multiple copies of vlc to setup the marquee via command line. I dropped a copy of the nightly build of the windows port of VLC (vlc-0.9.0-svn-20070614-0839-win32), since other messages say that VLM in v0.9.0 will supply the new and improved Marquee filter...

I must be missing sometime be cause I can't get it to do any better than I had V0.8.6b do...

Below is a code what I finally got to load and give some indication that the Marquee filter was there...

Code: Select all

new test1 broadcast enabled setup test1 input 'F:\Movie_07.mpg' setup test1 option sfilter='marq{marquee=%Y/%m/%d %H:%M:%S,position=4}' setup test1 output #transcode{vcodec=mp4v,vb=4096,scale=1,sfilter=marq}:duplicate{dst=display,dst=std{access=udp{ttl=1},mux=ts,dst=224.1.1.1:1234}} control test1 play
If the "sfilter..." isn't in the #transcode... I don't get any indcation the filter is active. And I get the same VLC in the Upper Left with or without the options line...

I tried to move the Marquee setting in the options line to the #transcode line but that makes VLC abort...

I got the filter to run from command line fine but it took some playing with quotes, double quotes, back slashs and upper and lower code to make it finally work...

Code: Select all

C:\Program Files\VideoLAN\VLC>vlc --sub-filter "marq{marquee=%Y/%m/%d %H:%M:%S,position=4}" f:Movie_08.mpg
Please... I really could use some advice here...

Thanks in advance

Rob Leeson

Re: --marq-marquee help please

Posted: 07 Dec 2007 10:17
by tommekevda
I'm having the same problem so i'll blow some new life in this thread :)