Log in or register to post comments

adding a video over a marker

October 21, 2011 - 12:08pm #1

Is it possible to add a video file over a marker???

adding a video over a marker

November 14, 2012 - 6:40pm #45

DavidBeard

 

thanks for the help david, online videos worked well, still struggling to open page in trackble I'll insist a little longer

adding a video over a marker

November 5, 2012 - 8:50am #44

Which device(s) are you testing with? And is this with the native iOS SDK or iOS Unity extension?

adding a video over a marker

November 4, 2012 - 11:40pm #43
 

I have implemented vuforia videoplayback for iOS. I customized it for 4 trackables detection. But when i tried for more than 4 trackables it had failed. After 4th trackable, all trackables are being detected but videos are not playing with showing "X" button instead of "play" button. I just couldn't understand the problem. By the way, i have fixed all trackables(2D) width to 360.

adding a video over a marker

November 3, 2012 - 7:39pm #42

Laying the page onto the target will require the use of a webview. I haven't experimented with this approach, and so can't offer much advice, but here is a GitHub project that you may want to investigate - https://github.com/gree/unity-webview

Has anyone else used iOS a/o Android WebViews w/ Unity?

adding a video over a marker

November 3, 2012 - 7:17pm #41

DavidBeard 

 

I open web page with Application.OpenURL ("http://");

 

I want to lay the page onto the target?

adding a video over a marker

November 3, 2012 - 6:53pm #40

You can launch a browser instance to a webpage using Unity's OpenURL method - http://docs.unity3d.com/Documentation/ScriptReference/Application.OpenURL.html

But is this what you intend? - or do you want to lay the page onto the target?

adding a video over a marker

November 3, 2012 - 6:25pm #39

DavidBeard

 

The sdk is that I am using sdk-1.5.10 Unity, Unity-3.3.5

I'll try a plugin for mozilla!

 

It is possible to open a web page in a trackable (marker)?

adding a video over a marker

November 3, 2012 - 2:55pm #38

Which SDK version are you using?

There are browser plugins that will enable you to download video that you've uploaded to those sites. These will also reveal that URLs of the videos.

adding a video over a marker

November 3, 2012 - 2:10pm #37

DavidBeard

 

How can I get the [name] and [extension] of videos (youtube, vimeo, metacafe) that the file already desponibiliza not shared this information.

 

It is possible to open a web page with a trackable (marker)

adding a video over a marker

September 24, 2012 - 5:40am #36

Hi Russel,

I have the same problem. When I run the app on Android 2.3 or 3.2, the video no play in overlay?

What did you use in alternative to Vuforia?

Thanks,

Ale

adding a video over a marker

July 17, 2012 - 9:05am #35

You'll need to use the full path to the video.

e.g.

http://www.metacafe.com/watch/8765288/qualcomm_snapdragon_s4_preview/[name].[ext]

adding a video over a marker

July 16, 2012 - 11:00pm #34

I'm having problems playing remote URL. Any tips on how to play remote video?

I've tried videos from YouTube, Vimeo, and for the latest one is this URL:

http://www.metacafe.com/watch/8765288/qualcomm_snapdragon_s4_preview/

Console log:
2012-07-17 13:52:26.430 VideoPlayback[12805:707] Playing video with native player
2012-07-17 13:52:31.694 VideoPlayback[12805:707] moviePlayerPlaybackDidFinish
2012-07-17 13:52:31.695 VideoPlayback[12805:707] moviePlayerPlaybackDidFinish -> MPMovieFinishReasonPlaybackError
2012-07-17 13:52:31.700 VideoPlayback[12805:707] moviePlayerExitAtPosition: 0.000000
2012-07-17 13:52:31.708 VideoPlayback[12805:707] An instance 0x523470 of class AVPlayerItem was deallocated while key value observers were still registered with it. Observation info was leaked, and may even become mistakenly attached to some other object. Set a breakpoint on NSKVODeallocateBreak to stop here in the debugger. Here's the current observation info:
(
Context: 0x0, Property: 0x45c2d0>
Context: 0x0, Property: 0x45d8d0>
)

adding a video over a marker

July 16, 2012 - 4:26pm #33

So what's the current status of VideoPlayback on your devices?

Are you working with the VP sample, or your own project? Have you been able to play remote files?

adding a video over a marker

July 15, 2012 - 9:28am #32

Thank you! Yes, I can play videos in Unity apps that don't utilize Vuforia.

adding a video over a marker

July 13, 2012 - 10:02am #31

We've tested the Android versions, and devices you mention. Have you been able to play video in Unity apps that don't utilize Vuforia?

adding a video over a marker

July 11, 2012 - 2:34am #30

Is there already something new to report about the error?

adding a video over a marker

July 5, 2012 - 9:12am #29

@DavidBeard

Is there already something new about the error that no video is shown at Android 2.3 and Android 3.2 in full screen?

From which iOS-version or iOS-device works video-texture (not using full screen)?

adding a video over a marker

July 5, 2012 - 7:45am #28

Yes. Take a look at the native iOS version of the sample. the videos will need to be package with your app.

@Russel simply enter an URL to the video for your filename.

adding a video over a marker

July 5, 2012 - 7:01am #27

Hi, i'm an iOS developer.

I need to know one thing.

Is it possible to display any video (not a fullscreen display one) with a Vuforia SDK based app, without using unity ?

 

Thank you so much.

adding a video over a marker

July 5, 2012 - 2:00am #26

Where is the support?

adding a video over a marker

June 28, 2012 - 8:41am #25

Can you give me a example stream-url for the video sample? Work a youtube stream?

adding a video over a marker

June 27, 2012 - 11:29pm #24

@David: forced fullscreen on all devices would be the best. I don't need it as a texture. Did I understand it correctly that it will work on non ICS devices and iOS but in fullscreen mode (which is perfectly fine for my case)?

adding a video over a marker

June 27, 2012 - 8:32am #23

Works this with a YouTube Video?

adding a video over a marker

June 27, 2012 - 7:47am #22

Yes you simply need to enter the URL in the field for the file name. Remote files will play fullscreen automatically for most OS versions. They will render onto the texture for ICS. Do you need to force them to play fullscreen for ICS as well?

adding a video over a marker

June 27, 2012 - 7:25am #21

is it possible to use a link to a online-video file and play it in fullscreen mode?

adding a video over a marker

June 27, 2012 - 1:52am #20

Is there already something new about the error that no video is shown at Android 2.3 and Android 3.2 in full screen?

From which iOS-version or iOS-device works video-texture (not using full screen)?

adding a video over a marker

June 26, 2012 - 4:16pm #19

Hello,

Our sample app uses MediaPlayer.setSurface which is only available with Android API level 14 and up. The sample app shows an elegant way of changing the user experience on devices that do not support this.

Thank you,

-Peter

adding a video over a marker

June 26, 2012 - 2:10am #18

Works Video Texture only from Android 4.0 ICS (without Fullscreen)? If so, why?

adding a video over a marker

June 25, 2012 - 9:41am #17

DavidBeard wrote:

Can you post a log of your build and run session, in which you attempt to play a video? You can obtain this from the Eclipse LogCat console or via ADB using adb logcat -d > logcat.txt from a command line.

 

 

I/Unity   ( 5411): Trackable chips found

I/Unity   ( 5411):  

I/Unity   ( 5411): (Filename: ./Runtime/ExportGenerated/AndroidManaged/UnityEngineDebug.cpp Line: 43)

I/Unity   ( 5411): 

I/InputReader(  128): dispatchTouch::touch event's action is 0

I/InputDispatcher(  128): Delivering touch to current input target: action: 0, channel '40b5f060 com.test.test/com.qualcomm.QCARUnityPlayer.QCARPlayerNativeActivity (server)'

I/InputReader(  128): dispatchTouch::touch event's action is 1

I/InputDispatcher(  128): Delivering touch to current input target: action: 1, channel '40b5f060 com.test.test/com.qualcomm.QCARUnityPlayer.QCARPlayerNativeActivity (server)'

D/BatteryService(  128): update start

D/BatteryService(  128): updateBattery level:82 scale:100 status:2 health:2 present:true voltage: 3992 temperature: 410 technology: Li-ion AC powered:false USB powered:true icon:17302213

I/StatusBarPolicy(  217): BAT. S:2 H:2

W/PowerManagerService(  128): Timer 0x3->0x3|0x3

I/StatusBarPolicy(  217): onSignalStrengthsChanged

D/BatteryService(  128): update start

 

 

adding a video over a marker

June 25, 2012 - 9:29am #16

Can you post a log of your build and run session, in which you attempt to play a video? You can obtain this from the Eclipse LogCat console or via ADB using adb logcat -d > logcat.txt from a command line.

adding a video over a marker

June 25, 2012 - 9:10am #15

I restarts the device and I've tested it with another video. It still does not work in Unity :(...

adding a video over a marker

June 25, 2012 - 2:27am #14

GT-I9000 and MZ601

I test it again later with your tips

adding a video over a marker

June 22, 2012 - 10:43am #13

Arik and Russel,

Can you tell me the device model name you are seeing the issue with. You can find this in Settings -> About Phone -> Model number . Have you tried restarting your device before running the sample? Can you play other videos on the device with the built in video player?

Thank you,

-Peter

adding a video over a marker

June 22, 2012 - 7:38am #12

working fine on an iPad2 (unity version). Demo videos are playing as a texture and in fullscreen when double clicking!

Nice work!

adding a video over a marker

June 21, 2012 - 10:57pm #11

Thanks David. I have checked the Graphics Level is set for OpenGL ES 2.0.

And I borrowed a galaxy nexus with android 4.0.4 .The video played successfully with sound.

I think it is the problem of android ver...

adding a video over a marker

June 21, 2012 - 7:40pm #10

Also please confirm that your Graphics Level in Build Settings is set for OpenGL ES 2.0.

And to your question about the OS version, Video on Texture works on all ICS devices. Anything prior to ICS will play video full screen. iOS devices will play video on texture for local video files. Network streamed video files will play full screen on iOS.

Have either of you tried the native sample yet?

adding a video over a marker

June 21, 2012 - 5:34pm #9

The sample video too.

adding a video over a marker

June 21, 2012 - 9:26am #8

I use the sample Videos.

adding a video over a marker

June 21, 2012 - 9:06am #7

Arik & Russel are you using the videos provided with the sample, or your own?

adding a video over a marker

June 21, 2012 - 8:48am #6

I have the same problem on Samsung Galaxy S I9000 with Android 2.3.3 and Motorola Xoom with Android 3.2. 

When I press play, then the hourglass appears . But the video does not play. :(

adding a video over a marker

June 21, 2012 - 2:03am #5

Its great to see the unity sample of android is released. But I got a problem with it.

After build and run in my android device (galaxy s2, 2.3.5). It can track the target but it does nothing after I pressed the play button.

I noticeed that "Devices that support video on texture can play the video directly on the image target". Is "video on texture" only support in android ver. 4.0 or above?

Is it the problems on android ver.?

 

adding a video over a marker

June 20, 2012 - 5:04pm #4

We are pleased to announce the release of the Vuforia Video Playback sample app. This app is available for native Android and in Unity for iOS and Android. The Android sample app can be found here. The Unity sample for iOS and Android can be found here.

Re: adding a video over a marker

December 12, 2011 - 7:17am #3

You could do a sort of cheat if the video is relatively small and you don't need sound.
Add all the video frames to a single image, use this is a texture and just move the texture over the surface of a flat plane so you will see 1 of the frames in the texture per render.

Re: adding a video over a marker

October 21, 2011 - 1:25pm #2

QCAR does not provide an API for rendering video on a trackable. If you can find a 3rd party solution that can render video using OpenGL ES you should be able to make this work with QCAR.

- Kim

Log in or register to post comments