Hot answers tagged

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.7k
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
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,907
5 votes

Does Raspberry PI 2 supports H.265 hardware decoding?

No, and future hardware versions probably will not support it either. H.265 is an expensive codec with complicated licensing. MPEG-LA basically gave away H.264 which is why it is so widely supported. ...
etronz's user avatar
  • 131
5 votes

GPU accelerated Video decoding on a browser. Is it possible?

Yes, it is possible, I started this project some time ago but I had to stop because of insufficient time. This is the best result I could get (1080p): https://youtu.be/fVM1GRDhXGw. It is based on ...
Luca Carlon's user avatar
5 votes

Pi Zero Video out header

Just like @Ghanima said, the top two, labeled "RUN" are the reset pins, if you wire them together it will hard reset your Pi. Now, as for the bottom two pins, the square one is TX (signal) and the ...
Patrick Cook's user avatar
  • 6,365
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
  • 21.7k
5 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
  • 70.9k
4 votes
Accepted

Is it possible to run Minecraft on an emulated PI?

The error message makes clear that Minecraft can't find the Pi GPU since it's not there. I'm pretty sure there is no way around that requirement either. If you are looking to use the Pi edition ...
flakeshake's user avatar
  • 6,235
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.8k
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
  • 21.7k
3 votes

Stereo camera frame synchronization/genlock (video or still image)

I am currently using the Compute Module IO board for my undergraduate project and up to now, the best I can come up with is a refresh rate of 2Hz implemented using c++. Mr. David Barker at Argon ...
user123456098's user avatar

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