[Bug Report] Imbedded Sub Titles Doubled due to HW Encoder - MX Player

If I use the HW decoder (which I need for Pass through Dolby 5.1 audio to my TV) I get double sub titles. One I can turn of using the MX Player settings but the other one is on all the time I think from the Hardware decoder.
How can I turn off the Subtitles generated by the HW decoder?
I have seen some discussion on this but no solution.
I am using a Rico Mini PC Android TV Dongle to access my Video files. Problem is with MP4 and MKV files since they support imbeded subtitles.

[email protected] said:
If I use the HW decoder (which I need for Pass through Dolby 5.1 audio to my TV) I get double sub titles. One I can turn of using the MX Player settings but the other one is on all the time I think from the Hardware decoder.
How can I turn off the Subtitles generated by the HW decoder?
I have seen some discussion on this but no solution.
I am using a Rico Mini PC Android TV Dongle to access my Video files. Problem is with MP4 and MKV files since they support imbeded subtitles.
Click to expand...
Click to collapse
How do you connect to your TV?
can you play the same video in your mobile & check whether it happens or not?
If you are getting subtitle even after disabling, either it have passed to TV or It's hard encoded to video frames.

ktsamy said:
How do you connect to your TV?
can you play the same video in your mobile & check whether it happens or not?
If you are getting subtitle even after disabling, either it have passed to TV or It's hard encoded to video frames.
Click to expand...
Click to collapse
Hi
If I play a MP4 or MKV file with subtitle track on a PC or not using the HW decoder or other Android players which don't pass through the Dolby 5.1 , I can turn off the subtitles so it is not encoded on the frame.
It seems in HW mode MX Player is still decoding subtitles in HW and SW instead of just one. Unfortunaly MX Player HW mode seems to be the only Android player I can find that passes through the Dolby Signal but it has this double subtitle problem
The Dongle I am using is an Android Phone with the phone features and screen removed. It use my TV as the screen. It is also known as Google (Smart) TV.
I don't have an Android phone to test this on so if some one could play a MP4 or mkv file with a sub title track on MX Player in HW mode with Subtitles turned on I would appreatiate it
Thanks
(If I recode and strip the Subtitles out of my videos it solves this problem but I would like to keep them)

Try disabling/enabling this:
Settings > Subtitle > H/W acceleration

CDB-Man said:
Try disabling/enabling this:
Settings > Subtitle > H/W acceleration
Click to expand...
Click to collapse
Thanks but that did not work.

Log of My Problem
Here is the Report Log.
The problem is more then just having two Sub titles. I believe it has more to do that I can not turn off subtitles.
The "Enable Subtitles" and "Enable Embedded Subtitles" boxes even when unchecked I still see the embedded sub titles.
In SW mode I see only one sub title.
In HW mode I see two sub titles
Only way to eliminate subtitles is to recode the video with a blank subtitle track or use a format (ie -not MP4 or MKV) without embedded sub titles.
BTW: I found the following link with the same problem solved by an MX developer in 2012 (http://forum.xda-developers.com/showthread.php?p=27079630#post27079630)
Is this enough information and the right place so the MX developers can look into it?
Thanks in advance
Victor

HW Subtitles
I have the same problem with my tablet:
CPU: Quad Core Amlogic M802 Cortex A9r4 28nm 2.0GHz
GPU: Mali 450 Octa Core GPU
This problem happens with both embedded and external text (srt) subtitles. Only srt subs are displayed in default codepage and not displayed correctly.
Does this problem have to do with some firmwares which use custom API to control subtitle display as reported here?: https://groups.google.com/d/msg/mx-videoplayer/VhEJNahBRDE/gV3ruvDDn9wJ
My stock VideoPlayer (which uses HW decoding only) can disable the HW rendered subtitles.
Attached is my stock VideoPlayer.
Is there a way to fix this by checking how this is done by the stock player?
Thanks in advance

@bleu8888 could you take a look?

HW Subs Workaround
I found a way not only to display correctly the HW subtitles but also to "block" them from being displayed, at least for my device.
External subtitle text files must be converted to UTF-8 for HW subtitles to be displayed correctly.
A workaround to block them, is to start playback holding the device in up-right position (portrait) and after playback starts, it can be turned in landscape position for watching.
This way, HW subtitles are not being displayed.
Anyway, I posted this in case it helps others having the same problem.
BTW @bleu8888, does this have any logical explanation or it just happened to work with my specific device?

Related

HDMI-out video playing : how to get subtitles displayed ?

Hi,
Does anybody manage to get subtitles when using the hdmi-output ? The Video Google Player does not detect srt at all, and when I'm using another player (mobo, rock, mvideoplayer, etc...), the movie is displayed through hdmi-out but the subtitles stick to the TF screen ! Not really handy to watch a movie ;-) I would like to keep hardware acceleration (to play 720p movie) and get subtitle displayed through the hdmi-output without hard-burning the srt if possible.
Has anyone already tried to watch movies with subtitles through hdmi output ?
Thanks !
This is just a thought but have you tried embedding the subtitles into the video container (e.g. mkv)? You can use the application mkvmerge GUI to re-mux the video as an mkv and add the subtitle file resulting in one file which has video/audio/subtitles.
Free tool: MKVToolnix -- Cross-platform tools for Matroska
These mkv tools includes the mkvmerge GUI that I mentioned. My thinking is that if the subtitle file was part of the video container the Android players may play them in a way that gets around the issue you are having. This would be the most efficient method as no transcoding of you video would be required.
The method that would definitely work would be "hard coding" the subtitles onto the video frames. This does away with the need for a subtitle file but does require that the video is transcoded.
Handbrake documentation: See "Hard Burn"
Free tool: Handbrake Downloads
Good luck
Hi,
Thanks for the answer, I knew about hardburning ; see my question : "get subtitle displayed through the hdmi-output without hard-burning the srt if possible"... Moreover, it seems that mkv is not well recognised by stock video player (google video player), and I reencoded mkv to mp4, with a subtitle track, but the players I tried did not load mp4 subtitles (though it did with mkv, but mkv is really slow compared to mp4). Anyway, thanks for your suggestion ! I will dig a little bit, to see if I can build an mkv file with video in H264, subtitles, and hardware acceleration...
Haven't tried it myself as I haven't got hdmi out working yet but can you use splash top to remote to yr PC, play the video through PC app with subtitles, and output the remote session to tv? I believe I recall someone saying they do this using splash top HD (think you have to pay for that, poster said it was worth it).
For what it's worth I have the same issue with my iPad.
Thanks for the tip, but splashtop hd does not work on linux, and dont have/want windows machine at home.
Did you solve it ? I'm having the same issue :\
It sucks because english it's not my native language and one of the reasons why i bought this tablet was for use it as a media player on the tv ..
fixed by buying a popcorn hour... Tf is not ready for replacing a network media tank. Definitely.
It works for me with BSPlayer and using software decoding mode in preferences.
With MX Player free subtitles work ok. With BS Player and Dice Player subtitles are shown in the tablet but not in the tv, they worked before but not anymore since one of the last ota updates.. i dont know if they changed something related to overlay in the rom because it used to work for me some weeks ago.
lumav said:
It works for me with BSPlayer and using software decoding mode in preferences.
Click to expand...
Click to collapse
Yeah that's the only way i could make it work. Does anyone know if there's any player that supports subtitles with hardware decoding ? (through hdmi output)
hardcorekb said:
Yeah that's the only way i could make it work. Does anyone know if there's any player that supports subtitles with hardware decoding ? (through hdmi output)
Click to expand...
Click to collapse
There isn't. For me, it seems that the hardware decoding prevents somehow to display subtitles through hdmi output.
software limitation?
i'm hoping that this is a software limitation that can be fixed someday.. anybody knows?
Good lord. Just install a custom firmware. For example revolver works for sure on the third android. I have not tried on ics though. Mx player allows 2+ subs btw. (i have suggested this feature btw also)
Extreemator said:
Good lord. Just install a custom firmware. For example revolver works for sure on the third android. I have not tried on ics though. Mx player allows 2+ subs btw. (i have suggested this feature btw also)
Click to expand...
Click to collapse
We are talking about Hardware accelerated video WITH subtitles over HDMI..
MxPlayer works in Software mode only..
As what I see
hardware acceleration does not render the soft subtitles together with the video
looks like there are "2 different layer" display video on your device screen with hardware acceleration
Playing on your device screen (SW mode)
sw layer= the UI of your video player, soft subtitles, SW rendered video - on device screen as a layer
hw layer= none
*you see everything on device screen, but video may stutter
Playing on your device screen (HW mode)
sw layer= the UI of your video player, and soft subtitles - on device screen as top layer
hw layer= the video - on device screen as 2nd layer
*you see everything on device screen, perfectly
Playing thru HDMI on HDTV or any display monitor (SW mode)
sw layer= the UI of your video player, soft subtitles and SW rendered video - on both device screen and HDTV/Monitor as a layer, you see everything but video stuttering cos lack of hardware acceleration
hw layer= none
*you see everything on both device screen and HDTV/Monitor, but video may stutter
Playing thru HDMI on HDTV or any display monitor (HW mode)
sw layer= the UI of your video player and soft subtitles - on device screen, you see only UI and soft subtitles.
hw layer=video only (hardware accelerated) - on HDTV/Monitor thru HDMI, you see only video, no soft subtitles, no video player UI
*you see only video on HDTV/Monitor, then videoplayer UI and soft subtitles on device screen.
it seems hardware acceleration disables UI to be displayed on HDTV/Monitor thru HDMI when a HW mode video playback is active.
I hope video player developers can find a way allow the soft subtitles to be display together with video on HDMI output someday
As for now, if you want to see soft subtitle on HDTV thru hdmi output, you have to re-encode the videos with subtitles (hard sub)
or
Watch It on SW mode, thats extremely lag and looks bad especially for HD videos
I got a ASUS TF300T and I'm having the same issue, not only with internal videos, but when I run netflix the subtitles just display on the Pad's screen and not on the HDTV. T_T
Some solution for this? I use bus player with software decoding and tit was the temporally solution....
But I need to know some solution to resolve with hardware decoding
hardcorekb said:
Yeah that's the only way i could make it work. Does anyone know if there's any player that supports subtitles with hardware decoding ? (through hdmi output)
Click to expand...
Click to collapse
Try MX Player and send reports back.
I dont have HDMI cable for my tablet At the moment so.
Try it.
MX Player is displaying with SW mode but laggy in HD videos.HW mode dont display any subs on HDMI output.I embed the subs into the video with VirtualDub,with a plugin inside, especially for HD videos, it plays well.
Hello all,
I have discovered a way to display subtitles on HDMI even when using HW-accelerated video from either MX Player or BS Player...
BTW, this option only works for Asus TF300T official JellyBean firmware...
Go to Settings --> Developer options --> Drawing --> enable "Disable HW Overlays" checkbox
This will force GPU to do all compositing work. Videos will now play wth subtitles on HDMI even if HW-accelerated. The downside is that the video is displayed on both the tablet as well as the HDMI port unlike before where the video is only displayed on the HDMI port and the UI remains with the tablet in HW-accelerated mode.
Hope this helps...
^_^
P.S.
This does not fix the issue of MX Player not being able to use HW-acceleration properly (choppy video or falls back to SW-decoding) for files that used to play fine pre-Jellybean OTA update. Just use BS Player for the meantime until MX Player gets fixed. I miss the nice ASS subtitles that MX Player renders though...

[Feature Request] .ts file is not HW-accelerated but repacked to MKV is

Hello,
When I try to play .ts file (e.g. HBO HD movie) recorded using DVB-C set-top box, MXPlayer uses SW mode and playback looks like a slideshow.
So I have repacked the same movie to MKV container using mkvmerge and followed the advice from this forum to configure MXPlayer to use HW acceleration for video and SW mode using custom codec for audio (for AC3 decoding). Playback is perfectly smooth in this case, because MXPlayer uses HW acceleration.
The original TS file contains:
- H264 1080i PAL 50fps track
- 1st AC3 audio track
- 2nd AC3 audio track
- 1st DVB subtitle track
- 2nd DVB subtitle track
The repacked MKV file contains:
- the same H264 track (w/o recoding)
- the same 1st AC3 audio track (w/o recoding)
(mkvmerge cannot convert DVB subtitles, so in MKV file the subtitle track is missing)
I have the Acer Iconia A1 810 tablet.
Repacking to MKV is an option to play my recordings smoothly, but I'd like to play the original TS files from SMB share, because my archive is full of such TS files. Repacking is hard and slow and additionally it'd throwed the subtitles away.
Please, is it possible to modify MXPlayer so it can play also the TS files in HW accelerated mode?
Thank you in advance!
I doubt it, because the ts container can contain so much more incompatible formats and as you probably know, AC3 for instance is not hardware supported on most devices. You cant go and force hardware decoding for something that might-half-work, but you always have the option to select your decoder and try. I'm afraid you'll just have to accept that there's some things your hardware can't decode.
Note that the smooth playback is not a problem in my case. Repacked in MKV container, my hardware plays both the mentioned tracks (H264+AC3) smoothly.
What I ask the MXPlayer team for, is to enable the same MXPlayer behavior for the original TS container file containing the same tracks (H264/AC3).
In my opinion, the MKV container is the same case as the TS container. MKV file can also contain almost anything.
I've thought that the decision to use (or not to use) HW acceleration for a video track should come after a splitter, on the basis of the video format and should not be derived from a container file format.
Hmm, that is odd. Sorry I assumed the AC3 track would've been incompatible, as it is with many androids. I always thought MX Player did decide on HW acceleration independent of containers. I can only guess some track contained in the .ts is incompatible.
But have your tried forcing HW playback (or HW+) on the .ts file yet? You can select this in the top right while a video is playing.
I thought that HW support of different containers depended on the device. Not sure.
I would think that when you select HW, it not only passes the decoding, but also the container splitting, to the hardware, which is my guess at why HW won't support different containers since the hardware doesn't know how to split the container.
@bleu8888 could you provide some insight into this?
CDB-Man said:
I thought that HW support of different containers depended on the device. Not sure.
I would think that when you select HW, it not only passes the decoding, but also the container splitting, to the hardware, which is my guess at why HW won't support different containers since the hardware doesn't know how to split the container.
@bleu8888 could you provide some insight into this?
Click to expand...
Click to collapse
Thank you CDB-Man and Logic_ for your thoughts.
In MX Player, it is possible to use HW decoder for a video track in parallel (and in sync) with SW decoder for an audio track. That is why I hope, that a container-splitting can be done independently on choice which decoder will be used for the given track.
My understnading is that splitting is done by whatever is set as the video decoder in MX. Audio decoder just receives the audio stream from whatever splitter is used. It's not that SW audio runs "in parallel" with HW video per se; SW or HW audio just receives an audio stream from whatever is used as the container splitter.
Sorry, my previous post was probably somewhat misleading.
It was reaction to your post:
CDB-Man said:
I thought that HW support of different containers depended on the device. Not sure.
I would think that when you select HW, it not only passes the decoding, but also the container splitting, to the hardware, which is my guess at why HW won't support different containers since the hardware doesn't know how to split the container.
Click to expand...
Click to collapse
I wanted to say, that from the fact, that video can be independently decoded by HW and audio by SW, I presume, that splitting can also be done independently - by SW - while maintaining the players ability to pass video track decoding to HW.
Hi KodloN,
Did you try hw+ decoder? hw decoder is just stock decoder which has no chance to be improved at all.
If you it still does not work with hw+ decoder, please send me (to [email protected]) a sample .ts file that cannot be played with hw+ decoder.
Thanks
bleu8888 said:
Hi KodloN,
Did you try hw+ decoder? hw decoder is just stock decoder which has no chance to be improved at all.
If you it still does not work with hw+ decoder, please send me (to [email protected]) a sample .ts file that cannot be played with hw+ decoder.
Thanks
Click to expand...
Click to collapse
Hi bleu8888,
Yes, I've tried hw+ decoder, below are results:
1) The original TS file (HBO_HD recording)
SW decoder only. Trying to switch to HW or HW+ decoder falls back to SW with error message "Cannot play this video with H/W(+) decoder".
2) TS file in which the DVB subtitle track and the Czech audio track were removed (repacked by DVBViewer-TSPlayer)
HW+ decoder is functional, but playback is sluggish on my Acer Iconia Tab A1-810 (similar performance as SW decoder playback)
HW decoder cannot play this video.
3) MKV file created from the original TS file using mkvmerge
HW decoder is functional, perfect smooth playback
HW+ decoder cannot play this video
I will send you a link to all three files to the specified email.
Thank you in advance!
Hi,
Would you try latest test build from following link?
.ts hw+ playback is improved in this test build but I'm not sure your issue is fixed because this issue looks like happening only on MediaTek platforms and I do not have device having MediaTek playform.
(Please note that hw playback is not changed though)
https://sites.google.com/site/mxvpen/translation/test-build
BTW, DVB subtitle positioning issue is also fixed.
Feedback will be appreacited !
Thanks
KodloN said:
Hi bleu8888,
Yes, I've tried hw+ decoder, below are results:
1) The original TS file (HBO_HD recording)
SW decoder only. Trying to switch to HW or HW+ decoder falls back to SW with error message "Cannot play this video with H/W(+) decoder".
2) TS file in which the DVB subtitle track and the Czech audio track were removed (repacked by DVBViewer-TSPlayer)
HW+ decoder is functional, but playback is sluggish on my Acer Iconia Tab A1-810 (similar performance as SW decoder playback)
HW decoder cannot play this video.
3) MKV file created from the original TS file using mkvmerge
HW decoder is functional, perfect smooth playback
HW+ decoder cannot play this video
I will send you a link to all three files to the specified email.
Thank you in advance!
Click to expand...
Click to collapse

Need suggestion for MX player pro and MKV with embedded subtitle

Hi,
I tried to search and look around in this forum and still cannot resolve my problem.
I just installed MX Player pro. I ripped and made one MKV movie file from bluray with embedded subtitles in the file.
I tested the file with my TV and DUNE HD player and also tested this file on my computer with XBMC, VLC media play. The movie can be played smoothly and I can control, select, enable, or disable subtitles as usual.
However, when I loaded the file to my Samsung Note 8, MX player pro can play movie smoothly and fine. The only problem is that there is no subtitle shown, although I selected or enabled subtitles.
I also tried enable and disable in Setting > Subtitle > Enable Subtile and Setting > Subtitle > Enable Embeded Subtiles , but it doesn't help.
Please suggest.
Mrpong said:
Hi,
I tried to search and look around in this forum and still cannot resolve my problem.
I just installed MX Player pro. I ripped and made one MKV movie file from bluray with embedded subtitles in the file.
I tested the file with my TV and DUNE HD player and also tested this file on my computer with XBMC, VLC media play. The movie can be played smoothly and I can control, select, enable, or disable subtitles as usual.
However, when I loaded the file to my Samsung Note 8, MX player pro can play movie smoothly and fine. The only problem is that there is no subtitle shown, although I selected or enabled subtitles.
I also tried enable and disable in Setting > Subtitle > Enable Subtile and Setting > Subtitle > Enable Embeded Subtiles , but it doesn't help.
Please suggest.
Click to expand...
Click to collapse
Did you check subtitle track button on the playback screen?
There may a speech balloon button on the upper right corner of the playback screen, if video have one or more subtitle tracks.
bleu8888 said:
Did you check subtitle track button on the playback screen?
There may a speech balloon button on the upper right corner of the playback screen, if video have one or more subtitle tracks.
Click to expand...
Click to collapse
Hi bleu8888, do you mean the mini button on the right corner? There are H/W, subtitles, audio.
Yes I checked it. I enabled one, two, or sometimes even all of them, but no subtitle is shown.
Note: I just tested the file with "VLC for android" and it works as expected. All subtitles work fine.
Thus, I guess there must be some missing or incorrect configuration in my MX Player Pro. Please help.
Mrpong said:
Hi bleu8888, do you mean the mini button on the right corner? There are H/W, subtitles, audio.
Yes I checked it. I enabled one, two, or sometimes even all of them, but no subtitle is shown.
Note: I just tested the file with "VLC for android" and it works as expected. All subtitles work fine.
Thus, I guess there must be some missing or incorrect configuration in my MX Player Pro. Please help.
Click to expand...
Click to collapse
Would you share your video file?
Also, could you post the media info as well?
CDB-Man said:
Also, could you post the media info as well?
Click to expand...
Click to collapse
Sure. Here is what I captured from VLC for Windows when I played this file. This file can be played normally on VLC for Windows, VLC for Android, and TV + Dune HD.
Stream 0:
Type: Video
Codec: H264 MPEG AVC (Part 10) (avc1)
Language: English
Resolution: 1920x800
Frame Rate: 23.976216
Decoded format: Planar4:2:0 YUV
Stream 1:
Type: Audio
Codec: MPEG AAC Audio (mp4a)
Language: English
Sample rate: 480000Hz
Stream 2:
Type: Audio
Codec: A52 Audio (aka AC3) (a52)
Language: English
Sample rate: 48000Hz
Stream 3:
Type: Subtitle
Codec: BD subtitles (bdpg)
Language: English
Stream 3:
Type: Subtitle
Codec: BD subtitles (bdpg)
Language: China
Stream 3:
Type: Subtitle
Codec: BD subtitles (bdpg)
Language: Japan
Hmm, pgs subs shouldn't generally cause a problem... as bleu requested, mind sharing your file somewhere? If the file's big, could you clip out a few minutes and share that instead?
Mrpong said:
Hi,
I tried to search and look around in this forum and still cannot resolve my problem.
I just installed MX Player pro. I ripped and made one MKV movie file from bluray with embedded subtitles in the file.
I tested the file with my TV and DUNE HD player and also tested this file on my computer with XBMC, VLC media play. The movie can be played smoothly and I can control, select, enable, or disable subtitles as usual.
However, when I loaded the file to my Samsung Note 8, MX player pro can play movie smoothly and fine. The only problem is that there is no subtitle shown, although I selected or enabled subtitles.
I also tried enable and disable in Setting > Subtitle > Enable Subtile and Setting > Subtitle > Enable Embeded Subtiles , but it doesn't help.
Please suggest.
Click to expand...
Click to collapse
I believe this issue is fixed on latest test version
https://sites.google.com/site/mxvpen/translation/test-build
Feedback will be appreciated.
Thanks
Hi bleu8888
I installed it. It looks like an updated part, doesn't it? Anyway, it works as expected now.
Thank a lot!
You can use Avdshare Video Converter to removing subtitles from MKV with the help of an MKV Subtitle Remover named MKV Subtitle Remover.

[Solved] No sound in streaming hd mkv (sound works local mkv though)

Hello i have a problem playing mkv files streamed from the web in Mx player. The video is ok but there is no sound at all.
This problem only exists if the mkv is hd (720 or 1080p) and if the file if being streamed. If i download the exact same file and then play it from the local directory it works.
Additionally, if i stream the file, i do not see the sound icon next to the decoding icon in the playback screen. This icon is available if i play the file locally.
Still, this is a big problem for me. I've tried the SW audio option but still nothing. This happens in hw decoder (hw+ doesnt work for me)
Hope someone can help out. Im in Allwinner a10 cpu mali 400 gpu (Ainol aurora CM9)
Regards,
whise1 said:
Hello i have a problem playing mkv files streamed from the web in Mx player. The video is ok but there is no sound at all.
This problem only exists if the mkv is hd (720 or 1080p) and if the file if being streamed. If i download the exact same file and then play it from the local directory it works.
Additionally, if i stream the file, i do not see the sound icon next to the decoding icon in the playback screen. This icon is available if i play the file locally.
Still, this is a big problem for me. I've tried the SW audio option but still nothing. This appends in hw decoder (hw+ doesnt work for me)
Hope someone can help out. Im in Allwinner a10 cpu mali 400 gpu (Ainol aurora CM9)
Regards,
Click to expand...
Click to collapse
Can you post the media info of the file?
Mediainfo please, and/or the streaming link you are using.
This happens with all mkv hd files
I will post a good example soon
http://162.210.197.205//d/qji5m232q...sdn3t2daxio/_.178.preshow.720p._.x264-kyr.mkv
Weird thing..
If i start with sw mode i have sound (really slow playback), if I then change from sw to hw mode i now have sound in hw mode (the sound icon now appears next to the hw icon).
Why doesnt this work with the hw from the start?
new link
http://162.210.197.205//d/qji5m232q...sdn3t2daxio/_.178.preshow.720p._.x264-kyr.mkv
Can't anyone help me?
When i start the video with the hw decoder, the sw audio decoder doesnt start. I have to initialize the video with sw decoder and then change to hw decoder.
This is bad because i lose the stream sometimes.
Just to be sure, have you already enabled SW AUDIO decoder here?
Settings > Decoder > SW audio
Hi, yes.
I have fixed this, aparently i didnt have libswa1.so/libswa.so in my /system/lib folder
This library is needed for the audio. This is a bug in the firmwate.
I have manadged to instal both libs (in attachment) found here:
http://www.rosil.si/blog/allwinner-a10-audio-patch/
http://www.lundman.net/ftp/mele/audiopatch1.3.apk
http://www.lundman.net/ftp/mele/audiopatch1.2.apk

[Bug Report] No subtitles when streaming over LAN

I use ES file explorer to access folders on my NAS and PC, and previously this has worked perfectly for MX player playback.
In a recent update in the last few months, subtitle support was broken while doing this.
If i copy the file locally to the player, the subtitle menu appears and works fine - but running it over the SMB share, it behaves as if the file has no subtitles present.
This bug is present on all my devices, so its not a localised glitch - definitely happened as a result of an MX player update.
@bleu8888 did something change regarding SMB predictive requests for external subs in one of the updates?
I have an update for this.
Enabling hw+ decoding makes the subtitle button appear and it remains even if I change back to hw or sw.
The reason I hasn't noticed this before is that hw+ doesn't work on many of my videos due to them being 10 bit h264 (hi10p), so I had hw+ disabled in settings.
If my terrible accent can be ignored, heres a very brief video demonstrating the problem.
www.youtube.com/watch?v=O1lihO1-Zsc&list=UUgbORRfPfCYQb8wRW1plCUg
This workaround is far from perfect, as various videos will crash MX player if i try and force them to use HW+
If copied to the internal SD card, the subtitle icon appears without needing HW+.
Curious now, what is the naming format of the video and sub files?
CDB-Man said:
Curious now, what is the naming format of the video and sub files?
Click to expand...
Click to collapse
.MKV with internal subtitles. That example video above has the following stats as read from MPC-HC on my PC.
Video: MPEG4 Video (H264) 1280x720 23.81fps [V: h264 high L4.0, yuv420p, 1280x720 [default,forced]]
Audio: AAC 44100Hz stereo [A: aac, 44100 Hz, stereo [default,forced]]
Subtitle: Advanced SubStation Alpha [S: ass [default,forced]]
Subtitle: UTF-8 [S: No subtitles]
An oddity has shown up with some files where subtitles appear, but i cant turn them OFF without doing this trick. Only happens over SMB shares, never happens locally with the same files.
... based on your original problem question, I thought you had external subs. Now that it's internal subs... I have no idea why, except perhaps that on HW, the android internal mediacodec broke something regarding embedded .ssa subtitles (that's only a guess). Unless this also coincided with a ROM update on xKat, I'm not sure that anything on MX specifically changed. It'll have to be @bleu8888 that would look into this.
CDB-Man said:
... based on your original problem question, I thought you had external subs. Now that it's internal subs... I have no idea why, except perhaps that on HW, the android internal mediacodec broke something regarding embedded .ssa subtitles (that's only a guess). Unless this also coincided with a ROM update on xKat, I'm not sure that anything on MX specifically changed. It'll have to be @bleu8888 that would look into this.
Click to expand...
Click to collapse
not related to Xkat, the video showed this on my kogan HDMI dongle device, running its stock ICS 4.0 rom. Definitely internal subs, only over SMB.
Changing to software decoding also seems to bring the subtitle option back, although at first i didn't think that was the case.
Well, I don't think I can add any more value, so I'll just let the dev work on this
Same problem here: MKV file with embedded subtitles. Running Finless Bobs ROM 2.1 on an MK808.
When I play the file from a local directory, no problem, all subtitles are shown independent of HW or HW+ mode. When I try to play the SAME file from my NAS drive (accessing it with ES file explorer), the embedded subtitles do not show up, as if they were not existing.
The HW+ workaround above does work, but is not a satisfactory solution: Switching to HW+ does make the subtitles appear and selectable, video plays but stutters. You can then switch back to HW with the subtitles on, video plays smooth but freezes after ~5 seconds. So no working solution for NAS.
Hope this helps to reproduce the issue - please fix it!
markust68 said:
Same problem here: MKV file with embedded subtitles. Running Finless Bobs ROM 2.1 on an MK808.
When I play the file from a local directory, no problem, all subtitles are shown independent of HW or HW+ mode. When I try to play the SAME file from my NAS drive (accessing it with ES file explorer), the embedded subtitles do not show up, as if they were not existing.
The HW+ workaround above does work, but is not a satisfactory solution: Switching to HW+ does make the subtitles appear and selectable, video plays but stutters. You can then switch back to HW with the subtitles on, video plays smooth but freezes after ~5 seconds. So no working solution for NAS.
Hope this helps to reproduce the issue - please fix it!
Click to expand...
Click to collapse
try software mode, it also seems to bring them back. Often i change to software, enable subs, then change back to hardware and it remains working - as long as i use software audio, or the audio goes out of sync.
Mussels84 said:
try software mode, it also seems to bring them back. Often i change to software, enable subs, then change back to hardware and it remains working - as long as i use software audio, or the audio goes out of sync.
Click to expand...
Click to collapse
Tried SW mode, but same behavior: Video gets stuck when switching back to HW mode with subtitles on after about 15 seconds. Then turning off subtitles in HW mode makes video continue smooth.
So switching to HW+ or SW mode makes the subtitles appear and stay even when switching back to HW mode, but video gets stuck in HW mode with subtitles on. Issue only via LAN, HW mode works fine with subtitles when the file is local. I also don´t think it´s a bandwidth issue to my NAS, as the video plays fine via LAN without subtitles.
markust68 said:
Tried SW mode, but same behavior: Video gets stuck when switching back to HW mode with subtitles on after about 15 seconds. Then turning off subtitles in HW mode makes video continue smooth.
So switching to HW+ or SW mode makes the subtitles appear and stay even when switching back to HW mode, but video gets stuck in HW mode with subtitles on. Issue only via LAN, HW mode works fine with subtitles when the file is local. I also don´t think it´s a bandwidth issue to my NAS, as the video plays fine via LAN without subtitles.
Click to expand...
Click to collapse
I'd say our slight differences there would be because we're using different hardware. Hopefully this bug gets some attention, i feel that using network shares isn't as popular as other methods so its a low priority fix.
Mussels84 said:
I'd say our slight differences there would be because we're using different hardware. Hopefully this bug gets some attention, i feel that using network shares isn't as popular as other methods so its a low priority fix.
Click to expand...
Click to collapse
That may well be. It´s a pity this issue doesn´t get a higher priority as playing videos from a NAS should become increasingly popular. It´s so convenient to have a big NAS drive to store all your music and video on and have it available for all devices in your network...
movie01.mp4 (streaming smb)
movie01.srt ( )
two file same folder, streaming play video perfect not show subtitle, Can I do ? which change option see subtitle ?
----
sory my bad english
dene18 said:
movie01.mp4 (streaming smb)
movie01.srt ( )
two file same folder, streaming play video perfect not show subtitle, Can I do ? which change option see subtitle ?
Click to expand...
Click to collapse
It depends on the SMB client that is used to stream. The behaviour changes from app to app. Some apps are acting as content providers. In that case, Player can access only the video files. Some apps act as a local host (like Solid Explorer). In such cases, MX might be able to detect the subtitles when either it allows the file listing or by a simple brute force check.
MXPlayer said:
It depends on the SMB client that is used to stream. The behaviour changes from app to app. Some apps are acting as content providers. In that case, Player can access only the video files. Some apps act as a local host (like Solid Explorer). In such cases, MX might be able to detect the subtitles when either it allows the file listing or by a simple brute force check.
Click to expand...
Click to collapse
thanks for info
update mxplayer, poblem was solved.Thank mxplayer team
My phone samsung E7 lollipop mx player v1.10.33 installed Myanmar to teach how to gain please.
Htetpaing Soe said:
My phone samsung E7 lollipop mx player v1.10.33 installed Myanmar to teach how to gain please.
Click to expand...
Click to collapse
It seems that you are having some difficulties with our app. Unfortunately, we couldn't get your feedback well. Can you please contact us at [email protected] along with detailed steps to reproduce the issue or a screen record? It will help us to assist you better.
having the same issue, when streaming on lan it doesnt load the srt file loaded on the same folder, with the same file name, it used to work for quite some time, but now it no longer works, used es file explorer to browse through the NAS.
but if the folder is saved locally, the player can read it, using the es file explorer to access it as well.

Categories

Resources