[BUG] Incorrectly selects the audio stream (HW) - MX Player

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

Related

[Q] Cant change audio track in HW mode

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.

[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] Alternate HW+ Decoder problem

when using the new alternate HW+ decoder no video shows embedded subtitles......... the old hw+ decoder plays the files perfectly with subs but this new one doesn't show subtitles whatsoever........
caspianprince said:
when using the new alternate HW+ decoder no video shows embedded subtitles......... the old hw+ decoder plays the files perfectly with subs but this new one doesn't show subtitles whatsoever........
Click to expand...
Click to collapse
Can collect the bug report & share here.
FYI, now if you disable the subtitle on one video it will be disabled on further playbacks. You have to manually select the subtitle again. Once you select the subtitle it will be enabled everytime till you disable it again.
Sent from my SM-G900H using Tapatalk
ktsamy said:
Can collect the bug report & share here.
FYI, now if you disable the subtitle on one video it will be disabled on further playbacks. You have to manually select the subtitle again. Once you select the subtitle it will be enabled everytime till you disable it again.
Sent from my SM-G900H using Tapatalk
Click to expand...
Click to collapse
i know that and my subtitle is enabled....it's just that whenever i am using newer hw+ the subtitle doesn't show and whenever i am using older hw+ OR HW OR SW subtitle shows....... u don't have that problem???
caspianprince said:
i know that and my subtitle is enabled....it's just that whenever i am using newer hw+ the subtitle doesn't show and whenever i am using older hw+ OR HW OR SW subtitle shows....... u don't have that problem???
Click to expand...
Click to collapse
No, I can't reproduce. Can you provide a sample clip?
Sent from my SM-G900H using Tapatalk
here is the log......... first i played the video with alternate hw+ and the subtitle didn't show..next i played it with older hw+ and subtitle showed........ then took the report
I cannot remember what video it was, but it was an mkv, when playing a video the subtitles would show even though they were disabled, then if i enabled subtitles i would have two identical sets of subtitles, though one set was a few pixels apart from the other.
John.
caspianprince said:
here is the log......... first i played the video with alternate hw+ and the subtitle didn't show..next i played it with older hw+ and subtitle showed........ then took the report
Click to expand...
Click to collapse
Subtitle rendering & Media Playback both are individual functions. It less likely to conflict.
Just downloaded the original video & tested myself. After test & trails I have found that "Improve SSA rendering" option in Settings > Subtitle > Text is somehow affects when using new HW+ decoder for video decoding. Report passed to the developer. Just disable it as a temporary solution till the developer fixes the issue.
Edit: Update from developer
@caspianprince
It's internally fixed & next update will fix the issue with SSA subtitle rendering issue when used with new HW+.
ktsamy said:
Subtitle rendering & Media Playback both are individual functions. It less likely to conflict.
Just downloaded the original video & tested myself. After test & trails I have found that "Improve SSA rendering" option in Settings > Subtitle > Text is somehow affects when using new HW+ decoder for video decoding. Report passed to the developer. Just disable it as a temporary solution till the developer fixes the issue.
Edit: Update from developer
@caspianprince
It's internally fixed & next update will fix the issue with SSA subtitle rendering issue when used with new HW+.
Click to expand...
Click to collapse
Thank you man!
caspianprince said:
Thank you man!
Click to expand...
Click to collapse
@caspianprince Would you try latest beta version? I think this issue is fixed.
https://sites.google.com/site/mxvpen/translation/test-build
bleu8888 said:
@caspianprince Would you try latest beta version? I think this issue is fixed.
https://sites.google.com/site/mxvpen/translation/test-build
Click to expand...
Click to collapse
Just tried it..... the problem is fixed...... nice work!! Thanks
Corruption in small to medium parts of the video is a reason i dont use HW+ i would rather use HW with lower volume.
John.
Tinderbox (UK) said:
Corruption in small to medium parts of the video is a reason i dont use HW+ i would rather use HW with lower volume.
John.
Click to expand...
Click to collapse
Are you still encountering the issue even after updating to 1.9.3?
Instead of generic statements, Kindly report it along with sample video and bug report. It will be helpful to get the issues fixed.
Sent from my SM-G900H using Tapatalk
I am on the latest on Google Play, MX Player Pro 1.7.40 I am on kitkat v4.4.4 for the Rockchip RK3229
John.
ktsamy said:
Are you still encountering the issue even after updating to 1.9.3?
Instead of generic statements, Kindly report it along with sample video and bug report. It will be helpful to get the issues fixed.
Sent from my SM-G900H using Tapatalk
Click to expand...
Click to collapse
Tinderbox (UK) said:
I am on the latest on Google Play, MX Player Pro 1.7.40 I am on kitkat v4.4.4 for the Rockchip RK3229
John.
Click to expand...
Click to collapse
New HW+ is available only to the devices with android 5.0+. Old HW+ method may not be compatible with old devices especially when the android media framework is modified by the OEM or by Rom developer in case of custom rom.
Sent from my SM-G900H using Tapatalk
So if you are on v4 kitkat or under MX Player is not interested in fixing bug`s most Android users are running kitkat 27.7% as of 2016
John.
Tinderbox (UK) said:
So if you are on v4 kitkat or under MX Player is not interested in fixing bug`s most Android users are running kitkat 27.7% as of 2016
John.
Click to expand...
Click to collapse
It's not a bug. Android 5.0+ provides a official API to use system decoders in native programming language. When a particular encoding profile is not supported you may still have issues in new HW+ as well.
Sent from my SM-G900H using Tapatalk
This is on my MiniMXQ TV Box Android v4.4.4 - 1GB/8GB - Rockchip RK3229 SOC
MX Player Pro V1.7.40
Video file "Hagure Yuusha no Aesthetica - 01 10bit H.264 AAC.mp4"
HW+ - Normal video speed and sound, but image has intermittent break-up from small to large areas.
HW - Frozen perfect image, if you select another point in the video, you get 1/2 second of playback and then a freeze, perfect image
SW - video and sound quality great, but video is very jerky
Thanks for the help
John.
Tinderbox (UK) said:
This is on my MiniMXQ TV Box Android v4.4.4 - 1GB/8GB - Rockchip RK3229 SOC
MX Player Pro V1.7.40
Video file "Hagure Yuusha no Aesthetica - 01 10bit H.264 AAC.mp4"
HW+ - Normal video speed and sound, but image has intermittent break-up from small to large areas.
HW - Frozen perfect image, if you select another point in the video, you get 1/2 second of playback and then a freeze, perfect image
SW - video and sound quality great, but video is very jerky
Thanks for the help
John.
Click to expand...
Click to collapse
It looks like a system decoder issue. If it's supported it suppose to be playable in HW decoder. When you have tried HW decoder, it hows thrown a unknown error. Does any other player works? I think that particular video will have issues with every player?
Can you try MX Player Pro 1.8.9 beta 2 & share the bug report again?
Sent from my SM-G900H using Tapatalk
I am on kitkat v4.4.4
MX Player Pro 1.8.9 beta 2 needs android v5.1 or above as far as i know.
https://sites.google.com/site/mxvpen/download
John.
ktsamy said:
It looks like a system decoder issue. If it's supported it suppose to be playable in HW decoder. When you have tried HW decoder, it hows thrown a unknown error. Does any other player works? I think that particular video will have issues with every player?
Can you try MX Player Pro 1.8.9 beta 2 & share the bug report again?
Sent from my SM-G900H using Tapatalk
Click to expand...
Click to collapse
Tinderbox (UK) said:
I am on kitkat v4.4.4
MX Player Pro 1.8.9 beta 2 needs android v5.1 or above as far as i know.
https://sites.google.com/site/mxvpen/download
John.
Click to expand...
Click to collapse
Beta versions will work on Android 4.0 & above.
You can download the latest nightly version from the official beta webpage ( https://sites.google.com/site/mxvpen/translation/test-build )

[Bug]Video fast

The video is not playing properly in mx player.The video is playing fast.The same file is working perfectly in vlc.Select hindi audio.Sample file is attached
Someone
dhruvdave said:
Someone
Click to expand...
Click to collapse
In the sample video, the video track (hi) itself has problems.
We have checked with VLC too, there is no audio at all (in both PC & Android) when Hindi audio track is selected.
HW decoder is basically a wrapper around Android's in-built mediaplayer. Looks like android mediaplayer couldn't handle such videos.
HW+ & SW are MX's Own implementation. You can check that when the Korean language is selected or audio track is disabled MX Player's HW+ & SW works well.
Thirumalai.K said:
In the sample video, the video track (hi) itself has problems.
We have checked with VLC too, there is no audio at all (in both PC & Android) when Hindi audio track is selected.
HW decoder is basically a wrapper around Android's in-built mediaplayer. Looks like android mediaplayer couldn't handle such videos.
HW+ & SW are MX's Own implementation. You can check that when the Korean language is selected or audio track is disabled MX Player's HW+ & SW works well.
Click to expand...
Click to collapse
Ok.Thanks
I'm making a video chat app and need information on how to play videos depending on the device. Does MX Player work? Thank you!

Categories

Resources