Page 1 of 1

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

Posted: Sun Nov 24, 2019 3:48 pm
by samoud
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 ?

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

Posted: Sun Nov 24, 2019 4:40 pm
by trejan
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.

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

Posted: Sun Nov 24, 2019 10:27 pm
by samoud
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

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

Posted: Mon Nov 25, 2019 10:14 am
by 6by9
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.