Quantcast
Channel: Intel Developer Zone Articles
Viewing all articles
Browse latest Browse all 554

Intel® INDE Media for Mobile Tutorials - Cross-platform Qt* Sample

$
0
0

This tutorial outlines the steps needed to build the Intel® Integrated Native Developer Experience (Intel® INDE) Media for Mobile cross-platform Qt Sample.

Before getting started, download the Intel® INDE at http://intel.com/software/inde and install Media for Mobile component. For additional assistance, visit the Intel INDE forum.

  1. Download sources from GitHub.
  2. Launch Qt Creator and open xplat_sample project from /sample/ folder.
  3. Find your Intel® INDE Media For Mobile installation directory, further referred to as <install_folder>.

Further steps are platform dependent.

Android:

  1. Edit xplat_sample.pro. Replace the MFM_PATH variable with the value of <install_folder>/Android path.
  2. Go to /sample/android/package_source_dir/ folder and create /libs/ subdirectory.
  3. Copy all jar files (without subfolders) from <install_folder>/Android/libs/ to /sample/android/package_source_dir/libs/.
  4. Plug in your Android device. Build and run the project!

iOS:

  1. Edit xplat_sample.pro. Replace the MFM_PATH variable with the value of <install_folder>/iOS path
  2. Let’s build wrapper. For that purpose open /wrapper/ios/MediaPackC++.xcodeproj. Add reference to <install_folder>/iOS/MediaForMobile.framework. Choose configuration (simulator or device) and build.
  3. Switch to already opened xplat_sample.pro file. Edit MFM_WRAPPER_LIB variable. Leave /Debug-iphoneos at the end of the path or replace it with /Debug-iphonesimulator.
  4. Plug in your iPhone or iPad (or start emulator). Build and run the project!

UI of this sample is pretty simple. So, pick a video file and start transcoding!

Known issues:

  1. On Android it’s impossible to pick a file from arbitrary directory. You can use only /Movies/ folder.

Viewing all articles
Browse latest Browse all 554

Trending Articles