Page 1 of 1

Very simple program that uses VLC

Posted: 02 May 2020 19:46
by alpvir
I am almost sure I have not posted this intervention of mine in the right place but I am only now beginning to enter this world. I apologize for this.

I want to make a very simple program (almost a "Hello word") that should run on a Raspberry; should be launched immediately, when the Raspberry starts.
It simply needs to display video from a single webcam. Just this !
Using VLC and doing a series of operations, the video can be seen by opening the network stream at "rtps: / / admin@192.168.178.64: 554"
Which language to use ?
Is there any example available ?
Where can I start ?
Thanks in advance

Re: Very simple program that uses VLC

Posted: 18 May 2020 09:48
by chubinou
For setting up the RPi, I think the RPi forum is a better place to ask, in my opinion this is just a matter of setting up systemd to start a small script / daemon at startup

for the vlc side, there is probably no need to have programming involved, you can launch VLC form command line to set up a streaming server. Few examples are described here.

https://wiki.videolan.org/Documentation:Streaming_HowTo/Command_Line_Examples/