As a pre-requisite, please see my post about installing Eclipse Indigo for Android Development on Mac OS X Snow Leopard.Click the links below to learn more about TV7 compatibility on Apple TV or Android. In this post, I will outline the steps necessary to compile the VLC Player for Android devices. VLC media player is the most successful free open source cross-platform multimedia player in Windows, Linux, Mac OS X and framework that plays most multimedia files as well as DVD, Audio CD, VCD. Mxf files as well as be compatible with the Mac or Windows OS. The basic way to get MXF files played: Find a media player that can support playing.(I downloaded Xcode 4.0.2 and iOS SDK 4.3)50 VLC media player Skins. Xcode is required by MacPorts below. Download the latest Apple Xcode development tool suite. If VLC have chosen not to synchronize their version numbers, then MacUpdate have to create two entries (pages) for VLC, one 'VLC Media Player (ARM)', and one 'VLC Media Player (Intel)'.Double-click on the downloaded “xcode_4.0.2_and_ios_sdk_4.3.dmg” to mount the disk image. This can be the same as your iTunes account.) (You will need to create a free Apple account, if you don’t already have one. To do so: go to Xcode->Preferences, Downloads, and click on “Install” for “Command Line Tools”. Update: For the latest Xcode 4.5.1 (which I installed from the Mac App Store), after you install it, you will need to manually install the “Command Line Tools” which are required by Macports. Standalone plugin for VLC 2.x to support decoding of HEVC/.
Does Support Vlc Player Free Open SourceWe will need it to set up the environment for VLC android compilation. Download the latest MacPorts which is an open-source utility to make it easy to download, install, and upgrade open-source software such as subversion, wget, etc. Open the drive (if it doesn’t automatically open), launch the “Xcode and iOS SDK.mpkg” file, and follow the installation wizard instructions. Open the drive (if it doesn’t automatically open), launch the “MacPorts-2.0.0.pkg” file, and follow the installation wizard instructions.Periodically, you can run this command in a Terminal to update MacPorts and the programs which it has installed.Sudo port install subversion-javahlbindings It will show up on your desktop as a new drive “MacPorts-2.0.0”. Double-click on the downloaded “MacPorts-2.0.0-10.6-SnowLeopard.dmg” to mount the disk image. Look under “Mac OS X Package (.pkg) Installer” section for the dmg installable image for Snow Leopard. ![]() If the Security Warning dialog about the “unsigned content” appears, click Ok to accept. Restart Eclipse, repeat these steps, but uncheck the “Contact all update sites during install to find required software” before clicking on the first Next button. If you encounter this, you may need to force quit Eclipse (canceling doesn’t seem to unfreeze it). Note: If the first Next button freezes Eclipse with a message saying that it is “Calculating requirements…”, then it may be that one or more Eclipse update sites are unreachable. Check just the “Subclipse” package and click Next, Next, accept the license, Finish. (You can check what is the latest subclipse here.) How to install ps2 emulator macRun the following on a newly opened Terminal in the directory (ex: “~/projects”) where you want to download VLC android to:The “make clean” deletes the bin, libs, and obj subdirectories but neglects to delete jni/Android.mk which makes use of the VLC_BUILD_DIR variable.Compile and Deploy the Android VLC Player Get the VLC source using Git. Please double-check the instructions below against the VideoLan website because the VideoLan instructions are updated continually. I will repeat the relevant instructions below with my additional notes. The Eclipse ADT plugin will automatically compile the newly-imported vlc-android project and prepare it for deployment. The new “vlc-android” project will be created and will appear under the Eclipse Package Explorer left-most pane. Update “Project name” field to “vlc-android” (or whatever you want). Press the Browse… button and locate the “vlc-android/extras/package/android/vlc-android” directory. Click on “Create project from existing source”. Select Android->Android Project. Locate “vlc-android” project under the Eclipse Package Explorer pane. You can double-check that the Android device is recognized by opening up a Terminal and running the follow ADB command:You should see your Android device listed with a 12 alphanumeric characters long identifier. Connect your Android device to your Mac. Deploy the VLC Player to an Android device: Before running the VLC Player, you will need to prepare some movies for it to play. Click on Target tab and check the Manual radio button. “Android Applications”->”vlc-android” should already be selected. Right-click on “vlc-android” project and select “Run As”->”Run Configurations…”. If you have more than one Android device connected or you have created an emulator (VLC Player cannot run under an emulator), you will need to configure Eclipse ADT to allow you to manually select the Android device to deploy to: Eclipse ADT will deploy the VLC Player to your Android device and launch it. ![]() Touch return three times to get back to the main VLC page. Tap on Directories, on “sdcard”, and on the checkbox to the left of “movies”. Touch the menu button and select Preferences. Fix that by doing the following on the Android device: You will get the main VLC page with the message “No Media Files”. You will get a notice that it is alpha software just click ok. Note:If the “vlc-android” project starts throwing a bunch of “Cannot resolve type” class errors, you will need to tell Eclipse that it is okay to rebuild class files which have been modified externally (by our script commands above). In Eclipse, right-click on the “vlc-android” project and select Refresh. Force the rebuild of the object files related to “rotate.c” by doing the following under the “vlc-android/build” directory: Suppose that you wish to rebuild after modifying the “vlc-android/modules/video_filter/rotate.c” file: If I suspect that, then I will manually uninstall VLC Player (on Android, tap “Settings->Applications->Manage applications->VLC media player->Uninstall”) from the Android device and then do a fresh deployment from Eclipse. Note: I have seen instances where the re-deploy does not update the VLC Player on the Android and there are no error messages from Eclipse. Use Eclipse to re-deploy VLC Player to your Android device.
0 Comments
Leave a Reply. |
AuthorJessey ArchivesCategories |