[Q] Disable all video acceleration in 5.1 ROM - Android Q&A, Help & Troubleshooting

An outstanding issue with several S4 5.x ROMs is that Youtube and Facebook videos are very jerky during the first 10 seconds. I am fairly sure this is due to poor hardware acceleration, and its failing back to software which works properly. When using VLC, there is actually a toast telling the user that hardware decode failed and it switches back to software, with the same timing that Youtube and Facebook fails over.
Can someone tell me how to change config for the entire OS to stop attempting to hardware accelerate videos, or possibly delete the driver/codec that its trying to use?
http://forum.xda-developers.com/showthread.php?t=2539361
http://forum.xda-developers.com/showthread.php?t=2557353
I've tried "video.accelerate.hw=0" in build prop, as well as a couple other items that had "hw" in them, no changes whatsoever.

Related

[Q] Audio in flash video crashes DSP

Hi. First time poster, but certainly not my first time here. Rogers Dell Streak with stock Rogers Froyo 2.2 baseband 339 I think. It has been rooted and carrier unlocked with no other major changes. Adobe Flash player up to date. So are my browsers. Here's my problem:
Flash interactive content works excellent. However, I have a problem playing Flash video content. Video will load normally, and upon playing, it will stop after 1 or 2 seconds and issue a popup asking user to report crash.dsp.img. Flash video becomes unresponsive after that.
I can confirm that the DSP is the issue. After a Flash video crash, I have no audio whatsoever. In other words, no rings, no notification audio, no music audio. Nothing. Hard reboot restores audio, but Flash video crash issue remains. Hot reboot fails to boot after a crash; it may be having a problem reinitializing the DSP.
I have tried factory resetting. I've also tried reimaging altogether by reinstalling the stock rom. The problem is apparent in stock browser and miren, as they are the only two I use. Occasionally, with the stock browser, I can watch the Flash video but with no audio.
I've also tried flashing Steve's 720p video DSP fix to see if it would solve the issue. It hasn't, and was a long shot anyway.
Judging by the lack of posting on this issue, here and the world wide web, I'm pretty sure I must be the only user in the entire world to have such an issue with the Streak. But can someone offer help here?
Thanks in advance everyone!
youre not alone...
Hi, I have the similar problems as you...
although the pop up message comes on whenever i run an app or anything that uses audio...including games, skype, youtube, flash content on browser, and expecially phone calls.
On phone calls, its connects properly and after, as youve said, 2 - 3 seconds, the program crashes and asks me to report "dsp.crash.img to RD"..
Only a reboot can restore the audio, but the problem comes back when ever i try to use apps with sound...
I hope there is someone in XDA that will be able to give us advice for a fix...
I have now reverted to my ever trusted Milestone...

[Q] Droid razr struck and restarts while playing videos

when ever i play any video in my razr in any player , sometimes it got struck and phone restarts. it only happening in all custom roms ! i am the olny one here who is facing this problem ? please help.
You are not alone, is present in many ROMs, some do it more than others. Best scenario i have found with latest versions of kitkat is : fail to play media but at least no reboot.
It also happens in stock but it handles better, so no reboots only app crash.
I'm currently using latest dirty unicorns kitkat rom. it eventually cannot play some videos but at least no reboots.
My best solution so far is installing MX player. When hardware fails, it will fall back to software playback. Much better than telling people to wait until reboot so you can show a video. This way, if Firefox or dolphin browser fail to play, I can choose to open with mxplayer.
I think many people will not notice it cause they don't use it as intensively for video playback. Also because not every video fails to play... Some videos will still work fine even if error has been triggered maybe some formats are not affected. And, some ROMs will handle it better (less tendency to reboot).
I don't have the link to the thread, but other xda user posted a reply explaining same problem in a different device yet based in same omap processor.
My suggestion, try dirty unicorns. Some versions of cm11 were fine. But best solutions is installing mx player as a work around. Cause even if rom doesn't reboots, once hardware playback fails, it will fail until reboot.

LGV30+ video playback problem

I'm looking for a solution for a video playback problem my LG-H930DS (SEA) has after the 8.0 Oreo update. When I start the phone everything is working well, but after a few minutes of normal usage the built-in videoplayer cannot play video recordings made by the phone itself. It says "Cannot play video - This file type is not supported" Then I have to restart the phone to get it working again. But it fails nearly every day. I wouldn't mind this failing because I can choose a different app to play the gallery videos, but the problem is that Snap-chat videos fail to play as well when this happens, until next restart. That's the bug I cannot have. Also when the phone gets into the state of not playing videos, the ringtones and alarm clock make no sound.
To start the problem I only have to open a few random web pages in chrome, open the gallery a few times, play some videos , and in a few minutes of this usage video playback crashes. MX player, VLC and youtube still work though.
I have done a lot of troubleshooting for this problem:
Full restore of the phone
Flashed different firmwares, H930DS20b, H930DS20d, and the european variant H93020d
Tried with no apps installed, other then preinstalled ones
Tried it in safe mode
But the problem always remains.
I always use the same google account. And after upgrading to 8.0 the problem does not seem to start until I restart the phone for the first time, after that it's constantly failing. Don't know if it starts when the memory gets close to full or not, but nothing else is failing on the phone.
I have now downgraded my phone to the Android Nougat 7.1.2 (H930DS10d) and this problem is not there, no matter how hard I try to replicate it.
I can only find one link on google where this problem is reported. (problem #6)
I have contacted LG Support, and they had never heard about this, and wanted me to send my phone in for repairs. But I'm not willing to pay for shipping from Europe to Asia, if this is just a software problem.
Is someone else getting this problem, or does know a fix or a workaround for it? Or is there a way for me to view the errors the phone is running into?
Sorry for the long post, hope someone is willing to read it and give me a little help
I finally found out what the problem is. It's actually just media files in the storage I use every day. These files only contain audio, but have the extension .ts. Video playback on the phone fails because the gallery is trying to create thumbnails of them to display. The workaround for the problem was to place a .nomedia file in the folder containing those files, to hide them from the gallery. After that the problem stopped. I've been using these files for years, and it has never been a problem until Android 8.
have you tried some other video player?
stock one is quite basic and thin.
Hi, yes I do use another players, but the gallery is failing video plaback in snapchat and stopping ringtones and alarms from working aswell, without using the stock player.
Same problem here with LG V30
I have the same problem with my phone I have the T-Mobile V30 and I have the same issue. I figured out not to take videos in 4k [email protected] works fine. But the moment I create a video at 4k it either starts playing and stops midway with sound continuing to play with frozen picture or it just says it doesn't support the video.
I've been using LG phones ever since the G2 and never had any other phone or any problems with them. This one though is getting really annoying.
I hate these Q&A format threads with a passion. I wish people would just open regular threads...
Jopson said:
I have the same problem with my phone I have the T-Mobile V30 and I have the same issue. I figured out not to take videos in 4k [email protected] works fine. But the moment I create a video at 4k it either starts playing and stops midway with sound continuing to play with frozen picture or it just says it doesn't support the video.
Click to expand...
Click to collapse
Have you tried other video players like VLC, MXPlayer?
Yes sir I did many players and VLC is always on all my devices and it also gets stuck. I'll try the .nomedia file and see how that works
And I have a problem with the smoothness of video playback in gallery, whether it's a bluray movie in mp4/mkv FHD format, or from camera in FHD or in 4k is always on Android 8.0 I have a delicate jam, how would he lose single frames every 0.7sec ~ 0 , 25sec. I came back for testing on 7.1.2 and it is perfectly smooth always, as soon as I updated to 8.0 version 20d or the latest 21h there are jam ... how b was an oreo error, quite a few friends did not catch up with this problem, I'm a perfectionist and I look at every detail whether it's a video or sound, that's why I chose the highest model of the phone.
LG releases more patches (already 4) and as soon as it appears oreo are staples. You can see that this is a pfroblem with support for video caps because MX Player also has micro jams on the hardware codec.
Interestingly, youtube is fluid.
I only hope that the Android Pie will be improved.
I'm having the same problem as well please let me know when you will find the solution to this problem of smoothness of video
At first it was running smooth AF but after some time i noticed the problem after 1 day of use.
Reseting the phone didnt work.

[Q] Problem to watch videos on the tablet.

I bought this tablet a few days ago (already knowing that it is from 2011 and that I would have to make some adjustments to it). I have already tested some custom roms and the most stable so far (but not perfect) has been aop 7.1.2. But I noticed a problem that I'm facing in all custom roms, I think even in stock 4.0.4 this also happens: I can't open newer videos (mp4, mkv, 1080,720p, I didn't test all formats, but when I open these files only play the audio and the video is not displayed). I've looked at various topics talking about this issue and the use of video players like kodi, mx player, etc. But the problem is not solved. If the problem is driver or custom rom, can anyone recommend me one that is more stable and is running videos normally?
Hello,
I got exactly the same problem on the same tablet (mkv playing only audio and no video on all players I tried with the Galaxy tab 10.1 from 2011 under stock Android 4)
I did not try other roms for now but if you find a solution I would be pleased to get your feedback!
Thank you
Florian
The problem lies on two factors: the first is the absolutely old drivers which are closed source and, according to the developer that stills cares about this tablet, impossible to update/reverse engineering. The second issue is the tegra2 processor itself which is basically unsupported by any modern app (Google ones, for example).
After that, you also has to take into account that modern HD content has higher bitrates than a few years back making it harder for the tablet, that wasn't that great at it in the first place, struggle even more at playing videos.
Thanks!
Crystal clear! Thanks for the answer!
Florian
feromgar said:
The problem lies on two factors: the first is the absolutely old drivers which are closed source and, according to the developer that stills cares about this tablet, impossible to update/reverse engineering. The second issue is the tegra2 processor itself which is basically unsupported by any modern app (Google ones, for example).
After that, you also has to take into account that modern HD content has higher bitrates than a few years back making it harder for the tablet, that wasn't that great at it in the first place, struggle even more at playing videos.
Click to expand...
Click to collapse
I'm running the same AOSP 7.1.2 ROM but in my case, the sound is not in sync with the video. Weird. Now, using this tablet as picture viewer only.

Modifying SmartTubeNext for no user input seamless playback like in YoutubeTV.

Hi,
I need a ad free youtube expereince on Fire TV 4k. For this, I installed SmartTubeNext. It does the job fine, but I have one big issue with it.
Its autoplay behavior is different from that of the original Youtube app or Youtbe TV.
I need SmartTube to automatically always be playing some video from the suggestions and not wait for any user input.
Right now SmartTube starts and waits for userinput on what to play.
While I can open SmartTubeNext via intent and tell it to play some specific video. it will play it and then just stop when the que is finished and wait for userinput again.
I do not want SmartTubeNext to wait for any userinput and if not specifically instructed by the user to play any suggested video, unless the user specifically selects a specific video to play.
This is exactly how YouTube TV behaves. You switch it on and it will start playing a video from suggestions right away and play the next suggested video once the first ends indefinitely. Or if you cast a specific video to YoutubeTV, it will automatically play a suggested video after the video that you casted ends. But the downside is that the stock apps show annoying ads.
What I have tried so far:
1. Posted an issue on github and asked for this suggestion to be implemented. Unfortunately there are also others, who want the opposite. They want every video to play only when they want. SO the suggestion has not been implemented yet.
2. I tried compiling the code on linux with the hope to modify code like "onSuggestedItemClicked" or "onFinish" to set the player to keep playing a suggested video. But as the compiling fails with error "buildStorigDebug" does not exist, I failed in compiling. Also on the github there are amny who struggle to compile STN.
3. I tried decompiling and modifiying the code, with dex but fail as I'm totally lost in the code.
Anyone can help me and tell me how to implement this simple feature into SmartTubenext?
Any help would be appreciated.

Categories

Resources