[solved] trouble getting marquee to show

*nix specific usage questions
nomadicme
New Cone
New Cone
Posts: 6
Joined: 14 May 2013 00:33

[solved] trouble getting marquee to show

Postby nomadicme » 14 May 2013 00:46

I originally thought this was a problem with my coding using libvlc, but then I realized that I couldn't even get the marquee to show from the command line. Here is what I am trying:

Code: Select all

cvlc test.mpg --marq-marquee "hello world"
I've tried a number of other options as well, but nothing seems to work. Could someone please let me know what combination of options works for them.

VLC ver 2.0.5

This a gentoo system, the following flags are set for the vlc package:

Code: Select all

X a52 alsa avcodec avformat dbus dts dvbpsi dvd elibc_glibc encode ffmpeg gcrypt libnotify mmx mp3 mpeg ncurses ogg opengl png postproc qt4 sdl sse swscale udev vaapi vorbis xcb xml xv
The following flags are unset:

Code: Select all

-aac -aalib -altivec -atmo -audioqueue -avahi -bidi -bluray -cdda -cddb -dc1394 -debug -dirac -direct2d -directfb -directx -dshow -dvb -dxva2 -egl -fbosd -flac -fluidsynth -fontconfig -gme -gnome -gnutls -growl -httpd -ieee1394 -ios-vout -jack -kate -kde -libass -libcaca -libproxy -libsamplerate -libtar -libtiger -linsys -lirc -live -lua -macosx -macosx-audio -macosx-dialog-provider -macosx-eyetv -macosx-qtkit -macosx-quartztext -macosx-vout -matroska -media-library -modplug -mtp -musepack -neon -omxil -optimisememory -opus -oss -portaudio -projectm -pulseaudio -pvr -rtsp -run-as-root -samba -schroedinger -sdl-image -shine -shout -sid -skins -speex -sqlite -svg -switcher -taglib -theora -truetype -twolame -upnp -v4l -vcdx -vlm -waveout -win32codecs -wingdi -wma-fixed -x264 -xosd -zvbi
I originally had the truetype flag set, but vlc complained:

Code: Select all

freetype spu text error: failed to load font file /usr/share/fonts/truetype/freefont/FreeSerifBold.ttf
So I removed the truetype flag, but I don't know if this has left me without marquee capability. The stdout from the above command does not complain about anything font specific:

Code: Select all

VLC media player 2.0.5 Twoflower (revision 2.0.5-0-g1661b7d) [0x604138] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. libdvbpsi error (PSI decoder): TS discontinuity (received 15, expected 0) for PID 0 libdvbpsi error (PSI decoder): TS discontinuity (received 7, expected 0) for PID 48 [0x6bbf58] qt4 interface error: Unable to load extensions module libdvbpsi error (PSI decoder): TS discontinuity (received 15, expected 0) for PID 0 libdvbpsi error (PSI decoder): TS discontinuity (received 7, expected 0) for PID 48 No accelerated IMDCT transform found
Any ideas would be greatly appreciated. Thanks.
Last edited by nomadicme on 14 May 2013 19:50, edited 1 time in total.

Whsperz
New Cone
New Cone
Posts: 4
Joined: 22 Aug 2012 01:16

Re: trouble getting marquee to show

Postby Whsperz » 14 May 2013 10:34

This is how I have gotten it to work on Mint using the cvlc command and streaming multicast.
cvlc --width=240 --height=180 --sub-source="marq{marquee=Ch. 002 VOD Barker from Local Content Server 01}" udp://@239.1.0.2:2122 2&>1

nomadicme
New Cone
New Cone
Posts: 6
Joined: 14 May 2013 00:33

Re: trouble getting marquee to show

Postby nomadicme » 14 May 2013 17:55

Thank you for you example Whsperz. That got me a little farther along, but still no marquee on the screen. Now if I issue this command:

Code: Select all

cvlc --extraintf=http:logger --verbose=2 --file-logging --logfile=vlc-log.txt --sub-source="marq{marquee=Ch. 002 VOD Barker from Local Content Server 01}" EP00753796.0160_1357005474.67.mpg
and then this command:

Code: Select all

grep marq vlc-log.txt
I get this output:

Code: Select all

main debug: set config option: marq-marquee to Ch. 002 VOD Barker from Local Content Server 01 main debug: set config option: marq-marquee to Ch. 002 VOD Barker from Local Content Server 01 main debug: using sub source module "marq" main debug: using sub source module "marq" main debug: Filter 'marq' (0x7ff24c015ed8) appended to chain main debug: Filter 'marq' (0x7ff24c015ed8) appended to chain main debug: removing module "marq" main debug: removing module "marq"
I also looked in the vicinity of these statements in the log file for any clues, but nothing caught my eye.

Any ideas why it is not actually making it onto the screen? Thanks.

nomadicme
New Cone
New Cone
Posts: 6
Joined: 14 May 2013 00:33

Re: trouble getting marquee to show

Postby nomadicme » 14 May 2013 19:49

Success!

On whim I recompiled vlc with the fontconfig and truetype flags activated. Now it works. Thanks again Whsperz for the correct format of the options on the command line. Now back to libvlc to see if I can get it working there.


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 8 guests