Skip to main content
27 votes

How do you make the HDMI hot-pluggable on a Pi?

In /boot/config.txt: hdmi_force_hotplug=1 hdmi_group=1 hdmi_mode=16 Those are explained here: https://www.raspberrypi.org/documentation/configuration/config-txt/video.md There is also this: https:/...
goldilocks's user avatar
  • 60.1k
12 votes

Is the pi-zero capable enough to play video?

Yes. As far as I can remember, pretty much every Pi I've ever tried to play 1920x1080 video on has worked, up to and including the very first generation boards. You can see a brief sample of the Zero ...
goobering's user avatar
  • 10.7k
11 votes
Accepted

Did the Raspberry Pi 5 drop hardware encoding support?

The Pi5 has no hardware support for video encoding. See https://forums.raspberrypi.com/viewtopic.php?p=2139082#p2139126
joan's user avatar
  • 71.6k
9 votes

How am I supposed to set GPU memory in RPi4?

Here's the relevant part of the official docs. Min and max: GPU memory in megabytes, sets the memory split between the CPU and GPU; the CPU gets the remaining memory. The minimum value is 16; the ...
Dmitry Grigoryev'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

No video for Raspberry Pi Zero W

Same issue a few days ago. Order of plugged in peripherals mattered. Making sure video out was connected before connecting power.
alrightmight's user avatar
6 votes

How do you make the HDMI hot-pluggable on a Pi?

In 'Raspberry Pi Configuration', select 'Set Resolution' Choose resolution, then reboot.
CoderMike's user avatar
  • 7,018
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

No OpenGL hardware rendering using mpv

You are on the right track by using mmal hardware decoding and the mpv-build repo (which makes things a lot easier). I found out a config that works pretty well for me, although it's specifically ...
rien333's user avatar
  • 166
5 votes

Is the pi-zero capable enough to play video?

Yes it is. And it's also worth mentioning omxplayer, a neat command line video player with lots of options, see this elinux post and this RPi documentation. Install it with sudo apt-get install -y ...
calocedrus's user avatar
5 votes
Accepted

always-on security camera, uploading to cloud, looping video recording/saving

This is fairly easy to accomplish with the picamera API, specifically the record_sequence method. I won't tackle the cloud upload bit as that'll bloat this example horribly, but it's pretty easy to ...
Dave Jones's user avatar
  • 3,988
5 votes

How to stream video via socket using OpenCV and picamera

After months of searching the internet, this is what I came up with, I have neatly packaged it into classes, with unit tests and documentation as SmoothStream check it out, it was the only simple and ...
Rohan Sawant's user avatar
5 votes
Accepted

Automatic shutdown of Pi based on timer

You've made a couple of mistakes, all par for the course. Let's step through this, get it working, and hopefully learn one other trick to help you help yourself in the future: First, the "other ...
Seamus's user avatar
  • 22.8k
5 votes
Accepted

HEVC playback on RPi 4

It is a hardware decoder.1 2 No hardware encoder is present. Yes. 2 No, as of 17-July-2019 the necessary patches are not in upstream, but exist as an downstream fork of ffmpeg. 3 LibreELEC ("Just ...
flakeshake's user avatar
  • 6,244
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.8k
4 votes
Accepted

Why is my random command not playing a random file?

According to your code the value of scarefile is just initialized once. since you need a different file to be selected every time motion is detected a you need to pick a new file from within the ...
Shreyas Murali's user avatar
4 votes

Can we cut the videos using FFmpeg?

concat demuxer You can use the concat demuxer to do this without needing to re-encode. First make a text file: file '/path/to/video_01.mp4' inpoint 30 outpoint 35 file '/path/to/video_02.mp4' ...
llogan's user avatar
  • 213
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

SPI vs 8-bit TFT

I assume you are talking about connecting a display on the GPIO of the PI. GPIO bandwidth Here are some speed benchmarks for the GPIOS: github page, and one can toggle a GPIO on the PI 3 at 65.8Mhz. ...
pim's user avatar
  • 622
4 votes

128GB in Rpi3b+?

According to eLinux these cards with the respective part numbers (last column) should work fine. Samsung EVO microSDXC 128 10 MB-MP128GA/AM Samsung EVO PLUS microSDXC ...
Ghanima's user avatar
  • 15.9k
4 votes

hardware accelerated h.265 encoding

Not encoding, just decoding (which is all they mention decoding on the specs) As one of the RPi engineers / moderators mentioned in a post on the official RPi forums here when asked the same question: ...
Neil's user avatar
  • 223
3 votes

Running Plex server on Raspbian OS

To answer you first question: Plex can be installed without the OS RasPlex installed (RasPlex is actually a client, not a server). All that is needed is Raspbian (I did it on Jessie 8), and a few ...
bret7600's user avatar
  • 131
3 votes

Hardware-accelerated h264 encoding possible?

Looks like by compiling ffmpeg by yourself, on RPi3B+ you can get ENCODING HIGH-COMPLEXITY 30 FPS VIDEO FROM A 1920 X 1080 JPEG IMAGE SEQUENCE – SIGNIFICANT MOTION AND INTRAFRAME DETAIL – HIGH ...
akostadinov's user avatar
3 votes
Accepted

omxplayer cannot play yuv444p?

The problem libx264 supports multiple "pixel formats", so ffmpeg will automatically attempt to use whatever most closely matches the input. However, some players can't decode anything other than yuv(...
llogan's user avatar
  • 213
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
Accepted

Merge/stitch more than one videos using FFmpeg

You can't specify multiple inputs for FFMPEG like that. You can, however, use the concat option, as described in FFMPEG's documentation. There are different forms depending on whether you're joining ...
goobering's user avatar
  • 10.7k
3 votes
Accepted

How can I setup the video / graphics on the Raspberry Pi 3?

The options in order of decreasing age and stability : 1) The GPU 3D/Video BLOB which respects gpu_mem 2) The 2D framebuffer drivers fbdev / fbturbo 3) The in-kernel KMS/3D driver started by Eric ...
flakeshake's user avatar
  • 6,244
3 votes

What is the simplest way to play MKV files on an RPi3 running Raspbian?

The simplest and most performant way is to use omxplayer. omxplayer filename.mkv Obviously omxplayer is a commandline-only application. Coupled with an extra GUI it will still outperform (or ...
flakeshake's user avatar
  • 6,244
3 votes
Accepted

"Pipe" video output to audio channel in auxiliary port?

No, there is no way to do this. While carried on the same connector the audio and video signals come from totally different places and there is no way the audio output circuitry on the Pi could ...
Peter Green's user avatar
  • 6,585

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