We’re rewarding the question askers & reputations are being recalculated! Read more.

Hot answers tagged

4

The problem is that the C922 does not advertise its H264 stream over UVC whereas the C920 does. This is because Logitech did not want to enable general use of the H264 for the C922, but instead wanted you to buy the camera with something like Skype which knows internally how to get hold of the data. The reason for this peculiar setup was to enable the camera ...


1

I found that using: setterm -blank force; cvlc -f /path/to/videos/ solves the problem when running cvlc from the console.


1

Your user doesn't have permissions to open /dev/video because that dev file is owned by root user and video group. You need to add your user to the video group. usermod -G video ${USER}


1

You may have to force the stream mode for your camera. First chek if MPEG or H264 is really available : v4l2-ctl --list-formats Using v4l2-ctl --all you will see the current resolution and pixel Format for your camera. To define another resolution and/or pixelFormat, use this command : v4l2-ctl --device /dev/video0 --set-fmt-video=width=1280,height=960,...


1

I figured out what my problem was. I was using the wrong 'muxer'. When I switched to using the 'ogg' muxer, I was able to write to a file just fine. For the record, the command that is working for me is as follows: cvlc –no-audio \ v4l2:///dev/video0 \ –v4l2-width 1920 \ –v4l2-height 1440 \ –v4l2-chroma MJPG \ --run-time=10 \ –sout=file/ogg:/tmp/filename....


1

fifos are not for saving or reading more than once. You may find tee better suited to your goals. Untested guess at what you want(split a network stream): mkfifo myfifo1 myfifo2 && curl -s http://192.168.1.27:8554 | tee myfifo1 > myfifo2; Other guess at what you want(display and save on rpi): raspistill --fullpreview --output - >> jpgs....


1

I do not know if this is exactly what you need, but if VLC is not a requirement, there is a standard solution with WebRTC for UV4L. It can live stream both A/V to any browser in RealTime (< 150ms).


Only top voted, non community-wiki answers of a minimum length are eligible