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

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.

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...

sense 2.1/3.0 videocamera problem..

Hi,
When using any sense 2.1 or 3.0 ROM, I find that when playing back videos recorded with the videocamera, the playback stutters intermittently, causing the audio and video to become out of sync.
This is on any resolution setting.
I tried various 3rd party apps to play back the videos in case the standard player wasn't playing correctly, but it always happens no matter what app I use, so the actual videos must not be getting recorded correctly.
I've tried:
Leedroid 3.3.3,
Aurora V3,
Insertcoin v1.1.4,
PyramidMod007 v10,
AceSMod007 V13 and 14
and it's the same on all of these ROMs.
I have stock Hboot and am using the A2SD versions of the ROMS, with Dalvik to SD.
This is the only problem with these ROMs, otherwise they are amazing - is anyone able to offer any help, or suggest a ROM which doesn't have this videocamera glitch when using my setup?
Even sense 2.1 with 3.0 lockscreen would do.
All suggestions appreciated.
wildcardspv.
Have you tried the camera fix mod for the Leedroid ROM?
http://forum.xda-developers.com/showpost.php?p=17903015&postcount=5088
Ravens97 said:
Have you tried the camera fix mod for the Leedroid ROM?
http://forum.xda-developers.com/showpost.php?p=17903015&postcount=5088
Click to expand...
Click to collapse
Not yet cos I thought it just addressed brightness/pixelation issues etc, not A/V sync.
I just saw your response to the "[Q] About 720p video recording" thread though and will be trying it soon.
Can you please confirm for me though-
Do you also have the Sense 3.0 mod installed?
And are you able to record on a lesser resolution, EG WVGA, with no lag or out of sync issues?
Ive answered your question in the other thread.

720p recording lags

I am using RCMixS v2.0 rom (with Gingerbread 2.3.3) and in my Desire I have a Sandisk micro-sdhc (not mobile ultra ) and, my video recorded at 720p have some lags.
May the microsd be the cause? Or it's a rom problem? If it is a rom problem, how can i solve?
Thank you in advance,
Sbarabau
Sbarabau said:
May the microsd be the cause? Or it's a rom problem? If it is a rom problem, how can i solve?
Thank you in advance,
Sbarabau
Click to expand...
Click to collapse
Both. 720p recording lagged from the day one, maybe the least on 1.9 roms, but lag was(is?) present nevertheless.
Faster sd card might improve it somewhat as people reported. But people reported ICS aosp is faster than GB aosp, so I'd say you'd be on thin ice believing there.
erklat said:
Both. 720p recording lagged from the day one, maybe the least on 1.9 roms, but lag was(is?) present nevertheless.
Faster sd card might improve it somewhat as people reported. But people reported ICS aosp is faster than GB aosp, so I'd say you'd be on thin ice believing there.
Click to expand...
Click to collapse
Thank you. For now I have increased the bit-rate of h264 codec in the media-profiles.xml file (I changed it from 14000000 to 20000000).
The biggest lags seems to be disappeared, but the video recording is still a little choppy...
EDIT: I have to correct myself, 720p still lags... any software solution, like as any script?
If I set Video bitrate to 2x on ICS camera, does this mean that the video will be smoother? If it's 2x, it is that more demanding for the phone?

[Q] Which ROM has the best camera (including 720p)

I'd love to have panorama and HDR, I tried a ROM last month that had the options (I think it was a sense ROM) but they didn't work well and it force-closed sometimes, etc.
I've also found that some of the newer android version ROMs seem to lack either H.264 or 720p video.
Front-facing camera is nice to have, but even the ROMs with that seem to suck for Skype.
Help!
You can download both of them from the play store... I have both and they work great..
Sent from my X10 using xda app-developers app
Only Sense GB Roms have 720
9h0s7 said:
Only Sense GB Roms have 720
Click to expand...
Click to collapse
Why is that? What binary blob needs reverse-engineered?
9h0s7 said:
Only Sense GB Roms have 720
Click to expand...
Click to collapse
wait, that's not true. I'm running cyanogenMod 6.2.1 and I have 720 video
how jerky is it? (i dont just mean playback on the phone itself, i mean no matter what device you play it back on. in other words, when i use AOSP cameras at 720p, there is jerkiness baked into the output. stutter, judder, jerkiness, dropped frames, insufficient fps, call it what you want, motion portrayal is poor especially during slow pans.)
NxNW said:
how jerky is it? (i dont just mean playback on the phone itself, i mean no matter what device you play it back on. in other words, when i use AOSP cameras at 720p, there is jerkiness baked into the output. stutter, judder, jerkiness, dropped frames, insufficient fps, call it what you want, motion portrayal is poor especially during slow pans.)
Click to expand...
Click to collapse
hmm, yeah i guess it is a little jerky.
Well thanks for the link in your sig, got that ROM running now and it seems like a keeper
Well, ok, if you're serious about all this, I will add that changing your scheduler to BFQ is probably the single best improvement you can make to videocam recording smoothness. You'll need a kernel that supports this. Almost any custom kernel will. If you're going to use the ROM in my sig (the Captain's 5.07 stock ROM) I would recommend the "Underworld" kernel. If you're running a AOSP ROM , I'm not as familiar with those choices (although I would recommend Reloaded anyway, and the "Mason" kernel included with it supports BFQ already, even if it isn't optimal for general, non-videocam performance). Note you'll have to do additional research on how to *activate* the BFQ scheduler even once you have a kernel that supports it. Or maybe you knew all this. But others may be interested. Happy searching..
used hdr camera + with cm7.2 (nightlies) and worked pretty fantastic. Def considered it better quality than stock camera and here is my disclaimer im not a photo buff... lol
In my opinion the Sense Rom Cameras look better. I've probably ran just about every rom on the OG EVO and that is what I have noticed.

[Q] CM9 RC6– stock gb video qual. comparison

Hi all
I am using cm9 rc6 and i am happy with that. Thanks to devs.
I ve compared the 720p videos of cm9 and stock gb. File size of gb version is nearly doubling the cm9 version. I watched both videos in pc and I am not surprised with that because there is a clear quality difference in favor of gb version video.
Is there a way to rec videos in cm9 as good as in gb Rom version?
cozgun said:
Hi all
I am using cm9 rc6 and i am happy with that. Thanks to devs.
I ve compared the 720p videos of cm9 and stock gb. File size of gb version is nearly doubling the cm9 version. I watched both videos in pc and I am not surprised with that because there is a clear quality difference in favor of gb version video.
Is there a way to rec videos in cm9 as good as in gb Rom version?
Click to expand...
Click to collapse
I've made a topic about the same Q, but only with cm10 and GB.
I've noticed the same thing lol, that the GB 720p runs on way better fps than JB.
Madzix said:
I've made a topic about the same Q, but only with cm10 and GB.
I've noticed the same thing lol, that the GB 720p runs on way better fps than JB.
Click to expand...
Click to collapse
i think we cant do anything about it for now, unless arco or other devs decided to improve it..
For me im quite satisfied, considering that its not working before..THANKS arco/devs for that..
FYI.. quoting arco's words about the camera.
•camera will never work as good as in stock rom, period! We are using ugly hal wrapper hack to get it to work at all! This is only guaranteed to work partially ok with included camera app. And still not everything will work at all with it, like certain effects or video calls. All other 3rd party camera apps may or may not work. Don't cry if they don't. If you absolutely need a 100% working camera, use stock rom!
[iop]wah said:
i think we cant do anything about it for now, unless arco or other devs decided to improve it..
For me im quite satisfied, considering that its not working before..THANKS arco/devs for that..
FYI.. quoting arco's words about the camera.
•camera will never work as good as in stock rom, period! We are using ugly hal wrapper hack to get it to work at all! This is only guaranteed to work partially ok with included camera app. And still not everything will work at all with it, like certain effects or video calls. All other 3rd party camera apps may or may not work. Don't cry if they don't. If you absolutely need a 100% working camera, use stock rom!
Click to expand...
Click to collapse
Thats bad, I hope, that in future we will be capable of recording those 30 fps videos.
Thanks for response anyway.

Categories

Resources