FORUMS

Make Your Network Smart – XDA Xposed Tuesday

We rave about the features and abilities of our smartphones. However, in order for … more

Dr.Ketan Brings The S6 Theme Store To The Note 4

Dr.Ketan has submitted a video to the forums showing a functional port of the Galaxy S6 … more

Do You Have Insurance on Your Smartphone?

While affordable smartphones are becoming more available, the majority of high-end flagships … more

Apple Music Will Increase iTunes Match to 100,000 Songs

The battle for music streaming subscription dominance is starting to really heat … more

MX Player Custom Codec with DTS & AC3 Support

816 posts
Thanks Meter: 2,533
 
By ktsamy, Senior Member on 19th February 2013, 07:53 PM
Post Reply Subscribe to Thread Email Thread
Announcement from ktsamy: Android M users kindly update your custom codec to 1.7.32 (Rev 1) . Others can still use 1.7.32
Update: New Codecs ("1.7.32 rev 1") are uploaded....!
"Android M" users must update it to "1.7.32 rev 1". It will fix some important issues related to Android M.
For others it's optional. You can continue to use old codec ( 1.7.32 ).
It's fully compatible with the latest MX Player 1.7.40
About this project:
In Recent version of MX Player DTS & DOLBY audio codec supports are removed from the official MX-Player. If your video has dts/dtshd/ac3/eac3/mlp audio tracks it won't play any audio. Only video will be played.

So, I have re-compiled the ffmpeg sources with DTS/DOLBY audio support for our MX-Player lovers.....!!!
Note:
DTS/DOLBY Support doesn't meant that you will get true multichannel audio output. In MX Player it will be downsampled to 2.0 (stereo) since Android doesn't support multichannel audio output

Announcement:
Now this project is migrated to XDA-DevDB. You can download the codec files from download tab. For mobile users I will provide the direct links in this post as well. You can follow the project by clicking on Follow button or Click here. The followers will get the notification whenever the new version is updated.

See the Second Post for the Instructions & Download Links
(The Codec loading method has been changed. Please Read the Instructions before report..!!)
Disclaimer:
These Custom Codecs are compiled from FFmpeg Source Codes used in MX Player which is licensed under GNU Lesser General Public License (LGPL) version 2.1 or later. MX Player ffmpeg source codes can be found here

XDA:DevDB Information
MX Player Custom Codec, Tool/Utility for the Android General

Contributors
ktsamy

Version Information
Status: Stable
Current Stable Version: 1.7.32r1
Stable Release Date: 2015-06-07

Created 2013-10-04
Last Updated 2015-06-07
Last edited by ktsamy; 19th June 2015 at 01:22 AM.
The Following 1,090 Users Say Thank You to ktsamy For This Useful Post: [ View ]
 
 
19th February 2013, 07:53 PM |#2  
ktsamy's Avatar
OP Senior Member
Thanks Meter: 2,533
 
More
Instructions
Instructions:
Downloading:
Download one of the following codec according to your platform as mentioned in the player (Go to Settings 》 Decoder 》Custom Codec. Codec required is usually mentioned there). If you are not sure then download the all in one pack (AIO)
  1. Arm v7-Neon
  2. Arm v7-Tegra3
  3. Arm v7-Tegra2
  4. Arm v6 VFP
  5. Arm v6
  6. Arm v5TE
  7. x86
  8. MIPS
  9. AIO Pack
Installing:

Method : I
  1. Keep the downloaded zip file in the root of your Internal memory or In downloads folder
  2. Open MX Player
  3. If compatible codec found, MX Player will automatically ask for the confirmation to use it as custom codec
    Click image for larger version

Name:	Screenshot_2014-11-26-15-07-17.png
Views:	156774
Size:	88.7 KB
ID:	3034816
  4. If you press OK, MX Player will restart & Load the custom Codec
  5. Once it restarts, from Options Goto Help About. check whether the codec is loaded or not. If Custom Codec is loaded, it will show the platform & custom codec version below the MXPlayer version info.
    Click image for larger version

Name:	Screenshot_2014-11-26-15-07-32.png
Views:	146068
Size:	89.9 KB
ID:	3034817
Method II:
  1. Open MX Player on your device.
  2. Go to Settings 》 Decoder 》 Custom Codec
  3. Navigate into the folder you have saved the file. It will show the downloaded zip file.
  4. Select the zip file. If you have selected the right zip file MX Player will Automatically restarts else it will revert with error ("Can't find custom codec for this version"). If you have multiple codecs in a single file (AIO version), it will automatically load the right codec for your device
  5. Once it restarts, from Options Goto Help About. check whether the codec is loaded or not. If Custom Codec is loaded, it will show the platform & custom codec version below the MXPlayer version info.
    Click image for larger version

Name:	Screenshot_2014-11-26-15-07-32.png
Views:	146068
Size:	89.9 KB
ID:	3034817
Usage:

In H/W decoder:

If you want to play DTS while using HW decoder, goto Settings 》 Decoder & Enable software audio. By this the Video will be rendered by H/W decoder and audio will be rendered by S/W decoder. (If you want to use it for only particular files when you playing the video, press on audio selection button & Enable S/W audio. S/W audio will be used temporarily for that file.)

In H/W+ & S/W Decoders:
There is no special setting is required

Disclaimer:
These Custom Codecs are compiled from FFmpeg Source Codes used in MX Player which is licensed under GNU Lesser General Public License (LGPL) version 2.1 or later. MX Player ffmpeg source codes can be found here
Last edited by ktsamy; 7th June 2015 at 06:23 AM.
The Following 307 Users Say Thank You to ktsamy For This Useful Post: [ View ]
19th February 2013, 07:53 PM |#3  
ktsamy's Avatar
OP Senior Member
Thanks Meter: 2,533
 
More
From 1.7.29 onwards, custom codec file naming is about to be changed as followings:
libffmpeg.mx.so.CPUID.Version
Eg: libffmpeg.mx.so.neon.1.7.29

Note:
The custom codec file name is standardised for compatibility checking.
So, Don't change the file name inside the zip file. Else it will break the compatibility & won't be loaded by the player..!!!
Kindly note that codec version and MX Player version may not be same. Sometimes MX Player will be upgraded without upgrading codec. The minimum required version will be directly forced by the player itself. So MX Player will check the compatibility when it's updated & Will unload automatically along with a "Obsolete Codec" warning if the custom codec update is required. So, You you can continue to use the codec till MX Player warns about the Obsolete Codec.
As usual I uploading the codec on a .zip container. But, there is no need to unzip any more. Anyhow still you can load the unzipped codec, if the name matches with the above pattern...
If you have multiple codecs in a single zip file, MX Player will automatically load the right codec for your device..
If you have any problem regarding codec, you can report here....!!
Any Problem or feature request regarding player, pls report in the official MX-Player forum here

If you want to post the attachments on your thread please hyperlink to this thread instead of posting direct download links...!!
Last edited by ktsamy; 9th August 2014 at 11:00 PM.
The Following 121 Users Say Thank You to ktsamy For This Useful Post: [ View ]
20th February 2013, 04:39 AM |#4  
N@th_OC's Avatar
Senior Member
Flag Lyon
Thanks Meter: 115
 
More
Thanks man!
I was looking for that!
The Following 4 Users Say Thank You to N@th_OC For This Useful Post: [ View ]
21st February 2013, 02:16 AM |#5  
Senior Member
Thanks Meter: 172
 
More
Thanks. Will try it.
The Following User Says Thank You to rkmiks For This Useful Post: [ View ]
23rd February 2013, 07:42 AM |#6  
hacktock's Avatar
Senior Member
Thanks Meter: 10
 
More
This is just what I was looking for. Nice work.
The Following 2 Users Say Thank You to hacktock For This Useful Post: [ View ]
23rd February 2013, 09:09 AM |#7  
Member
Thanks Meter: 11
 
More
Re: MX Player Custom Codec With DTS Support [v1.7.11]
Many thanks.

Sent from my Sensation using xda app-developers app
The Following 2 Users Say Thank You to remix_88 For This Useful Post: [ View ]
23rd February 2013, 10:19 PM |#8  
Волк's Avatar
Senior Member
San Francisco
Thanks Meter: 541
 
Donate to Me
More
Great, thanks a ton!
The Following 4 Users Say Thank You to Волк For This Useful Post: [ View ]
24th February 2013, 07:44 AM |#9  
Senior Member
Flag HEART
Thanks Meter: 222
 
More
Thumbs up
Watch the movies in mx player 1080p mkv format with DTS audio and 5.1 audio track.My mobile is moto defy arm v7 1.1GHz
The Following 3 Users Say Thank You to ela1103 For This Useful Post: [ View ]
25th February 2013, 05:15 PM |#10  
Senior Member
Thanks Meter: 22
 
More
Exclamation new version
Unfortunately Ive just installed new 1.7.12..... so not working..... Wait for ktsamy
The Following 7 Users Say Thank You to maysider For This Useful Post: [ View ]
Post Reply Subscribe to Thread

Tags
mxplayer custom codec dts ffmpeg
Previous Thread Next Thread