1. Home
  2. GO
  3. Interactions
  4. Videos on Texture (MP4)

Videos on Texture (MP4)

Autoplay on-texture video

Videos can be displayed in streaming mode, directly on the marker, meaning that the video playback in the app can start quickly without the need to download the whole file first, or launch the video player of user’s device. To do that, you need to check the “Autoplay on texture” button, in the editing window.

Beware of videos that come out of post-production with very high quality, they are totally unusable in a mobile app: a video of one minute weighing 200MB will not be displayed in the mobile app, even with a very good Wifi or 4G connection. We recommend uploading videos that weigh between 2MB to 4MB per minute of video content, e.g. 500kbps video and 96kbps audio bitrates… The ‘weight per minute’ ratio is an efficient measurement criteria, simpler than bitrate or frame size.

The multimedia library used in both Android and iOS SDK for rendering videos is Ffmpeg. So you need to embed this library into your common video editing software (e.g. Adobe Premiere Pro : https://trac.ffmpeg.org/wiki/Encode/PremierePro), or pass your video through a compatible encoder (Ffmpeg, VLC, Xine, etc.) before uploading it to the platform.

But you can also simply check the “Optimize video for the platform” button, in the editing window, when you import your video.

By default, Ffmpeg comes with the following parameters : MP4 Base Media format, AVC VBR video, AAC CBR audio

Tip : if you don’t want to install a desktop encoder, many online and compatible tools exist such as video.online-convert.com


Transparent on-texture videos

You can display, in augmented reality, a video on texture with a transparent background. There are 2 methods.

1) Video with a unicolor background

During the first video tutorial, we will create, optimize then upload, in BearGO, a video with a unicolor background.

Prerequisites :

  1. After Effects Template: https://www.dropbox.com/s/uksq68jiqqd4b0s/Green_Screen.zip
  2. Your own video (with a unicolor background)
  3. After Effects, Premiere Pro or other video editing software
  4. An account in the BearGO augmented reality platform, linked to your application

2) Video with an alpha channel

During the second video tutorial, we will create, optimize then upload, in BearGO, a video with an alpha channel.

Prerequisites :

  1. After Effects Template: https://www.dropbox.com/s/enbiqchd02p74me/Alpha_Video.zip
  2. Your own video (with a unicolor or an alpha channel background)
  3. After Effects, Premiere Pro or other video editing software
  4. An account in the BearGO augmented reality platform, linked to your application


Filming on a green or blue background

Here are some recommendations for recording videos, to be played with transparency:

  • Film in vertical format (720p or 1080p quality)

  • Character filmed at eyes level

  • Preferably dark clothes

  • Green/Blue background or marked contrast between character and background

  • No shadow projected

  • No sudden movement

  • No parts of the character’s body should go off the colored background

  • Microphone close to the actor

When activating the vertical orientation option for HoloBear rendering, it is important to follow a basic rule because, if not designed correctly, the augmented reality scene may force mobile users to hold off from the target and result in a degraded user experience (technically speaking we are talking about a ‘tracking loss’): dimension of the video to be played vertically should always fit to the scanned target area -or be smaller-.

Was this article helpful to you? Yes No

How can we help?