how to get hardware video decoding? - Android Q&A, Help & Troubleshooting

I installed the Vanilla Gingerbread V8.1 ROM from jt1134. I go to Mx Video Player, and I cannot play MPEG-4 avi files with hardware decoding.
I was on CM7.1, and with that, I could not even play h.264 mp4's with hardware decoding.
How come I can't decode h264 with hardware decoder?

mvmacd said:
I installed the Vanilla Gingerbread V8.1 ROM from jt1134. I go to Mx Video Player, and I cannot play MPEG-4 avi files with hardware decoding.
I was on CM7.1, and with that, I could not even play h.264 mp4's with hardware decoding.
How come I can't decode h264 with hardware decoder?
Click to expand...
Click to collapse
Maybe because your device doesn't support it (NB.: Hardware)

Theonew said:
Maybe because your device doesn't support it (NB.: Hardware)
Click to expand...
Click to collapse
No, the whole point is, on the stock ROM [EH03], video decoding works fine [last I tried while on that firmware]. But with the 3rd party roms [CM7, SuperClean3, etc.. I am going to give tsm pool party next I think], HW decoding is flaky/broken.

mvmacd said:
No, the whole point is, on the stock ROM [EH03], video decoding works fine [last I tried while on that firmware]. But with the 3rd party roms [CM7, SuperClean3, etc.. I am going to give tsm pool party next I think], HW decoding is flaky/broken.
Click to expand...
Click to collapse
This is due to the AOSP drivers not supporting it and due to that the codex have been removed. It is one of the things you give up running AOSP roms. Think of it like running Linux on a windows PC. Yes it will work but there will be compatibility issues and some things just won't work.

zelendel said:
This is due to the AOSP drivers not supporting it and due to that the codex have been removed. It is one of the things you give up running AOSP roms. Think of it like running Linux on a windows PC. Yes it will work but there will be compatibility issues and some things just won't work.
Click to expand...
Click to collapse
Argh..!! So are there any other roms that do support it and have the codec? Or is stock rom the only one?

mvmacd said:
Argh..!! So are there any other roms that do support it and have the codec? Or is stock rom the only one?
Click to expand...
Click to collapse
Any rom built off of the stock rom will be able to do it. As they have all the Device built drivers and supporting codecs

zelendel said:
Any rom built off of the stock rom will be able to do it. As they have all the Device built drivers and supporting codecs
Click to expand...
Click to collapse
Right, I meant what are the most well known stock-based fascinate roms?
where the most well know non-stock roms being Cyanogenmod, JT's vanilla GB, TSM Pool Party, SuperClean3..

Related

[Q] What's the most stable Froyo ROM?

I currently have 'VEGAn-TAB ROM BETA 5.1 FINAL' installed as of yesterday and it's already crashed while I was watching a video. I know Gingerbread doesn't have video acceleration so I would like to avoid that if possible.
They're all pretty darn stable. And they're all listed at my site.
http://viewsonic-gtablet-for-dummies.webs.com/rom.htm
vzq said:
I currently have 'VEGAn-TAB ROM BETA 5.1 FINAL' installed as of yesterday and it's already crashed while I was watching a video. I know Gingerbread doesn't have video acceleration so I would like to avoid that if possible.
Click to expand...
Click to collapse
It may not be the rom that caused this...what video player was being used? what file format was the video in? when did you select if you were given the option of hard coding or soft coding? Where there are plethora of apps running in the background? What exactly was the "crash, forced reboot, lock up, video/audio distortion? Did the video file play properly on another device, ie your computer?
There are many players out there, some work well, some work kinda "eh." Some can't handle some video formats, some can play them, but not properly. Some vieo formats require decoding, hard or soft (I like hard when speaking of ice cream, but software decoding ususally works for my videos).
I'm using BC (the 1.2 version of VEGAn 5.1.1), and rockplayer to play video. I've been thinking of trying moboplayer, since it seems to have received rave reviews on this and other forums. I've been able to play .avi files with software decoding. MP4 files play fine, but the quality isn't as good..they're made for mobile devices with really tiny screens.
When I rip or download a movie, I almost ALWAYS make sure that it runs fine on my Acer netbook (same screen size) to get a general idea of what I can expect on the G-Tab.
in a nutshell, your issue may not be the rom at all...VEGAn 5.1.1 is probably one of, if not THEE most stable 1.1 based rom out there.
goodintentions said:
They're all pretty darn stable. And they're all listed at my site.
http://viewsonic-gtablet-for-dummies.webs.com/rom.htm
Click to expand...
Click to collapse
Thanks! I looked at the site.It is a darn good site.

[Resolved][Q]About that little thing called hardware video acceleration.

I understand due to the lack of driver source code that Hardware acceleration will not work on our tabs past 2.2(froyo). But I am currently running Calkulin+Clemsyn 1.5ghz Froyo Combo VERSION 6: http://forum.xda-developers.com/showthread.php?t=1024120 and I have tried at least 20 diff videos and diff formats using hardware codec and not one video played. I know you can use apps to play videos with software codecs but when you start going into 720p and 1080p videos the video slows way down. So is there something I'm missing? I thought the tegra 2 could handle 1080p decoding? If there is another ROM that can do HD decoding better please let me know cause video playback is what I use my tab the most for. Thanks for any help and sorry for the wall of txt lol.
Will punch the thanks button!!!
Edit: Ok after several trial and error's on trying pershoot's kernel I decided to go ahead and re-encode my videos using Freemake video converter. It works and the quality actually looks better! This program is free and it has Android presets for our tablets so that you get the best video quality at our resolution! Now I would still like to use pershoot's kernal but I can't find any froyo roms that has his/her's kernel already packed into the rom. If some one could please help me with finding one that would be super! Thanks soooo much!!!
stock rom works...
http://forum.xda-developers.com/showthread.php?t=884103
works ... i test 1080p
browse internet low....
chacaldecg said:
stock rom works...
http://forum.xda-developers.com/showthread.php?t=884103
works ... i test 1080p
browse internet low....
Click to expand...
Click to collapse
Hmmm....well I guess I'm gonna have to choose between video acceleration or a stable ROM? :/ lol is there a custom rom with hardware acceleration? Thanks so much for the answer
I used Calkulin's ROM along with whatever current kernel Pershoot had and I never had any issues with and HD videos. You might want to give one of Pershoot's kernels a shot.
sumdumdude said:
I used Calkulin's ROM along with whatever current kernel Pershoot had and I never had any issues with and HD videos. You might want to give one of Pershoot's kernels a shot.
Click to expand...
Click to collapse
Thanks I'll try that! also what player are you using? If its a stock player, could you post the apk? Thanks so much!
BLT24 said:
when you start going into 720p and 1080p videos the video slows way down.
Click to expand...
Click to collapse
Why not re-encode to a lower resolution? The GTab can't even play 720p without resizing, which is what's killing you.
1024x600 - that's the screen size. Re-encode your HD video to be under that. It will play like butter. And be considerably smaller.
schettj said:
Why not re-encode to a lower resolution? The GTab can't even play 720p without resizing, which is what's killing you.
1024x600 - that's the screen size. Re-encode your HD video to be under that. It will play like butter. And be considerably smaller.
Click to expand...
Click to collapse
Why would they say you can play up to 1080p video, if you really cant? lol Also does it matter if its 600x1024 or 1024x600? The reason I ask is because I see it different all the time lol And one more thing, What program would you suggest to re-encode? Thanks so much for everything!
Edit: Ok so I tried pershoot's newest kernel out and I love it! I get some video acceleration back and it also fixed some sound issues I was having. The only problem is that after I install the kernel it boot's up fine but if I reboot, it gets stuck in a boot loop. If I do a factory reset it will boot back up again. but if I reboot then it gets stuck in a boot loop again. So with that said I don't think this kernel is meant for this ROM. What is the best froyo ROM that includes pershoot's kernel? Thanks for everything!!!!

[FIX] Hardware Video Decoder Lag Fix [2.3 / xRecovery]

If you watch videos encoded in high quality resolutions above 854x480, H.264 or MPEG4 and a pretty high bitrate, you might notice that video playback is laggy and not fluid with custom ROMs. This flashable zip package is supposed to fix that.
Tested
Stable - Any ROM based on stock 2.3.3 (Wolfs TW Gingerbread, Blue Sparks, Ultima GB etc.)
Stable - Most xRecovery-based CM7 ROMs (ZMOD, SpaarcMOD, FreeXperia Sony UI Achotjan etc.)
Stuck on boot - MIUI ROMs
Untested
FXP CM7 (won't work anyways since it uses CWM)
Special thanks to
zdzihu
EDIT: I've uploaded a test video to check whether video decoder lag is present or not.
http://puu.sh/5j8h/SmoothnessTest.mp4 (854x480, H.264, 5 mbit/s)
If it stutters during playback, that's an indication that the video is lagging.
This fix will not eliminate the problem but will reduce the lag by a huge margin.
I noticed this while watching videos with camera panning, they looked very juddery.
Anyone tried this? Just wondering what the original problem was.
Sent from my X10i using XDA App
So, this should enable me (us) to play 720p Youtube vids?
never notist a problem and if there whas a problem, Z would have notist and came with the solution.
I think i would not flash this before making a back up.
Puck24 said:
So, this should enable me (us) to play 720p Youtube vids?
Click to expand...
Click to collapse
You already play hd youtube.
Guys, please play the video in the OP on your phone and see whether it lags or not.
blacklistedcard said:
Anyone tried this? Just wondering what the original problem was.
Sent from my X10i using XDA App
Click to expand...
Click to collapse
The original problem was playback of high quality videos were very laggy.
robertberma said:
never notist a problem and if there whas a problem, Z would have notist and came with the solution.
I think i would not flash this before making a back up.
Click to expand...
Click to collapse
Why do you feel like discouraging people who try to offer something to the community?
On the one hand, there are tons of threads in General section
whining about people moving on from the X10 and development stalling,
and then there are post like yours... It's just not right.
Anyway, @OP, I played the test video and noticed no lags.
Could you explain what is it that you changed in the .so libraries please?
And why some people have the issue and others don't?
Thank you very much!
Okay. Downloaded the files. Tested the video. It does stutter a little.
Tested with scary gov. Running video twice... 22sec at 128mhz. And none over 500mhz! So its not decoding over cpu
P.s. Yes, also did with performance. Same problem.
Now gonna make backup. And then flash file.
Noticed the lag myself. So maybe it's missing a video codec, so it's not using hardware rendering.
I'll flash the fix and see if it works.
Dwaine
My_Immortal said:
Anyway, @OP, I played the test video and noticed no lags.
Could you explain what is it that you changed in the .so libraries please?
And why some people have the issue and others don't?
Thank you very much!
Click to expand...
Click to collapse
It depends.
On modded stock ROMs, if the dev included z's audio lag fix, this problem will surface.
On custom ROMs (CM7 for example), the issue is already there.
This zip simply replaces the libs with those from stock ROM.
PS: It was one of the reasons why I didn't use Froyo custom ROMs.
doomed151 said:
It depends.
On modded stock ROMs, if the dev included z's audio lag fix, this problem will surface.
On custom ROMs (CM7 for example), the issue is already there.
This zip simply replaces the libs with those from stock ROM.
PS: It was one of the reasons why I didn't use Froyo custom ROMs.
Click to expand...
Click to collapse
So, it will give us back the audio lag while listening to music then?
doomed151 said:
It depends.
On modded stock ROMs, if the dev included z's audio lag fix, this problem will surface.
On custom ROMs (CM7 for example), the issue is already there.
This zip simply replaces the libs with those from stock ROM.
PS: It was one of the reasons why I didn't use Froyo custom ROMs.
Click to expand...
Click to collapse
You could have also said this in first Post, right?
flashed it and saw no big difference. I'm on WB4.0.4
Maybe he already included it.
P.s. Your test video is not realy high res ^^ does 1080p work on our phone? Depens on bitrate i guess.
My_Immortal said:
So, it will give us back the audio lag while listening to music then?
Click to expand...
Click to collapse
Technically, yes. Personally, I rarely get any audio lags while listening to music except when there's CPU heavy stuff going on like installing a large app from the Market.
doomed151 said:
If you watch videos encoded in high quality resolutions above 854x480, H.264 or MPEG4 and a pretty high bitrate, you might notice that video playback is laggy and not fluid with custom ROMs. This flashable zip package is supposed to fix that.
Tested on
Any ROM based on stock 2.3.3 (Wolfs TW Gingerbread, Blue Sparks, Ultima GB etc.)
Most xRecovery-based CM7 ROMs (ZMOD, SpaarcMOD, FreeXperia Sony UI Achotjan etc.)
Untested
FXP CM7 (won't work anyways since it uses CWM)
MIUI ROMs
Special thanks to
zdzihu
EDIT: I've uploaded a test video to check whether video decoder lag is present or not.
http://puu.sh/5j8h/SmoothnessTest.mp4 (854x480, H.264, 5 mbit/s)
If it stutters during playback, that's an indication that the video is lagging.
This fix will not eliminate the problem but will reduce the lag by a huge margin.
I noticed this while watching videos with camera panning, they looked very juddery.
Click to expand...
Click to collapse
Doesnt work on MIUI Rom got stuck on bootlogo ,
doomed151 said:
Technically, yes. Personally, I rarely get any audio lags while listening to music except when there's CPU heavy stuff going on like installing a large app from the Market.
Click to expand...
Click to collapse
I see...
But I got terrible audiolag before Z's fix when listening to music, even when this was the only thing I did (no other tasks running, screen off).
Xperia X10i via Tapatalk
My_Immortal said:
I see...
But I got terrible audiolag before Z's fix when listening to music, even when this was the only thing I did (no other tasks running, screen off).
Xperia X10i via Tapatalk
Click to expand...
Click to collapse
It may be because I'm running a custom kernel. Barely any audio lag.
Is it possible to play the pps.tv with h.264?
robertberma said:
You already play hd youtube.
Click to expand...
Click to collapse
Not really. We play HQ YT vids aka 480p
Try DL-ing a 720p or even a 1080p vid and play it... see what happens. Not to mention HD divx/xvid content
P.S. regarding audio lag. I still experience it while underclocking to 128MHz. It's doesn't happen while the sleep FQ is at 245, though

[Q] Custom ROM's and GPU Acceleration

Hello all and Happy Thanksgiving. On Friday I am going to pick up a Samsung Galaxy S II. I am looking to root is and flash the UnNamed ROM. I have heard that flashing custom ROM's means that GPU acceleration no longer will work. Is this true and are there any ROM's that allow for it to work? Thank you!
Gpu acceleration as far as videos or in general? Samsung does have proprietary codecs to support wmv, avi, etc, that will not work on non Samsung roms, but there are third party apps to help remedy media playing, but they are not perfect.
As far as the GUI and 3d graphics are concerned though, I can assure you that gpu acceleration still works.
Sent from my SGH-I777 using XDA App
Thank you!
If you pay for Dice Player you can play every file the stock player can play and more.
well there is one more caveat... samsung uses gpu acceleration on their launcher to make it buttery smooth... you cant get that on other launchers. but at the same time other launchers aren't as heavy as the sock one. generally i like what Samsung does, they think things through very well.
poofyhairguy said:
If you pay for Dice Player you can play every file the stock player can play and more.
Click to expand...
Click to collapse
Diceplayer does have some nice support, however, it does not perform as well as stock when it comes to high profile wmv's and avi's. They still play choppy on any non-samsung roms in my experience, whereas on sammy roms they play super smooth.
Ryukeima said:
...will not work on non Samsung roms, but there are third party apps to help remedy media playing, but they are not perfect.
Click to expand...
Click to collapse
What about ROM's that are based on the original/stock ROM, but modified (such as Unnamed)? I'd think that these would retain all the benifits of the stock ROM as long as those specific components aren't removed/replaced. Other than CM7, most seem to be in that category.
garyd9 said:
What about ROM's that are based on the original/stock ROM, but modified (such as Unnamed)? I'd think that these would retain all the benifits of the stock ROM as long as those specific components aren't removed/replaced. Other than CM7, most seem to be in that category.
Click to expand...
Click to collapse
You are correct. Roms that are based on stock still have the enhanced gpu support for videos. I suppose I was not being very clear in this regard. Not all custom roms are based on outside sources.
For example, I am using unnamed 1.3.1, which is based on stock and I can still play my high profile wmv 's fine. When I load up any of the miui roms or cm7 roms, however, I lose the enhanced support. Make sense?
Sent from my SAMSUNG-SGH-I777 using XDA App

[Q] hw acceleration in WIUI 2.2.10 Stable (GB)

Hi there.
Anybody know if there is a way to enable/patch the rom so the hw acceleration would be possible.
i play the mkv files with mx video player and i see that there is only the sw possible.
anybody have any idea?
Such a thing does not yet exist for any AOSP based ROMs.
as a matter of fact it does exist in one GB rom ...
AdyScorpiusMIUI-GB[2.3.7][DARK][SMOOTH & CRISP][MIUI-GB]
http://forum.xda-developers.com/showthread.php?t=1488399
wini77 said:
as a matter of fact it does exist in one GB rom ...
AdyScorpiusMIUI-GB[2.3.7][DARK][SMOOTH & CRISP][MIUI-GB]
http://forum.xda-developers.com/showthread.php?t=1488399
Click to expand...
Click to collapse
Whilst I see that it is listed as a feature of that ROM, I'd personally like to call bull<insert profanity> on any HW acceleration of video playback claims.
oinkylicious said:
Whilst I see that it is listed as a feature of that ROM, I'd personally like to call bull<insert profanity> on any HW acceleration of video playback claims.
Click to expand...
Click to collapse
well i have tried the AdyScorpiusMIUI-GB yesterday and the videos with 1080p 30fps played smoothly with normal frame rate.
p.s. i have noticed that the new Miui Special Edition v7 has HW acceleration too.
I'll give it a try today...

Categories

Resources