Hot answers tagged

26 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.3k
18 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
Accepted

Pi Zero Video out header

No, those pins have nothing to do with audio. The upper two pins are to reset the Pi and are labeled "Run". While we have no schematics of the Pi Zero available yet, we can deduce this from ...
Ghanima's user avatar
  • 15.8k
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

RPI2 USB webcam capture low FPS

Most probably, bottle neck in this case is CPU speed to process the feed. I use Rpi for some basic image processing based automation work and here is what I've noticed. Rpi 1 hardly gives 5 fps at ...
dhruvvyas90's user avatar
  • 2,843
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

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,727
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

what app should I use to run a slide show on the HDMI out?

feh is a simple image viewer that should do what you want. feh requires X11. You can give it a list of files or directories or URLs. It looks like you might be able to use the --info option to ...
Craig's user avatar
  • 3,014
5 votes
Accepted

How to view .h264 video clip

There is an command-line utility called omxplayer which will use the Raspberry Pi's VideoCore IV GPU to play video at 1080p resolution. Open up a terminal window (from the Desktop menu or by pressing ...
Phil B.'s user avatar
  • 5,033
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,345
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,426
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,195
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
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,195
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
  • 20.6k
4 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
  • 121
4 votes
Accepted

Epiphany Browser is unable to display HTML5 Video

Your simplest solution would be to upload your video to youtube, maybe run your webpage in a window with a live link to the youtube address then follow my previously suggested workaround for ...
iDug's user avatar
  • 197
4 votes

what app should I use to run a slide show on the HDMI out?

For displaying just static images you can use fbi. You probably want to have some control via your remote ssh session. The method below gives you that. sudo apt-get -y install fbi to install fbi ...
EDP's user avatar
  • 1,681
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,195
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

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