Clear Filters
Clear Filters

MATLAB to open raspberry pi 3 livestream

1 view (last 30 days)
I use this code to livestream on raspberry pi
raspivid -o - -t 0 -hf -vf -w 1080 -h 768 -fps 24 | ./split.o | cvlc -vvv stream:///dev/stdin --sout '#standard{access=http,mux=ts,dst=:8160}' :demux=h264
is there any way that i can open this using matlab? Maybe by using the port or the IP address? VLC works but my goal is to use MATLAB in order to be able to add image/video processing.

Answers (1)

Vahila Kayithi
Vahila Kayithi on 27 Dec 2019
Edited: Vahila Kayithi on 27 Dec 2019
Images from Raspberry Pi can be imported using the 'snapshot' function. Live stream video can be opened by using 'snapshot' function repeatedly.
For more information refer to the following link:

Categories

Find more on MATLAB Support Package for IP Cameras in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!