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

Support for NDI Stream movie. #75

Open ppengotsu opened 5 years ago

ppengotsu commented 5 years ago

Describe the bug Video Player can't paly NDI Stream movie On Unity Editor And Windows10 And Hololens. I want to play NDI Stream Movie.

Is Source Path "ndi://SAKUMAALIEN1/t1" Correct?

Your Setup (please complete the following information):

To Reproduce

  1. "Mediplayer" And "Apply To Material" Add To PlaneObject
  2. "MediaPlayer" And "Apply To Material" link config
  3. "ndi://SAKUMAALIEN1/t1" input Source Path
  4. Unity Play

Logs

Display is Opaque
UnityEngine.Debug:Log(Object)
HoloToolkit.Unity.InputModule.MixedRealityCameraManager:ApplySettingsForOpaqueDisplay() (at Assets/HoloToolkit/Input/Scripts/Utilities/Managers/MixedRealityCameraManager.cs:89)
HoloToolkit.Unity.InputModule.MixedRealityCameraManager:Start() (at Assets/HoloToolkit/Input/Scripts/Utilities/Managers/MixedRealityCameraManager.cs:74)

[AVProVideo] Initialising AVPro Video (script v1.9.14 plugin v1.9.8) on NVIDIA GeForce GTX 1070/Direct3D 11.0 [level 11.1] (MT True) on WindowsEditor
UnityEngine.Debug:Log(Object)
RenderHeads.Media.AVProVideo.Helper:LogInfo(String, Object) (at Assets/AVProVideo/Scripts/Internal/Interfaces.cs:605)
RenderHeads.Media.AVProVideo.MediaPlayer:Initialise() (at Assets/AVProVideo/Scripts/Components/MediaPlayer.cs:481)
RenderHeads.Media.AVProVideo.MediaPlayer:Start() (at Assets/AVProVideo/Scripts/Components/MediaPlayer.cs:513)

[AVProVideo] Opening ndi://SAKUMAALIEN1/t1 (offset 0)
UnityEngine.Debug:Log(Object, Object)
RenderHeads.Media.AVProVideo.Helper:LogInfo(String, Object) (at Assets/AVProVideo/Scripts/Internal/Interfaces.cs:609)
RenderHeads.Media.AVProVideo.MediaPlayer:OpenVideoFromFile() (at Assets/AVProVideo/Scripts/Components/MediaPlayer.cs:891)
RenderHeads.Media.AVProVideo.MediaPlayer:Start() (at Assets/AVProVideo/Scripts/Components/MediaPlayer.cs:520)

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

Videos Sorry, don't have movie. Video out tool is "NDI OUT" on TouchDesigner

Please DO NOT LINK / ATTACH YOUR PROJECT FILES HERE

AndrewRH commented 5 years ago

Thanks for reporting this. I would call this more of a feature request since we never advertised the ability to play back NDI streams :)

I have tested this in the past, and I think AVPro Video can ALMOST play back the NDI stream, the DirectShow renderer just has a problem handling the dynamic video frame resizing that NDI does...

We'll look into it more.

ppengotsu commented 5 years ago

Thank you!

Sorry , I misread that av pro support support movie format.

I hope that avpro support NDI Stream!!

stale[bot] commented 4 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 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.

krisrok commented 3 years ago

hi @AndrewRH (and @RenderHeadsSte ) i saw you posting on the audio-issue on https://github.com/keijiro/KlakNDI/issues/17 which caught my eye. as this issue is reopened can you elaborate on what to expect and a possible timeframe? i'd love a mixed ndi/sdi workflow.

AndrewRH commented 2 years ago

In theory this should work using the DirectShow API, however it's failing for some reason. We suspect this is due to our implementation of "dynamic format change". hopefully we can fix this at some point. Adding native NDI support is not on the cards currently.