Page 1 of 1

How to disable any message and window with dummy?

Posted: 14 Dec 2008 11:52
by Lorni
I get snapshot from TS stream by scheduler per minute:

Code: Select all

set width=791 set height=576 set port=8081 vlc.exe --intf=dummy --run-time=2 http://127.0.0.1:%port% --vout=image --image-out-format jpg --image-out-prefix=%port% --image-out-width=%width% --image-out-height=%height% --image-out-replace --no-osd vlc://quit
How to disable any message and any window, because its hard to work. VLC shows always:
libdvbpsi (PSI decoder)....bla bla bla.
But I get what I need, I have snapshot, work is done, so I want to disable any popups.

Re: How to disable any message and window with dummy?

Posted: 14 Dec 2008 18:06
by VLC_help
You can pipe the console messages to text file, it those are the ones that bother you. So use > or >> at command-line. Or do you get some GUI error messages?

Re: How to disable any message and window with dummy?

Posted: 15 Dec 2008 11:28
by Lorni
While getting snapshot I see this window. How to disable this? Because snapshot is good.
Image

Re: How to disable any message and window with dummy?

Posted: 15 Dec 2008 21:15
by VLC_help
Try removing -vvv

Re: How to disable any message and window with dummy?

Posted: 15 Dec 2008 23:14
by Lorni
same :(

Re: How to disable any message and window with dummy?

Posted: 16 Dec 2008 20:16
by VLC_help
It seems that TS discontinuity comes outside of VLC. And piping doesn't help? And you run 0.9.8a?

Re: How to disable any message and window with dummy?

Posted: 17 Dec 2008 13:05
by Lorni
I do not worry about TS Discontinuity. VLC (1) gets stream from another VLC (2). Another (2) gets it from sattelite and re-stream TS to lan as is.
Yes, I run 0.9.8a
Piping? What is it?

Re: How to disable any message and window with dummy?

Posted: 17 Dec 2008 22:06
by VLC_help
http://www.darknet.org.uk/2007/07/pipin ... ows-video/
that hopefully explains piping. So you direct all VLC messages to file or to void.

Re: How to disable any message and window with dummy?

Posted: 17 Dec 2008 23:09
by Lorni
Thanks for explanation. Piping does not help.
"vlc.exe ... > file" does not help.
Same with ">>".

Re: How to disable any message and window with dummy?

Posted: 18 Dec 2008 22:27
by VLC_help
Does --dummy-quiet help?

Re: How to disable any message and window with dummy?

Posted: 19 Dec 2008 09:44
by Lorni
Does --dummy-quiet help?
Yes. Thank you very much!

"How to get a snapshot using command line"
Solution (in my case):
snapshot.cmd

Code: Select all

set width=791 set height=576 set port=8081 vlc.exe --intf=dummy --dummy-quiet --run-time=2 http://10.200.200.6:%port% --no-audio --vout=image --image-out-format jpg --image-out-prefix=%port% --image-out-width=%width% --image-out-height=%height% --image-out-replace --no-osd vlc://quit move %port%.jpg "c:\www\site\snapshots\%port%.jpg" set port=8082 vlc.exe --intf=dummy --dummy-quiet --run-time=2 http://10.200.200.6:%port% --no-audio --vout=image --image-out-format jpg --image-out-prefix=%port% --image-out-width=%width% --image-out-height=%height% --image-out-replace --no-osd vlc://quit move %port%.jpg "c:\www\site\snapshots\%port%.jpg"