VLC just shows a single picture of the webcam - raspberry-pi

I would like to show the live video of a Microsoft Studio webcam with a Raspberry Pi. It should be a reading tool for my grandma.
So I tried vlc v4l2:///dev/video0 and I get always just a single picture. After that the system is frozen. You can just plug the power supply out.
I don't know what I'm doing wrong? I also tried a smaller resolution.

Related

Stream video from Raspberry Pi 4 while another program uses the pi camera as well

I have a raspberry pi 4 with a camera module on it and a pan-tilt hat.
I've made a project which when started, it uses the feed from the RPI camera, detects a face and center around it. If the person moves, the camera tracks him.
When I run the .py file through the terminal, it works.
Now I want to use it with my PC. Therefore, I need to simultaneously run my project in the background AND to steam the feed to my PC somehow.
From the methods I searched online, I saw that it's possible to use flask and get a URL to use as an IP camera.
My question is, is it possible to stream the camera feed while my projects runs and tracks the face?
Thank you.

Execute Python Script on Motion Eye on event of Motion Detection

I have installed motioneye on a raspberry pi and it's working perfectly (images and videos are recording which I can access through FTP). Motion detection is enabled with a mask.
I have written a .py script that will open a new web browser displaying the streamed video so colleagues around the office can see at a glance who has entered the building (the script works perfectly when exectued in PyCharm)
I have placed the executbale .py file in /home/data/browse.py
However, it doesn't seem to execute when motion has been detected and captured/recorded.
Can anyone help please?

Is there a minimal TV GUI for youtube-dl & omxplayer on the Raspberry Pi?

Here's my issue:
My Raspberry Pi boots to console (Raspbian) and does the following:
- Checks a small Youtube-DL script for new updates to a playlist. If so, it pulls the video and copies it to a folder.
After the video is saved, OMXPlayer plays that video from command line and it works perfectly (on 720p, which is great for my use).
-- That's it. It doesn't do anything else.
Here's the issue. I wanted to create a small GUI where I can scroll through older videos. I don't want to boot to a desktop. I tried an Electron JS app but it creates an entire instance of a web browser - which slows down OMXPlayer for me. I tried to mess around with Python TKinter but it won't let me load the script without first typing "startx" which boots up the Raspbian desktop.
Just want a small GUI (similar to KODI) but without anything else other than videos, and a short interface to scroll through different files.
Any suggestions?

Take pictures/video with my goPro from the command line

I'm looking for a way to capture pictures or video from my entry-level GoPro using the command line and with the camera connected via USB. There're lots tutorials of how to do it with the goPros that have Wi-Fi. Is there any way to do it like we do with webcams?
None of the GoPros support live streaming via USB. USB is primarily used for charging camera and access SD card. You simply cannot live stream from entry-level GoPro.

What Webcam is Compatible with MATLAB

I am working on a project of mine which requires a webcam and MATLAB. I have a Logitech Webcam, and I dont know if I could talk to it through MATLAB because Im trying to work with images and image processing, so I just want to know if there is a way to find out if the webcam is combatible with matlab or if I need to get some other type of webcam to get the job done, if I do need to get another one, it would be helpful if you suggest a certain cam that is cheap and available around.
Thank you.
I've used several Logitech webcams with the Image Acquisition Toolbox on Windows. You'll find a list of supported hardware here.