Hey everyone. I'm new to all this and trying to figure out some stuff. I was hoping I could describe what I'm trying to do and you could offer advice or help me understand things I may not have considered.
I want to make an app that uses the Cloud Database for the target images. The target images would trigger a video texture on the target image. The video would be called in from a online URL address. (not stored in the app directly)
My goal would be to be able to add new target images AND videos simply by adding the target to the Cloud Database and referencing the URL location of the video file in the metadata package. This would allow the app to be approved by apple and not require further apple app updates for adding more video/trigger images.
Does this sound like its a pretty doable project? Any info, ideas, comments, ANYTHING would be greatly appreciated!
Thanks
Video sourced from URL playing as a texture on target image
That should be doable. Take a look at the Cloud Reco and Video Playback samples. You can provide an URL for Video Playback, and include this URL as metadata on the Cloud Reco target.
Video sourced from URL playing as a texture on target image
Thanks for the reply David! I'm using the iOS SDK (Not the unity engine) would one work better than the other?
Eventually I would like to build an Android app that uses the same database of videos/triggers, but for now, I'm focusing on the iOS version.
Video sourced from URL playing as a texture on target image
Hi, just bear in mind that on iOS, video-on-texture (i.e. video rendered on the target) of the VideoPlayback sample is only available when playing a local video file (i.e. avideo stored as a file on the device), not when streaming from an online URL (i.e.
Video sourced from URL playing as a texture on target image
Thanks for the reply AlessandroB.
Video sourced from URL playing as a texture on target image
To answer your question:
Video sourced from URL playing as a texture on target image
There are developers who have successfully implemented the download to local storage approach that Alessandro describes. A search of the forum should turn up a few mentions.
Video sourced from URL playing as a texture on target image
I really appreciate the comments so far guys. I've searched the forums and havent found any great examples of how to do this, but can I brain storm with you for a moment?
If I was going to do the local storage method, would it function like this?
Video sourced from URL playing as a texture on target image
Hi, the process you describe sounds right to me.
Video sourced from URL playing as a texture on target image
Okay, I'm really new to iOS development and I feel pretty dumb asking these questions, but could I get a little help?
Video sourced from URL playing as a texture on target image
Hi, certainly the first step is to store the URL of your videos in the metadata of each target.
Note that you can simply fill in the metadata with the URL string (and nothing else), like:
https://some_host/my_videos/my_video_xy.m4v
Video sourced from URL playing as a texture on target image
Okay, so someone told me that if I use HLS video, it will play on texture. so I'm trying to test that out.
At this point, I'm trying to figure out how to call in the video to play directly from the cloud based on a URL target that is in the meta data.
Video sourced from URL playing as a texture on target image
Not exactly sure where you are stuck - understanding metadata (easy) or playing remote videos (hard)
Here's a couple of threads regarding metadata (albeit in Unity)
https://developer.vuforia.com/forum/android/connect-cloud-database-sample-appliction-vuforia