Log in or register to post comments

VideoPlayback

August 16, 2015 - 2:54am #1

Hello,

 

I hope someone can help me.

We have developed an AR- App with Unity 5.1.1f1 (Pro for android and iOS) on Mac using Vuforia 4.2.3 and implemented the video playback on texture feature. All works fine.

We switched to Android and we are not able to bring the videos to play. There is only the "busy" icon.

What we tried (as we found in the forums here)

- different video codecs

- switch to android 4.03 and Rendering Path Legacy Deffered

- reimport vuforia sdk

- compared the sdk package and the latest videoblackbacksample.unity package. We found some files and folders there, that are missing in the standard sdk. In the Plugin/android folder: Some like this: libVuforiamedia.so, VuforiaMedia.jar and folder: VuforiaMediaSource. We imported that files and then when we build the apk the AR-CameraFeed is just black (only seeing GUI elements)

- then I thought its a problem because the videoplaybacksample is for vuforia 5. So we went some steps back, where the screen is not black, objects are rendered good on the image targets, but video is still not playing.

- migrated the hole project to vuforia 5. Build works, but video is not playing. So then we reimported the files mentioned above from videoplaybacksample again. And we got back the black AR-CameraScreen.

if I build the videoplaybacksample from a blank project it is working also on android, so there must be a problem I can't figure out.

 

As I said on iOS all is working fine. Has anybody an idea what I can do? If you need more specifc information to help me I will provide this information.

 

Thank you very much for your help!

 

Torsten

 

VideoPlayback

August 22, 2015 - 8:48am #2

Hello Torsten,

on Mac using Vuforia 4.2.3 and implemented the video playback on texture feature. All works fine?

What did you do what changes?

 

Run on Mac Iencountered the following problem:

Undefined symbols for architecture armv7:

  "_dispatch_queue_attr_make_with_qos_class", referenced from:
      l5482 in libVuforia.a(libVuforia.a-armv7-master.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I made the following changes but the problem still exists:

1、在Xcode的Build Settings中 将Architectures设置为Standard architecture,Valid Architectures设置为 armv7 armv7s arm64 

2、Search Paths中加上libVuforia.a所在文件夹的Library Search Paths路径,Xcode中有可能讲斜杠弄反了,Libraries/Plugins\iOS 要改过来。 

3、项目中加上 Security.framework 库的引用

Bug:

clang: error: linker command failed with exit code 1 (use -v to ssee invocation)

I wonder if you would mind helping me.

Help!!!

 

 

Thank you very much for your help!

Tina

2015-08-22

Log in or register to post comments