VLC!!! - T-Mobile Sidekick 4G

It was a complete P.I.T.A but I just finished building VLC. I had to upgrade my Linux distro, upgrade from Android SDK 15 to 17, install the NDK, install Eclipse from source (the version in the repos wasn't current enough), install the Android Developers Tools plugin for Eclipse, install about 30 different dependencies on Ubuntu, download over 1GB of Android SDK modules, and finally pull the Android VLC sources. Then I had to wait about 30 minutes while my ridiculously slow netbook compiled the source code, and THEN I had to compile the result of THAT in Eclipse.
The end result is an alpha build of VLC that runs on our phones (despite being built against the Gingerbread libs). It does in fact work, I just tested a couple video and audio files. I've tested the build with NEON enabled (hardware accelerated decoding) which seems to be okay and is in fact enabled on our SK4G. That being said, tomorrow i'll probably hit it again and build without NEON and see if it's more stable.
ENJOY
*** SCREENSHOTS
Uploaded with ImageShack.us
Uploaded with ImageShack.us
*** DOWNLOAD
https://rapidshare.com/files/648759753/vlc.apk

Ill give it a try in the morning looks legit. Are subtitles working? Like with mkv?
Sent from my SGH-T839 using XDA

I haven't tested subtitles yet. I tried one .mkv which caused the app to hang, but it was an odd format that I actually ripped from youtube. (it was a .webm which is basically a renamed .mkv)
Oh, and in case you're wondering why it says "no media" when you start it, you have to go into preferences and select which directories it reads from. mine are set to /sdcard/Music and /sdcard/Videos.

Unintentional kang
I didn't realize until I tried rebuilding VLC on my other computer today, but I uploaded someone else's VLC build (and a rather old one at that). I should really clean up my home directory because it's full of random APK files (both compiled and decompiled) and SDK components at the moment. I rebuilt about 4 times today, encountering all manner of errors along the way but after i finally got the issues all sorted out, the resulting build only runs on Gingerbread and ICS. This is because the Froyo code has been stripped from the the code base in the VLC git, so it's pretty much a no go on our phones until we get a Gingerbread ROM. On the upside, I just tested my VLC build on my old LG Optimus running CM7 and it works like a champ. I'll post the build I just made if anyone is interested, not that it does us any good on our SK4G

I'm definitely interested! Can you post your build. Does your build allow for entry of rtsp url to connect to a stream? Thanks a ton

no, there is no support for streaming built into the VLC app and I don't think there will be. There was no mention of it in the code, so I think that the VLC app is simply intended to be for local files only and be able to handle video playback of most file types and codecs. So far, I haven't been too impressed with it. It was a lot of work to get it up and running only to find that it lags far behind competitors like Mobo player and Rock player. Then again, it's still an alpha software so I'm sure file support will come.

I'm not sure why, but I wasn't able to locate a single media file using VLC. (And I have songs, and a few .mp4 on the SD Card.) Anyways, thanks for compiling this.

Related

VLC for Android (see attachment)

VLC for android is still very pre-alpha, but it's now possible to build it for android.
Here's the directions for those that want to actually do it themselves:
http://wiki.videolan.org/AndroidCompile
or see the attachment for a compiled apk.
Nice! I love VLC!
gave this a whirl, pulled up my videos, tried to play several, they crash after a few choppy seconds. All videos are .avi files of t.v. shows that play fine in v player.
nrfitchett4 said:
gave this a whirl, pulled up my videos, tried to play several, they crash after a few choppy seconds. All videos are .avi files of t.v. shows that play fine in v player.
Click to expand...
Click to collapse
That's why it's pre-alpha with the big disclamer when you load it up
It runs no better for me, but I was interested in how it handled resizing larger sized videos like something encoded in avc. It's no better for that, but it never crashed on me.
VLC project has been working on it for at least a year or two, so it's nice to see they finally put something together. It's pretty much all c/c++ code (the normal libraries that VLC uses) with some JNI to tie it to the User Interface in android.
This is pretty cool. I look forward to the day this is good to go. I have always been a VLC fan.
Sent from my Transformer TF101 using Tapatalk
Would love to see VLC dominate on the Android platform. Trying alpha now! Thanks
Sent from a CM7 DInc2
: /
I can get it to stream video when using the local network, but getting it to stream over 4g isn't working, i just get a black screen.
put my comp in the dmz, no help, but it certainly seems to be the router causing the issue, anyone else run into this?

[APP][2.3+][Weekly Builds] XBMC For Android Nightlies

There are official releases for neon and ICS+ devices over on xbmc.org.
For Tegra2 / GB devices I'm likely not going to be working on them much, if at all going forward. I no longer have a Tegra2 or GB device and version 13 of the upstream code base has some changes that will make it very difficult to support the Tegra2 going forward.
Thank you to staticaDK, repvik, lavero.burgos, and XBMC Android for their help with mirroring.
staticaDK has suffered equipment failure and his mirror is down. Any links / bookmarks to his mirror will no longer work. Please DO NOT use old links to this mirror
The xbmchub.com guys are launching http://www.xbmcandroid.com/. The forums are open for registration for anyone that is interested.
We also have a FreeNode channel #xbmcandroid for those that are interested.
I have also broken out a lot of the information from this XDA thread as separate threads on xbmcandroid.com
Please note these are unofficial builds of XBMC, please report issues here or xbmcandroid.com ONLY
Builds are now auto-run every Sunday (through out the day). I will no longer be directly linking to the builds, please head over to the mirrors (links below) to download a given build.
XBMC, What is That?
XBMC is a media player / HTPC software package that does just about anything you'd want on a home theater box or a portable media device. See http://www.xbmc.org for more information.
Why Here?
I have been maintaining nightly builds of XBMC for Android and after a few requests and realizing my posts have been cross-linked it's time to create a central spot for the builds.
Schedule of Builds
Builds are now run automatically every Sunday.
What Is Special About These Builds?
I have re-built the CrystaX NDK that is required for XBMC from sources and made some compiler flag changes in order to improve NEON device support and to support the Tegra2 or other non-NEON devices. These are unsupported changes, particularly the Tegra2 and any other device without NEON. The official XBMC stance is NO device lacking NEON will receive support.
What Is / Is Not Supported
All builds are now built for 2.3.x (GingerBread) or higher devices. ARM ONLY. I will not be releasing MIPS or x86 builds.
Google TV devices are UNSUPPORTED. I do not know if / when the XBMC dev's will be supporting Google TV.
I will not be releasing aplayer builds. I will be leaving it up to Pivos to do releases. Please visit the Pivos forums for the latest builds with AMLogic hardware decode support.
Which Build Do I Want?
There are two builds, one for Tegra2 devices and another for NEON devices (see below for specifics). If you are not sure which type of device you have, try the NEON build and if it crashes, then use the Tegra2 build. If you have a non-NEON devices that is not the Tegra2, the Tegra2 build will run, but not all that great.
XBMC Compatibility List (Clickable link)
FAQ
Why is the APK so large?
This is a full build of XBMC including dependencies, resources and the like. There is a lot to the build and output. See http://pastebin.com/LgnWzdHW for a breakdown of what is contained within the APK including file sizes.
Does zipalign help with the size of the apk?
I ran zipalign and it didn't reduce the file size, likely won't help given what is packed in the apk.
Is there a better skin for touch screens?
Under the appearance settings there is a skin named "Touched" that works much better on touch screen devices than the default.
Does my hdmi out / dock / etc work for tv playback?
There are reports of this working properly in this thread and others.
Can I change the resolution for hdmi / similar playback?
Initial reports indicate this is not possible currently.
Does it work with CyanogenMod 10 (CM10)?
Maybe. Some users have reported success with CM10, others have had issues.
How do I get Fahrenheit Temperature?
Settings > System > International -> Change your region to USA if you want Fahrenheit
Common Problems
My screen starts flickering / freaking out: Kill the app, clear the app cache, restart devices, try again. Continue until the problem goes away.
I cannot play SD / 720p / 1080p content without stutters / dropped frames / audio sync issues / etc: Tough luck. Right now hardware decode support isn't complete, if your CPU can't process the video in software, you're stuck for the time being. The XBMC devs are working on hardware decode support and it will be done in due time. Do not ask for a deadline, there isn't one right now.
Battery life: Expect a pretty bad battery drain. This has been confirmed by a few others as well as the devices I tested. Given the project is targeting set-top boxes and similar equipment I would not expect this to be addressed until other, larger items are taken care of. Please do not complain to the official team about this item, complain here.
Resource utilization is high: This is known. Not going to change for awhile, do not complain to the official team, complain here.
Audio does not work: The XBMC audio levels and Android audio levels are not the same, you will need to adjust the volume in Android up to a higher level before launching XBMC most likely.
DVD Navigation may or may not work properly: This is known and being worked on by the main XBMC team.
/data is inaccessible: This partition is not accessible from XBMC.
Touchscreen Non-Responsive: Some users have reported the touchscreen taps aren't registering well or at all. The Toshiba Thrive 7" and 10" tablets seem to suffer the worst from this.
Tegra2 / non-NEON Problems (Must Read)
If your device does not have NEON, DO NOT COMPLAIN TO XBMC. Complain here.
Problems Under Investigation
XOOM 3g's running EOS ROMS appear to crash with a 0xdeadbeef pointer dereference
Working Add-Ons
1Channel -- Developer PM'd me and the choppyness is fixed in latest version (url in add-ons links below)
Anarcintosh's Icefilms
BBC iPlayer 2
dpstream
Freecable
fs.ua
FTP Sources
Icefilms
Navi-X
PBS
Samba Sources
Shared Library: http://forum.xda-developers.com/showpost.php?p=29899425&postcount=57
TED Talks plugin works great.
The Trailers plugin
Tuxbox
TVCatchup
Tvlinks
Broken Add-Ons
Bluecop's Amazon (crashes trying to unload librtmp.so -- symbol not found)
Bluecop's Hulu
MLBMC: Major League Baseball Media Center
myvideo.de
Trakt.tv stable. The version on github works on Windows, can anyone validate the version from git works on Android?
TuneInRadio
WebDav HTTPS
Sources
XBMC
Official: https://github.com/xbmc/xbmc
My Fork (Includes Tegra2): https://github.com/mcrosson/xbmc/
Android NDK
Official: http://www.crystax.net/en/android/ndk/7
The above NDK is no longer used in my builds. I have tweaked the sources to include better NEON / Tegra2 support. My customizations are not available currently, but I am working on an NDK release based on the CrystaX changes and will be publishing my work once I am further along.
Add-On Links
lavero.burgos mirror: http://four-nineteen.com/veronica/XDA Developers/XBMC 4 Android/Addons/
1Channel: https://github.com/bstrdsmkr/1Channel -- Support: http://www.xbmchub.com/forums/1channel-plugin/
Jezz_X's re-touched skin
This is an alternative to the included "Touched" skin.
http://forum.xbmc.org/showthread.php?tid=128494
Builds (~50Mb each)
See above for compatibility. If you are unsure, try the NEON build first, if it works use it. Otherwise use the Non-NEON build.
Google TV devices are UNSUPPORTED. I do not know if / when the XBMC dev's will be supporting Google TV.
I will not build AMLPlayer builds, If you have a Pivos device, visit their forums for build information and releases
I will not build MIPS or x86
I have setup a goo.im mirror in addition to those below. It will contain the 2 most recent builds linked below. You can find the files here or within goo manager (devs/kemonine/xbmc and available in play store)
Mirrors / Builds
Builds are now auto-run every Sunday (through out the day). I will no longer be directly linking to the builds, please use the following mirrors to obtain a release.
Please note the box mirror contains every build that has been previously published and is more complete for legacy builds than the google code mirror
Box (link)
Thanks for getting it to work on non neon. I got the Toshiba thrive
Thank you!!!
Working good on my TF101
Cheers!
Great thread.
Is there any chance you can include a changelog of commits as you are building them then it will have all the information in one place without having to go to github etc.
Just a suggestion
flumpster said:
Great thread.
Is there any chance you can include a changelog of commits as you are building them then it will have all the information in one place without having to go to github etc.
Just a suggestion
Click to expand...
Click to collapse
I will be calling out any noteworthy changes with the builds. Right now I haven't seen anything of note coming in on the commit logs. It looks like they are doing general cleanup and some under the hood work.
Thank you for bringing this to us Tegra 2 users. It works so damn well.
This is fantastic. Absolutely great. Is there anyway to import the visualizers from ProjectM?
kemonine96 said:
I will be calling out any noteworthy changes with the builds. Right now I haven't seen anything of note coming in on the commit logs. It looks like they are doing general cleanup and some under the hood work.
Click to expand...
Click to collapse
Great mate.
It will help to keep things organised. No point in updating daily for minor things but I will definitely update weekly or when a major commit comes.
Thanks one again.
Thank you for this
Flyer
Can someone who has the files upload to adifferent location. I am interested in the tegra2 version
Thanks
hunkyn said:
Can someone who has the files upload to adifferent location. I am interested in the tegra2 version
Thanks
Click to expand...
Click to collapse
Download works for me, I used the stock ICS browser (came with the ROM I'm using). Just hit download.
If you're websensed (at work/school, blocked by IT firewall/censored page), right click the link, copy link address, make a QR code here, install Barcode Scanner, and scan the generated barcode.
Testing on a Tegra 2 phone (it's the 3G version of the Sprint Motorola Photon 4G). I will edit/post with results. FYI, huge file size. Don't download on 3G/4G unless you're a light data user/you have a nice plan (US Cellular 5GB plan, FTW).
//edit: 48.82MB. Good lawd that's a big APK!
It starts...
It can play music... but it's kind of a PITA, vs. your favorite music app. First you have to add the source. Hit browse. "Android Music" is the place your music player is getting it from. It's a placeholder, like the Libraries in Windows 7/8.
You can launch apps from it. Neato.
Videos... Eh... They don't get added as easily as music. "Android videos" might refer to the camera roll, but it's not where I have my videos. I had to add that manually. I have a 720p MP4 of the Fallout 3 intro that MX Player plays like butter, but it plays like crap in XBMC. A 3GP video I took with a dumbphone of my niece b***h-slapping me (she was 2 at the time, and objected "but he's my friend" first, haha) played fine. A shorter 720p video, another MP4 from YouTube, but only 4.5MB as opposed to the Fallout video's 47.3MB, stuttered almost as bad as the Fallout video.
Scrolling is... um, difficult. On the main menu, and if you have to browse for anything. It's gonna fight you. Works if you can grab the itty bitty scroll bar. But if you just grab the directory tree and toss, it may work or it may not. Or it may open the folder you grabbed it by.
Basically... it's nice and fancy but not too practical. Can this receive streams from a PC or server?
Dark Reality said:
Download works for me
FYI, huge file size. Don't download on 3G/4G unless you're a light data user/you have a nice plan (US Cellular 5GB plan, FTW).
Click to expand...
Click to collapse
Downloads were down earlier today. I had forgotten DropBox had limits to how much data can be sent via public links. I also didn't expect to get that many downloads in the course of a day. I've moved my file hosting to another provider that provides more transfer and a dashboard that should let me keep an eye on my limits better.
I have updated the post with links to include file sizes and made a note to see about decreasing the file sizes.
Dark Reality said:
It starts...
It can play music... but it's kind of a PITA, vs. your favorite music app. First you have to add the source. Hit browse. "Android Music" is the place your music player is getting it from. It's a placeholder, like the Libraries in Windows 7/8.
You can launch apps from it. Neato.
Videos... Eh... They don't get added as easily as music. "Android videos" might refer to the camera roll, but it's not where I have my videos. I had to add that manually. I have a 720p MP4 of the Fallout 3 intro that MX Player plays like butter, but it plays like crap in XBMC. A 3GP video I took with a dumbphone of my niece b***h-slapping me (she was 2 at the time, and objected "but he's my friend" first, haha) played fine. A shorter 720p video, another MP4 from YouTube, but only 4.5MB as opposed to the Fallout video's 47.3MB, stuttered almost as bad as the Fallout video.
Scrolling is... um, difficult
Can this receive streams from a PC or server?
Click to expand...
Click to collapse
Which skin are you using? The default in the build is confluence which is optimized for keyboard / remote usage. The settings area has an appearance tab that will let you change to the "touched" skin which is infinately more managable on a smaller screen.
Once you add the sources you can scan the items to the library (including auto-scans on launch) that greatly improves visibility and access to content.
Your success with video is pretty much par for course on the Tegra2. XBMC currently does not have hardware decode support and relys on software rendering. It has 1/2 of the floating point units (why it won't receive official treatment) that you would find on a newer chip which greatly impedes its ability to decode video content. Things will improve once hardware decode support is available (it's being worked on in mainline). I will be working on improving the builds as much as I can while the mainline devs finish up general hardware decode support.
You can setup smb / ssh / upnp / similar sources and they should generally work.
finding a bit hit and miss opening the app on a Tegra 3 - TF300
will try and reboot and see if it's any better - have tried the force close/reopen
anyone else with more luck?
Edit: Reboot has helped - app opens no issue anymore
Thanks for the NEON build - using the Touched skin
Confluence looks better, but Touch is more functional by far!
On a Tegra 3 TF300:
720p AC3 mkv - playback OK but not watchable - stutter. Audio appears to play mostly uninterupted.
1080p DTS mkv - playback OK but not watchable, but audio and video stutter.
Keep up the good work!
Looking forward to a stable build with HW acceleration!
Yeah, I wasn't expecting much out of XBMC. I knew the limitations going in. 0% of the blame on you. Some is on nVidia (Tegra) and Motorola (Photon 4G/Electrify) but some is also on XBMC themselves. MX Player plays HD video beautifully on my phone, although I do have it formatted for my screen. So it's scaled down to 960x540 (not 720p as I stated above). So video playback is possible in Tegra 2. Not sure if MX Player's drivers are open source. Might be worth looking into.
And I was using Confluence, didn't think to change the skin. I use a ROM that has a hybrid tablet mode, so I'm used to touching smaller screen items than many Android users, particularly those on stock builds. I actually had little trouble hitting the tiny touch controls for media on the main screen, and those were some tiny buttons, but I'll check out the other skin.
Other skin checked out, works a lot better, thanks.
Dark Reality said:
Not sure if MX Player's drivers are open source. Might be worth looking into.
Click to expand...
Click to collapse
I will definitely have a closer look I think I ran across it at some point but didn't look too closely.
This works wonderful on my Atrix!
This is pretty awesome development to see bro, good stuff! Keep up the good work, will be tryin it out on my TF101 after work. Man, now I feel I'm really going to want to cop a hdmi mini adapter....
~Poisoned Viper4g LTEvOne by TeamVenom, Lionheart Cranked to 1.72Jigawats Deadline: Ca1ned.
MassStash said:
Man, now I feel I'm really going to want to cop a hdmi mini adapter....
Click to expand...
Click to collapse
I'd hold off until you know if it will perform or not. On the Tegra2's there is hit or miss support for even SD content. Support seems to boil down to container format and audio stream. I know my SD content stored in mkv with ac3/dts audio stutters badly at times. I've heard reports of xvid avi + mp3 audio being much better for playback.

[MOD] Custom ffmpeg build with DTS Support for MX Player

Hi All,
The latest version of MX Player supports external ffmpeg.
Our xda member ktsamy has come up with an update for us - A custom codec for MX Player with DTS Support. Kindly find details in the below forum link. Please don't forget to thank ktsamy
http://forum.xda-developers.com/showthread.php?t=2156254
emanoj.i9103 said:
Hi All,
The latest version of MX Player supports external ffmpeg. Would be great if anyone of us can build a custom ffmpeg build for our device with DTS support. Thanks in Advance!
MX Player
Click to expand...
Click to collapse
can someone also include wmv format in mx player
because my maximum wmv format are not working
azhar.munshi said:
can someone also include wmv format in mx player
because my maximum wmv format are not working
Click to expand...
Click to collapse
Tried Vplayer or VLC player??
Sent from my GT-I9103 using xda premium
azhar.munshi said:
can someone also include wmv format in mx player
because my maximum wmv format are not working
Click to expand...
Click to collapse
Buddy no one should change MX player except its author, If you want some extra features then mail the author and request him.....
mj.vikram said:
Buddy no one should change MX player except its author, If you want some extra features then mail the author and request him.....
Click to expand...
Click to collapse
Author has provided external ffmpeg support.
Sent from my GT-I9103 using xda app-developers app
azhar.munshi said:
can someone also include wmv format in mx player
because my maximum wmv format are not working
Click to expand...
Click to collapse
Try this one buddy. It can play WMV movies(as mentioned by app uploader)
MOBOPLAYER
emanoj.i9103 said:
Hi All,
The latest version of MX Player supports external ffmpeg. Would be great if anyone of us can build a custom ffmpeg build for our device with DTS support. Thanks in Advance!
MX Player
Click to expand...
Click to collapse
bump..I too would be interested if anyone could point us to an old ffmpeg build.. perhaps someone has an old .apk from when it supported DTS, I could unzip it and search for it. Or maybe someone knows how compile it?
How to build your own ffmpeg with DTS support
Firstly, this advice isn't for the light hearted - most people will give up very quickly. I myself am still fairly new to C and compiling in a unix/linux environment (I just completed a beginners unit in C programming - you won't need this).
You will need:
a Linux machine (or virtual machine) - I used Ubuntu 12.04 (on a virtual machine)
GCC and C compilers (Ubuntu should come with these)
The "latest" Android NDK - you can get it from here: developer.android.com/tools/sdk/ndk/index.html
FFmpeg for MX Player source code: sites.google.com/site/mxvpen/ffmpeg
The attached modified build-ffmpeg.zip
The attached build-ffmpeg.zip contains a new build-ffmpeg.sh that I wrote from scratch as a replacement for the horribly messy one used by the developer. The config-ffmpeg.sh has also been modified such that all the lines that exclude codecs from the build (like --disable-demuxer=dts) have been removed along with a couple more that cause trouble when compiling. To build ffmpeg:
Extract the .tar.bz2 NDK
Copy the folder inside to "/usr/src/" (you will need root privelages to copy here - I ran Nautilus as root ["sudo nautilus"])
Rename it to "/usr/src/android-ndk-r8b" (Changing the "NDK="/usr/src/android-ndk-r8b" line in "config-ffmpeg.sh" didn't seem to work - it may work now with the updated build-ffmpeg.sh I wrote)
Extract your ffmpeg.7z somewhere. Extract the contents of build-ffmpeg.zip into this folder - replacing both build-ffmpeg.sh and config-ffmpeg.sh with the ones in the zip. This will make life much easier
Now open a terminal, cd to the location this file is in, and run "./build-ffmpeg.sh <your platform>". I used "./build-ffmpeg.sh neon" for my Nexus 7. Type some gibberish as <your platform> to see a list of valid platforms
Go and have a cup of tea while it builds (depending on your machine - this could take 30min ... I did this inside a virtual machine, so that's probably why)
Once it's done, inside the output folder should be another folder - with the name of the platform you specified. Inside that will be all the .so files you need. Grab this folder and put it on your device somewhere
Open MX Player on your device. Go to Settings -> Decoder -> Custom Codec, and navigate to the folder you put on your device. Press OK
Once MX Player restarts, you can check if the codec is in use by going back to Custom Codec to see if it is using the folder specified
Voila! You should now be able to get audio on movies with DTS sound =D
If someone could test these instructions for me (ktsamy I'm referring to you) that'd be great =D
will this help in playing mkv 720p or even 1080p videos in hw decoding mode?
Sent from my GT-I9103 using Tapatalk 2
khpatel4991 said:
will this help in playing mkv 720p or even 1080p videos in hw decoding mode?
Sent from my GT-I9103 using Tapatalk 2
Click to expand...
Click to collapse
You can't overcome a hardware limitation beyond a point. I guess it's not possible.
Sent from my GT-I9103 using xda app-developers app
emanoj.i9103 said:
You can't overcome a hardware limitation beyond a point. I guess it's not possible.
Click to expand...
Click to collapse
Manoj Tegra 2 is capable of playing 1080 P videos, But Samsung haven't provided the support/required drivers, In CM 10 also our Dev's are using Samsung's libs only so we are not able to play 1080P ......
UPDATE to "How to build your own ffmpeg with DTS support"
UPDATE: YOU DO NOT NEED A ROOTED ANDROID DEVICE! You can copy these .so files into a folder in your device's sdcard folder. Once this is done, from MX player, go to settings -> decoder -> custom codec. Locate the folder with all the .so files you made, and hit ok. Now it should work.
dylanh333 said:
Firstly, this advice isn't for the light hearted - most people will give up very quickly. I myself am still fairly new to C and compiling in a unix/linux environment (I just completed a beginners unit in C programming - you won't need this).
You will need:
a Linux machine (or virtual machine) - I used Ubuntu 12.04 (on a virtual machine)
GCC and C compilers (Ubuntu should come with these)
The "latest" Android NDK - you can get it from here: developer.android.com/tools/sdk/ndk/index.html
FFmpeg for MX Player source code: sites.google.com/site/mxvpen/ffmpeg
A rooted android device where you can directly access "/data/data/com.mxtech.videoplayer.ad/lib" (and a means of getting files there from your computer)
Now,
Extract the .tar.bz2 NDK
Copy the folder inside to "/usr/src/" (you will need root privelages to copy here - I ran Nautilus as root ["sudo nautilus"])
Rename it to "/usr/src/android-ndk-r8b" (Changing the "NDK="/usr/src/android-ndk-r8b" line in "config-ffmpeg.sh" doesn't work - the script is too messy)
Now extract your ffmpeg.7z somewhere, and in that same location make a folder called "libs", and inside that make a folder called "output"
Now open config-ffmpeg.sh, and look for the line "--disable-demuxer=dts", which you then (without hesitation) need to remove. This line explicitly removes support for the DTS audio codec from the ffmpeg codec package - it is evil.
Now open a terminal, cd to the location this file is in, and run "./build-ffmpeg.sh <your platform>". I used "./build-ffmpeg.sh neon" for my Nexus 7.
Go and have a cup of tea while it builds (depending on your machine - this could take 30min ... I did this inside a virtual machine, so that's probably why)
Once it's done, in the folder, look inside "./libs/output/<your platform>" (I went to "./libs/output/ffmpeg_v7_neon"). There should be a handful of .so files in there.
Find a way to copy these files to "/data/data/com.mxtech.videoplayer.ad/lib" on your Android device (overwriting the existing ones)
Voila! You should now be able to get audio on movies with DTS sound =D
Click to expand...
Click to collapse
Here's what I have compiled for my Nexus 7.
NOTE: NO ROOT REQUIRED!!!
The attached zip file contains the files for the ffmpeg codec WITH DTS audio support (quite a few .mkv movies use this), compiled for devices that use "NEON" (some architectural enhancement in the CPU to do with floating point numbers). That means it should work with any device that has a Tegra 3 processor, and I'm sure lots of others. A few quick Google searches should reveal information about your phone's processor. Here's how to get the codec working:
Extract the contents of the .zip somewhere on your device - take note of where the folder you extracted is.
Once this is done, from MX Player, go to Settings -> Decoder -> Custom Codec
Locate the folder you extracted, select it and hit OK. Once MX Player restarts, it should work.
Remember, your device's CPU must have "NEON". I'll compile ffmpeg for other platforms within the next few days for compatibility with other devices.
More codecs on the way
micah197 said:
Thanks heaps, dylanh333, that's really really helpful. Really sucks that it got removed because of the legal troubles, but now that I've got it back I'm really pleased! There're a lot of people who would benefit from your compiling of that brilliant custom codec, you might want to go post in http://forum.xda-developers.com/showthread.php?t=1831111 to let people there know that it is possible to go back to MX Player with DTS now. Again, thanks!
Click to expand...
Click to collapse
Thanks for the thanks =D
I shall have the codec compiled for more platforms tonight, so those who are using Samsung phones with a different processor and get really laggy video should see an improvement with a codec compiled for your phone's processor. Once this is done I'll also post a link to this thread in the one you suggested. It feels good to already be appreciated after just joining XDA Developers.
Ffmpeg codecs, all of them!
I have now compiled ffmpeg for several different platforms. Your device is likely to have a processor that is either:
A Tegra 2
Uses NEON (the Tegra 3 and a lot of newer processors use this)
Is an ARMv6 compliant processor with vfp (older phones)
Is an ARMv6 compliant processor (older phones)
Is an ARMv5 compliant processor (very old phones)
Is an x86 compliant processor
Is a MIPS compliant processor
A quick Google search of your device should reveal what processor it has, and another Google search should reveal information about the processor. Once you know which one of these categories your device fits, copy and extract the corresponding zip to your device, and take note of its location. Now open up MX Player, go to Settings -> Decoder -> Custom Codec, and once inside the folder you extracted, hit OK. After MX Player has restarted, MX Player will not only have support for DTS audio, but a few other codecs as well that were explicitly disabled by the developer.
Great!!!:good:
Thanks a lotttt. This is awesome
Sent from my GT-I9103 using xda app-developers app
Ohh My God!!!
I love you dylanh333. You saved my life. Went to a lot different forums, they got the lbffmpeg or something like that, still didnt play audios DTS with my Galaxy S3. All i could find was for Arm's processors and neon, no tegra builds. Always it was like"if you dont see your processor here, compile it and do your own custom build". I found you finally and not only my tegra2 processor but the most common ones as well. Good guy greg man lol. Thanks for everything
dylanh333 said:
I have now compiled ffmpeg for several different platforms. Your device is likely to have a processor that is either:
A Tegra 2
Uses NEON (the Tegra 3 and a lot of newer processors use this)
Is an ARMv6 compliant processor with vfp (older phones)
Is an ARMv6 compliant processor (older phones)
Is an ARMv5 compliant processor (very old phones)
Is an x86 compliant processor
Is a MIPS compliant processor
A quick Google search of your device should reveal what processor it has, and another Google search should reveal information about the processor. Once you know which one of these categories your device fits, copy and extract the corresponding zip to your device, and take note of its location. Now open up MX Player, go to Settings -> Decoder -> Custom Codec, and once inside the folder you extracted, hit OK. After MX Player has restarted, MX Player will not only have support for DTS audio, but a few other codecs as well that were explicitly disabled by the developer.
Click to expand...
Click to collapse
I think ffmpeg codecs use sw decoding. Have you seen any lag with 5.1?
Sent from my GT-I9103 using xda app-developers app
my phone (Huawei U8800) has an ARMv7 instruction set, so which one should i download then?
tia..

G box midnight

Can someone who currently owns one give a summary on the product such as pros and cons?
Sent from my HTC One X using xda premium
pjcanales said:
Can someone who currently owns one give a summary on the product such as pros and cons?
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
I just ordered one today from ebay. I like the specs and I can't wait to get it and hook it up. I already run XBMC on a windows HTPC in my living room and LOVE it. The G Box Midnight has an "official" web page here: http://androidtvbox.us/ They have firmware updates in the downloads section.
Now, once I get the device, I will update this thread with my findings. If anyone else has one already, I would love to hear from you.
android review: http://www.totalhtpc.com/g-box-midnight-android-review/
My new G Box Midnight.
Alright, I got my G Box Midnight in the mail yesterday. It came loaded with the newest version of firmware that is on the androidtvbox.us web site. Just in case, I downloaded the latest ROOTED verson and followed the steps to load that version on it. (I like to start from scratch anyways) Once that was loaded and rebooted, the first thing I did was reinstall XBMC for android RC2 (latest revision) then connected it to my network via the wifi. I loaded a couple of add ons for XBMC and tested out "icefilms". It was very choppy. and the voice did not sync with the video. I turned on the eth port and re-tested... same results.
I loaded a few movies onto a thumb drive and ran them through XBMC... same performance... very choppy video and the sound was out of sync. Why would this be? It is from a local usb drive. I loaded the movies into the media center that comes preloaded with the box, and the video played rather smooth. not 100% but close to 98%.
I installed setcpu and checked the CPU settings of the stock kernel. It only allows up to 1Ghz max. So I set it to 1Ghz max and 7 hundred something min and set the governer to "performance". It did not make any difference in the performance of XBMC. It is still very choppy no matter what I do to "up the performance" of the box.
I installed HBO Go from the play store and signed into my account. It is a little slugish to get going, and once I selected a movie to stream, the video was ok, (watchable) but the sound was a little off. (not as bad as XBMC though)
Click here to see a short video I took of the HBO Go performance.
So, from what I found, the box works pretty well when playing video files from usb via the media center app that comes with the box, but XBMC still needs a lot of work to stream movies/videos from the web as well as through a usb drive. I hope they work the bugs out of XBMC for Android soon. Like I said in my previous post, I have XBMC (ver 11.0) running on a HTPC (windows 7) in my living room and it works awesome.
All in all, I give this box a 6.5 out of 10. Once they work the bugs out of XBMC it will be a lot better.
[Update]
Upon reading through the XBMC and XDA forums about the G Box Midnight, I ended up downloading the XBMC v.12 Alpha 6 Pivos apk and sideloaded it. Now, there is no issue with playing all media files from USB drive... and the only issue I have had so far with the icefilms add-on is it gives me a script error when trying to open any media file. Other add-ons seem to work almost flawless. Now if they could only combine the 2 versions of XBMC into 1 working version... this little box would be perfect. (XBMC RC2 for Android is very choppy, but the add-ons seem to work... and the Alpha 6 for Pivos works very well, except for the script errors with the add-ons)
If you have the same issue I have with XBMC, and want to try the alpha 6 version... here is the download link: XBMC v.12 Alpha 6 Pivos
[edit] 1/14/2013
gbox just came out with a new rom here for the version 2.1 and 2.2 boxes. (I have the 2.2 version) that new rom mixed with XBMC RC3 and this box is now running at 99% perfect. I'm still getting some script errors with add-ons (icefilms) but I don't think that is the box or XBMC. (a lot of other add-ons work just fine) I would LOVE to see someone build a kernel for this box, maybe just to streamline it a bit and give us a little tweaking of the cpu... but that is for another post.
2VULGAR said:
Alright, I got my G Box Midnight in the mail yesterday. It came loaded with the newest version of firmware that is on the androidtvbox.us web site. Just in case, I downloaded the latest ROOTED verson and followed the steps to load that version on it. (I like to start from scratch anyways) Once that was loaded and rebooted, the first thing I did was reinstall XBMC for android RC2 (latest revision) then connected it to my network via the wifi. I loaded a couple of add ons for XBMC and tested out "icefilms". It was very choppy. and the voice did not sync with the video. I turned on the eth port and re-tested... same results.
I loaded a few movies onto a thumb drive and ran them through XBMC... same performance... very choppy video and the sound was out of sync. Why would this be? It is from a local usb drive. I loaded the movies into the media center that comes preloaded with the box, and the video played rather smooth. not 100% but close to 98%.
I installed setcpu and checked the CPU settings of the stock kernel. It only allows up to 1Ghz max. So I set it to 1Ghz max and 7 hundred something min and set the governer to "performance". It did not make any difference in the performance of XBMC. It is still very choppy no matter what I do to "up the performance" of the box.
I installed HBO Go from the play store and signed into my account. It is a little slugish to get going, and once I selected a movie to stream, the video was ok, (watchable) but the sound was a little off. (not as bad as XBMC though)
Click here to see a short video I took of the HBO Go performance.
So, from what I found, the box works pretty well when playing video files from usb via the media center app that comes with the box, but XBMC still needs a lot of work to stream movies/videos from the web as well as through a usb drive. I hope they work the bugs out of XBMC for Android soon. Like I said in my previous post, I have XBMC (ver 11.0) running on a HTPC (windows 7) in my living room and it works awesome.
All in all, I give this box a 6.5 out of 10. Once they work the bugs out of XBMC it will be a lot better.
[Update]
Upon reading through the XBMC and XDA forums about the G Box Midnight, I ended up downloading the XBMC v.12 Alpha 6 Pivos apk and sideloaded it. Now, there is no issue with playing all media files from USB drive... and the only issue I have had so far with the icefilms add-on is it gives me a script error when trying to open any media file. Other add-ons seem to work almost flawless. Now if they could only combine the 2 versions of XBMC into 1 working version... this little box would be perfect. (XBMC RC2 for Android is very choppy, but the add-ons seem to work... and the Alpha 6 for Pivos works very well, except for the script errors with the add-ons)
If you have the same issue I have with XBMC, and want to try the alpha 6 version... here is the download link: XBMC v.12 Alpha 6 Pivos
[edit] 1/14/2013
gbox just came out with a new rom here for the version 2.1 and 2.2 boxes. (I have the 2.2 version) that new rom mixed with XBMC RC3 and this box is now running at 99% perfect. I'm still getting some script errors with add-ons (icefilms) but I don't think that is the box or XBMC. (a lot of other add-ons work just fine) I would LOVE to see someone build a kernel for this box, maybe just to streamline it a bit and give us a little tweaking of the cpu... but that is for another post.
Click to expand...
Click to collapse
what about navi-x?
have you tried that add-on?
Why didnt you read the forum ?
The best working stable release is 12-04-12.
XBMC 12a6 is pretty out-dated. Best results come from the XBMC RC2 mattburris build.
Most add-on delays/problems are related to an outdated librtmp.so and can be replaced by the latest version.
And if you are going for max perfomance XBMC only solution, install the update from Static over a clean 12-04-12.
Last but not least, kernel tweaking does not make sence on the box as it does not run on the full 1.5 Ghz related to the lack of a good heatsink/fan. Im not saying that it isnt welcome, but the problems are mostly related to really bad firmware and the very young releases of XBMC for Android.
Most plugins work on the barebone release, incl. navi,ice,1ch,xot
Have fun
g-box midnight
I bought one to use as a media center for my friends and I. I use a 1tb seagate external and it holds all of the movies and show I wish to play. XBMC has played just about every file I have thrown at it pretty flawlessly
MnCC said:
Why didnt you read the forum ?
The best working stable release is 12-04-12.
XBMC 12a6 is pretty out-dated. Best results come from the XBMC RC2 mattburris build.
Most add-on delays/problems are related to an outdated librtmp.so and can be replaced by the latest version.
And if you are going for max perfomance XBMC only solution, install the update from Static over a clean 12-04-12.
Last but not least, kernel tweaking does not make sence on the box as it does not run on the full 1.5 Ghz related to the lack of a good heatsink/fan. Im not saying that it isnt welcome, but the problems are mostly related to really bad firmware and the very young releases of XBMC for Android.
Most plugins work on the barebone release, incl. navi,ice,1ch,xot
Have fun
Click to expand...
Click to collapse
MnCC,
When I started my post, there were very limited posts about this specific device in the forums, and in those limited posts, people were asking for owners to chime in with their 2 cents.
My g-box came with the 12-04-12 firmware version and with XBMC R2 loaded and it performed very poorly. Once the latest release of firmware and RC3 came out, only then did it start to run as I expected. The only reason I backrev'd to XMBC 12a6 was because other users posted in the XBMC forums that this was a lot smoother then RC2.
I am planning on using my g-box for other android apps, like hbo to go and max to go... so installing the xbmc-barebone-android-v0-1a-ultra-slim-ultra-fast firmware/rom is not an option for me, but others might go for it. Thank you for posting that link.
G-Box
Guys, is this device worth buying? What are the pros and cons of it?
Can't find external hard disk in XBMC -Help please!
Hi guys,
I installed the latest version of xbmc on my G-Box midnight with the croniccorey firmware release. It all installed fine, but when I go to add my hard drive through 'add files' it doesn't have any external storage option. Another thread said to 'add from zip file' but no matter what I go into, I can find the 'SDA1' option.
I'm stuck, all help will be much appreciated!!!
-mcphersonlachy
Link to Root Tutorial?
I have Just Purchased the Mx2 From Amazon and was curious if it was possible to Boot load a rooted loader in order to Use the Sixaxis Controller app from google play Emulation and my flat screen would make the G Box A much better purchase then it already is

[WIP] AndroidTV for PC

So this has been a pet project of mine for a while now, and it's finally starting to come together so I decided to post it here.
I love AndroidTV, and have a Nexus Player I really love using. When CM came out for the Nexus Player and I discovered that all it takes to make a 'regular' Android distribution an AndroidTV is a set of apps (by using the CM Leanback Gapps), I figured - why not apply this to an Android x86 build (Nexus Player is x86 too after all) and have myself an AndroidTV HTPC on my current PC?
Well, at first it didn't work because the Android 5.* builds weren't steady enough and wouldn't run on my HTPC without freezing, but once MESA (the open source driver libraries) were introduced - BAM! I got it up and running, flashed the Leanback GAPPS and.....
IT LIVES!
Almost.
When I reboot it I was greeted with the setup menu, however to my dismay - no Leanback Launcher (though I suspect it may have been due to the method I used to flash GAPPS, which is just copy over all the files through ADB), and also video playback currently doesn't work (which I understand is a problem with all Androidx86 5.* builds at the moment), but the cast receiver works (and receives casts - just can't play them because of the video playback issue) and I'm betting that with a little tweaking (or perhaps precompiling the build with the leanback gapps already baked inside) I can get all the software features (including leanback launcher) to work! For now we just have to wait for Android 5.* to mature well enough to fix video playback, but the future is promising!
I'll keep you posted with whatever I manage to come up with in the future, but I'm sure the fine devs here at XDA can beat me to it and get it working well sooner! (I'm not really a dev, just a tinkerer).
Waiting for new development
going to try and report back if i get any sucess
As there has been no development with this project, this thread is closed.

Categories

Resources