samoud
Posts: 15
Joined: Thu May 03, 2018 10:05 pm

PI4 Omxplayer can't play big resolution video (h264)

Sun Nov 24, 2019 3:48 pm

Hello,

I am trying to play a video using omxplayer, the video is a h264 encoded with a 3840x2160 resolution.

the omxplayer go straight to "have a nice day message".

here is the info about the video :

Code: Select all

  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf57.56.101
  Duration: 00:00:14.72, start: 0.000000, bitrate: 15251 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 3840x2160 [SAR 1:1 DAR 16:9], 15247 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)

in the other hand, the same video but with a lower resolution works

Code: Select all

  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf57.56.101
  Duration: 00:00:14.72, start: 0.000000, bitrate: 3859 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 3856 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)

Any idea please ?

trejan
Posts: 3002
Joined: Tue Jul 02, 2019 2:28 pm

Re: PI4 Omxplayer can't play big resolution video (h264)

Sun Nov 24, 2019 4:40 pm

We have the same H264 decoder in the Pi 4 SoC as before. It can't decode 3840x2160. You need to encode your video file using H265 if you need that resolution.

samoud
Posts: 15
Joined: Thu May 03, 2018 10:05 pm

Re: PI4 Omxplayer can't play big resolution video (h264)

Sun Nov 24, 2019 10:27 pm

trejan wrote: We have the same H264 decoder in the Pi 4 SoC as before. It can't decode 3840x2160. You need to encode your video file using H265 if you need that resolution.
As i understood from other forum topics, omxplayer cannot play H265 videos, VLC neither

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

Re: PI4 Omxplayer can't play big resolution video (h264)

Mon Nov 25, 2019 10:14 am

samoud wrote:
Sun Nov 24, 2019 10:27 pm
trejan wrote: We have the same H264 decoder in the Pi 4 SoC as before. It can't decode 3840x2160. You need to encode your video file using H265 if you need that resolution.
As i understood from other forum topics, omxplayer cannot play H265 videos, VLC neither
The latest VLC updates should support accelerated H265 on the Pi4.
https://www.raspberrypi.org/forums/view ... 9&t=257395

omxplayer will never support HEVC as it is not available via OpenMAX IL.
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.

Return to “Troubleshooting”