[Bug] x265 8bit/10bit Freeze - MX Player

Sorry for bad english and not uploading logs.
I was playing x265 10bit videos with MX Player on X96 Amlogic S905X Smart TV Box.
Some video files are freezed after 1-2 minute of playing.
When I checked that videos with MediaInfo on PC, That videos are HEVC [email protected] with HDMV PGS Subtitles.
After I demuxed out PGS Subs and remuxed with SRT/ASS Subtitles, No more freeze.
But some x265 8bit files are stuttering. [Edited: x265 encoding commands are ref=8, b-adapt=2, ctu=32 and early-skip]
Only HW+/SW Mode can play it fine. But not as sharp as HW Mode.
And subtitles are delayed 1.3 second for every HEVC videos on HDD with HW Mode.
The last problem maybe because of Smart Box itself because playing from SMB Share with ES File Explorer is fine in HW Mode and HW+/SW Mode is fine on HDD too.
Thanks for reading.

dblaze32 said:
Sorry for bad english and not uploading logs.
I was playing x265 10bit videos with MX Player on X96 Amlogic S905X Smart TV Box.
Some video files are freezed after 1-2 minute of playing.
When I checked that videos with MediaInfo on PC, That videos are HEVC [email protected] with HDMV PGS Subtitles.
After I demuxed out PGS Subs and remuxed with SRT/ASS Subtitles, No more freeze.
But some x265 8bit files are stuttering. [Edited: x265 encoding commands are ref=8, b-adapt=2, ctu=32 and early-skip]
Only HW+/SW Mode can play it fine. But not as sharp as HW Mode.
And subtitles are delayed 1.3 second for every HEVC videos on HDD with HW Mode.
The last problem maybe because of Smart Box itself because playing from SMB Share with ES File Explorer is fine in HW Mode and HW+/SW Mode is fine on HDD too.
Thanks for reading.
Click to expand...
Click to collapse
Hi,
We need for bug report for both issues. You may just collect the bug report from MX Player immediately after reproducing the issue & save it in the storage. Later you can share the report from another device / PC. It will be better if you can share a sample clip that has issues.
regarding the first problem, do you have problems when you just remux it PGS sub?

Logs and more info
Thirumalai.K said:
Hi,
We need for bug report for both issues. You may just collect the bug report from MX Player immediately after reproducing the issue & save it in the storage. Later you can share the report from another device / PC. It will be better if you can share a sample clip that has issues.
regarding the first problem, do you have problems when you just remux it PGS sub?
Click to expand...
Click to collapse
>> drive google com /open?id=0B7oDTHhlvusyZzhpbndSTlM5QlE << Here is the logs file. I can't find the buttom to attach so I uploaded to Google Drive.
And sorry again for unable to upload sample clips.
And just remuxing with PGS with mkvToolnix wasn't worked either.
I reproduced this problem on internal eMMC Storage and 1.3 second subtitles delay is still happening.
For more bugs,
Resume make subtitles out of sync for every HEVC and Skipping video just before fully loaded is cause that too.
mkv with HEVC video and Opus audio is stuttering/freezing in HW Mode and it is fine when I remux Opus audio with other H264 video and play it.
Thank you so much. :victory:

Related

Can Galaxy Tab Plus play videos with subtitles on TV?

Can it do it with the HDMI adapter and a video player like mvideoplayer ?
It is possible if you have the player in Software (S/W) Decoder mode, for both .avi files with external .srt files and .mkv files with the subs muxed in. Subtitles will not display if you are in Hardware (H/W) Decoder mode. It should be the same with MX Player Pro.
Hope that helps!
It should handle the 700MB avi in Software Decoder mode ?
It should. I tried with a 1.5 gb avi file in software and it worked
you can, just rename the subtitle as the same as the video file ex: theraidredemption.mkv --> theraidredemption.srt
tested with stock video player app and dice player app (both in H/W decoder mode)
denkext said:
you can, just rename the subtitle as the same as the video file ex: theraidredemption.mkv --> theraidredemption.srt
tested with stock video player app and dice player app (both in H/W decoder mode)
Click to expand...
Click to collapse
How did you get the stock video app to play subtitles? It does not have any options for it.
You just have to rename the .srt the same as the video file, video.mkv and video.srt, when you play the .mkv it will auto load the subtitle, you don't need to change a single setting, it works on my tablet too using the stock video player.
Ah, good to know. Shame the stock player doesn't handle subs within mkv files.

v 1.7.27 bug? blank screen / pause?

Hi,
Since upgrading my Nexus 7 to 4.4.3 and upgrading to paid v1.7.27 of MX Player I am seeing some weird behaviour playing .AVI files.
During say a 45min video, I will get 5-6 instances where the screen blanks for a second or so, then the video resumes from where it had left off without any intervention from me.
The video files are encoded the same format as others I watched before the upgrade and I never encountered this problem. I can watch the same video files with say BS Player free and there is no problem.
The files are .avi, 720x416 MPEG-4 Part 2, with 2 audio streams (MP3 48000Hz, stereo, 109.3 kbits/sec). They are 45mins long and approx 400mb in size.
I also tried a MKV file H264/AVC/ MPEG4 AVC / MPEG4 Part 10 with a 711x400 resolution with a 24fps and that stuttered in playback and I had to switch to BS Player in order to watch it. I have watched other files of this nature just fine before the upgrade.
I have tried switching H/W+ decoding on and off - does not appear to make a difference.
Hi,
Not so many things are changed on 1.7.27 in video playback module.
Does it also happen on all three decoders -- hw, hw+, sw?
And does it happen with other videos or only with one video in your description?
Thanks
a) try it on HW and SW decoders as well.
b) could you post the mediainfo of the files that cause problems?

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

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?

Bug report: Jerky video playback and subtitles not rendering properly in 1.8.21

New thread to make sure this doesn't get lost in replies to previous thread.
MX Player version 1.8.21 for x86 has problems with both video playback and subtitle rendering. Older version 1.7.40 did not have problems with the same files on the same hardware, so it's something in MX Player.
External codecs from xda-developers.com were in use.
In video playback, image "stutters" and is "jerky" instead of smooth. Subtitle rendering does not render all subtitles unless "subtitle speedup tricks" (sorry, don't remember the exact wording) is checked, but that seems to render subtitles to original video size then rescale for screen size, which causes fuzzy subtitles (not so bad for 720p video rescaled to 1080p, but 480p rescaled to 1080p is noticable).
Bug reports from both MX Player 1.7.40 and MX Player 1.8.21 are attached. All related files are available at mega.nz
Also, to illustrate the problem, I've taken video of the playback both under 1.7.40 and 1.8.21. This was done with an external handheld camera so the quality isn't very good, but it also does not put any burden on the system being tested, so it does not cause/exacerbate the issue.
1_7_40_smooth_video.MTS
1_8_21_jerky_video.MTS
Both taken from the file RAILGUN S ep01 at 0:00.
1_7_40_subtitles.MTS
1_8_21_bad_subtitles.MTS
Both taken from the file RAILGUN ep18 at 1:20
1_7_40_subtitles_2.MTS
1_8_21_bad_subtitles_jerky_video.MTS
Both taken from the file RAILGUN S ep04 at 1:22.
Please let me know if you need more information.

Hardware HEVC decoding support on Asus Zenfone 3 Max (ZC520TL)

(Yes, I know i already asked about this in the Asus Zenfone 3 subforum.)
The title says it all. Basically MX Player plays HEVC encoded videos on this phone using software decoding, even though this device has hardware decoding support for that codec. Can anyone explain it to me why?
I will attach a bug report as soon as I figure out how add attachments.
AronNemeth2001 said:
(Yes, I know i already asked about this in the Asus Zenfone 3 subforum.)
The title says it all. Basically MX Player plays HEVC encoded videos on this phone using software decoding, even though this device has hardware decoding support for that codec. Can anyone explain it to me why?
I will attach a bug report as soon as I figure out how add attachments.
Click to expand...
Click to collapse
Hi,
It depends. Not all HEVC files are same. For example your device may only support HEVC main profile upto 1080P @ 30fps.
In such cases, you can't play any HEVC 4K file or an HEVC file encoded with the Main10 profile or a video HEVC video with 60fps (in HW+, it may lag).
If you can't upload the logs here, you can share the link after uploading to anywhere else (like Google Drive, Dropbox, etc.,).
If you have issues with links as well, then just mask it ( Like replace http with h**p)
Thanks for the reply!
Here is the report:
h**ps://drive.google.com/file/d/14lguX8sJefjLzBS7w2vOaoqMjQaufn4u/view?usp=drivesdk
AronNemeth2001 said:
Thanks for the reply!
Here is the report:
h**ps://drive.google.com/file/d/14lguX8sJefjLzBS7w2vOaoqMjQaufn4u/view?usp=drivesdk
Click to expand...
Click to collapse
There is no log about the playback. Maybe some other app is generating too many logs.
Kindly Increase the log buffer size on developer options on your system & collect the log again immediately after attempting to play in HW & HW+.
Never mind, I've figured it out. The problem was that the videos I tried to play were encoded at level 4, while my phone only supports hardware decoding up to level 3.1.
Again, thanks for your help.

Categories

Resources