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
  • 58.9k
19 votes
Accepted

Can Raspberry Pi 3 do 4K Video?

The best information I can find suggests that it's possible to output 4K resolutions, but at fairly miserable frame rates. The Pi 3 has the same GPU as the Pi 2, so the information should still be ...
goobering's user avatar
  • 10.7k
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
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
7 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
  • 71k
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

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
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,235
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
  • 6,982
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 I watch movies with the Rasberry Pi Zero?

All Raspberry Pis can play 1080p@30fps provided the video is encoded with a codec the Pi can accelerate (i.e. h.264) - note that filename extension doesn't always indicate the used codec correctly ! ...
flakeshake's user avatar
  • 6,235
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,978
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

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
  • 22k
4 votes

New Raspberry pi video output to laptop not working

You're trying to connect two outputs to each other, which won't work. If your Pi is running Raspbian then SSH should be up and running by default. Two things could be stopping you from connecting: ...
Aaron F's user avatar
  • 166
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
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
  • 22k
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

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

Auto-login into LXDE and auto-start video-player (omxplayer)

While I realise that this is a bit old now, I have been doing just this and thought I'd share the method I used as it was really straight forward: I copied the mp4 file into the /home/pi/Videos ...
Gimbal's user avatar
  • 31
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
Accepted

Playing various video formats in Raspbian on an RPi 3 B

Yes, it is absolutely possible to play various video formats. There are plenty of solutions. One goes like this: Open a terminal cd to the directory containing your video file type omxplayer and the ...
Chris's user avatar
  • 246

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