Azevedo
Posts: 3
Joined: Thu Dec 20, 2018 4:58 pm

Can Raspberry Pi 4 play HEVC 1080p videos?

Tue Jun 25, 2019 11:10 am

Hi guys!

Can Raspberry Pi 4 smoothly play HEVC videos [email protected] without freezing?

User avatar
DavidS
Posts: 4334
Joined: Thu Dec 15, 2011 6:39 am
Location: USA
Contact: Website

Re: Can Raspberry Pi 4 play HEVC 1080p videos?

Tue Jun 25, 2019 11:15 am

Why? Even the RPi 1 B can play 1080 video in more efficient formats, and that with software rendering on the ARM side. Why use a known processing intensive video format, that serves no more purpose than the more usable formats?
RPi = The best ARM based RISC OS computer around
More than 95% of posts made from RISC OS on RPi 1B/1B+ computers. Most of the rest from RISC OS on RPi 2B/3B/3B+ computers

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 24129
Joined: Sat Jul 30, 2011 7:41 pm

Re: Can Raspberry Pi 4 play HEVC 1080p videos?

Tue Jun 25, 2019 11:17 am

Azevedo wrote:
Tue Jun 25, 2019 11:10 am
Hi guys!

Can Raspberry Pi 4 smoothly play HEVC videos [email protected] without freezing?
Yes. It has a HW HEVC decoder.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
“I think it’s wrong that only one company makes the game Monopoly.” – Steven Wright

6by9
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 7523
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

Re: Can Raspberry Pi 4 play HEVC 1080p videos?

Tue Jun 25, 2019 11:21 am

Azevedo wrote:
Tue Jun 25, 2019 11:10 am
Hi guys!

Can Raspberry Pi 4 smoothly play HEVC videos [email protected] without freezing?
Currently through FFmpeg and Kodi with patches. LibreElec is the main build that has all the right elements.
The hardware block can do 4k60 HEVC, and 10bit.
DavidS wrote:
Tue Jun 25, 2019 11:15 am
Why? Even the RPi 1 B can play 1080 video in more efficient formats, and that with software rendering on the ARM side. Why use a known processing intensive video format, that serves no more purpose than the more usable formats?
???
HEVC = H265, which other than AV1 is considered the most efficient codec going at present (VP9 might argue their case too).
Software Engineer at Raspberry Pi Trading. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.

Azevedo
Posts: 3
Joined: Thu Dec 20, 2018 4:58 pm

Re: Can Raspberry Pi 4 play HEVC 1080p videos?

Tue Jun 25, 2019 11:51 am

I have tried to play this video on my Raspberry Pi 3b+
Image

Playback is 3fps and temperature soars.
Have anybody actually tested the model 4 playing high bitrate HEVC 1080p videos?
I'd like to see a review video on youtube on this.

6by9
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 7523
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

Re: Can Raspberry Pi 4 play HEVC 1080p videos?

Tue Jun 25, 2019 11:59 am

Azevedo wrote:
Tue Jun 25, 2019 11:51 am
I have tried to play this video on my Raspberry Pi 3b+
Image

Playback is 3fps and temperature soars.
Have anybody actually tested the model 4 playing high bitrate HEVC 1080p videos?
I'd like to see a review video on youtube on this.
Pi3 has no hardware HEVC decoding capabilities, so you are purely software decoding that stream and it will struggle. Again LibreElec does have some hardware assisted HEVC decoding for Pi3 which can play most content up to 1080p30.

Pi4 has a hardware HEVC decoder that can cope with up to 4k60.
Software Engineer at Raspberry Pi Trading. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.

thejra
Posts: 1
Joined: Thu Apr 12, 2018 1:22 pm

Re: Can Raspberry Pi 4 play HEVC 1080p videos?

Fri Aug 30, 2019 3:46 pm

DavidS wrote:
Tue Jun 25, 2019 11:15 am
Why? Even the RPi 1 B can play 1080 video in more efficient formats, and that with software rendering on the ARM side. Why use a known processing intensive video format, that serves no more purpose than the more usable formats?
Efficient in terms of CPU does not mean efficient in terms of bandwidth (in the following example they are opposing forces)...

Just to give you an example of how I use both. I have an HDMI encoder which I use to access my home media remotely. It outputs up to 4 concurrent streams which I can configure to be either H.265 or H.264 and can configure the bitrate/resolution etc. I have 2 streams of H.264 and 2 of H.365 (one high and one low bandwidth configuration for each).

I access the H.265 (HEVC) stream wherever possible because I get a far better picture for the same bandwidth versus H.264. The catch is that my receiving device must be able to cope the decoding it (either in hardware, like the Pi4, or in software). My Pi3 cannot decode H.265, so I have to drop back to the H.264 stream for when I want to play content on my Pi. Unfortunately that means I either have to have more bandwidth (and both ends), or turn down the stream quality on the encoder.

Hope that makes sense and gives you some insight into where and why H.265 is useful :)

gilius2k15
Posts: 55
Joined: Thu Jul 18, 2019 8:42 am

Re: Can Raspberry Pi 4 play HEVC 1080p videos?

Fri Aug 30, 2019 6:34 pm

6by9 wrote:
Tue Jun 25, 2019 11:21 am
Azevedo wrote:
Tue Jun 25, 2019 11:10 am
Hi guys!

Can Raspberry Pi 4 smoothly play HEVC videos [email protected] without freezing?
Currently through FFmpeg and Kodi with patches. LibreElec is the main build that has all the right elements.
The hardware block can do 4k60 HEVC, and 10bit.
DavidS wrote:
Tue Jun 25, 2019 11:15 am
Why? Even the RPi 1 B can play 1080 video in more efficient formats, and that with software rendering on the ARM side. Why use a known processing intensive video format, that serves no more purpose than the more usable formats?
???
HEVC = H265, which other than AV1 is considered the most efficient codec going at present (VP9 might argue their case too).
Does LibreElec have a proper desktop GUI and Terminal app available - or is it more like Android?

ghans
Posts: 7878
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany

Re: Can Raspberry Pi 4 play HEVC 1080p videos?

Sat Aug 31, 2019 7:58 am

LibreELEC is a Linux-based OS which solely runs the media center software "Kodi".
It is not a general-purpose operating system (no package management, for example).

ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org

fruitoftheloom
Posts: 21052
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Can Raspberry Pi 4 play HEVC 1080p videos?

Sat Aug 31, 2019 8:49 am

gilius2k15 wrote:
Fri Aug 30, 2019 6:34 pm
6by9 wrote:
Tue Jun 25, 2019 11:21 am
Azevedo wrote:
Tue Jun 25, 2019 11:10 am
Hi guys!

Can Raspberry Pi 4 smoothly play HEVC videos [email protected] without freezing?
Currently through FFmpeg and Kodi with patches. LibreElec is the main build that has all the right elements.
The hardware block can do 4k60 HEVC, and 10bit.
DavidS wrote:
Tue Jun 25, 2019 11:15 am
Why? Even the RPi 1 B can play 1080 video in more efficient formats, and that with software rendering on the ARM side. Why use a known processing intensive video format, that serves no more purpose than the more usable formats?
???
HEVC = H265, which other than AV1 is considered the most efficient codec going at present (VP9 might argue their case too).
Does LibreElec have a proper desktop GUI and Terminal app available - or is it more like Android?

https://libreelec.tv/about/
Retired disgracefully.....
This at present is my daily "computer" https://www.asus.com/us/Chrome-Devices/Chromebit-CS10/

mrdcpi
Posts: 2
Joined: Fri Apr 19, 2019 7:34 pm

Re: Can Raspberry Pi 4 play HEVC 1080p videos?

Sun Oct 27, 2019 10:25 am

Azevedo wrote:
Tue Jun 25, 2019 11:51 am
I have tried to play this video on my Raspberry Pi 3b+
Image

Playback is 3fps and temperature soars.
Have anybody actually tested the model 4 playing high bitrate HEVC 1080p videos?
I'd like to see a review video on youtube on this.
I can confirm that my RPi3b+ (no overclock etc) plays HEVC 1080p without any issues on Kodi 18.4. With Kodi 18.1/18.2 it was very slow, with 18.4 it's fine.
Video I've tested:

Code: Select all

Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Commercial name                          : HDR10
Format profile                           : Main [email protected]@High
Codec ID                                 : V_MPEGH/ISO/HEVC
Duration                                 : 2 h
Bit rate                                 : 12.4 Mb/s
Width                                    : 1 920 pixels
Height                                   : 804 pixels
Display aspect ratio                     : 2.40:1
Frame rate mode                          : Constant
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0 (Type 2)
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.336
Stream size                              : 11.2 GiB (95%)

User avatar
Mettauk
Posts: 238
Joined: Mon Dec 10, 2012 12:40 pm
Location: Zarg

Re: Can Raspberry Pi 4 play HEVC 1080p videos?

Sun Oct 27, 2019 12:58 pm

mrdcpi wrote:
Sun Oct 27, 2019 10:25 am
Azevedo wrote:
Tue Jun 25, 2019 11:51 am
I have tried to play this video on my Raspberry Pi 3b+
Image

Playback is 3fps and temperature soars.
Have anybody actually tested the model 4 playing high bitrate HEVC 1080p videos?
I'd like to see a review video on youtube on this.
I can confirm that my RPi3b+ (no overclock etc) plays HEVC 1080p without any issues on Kodi 18.4. With Kodi 18.1/18.2 it was very slow, with 18.4 it's fine.
Video I've tested:

Code: Select all

Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Commercial name                          : HDR10
Format profile                           : Main [email protected]@High
Codec ID                                 : V_MPEGH/ISO/HEVC
Duration                                 : 2 h
Bit rate                                 : 12.4 Mb/s
Width                                    : 1 920 pixels
Height                                   : 804 pixels
Display aspect ratio                     : 2.40:1
...
I just noticed your test video size is not 1080HD i.e. 1920 x1080, its only 804px high
As humans we have been the same for a very very long time, technology changes how we do... not who we are as people.

Return to “General discussion”