I'm running vlc 1.1.12 on Ubuntu 11.10.
Using webcam as input,I'm trying to run vlc as an RTSP server, and in the same time I'm trying make vlc save snapshots of the video that it captures.
I have no problem with the transcoding part. It's that I failed to make vlc save snapshots while disabling the output display (even with using -Idummy flag).
For simplicity, I've removed the code I'm using for transcoding. The following is the code I'm using for saving snapshots:
Code: Select all
vlc v4l2:///dev/video0 --video-filter scene --scene-path . --scene-prefix test --scene-replace --scene-format jpg --scene-ratio=10 -Idummy
Note that although the -Idummy flag is used, however a display window still appears (even even if cvlc instead of vlc).
I've tried using cvlc on terminal and redirecting the standard output to > /dev/null, however since the fact that output is generated, so this uses a relatively lot of processing power (my vlc cmd will be deployed on a node with small processing power).
So, the question is:
How to save snapshots while completely disabling output window??.