Newbie question on how to run vlc from command line

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
coolDiners
Blank Cone
Blank Cone
Posts: 16
Joined: 19 Mar 2007 02:28

Newbie question on how to run vlc from command line

Postby coolDiners » 19 Mar 2007 02:42

I want to be able to display a video clip along with a string ticker at the bottom of the player. In other words, the top portion of the player is going to play the video clip and a small bottom portion of the player will display a string message that moves from right to left.

I have been searching for all the command line options, but I have not been that successful in making the above work. Here is what I am using:

"C:\Program Files\VideoLAN\VLC\vlc.exe" --marq-marquee="Test" --marq-position=8 Lexus400hCommercial.mpg

It does not show the video. It only plays the audio, but no video is displayed. The marquee does not appear either.

I would greatly appreciate any help regarding this.

Thanks.[/code]

coolDiners
Blank Cone
Blank Cone
Posts: 16
Joined: 19 Mar 2007 02:28

Postby coolDiners » 19 Mar 2007 19:02

The video clip not showing was a Windows Vista problem. Thanks to the posting on: http://computerbits.wordpress.com/2007/ ... der-vista/

It is solved now. I still cannot get the marquee to show up. Here is the command I am using:

"C:\Program Files\VideoLAN\VLC\vlc.exe" --marq-marquee="Test" --marq-position=8 -f Lexus400hCommercial.mpg

Any help would be appreciated.

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 19 Mar 2007 23:57

You need to add --sub-filter=marq to that command line to make it load the marq filter.
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

coolDiners
Blank Cone
Blank Cone
Posts: 16
Joined: 19 Mar 2007 02:28

Postby coolDiners » 20 Mar 2007 00:48

Thanks for your reply. I tried to employ your suggestion, but it still does not work. Here is what I have:

"C:\Program Files\VideoLAN\VLC\vlc.exe" -I http --no-video-deco --sub-filter=marq{marquee="Test",position=6} -f Lexus400hCommercial.mpg

Is there something wrong with the above command or could it be a windows Vista thing?

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 20 Mar 2007 23:51

--sub-filter=marq --marq-marquee="Some text"

You can't use the { } syntax for sub filters in 0.8.6 (I believe that I only added that in 0.9.0, the development version.)

And I doubt that it's a Vista problem if you're only missing the marquee. If you're missing the whole video, then it's a Vista problem :D
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

coolDiners
Blank Cone
Blank Cone
Posts: 16
Joined: 19 Mar 2007 02:28

Postby coolDiners » 21 Mar 2007 04:24

Here is the command I use now based on your recommendation, but it still does not show the marquee. It shows the video clip though:

"C:\Program Files\VideoLAN\VLC\vlc.exe" -I http --no-video-deco --sub-filter=marq --marq-marquee="Some text" -f Lexus400hCommercial.mpg

Anything you see incorrect with the command?

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 21 Mar 2007 19:47

This works fine here (with 0.8.6a):

Code: Select all

vlc -I http --no-video-deco --sub-filter=marq --marq-marquee="Test" -f media/meteor.wmv
Could you try adding "-vvv --extraintf logger" to your command line. And then paste the contents of the log file it created. (Read them first to see if you spot some obvious "Error" or "Warning" message about the Freetype text renderer not being able to open a font file.)
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

coolDiners
Blank Cone
Blank Cone
Posts: 16
Joined: 19 Mar 2007 02:28

Postby coolDiners » 22 Mar 2007 03:30

Here is the command I used:

"C:\Program Files\VideoLAN\VLC\vlc.exe" -I http --no-video-deco --sub-filter=marq --marq-marquee="Some text" -vvv --extraintf logger -f Lexus400hCommercial.mpg

It shows "Some Text" now, but it does not scroll! I could not spot any obvious warning or error message in the log file generated. Here is the log file:

-- logger module started --
main debug: CPU has capabilities 486 586 MMX MMXEXT SSE SSE2 FPU
main debug: looking for memcpy module: 3 candidates
main debug: using memcpy module "memcpymmxext"
main debug: waiting for thread completion
main debug: thread 3892 (playlist) created at priority 0 (playlist/playlist.c:184)
main debug: waiting for thread completion
main debug: thread 3908 (preparser) created at priority 0 (playlist/playlist.c:210)
main debug: looking for interface module: 1 candidate
logger: VLC media player - version 0.8.6a Janus - (c) 1996-2007 the VideoLAN team
logger:
Warning: if you can't access the GUI anymore, open a command-line window, go to the directory where you installed VLC and run "vlc -I wx"

logger: using logger...
logger warning: no log filename provided, using `vlc-log.txt'
logger debug: opening logfile `vlc-log.txt'
main debug: using interface module "logger"
main debug: thread 3936 (interface) created at priority 0 (interface/interface.c:231)
main debug: looking for interface module: 1 candidate
main debug: using interface module "hotkeys"
main debug: thread 3960 (interface) created at priority 0 (interface/interface.c:231)
main debug: adding playlist item `Lexus400hCommercial.mpg' ( Lexus400hCommercial.mpg )
main debug: looking for interface module: 4 candidates
http debug: using charset=UTF-8
http debug: base :8080
main: creating httpd
main debug: net: listening to port 8080
main debug: thread 4032 (httpd host thread) created at priority 0 (network/httpd.c:1078)
http debug: dir=C:\Program Files\VideoLAN\VLC\http
main debug: creating statistics handler
http debug: dir=C:\Program Files\VideoLAN\VLC\http\dialogs
http debug: file=C:\Program Files\VideoLAN\VLC\http\dialogs\browse (url=/dialogs/browse)
http debug: file=C:\Program Files\VideoLAN\VLC\http\dialogs\footer (url=/dialogs/footer)
http debug: file=C:\Program Files\VideoLAN\VLC\http\dialogs\input (url=/dialogs/input)
http debug: file=C:\Program Files\VideoLAN\VLC\http\dialogs\main (url=/dialogs/main)
http debug: file=C:\Program Files\VideoLAN\VLC\http\dialogs\mosaic (url=/dialogs/mosaic)
http debug: file=C:\Program Files\VideoLAN\VLC\http\dialogs\playlist (url=/dialogs/playlist)
http debug: file=C:\Program Files\VideoLAN\VLC\http\dialogs\sout (url=/dialogs/sout)
http debug: file=C:\Program Files\VideoLAN\VLC\http\dialogs\vlm (url=/dialogs/vlm)
http debug: file=C:\Program Files\VideoLAN\VLC\http\favicon.ico (url=/favicon.ico)
http debug: file=C:\Program Files\VideoLAN\VLC\http\iehacks.css (url=/iehacks.css)
http debug: dir=C:\Program Files\VideoLAN\VLC\http\images
http debug: file=C:\Program Files\VideoLAN\VLC\http\images\delete.png (url=/images/delete.png)
http debug: file=C:\Program Files\VideoLAN\VLC\http\images\delete_small.png (url=/images/delete_small.png)
http debug: file=C:\Program Files\VideoLAN\VLC\http\images\eject.png (url=/images/eject.png)
http debug: file=C:\Program Files\VideoLAN\VLC\http\images\empty.png (url=/images/empty.png)
http debug: file=C:\Program Files\VideoLAN\VLC\http\images\fullscreen.png (url=/images/fullscreen.png)
http debug: file=C:\Program Files\VideoLAN\VLC\http\images\help.png (url=/images/help.png)
http debug: file=C:\Program Files\VideoLAN\VLC\http\images\info.png (url=/images/info.png)
http debug: file=C:\Program Files\VideoLAN\VLC\http\images\loop.png (url=/images/loop.png)
http debug: file=C:\Program Files\VideoLAN\VLC\http\images\minus.png (url=/images/minus.png)
http debug: file=C:\Program Files\VideoLAN\VLC\http\images\next.png (url=/images/next.png)
http debug: file=C:\Program Files\VideoLAN\VLC\http\images\pause.png (url=/images/pause.png)
http debug: file=C:\Program Files\VideoLAN\VLC\http\images\play.png (url=/images/play.png)
http debug: file=C:\Program Files\VideoLAN\VLC\http\images\playlist.png (url=/images/playlist.png)
http debug: file=C:\Program Files\VideoLAN\VLC\http\images\playlist_small.png (url=/images/playlist_small.png)
http debug: file=C:\Program Files\VideoLAN\VLC\http\images\plus.png (url=/images/plus.png)
http debug: file=C:\Program Files\VideoLAN\VLC\http\images\prev.png (url=/images/prev.png)
http debug: file=C:\Program Files\VideoLAN\VLC\http\images\refresh.png (url=/images/refresh.png)
http debug: file=C:\Program Files\VideoLAN\VLC\http\images\repeat.png (url=/images/repeat.png)
http debug: file=C:\Program Files\VideoLAN\VLC\http\images\sd.png (url=/images/sd.png)
http debug: file=C:\Program Files\VideoLAN\VLC\http\images\shuffle.png (url=/images/shuffle.png)
http debug: file=C:\Program Files\VideoLAN\VLC\http\images\slider_bar.png (url=/images/slider_bar.png)
http debug: file=C:\Program Files\VideoLAN\VLC\http\images\slider_left.png (url=/images/slider_left.png)
http debug: file=C:\Program Files\VideoLAN\VLC\http\images\slider_point.png (url=/images/slider_point.png)
http debug: file=C:\Program Files\VideoLAN\VLC\http\images\slider_right.png (url=/images/slider_right.png)
http debug: file=C:\Program Files\VideoLAN\VLC\http\images\slow.png (url=/images/slow.png)
http debug: file=C:\Program Files\VideoLAN\VLC\http\images\sort.png (url=/images/sort.png)
http debug: file=C:\Program Files\VideoLAN\VLC\http\images\sout.png (url=/images/sout.png)
http debug: file=C:\Program Files\VideoLAN\VLC\http\images\speaker.png (url=/images/speaker.png)
http debug: file=C:\Program Files\VideoLAN\VLC\http\images\speaker_mute.png (url=/images/speaker_mute.png)
http debug: file=C:\Program Files\VideoLAN\VLC\http\images\stop.png (url=/images/stop.png)
http debug: file=C:\Program Files\VideoLAN\VLC\http\images\vlc16x16.png (url=/images/vlc16x16.png)
http debug: file=C:\Program Files\VideoLAN\VLC\http\images\volume_down.png (url=/images/volume_down.png)
http debug: file=C:\Program Files\VideoLAN\VLC\http\images\volume_up.png (url=/images/volume_up.png)
http debug: file=C:\Program Files\VideoLAN\VLC\http\images\white.png (url=/images/white.png)
http debug: file=C:\Program Files\VideoLAN\VLC\http\images\white_cross_small.png (url=/images/white_cross_small.png)
http debug: file=C:\Program Files\VideoLAN\VLC\http\index.html (url=/)
http debug: redir= -> /
http debug: redir=/index.html -> /
http debug: dir=C:\Program Files\VideoLAN\VLC\http\js
http debug: file=C:\Program Files\VideoLAN\VLC\http\js\functions.js (url=/js/functions.js)
http debug: file=C:\Program Files\VideoLAN\VLC\http\js\mosaic.js (url=/js/mosaic.js)
http debug: file=C:\Program Files\VideoLAN\VLC\http\js\vlm.js (url=/js/vlm.js)
http debug: file=C:\Program Files\VideoLAN\VLC\http\mosaic.html (url=/mosaic.html)
http debug: dir=C:\Program Files\VideoLAN\VLC\http\old
http debug: dir=C:\Program Files\VideoLAN\VLC\http\old\admin
http debug: file=C:\Program Files\VideoLAN\VLC\http\old\admin\browse.html (url=/old/admin/browse.html)
http debug: file=C:\Program Files\VideoLAN\VLC\http\old\admin\dboxfiles.html (url=/old/admin/dboxfiles.html)
http debug: file=C:\Program Files\VideoLAN\VLC\http\old\admin\index.html (url=/old/admin/)
http debug: redir=/old/admin -> /old/admin/
http debug: redir=/old/admin/index.html -> /old/admin/
http debug: file=C:\Program Files\VideoLAN\VLC\http\old\cone_minus.png (url=/old/cone_minus.png)
http debug: file=C:\Program Files\VideoLAN\VLC\http\old\cone_plus.png (url=/old/cone_plus.png)
http debug: file=C:\Program Files\VideoLAN\VLC\http\old\index.html (url=/old/)
http debug: redir=/old -> /old/
http debug: redir=/old/index.html -> /old/
http debug: file=C:\Program Files\VideoLAN\VLC\http\old\info.html (url=/old/info.html)
http debug: file=C:\Program Files\VideoLAN\VLC\http\old\style.css (url=/old/style.css)
http debug: dir=C:\Program Files\VideoLAN\VLC\http\old\vlm
http debug: file=C:\Program Files\VideoLAN\VLC\http\old\vlm\edit.html (url=/old/vlm/edit.html)
http debug: file=C:\Program Files\VideoLAN\VLC\http\old\vlm\index.html (url=/old/vlm/)
http debug: redir=/old/vlm -> /old/vlm/
http debug: redir=/old/vlm/index.html -> /old/vlm/
http debug: file=C:\Program Files\VideoLAN\VLC\http\old\vlm\new.html (url=/old/vlm/new.html)
http debug: file=C:\Program Files\VideoLAN\VLC\http\old\vlm\show.html (url=/old/vlm/show.html)
http debug: file=C:\Program Files\VideoLAN\VLC\http\old\webcam.html (url=/old/webcam.html)
http debug: dir=C:\Program Files\VideoLAN\VLC\http\requests
http debug: file=C:\Program Files\VideoLAN\VLC\http\requests\browse.xml (url=/requests/browse.xml)
http debug: file=C:\Program Files\VideoLAN\VLC\http\requests\playlist.xml (url=/requests/playlist.xml)
http debug: file=C:\Program Files\VideoLAN\VLC\http\requests\readme.txt (url=/requests/readme.txt)
http debug: file=C:\Program Files\VideoLAN\VLC\http\requests\status.xml (url=/requests/status.xml)
http debug: file=C:\Program Files\VideoLAN\VLC\http\requests\vlm.xml (url=/requests/vlm.xml)
http debug: file=C:\Program Files\VideoLAN\VLC\http\requests\vlm_cmd.xml (url=/requests/vlm_cmd.xml)
http debug: file=C:\Program Files\VideoLAN\VLC\http\style.css (url=/style.css)
http debug: file=C:\Program Files\VideoLAN\VLC\http\vlm.html (url=/vlm.html)
http debug: file=C:\Program Files\VideoLAN\VLC\http\vlm_export.html (url=/vlm_export.html)
main debug: using interface module "http"
main debug: thread 4380 (manager) created at priority 0 (interface/interface.c:216)
main debug: creating new input thread
main debug: waiting for thread completion
main debug: `Lexus400hCommercial.mpg' gives access `' demux `' path `Lexus400hCommercial.mpg'
main debug: thread 4400 (input) created at priority 1 (input/input.c:265)
main debug: creating demux: access='' demux='' path='Lexus400hCommercial.mpg'
main debug: looking for access_demux module: 1 candidate
main debug: creating access '' path='Lexus400hCommercial.mpg'
main debug: looking for access2 module: 5 candidates
vcd debug: trying .cue file: Lexus400hCommercial.cue
vcd debug: could not find .cue file
access_file debug: opening file `Lexus400hCommercial.mpg'
main debug: using access2 module "access_file"
main debug: pre-buffering...
main debug: received first data for our buffer
main debug: pre-buffering done 1408981 bytes in 0s - 1375958007 kbytes/s
main debug: creating demux: access='' demux='' path='Lexus400hCommercial.mpg'
main debug: looking for demux2 module: 45 candidates
ts warning: TS module discarded (lost sync)
main debug: using demux2 module "ps"
main debug: looking for a subtitle file in C:\Wait\
main debug: `Lexus400hCommercial.mpg' successfully opened
ps debug: we found a length of: 29805456
ps debug: we found a length of: 29896533
main debug: selecting program id=0
main debug: looking for decoder module: 27 candidates
main debug: using decoder module "mpeg_audio"
main debug: thread 4528 (decoder) created at priority 2 (input/decoder.c:159)
main debug: looking for decoder module: 27 candidates
main debug: using decoder module "libmpeg2"
main debug: thread 4532 (decoder) created at priority 0 (input/decoder.c:159)
libmpeg2 debug: 352x240 (display 352,240), aspect 563200, sar 8:9, 29.971 fps
main debug: no usable vout present, spawning one
main debug: looking for sub filter module: 2 candidates
main debug: using sub filter module "marq"
main debug: Registering subpicture channel, ID: 2
main debug: window size: 352x270
main debug: looking for video output module: 6 candidates
direct3d debug: creating DirectXEventThread
main debug: Registering subpicture channel, ID: 3
main debug: Registering subpicture channel, ID: 4
main debug: Registering subpicture channel, ID: 5
main debug: waiting for thread completion
direct3d debug: DirectXCreateWindow
main debug: Registering subpicture channel, ID: 6
mpeg_audio debug: MPGA channels:2 samplerate:44100 bitrate:224
main debug: no aout present, spawning one
main debug: looking for audio output module: 3 candidates
direct3d debug: created video sub-window
aout_directx debug: OpenAudio
main debug: thread 4616 (DirectX Events Thread) created at priority 0 (direct3d.c:185)
direct3d debug: DirectXEventThread running
direct3d debug: disabling screen saver
main debug: using video output module "direct3d"
main debug: waiting for thread completion
direct3d debug: Direct3D device adapter successfully initialized
direct3d debug: selected surface pixel format is YUY2
direct3d debug: 1 Direct3D pictures created successfully
main debug: got 1 direct buffer(s)
main debug: picture in 352x240 (0,0,352x240), chroma I420, ar 176:135, sar 8:9
main debug: picture user 352x240 (0,0,352x240), chroma I420, ar 176:135, sar 8:9
main debug: picture out 352x240 (0,0,352x240), chroma YUY2, ar 176:135, sar 8:9
main debug: looking for chroma module: 9 candidates
main debug: using chroma module "i420_yuy2_mmx"
main debug: indirect render, mapping render pictures 0-7 to system pictures 1-8
main debug: thread 4700 (video output) created at priority 1 (video_output/video_output.c:421)
main warning: dts != current_pts (-620288)
aout_directx debug: found device: Primary Sound Driver
aout_directx debug: found device: Speakers (SigmaTel High Definition Audio CODEC)
aout_directx debug: found device: Digital Output Device (SPDIF) (SigmaTel High Definition Audio CODEC)
aout_directx debug: device supports 2 channels
aout_directx debug: device supports 1 channel
aout_directx debug: creating DirectSoundThread
main debug: thread 4884 (DirectSound Notification Thread) created at priority 15 (directx.c:372)
aout_directx debug: DirectSoundThread ready
main debug: using audio output module "aout_directx"
main debug: output 's16l' 44100 Hz Stereo frame=1 samples/4 bytes
main debug: mixer 'fl32' 44100 Hz Stereo frame=1 samples/8 bytes
main debug: filter(s) 'fl32'->'s16l' 44100 Hz->44100 Hz Stereo->Stereo
main debug: looking for audio filter module: 24 candidates
main debug: using audio filter module "float32tos16"
main debug: found a filter for the whole conversion
main debug: looking for audio mixer module: 3 candidates
main debug: using audio mixer module "trivial_mixer"
main debug: input 'mpga' 44100 Hz Stereo frame=1152 samples/1262 bytes
main debug: filter(s) 'mpga'->'fl32' 44100 Hz->44100 Hz Stereo->Stereo
main debug: looking for audio filter module: 24 candidates
main debug: using audio filter module "mpgatofixed32"
main debug: found a filter for the whole conversion
main debug: filter(s) 'fl32'->'fl32' 48510 Hz->44100 Hz Stereo->Stereo
main debug: looking for audio filter module: 24 candidates
main debug: using audio filter module "bandlimited_resampler"
main debug: found a filter for the whole conversion
main debug: looking for video blending module: 1 candidate
blend debug: chroma: YUVP -> YUY2
main debug: using video blending module "blend"
main debug: looking for text renderer module: 2 candidates
freetype debug: using fontsize: 15
main debug: using text renderer module "freetype"
main debug: audio output is too slow (545078), trashing 50000us
main debug: audio output is too slow (495078), trashing 50000us
main debug: audio output is too slow (445078), trashing 50000us
main debug: audio output is too slow (395078), trashing 50000us
main debug: audio output is too slow (345078), trashing 50000us
main debug: audio output is too slow (295078), trashing 50000us
main debug: audio output is too slow (245078), trashing 50000us
main debug: audio output is too slow (195078), trashing 50000us
main debug: audio output is too slow (145078), trashing 50000us
main debug: audio output is too slow (95078), trashing 50000us
main debug: audio output is too slow (45078), trashing 50000us
main warning: output date isn't PTS date, requesting resampling (45078)
main warning: buffer is 45085 late, triggering upsampling
main warning: resampling stopped after 10187000 usec (drift: 245)
main debug: EOF reached
main debug: waiting decoder fifos to empty
main debug: waiting decoder fifos to empty
main debug: waiting decoder fifos to empty
main debug: closing input
main debug: removing module "mpeg_audio"
main debug: thread times: real 0m30.807000s, kernel 0m0.015600s, user 0m0.436802s
main debug: thread 4528 joined (input/decoder.c:191)
main debug: killing decoder fourcc `mpga', 0 PES in FIFO
main debug: removing module "mpgatofixed32"
main debug: removing module "bandlimited_resampler"
aout_directx debug: closing audio device
aout_directx debug: DirectSoundThread exiting
main debug: thread times: real 0m30.724000s, kernel 0m0.031200s, user 0m0.000000s
main debug: thread 4884 joined (directx.c:598)
main debug: removing module "aout_directx"
main debug: removing module "float32tos16"
main debug: removing module "trivial_mixer"
main debug: removing module "libmpeg2"
main debug: thread times: real 0m30.861000s, kernel 0m0.062400s, user 0m0.686404s
main debug: thread 4532 joined (input/decoder.c:191)
main debug: killing decoder fourcc `mpgv', 0 PES in FIFO
main debug: Program doesn't contain anymore ES
main debug: removing module "ps"
main debug: removing module "access_file"
main debug: thread times: real 0m30.927000s, kernel 0m0.062400s, user 0m0.046800s
main debug: thread 4400 joined (input/input.c:412)
main: nothing to play
main debug: garbage collector destroys 1 vout
main debug: removing module "i420_yuy2_mmx"
main debug: removing module "blend"
main debug: removing module "freetype"
main debug: removing module "marq"
direct3d debug: 1 Direct3D pictures released.
direct3d debug: DirectXEventThread terminating
direct3d debug: DirectXCloseWindow
direct3d debug: WinProc WM_DESTROY
main debug: thread times: real 0m30.976000s, kernel 0m0.046800s, user 0m0.000000s
main debug: thread 4616 joined (direct3d.c:263)
main debug: removing module "direct3d"
main debug: thread times: real 0m30.953000s, kernel 0m0.078000s, user 0m0.249601s
main debug: thread 4700 joined (video_output/video_output.c:461)

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 22 Mar 2007 23:38

Marquee isn't supposed to scroll (at least not that I'm aware).

The only solution to have scrolling text is to use the RSS filter (that'd be kind of a hack but it could work :) )
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 36 guests