[Q] Difficulty HTTP Live Streaming with some .ts files - Eee Pad Transformer Q&A, Help & Troubleshooting

Ran into what I think may be a bug with Android 3.0 hardware video decoding.
I posted a bug to the Android issue tracker here.
Can anyone else confirm that they're seeing the same issue?

Related

Android 3.0 HTTP Live Streaming / .ts file playback bug?

Ran into what I think may be a bug with Android 3.0 hardware video decoding.
I posted a bug to the Android issue tracker here.
Can anyone else confirm that they're seeing the same issue?

[Bug Report] lost video smoothness using hw+ in 1.7.33

Hi. I recently upgraded to v. 1.7.33. Unfortunately, video playback is no longer smooth using hw+. In fact, now I cannot tell the difference between sw, hw and hw+ playback.
I have hardware acceleration on. I have installed the custom codec and the mx player codec from the android store.
My phone is a Nexus 5 running Lollipop.
In previous versions the hw+ playback was extremely smooth, and there was a real difference between it and sw. Now they are the same. The playback occasionally stutters and some sort of interlacing lines often appear.
axilmar said:
Hi. I recently upgraded to v. 1.7.33. Unfortunately, video playback is no longer smooth using hw+. In fact, now I cannot tell the difference between sw, hw and hw+ playback.
I have hardware acceleration on. I have installed the custom codec and the mx player codec from the android store.
My phone is a Nexus 5 running Lollipop.
In previous versions the hw+ playback was extremely smooth, and there was a real difference between it and sw. Now they are the same. The playback occasionally stutters and some sort of interlacing lines often appear.
Click to expand...
Click to collapse
There are lot of video lagging issues reported around the world. It's not limited to MX Player. Many others also facing.
Many people has reported that even it can't play videos smoothly with H/W decoder. There are some occasional stuttering. H/W decoder uses android native mediaplayer interface to play the video. If any problem on H/W decoder, mostly it will be from the rom. So, my conclusion is tgat it looks android 5.0 itself has issues.
There was a similar report earlier. But, developer can't reproduce it in his nexus 5. If he can reproduce the issue, then there is a chance to find a workaround.
Can you share the link of any video that has issue?
I was watching 'Only Fools and Horses', season 6, episode 5, 'sickness and wealth'. I downloaded it from here:
magnet:?xt=urn:btih:E3F064738DCBED60763C1E639332059092B14CCD&dn=Only%20Fools%20And%20Horses%20-%20The%20Complete%20Collection&tr=udp%3a%2f%2ftracker.openbittorrent.com%3a80&tr=udp%3a%2f%2ftracker.publicbt.com%3a80&tr=udp%3a%2f%2ftracker.istole.it%3a80%2fannounce&tr=udp%3a%2f%2fopen.demonii.com%3a1337
(perhaps me viewing this old series in this way is not perfectly legal, but its one of my favorite series and I don't have the means to access it in any other way - my apologies if I should not have posted the link).

Playing avi didn't work

Hello,
i want to use MX Player to watch a avi-file at my Samsung Galaxy S3 (i9300). After starting the video, I only see the picture of the beginning and hear the sound (HD-Decoder).
After changing to SW-Decoder (there is a message abourt adpcm) I can see the movie, but there's no sound.
I also tried the Codec for ARMv7, but this did't solve the problem.
Information about the avi:
Video-Codec: Motion JPEG Video (MJPG)
Audio-Codec: IMA WAV ADPCM Audio (ms)
update.freak said:
Hello,
i want to use MX Player to watch a avi-file at my Samsung Galaxy S3 (i9300). After starting the video, I only see the picture of the beginning and hear the sound (HD-Decoder).
After changing to SW-Decoder (there is a message abourt adpcm) I can see the movie, but there's no sound.
I also tried the Codec for ARMv7, but this did't solve the problem.
Information about the avi:
Video-Codec: Motion JPEG Video (MJPG)
Audio-Codec: IMA WAV ADPCM Audio (ms)
Click to expand...
Click to collapse
We couldn't reproduce the issue. Can you collect the bug report immediately after reproducing the issue and share here?
If you are not sure about how to collect a bug report, Kindly read https://forum.xda-developers.com/apps/mx-player/guide-how-to-collect-logcat-report-bug-t2843144
here is the bug report.
I have the same issue using the pro version, but it works on the starndard version. It was working on pro a few weeks ago.
update.freak said:
here is the bug report.
Click to expand...
Click to collapse
The log contains only information about the HW decoder playback.
Basically, HW decoder uses the mediaplayer API provided by the Android. MX Player has fewer controls over it. So, MJPEG decoder may not be properly implemented in your custom ROM.
Can you share the logs again after playing it in SW?
It will be better if you can share a sample content as well.
report after playing it in SW
any ideas?
update.freak said:
any ideas?
Click to expand...
Click to collapse
our developers are looking into the issue. we will try to fix the issue as soon as possible.
HW decoder issue might be from your ROM itself. So, it can be fixed from our end. Kindly cross check with your stock video player. It may behave in a similar way.

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.

Troubleshooting MX Player Stutter

Hello,
This is my first post regarding MX Player but I think it could be useful for others if they find themselves in a similar situation.
I recently purchased a new Android box for streaming and have been using MX Player without issue for a couple years.
When installing the latest version of MX Player(1.52.1) and Latest version of codecs (1.49.0 ARMv7 neon) I have intermittent stutters and videos sometimes crash or fail to play.
I have a T95z Plus model. 2022 Upgrade Android 12
OSAndroid 12.0CPUH618 Quad-core cortex-A53GPUMali-G31 MP2RAM4GBROM32GB
The specs are similar or identical to my previous unit. I replaced due to frequent crashing and software annoyances.
My solution was to find a downgrade. I'm not sure if posting links is acceptable here but google is your friend.
In my case I was able to open MX Player on my old unit and browse the About section in the settings drop down.
There I was able to find the current version and codec version that I knew to be stable.
The version of MX Player that seems to be working without issue for me is 1.48.9 using Codec version 1.44.
Hopefully someone finds this post useful and google will find this thread. I was unable to find any solutions after a couple hours of searching google and the xda forums.
Hey
MX Player's HW decoder is nothing but a thin wrapper around Android MediaPlayer implementation on the device. If you are facing this with the HW decoder, it's likely due to a firmware bug or the video profile exceeding the device's capabilities.
Please try selecting HW+ by selecting the HW icon on the player window and check again. This may provide a better experience in case of firmware issues. If the problem persists, please collect a bug report and share it with us at [email protected] along with a video recording so that we can get this checked.
Lacks87 said:
Hello,
This is my first post regarding MX Player but I think it could be useful for others if they find themselves in a similar situation.
I recently purchased a new Android box for streaming and have been using MX Player without issue for a couple years.
When installing the latest version of MX Player(1.52.1) and Latest version of codecs (1.49.0 ARMv7 neon) I have intermittent stutters and videos sometimes crash or fail to play.
I have a T95z Plus model. 2022 Upgrade Android 12
OSAndroid 12.0CPUH618 Quad-core cortex-A53GPUMali-G31 MP2RAM4GBROM32GB
The specs are similar or identical to my previous unit. I replaced due to frequent crashing and software annoyances.
My solution was to find a downgrade. I'm not sure if posting links is acceptable here but google is your friend.
In my case I was able to open MX Player on my old unit and browse the About section in the settings drop down.
There I was able to find the current version and codec version that I knew to be stable.
The version of MX Player that seems to be working without issue for me is 1.48.9 using Codec version 1.44.
Hopefully someone finds this post useful and google will find this thread. I was unable to find any solutions after a couple hours of searching google and the xda forums.
Click to expand...
Click to collapse

Categories

Resources