RenderHeads / UnityPlugin-AVProVideo

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

4k streaming video playback #445

Closed HectorCharter closed 3 years ago

HectorCharter commented 3 years ago

Describe the bug I am using Wowza to stream video in 4k at 30 and 60 fps. When I use the mdash version of the stream, I receive the following error:

[AVProVideo] Error: Loading failed. File not found, codec not supported, video resolution too high or insufficient system resources. UnityEngine.Debug:LogError(Object) RenderHeads.Media.AVProVideo.MediaPlayer:UpdateErrors() (at Assets/Libs/AVProVideo/Scripts/Components/MediaPlayer.cs:2111) RenderHeads.Media.AVProVideo.MediaPlayer:Update() (at Assets/Libs/AVProVideo/Scripts/Components/MediaPlayer.cs:1412)

If I replace the video with a 2k file, it works fine. Also, if I link to the video via file path, playback works fine. Streaming also works using VLC.

Is it possible to have a more descriptive error, than 1 of 4 problems?

Your Setup (please complete the following information):

To Reproduce

  1. New scene, create a new media player
  2. Switch source path to absolute path or url
  3. Paste the 4k stream from wowza live i.e: http://10.0.0.176:1935/live/myStream/manifest.mpd
  4. Add a plane, add Apply to mesh component
  5. Press play

Logs see above

Screenshots

Videos Video can be found here: http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_2160p_30fps_normal.mp4

HectorCharter commented 3 years ago

I created this ticket yesterday. Is there someone I can contact or pay for elevated service?

AndrewRH commented 3 years ago

Are you able to send us links to the streams so that we can investigate?

Have you tried using HLS instead of MPEG Dash?

If you have links please send them to our product support email here: https://www.renderheads.com/contact/

HectorCharter commented 3 years ago

@AndrewRH HLS worked.

The stream is a local Wowza streaming server, and the link is part of the original post. https://www.wowza.com/

Ste-RH commented 3 years ago

@HectorCharter The link you originally provided appears to be a link to a local IP address, which naturally we cannot access to test here. Can you provide a link to a publicly available stream?

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 3 years ago

This issue has been automatically closed because it has not had recent activity. If you wish to continue this issue, then please create a new issue as we do not monitor closed issues.