- Home /
why Video from a server doesn't appear in unity only voice ?
In my Project I want to load a video from azure server through a JSON file . to get the video is good it works but it doesn't show the video you can only hear the voice. I get many errors too as you see in my project :
Does anyone know this Problem ? hope someone can help me
Answer by peacemakers1980 · May 21, 2021 at 07:26 PM
I never imported/streamed video inside Unity before, but I would say it might be a Codec thing. Most Engines have set things built in they can read/use out of the box but dosent support everything. With Videos there are thousands of diffrent codecs. Can try to see what Codec/Encoder is used in the video and make sure to add/import a wrapper or something in your unity project that supports that codec/encoder. https://docs.unity3d.com/Manual/VideoSources-FileCompatibility.html Lists what Types are supported on What OS https://docs.microsoft.com/en-us/windows/win32/medfound/supported-media-formats-in-media-foundation Shows what Codecs are supported If your stream/azure server is using a diffrent one then the player cant decode and display the video, most of the audio is more standardized so few codecs so more support so might be why you get audio and no video, it can decode the audio stream/track but not the video part.
Thank you for the answer :))) ,, just I tried to encode my video in azure to VP8 -- because when I upload my Video to unity it s the same thing but in unity there is an encoder which I change the video to VP8 and with low quality so it works well I can see it …. the Problem still from getting the video now from server ,,,, even I saw which format azure support and same unity but still can hear the voice without seeing video :(
Your answer
Follow this Question
Related Questions
Get Data from cloud to unity3d using unity web request 0 Answers
How To Separate Json Parameter Function to get values i need ? 0 Answers
Animated Child Transform Moving Parent Transform - How to fix? 1 Answer
UnityWebRequestMultimedia dosent load local file MacOS 1 Answer
JSON WebRequest works in 2018.2, throws 403 error in 2018.3 0 Answers