[Fixed] Support for AAC LATM Audio Codec in 5.1 - MX Player

Hi,
I use the MX Player Pro to stream recorded TV-shows as well as play live tv from my enigma2 receiver.
As I use DVB-T2 in Germany, the videos codec which is used is HEVC, that works well with the MX Player Pro.
What doesn't work is the audio of some streams and recordings.
Some channels use eac3 in 2.0 and 5.1 which works with MX Player Pro 1.8.20 and custom codec 1.8.6.
Other channels use the AAC LATM codec. In 2.0 that's no problem as well, but in 5.1 the audio is stuttering.
I already had the same problem in older versions of kodi whereas new alpha builds work flawlessly.
So I figured the problem just occurs when using an older version of ffmpeg.
So I was wondering if it was possible to use a newer version of ffmpeg for the custom codec in MX Player Pro?
Cheers

Jemus said:
Hi,
I use the MX Player Pro to stream recorded TV-shows as well as play live tv from my enigma2 receiver.
As I use DVB-T2 in Germany, the videos codec which is used is HEVC, that works well with the MX Player Pro.
What doesn't work is the audio of some streams and recordings.
Some channels use eac3 in 2.0 and 5.1 which works with MX Player Pro 1.8.20 and custom codec 1.8.6.
Other channels use the AAC LATM codec. In 2.0 that's no problem as well, but in 5.1 the audio is stuttering.
I already had the same problem in older versions of kodi whereas new alpha builds work flawlessly.
So I figured the problem just occurs when using an older version of ffmpeg.
So I was wondering if it was possible to use a newer version of ffmpeg for the custom codec in MX Player Pro?
Cheers
Click to expand...
Click to collapse
Thanks for the info. MX Player 1.9.x is almost ready. We may not be able to upgrade the FFmpeg at this moment.
we have noted down your feedback. we'll work on it in future updates to 1.9.x.

Hi,
the same problem as described by jemus.
With the DVB-T2 channels in Germany, which use the AAC LATM 5.1 codec, the audio stutters.
The latest version of KODI nightly build, however, works without problems.
And even the latest version of KMPlayer from the Playstore processed AAC LATM 5.1. without stutters.
Both kodi and kmplayer are using the ffmepg library and both are working.
By the way:
The LAV codec in Windows is also based on ffmpeg and had the same problem. This was already fixed in June in the release 0.7. The reason for the audio problem should be Program Config Elements (PCE) in the AAC stream.
Maybe these hints help in solving the problem.
It is a pity that only the MXPlayer has problems with AAC LATM 5.1.
MXPlayer is my favorite player. I therefore hope for a solution of the problem.

DVB-T2 in Germany AAC LATM 5.1 audio is stuttering. Kodi and KMPlayer has no problems
Hi,
With the DVB-T2 channels in Germany, which use the AAC LATM 5.1 codec, the audio stutters.
The latest version of KODI nightly build, however, works without problems.
And even the latest version of KMPlayer from the Playstore processed AAC LATM 5.1. without stutters.
Both kodi and kmplayer are using the ffmepg library and both are working.
By the way:
The LAV codec in Windows is also based on ffmpeg and had the same problem. This was already fixed in June in the release 0.7. The reason for the audio problem should be Program Config Elements (PCE) in the AAC stream.
Maybe these hints help in solving the problem.
It is a pity that only the MXPlayer has problems with AAC LATM 5.1.
MXPlayer is my favorite player. I therefore hope for a solution of the problem.

@Jemus @Schaefer_01
We have fixed this issue on 1.9.18.2. Currently, it's rolled out to the public beta testers. You can check it out if you are interested.

Related

No sound while playing a 1080p mkv

I have a 3.25gb 1080p mkv and I have problem playing using mx player pro.
I have tried to switch to different mode - HW, HW+ or SW, video is fine but I got no sound at all.
If I use a different player like BS Player it works perfectly.
Note: I'm using Nexus 5 w/4.4.2 kitkat + Mx player pro 1.7.28 Armv7 Neon
redjersey said:
I have a 3.25gb 1080p mkv and I have problem playing using mx player pro.
I have tried to switch to different mode - HW, HW+ or SW, video is fine but I got no sound at all.
If I use a different player like BS Player it works perfectly.
Note: I'm using Nexus 5 w/4.4.2 kitkat + Mx player pro 1.7.28 Armv7 Neon
Click to expand...
Click to collapse
Can you post the mediainfo of the file?
If it has dts audio track then you have to use custom codec.
thanks, it's dts.
I have downloaded the custom codec and now it's fine.
However, may I ask why this codec didn't include in mx player in the first place?
Also the one from the google play doesn't work. I had to use this:
http://forum.xda-developers.com/apps/mx-player/mx-player-custom-codec-dts-support-t2156254
redjersey said:
thanks, it's dts.
I have downloaded the custom codec and now it's fine.
However, may I ask why this codec didn't include in mx player in the first place?
Also the one from the google play doesn't work. I had to use this:
http://forum.xda-developers.com/apps/mx-player/mx-player-custom-codec-dts-support-t2156254
Click to expand...
Click to collapse
The detailed answer is in the first post of the custom codec thread...!!!
In short DTS people is not ready to negotiate with SW players. So, to avoid copyright issues it's dropped from the official version.

[Bug Report][Resolved] AAC H/W decoder not working since version 1.7.33

I noticed that AAC audio with H/W audio decoder is not working since version 1.7.33 came out (no sound). Previous versions of the player worked with AAC audio. Using the previous codec (1.7.32) with the new player (1.7.33) does not solve the problem, so it's probably a problem with the new player, not with the new codec. Interestingly, with the new player (version 1.7.33) the S/W decoder still works with AAC audio.
I suppose that the AAC audio H/W decoder shouldn't have been affected by the licensing problems with AC3, so it's probably a bug. Am I wrong?
Really strange, most of my videos have aac audio and they are all working fine with lastest version.
Which device are you using?
HTC One X, Android 4.2.2, HTC Sense 5.0.
Audio tracks, according to MX Player properties tab, in all videos with problems, are reported as AAC 32000Hz, Stereo, 96kbps. Again, they work with the S/W decoder but not with the H/W decoder, but before 1.7.33 there was no problem with the H/W decoder.
palbuq said:
HTC One X, Android 4.2.2, HTC Sense 5.0.
Audio tracks, according to MX Player properties tab, in all videos with problems, are reported as AAC 32000Hz, Stereo, 96kbps. Again, they work with the S/W decoder but not with the H/W decoder, but before 1.7.33 there was no problem with the H/W decoder.
Click to expand...
Click to collapse
@palbuq Would you try latest test build?
Also try after checking off Settings > Decoder > HW+ audio on SW video.
Hi, I downloaded and installed the latest test build but I cannot pass through the pop-up screen that asks for the 1.7.34 version of the Tegra 3 codec.
palbuq said:
Hi, I downloaded and installed the latest test build but I cannot pass through the pop-up screen that asks for the 1.7.34 version of the Tegra 3 codec.
Click to expand...
Click to collapse
Then download tegra 3 codec!
josuearisty said:
Then download tegra 3 codec!
Click to expand...
Click to collapse
I did it but it doesn't work. I downloaded the latest codec when redirected to Play and yet the player remains stuck on the pop-up screen because it says that the codec isn't version 1.7.34. Putting the "unofficial" codec (1.7.32) in the "Download" directory also doesn't help: MX Player stays stuck in the pop-up screen and never reaches and "manually" loads older codecs in the SD card. It needs to have first a current codec (1.7.34) in order to load an older one.
But maybe you know where I can find a "1.7.34" codec, I couldn't find it on the developer's site: xxxxx://sites.google.com/site/mxvpen/translation/test-build (replace xxxxx with https).
By the way, I tested both local files and networked files to see if this make a difference (as reported in http://forum.xda-developers.com/apps/mx-player/bug-stream-audio-s-decoder-forced-1-7-34-t2956211) but AAC audio is missing with the audio H/W decoder in both cases.
palbuq said:
By the way, I tested both local files and networked files to see if this make a difference (as reported in http://forum.xda-developers.com/apps/mx-player/bug-stream-audio-s-decoder-forced-1-7-34-t2956211) but AAC audio is missing with the audio H/W decoder in both cases.
Click to expand...
Click to collapse
Yes, you are right. I Checked again and noticed my local file audio codec is AC-3 and not AAC. So the problem is AAC audio codec. My device is nexus 10 running android lollipop.
Problem has been solved with version 1.7.34 without the need of any special setting, thanks for fixing it!

SHIELD - MX player - AC3 cannot play even after internet recommended fix

When MX player lost its support to play AC3 audio I have found on the internet instructions how to fix it. I downloaded the AIO 1.7.32 codec package zip and set the MX player to use them. Despite this fix the problem still persists. (I think tegra 4 is not supported with this codec package)
Using this codec package Shield is able to play AC3 audio only for very short period of time.
Is there any other way how to make MX player play the AC3 audio?
use vlc less problems
My MX Player works so far properly after I changed the SW codec to HW+ one (I also use the AC3 external codec package) . There are also setting for SW/HW audio codec, just play with it.

[Feature Request] AC3/DTS Passthrough

Hi !
In France , an ISP called FREE released a new TV BOX which is called the Freebox Mini 4K.
This box runs Android TV .
It has a Broadcom BCM7252 Brahma15 dual-core 1.5Ghz SOC .
Many users have installed Kodi but there have some problems .
Many users use MXPlayer because it is the best player on this Android Box, it is on the AndroidTV Play Store and it has the best video quality. But however KODI works with HDMI and S/PDIF passtrough in AC3 / DTS .
Is it possible to have this option with MxPlayer ?
Can anyone assist in the French community? = D
hi, i have the same problem here:
with the new Sony Android TV, i think that MX Player it's the only way to play videos on that tv (VLC actually sucks), but there's that problem with DTS encoding!
Can mx player developers fix it? :good:
Same here in the US. The default plex player does not support mkv, so I have to use mx player pro. Unfortunately MX player pro does not give me the ability to pass through audio! My receiver can decode DTS, Dolby, etc I just need the player to do audio passthrough!
v 1.7.40 can do this. My device have native support for ac3/dts but with 1.8.1 MX refuse to play ac3. Damn it
Hmm @sumantaadk I assume that when it previously worked, you were using HW, and not HW+ ?
@ everyone else, I assume you have already tried the custom audio codec? MX by itself does not support DTS.
CDB-Man said:
Hmm @sumantaadk I assume that when it previously worked, you were using HW, and not HW+ ?
@ everyone else, I assume you have already tried the custom audio codec? MX by itself does not support DTS.
Click to expand...
Click to collapse
My device only support sw decoder for the video I have. I still can play ac3/dts with previous version but the beta completely remove the possibility. I think developer removed support due to copyright issue. So the current issue is bug or because of copyright?
AC3/DTS was support was removed by default due to copyright, yes; that's one of the main reasons to use the custom codec.
I would have thought that if you use HW and passthru to Android media framework to use the device's native render, that this method would have allowed for DTS...
sumantaadk said:
v 1.7.40 can do this. My device have native support for ac3/dts but with 1.8.1 MX refuse to play ac3. Damn it
Click to expand...
Click to collapse
sumantaadk said:
My device only support sw decoder for the video I have. I still can play ac3/dts with previous version but the beta completely remove the possibility. I think developer removed support due to copyright issue. So the current issue is bug or because of copyright?
Click to expand...
Click to collapse
Beacuse, you are using old custom codecs. If you want to play dts or ac3 you must use the custom codec compiled for the specific version of the player. After the update, if the old codec is found as incompatible it will be automatically unloaded. MX Player 1.8.x needs custom codec version 1.8.0.
Sent from my SM-G900H using Tapatalk
ktsamy said:
Beacuse, you are using old custom codecs. If you want to play dts or ac3 you must use the custom codec compiled for the specific version of the player. After the update, if the old codec is found as incompatible it will be automatically unloaded. MX Player 1.8.x needs custom codec version 1.8.0.
Sent from my SM-G900H using Tapatalk
Click to expand...
Click to collapse
Sorry but I am not using any custom codec. I am using unofficial cm11 which have inbuilt support for ac3/dts. I have clean MX player. Current market version support both ac3/dts.
sumantaadk said:
Sorry but I am not using any custom codec. I am using unofficial cm11 which have inbuilt support for ac3/dts. I have clean MX player. Current market version support both ac3/dts.
Click to expand...
Click to collapse
Can you play videos with dts/ac3 tracks in HW decoder?
Sent from my SM-G900H using Tapatalk
---------- Post added at 06:32 PM ---------- Previous post was at 06:29 PM ----------
Make sure that you have enabled HW+ audio on SW video.
HW+ is broken in 1.8.x on some devices according the beta page. If HW+ is broken in your device, you may not be get the audio.
Sent from my SM-G900H using Tapatalk
ktsamy said:
Can you play videos with dts/ac3 tracks in HW decoder?
Sent from my SM-G900H using Tapatalk
---------- Post added at 06:32 PM ---------- Previous post was at 06:29 PM ----------
Make sure that you have enabled HW+ audio on SW video.
HW+ is broken in 1.8.x on some devices according the beta page. If HW+ is broken in your device, you may not be get the audio.
Sent from my SM-G900H using Tapatalk
Click to expand...
Click to collapse
Yes. MX Play ac3 with hw decoder. I rarely use ac3 content so that's not the big deal for me. All other formats are suppoted with hw+ or sw.
sumantaadk said:
Yes. MX Play ac3 with hw decoder. I rarely use ac3 content so that's not the big deal for me. All other formats are suppoted with hw+ or sw.
Click to expand...
Click to collapse
Can you upload logs..?
Sent from my SM-G900H using Tapatalk
ktsamy said:
Can you upload logs..?
Sent from my SM-G900H using Tapatalk
Click to expand...
Click to collapse
Audio is auto disabled by MX in HW+
Hi, I found this old thread by searching DTS / AC3 Passthrough. So is this feature active in Mx Player pro. I have the 1.7 version with custom codec, and when I play DTS or AC3 file, the audio is automaticly converted by MX player into a 5.1 output, if I select a 5.1 preset on my AVR I can here 5.1 sound, but I would like to have the audio be direct stream to my AVR, and AC3/DTS be converted by my AVR.
virtual_francky said:
Hi, I found this old thread by searching DTS / AC3 Passthrough. So is this feature active in Mx Player pro. I have the 1.7 version with custom codec, and when I play DTS or AC3 file, the audio is automaticly converted by MX player into a 5.1 output, if I select a 5.1 preset on my AVR I can here 5.1 sound, but I would like to have the audio be direct stream to my AVR, and AC3/DTS be converted by my AVR.
Click to expand...
Click to collapse
Use HW decoder without custom codec. It will pass the audio stream to the audio receiver. If your receiver has dts/ac3 decoder, it will play true 5.1 channel (or whatever) present in the audio stream.
Sent from my SM-G900H using Tapatalk
Thank you for your answer it seems to work perfectly with HW, I have to try with HW+ to see if it works too.
virtual_francky said:
Thank you for your answer it seems to work perfectly with HW, I have to try with HW+ to see if it works too.
Click to expand...
Click to collapse
It won't work with HW+ or SW currently. Probably it may be possible in the next version 1.9.0
Sent from my SM-G900H using Tapatalk
Ok, thank you for your help, and lets wait for the next version.
hello, i found the info in this thread very useful thanks. However i wasnt able to quite get everything working so i was hoping someone might confirm i am doing everything right.
i'm using mx player on a nvidia shield to play a stream of h.264 video and Dolby Digital audio, its from my tv server. i want to pass through the audio to my avr which can handle this and looking at posts above i need to use the hw decoder without the custom codec. unfortunately i get no video with the hw decoder. with both the software and hw+ decoders i get video and then with a custom codec i get audio but its downmixed.
is the hd+ decoder with custom codec and downmixed audio the best i can expect for now and is it likely that the 1.9 release mentioned may fix this?
thanks!

Mx player Passthrough audio in Android TV

After update my MX player to 1.9.3 on my sony Android TV I saw new option in change logs Passthrough audio but when I am using MX player for playing AAC 5.1 and AC3 5.1 movie sound through my Sony HT- IV 300 home theater the output still stereo not in surround so how to use Passthrough in MX player or is it any issue to Passthrough audio in Android tv version
x.yadav said:
After update my MX player to 1.9.3 on my sony Android TV I saw new option in change logs Passthrough audio but when I am using MX player for playing AAC 5.1 and AC3 5.1 movie sound through my Sony HT- IV 300 home theater the output still stereo not in surround so how to use Passthrough in MX player or is it any issue to Passthrough audio in Android tv version
Click to expand...
Click to collapse
AAC audio pass through is not supported at the moment.
But, ac3 should work. If you have custom codecs, kindly remove it & check again.
Thirumalai.K said:
AAC audio pass through is not supported at the moment.
But, ac3 should work. If you have custom codecs, kindly remove it & check again.
Click to expand...
Click to collapse
Is it coming in future AAC and DTS
x.yadav said:
Is it coming in future AAC and DTS
Click to expand...
Click to collapse
DTS audio track is already passed through HDMI if the target device support DTS decoding.
Thirumalai.K said:
DTS audio track is already passed through HDMI if the target device support DTS decoding.
Click to expand...
Click to collapse
Ok I will test them
Thirumalai.K said:
DTS audio track is already passed through HDMI if the target device support DTS decoding.
Click to expand...
Click to collapse
I tested both DTS and AC3 sound file through my home theater via HDMI and my system support both DTS and AC3 decoding I have Sony HT - IV 300 home theater system , I think it's Passthrough problem currently I am using MX player 1.9.5 version and I am sending you my home theater picture
x.yadav said:
I tested both DTS and AC3 sound file through my home theater via HDMI and my system support both DTS and AC3 decoding I have Sony HT - IV 300 home theater system , I think it's Passthrough problem currently I am using MX player 1.9.5 version and I am sending you my home theater picture
Click to expand...
Click to collapse
Pass through will be done only when there is no system or internal decoders.
Are you using any custom codecs? If you are using any custom codecs, audio won't be passed through as there is a FFmpeg side decoder. If you are not using any custom codecs, probably your system itself has support for ac3/dts.
Anyway, It will be improved in future.
Thirumalai.K said:
Pass through will be done only when there is no system or internal decoders.
Are you using any custom codecs? If you are using any custom codecs, audio won't be passed through as there is a FFmpeg side decoder. If you are not using any custom codecs, probably your system itself has support for ac3/dts.
Anyway, It will be improved in future.
Click to expand...
Click to collapse
No I am not use any custom codecs Kodi Passthrough all sound perfectly like AAC AC3 only MX player and VLC have problem in Passthrough audio through PCM
Sorry for compare MX with Kodi but it's true
I test HW can Passthrough sound , but HW+ can't Passthrough sound...
This is the official forum of MX Player. Promoting or Recommending any unofficial versions are strictly not allowed to be posted & it is against the forum rules.
Be aware that using a pirated/modified version is not only illegal, you are also risking your personal data, privacy and you will miss all the important security, performances improvements.
Thread cleaned. As already said above, discussing and requesting modified/pirated version is forbidden.
Thirumalai.K said:
Pass through will be done only when there is no system or internal decoders.
Are you using any custom codecs? If you are using any custom codecs, audio won't be passed through as there is a FFmpeg side decoder. If you are not using any custom codecs, probably your system itself has support for ac3/dts.
Anyway, It will be improved in future.
Click to expand...
Click to collapse
Hello
We are November 2021, and the problem remains. I have a Sony XR65A90J and while the native Sony video player sends 5.1, MX Player sends only 2.0 for the same files obviously.
Please help

Categories

Resources