Skip to main content
12 votes
Accepted

VLC does not release webcam resource

rmmod bcm2835-v4l2 modprobe bcm2835-v4l2 Destroys and re-creates /dev/video0 Just ran into the same problem and that fixed it for me.
Michael's user avatar
  • 326
11 votes

How can I stream H.264 video from the Raspberry Pi camera module via a web server?

As of 2017 (or perhaps earlier) raspivid is no longer the preferred method, with the Pi devs recommending people use V4L2 instead. So this method allows you to stream H264 via RTP using V4L2 instead ...
Malvineous's user avatar
  • 1,884
8 votes

Modern way to stream H.264 from the Raspberry Cam

I'm amazed there isn't more action on this thread, I've been chasing down the answer to this question for months. I stream from a Pi Camera (CSI) to a Janus server, and I found the best pipeline is ...
Ben Olayinka's user avatar
7 votes

How to stream low-latency video from the RPi to a web browser in realtime

You can send raw 264 frames to a browser through websocket and decode in in javascript. Latency < 0.1s :p I wrote an opensource project in this manner, checkout https://github.com/131/h264-live-...
131's user avatar
  • 171
6 votes

miniDLNA & srt files

Few hours ago I tried with a Samsung smart TV and I have to say (or type): Now, miniDLNA supports srt files so you don't have to implement something else
Jordy Cuan's user avatar
6 votes

How can I stream a video from a camera over a network in the most effective way?

The easiest way I have found, to get a live videofeed from an headless raspberry pi, with a raspberry pi camera. This solution works right out of the box, without installing additional software on ...
Per Hansen's user avatar
6 votes

Protect my motion webcam stream with a password (motion.conf)

To setup a username and password with motion, you need to edit motion configuration file. Steps Open terminal Type sudo nano /etc/motion/motion/conf Add in a new line stream_auth_method 1 Add in a ...
Chaf's user avatar
  • 61
6 votes

H265 decoding performance on a Pi 3

As Qualcuno pointed out yesterday, the RPi (all models) does not have support for hardware acceleration of H.265 video sources. As such, the RPi just doesn't have the raw horsepower needed to decode ...
Jacobm001's user avatar
  • 11.9k
6 votes
Accepted

Netflix Addon for Kodi/OSMC

There is a proper Netflix addon but it uses Kodi 17 (krypton)'s newly implemented InputStream API. However, Kodi 17 still isn't enough for running the plugin, Netflix uses DRM encryption which is only ...
FFY00's user avatar
  • 117
6 votes
Accepted

ERROR: *** unrecognised codec libav ***

You need to install the full libcamera-apps package, Raspberry Pi OS Lite only ships with libcamera-apps-lite. libav based functionality got removed from libcamera-apps-lite because it pulls in X11 ...
hirnsushi's user avatar
5 votes

H265 decoding performance on a Pi 3

A RPI3 can decode 1080p HEVC quite well. There have been NEON optimizations to HW-accelerate HEVC decoding. Best played with KODI. The problem is a RPI3 is running hot, so it starts throttling, an ...
Janghou's user avatar
  • 1,446
5 votes
Accepted

Can Raspberry Pi 3 record 4k video stream?

The official Raspberry Pi Camera does not support 4K, so No - If that is what you wanted. If you have a USB 2.0 4K camera1 that can dump encoded data then yes. As long as the driver is picked up you ...
Piotr Kula's user avatar
  • 17.3k
5 votes

Watch Youtube videos without "personal API key", because I don't have a Google account

I don't know anything about Kodi, but you can get YouTube videos without allowing Google to sniff your privates: sudo apt-get install youtube-dl I've found youtube-dl to work well for my purposes, ...
Seamus's user avatar
  • 22.4k
4 votes

Add 24 monitors to PC using Raspberry Pi?

It turns out that there's a reasonably well established project for doing just this. The PiWall project's overview states: A master computer, which can be either a Raspberry Pi or a Linux PC, is ...
goobering's user avatar
  • 10.7k
4 votes
Accepted

HD-SDI video out from Pi3?

There's no way to do this without using an external converter. The BCM2837 chip doesn't support an HD-SDI formatted output, which is fundamentally different to an HDMI formatted output. There's no ...
goobering's user avatar
  • 10.7k
4 votes
Accepted

Streaming Video modprobe ERROR

So I had the same issue. I found here that the linux image should be reinstalled ( #apt-get install --reinstall linux-image-$(uname -r)). However, at the time this answer is written, the only images ...
lesurp's user avatar
  • 156
4 votes
Accepted

What is the correct method for streaming video from the camera module to date?

By stream I assume you mean over the network. I recently researched the same question (specifically, streaming over RTSP) and these are the best options out there: https://github.com/mpromonet/...
Pedro Lopes's user avatar
4 votes

Is Raspberry Pi 4 fast enough to watch online videos with 1080p?

In this review, RPi 4 was able to play a 1080p30 Youtube video smoothly, but not 1080p60. There was observable screen tearing, but I'd expect the situation to improve in this regard as Raspbian is ...
Dmitry Grigoryev's user avatar
4 votes
Accepted

Best way to stream usb camera video in 2020

You'd first have to stream your camera to a site like YouTube. To do that you'd have to install FFmpeg on your Raspberry Pi. Install FFmpeg: sudo apt-get update sudo apt-get install ffmpeg Once you'...
aklingam's user avatar
  • 984
3 votes

Raspberry pi as vr headset

If you have a recent iPhone or Android phone, then the easiest and cheapest way to get into VR is one of the many Google Cardboard headsets. Cardboard headsets made from actual cardboard range from ...
ObscureRobot's user avatar
3 votes

How can I stream H.264 video from the Raspberry Pi camera module via a web server?

Piotr Kula's answer seems to be on the right track but is outdated for Raspberry stretch. There are updated instructions for uv4l on Raspberry stretch at https://www.linux-projects.org/uv4l/...
Wolfgang Fahl's user avatar
3 votes
Accepted

Possibility: Simultanius save webcam stream to file and register as DirectShow-device via USB

This doesn't sound possible. I did a little more thinking following my comment below the question, and eventually realised that what you're describing is a Pi which is simultaneously in USB host mode ...
goobering's user avatar
  • 10.7k
3 votes

Transmitting live video over long distances with ethernet?

There are great HDMI-over-CAT6 cables. Some use 2 cables and can go up to 300 feeet. Others use two cables and go 100 Meters. Then there are also single-cable adapters that actually go 300 feet ...
SDsolar's user avatar
  • 2,358
3 votes
Accepted

Increasing fps of pi camera using OpenCV C++ implementation

As suggested in the comments, I think you need to set the frame geometry first and then set the frame-rate afterwards. std::cout <<"\t[PARAM_FRAME_WIDTH] "; if(!cap.set(CV_CAP_PROP_FRAME_WIDTH,...
Mark Setchell's user avatar
3 votes
Accepted

Battery Usage Pi Zero W for video stream

The raspberry Pi Zero W consumes 230 mA with camera connected and capturing video at 1080p It further consumes 170 mA when wifi is turned on 230+170=400 mA Add 100 mA more to that just to avoid any ...
Abdullah's user avatar
3 votes
Accepted

Unable to stream live on Youtube using Raspberry Pi Zero W using ffmpeg

My rep is too low to comment. Have you tried lowering the video size, say starting at 320x240? I've streamed video from a Zero W before but never at the resolution you're using. That video size could ...
Paul's user avatar
  • 171
3 votes

RPI 4 - ffmpeg - how to get hardware h.264 decoding to work?

As of July 2021 you can get half way there. There is a V4L2 M2M (memory to memory) interface that is used to access hardware encoders and decoders, and the Pi seems to have pretty good support for ...
Malvineous's user avatar
  • 1,884
3 votes

Unable to configure pulseaudio/alsa to work with cvlc

Would it be possible to capture audio from the webcam and push it to the headphone jack so I can verify audio is being picked up? Yes. You can do that either by running raspi-config and selecting "...
Dmitry Grigoryev's user avatar
3 votes

How can I watch Netflix on the Raspberry Pi 4?

AFAIK it's possible to get Netflix working in Chromium in Raspbian OS, if you manage to rip the DRM library out of ChromeOS. I haven't tried it myself, but this user seems to have succeeded on a Pi 3. ...
Dmitry Grigoryev's user avatar
3 votes

How can I watch Netflix on the Raspberry Pi 4?

I've created a 1-line-paste solution to this, in case it's helpful for anyone: https://blog.vpetkov.net/2020/03/30/raspberry-pi-netflix-one-line-easy-install-along-with-hulu-amazon-prime-disney-plus-...
Ventz's user avatar
  • 51

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