Horizontal lines in MTS files on Android - MX Player

When playing MTS files from my Sony HandyCam on my Samsung Galaxy Tab S 8.4 using MX Player, I get horizontal lines that degrade the quality of the video. I tried some other Android players and they were even worse. I've sometimes seen a similar thing in Windows Media Player on my Win8.1 computer. In researching it, I'm finding that it seems to be a problem going back quite a ways that may be related to the file format more than any particular device. It also seems it may have to do with interlacing. Has anyone seen this in MX Player with MTS files? There is a setting that indicates you can deinterlace, but it only works with the SW Decoder, which I turned on, but then there is a different problem - choppy playback (always) and distorted images (at times). I'm hoping for a better solution. Is there one?

GTGeek88 said:
When playing MTS files from my Sony HandyCam on my Samsung Galaxy Tab S 8.4 using MX Player, I get horizontal lines that degrade the quality of the video. I tried some other Android players and they were even worse. I've sometimes seen a similar thing in Windows Media Player on my Win8.1 computer. In researching it, I'm finding that it seems to be a problem going back quite a ways that may be related to the file format more than any particular device. It also seems it may have to do with interlacing. Has anyone seen this in MX Player with MTS files? There is a setting that indicates you can deinterlace, but it only works with the SW Decoder, which I turned on, but then there is a different problem - choppy playback (always) and distorted images (at times). I'm hoping for a better solution. Is there one?
Click to expand...
Click to collapse
As you said Deinterlacing will only works with SW. SW decoder uses ffmpeg. So, it may render well in many occasions. But, it needs lot of cpu power. So, it may laggy in high definition videos (depends up on your hardware).
Both H/W & H/W+ uses system decoders. So, MX Player's control over it is very limited.
Sent from my SM-G900H using Tapatalk

Related

Video Playback on this phone is really slow, even when playing AVI files on MX Player

Has anybody else experienced this issue? Dice player is slow as hell too. Is there a setting that needs to be changed before the One XL will play video correctly or do video players need to be updated to work with the S4 processor?
One thing's for sure, video playback on devices optimized for particular encoding settings is optimum when those are followed.
Having said that, I have no problem playing 720p encodes in H.264 format using Handbrake with a profile that is based of the standard high profile but with B-frames, CABAC, 8x8 transform and weighted P-frames all turned off. These aren't necessarily the settings needed for optimal playback on THIS device but they are what I use for reliable playback on my Tegra 2 based Galaxy Tab 10.1 and those files that I've encoded for that play just as well on my One X.
I just dragged over a 1080p video shot on my Nikon D7000 onto my One X without any conversion at all and it plays perfectly fine using Dice Player. I was surprised.
Wonder if it's your encodes.
So far the best performance I've gotten on AVI without re-encoding is Bsplayer.
Sent from my HTC One X using XDA
In MX Player, change from "H/W" mode in the top right to "S/W (fast)" - see if that helps.
Another vote for BSPlayer. I was a big Rock Player proponent for a long time. But it doesn't seem to be updated any longer.
Also, similar to another previous response, forcing from HW to SW mode may help. Its a bit of a crap shoot depending on the encoding settings and codec used. But BS Player works for most things.
what if..
neocryte said:
In MX Player, change from "H/W" mode in the top right to "S/W (fast)" - see if that helps.
Click to expand...
Click to collapse
i tried this but it says that "H/W decoder is not supported.. what should i do? thank you for the help..

[Q] Codecs...

I've come from a lot of Samsung devices, and I decided to jump that boat as soon as I was no longer able to install CM on the Note III.
I have a Samba/FTP server, and I like to stream videos from Samba to my phone, like all the time, like 90% of the videos are h.264 mkv. I used DicePlayer on my Note III to stream, and it was pretty awesome. When I tried this on my OPO, it wouldn't work, presumably because the OPO doesn't have the proper codecs, so I went to the settings in Diceplayer and changed the setting for mkv to play under "software player" instead of default; This worked, but I only got like 2 FPS, literally. So I rolled my eyes and went and got VLC. VLC can't open network folders, so I had to use some other obnoxious app to open the files. This works, but its so crappy compared to Diceplayer, it skips/stops every minute or so.
I am wondering if anyone knows any way that I can get it all working with Diceplayer, or if there is a better app that I can use that works just as well. I don't know much about this kind of stuff, but it seems to me that the OPO doesn't have the proper codecs, and Diceplayer doesn't work well enough with the phone that it can make up for lack of said codecs.
Try using MX player. It runs everything and can use hardware and software codecs. It can also stream from a network though I have never used that feature.
kokocabana said:
Try using MX player. It runs everything and can use hardware and software codecs. It can also stream from a network though I have never used that feature.
Click to expand...
Click to collapse
I think I tried that one on my Note, it works, but its buggy, and to stream you have to open it via url which is annoying. But I will try it.
Hi, how it works?
I have problem with playing 720p .mkv movies (for example The.Flash.2014.S01E06.720p.HDTV.X265.mkv ).
It plays video slower than audio ( there is one second of audio freeze every five seconds). I have tried to install additional codecs, but it didn't help. It plays on SW decoder, HW/HW+ shows only error and switch to SW.
Also try to install VLC player, but it didn't work too.
480p mkv files are played ok, even via WiFi.
OPO and MX player are actual, phone isn't rooted.
Thanks for any advice
Install the necessary codecs. http://forum.xda-developers.com/apps/mx-player/mx-player-custom-codec-dts-support-t2156254
That should fix any codec issues.
Sent from my Nexus 6 using Tapatalk

Skip forward/backward function acts weird on my device.

I have a 2015 model of sony bravia android tv, and it has a MT5890 CPU and a mali T-624 GPU. I installed the latest version of mx player and armv7 neon codec.
I am able to play x265 coded videos with built-in video player without any problem, it's very smooth, and I can skip forward or backward or just jump to whenever I wish to.
However when using mx player, it's also very smooth, but I can only play from the beginning, if I try to skip forward or backward, or jump to a certain time point, it starts to act very weird. Sometimes video speeds up 2x or 3x, sometimes it slows down, like it's catching up or slowing down to wait audio to be synchronized. And it can take from couple of minutes to half an hour to go back to normal.
This only applies to x265 coded videos, I have other video that are coded with x264 or HEVC, and they work just fine in both built-in player and mx player.
I have tried other video players like spmc, kodi or VLC, they all stutter, VLC is probably the best among these but it is still dropping frames left and right. But most of them don't have problem with skipping or jumping.
Can someone please explain the reason? Could it be fixed?
Much appreciated!
terrytw said:
I have a 2015 model of sony bravia android tv, and it has a MT5890 CPU and a mali T-624 GPU. I installed the latest version of mx player and armv7 neon codec.
I am able to play x265 coded videos with built-in video player without any problem, it's very smooth, and I can skip forward or backward or just jump to whenever I wish to.
However when using mx player, it's also very smooth, but I can only play from the beginning, if I try to skip forward or backward, or jump to a certain time point, it starts to act very weird. Sometimes video speeds up 2x or 3x, sometimes it slows down, like it's catching up or slowing down to wait audio to be synchronized. And it can take from couple of minutes to half an hour to go back to normal.
This only applies to x265 coded videos, I have other video that are coded with x264 or HEVC, and they work just fine in both built-in player and mx player.
I have tried other video players like spmc, kodi or VLC, they all stutter, VLC is probably the best among these but it is still dropping frames left and right. But most of them don't have problem with skipping or jumping.
Can someone please explain the reason? Could it be fixed?
Much appreciated!
Click to expand...
Click to collapse
Basically, x265 is an encoder for HEVC. So, both are same.
Maybe some particular HEVC profile has issues. Can you try HW+ decoder?
Thirumalai.K said:
Basically, x265 is an encoder for HEVC. So, both are same.
Maybe some particular HEVC profile has issues. Can you try HW+ decoder?
Click to expand...
Click to collapse
In fact I am using HW+ decoder, and it's the only way I can play those videos smoothly. Switching to HW or SW would make the video either completely unplayable or stutter very heavily.
To sum it up, I CAN play any videos with built-in player smoothly and drag or jump or skip however I want to.
I CAN play x265 coded files smoothly with mx player in HW+ mode, but I CANNOT jump or skip. I CAN play any other videos with mx player without any problem.
I CAN play x265 coded files with some level of stutter with other players like spmc and VLC, but I CAN drag or jump however I want to.
The videos that I am having problem with have these kind of parameters:
Format : HEVC
Format Info : High Efficiency Video Coding
Format profile : Main [email protected]@High
Codec ID : V_MPEGH/ISO/HEVC
Writing library : x265 2.5+4-b4a5bcfe29c7:[Windows][GCC 4.9.3][64 bit] 10bit
If the writing library is x264 or ATEME Titan KFE or ATEME Titan file, or if the codec ID is hev1, or if the format profile is Main [email protected]@Main, I don't have a problem.
This is so weird....
To the TC - Did you ever get this sorted?
I am having the same issue on my Sony Bravia. Whilst the actual player is exactly what I wanted, I get exactly the same issue when fast forwarding or rewinding.
I have played around with the different codec settings but it doesn't seem to make any differences.
Did you end up finding a solution?
Cheers
littlelostkiwi said:
To the TC - Did you ever get this sorted?
I am having the same issue on my Sony Bravia. Whilst the actual player is exactly what I wanted, I get exactly the same issue when fast forwarding or rewinding.
I have played around with the different codec settings but it doesn't seem to make any differences.
Did you end up finding a solution?
Cheers
Click to expand...
Click to collapse
Glad to see that I am not alone. But unfortunately I did not find any solution and had given up on this.
After all, it is only a tiny fraction of all the videos have this kind of behavior.
Thank you for the confirmation

Freezing image on H264 with HW+ decoder

Hi, I've recently started using MX Player on my Android TV as its HW+ decoder plays very high bitrate 4K HDR H265 very smoothly whereas VLC player stutters. Really liking it so far.
However, I started to notice an issue with the HW+ decoder on H264: a lot of times, somewhere at the start of the video, the image freezes. Meanwhile, audio and subtitle tracks continue. This is easily resolved by just skipping a few seconds forwards or backwards, but it happens so often that it is a bit annoying. So I'm wondering if this is a known issue and if it has a known solution, despite that I can't seem to find anything about it after searching the forums.
I haven't bothered with providing custom codecs as I figure that isn't needed unless MX Player asks you to, but I did notice that MX Player uses the Neon codecs on my Android TV.
Things I've tried so far:
- Use the alternate HW+ decoder. Unfortunately this seems to perform not as good on high bitrate videos, and wide color gamut support seems absent on HDR videos, so I figured this one has more downsides than the original one.
- Disable H264 support on the HW+ decoder, so that it uses the HW decoder by default for H264. This works quite well, but for some reason, HW decoder seems to fail on many of my videos, causing MX player to fall back to SW, which gives noticeably worse performance and picture quality on my Android TV.
If I can't solve the freezing image on the HW+ decoder, I'd be interested to know how to best debug failures of the HW decoder so I can more reliably fall back to HW for H264.
shvklatch said:
- Disable H264 support on the HW+ decoder, so that it uses the HW decoder by default for H264. This works quite well, but for some reason, HW decoder seems to fail on many of my videos, causing MX player to fall back to SW, which gives noticeably worse performance and picture quality on my Android TV.
Click to expand...
Click to collapse
Probably the issue is either with your videos or system decoders.
H264 is supported on most of the devices. HW decoder is basically a wrapper for Android mediaplayer implemented on your device.
So, Most of the issues on HW decoder is from the device firmware itself.
HW+ decoder also uses the decoders available on the system. From the symptoms, it looks like your system decoder freezes or fails to decode the video frames.
Can you connect your device to a system in debugging mode & collect the logs while reproducing the issue?
It will give better insight into the issue.
Hi! Thank you for your reply. I figured you might be right about any HW decoder issues being caused by the system or the videos themselves, so I tried some stuff out. For instance, forcing VLC player to use hardware acc., the same videos play without issue, over and over again. Puzzled with this, I removed MX player completely from the Android TV device, and then installed it again. To my surprise, this fixed the HW decoder issues. The same H264 videos could now be played effortlessly with the HW decoder. In fact, I don't have any issue with H264 videos on the HW decoder at all anymore. This is great, but unfortunately also means I can no longer produce logs of the HW decoder issue I experienced. Not sure what happened there.
The HW+ decoder issue remains however. I'm still seeing the video track getting stuck on a single frame close at the start of H264 videos, until I skip forward or backward. Audio and subtitle tracks continue as normal. This behavior is completely inconsistent, seemingly random and not always occurring, even on the same video. This happened not even once during all my tests with the HW decoder, nor on any H265 video with the HW+ decoder. I will attempt to collect logs while reproducing and report back here once I succeed. (this could take a while)
shvklatch said:
Hi! Thank you for your reply. I figured you might be right about any HW decoder issues being caused by the system or the videos themselves, so I tried some stuff out. For instance, forcing VLC player to use hardware acc., the same videos play without issue, over and over again. Puzzled with this, I removed MX player completely from the Android TV device, and then installed it again. To my surprise, this fixed the HW decoder issues. The same H264 videos could now be played effortlessly with the HW decoder. In fact, I don't have any issue with H264 videos on the HW decoder at all anymore. This is great, but unfortunately also means I can no longer produce logs of the HW decoder issue I experienced. Not sure what happened there.
The HW+ decoder issue remains however. I'm still seeing the video track getting stuck on a single frame close at the start of H264 videos, until I skip forward or backward. Audio and subtitle tracks continue as normal. This behavior is completely inconsistent, seemingly random and not always occurring, even on the same video. This happened not even once during all my tests with the HW decoder, nor on any H265 video with the HW+ decoder. I will attempt to collect logs while reproducing and report back here once I succeed. (this could take a while)
Click to expand...
Click to collapse
Thanks in advance. If you can provide the device logs, we will definitely look into the issue.
Thirumalai.K said:
Thanks in advance. If you can provide the device logs, we will definitely look into the issue.
Click to expand...
Click to collapse
I don't have any logs yet, but I came in to report what I believe to be relevant in case anyone else has the same issues: I think you were right about something being off with the system's decoders.
My Android TV device, a Philips 65PUS8102/12 TV, had performance issues with 4k videos and some very high bitrate Full HD videos. I grew fond of MX Player because its HW+ decoder was still capable of running 4k videos smoothly, where nothing else could. It was still a lot to process and skipping forward/backwards was pretty much impossible on these 4k videos because of it. Then there were the h264 issues I reported here, like the frozen frames. Oddly enough, while performance and skipping worked perfectly on both the HW+ and HW decoder for h264 videos, every player using HW acceleration including MX did stutter on some of the very high bitrate ones full hd videos (that still came nowhere near the 4k video bitrates).
A few days ago, Philips issued a massive software update that included both an Android update from 6.0.1 to 7.1.1, and bugfixes resolving 4k performance and some decoding issues. Right now, MX Player's HW+ decoder is no longer the only way for me to play 4k videos smoothly. What's more, skipping works perfectly on them now, and any reproducible issue I had on h264 (both performance-related and freezing frames) I haven't been able to reproduce since.
So if anyone faces the same issues as mine with my particular TV or another from Philips sharing the same software-base, make sure you're fully updated to the Android 7 release to presumably resolve at least several of these issues.
shvklatch said:
I don't have any logs yet, but I came in to report what I believe to be relevant in case anyone else has the same issues: I think you were right about something being off with the system's decoders.
My Android TV device, a Philips 65PUS8102/12 TV, had performance issues with 4k videos and some very high bitrate Full HD videos. I grew fond of MX Player because its HW+ decoder was still capable of running 4k videos smoothly, where nothing else could. It was still a lot to process and skipping forward/backwards was pretty much impossible on these 4k videos because of it. Then there were the h264 issues I reported here, like the frozen frames. Oddly enough, while performance and skipping worked perfectly on both the HW+ and HW decoder for h264 videos, every player using HW acceleration including MX did stutter on some of the very high bitrate ones full hd videos (that still came nowhere near the 4k video bitrates).
A few days ago, Philips issued a massive software update that included both an Android update from 6.0.1 to 7.1.1, and bugfixes resolving 4k performance and some decoding issues. Right now, MX Player's HW+ decoder is no longer the only way for me to play 4k videos smoothly. What's more, skipping works perfectly on them now, and any reproducible issue I had on h264 (both performance-related and freezing frames) I haven't been able to reproduce since.
So if anyone faces the same issues as mine with my particular TV or another from Philips sharing the same software-base, make sure you're fully updated to the Android 7 release to presumably resolve at least several of these issues.
Click to expand...
Click to collapse
We are pleased to know that your issue is resolved.
As I have mentioned earlier, many of the issue with hardware accelerations are usually from the firmware itself. It can affect each app in a different manner based on their implementation. And finding a workaround without an actual device is also very difficult.
Thanks for providing the information about the firmware update. It will help us to guide our users if they are unaware of it.

Can screen size change the way a video file is played or handled?

Today my new TV arrived, I bought the xh90 to get myself ready for the upcoming gaming consoles, although the quality of the TV looks great, when I tried playing some files off my hard drive through the nvidia shield TV pro, 1 particular season always chops/screen freezes after a while, (this has only happend with this one series, all of the seasons are choppy) Everything else seems to play fine for now, also when I play the file through VLC everything seems to run smoothly, while with MX media player it does not.
The real kicker is on my previous TV the file is not choppy at all, neither with MX media player or VLC, the only difference seems to be my new TV is slightly bigger, 55 inch compared to my 41 inch previously. Does it perhaps have to do with the way MX media player encodes the file depending on what screen size you have?
bsgapollo said:
Today my new TV arrived, I bought the xh90 to get myself ready for the upcoming gaming consoles, although the quality of the TV looks great, when I tried playing some files off my hard drive through the nvidia shield TV pro, 1 particular season always chops/screen freezes after a while, (this has only happend with this one series, all of the seasons are choppy) Everything else seems to play fine for now, also when I play the file through VLC everything seems to run smoothly, while with MX media player it does not.
The real kicker is on my previous TV the file is not choppy at all, neither with MX media player or VLC, the only difference seems to be my new TV is slightly bigger, 55 inch compared to my 41 inch previously. Does it perhaps have to do with the way MX media player encodes the file depending on what screen size you have?
Click to expand...
Click to collapse
We would like to let you know that MX Player's HW/HW+ decoders make use of the hardware acceleration provided by your device. So, the performance will heavily rely on the multimedia capabilities of your device.
Regarding your issues, could you please specify the decoder used? MX Player's HW decoder directly use the android mediaplayer framework. In case if you noticed glitches with HW decoder, it might be caused by a firmware bug. Please click/tap on the HW button on the playback screen and try HW+ decoder. It may fix the issue.
MXPlayer said:
We would like to let you know that MX Player's HW/HW+ decoders make use of the hardware acceleration provided by your device. So, the performance will heavily rely on the multimedia capabilities of your device.
Regarding your issues, could you please specify the decoder used? MX Player's HW decoder directly use the android mediaplayer framework. In case if you noticed glitches with HW decoder, it might be caused by a firmware bug. Please click/tap on the HW button on the playback screen and try HW+ decoder. It may fix the issue.
Click to expand...
Click to collapse
Switching to HW+ fixed the problem for me, around 90% of my files are able to play through HW+ now, the rest I have to switch back and forth between mostly SW and sometimes HW.
I'm glad there is an option as well to "always play files through HW+ decoder", otherwise I would have to re-select the encoder every time I would want to play a file from HW to HW+.
You're the only person who replied and I'm grateful since that was enough to help me resolve the issue.

Categories

Resources