[Q] How come h/w decoding doesnt work on AOSP/AOKP/CM9 Roms - Galaxy S II Q&A, Help & Troubleshooting

I really want to use CM9 or AOKP type roms but I do a lot of video watching on my phone and for most formats H/W acceleration is not available in any media player I've tried, usually using MX Player, I think theres H/W for only one format but all others my video files are forced into software decoding which drains the battery very quickly.
On samsung roms all my video files play fine using H/W decoding, is there anyway I can fix this or is this a limitation of AOSP/CM9 type roms?

Kaldius said:
I really want to use CM9 or AOKP type roms but I do a lot of video watching on my phone and for most formats H/W acceleration is not available in any media player I've tried, usually using MX Player, I think theres H/W for only one format but my video files are forced into software decoding which drains the battery very quickly.
On samsung roms all my video files play fine using H/W decoding, is there anyway I can fix this or is this a limitation of AOSP/CM9 type roms?
Click to expand...
Click to collapse
H/W accelerated decoding is available on Dice player and BSPLAYER even on AOSP based Roms
Swyped from my Galaxy SII

Jokesy said:
H/W accelerated decoding is available on Dice player and BSPLAYER even on AOSP based Roms
Swyped from my Galaxy SII
Click to expand...
Click to collapse
Thanks I'll give these a try, but I'm still wondering why it doesn't work on MX Player and if there is a way to make it work with it, the option is just greyed out on most formats, it does work for one forget which i think .mp4 files.

Kaldius said:
Thanks I'll give these a try, but I'm still wondering why it doesn't work on MX Player and if there is a way to make it work with it, the option is just greyed out on most formats, it does work for one forget which i think .mp4 files.
Click to expand...
Click to collapse
Mxplayer is very good, with its design and functionality but it's inbuilt codecs are not top notch. Presently, it's not even usable on jelly bean
Swyped from my Galaxy SII

Related

Best video player?

so i'm confused, mainly because I don't know anything about video codecs, but what is the best video player for the Atrix. With the Tegra 2, I assumed video playback would not be a problem. However, I've had issues playing AVI files as well as MP4 files downloaded through TubeMate. I've tried the default player, Mvideo Player, Act 1 Player, QQ player, and YX player. For my MP4 files, some play and others lag while the sound plays without issue.
Any suggestions?
phaijai said:
so i'm confused, mainly because I don't know anything about video codecs, but what is the best video player for the Atrix. With the Tegra 2, I assumed video playback would not be a problem. However, I've had issues playing AVI files as well as MP4 files downloaded through TubeMate. I've tried the default player, Mvideo Player, Act 1 Player, QQ player, and YX player. For my MP4 files, some play and others lag while the sound plays without issue.
Any suggestions?
Click to expand...
Click to collapse
Act 1 Player for me.
The problem is that a lot of these players are using a "software decode" method instead of a "hardware decode" method. Rockplayer worked like a charm on the captivate for mp4 mkv... etc but for some reason rockplayer does not work well with tegra chip. I have contacted them about this and they gave me a version that was supposed to be for our device but it did not work any better. So hopefully a tegra vid player with hardware decoding will come out soon.
I was wondering about the whole "software decode" over "hardware decode". Hopefully Rockplayer releases an updated version. In the meantime, I'll try Act 1 again.
irus said:
The problem is that a lot of these players are using a "software decode" method instead of a "hardware decode" method. Rockplayer worked like a charm on the captivate for mp4 mkv... etc but for some reason rockplayer does not work well with tegra chip. I have contacted them about this and they gave me a version that was supposed to be for our device but it did not work any better. So hopefully a tegra vid player with hardware decoding will come out soon.
Click to expand...
Click to collapse
Well since the Tegra doesn't have hardware support for high-profile H.264 you're not going to *get* a video player that handles hardware decoding any better than the default app. There's a reason the default "Video Player" won't play those files.
Try Vital Player. I've used it to play a few files even up to 1080p using Software Decoding. It's not perfect but it's one of the best I've tried. Software decoding is the *ONLY* way to play most H.264 videos.
hotleadsingerguy said:
Well since the Tegra doesn't have hardware support for high-profile H.264 you're not going to *get* a video player that handles hardware decoding any better than the default app. There's a reason the default "Video Player" won't play those files.
Try Vital Player. I've used it to play a few files even up to 1080p using Software Decoding. It's not perfect but it's one of the best I've tried. Software decoding is the *ONLY* way to play most H.264 videos.
Click to expand...
Click to collapse
Just tried Vital Player, its great thanks!
Sent from my MB860 using Tapatalk
I am trying out Vital Player myself and I can't get it to see my sdcard. It keeps going into my internal storage. I set the root directory in the settings area for /mnt/sdcard-ext/ I tried several variations but it keeps looking into my internal storage. I don't keep videos in there cause they take up too much room. Any one know how to get it to look in the sd card?
Instead of using the built in file browser you can select the video file in the motorola file app then select it then Vital Player.
So far it works excellent for me. Seems smoother and the on screen controls are useful.
I have been using the file app but if I like the player I was thinking of getting the pro. But no sense paying money if I can't use the built in file search. I don't mind spending a few bucks on something good.
Sent from my MB860 using XDA Premium App

[Q] 720p video playback?

Hi, I just tried to play a ripped copy of a 720p bluray video, and realized that this laggs pretty bad when trying to do this. I am currious if there would be a way to play 720p on these, I know archos can. I have tried several apps, all of them lagging, even tried overclocking. Google don't turn up much.
Maybe it's because your using a blueray video?
Use matroska format.
________________________________
~ Sent from iOS/Android device
iJimaniac said:
Hi, I just tried to play a ripped copy of a 720p bluray video, and realized that this laggs pretty bad when trying to do this. I am currious if there would be a way to play 720p on these, I know archos can. I have tried several apps, all of them lagging, even tried overclocking. Google don't turn up much.
Click to expand...
Click to collapse
I have lags too! I've tried every player.
It seems hardware acceleration doesn't work on mkv files.
tapioco2000 said:
I have lags too! I've tried every player.
It seems hardware acceleration doesn't work on mkv files.
Click to expand...
Click to collapse
I actually am using an mp4 file but I think we have the same general problem.
If you are rooted, you can try editing /system/build.prop. Open it with text editor in root explorer and add "video.accelerate.hw=1" without quotes to it (make sure you back up the original file first!). That line is supposed to let the GPU render videos. Reboot your device, and see if video playback is any better. Also, there are many other build.prop tweaks that you can use found here:
http://www.freeyourandroid.com/guide/build-prop-modifications
and here:
http://forum.xda-developers.com/showthread.php?t=1227269
I use MX Player, easy to see whether GPU acceleration is working in that program. It has a lot of other nice features too, recommended in general.
The Wifi-5 plays the 720p trailer files I've tried without lag. Sometimes a few home-made files may seem to lag, but this is more likely to be due to incompatibility/ non-standard compression codecs than a lack of power. It doesn't seem to have problems with high-profile files or high bitrates in general. This is under Froyo, by the way.
onurdndar said:
I use MX Player, easy to see whether GPU acceleration is working in that program. It has a lot of other nice features too, recommended in general.
The Wifi-5 plays the 720p trailer files I've tried without lag. Sometimes a few home-made files may seem to lag, but this is more likely to be due to incompatibility/ non-standard compression codecs than a lack of power. It doesn't seem to have problems with high-profile files or high bitrates in general. This is under Froyo, by the way.
Click to expand...
Click to collapse
Let's try the famous mkv test file "Killa sampla" posted on XBMC forum.
MX fails! It says "hardware acceleration not supported"! And other players too!
tapioco2000 said:
Let's try the famous mkv test file "Killa sampla" posted on XBMC forum.
MX fails! It says "hardware acceleration not supported"! And other players too!
Click to expand...
Click to collapse
Which version of Killa Sample? Hopefully not the 1080p, that's obviously not supported. Even if it's a 720p version, it's way overkill.
klin1344 said:
If you are rooted, you can try editing /system/build.prop. Open it with text editor in root explorer and add "video.accelerate.hw=1" without quotes to it (make sure you back up the original file first!). That line is supposed to let the GPU render videos. Reboot your device, and see if video playback is any better. Also, there are many other build.prop tweaks that you can use found here:
http://www.freeyourandroid.com/guide/build-prop-modifications
and here:
http://forum.xda-developers.com/showthread.php?t=1227269
Click to expand...
Click to collapse
Thanks for the tip, I tried it, then used Mx video player with hw rendering, but it still lags. My next mission is converting to 480p, witch is the actual resolution of this screen.
Two possibilities are either:
1) Resolution is too high or
2) Device can handle the resolution but not the H.264 profile used for the video
Samsung Galaxy Player 5 won't play m4v files
I have several files loaded onto my Droid 3 that play fine. But, when I load them onto my Samsung Galaxy Player 5, I get the error message: "Cannot play video, sorry, this video cannot be played". What format do I need to use for the Samsung Galaxy Player 5 to get the videos to play? I have tried MP4, WMV, M4V, etc...
iJimaniac said:
Hi, I just tried to play a ripped copy of a 720p bluray video, and realized that this laggs pretty bad when trying to do this. I am currious if there would be a way to play 720p on these, I know archos can. I have tried several apps, all of them lagging, even tried overclocking. Google don't turn up much.
Click to expand...
Click to collapse
my 4.0 plays 720p and 1080p without lags, the formats I use are wmv avi and mp4. Maybe its audio coding my player can't play AC3
Sent from my GT-I9000 using XDA
no AC3 audio is perfectly fine, its definitely the container. google Handbrake and DL it, its the greatest encoder I've ever used. Sure there is a slight learning curve but once you know how to use it your 720p videos will play flawlessly on your preferred video app (imo mx player is the best one out there)

Wait for ICS or install BS.Player or DICE

New Transformer Prime owner. Just about to take it out of the box and get up to speed on this device. I'm a media nut who has tons of videos in 720P and 1080P mkv format. Was wondering whether it was worth waiting a few days for ICS to be available so the default video player could play them with HW acceleration or if I should install one of the ad-supported players like BS.Player or DICE?
I can wait the 3 days until the 12th so no big deal there. I have a lot to learn on this tablet but look forward to discovering what it is capable of.
How obstructive are the ad-supported features or DICE and BS.Player? Would prefer to not have to deal with ads.
ICS is supposed to have HW acceleration and MKV support if I'm not mistaken, but let me know your suggestions.
Thanks.
Dice Player
I have 20tb of mkv content, and a set of samples representing that content shows me I can play 99% of that content in Dice Player.
If you want to play mkvs, Dice Player should be the first app gotten out of the box.
I don't know how intrusive the ads are though. I bought the ad-free version for my SGS2 months back before it was pulled.
ICS is reported to support MKV, but that's just a container. Will it have HW decoding for all codecs?
I also bought Dice player. The free version (back when it first came out) only lets you use it for 3 days. You can reinstall to keep using it but that's just annoying. The software is worth the $4-5.
One thing to note:
The default player on the Prime does seem to support mkv. The issue is that the default player is not robust enough to play the many types of encodes you find in the scene. Only Samsung's stock SGS2 player can do that in my experience of having tested over a dozen Android devices with my samples.
With Dice Player, you get a robustness to play 99% of scene content.
Yeah, I'm kinda stuck in no mans land because they pulled the full version of DICE off the market. My only option is to get the ad-supported one or BS.Player. Both have HW support and will play back 99% of the scene related mkvs out there.
Seems the board is split on DICE vs BS.Player for the Transformer Prime, so I will install both and give them a test run to see which one I like better. It's a shame that we don't have a paid version available to avoid ads at this time. Don't know why the pulled DICE player off the market.
Why not just install it? It takes less than 20 seconds
d1ez3 said:
Why not just install it? It takes less than 20 seconds
Click to expand...
Click to collapse
This !
Its not like its a life choice question... as stated, itll take about 20 seconds to install them ... probs less time than it took to log on here and post this thread.
tcb121 said:
Yeah, I'm kinda stuck in no mans land because they pulled the full version of DICE off the market. My only option is to get the ad-supported one or BS.Player. Both have HW support and will play back 99% of the scene related mkvs out there.
Click to expand...
Click to collapse
True both have HW support, but Dice Player has superior container support and BY FAR superior DTS support. Since many 1080p mkv use DTS tracks, it is the best option.
Don't know why the pulled DICE player off the market.
Click to expand...
Click to collapse
Currently can not purchase the full version because the checkout account is suspended.
Click to expand...
Click to collapse
https://market.android.com/details?id=com.inisoft.mediaplayer.trial&hl=en
I will install both. I'm disappointed that I don't have an option to use an ad-free version of a media player with HW acceleration. The root of my question was weather ICS and the default player would solve my problem or will I require a paid app or ad-supported free app to play back my media. I'm new to Android so I'm not sure how the OS plays with installing and removing apps vs keeping a clean system as much as possible. If anyone could confirm that ICS can play hw accelerated 720p & 1080p mkv files that would be the information I'm looking for. I'm capable of testing this out for myself in 3 days time when ICS comes out, but I figured I would jump the gun to see if one of the sharp people here on the boards could answer my question.
It is hard to answer your question without ICS on a Prime, but I will try.
The only device with official ICS now is the GNex. Someone tested a GNex with my samples and said they failed with the stock player. Yet the Gnex can play all of the samples with Dice Player he said.
Extrapolating from that, I assume that you will still need Dice Player to play most scene content, especially when you add in the fact that nothing has been said that ICS will get DTS support.
d1ez3 said:
Why not just install it? It takes less than 20 seconds
Click to expand...
Click to collapse
Rofl!
anyway, MX Player is boss
https://market.android.com/details?id=com.mxtech.videoplayer.ad&hl=en
ermacwins said:
Rofl!
anyway, MX Player is boss
https://market.android.com/details?id=com.mxtech.videoplayer.ad&hl=en
Click to expand...
Click to collapse
+1...Mx player plays all the files that dice player skips & stutters through on my Prime.I even bought the full version,it works so good.
tcb121 said:
Was wondering whether it was worth waiting a few days for ICS to be available so the default video player could play them with HW acceleration or if I should install one of the ad-supported players like BS.Player or DICE?
How obstructive are the ad-supported features or DICE and BS.Player? Would prefer to not have to deal with ads.
ICS is supposed to have HW acceleration and MKV support if I'm not mistaken, but let me know your suggestions.
Click to expand...
Click to collapse
Don't bring your hopes high. HW video decoding acceleration is already present in Honeycomb (at least H263 H264 VC1/WMV on the TF). And yes, ICS should bring MKV (limited) support which is to finally give Webm container support. But you will not be able to play any of the movies that have DD or DTS sound with any of the built-in players (guess it's licensing issues). They need software decoding provided by third party apps like Dice and BsPlayer.
I have the full version so can't say about the "demo" ad-supperted one. But they should be very obtrusive. Why not give it a try?
Anyone from ASUS reading this? Please give us MPEG2 video hardware acceleration support. Pretty please

H.264 not supported in MOV or AVI containers on Samsung-based ICS ROMs

I have several 1080p h.264 files in .mov and .avi containers that played perfectly with HW decoding on the AT&T-based GB ROMs. But with all of the ICS ROMs I've tried, they don't open at all in the stock video player. Both VPlayer and MX Player show they're using SW decoding instead of HW decoding.
ROMs I've tried:
SHOstock2 v1.1
Samsung leaked UCPLC5
AOKP 4.04
CM9 Nightly 2012-04-05
UPDATE:
It turns out that the Samsung-based ICS builds no longer support h.264 in Quicktime .mov or Microsoft .avi containers. However remuxing the .mov or .avi file into a Matroska .mkv file using MKVMerge (or other MKV muxing tool) allows the built-in media player to play the files properly and the HW decoding works fine. This also allows MX Player to play the file with HW decoding.
DicePlayer is able to play any of the formats with HW acceleration on both the Samsung-based ROMs as well as on AOKP.
MX Player HW decoding only worked for .mkv on the Samsung-based ICS ROM.
Thanks to everyone who provided feedback.
H.264 works fine for me on Shostock2 v1.1
CM9 (and probably AOKP) will never have hardware-accelerated x/h264 playback due to licensing issues with re-distributing Samsung's proprietary code.
I haven't tried playing movies on UCPLC5 leak (I don't watch movies on such a small screen), but I would go ask in the thread in the developer forum.
Stupid question... did you do a full wipe before flashing?
fatuous said:
Did Samsung eliminate supported file formats or resolutions with ICS or something?
Click to expand...
Click to collapse
The other way around. Samsung didn't have time to add file formats support in ICS yet. ICS in many ways is closer to HoneyComb than GingerBread. Galaxy Tab 10.1 owners have suffered this similar issue (only 1/10th of formats will play) from day one. Who says newer OS is always better.
raduque said:
CM9 (and probably AOKP) will never have hardware-accelerated x/h264 playback due to licensing issues with re-distributing Samsung's proprietary code.
I haven't tried playing movies on UCPLC5 leak (I don't watch movies on such a small screen), but I would go ask in the thread in the developer forum.
Stupid question... did you do a full wipe before flashing?
Click to expand...
Click to collapse
Actually, I am running task650's latest released AOKP rom and it plays my 1080p mp4 and mkv's based on h264 perfectly using HW acceleration @ 10 mbps.
However, It doesn't play my wmv's whereas Samsung based roms do. I'm not too broken up about it though. I just converted any wmvs to mkvs and now they play fine.
Sent from my SGH-I777 using XDA
On my ROM, every HD file I have on my computer (mkvs using DivX, H.264, and a bunch of other codecs) play perfectly. However, I do have some special files that don't play...
raduque said:
CM9 (and probably AOKP) will never have hardware-accelerated x/h264 playback due to licensing issues with re-distributing Samsung's proprietary code.
I haven't tried playing movies on UCPLC5 leak (I don't watch movies on such a small screen), but I would go ask in the thread in the developer forum.
Stupid question... did you do a full wipe before flashing?
Click to expand...
Click to collapse
Actually H.264 was fixed quite a while ago. Works fine for me.
foxbat121 said:
The other way around. Samsung didn't have time to add file formats support in ICS yet. ICS in many ways is closer to HoneyComb than GingerBread. Galaxy Tab 10.1 owners have suffered this similar issue (only 1/10th of formats will play) from day one. Who says newer OS is always better.
Click to expand...
Click to collapse
It looks like this is what's happening.
It seems that the Samsung-based ICS builds no longer support h.264 in Quicktime .mov or Microsoft .avi containers. However remuxing the .mov or .avi file into a Matroska .mkv file using MKVMerge (or other MKV muxing tool) allows the built-in media player to play the files properly and the HW decoding works fine. This also allows MX Player to play the file with HW decoding.
DicePlayer is able to play any of the formats with HW acceleration on both the Samsung-based ROMs as well as on AOKP. However I noticed that DicePlayer on the Samsung-based ICS ROM was very smooth playing back 1080p whereas there were noticeable dropped frames playing the same file on AOKP 4.04.
MX Player HW decoding only worked for .mkv on the Samsung-based ICS ROM.
Ryukeima said:
Actually, I am running task650's latest released AOKP rom and it plays my 1080p mp4 and mkv's based on h264 perfectly using HW acceleration @ 10 mbps.
However, It doesn't play my wmv's whereas Samsung based roms do. I'm not too broken up about it though. I just converted any wmvs to mkvs and now they play fine.
Sent from my SGH-I777 using XDA
Click to expand...
Click to collapse
What video player are you using? I'm trying to play an x264 video with MX player and it only plays in SW.
Nevermind... BS player works. I prefer MX player's interface but have no clue why it won't play certain files in HW.
mzaur said:
... BS player works. I prefer MX player's interface but have no clue why it won't play certain files in HW.
Click to expand...
Click to collapse
If you like MX Player's interface, you should check out DicePlayer. I don't like it as much as MX Player, but it's UI is allot closer to MX Player than BSPlayer is.
Based on my testing, it seems like MX Player hardware decoding relies on the underlying OS to handle splitting containers into streams whereas DicePlayer and BSPlayer seem to have built-in support for splitting .mov and .wmv.

[Q] SlimBean 2.4 i9100 - MX Player (video codecs)

Hello,
I have an i9100 running Slimbean 2.4. I have an issue playing back video files. Slimbean 2.4 does not come with a video player, so I installed MX Player, but even via the ARMv7 codec it does not play any files.
I have tried MX Player on the i9100 using CM10 nightly, NeatRom, and Samsung original (rooted), and here it plays the files without an issue.
I tried to move the Video Player from the Samsung stock to SlimBean, but of course this failed horribly.
Any advice?
PeterDB2012 said:
Hello,
I have an i9100 running Slimbean 2.4. I have an issue playing back video files. Slimbean 2.4 does not come with a video player, so I installed MX Player, but even via the ARMv7 codec it does not play any files.
I have tried MX Player on the i9100 using CM10 nightly, NeatRom, and Samsung original (rooted), and here it plays the files without an issue.
I tried to move the Video Player from the Samsung stock to SlimBean, but of course this failed horribly.
Any advice?
Click to expand...
Click to collapse
Download Dice player or Bsplayer. Both are very good and works well in Jellybean with any need for any codec again.
Mxplayer is good but is note m not that compatible with Jellybean.
Swyped from my Samsung Galaxy SII
and
Jokesy said:
Download Dice player or Bsplayer. Both are very good and works well in Jellybean with any need for any codec again.
Mxplayer is good but is note m not that compatible with Jellybean.
Swyped from my Samsung Galaxy SII
Click to expand...
Click to collapse
Thanks for the app recommendations, I will try them, since right now I am using a V Player. I think it was called V Player, but I tried so many and most do not offer good software decoding or proper hardware decoding.
However, MX Player was updated a few days ago to support Jelly Bean. And again if it works in CM10, which is JB based, then it should work in SlimBean... or not?
PeterDB2012 said:
Thanks for the app recommendations, I will try them, since right now I am using a V Player. I think it was called V Player, but I tried so many and most do not offer good software decoding or proper hardware decoding.
However, MX Player was updated a few days ago to support Jelly Bean. And again if it works in CM10, which is JB based, then it should work in SlimBean... or not?
Click to expand...
Click to collapse
Yeah! But it still doesn't work well for me even after the so called update.
Those apps i recommended use their own integrated hw accelerated codecs even on AOSP ROMs and therefore will not freeze your phone unlike players like Vplayer or Mxplayer, that works with their own sw accelerated codecs alone.
Swyped from my Samsung Galaxy SII
Jokesy said:
Yeah! But it still doesn't work well for me even after the so called update.
Those apps i recommended use their own integrated hw accelerated codecs even on AOSP ROMs and therefore will not freeze your phone unlike players like Vplayer or Mxplayer, that works with their own sw accelerated codecs alone.
Swyped from my Samsung Galaxy SII
Click to expand...
Click to collapse
Thanks for the advice. I tried both DICE and BS Player, the UI on BS is a bit to big and clunky for me, so I seltted on DICE. After trying it for a few hours, DICE has certainly become my favourite new player. I will even start using it on my other Android devices.
Again, thanks for the help!
My God, DICE player is so very good!!
Thanks for the suggestion - very impressed with the pop-out video play!
For popup up video play use super video(but if mx does not work super wont work either)
Basically it has better pop up features
Free version can play 2 popups simultaneously
Full version can play more than that
DICE is the best(it even allows fast forward(2x speed)like VLC on mobile)

Categories

Resources