Media (Intel® Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools like Intel® oneAPI Video Processing Library and Intel® Media SDK
Announcements
The Intel Media SDK project is no longer active. For continued support and access to new features, Intel Media SDK users are encouraged to read the transition guide on upgrading from Intel® Media SDK to Intel® Video Processing Library (VPL), and to move to VPL as soon as possible.
For more information, see the VPL website.
3058 Discussions

Mobile Media aspect ratio problem on Android (Unity 5)

Stanislav_F_
Beginner
251 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
251 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,

 

0 Kudos
Reply