Hot answers tagged

29 votes

What speed can I expect from the hardware-H264-encoding?

As of April 2015 GStreamer 1.2 included in Raspbian supports OpenMAX hardware accelerated H.264 encoding through omxh264enc. I've done some benchmarking comparing: MacBook Pro (Early 2011) dual-core ...
user avatar
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:/...
user avatar
  • 55.8k
18 votes
Accepted

Do I still need to purchase the MPEG-2 and VC-1 license keys for the Raspberry Pi 2?

From Raspberry Pi 2 - FAQ and collated answers Do I still need CODEC licences? Yes, if you want to use the HW decoders. However, the higher speed of the device MIGHT mean a SW decoder can be ...
user avatar
  • 66.5k
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 ...
user avatar
  • 10.6k
16 votes
Accepted

Is it possible to connect to a display port?

That cable is most likely a DisplayPort-to-HDMI cable not a HDMI-to-DisplayPort cable (mind the direction). While there are DP ports able to support HMDI signals (DisplayPort Dual-mode) HDMI does not ...
user avatar
  • 15.5k
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 ...
user avatar
  • 10.6k
11 votes
Accepted

Hardware-accelerated h264 encoding possible?

GStreamer is included in Raspbian and with its OpenMAX plugin it will use the hardware encoding capabilities of the Raspberry Pi. See this link for a tutorial on doing what you're looking for: https:/...
user avatar
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 former ...
user avatar
  • 15.5k
8 votes

How to disable local terminal showing through when playing video

omxplayer now has an option to set the background to black. omxplayer -b It works both on the terminal and in X. This feature should be in the current version available in raspbian.
user avatar
  • 81
8 votes
Accepted

Take picam image while motion is running

You should look to v4l2loopback in order to allow to open "twice" a V4L2 device. 1 - It will allow to create a virtual video device using : sudo apt-get install v4l2loopback-dkms sudo modprobe ...
user avatar
  • 1,094
8 votes
Accepted

Type of cable needed for new audio/video port on Model B+?

It would likely be a 4-pole RCA cable, similar to this one - http://www.techbuy.com.au/p/160072/CABLES_RCA/Sansai/MP-9103.asp However you will need to check pinouts on the cable to make sure it ...
user avatar
  • 2,622
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 ...
user avatar
  • 2,793
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-...
user avatar
  • 171
7 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 ...
user avatar
6 votes
Accepted

The Composite Video on my Raspberry Pi isn't working

This seems to be a problem with the noob release - previous versions would default to the composite video if nothing was connected to the HDMI port. To correct this do the following: Connect your ...
user avatar
6 votes
Accepted

How to view videos played on omxplayer via ssh or vnc?

All hardware accelerated players go directly to the video hardware (overlay). You can only view them on a monitor connected directly to the Pi.
user avatar
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 ...
user avatar
  • 11.7k
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.
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.
user avatar
  • 6,161
5 votes

How do I install libfaac-dev on Raspi?

The answer by Pouet nearly did it for me, but the following list took it all the way: Edit your apt-get source list by adding another source. sudo nano /etc/apt/sources.list Paste in deb http://www....
user avatar
  • 151
5 votes

How can I get Raspivid to skip h264 encoding? (getting rid of 5 second latency streaming video)

That's probably not what you are wanting from answers, but I do not recommend VLC streaming at all.. For a school project, I tried some streaming options (on RPi too!) : VLC MJPEG GStreamer Using ...
user avatar
  • 77
5 votes

Best way to stream video over internet with RPi?

Okay, from your question I'm assuming the following: Latency is of primary importance Quality (including framerate) is the second consideration Compatibility (permitting a wide variety of client ...
user avatar
  • 3,928
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 ...
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 ...
user avatar
  • 2,994
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 ...
user avatar
  • 4,993
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 ...
user avatar
  • 6,185
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 ...
user avatar
  • 1,396
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 ! ...
user avatar
  • 6,015
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 ...
user avatar
  • 166
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 ...
user avatar
  • 3,928

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