RenderHeads / UnityPlugin-AVProVideo

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

[macOS] AVPro 3.0.1 does not load Language information for TextTracks #1884

Closed krahen94 closed 2 weeks ago

krahen94 commented 3 weeks ago

Describe the issue After loading the text tracks, observe that the embedded text tracks in a video have null 'Language' entries.

Your Setup (please complete the following information):

To Reproduce

  1. Load a video with embedded text tracks
  2. Query the text tracks
  3. Observe that the native objects do not fill the Language fill anymore opposed to 2.x
MorrisRH commented 3 weeks ago

What kind of video are you trying to play? (HLS, local mp4, remote mp4) Can you provide a sample video and what you would expect to see for the language track names?

krahen94 commented 3 weeks ago

It is a remote mp4 file, in 2.5.7 the AppleMediaPlayer fills the objects via Native.AVPPlayerGetTextTrackInfo with correct values, e.g.

info.languge = "fra"
info.name = "French"

The same call in 3.0.1 has the result

info.language = null
info.name = null

Unfortunately I'm not at liberty to provide the sample file. If I can help with something else, please tell me.

MorrisRH commented 3 weeks ago

This should be fixed in the next release (version 3.0.2)

krahen94 commented 3 weeks ago

Thank you very much! I will check back when I can update.

Chris-RH commented 3 weeks ago

AVPro Video version 3.0.2 has been released. Please let us know if it has not fixed your issue.