Media (Intel® oneAPI Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools from Intel. This includes Intel® oneAPI Video Processing Library and Intel® Media SDK.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

Mobile Media aspect ratio problem on Android (Unity 5)

Stanislav_F_
Beginner
96 Views

Hello,

I've recently added Mobile Media Video capturing to my Unity Android project. In my case after calling capture.StartCapturing () screen aspect ratio of the whole application going crazy, screenshot: 

https://www.dropbox.com/s/onyqcosx8rnplws/Screenshot_2015-07-25-23-07-23.png?dl=0

After calling capture.StopCapturing() screen remains the same. Video will be saved without any problem (on the video we will get the same problem, sound is ok).
 
Unity Version: 5.0.2

Android: 4.4.2 (Tested on Nexus 4), but there are the same problem on other devices.

Any idea or suggestion what it can be and how to solve this?

Thank you.

 
 

 

0 Kudos
1 Reply
Harshdeep_B_Intel
96 Views

Hi Stanislav, 

We have a tutorial here which provides step by step process to include M4M mobile video capturing to Unity 5 applications : https://software.intel.com/en-us/articles/intel-inde-media-pack-for-android-tutorials-video-capturing-for-unity3d-applications?page=3. Please follow the tutorial and let me know if the still see the issue. If you do, please send me your  project code for me to reproduce the issue so to update with workaround or fix, you can send me code directly via "Send Author A Message".

Thanks,

 

Reply