Page 1 of 1

Can Raspberry Pi 4 play HEVC 1080p videos?

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

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

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

Posted: Tue Jun 25, 2019 11:15 am
by DavidS
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?

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

Posted: Tue Jun 25, 2019 11:17 am
by jamesh
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.

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

Posted: Tue Jun 25, 2019 11:21 am
by 6by9
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).

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

Posted: Tue Jun 25, 2019 11:51 am
by Azevedo
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.

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

Posted: Tue Jun 25, 2019 11:59 am
by 6by9
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.

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

Posted: Fri Aug 30, 2019 3:46 pm
by thejra
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 :)

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

Posted: Fri Aug 30, 2019 6:34 pm
by gilius2k15
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?

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

Posted: Sat Aug 31, 2019 7:58 am
by ghans
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

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

Posted: Sat Aug 31, 2019 8:49 am
by fruitoftheloom
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/

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

Posted: Sun Oct 27, 2019 10:25 am
by mrdcpi
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%)

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

Posted: Sun Oct 27, 2019 12:58 pm
by Mettauk
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