RenderHeads / UnityPlugin-AVProVideo

AVPro Video is a multi-platform Unity plugin for advanced video playback
https://www.renderheads.com/products/avpro-video/
237 stars 28 forks source link

HLS with H.265 codec file does not show the image in media player on iOS #1544

Closed Kibisi closed 12 months ago

Kibisi commented 1 year ago

Describe the issue I stored HLS file with H.265 codec file in the cloud server. When I play it in media player on iOS, the image is black (audio and time frame is coming). iPad On Androide wiht Exo player, it can play wihtout any problem Your Setup (please complete the following information):

To Reproduce

  1. Capture the video in iPhone
  2. Covert the video to HLS with ffmpeg
  3. Upload the HLS file, and get URL of it.
  4. Play the HLS file via media player on iOS app by calling the below method. mediaPlayer.OpenMedia(new MediaPath(HLSurl, MediaPathType.AbsolutePathOrURL), autoPlay: true);
Chris-RH commented 1 year ago

have you got any test stream URLs? Does the video play if it is played from the device itself? ie not streamed. What are the video specs? Have you followed Apple's HLS authoring guidelines? https://developer.apple.com/documentation/http_live_streaming/http_live_streaming_hls_authoring_specification_for_apple_devices

MorrisRH commented 1 year ago

It's an issue with 10bit output and has now been fixed.

Kibisi commented 1 year ago

Dear all, thank you for your message.

If this problem is came from your product bug, I am looking forward to fix it. (For now, when I use H.265 data for HLS, I will convert H.264 before converting HLS with ffmpeg).

Chris-RH commented 1 year ago

This should now be fixed in 2.8.0

Kibisi commented 1 year ago

Thnak you for your updating. I tryed to test by using 2.7.3 to 2.8.4, but the problem was not solved ( Still same sutiaion was happened). Could you provied any solution? There is any specific setting?