[Q] patching the libOmxVdec.so - Xperia Play Q&A, Help & Troubleshooting

Hey everyone has anybody tried to patch the libOmxVdec.so on the xperia play to allow 720p hardware decoding playback on diceplayer. If anyone has help please.

Never even heard of this, but might be interested to take a shot at it. Any links to more info?

this is the link http://www.google.co.uk/url?sa=t&source=web&cd=2&ved=0CCAQFjAB&url=http%3A%2F%2Fforum.xda-developers.com%2Fshowthread.php%3Ft%3D1170541&ei=4QhuTv22CMbWsgaa1OHbBA&usg=AFQjCNHDxkGeiowt7K15TxQdost8QHH7sA
ive tried but it messed up instead

this is another link u could try http://api.viglink.com/api/click?format=go&drKey=1359&loc=http%3A%2F%2Fforum.xda-developers.com%2Fshowthread.php%3Ft%3D1170541&v=1&libid=1315834125439&out=http%3A%2F%2Fdiceplayer.inisoft.co.kr%2Fnews-and-tips&ref=http%3A%2F%2Fforum.xda-developers.com%2Fshowthread.php%3Ft%3D1259093&title=%5BMOD%5D%20%5B720p%20HW%20PLAYBACK%5D%20libOmxVdec.so%20(removal%20of%20h%2Fw%20restrictions%20in%20playback)%20-%20xda-developers&txt=http%3A%2F%2Fdiceplayer.inisoft.co.kr%2Fnews-and-tips&jsonp=vglnk_jsonp_13158341317751

This very well may be possible after having looked into it a bit. The MSM8255 Snapdragon on the Xperia Play does support hardware playback of 720p... so... very interesting.

yep dats wat im thinking to its very interesting

Isn't the source for that lib present on FXP git?

I imagine it should be.
I gave it a shot with QQPlayer, one of the apps mentioned on the other thread and I saw no difference in video playing performance with a 720p video.

it tried it to and it didnt increase my compatiblity but lowered it in stock player and diceplayer wierd

Don't try patch libomxvdex.so.
This libOmxVdec.so is suitable for QSD8250 not QSD8255.
* edit
you should try libOmxVdec.so from Desire HD.

I'll give it a shot sometime tonight.

juami said:
Don't try patch libomxvdex.so.
This libOmxVdec.so is suitable for QSD8250 not QSD8255.
* edit
you should try libOmxVdec.so from Desire HD.
Click to expand...
Click to collapse
anyone have the link for desire hd lizOmxVdec.so

I grabbed one and it made no difference.
I might be using a video that can't be hardware accelerated anyways on the Play. Hmm.

i tried an all but i can play some videos of mkv not all though in diceplayer i mean i used d original but of nexus and dwsire

Related

Camera with 720P recording

Hi to All Devs/Everyone,
I found this camera app, this enable 720 recording but it is too laggy, may be you can help how to remove lag during recording. attach is the file. this is working with Android Gingerbread 2.3.4 but with lag. you may visit this link http://forum.xda-developers.com/showthread.php?t=1094424 for more details.
Update: Install BitrateMod(720P only), this will enable 1080P video recording, but still laggy. 1fps only.
Well, definitely something i was looking for, but can you tell where you got this file and what are the minimum requirements (like android version etc). i cant push it to my phone right now as im making auto installer thing for toolkit and my phone doesnt have a rom on Good luck devs!
Who try, working or not?
I have one camera that was ported to desre and is reported there to be capable of 720p recording in 2.3.3 builds....will test if it wirks also on HD2 and release then...
Good news Daekin!
maybe if we use chainfire + the nvidia plugin would adjust this,because i saw that this camera file is for tegra...
i attached the plugin
I used chianfire3d plugin but still laggy.
GO! 720p recording on HD2.
correction
archiesnet said:
GO! 720p recording on HD2.
Click to expand...
Click to collapse
On android because we already can use 720p on windows phone 7
Could the lag be related to the speed of your micro sd? . . . just a thought
The problem comes from the graphics drivers.
morg01 said:
Could the lag be related to the speed of your micro sd? . . . just a thought
Click to expand...
Click to collapse
might be? because i have only class 2 micro sd, if anyone can try using high speed micro sd, please post your result.
thanks.
white-energy said:
The problem comes from the graphics drivers.
Click to expand...
Click to collapse
if that would be the problem, may be our devs here could help us to eliminate lag during video recording?
i tried editing the media_profiles.xml on the attached but no luck to get the lag off.
adioph said:
i tried editing the media_profiles.xml on the attached but no luck to get the lag off.
Click to expand...
Click to collapse
Where to put that media_profiles file?
white-energy said:
Where to put that media_profiles file?
Click to expand...
Click to collapse
push the media_profiles file to /system/etc
adioph said:
push the media_profiles file to /system/etc
Click to expand...
Click to collapse
Alright.. it doesn't work with MIUI 1.6.3
People to make this working you need to develop kernel support. Things like this will never work 100%. And you wont be able to fix 720p by messing with some libs.
jan-willem3 said:
People to make this working you need to develop kernel support. Things like this will never work 100%. And you wont be able to fix 720p by messing with some libs.
Click to expand...
Click to collapse
Well I agree unless the codes are properly included in kernel it won't be perfect..!!!
But this info is very useful, guess a step forward if chransingh can do somethin we'll have it workin pretty soon
Well even standard recording is terrible on CM7 based ROM with sound out of sync and camera not responding if you record two videos in a row.
Unfortunately, the disappearance of many devs and chefs and the less and less interesting roms (a lot of updates but no real fixes) lead me to think that development for the HD2 is dying...

[Q] is it possible to get 720 p video working on the play

Hey guys is it possible to get 720 p video working on the play the hardware support so I think it wouldn't be hard to do
andrew.matten said:
Hey guys is it possible to get 720 p video working on the play the hardware support so I think it wouldn't be hard to do
Click to expand...
Click to collapse
Yes, it is possible to have 720p video on your XPlay. Just make sure it's in .mp4 video format and it should play with no issues. I currently have Spartacus: Gods of the Arena in 1280x720 .mp4 videos on my SD card and I can watch them just fine!
I use moboplayer for playing 720p (mainly .mkv or .mp4) see this thread http://forum.xda-developers.com/showthread.php?t=1080194 kenshindono tested and provided a list of players.
I think he means in the camera! I think the Play has the same camera as the arc, which I think supports 720p. Hopefully someone can mod our camera to support it, not all too sure though!
it should definitely be possible, just needs to be enabled with custom software. would probably require a SD card with class 4 or higher, root and/or unlocked bootloader (which is not yet possible on the R800x, the one i have. :lame:
Nhialor said:
I think he means in the camera! I think the Play has the same camera as the arc, which I think supports 720p. Hopefully someone can mod our camera to support it, not all too sure though!
Click to expand...
Click to collapse
Indeed lol now that you mention it. Well shouldn't his question have been "Hey guys is it possible to record 720 p video on the play the hardware support so I think it wouldn't be hard to do"
i pretty sure it dosent need to be enabled, its just not availible in the stock camera app, try lg camera pro, i used to use that to record 720p on my desire before it had 720p officially
Unfortunately mine cannot play HD anime episodes smoothly (.mp4)
Any solution ?
Wrong section?
Sent from my R800i using xda app-developers app
This is more for the Q/A section. Cuz you know, its kinda a question
Not to mention, this thread was necro'd all the way from 15th June 2011
Xperia-Play said:
Unfortunately mine cannot play HD anime episodes smoothly (.mp4)
Any solution ?
Click to expand...
Click to collapse
This thread was about 720p video recording not playback. The play does not have a screen capable of displaying HD video, so you might as well convert any video to the native res of the screen.
Sent from my iPhone 4S using Tapatalk
Flash cyanogenmod 9.1 or cyanogenmod 10. im pritty sure it enabled there. as long as you dont use Turbo Kernel as cosmicdan has disabled it in hes kernel to gain extra speed if im not too wrong

[MOD] [720p HW PLAYBACK] libOmxVdec.so (removal of h/w restrictions in playback)

best 720p solution yet.
Just want to inform all desire owners of Diceplayer.
It dosent support our phone (they say).
But it works flawless if you patch
libOmxVdec.so
wich is meant for the nexus-1.
Since N1 and desire share alot hardware i figured it might also work for our desire.
IT DID!!
This is my first thread or even post on xda.
LINK:
http://diceplayer.inisoft.co.kr/news-and-tips
FLASHABLE ZIP: (Latty)
http://forum.xda-developers.com/showpost.php?p=18424125&postcount=38
What Rom Does it Work on?
GB/FROYO - Sense/Non-sense?
Apparently what it does is, it removes restrictions in the h/w decoding. I think the devs of cyanogenmod should look into this and integrate it into their libs.
davebugyi said:
What Rom Does it Work on?
GB/FROYO - Sense/Non-sense?
Click to expand...
Click to collapse
Cyanogenmod?
Frigorio said:
Cyanogenmod?
Click to expand...
Click to collapse
I use it with cyanogenmod. So yes. Not sure with other roms but i suspect the libs are the same with sense roms.
The modified lib brings h/w hd functionality to other players aswell. Free alternatives like qqplayer. Probably other players also.
Someone should hint the devs of cyanogen to integrate the functionality into their roms. Devices that are capable. The Nexus-1 and desire.
Just tested it on Rcmix 2.0 sense rom still lags
So basically it will work on GingerVillain 2.7, too? Well, I'll try and see.
Playback yes iirc, but isn't 720p recording Sense only feature?
Exiled_SouL said:
Just tested it on Rcmix 2.0 sense rom still lags
Click to expand...
Click to collapse
You must use a player that uses hardware rendering. Default setting in many players are software rendering. Change to hardware rendering (in player).
it worked, but messed up the weather vids on cool sensation though.
hi to all,
just tried the patch and i would dare to correct the OP, well at least in my situation, 720p video playback didnt become without lag, however, now its less laggy. im using GB rom, Rcmix 2.0 with CM7r2 partition table, and class 10 16GB micro sd card (reading writing 11mb/s, reading 22 mb/s). so it has nothing to do with the card, however, as i said there much less lag now but videos are still not as smooth as i used to have on 2.2 based ROMS. but if htc release proper GB rom then maybe developers will be able to do something about it
don't work 4 me
daniele610 said:
don't work 4 me
Click to expand...
Click to collapse
You should write, which rom/kernel you are using. Otherwise your information is very senseless.
MatDrOiD said:
You should write, which rom/kernel you are using. Otherwise your information is very senseless.
Click to expand...
Click to collapse
Well. I am using cyanogen kernel and nightly rom. I have a class 10 sd card (sd-booster 2048).
I am having good results with 720 mkv video (diceplayer and qqplayer).
it works..!
took quite awhile for me to get SDK adb working.. but now it works so smooth!!
either on dice player or native player!
kudos for TS
PS: im also on CM7 rom and kernel, S2E a2sd, and stock 2GB SD card
work on leedroidhd?!
Would it work on Insertcoin stock GB rom?
Sent from my HTC Desire using XDA App
no idea of other roms aside from CM7, but i suggest to do nandroid backup, and then follow instruction inside the link from 1st post..
@OP - Are you part of dev team for this? I ask because you seem very keen to get this integrated into CM and you seem to have a lot of technical info.
BTW, I tried it on CM7.1RC1 and find lag. The "News & Tips" page you linked to does actually state though that 720p does lag at present until possibly the next update.
xybadog said:
@OP - Are you part of dev team for this? I ask because you seem very keen to get this integrated into CM and you seem to have a lot of technical info.
BTW, I tried it on CM7.1RC1 and find lag. The "News & Tips" page you linked to does actually state though that 720p does lag at present until possibly the next update.
Click to expand...
Click to collapse
If you manage to load the lib correctly (works in cm7, thats all i know) you should feel big difference from regular software encoding players like rockplayer etc.
Shure. there are some lags. But as i stated before. noting in comparison to software enc. based players. Very large 720 mkv may lag. But a typical 4gig 720p mkv plays well.
No. Im not in the dev team. I just been searching for a solution to play hi def mkv video. And this is by far the best solution.
What i do is every time i reflash my rom (cm nightly) i replaces the lib from first post with the one included in cm7 .zip file. /system/lib/libomxvdec.so
For testing this you must make sure diceplayer or any other player, is set to hardware encoding. Otherwise no improvement in playback.

Video Codecs

I took a look around. If I'm not wrong, there isn't any ROM ICS or JB or still newer than GB that have HQ video working.
Just one or two months ago I was using a Legend. There the problem was very difficult : ARMv6 was no more supported so it looked quite impossible to have HQ video working.
And now it has.
Zeubea, the developer of Legend's Unofficial CM9 ( a SO DAMN GREAT ROM ) managed to have HQ video playback working.
I don't know too much of processors, but ARMv6 indicates the instruction set, right? Desire is ARMv7, isn't it? I heard that the problem was just the version of instuction set while I had a Legend : ARMv7 had everything and ARMv6 did not. I suppose I was wrong, because Desire still don't have. I searched a little bit and I found something that indicated the problem was the GPU for hardware decoding. Desire's GPU is the same of Legend's. So, if I'm right, the problem existed.
I'm opening this thread mainly to ask for clarifications about all this : knowing what you're talking about is very important.
And then I'm sharing this [http://forum.xda-developers.com/showthread.php?p=33374614]. I don't know if it can anyhow help, because, as said before, I don't have very clear ideas about all this. But if it can, I hope this will help us all.
Thanks in advance for patience and explanations.

[Solved] h.265 decoding with hardware

Hi all,
I seems to have a little problem when it comes to reading h.265 encoded files. I'm on MX Player and while the software decoder works (but with stutters on the image, except for very low size files) the hardware decoding option gives me a black image at all times. I don't understand why i can't seem to decode h.265 since qualcomm affirms that snapdragon is able to decode it.
Any idea where this is coming from ?
I'm on stock LP rom with the last update.
Thank you
djona12
Try a different player - BS Player for example (or VLC Player).
Tried a whole bunch of player but none is working unfortunatly
All failed too decode smoothly with software (either video lagging and getting out of sync with audio or partialy grey image). Our 801 isn't powerful enough to decode h.265 with some software...
What i don't get is why no player seems to be able to use hardware support to decode the video since qualcomm said that we got h.265 support Could it be rom related ?
djona12 said:
.... Could it be rom related ?
Click to expand...
Click to collapse
Well, I'm on OmniROM and have the exact same behaviour...
AngryHapposai said:
Well, I'm on OmniROM and have the exact same behaviour...
Click to expand...
Click to collapse
That doesn't sound good
I also tried to change the screen resolution (to FHD and HD) while playing a video but same issue, i get the sound but no image in hardware mode...
I'm starting to think that h.265 support from the snapdragon 801 isn't real :/
Update!
I'm actually running a test drive on the SlimSaber LP ROM, and I'm totally able to smoothly play HEVC /h265 files using MX Player and the HW decoder.... :victory:
However, it complains that the HW+ decoder isn't supported.
That's some good news
Gonna give it a try, thanks for the update
About, HW+ decoder, i can't get it to work on any of my devices... Doesn't really matter when we already have HW i guess^^
EDIT : Little update here ! Tried SlimSaber to see about the hw decoding support (thax to AngryHapposai), worked fine, then went back to Color OS and hw decodinf was still supported ! Problem was the kernel on stock wasn't able to give us hw but the kernel from slimsaber (Linux 3.4.x) was... Restore with TWRP didn't reset kernel and after 3 days of use everything seems to work like a charm, hardware decoding included !

Categories

Resources