Can't Play 4k 60p h.264

I realize this is old and for the wrong platform, but I found this searching for “green” and the tip here to turn off “adjust display refresh rate” has major bearing, so ah, bear with me.

I’m using a Vero 4K+ running current Kodi/OSMC (Jan 2020 update). One particular video “plays” as entirely green screen, with no sound. If I turn off “adjust display refresh rate”, it plays, but with a lag so bad it is unwatchable. (The ethernet network is at >800 Mbps according to iperf3.) Ideas? Here are the video details:

Format                                   : MPEG-4
Format profile                           : Base Media
Codec ID                                 : isom (isom)
File size                                : 1.90 GiB
Duration                                 : 18mn 47s
Overall bit rate                         : 14.5 Mbps
Encoded date                             : UTC 2020-02-28 05:04:29
Tagged date                              : UTC 2020-02-28 05:04:29

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L5.2
Format settings                          : CABAC / 5 Ref Frames
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 5 frames
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 18mn 47s
Bit rate                                 : 14.3 Mbps
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Variable
Frame rate                               : 59.940 (59940/1000) fps
Minimum frame rate                       : 56.872 fps
Maximum frame rate                       : 59.940 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.029
Stream size                              : 1.87 GiB (99%

4k content encoded in h.264 (edit) at 60fps is not supported. You can use handbrake or a similar program to re-encode it to h.265

1 Like

Great, thanks. How do you read “4K” and “h.264” from what I posted? Are there any other (common?) unsupported formats I should also look for if there are other playback issues?

Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Format                                   : AVC
Format/Info                              : Advanced Video Codec

What makes you think that is a “common” format? It is not common for a h.264 encode to be above 1080p or High@4.1 as it severely limits the devices that are capable of playing them. It is not common to have 4k content as anything other than h.265. The variable frame rate does not exactly help decoding either. I assume this file is from some kind of Anime because it is not uncommon from what I understand for this genre of content to be on the net in formats that are not commonly supported outside of playback on a full blown PC.

That’s why I put a ? there. I don’t really know what’s common anymore. I’m old school MPEG/AVI/XVID. :slight_smile: So just wondering how you read the media info (oops I see you answered that one, thanks!), and what to look for that might not be supported by OSMC.

A good place to start would probably be to learn the difference between a container and a codec. I would think there is probably a breakdown of what is supported in hardware for decoding if you search the site. In a nutshell for any piece of hardware there are things they can and can’t accelerate in hardware. With modern devices in lower resolutions the CPU is fast enough to decode stuff the GPU doesn’t support. When you get to more complicated encodes and higher resolutions it would take a lot more CPU than you have in any small media player. So your file above can’t be hardware accelerated because of both its resolution and complexity but if it was encoded in h.265, like most 4k content is, then it would be no problem as it gets offloaded to hardware acceleration.

2 Likes

Hang on: confused here.

Is OP using a Vero or Pi? If the former, then they should have a separate thread.
We do support 4K30 H264 on 4K/4K+. But 60fps (from MediaInfo) is a no go for H264 4K.

1 Like

I’ll move it to a new thread as redrocklobsters issue is different hardware and unrelated.

1 Like

Please excuse the German nitpicking but just so nobody gets confused:

UHD in 60 FPS and H.264/AVC is not supported.
UHD in 23.976 FPS and H.264/AVC plays just fine on Vero 4K and Vero 4K+.

2 Likes

Correct. We only support 4K60 with HEVC and VP9.

Is there a chart available?

Unfortunately not, but here are the specs:

  • VP9 Profile-2 up to4Kx2K@60fps
  • H.265 HEVC MP-10@L5.1 up to4Kx2K@60fps
  • AVS2-P2 Profile up to 4Kx2K@60fps
  • H.264 AVC HP@L5.1 up to4Kx2K@30fps
  • H.264 MVC up to1080P@60fps
  • MPEG-4 ASP@L5 up to 1080P@60fps(ISO-14496)
  • WMV/VC-1 SP/MP/AP up to1080P@60fps
  • AVS-P16(AVS+) /AVS-P2 JiZhun Profile up to1080P@60fps
  • MPEG-2 MP/HL up to 1080P@60fps(ISO-13818)
  • MPEG-1 MP/HL up to 1080P@60fps(ISO-11172)
  • RealVideo 8/9/10 up to1080P@60fps
2 Likes