- Home /
Android video capture with Vuforia
I want to do video capture with Vuforia. For iOS, i found a plugin that works so no problem. For Android, I tried Intel INDE. It doesn't work. It can work alone but not with Vuforia. Do you other Android video capture plugin that i can try?
Hello @SunnyChow,
Have you found some plugin for android?? I am searching for some plugin as well, let me know if worked for you?
Also for iOS you used iVidCapPro or some other plugin?
your help and guidance will be much appreciated.
@symbell After more retry from the begining, I successfully integrated INDE with Vuforia. I can't find other ANdroid recorder plugin so that may be the only available one in the internet
Is there a chance you could first search on duplicates of this, you'll easily find an answer!
Hi @SunnyChow, can you kindly tell me which plugin you used for IOS to record video in Unity? And were you able to find the solution for android. Any help will really be appreciated.
iVidCapPro (i guess the answer is quite late, but probably useful for other users who read this post)
Answer by SunnyChow · Jan 19, 2016 at 07:42 PM
I build a blank project, added INDE, add Vuforia, and it works this time.
Just want to put more information. it doesn't work very good. It doesn't work quite well. Some android may crash when recording video in some resolution. So I try to chop & resize the image and then send to INDE plugin after the rendering. But it get glitchy graphic in some android device. I feel that the plugin is not instantly writing the given frame into the movie file. Therefore if you get this problem, you probably need to solve it with an array of RenderTexture.
Hi @SunnyChow. I'm facing the same issues you describe in your reply. What do you think of when you speak about an array of RenderTexture ? It would be awesome if you could help me with these. Sometimes and especially on some devices, my capture doesn't start at all, do you have any clue about that ? Thanks in advance, it's really weird that there are no stable alternative to this outdated plugin..
i remember that when i tried to record video in different resolution, my device may crash. That's why i had to chop and resize the unity render result, to the resolution that my devices accept. And this caused another problem, which i need to fixed with an array of RenderTexture to fix it.
If you read their cs script, you can see that it works as an image effect. Unity send RenderTexture to the script, and the script send the native id of that RenderTexture to the native plugin. But because the ratio doesn't match with the acceptable video resolution. I need to make it render to another RenderTexture with chopping and resizing, and send this rendertexture to native plugin. And then i find out, for some device, the video get glitch, it looks like the video merge several frames of image.
It makes me feel the plugin probably doesn't sync with unity, it probably hold several frames before encoding it to the video file. Revising the RenderTexture in Unity may influence the recording in the native plugin. That's why i prepare an array of RenderTexture, so the plugin has time to buffer.
Thanks a lot @SunnyChow ! For the array, do you really save the render textures themself or you copy them into new textures ?
Your answer
Follow this Question
Related Questions
Automated Video Capture (Server Side) 0 Answers
the video player starts with a white background 0 Answers
Detect media capture on hololens 0 Answers
What format does Unity's webcam video capture feature record in? 0 Answers
Capture the Screen, and Audio being Played in a Unity3D based iOS Game 0 Answers