RenderHeads / UnityPlugin-AVProVideo

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

Error: Loading failed. File not found, codec not supported, video resolution too high or insufficient system resources with DASH video play #1989

Closed dorcatty closed 2 months ago

dorcatty commented 2 months ago

Please DO NOT LINK / ATTACH YOUR PROJECT FILES HERE

Describe the issue Dear AVPro Support,

I am going to play build an Meta Quest VR app with 360 video streaming from HTTP server. I followed with documentation on Encoding Notes | AVPro Video - Documentation, to encode my 360 videos with HEVC, then segmented with Shaka Packager, the output was few mp4 with different resolutions and a mpd file,

the mpd can be easily load by any Dash Players, but when i tried with Path input with MediaPlayer of AVPro, i got error about:

[AVProVideo] Error: Loading failed. File not found, codec not supported, video resolution too high or insufficient system resources.

Your Setup (please complete the following information):

To Reproduce Using Path to direct the MediaPlayer to .mpd file, once played in Unity Editor, then having this issue. https://d1hv4xiuf35r8p.cloudfront.net/testpackager/sample-manifest-full.mpd

Screenshots If applicable, add screenshots to help explain your problem.

Screenshot 2024-09-05 at 23 02 52 Screenshot 2024-09-05 at 23 02 20

thanks a lot for help.

Chris-RH commented 2 months ago

Did you original HEVC file play on the Quest Pro, before you turned it into a dash stream? Are you able to provide a full, unfiltered logcat please in txt format.

dorcatty commented 2 months ago

now, my issue is in Unity Editor, mp4 with HEVC can be played within Editor, but not yet test on Meta Quest. if i give .mp4 with URL, then it works with Unity Editor. only mpd having some issue within Editor, so there's no logcat debug info yet.

did you mean, i can see streaming in the Quest, not the editor ?

Chris-RH commented 2 months ago

Dash isn't supported on macOS. Documentation here.

dorcatty commented 2 months ago

OK, good to know, at meantime i found that link as well. i will do another test: run directly in Quest to see if mpd DASH was Ok or not. load HLS streaming within Quest and MacOS...

Thanks for the help at the moment. i will back to you soon in 48h.

Ste-RH commented 2 months ago

Anything to report @dorcatty ?

dorcatty commented 2 months ago

it works on Meta Quest, but not on MacOS. interesting. as you said, DASH play back isn't supported on MacOS. only on Android (Quest).