[Q] Cant change audio track in HW mode - MX Player

Cant change audio track in HW mode
When playing an mkv file with two audio tracks when using HW mode
the player does not actually change audio track even though the new audio track is selected
why is this?
when using HW+ mode changing audio tracks works fine
though HW+ does have its own problems
Playback can suddenly stop at certain points of a video
(I have a mkv video that stops in the exact same place when using HW+)
Seeking does not work( ie cant jump to half way though the video)
when you enable SW for audio there are jumps in the video and the audio drops in and out
after a short while the audio stops dropping in and out and the video stops droping frames but then the video and audio are
out of sync
Hopefully these problems will be fixed soon, as aside from these issues MX Player is awesome!
happy with MX Player Pro purchase
I would like to help improve MX Player,
can we send in logs to help improve MX Player?

RetroMatto said:
Cant change audio track in HW mode
When playing an mkv file with two audio tracks when using HW mode
the player does not actually change audio track even though the new audio track is selected
why is this?
when using HW+ mode changing audio tracks works fine
though HW+ does have its own problems
Playback can suddenly stop at certain points of a video
(I have a mkv video that stops in the exact same place when using HW+)
Seeking does not work( ie cant jump to half way though the video)
when using HW for video and SW for audio there a jumps in the video(losing frames???)
Hopefully these problems will be fixed soon, as aside from these issues MX Player is awesome!
happy with MX Player Pro purchase
I would like to help improve MX Player,
can we send in logs to help improve MX Player?
Click to expand...
Click to collapse
Try SW audio decoder, this option is below the audio track selection window.

bleu8888 said:
Try SW audio decoder, this option is below the audio track selection window.
Click to expand...
Click to collapse
I have tried that but the video and audio lose sync

RetroMatto said:
I have tried that but the video and audio lose sync
Click to expand...
Click to collapse
What's your device model name and ROM version?
And would you share your video having this issue?

bleu8888 said:
What's your device model name and ROM version?
And would you share your video having this issue?
Click to expand...
Click to collapse
I am using a Minix NEO-X8H-PLUS (MBX NEO-X8H-PLUS)
with Android 4.4.2 Kernal version is 3.10.33
build number is KOT49H.20141122 release-keys
The files I am using are around 4gb, how would I get them too you?

RetroMatto said:
I am using a Minix NEO-X8H-PLUS (MBX NEO-X8H-PLUS)
with Android 4.4.2 Kernal version is 3.10.33
build number is KOT49H.20141122 release-keys
The files I am using are around 4gb, how would I get them too you?
Click to expand...
Click to collapse
I will try to test on your device first.
Thanks for the info.

bleu8888 said:
I will try to test on your device first.
Thanks for the info.
Click to expand...
Click to collapse
Thanks

Try to Uninstall the Player
Can you just uninstall the MX player and try install this again , might be well help you .

Same issue on Xiaomi Mi5: SW and HW+ options don't work, in HW mode changing audio track does nothing.

Related

[Q] Video never starts playing

I just purchased MX Player Pro from the Google Play store and have v1.7.40 (neon)installed on my Nexus 6. Since I have a lot of video files with AC3 audio, I installed the custom AC3 codec found here on XDA (automatic restart applied). After that, I configured MX Player Pro to use HW+ decoding and failover to HW decoding.
I can't seem to get videos to play at all. I open a video and it sits there like it's on pause. I've tried multiple video files and get the same result. Most are x.264, one is x.265. I've tried changing it to HW decoding as well as SW decoding but get the same result. I've force stopped the app and tried again after clearing the app data and telling it NOT to use the custom codec but still get the same result. Am I doing something wrong? I really like MX Player Pro but I'm going to need to refund it if I can't get it to work.
EDIT: On some videos that I start, if I manually fast forward, I don't see any video at all. On the x.265 video, I can manually fast forward and see the video frame of where it's at in the timeline but it just never plays.
END EDIT
On a side note, after launching MX Player Pro for the first time, I was not prompted to install the codec package so I installed it manually.
Thanks so much to anyone who takes the time to read this and/or assist with this matter.
Well, assuming by "codec package" you mean the ARMv7 Codec package on the Play Store, you don't need these codec packages by default. On the contrary, the fact that you installed the custom codec may be what's causing the playback issue.
The Custom Codec on XDA here is purely for AC3 and DTS audio compatibility, and generally shouldn't affect video playback.
To be certain, are you using the stock Nexus 6 ROM? If yes then which build in particular?
Also, if you could collect an error log after it freezes, that would help.
How-to MX Log Collector - Error Logs
@phoney_stuff
H/W+ may cause issues with certain videos. I don't recommend it to use it as default.
Just try to start the video in S/W decoder (log press the video & from menu > play using > SW decoder.)
Don't resume if it asks.
Let me know the results.
If you still have issues, kindly collect the logs immediately after playing the video & upload here.
@CDB-Man
As you know Custom codec is same as the inbuilt ffmpeg which comes with mx player itself. But, ac3 & dts support is enabled. So, it may not be the issue.
Both H/W+ & S/W decoders use ffmpeg. If the issue is there in S/W it might be an issue related to ffmpeg itself.
Gentlemen,
Thanks for the reply!
I'm running stock Android 5.1.1 on a non-rooted device, latest version, screenshot attached.
My first attempt was without the codec that's is available on the Play store, but with the custom AC3 codec. When that failed, I installed the codec from the Play store and got the same result. Then I tried it again after removing the custom AC3 codec (leaving the codec available from the Play store in place) and, again, got the same result. In a past experience of playing videos in MX Player with AC3 audio without the custom codec, the video would play without audio which is what I was hoping to achieve as a troubleshooting step (to see if the custom codec was causing a problem).
Currently, I have MX Player Pro installed with the codec that is available on the Play store as well as the custom codec to play AC3 audio. This is the config which we're basing our tests on as of now. Please let me know if I should remove the codec that I downloaded from the Play store. Also, I deleted the x.265 video that I mentioned in my previous post and obtained another video encoded in x.264. Regardless of this, it's important to note that I get the same result with ANY video I attempt to play. I'm attaching my loss for your review as requested. In this test, I have HW+ fully disabled in settings and SW decoding fully enabled. I also choose to start the video from the beginning rather than resume. Again, thanks so much for the help. Please let me know if there is anything else I can provide to help troubleshoot this issue.
@phoney_stuff
The issue is not with MX Player.
MX Player is not getting audio focus.
Looks like some other app is trying to keep the audio focus. That's why mx player is not playing any video.
Goto Settings > Player & Disable "Play Alone"
Then try again.
Note:
If you disable the option "Play Alone" MX Player will keeps on playing the video regardless of the status. For e.g it won't pause if you receive a call. So, best solution is that find the app that is stealing the audio focus & uninstall it or if there is any particular Settings in that app kindly adjust it.
Sent from my SM-G900H using Tapatalk
@ktsamy
That did the trick, or it could be that I'm not currently using the phone that did the trick.... or both. VIC works while I'm on the phone so I guess I was expecting MX Player to do the same.
I'm going to leave Play Alone disabled since I like the option of playing audio our video when I'm on the phone.
Would it be too much for me to request an feature (toggle-able) to have MX Player to pause when it loses audio focus?
ktsamy said:
@CDB-Man
As you know Custom codec is same as the inbuilt ffmpeg which comes with mx player itself. But, ac3 & dts support is enabled. So, it may not be the issue.
Both H/W+ & S/W decoders use ffmpeg. If the issue is there in S/W it might be an issue related to ffmpeg itself.
Click to expand...
Click to collapse
Hmm yeah, which is what I meant by:
CDB-Man said:
The Custom Codec on XDA here is purely for AC3 and DTS audio compatibility, and generally shouldn't affect video playback
Click to expand...
Click to collapse
As in, using your version shouldn't in and of itself cause playback issues! As in, the issue is likely not caused by the fact that you are using the custom codec, but probably something else!
phoney_stuff said:
Would it be too much for me to request an feature (toggle-able) to have MX Player to pause when it loses audio focus?
Click to expand...
Click to collapse
Enabling "Play Alone" does precisely just that? As in, make MX stop playing when it loses audio focus if another app plays...
@CDB-Man enabling Play Alone also prevents it from playing when it doesn't have a audio focus to begin with.
phoney_stuff said:
@CDB-Man enabling Play Alone also prevents it from playing when it doesn't have a audio focus to begin with.
Click to expand...
Click to collapse
This is what the issue is.
Just find out the app that steals/keeps audio focus. Disable it or uninstall it.
You can now play even when "Play Alone" is enabled.
This is used to pause MXPlayer when you loose audio focus (like call or notification or alarm or Playback from another player). That's why it's enabled by default.
It's not the fault of MX Player.
Sent from my SM-G900H using Tapatalk
@ktsamy
Thanks be to you, I found the app that's keeping audio focus is the phone. I like the feature of Play Alone that pauses MX Player when it loses audio focus. However, I it would also be nice if MX Player allowed me to play audio our video) while I'm currently in a call without having to toggle Play Alone on/off all of the time.

[Q] MX Player Network Stream

Hello,
I hope someone knows a solution for the following.
I am using MX player on my NVIDIA Shield TV.
And I mainly use MX player to play video files that are stored on my network disk.
I am required to use the HW+ mode to get Dolby Atmos audio working.
This is all working fine, the only thing that is not working is fast forwarding and rewinding.
When I am using the same file on a USB stick it works fine, so it seems to be a issue when playing the files with the HW+ decoder over the network.
Does someone know a solution for this ?
I already installed the customer codecs btw.
Thanks in advance !
http://forum.xda-developers.com/showpost.php?p=51915844&postcount=1
Network playback buffering in general is a known issue, not specific to any of the playback methods. The developer aims to fix it in version 1.8 whenever that's ready.
Can you collect the logs immediately after reproducing the problem & upload here.?
Sent using XDA One
ktsamy said:
Can you collect the logs immediately after reproducing the problem & upload here.?
Sent using XDA One
Click to expand...
Click to collapse
Sorry for the late reply, I was very busy with some family matters.
I made one mistake in my first post, I was using the normal HW decoder.
The HW+ decoder does fast forward and rewind, but does not give me the dolby Atmos sound I described earlier.
I don't know if this changes the situation or answer ?
I will reproduce the issue and upload the logs when I'm back home from work.
Thanks for all the help !
PS. I already tried the alpha version (1.8.0) of MX Player, but the issue persisted.
triphoenix1991 said:
Sorry for the late reply, I was very busy with some family matters.
I made one mistake in my first post, I was using the normal HW decoder.
The HW+ decoder does fast forward and rewind, but does not give me the dolby Atmos sound I described earlier.
I don't know if this changes the situation or answer ?
I will reproduce the issue and upload the logs when I'm back home from work.
Thanks for all the help !
PS. I already tried the alpha version (1.8.0) of MX Player, but the issue persisted.
Click to expand...
Click to collapse
HW uses android's native mediaplayer api.
Seems that your system doesn't have native dolby decoders. But, your audio system supports dolby decoding. In HW decoder audio might be passed to audio system. But, in H/W+ it will use system decoders to decode. So, if your device doesn't support that codec, it will use ffmpeg to decode (i.e, SW audio). If you use cutom codec you will get stereo output. Else you won't get any audio.
Only solution is to get audio pass through feature. It's expected in further minor updates to 1.8. (i.e 1.8.x).
Sent from my SM-G900H using Tapatalk
ktsamy said:
HW uses android's native mediaplayer api.
Seems that your system doesn't have native dolby decoders. But, your audio system supports dolby decoding. In HW decoder audio might be passed to audio system. But, in H/W+ it will use system decoders to decode. So, if your device doesn't support that codec, it will use ffmpeg to decode (i.e, SW audio). If you use cutom codec you will get stereo output. Else you won't get any audio.
Only solution is to get audio pass through feature. It's expected in further minor updates to 1.8. (i.e 1.8.x).
Sent from my SM-G900H using Tapatalk
Click to expand...
Click to collapse
Thanks, that is a very good explanation !
I did not really understand the difference between the 3 different decoders, but now I do, so thank you very much for that !
I noticed when I use the native video player on my Shield TV it does play Dolby atmos, but it has the same issue with rewinding/fast forwarding.
So because HW on MX Player uses the native media player API the buffering is not working ?
I suppose I just have to wait till audio passthrough is available in 1.8.
Or buffering will be available in the native media player.

[Q] [REQUEST] Alternative codecs combinations

Is it possible to create a wider codecs combinations for decoding posibilitie of MX?
For example: HW video with HW+ audio
Or create separate codecs settings.
On my Amlogic S812 there is problem with decoding MKV video file with HW+ decoder, video is twitching (or somewhat, I can't more correctly describe this effect) with 3 to 5 secs. Interval. With HW it's OK , but no sound.
Thank you for your help.
assaid said:
Is it possible to create a wider codecs combinations for decoding posibilitie of MX?
For example: HW video with HW+ audio
Or create separate codecs settings.
On my Amlogic S812 there is problem with decoding MKV video file with HW+ decoder, video is twitching (or somewhat, I can't more correctly describe this effect) with 3 to 5 secs. Interval. With HW it's OK , but no sound.
Thank you for your help.
Click to expand...
Click to collapse
Just enable SW audio from audio track selection. You will get HW video & SW audio.
Sent from my SM-G900H using Tapatalk
ktsamy said:
Just enable SW audio from audio track selection. You will get HW video & SW audio.
Sent from my SM-G900H using Tapatalk
Click to expand...
Click to collapse
I allready tried it. But sometimes I got double sounding on AAC codecs while SW audio was set permanently.
Sets SW audio separetly for each MKV is not so comfortable for my opinion.
Is there some way exists to use only SW audio for all files, I think MX does not block HW audio if track was supported by HW in this mode, or it's a bug?
assaid said:
I allready tried it. But sometimes I got double sounding on AAC codecs while SW audio was set permanently.
Sets SW audio separetly for each MKV is not so comfortable for my opinion.
Is there some way exists to use only SW audio for all files, I think MX does not block HW audio if track was supported by HW in this mode, or it's a bug?
Click to expand...
Click to collapse
I can't reproduce the double audio issue.
Can you collect the logs immediately after playing the file which leads to the double audio issue?
If it's possible kindly share a sample video.
Sent from my SM-G900H using Tapatalk
ktsamy said:
Just enable SW audio from audio track selection. You will get HW video & SW audio.
Click to expand...
Click to collapse
Is there a way to do the opposite of that? I need SW video & HW audio.
When I play test files directly from the device, I can use HW decoder and they play flawlessly. But when I play files from my NAS with the HW decoder, MX Player buffers. If I use the SW decoder playback is smooth, but the audio is always downmixed to stereo. I have tried both the default and custom software codecs with the same results.
Also MX Player informs me that HW+ is not available on my device, if that make a difference in the decoder options I have selected? I have tried "HW+ audio on SW video" with "SW decoder (network)" but MX Player still shows playback to be HW with the results mentioned above.

[BUG] Incorrectly selects the audio stream (HW)

Hi. Android 6.0.1. Samsung Tab Pro 8.4. Mx player 1.8.x
In the video, two audio tracks (Russian-English). Launch the video plays the English track, but shows that the Russian track is selected. It helps switching to English and back to Russian. If you minimize and deploy an application, the audio track again slips into English. Please help, this is very annoying.
screen record - https://drive.google.com/file/d/0B35Mew37y2a_UE9HMXNJVVZCUnc/view?usp=sharing
Logs - View attachment report_2016-02-23_185728.zip
Sorry for my English)
Hello,
Similar problem here, only happens while using the HW audio decoder. In my case, the phone keeps changing the audio stream to "Disable", instead of "Audio track #1".
Choosing the SW audio decoder fixes the issue.
Android 4.2.1, bq Aquaris 5.7, Mx Player Pro 1.7.40 (ARMv7 NEON)
Best regards.
Any news from the developer?
In Cm13 build 24.05 fix a bug)
Alexey71 said:
In Cm13 build 24.05 fix a bug)
Click to expand...
Click to collapse
If it's fixed after updating the cm probably it's a bug from ROM. HW decoder uses android mediaplayer class to play the video. Even though MX Player has some control on it, it's very limited. If HW+ is working on your device, you could use it. In most of the condition it will work better than HW.
Sent from my SM-G900H using Tapatalk
ktsamy said:
If it's fixed after updating the cm probably it's a bug from ROM. HW decoder uses android mediaplayer class to play the video. Even though MX Player has some control on it, it's very limited. If HW+ is working on your device, you could use it. In most of the condition it will work better than HW.
Sent from my SM-G900H using Tapatalk
Click to expand...
Click to collapse
HW+ does not work on all videos. Waiting for a new version with an alternative support for HW+ ...
Again, does not work
Alexey71 said:
Again, does not work
Click to expand...
Click to collapse
Hopefully it's only on HW decoder.
Does it reproducible in SW decoder (if HW+ not available)..?
Can try again after disabling HW audio track selectable from settings > Decoder..?
It will be better if you can provide a small sample clip. I will test myself.
Sent from my SM-G900H using Tapatalk
ktsamy said:
Hopefully it's only on HW decoder.
Does it reproducible in SW decoder (if HW+ not available)..?
Can try again after disabling HW audio track selectable from settings > Decoder..?
It will be better if you can provide a small sample clip. I will test myself.
Sent from my SM-G900H using Tapatalk
Click to expand...
Click to collapse
HW+ video and HW audio fine. But not all play video witch HW+
HW video and HW audio. It is not always correctly playing audio track
HW video and SW audio. Fine
https://drive.google.com/open?id=0B35Mew37y2a_bUdLVHlpcEdQSG8
Audio track #1 - Russian
Alexey71 said:
HW+ video and HW audio fine. But not all play video witch HW+
HW video and HW audio. It is not always correctly playing audio track
HW video and SW audio. Fine
https://drive.google.com/open?id=0B35Mew37y2a_bUdLVHlpcEdQSG8
Audio track #1 - Russian
Click to expand...
Click to collapse
Can you share a small sample clip..?
Kindly provide a way to reproduce the issue.
It might be an issue with HW decoder. It just uses Android's native api. MX Player has limited control on HW.
Did you try again after disabling "HW audio track selectable". If it's an issue with Native audio track selection, disabling it may fix the issue.
Sent from my SM-G900H using Tapatalk
ktsamy said:
Can you share a small sample clip..?
Kindly provide a way to reproduce the issue.
It might be an issue with HW decoder. It just uses Android's native api. MX Player has limited control on HW.
Did you try again after disabling "HW audio track selectable". If it's an issue with Native audio track selection, disabling it may fix the issue.
Sent from my SM-G900H using Tapatalk
Click to expand...
Click to collapse
Logs http://pastebin.com/qGL2CD2q
Recorded video bug https://drive.google.com/open?id=0B35Mew37y2a_LW8yRWpYSzBnWFk
sample download here https://drive.google.com/open?id=0B35Mew37y2a_bUdLVHlpcEdQSG8 Play sample: HW audio decoder - HW video decoder. When playing is Audio track # 1 - Russian. But the sound is the second track English
Briefly helps switching tracks on Audio track # 1 - English and back Audio track # 1 - Russian. After folding-unfolding or restart the program, again not correctly identifies the track
VLC - BS Player fine
Alexey71 said:
Logs http://pastebin.com/qGL2CD2q
Recorded video bug https://drive.google.com/open?id=0B35Mew37y2a_LW8yRWpYSzBnWFk
sample download here https://drive.google.com/open?id=0B35Mew37y2a_bUdLVHlpcEdQSG8 Play sample: HW audio decoder - HW video decoder. When playing is Audio track # 1 - Russian. But the sound is the second track English
Briefly helps switching tracks on Audio track # 1 - English and back Audio track # 1 - Russian. After folding-unfolding or restart the program, again not correctly identifies the track
VLC - BS Player fine
Click to expand...
Click to collapse
It seems to be an device specific issue. it might be an issue with your hw decoder which is basically system decoder. When the "HW audio track selectable" is enabled, In my device it shows as English Track is selected & it plays the same.
When it's disabled the MX Bug comes into picture. It doesn't pick any track since both are ac3. But, if I select any track it can still play since custom codec is already loaded. Anyway it can be fixed by enabling "SW Audio" manually in Settings.
I will forward the informations to the MX Player developer.
FYI,
BS & VLC are using their hardware acceleration engines by default instead of mediaplayer based one. So, it will be like HW+ in MX. That's why the issue doesn't appear there.
Sent from my SM-G900H using Tapatalk
Mx player 1.8.5 not fix bug((
Alexey71 said:
Mx player 1.8.5 not fix bug((
Click to expand...
Click to collapse
In my devices everything is fine on HW. it always selects the right track.
It's broken on your system (ROM). MX Player's control over HW decoder is very basic since it just uses mediaplayer API provided in Android.
Just use HW decoder with SW audio till MX Player gets new HW+. It's the only way to handle.
Sent from my SM-G900H using Tapatalk

No audio when streaming a video from SMB

When I use a flash drive on my android box (beelink gt1 ultimate) with the movie, it plays the video and audio fine.
If I use Solid Explorer and go to a network drive (my pc) which has the same movie, it only plays the video and not the audio.
It looks like while getting the movie from the network it can't play the audio.. Is this a known problem?
P.S.- If I do the same and choose Kodi to open the movie it plays the video and audio fine.
gonsa said:
When I use a flash drive on my android box (beelink gt1 ultimate) with the movie, it plays the video and audio fine.
If I use Solid Explorer and go to a network drive (my pc) which has the same movie, it only plays the video and not the audio.
It looks like while getting the movie from the network it can't play the audio.. Is this a known problem?
P.S.- If I do the same and choose Kodi to open the movie it plays the video and audio fine.
Click to expand...
Click to collapse
Can you collect a bug report from help menu immediately after playing the video & share here?
Thirumalai.K said:
Can you collect a bug report from help menu immediately after playing the video & share here?
Click to expand...
Click to collapse
Here is the bug report of the video playing without audio through the network.
gonsa said:
Here is the bug report of the video playing without audio through the network.
Click to expand...
Click to collapse
Hi,
According to the logs, there are no issues. Audio has played as usual.
can you try the same in HW+ or SW decoder and report back?
Thirumalai.K said:
Hi,
According to the logs, there are no issues. Audio has played as usual.
can you try the same in HW+ or SW decoder and report back?
Click to expand...
Click to collapse
Yep, changing to SW did the trick. Got audio through the network
thanks

Categories

Resources