Log in or register to post comments

VideoplayBack not working

November 23, 2014 - 11:55am #1

Hello there.

Iv used this extension :

https://developer.vuforia.com/resources/sample-apps/video-playback-sample-app

to play video on tracking a picture, but the video wont play, it just shows me the error icon instead of the play icon.

the path for the video is "VuforiaSizzleReel_1.m4v" (without the brackets)

after digging in some similar problems someone refered that the version that I used is creating that problem.

I'm using videoplayback-3-0-10.unitypackage version

and for vuforia : vuforia-unity-android-ios.3-0-9.unitypackage version

 

thank You

 

P.S : the 3D models works great. but not the video.

VideoplayBack not working

June 9, 2017 - 2:37am #24

Hello all,

I tried the videoplayback sample and it works fine. The video plays when you click on it. However, I want the video to play automatically when it is detected. But I did all this thing:

-Replace Default Trackable Event Handler (Script) on Image Target prefab with Trackable Event Handler (Script) found in Scripts/TrackableEventHandler)

-Added two scripts to AR Camera Asset - PlayVideo (Script) with "Play Fullscreen" unchecked and Video Playback Tap Handler (Script) -- (both found in Scripts folder)

-Added the Video prefab (Vuforia Video Playback/Prefabs) as a child of the Image Target

-Set Path (be sure video is in StreamingAssets folder with no subfolder)

-Be sure "Auto Play" is checked on Video Playback Behaviour (Script)!

How solve this??

VideoplayBack not working

February 23, 2017 - 4:02am #23

It has started working. I was importing vuforia video player  asset folder by dragging from other project in old unity. after downloading and decompressing https://developer.vuforia.com/downloads/samples?d=windows-31-22-4819  (vuforia-samples-advanced-unity-6-2-10.zip (151.87 MB)) and then importing from unity file is working fine. :)

VideoplayBack not working

February 23, 2017 - 2:37am #22

I am having the same problem. What I am not able to understand is that I was able to play video in unity 5.5.1f3 but after upgrading to unity 5.5.1p3 it is not working anymore. when i load and build my old scene (of 5.5.1f3) it displays error vuforia not initialised on my android mobile. plz suggest what to do?

VideoplayBack not working

February 14, 2017 - 12:26pm #21

Hm. I'm getting auto-play to work with no issue in Unity 5.5 and vuforia 6.2.6. This is my basic setup:

-Replace Default Trackable Event Handler (Script) on Image Target prefab with Trackable Event Handler (Script) found in Scripts/TrackableEventHandler)

-Added two scripts to AR Camera Asset - PlayVideo (Script) with "Play Fullscreen" unchecked and Video Playback Tap Handler (Script) -- (both found in Scripts folder)

-Added the Video prefab (Vuforia Video Playback/Prefabs) as a child of the Image Target

-Set Path (be sure video is in StreamingAssets folder with no subfolder)

-Be sure "Auto Play" is checked on Video Playback Behaviour (Script)!

With this setup the video plays without needing to push the Play button on the video. I also used the changes found in this forum post to make the video loop automatically: https://developer.vuforia.com/forum/unity-extension-technical-discussion/make-video-loop

VideoplayBack not working

February 14, 2017 - 11:49am #20

HidingGlass thanks for the reply, nice to know someone else is looking at these things...  Unfortunately I ran into this issue in the beginning Unity and Vuforia and was able to get that working.

The issue I'm having and my teammates are having still persists...  We have both mp4.s and mv4.s and neither work for Auto Play.  You have to add the tap to play component to make the video play and pause.  Issue is that is 1 not intuitive and 2 not practical for AR.  People are none techy and want to simply look at a picture and watch what happens they wouldnt even think to test.  And that is what we are finding in our tests with users "maybe they'll click it" and they dont they simply say "I think its broken" or "nothing is happening"....  

 

Thanks Unity and Vuforia we are stuck waiting for them to fix again...  This happened last summer too and we were stuck waiting for them to fix the issue until we could begin development again...  How are these 2 companies not talking to each other and keeping up with updates...???

 

 

 

 

VideoplayBack not working

February 14, 2017 - 10:59am #19

Had this issue and luckily was an easy fix (at least for me).

In documentation and in comments below people refer to the Vuforia video file as "VuforiaSizzleReel_1.m4v". If you look through your Assets folder, it looks like in some update along the line the video was re-encoded as an .mp4 so changing the path in the Video Playback Behaviour script to "VuforiaSizzleReel_1.mp4" works without giving you the X. 

Here's the format info as well if anyone's having a problem with the encoding on their own video: H.264, 640x360, Millions AAC, 29.97 FPS, Progressive Field Order, Square Pixels (1.0), NTSC, Profile Main, Level 3.1

Dated response at this point but if you're like me and came across this looking for a similar response I hope it's helpful. 

VideoplayBack not working

February 8, 2017 - 8:35am #18

having the same issue.  Started a new project and the video playback on an android device will not work anymore????  

 

UnityDownloadAssistant-5.5.1f1.dmg  ( even tried the older versions 6117 and etc it will not work???? )

vuforia-unity-6-2-6.unitypackage  ( even tried the older verison 6117 and multiple versions of unity older versions and it wont work??? )

 

using the samples-eyewar-  and samples-advanced projects

 

the image target is recognized the video loads but with auto play turned on or off the video does not start you just see the play icon ready . you do not get the busy or error icons when you run on the device.  the project ussually would just start playing and show the play icon once completed????

 

Unity gives you an error message when you try to import vuforia as well keep in mind i just ran this setup at the end of january as i had to write instructions on how to create these projects and everything was working fine.  As of Feb nothing works, this is mission critical as we have a project to create and we cannot even present to the business team.....   

 

 

 

 

VideoplayBack not working

February 2, 2017 - 7:12am #17

Hello there,

I am using vuforia 6.2.6 and video sample 6.2.6 also.

and i want to play video in

"Samsung Galaxy Note 8.0 Wi-Fi"

device but video isn't working

 i am try video resolutions  is

800 * 1280

640 * 320

1280 * 800

1280 * 720

 

please Ans .

 

Thanks for advance

 

VideoplayBack not working

February 23, 2015 - 4:04am #16

I have the same problem

VideoplayBack not working

January 9, 2015 - 3:26pm #15

HELLO

any help from an expert or someone who has the same problem.

My project is OFF right now as the video doesn't play.

 

Thank You

VideoplayBack not working

December 15, 2014 - 1:38pm #14

I hired a freelancer to get this fixed but he didn't get to the bottom of this unfortunately.

 

VideoplayBack not working

December 9, 2014 - 12:29pm #13

The video wont work I mean when I start the camera the app detect the target but the video linked to the target shows just the error icon (X).

I'm just wondering about the path of the video how it should be ? I just put "VuforiaSizzleReel_1.m4v" as a path.

the files locate at the "StreamingAssets" folder .

VideoplayBack not working

December 9, 2014 - 10:35am #12

The description "video won't play" is a bit too generic. You might need to do some digging to get more detail/errors/logs about what's happening. I'd recommend using Android logcat to view debug logs. The videos in the Unity sample are the same as those in the native sample app. You can try compiling the native sample app from Eclipse to see if that works. Also, you might want to verify that some of the other Unity samples compile to the device okay.

VideoplayBack not working

December 8, 2014 - 2:05pm #11

I fixed that problem.
and Now the app is launching but the video wont play :(

VideoplayBack not working

December 8, 2014 - 1:41pm #10

It sounds like you have an Android configuration problem. If you search Google for the following text, it will return many results:

"Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define"

 

VideoplayBack not working

December 8, 2014 - 12:36pm #9

here is the error

 

[2014-12-08 20:35:41 - Dex Loader] Unable to execute dex: Multiple dex files define Lcom/qualcomm/QCARUnityPlayer/BuildConfig;
[2014-12-08 20:35:41 - QCARPlayerNativeActivity] Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define Lcom/qualcomm/QCARUnityPlayer/BuildConfig;

VideoplayBack not working

December 8, 2014 - 12:17pm #8

If the pre-compiled apk works, then when testing the Unity version of the VideoPlayback sample on the device, have Android Logcat open in Eclipse with the device connected and watch the logs to see what the error is when the video doesn't play. If you are using an old version of Unity (prior to 4.5) you might want to upgrade as well and check the you are compiling the project to a recent enough version of Android API.

VideoplayBack not working

December 7, 2014 - 4:25am #7

Yes It did Sir,

on miy Samsung S5

and on my friends devices :

samsung S4-Xperia Z2-Nexus 5-HTC  one

VideoplayBack not working

December 3, 2014 - 3:05pm #6

Did the precompiled videoplayback-3-0-9.apk that we provide work on your device?

 

VideoplayBack not working

December 2, 2014 - 1:16am #5

I'm using Samsung S5 and kitkat OS

VideoplayBack not working

December 1, 2014 - 8:48pm #4

In regards to the VideoPlayback sample app for Unity, video playback isn't supported when running in Unity's PlayMode. It should work fine on a device, though. Could you try installing the precompiled videoplayback-3-0-9.apk that we provide to see if that works on your device? Which device and OS version are you using?

VideoplayBack not working

November 26, 2014 - 1:20am #3

Both Sir .

I'v used the unity playmode, and it doesn't work.

then I packaged the apk file to run it from a device and it didn't work either.

VideoplayBack not working

November 25, 2014 - 7:38pm #2

Are you trying to view the video while in Unity PlayMode or are you using a device?

Log in or register to post comments