Skip to content

Android VLC unable to play H265/HEVC video with yuv422p and yuv444p color formats

Issue Description

On a Pixel 3 and Sony A8H with Android TV, I am unable to properly play videos encoded in H265 with the color formats of: yuv422p, yuv444p, yuv422p10le, and yuv444p10le. However, yuv420p and yuv420p10le work fine.

It will load the first video frame, but then not load the frames after that.

Additional Information

This is with me using ffmpeg to encode the videos myself with libx265, as well as serving the files through an NFS share over a gigabit internet connection to the router, then 5 Ghz WiFi to the TV and Phone.

I initially forgot to set the profile (though, ffmpeg still let me encode yuv422p10le, yuv444p10le with main? Weird, but okay), but I retested with the proper profiles (Main444-10 for yuv444p10le, Main422-10 for yuv420p10le, etc.).

In VLC Windows, the videos play fine with 8 bit, 420, 422, and 444. Also in VLC Windows, the 10 bit versions do seem to have tonemapping(?) issues and strange blocking artifacts on initial playback, but I can get them to work okay by restarting the playback from 0 (though, that's not the topic of this bug report).

Also, I did test H264 yuv422p just to see if it was H265, but the issue also occurred with H264.

Logfile from Pixel 3: vlc_logcat_20210401_211727.log

Android VLC Details

  • Android Sony A8H Version: Revision 13e15aa9d VLC: 38efa6451 (2021-01-20)
  • Android Pixel 3 Version: Revision 13e15aa9d VLC: 38efa6451 (2021-01-20)

Devices Details

Sony A8H TV

  • Model: Sony A8H 65" (XBR-65A8H or BRAVIA 4K UR3)
  • Android TV Version: 9
  • Kernel Version: 4.9.125 (No. 1 Sunday, November 15, 2020 - 03:52:22 JST)
  • Build: BRAVIA_UR3_UC-user 9 PTT1.190515.001.S87 649601 release-keys

Pixel 3 Phone

  • Model: Pixel 3 (2018) G013A 128 GB
  • Android Version: 11
  • Kernel Version: 4.9.237-gbd4db4f9f99f-ab7079298 (No. 0 Wednesday, January 13, 2021 - 10:22:29 UTC)
  • Build: RQ2A.210305.006

Let me know if there are any other details that I can provide.

Edited by Kyle Barr
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information