yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] eoghan2t7:
it should be once ported to jellybean source code ;)
[Android Software/Hacking General [Developers Only]] elrond_bs:
OMG! Is this even possible? You mean hardware video acceleration for mpeg4 (DivX, Xvid) in avi??? :eek:
[Android Software/Hacking General [Developers Only]] Jamesnorny:
MX player

Is this mean, that when we start avi file with mx player it will use HW decoder???
[Android Software/Hacking General [Developers Only]] Eskuero:
I'm just wondering but you need decoders for those file types I thought...

Enviado desde mi Wildfire S A510e usando Tapatalk 2
[Android Software/Hacking General [Developers Only]] Ganster41:
This decoders already implemented in our platform. You need only update OMX libs in your ROM to get it working.

Last Samsung and LG phones already has it in its oem libs, i think, because it can play this formats on Gingerbread.
[Android Software/Hacking General [Developers Only]] VR.gtmini:
AGAIN. A REVOLUTION.

thanks Gansta

A company with 1000s of employees can't but A GENIUS with thousand brains can.

I :banghead: to spit on the face Qualcomm
[Android Software/Hacking General [Developers Only]] Anindya JV:
does it work on gingerbread FOR INSTANCE IF U COULD COMPILE IT FOR GINGERBREAD FOR PLAYING THE DIVX AND XVID IT WOULD BE VERY NICE.....GREAT JOB FIXING VIDEO DECODER.
[Android Software/Hacking General [Developers Only]] Frankin96:
You can play that on gb with mx player.
[Android Software/Hacking General [Developers Only]] azur3orion:
Upd5 tested on lg p500, with paranoid 1.5 based on hephappy's ics build 9.1.3. Lq and hq youtube works flawlessly, mp4 videos from gallery works too, divx stops after 1 sec of playback.

Tapatalk 2-vel küldve az én LG-P500-ről
[Android Software/Hacking General [Developers Only]] Ganster41:
Try to use your device default OMX libs, or my, if you already uses yours.
[Android Software/Hacking General [Developers Only]] elrond_bs:
Here's the result of my quick H/W decoding tests with the new build of CyanogenMod 10 for ZTE Blade by KonstaT.
[Android Software/Hacking General [Developers Only]] MA-90@:
Can be useful http://limoa.sourceforge.net/node
[Android Software/Hacking General [Developers Only]] Frankin96:
Nope ..
[Android Software/Hacking General [Developers Only]] azur3orion:
Tried already all options, but did not worked. I think it could be app related, if others got it working. Anyway thanks for your work, I love to watch youtube in hq again on ics. :)

Tapatalk 2-vel küldve az én LG-P500-ről
[Android Software/Hacking General [Developers Only]] gazzylover:
How About Gazzy (Galaxy GTI 5510)

How About Gazzy (Galaxy GTI 5510), pls fix the ROM for this device... THX
[Android Software/Hacking General [Developers Only]] erikcas:
As your developer to fix it

Verstuurd van mijn GT-S5660 met Tapatalk
[Android Software/Hacking General [Developers Only]] Laperuz_rus:
Gangster41, could you look at the log. This is a part of the log while using SPB TV app. Is this a missing feature that can be implemented or something else?

E/OMXNodeInstance(1990): OMX_GetExtensionIndex failed
W/ACodec (1990): Video O/P format.eColorFormat 0x7fa30c00
E/QCvdec (1990): get_extension_index: Error, Not implemented
E/OMXNodeInstance(1990): OMX_GetExtensionIndex failed
F/ACodec (1990): frameworks/base/media/libstagefright/ACodec.cpp:2248 CHECK_EQ( (status_t)OK,mCodec->initNativeWindow()) failed: 0 vs. -2147483648
F/libc (1990): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1)
W/SingleClientConnManager(3732): Invalid use of SingleClientConnManager: connection still allocated.
W/SingleClientConnManager(3732): Make sure to release the connection before allocating another one.
W/AudioSystem(3732): AudioFlinger server died!
W/IMediaDeathNotifier(3732): media server died
E/MediaPlayer(3732): error (100, 0)
W/AudioSystem(195): AudioFlinger server died!
W/AudioSystem(195): AudioPolicyService server died!
W/MediaMetadataRetriever(755): MediaMetadataRetriever server died!
E/MediaPlayer(3732): Error (100,0)
W/onError (3732): what100 extra0
E/MediaPlayer(3732): stop called in state 0
E/MediaPlayer(3732): error (-38, 0)
E/MediaPlayer(3732): prepareAsync called in state 0
W/System.err(3732): java.lang.IllegalStateException
W/System.err(3732):	at android.media.MediaPlayer.prepareAsync(Native Method)
W/System.err(3732):	at com.spb.tvlib.app.activity.FullscreenActivity.startStream(FullscreenActivity.java:347)
W/System.err(3732):	at com.spb.tvlib.app.activity.FullscreenActivity.onError(FullscreenActivity.java:447)
W/System.err(3732):	at android.media.MediaPlayer$EventHandler.handleMessage(MediaPlayer.java:1553)
W/System.err(3732):	at android.os.Handler.dispatchMessage(Handler.java:99)
W/System.err(3732):	at android.os.Looper.loop(Looper.java:137)
W/System.err(3732):	at android.app.ActivityThread.main(ActivityThread.java:4575)
W/System.err(3732):	at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err(3732):	at java.lang.reflect.Method.invoke(Method.java:511)
W/System.err(3732):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
W/System.err(3732):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:556)
W/System.err(3732):	at dalvik.system.NativeStart.main(Native Method)
E/MediaPlayer(3732): Error (-38,0)
W/onError (3732): what-38 extra0
E/MediaPlayer(3732): stop called in state 0

Thanks in advance!
[Android Software/Hacking General [Developers Only]] Ganster41:
Android uses other engine to play rtsp streams, not stagefright. I know, SPB TV and some other apps doesn't work, but it more hard to fix.
[Android Software/Hacking General [Developers Only]] Mardon:
Hmm maybe this will work?

Add this line to build.prop

media.stagefright.enable-rtsp=true

Gesendet von meinem Neo-X8@cm10
[Android Software/Hacking General [Developers Only]] mrandroid59:
which file works for 10 cm? the first post?:confused:

plz:)
[Android Software/Hacking General [Developers Only]] nerotNS:
You should change that to b!#chslap...Excellent work OP btw..
[Android Software/Hacking General [Developers Only]] Ganster41:
File? You need to patch sources and rebuild your ROM. Read CM10 port thread.
[Android Software/Hacking General [Developers Only]] :
Video Preview

Fix video thumbnail generation:

https://github.com/GenetICS/frameworks_base/commit/ebc696068ab6da41ef8db8e1681507faf28e505e
[Android Software/Hacking General [Developers Only]] ItachiSama:
JTK (not a dev), video recording was enabled in JB just changing encoder in media_profiles.xml.

Question is: can this work also on ICS?
[Android Software/Hacking General [Developers Only]] e79w94:
thx. I have to use this.
[Android Software/Hacking General [Developers Only]] Ganster41:
On ZTE Blade hardware video encoder works on ICS/JB without any changes. On other devices you need to try use different libOmxVidEnc.so. Your own from GB, from my Blade's ROM... Or yes, you can delete this lib, and still use Google's software encoder.
[Android Software/Hacking General [Developers Only]] Rashed97:
On LGE hardware, standard stuff from GB works on ICS, but you have to change the encoders on JB
[Android Software/Hacking General [Developers Only]] the.desprado:
Please tell me how to use it :/ i really hate my cell phone because it's too much lagging Videos.
[Android Software/Hacking General [Developers Only]] Rashed97:
Your ROM developer has to do it. It's not a flashable zip that you can just install.
[Android Software/Hacking General [Developers Only]] dudeman1996:
I'm building ParanoidAndroid ICS version for the HTC Wildfire S, and because they use a different framework to CM's, I couldn't just change the repo used from CM's to Ganster41's. So I looked at his commits and added in the code for each file myself (which is here). When trying to build I get

frameworks/base/media/libstagefright/colorconversion/SoftwareRenderer.cpp: In constructor 'android::SoftwareRenderer::SoftwareRenderer(const android::sp<ANativeWindow>&, const android::sp<android::MetaData>&)':
frameworks/base/media/libstagefright/colorconversion/SoftwareRenderer.cpp:90: error: 'ALIGN' was not declared in this scope
make: *** [out/target/product/marvel/obj/STATIC_LIBRARIES/libstagefright_color_conversion_intermediates/SoftwareRenderer.o] Error 1
make: *** Waiting for unfinished jobs....

Any ideas?
[Android Software/Hacking General [Developers Only]] Eskuero:
Do not use the correct gralloc usage flags commit, just the first one, afte that it gves compiling issues.

Enviado desde mi Wildfire S A510e usando Tapatalk 2
[Android Software/Hacking General [Developers Only]] dudeman1996:
Ah okay, thanks Oliver :)
[Android Software/Hacking General [Developers Only]] chautruongthinh:
Who is guide me mod libstagefright for HD2 use JellyBean 4.3.1??!! I want to play 720p & record video 480x800.

Sorry my English!!
[Android Software/Hacking General [Developers Only]] winxuser:
trying to compile libstagefirght, and its getting stuck on this,, could anyone share any lights on how to fix it

target thumb C++: libstagefright <= frameworks/base/media/libstagefright/OMXCodec.cpp

frameworks/base/media/libstagefright/OMXCodec.cpp: In function 'size_t android::getFrameSize(OMX_COLOR_FORMATTYPE, int32_t, int32_t)':

frameworks/base/media/libstagefright/OMXCodec.cpp:1297: error: 'ALIGN' was not declared in this scope

frameworks/base/media/libstagefright/OMXCodec.cpp: In member function 'void android::eek:MXCodec::setVideoInputFormat(const char*, const android::sp<android::MetaData>&)':

frameworks/base/media/libstagefright/OMXCodec.cpp:1386: warning: format '%ld' expects type 'long int', but argument 5 has type 'int32_t'

frameworks/base/media/libstagefright/OMXCodec.cpp:1386: warning: format '%ld' expects type 'long int', but argument 6 has type 'int32_t'

make: *** [out/target/product/u8650/obj/SHARED_LIBRARIES/libstagefright_intermediates/OMXCodec.o] Error 1
[Android Software/Hacking General [Developers Only]] Ganster41:
What source your using?
[Android Software/Hacking General [Developers Only]] winxuser:
i was using pure cm9 sources, but cherrypicked your commits,,, i have gotten rid of that error now,
[Android Software/Hacking General [Developers Only]] Ganster41:
Oh, yes, I commented this change on my github as "brakes build". You can revert this line changes, or move ALIGN macro definition from SAMSUNG_CODEC_SUPPORT ifdef.
[Android Software/Hacking General [Developers Only]] macs18max:
[MENTION=4255685]Ganster41[/MENTION]

Do you think we can get a legacy omx patch for Lollipop 5.1?
[Android Software/Hacking General [Developers Only]] Ganster41:
May be. If anyone will try to port my changes to it. I looked what changed in sources quickly, and looks like there are no massive differents in OMX IL code. May be somethung changed in supported color formats - I dont know. It requires many time to check.

Sorry, but I can't hep now, because I don't have a device for testing for a long time. And anyway I haven't enought free time for this.
[Android Software/Hacking General [Developers Only]] yajnab:
As per MSM7x27. We androidarmv6 members were unable to port the ART to Lollipop. It wasn't possible after hard tries and the project got abandoned.

OMX is too far to go. If ART was possible it wouldn't be hard to port them.
[Android Software/Hacking General [Developers Only]] macs18max:
qsd8k which are an older devices then what androidarmv6 supports, have booted Lollipop 5.1 (HTC HD2, HTC desire)

Also Htc pico (msm7x27 i think) has a everything working.

Ever since Jellybean 4.2.2 till kitkat, I have been using Gangster's codes for Camcorder and 720p playback fix from Githhub.com/legacymod.

Too bad there is no time for him. Thanks anyways.
[Android Software/Hacking General [Developers Only]] yajnab:
qsd8k might be older but still its ARMv7. Pico is msm7x27a which is also an ARMv7
[Android Software/Hacking General [Developers Only]] jayc137:
I guess KitKat was the last stable version for ARMv6. RIP ARMv6.
[Android Software/Hacking General [Developers Only]] vlt96:
I suggest everyone to press the "newsworthy thread" button ;)

This is the best news I heard in a few months...
[Android Software/Hacking General [Developers Only]] tonoxha:
and facepalm to Qualcomm
[Android Software/Hacking General [Developers Only]] Ko_Ka:
This is the best news ive heard on here in I dunno how long!

Well done OP!

You have given my little phone a lease of hope, and prevented me from buying a new one, I hit Newsworthy thread, as it bloody is a newsworthy thread....

:victory:
[Android Software/Hacking General [Developers Only]] smartboy0668:
Thanks to save our Wildfire s from ICU to get ICS..:)
[Android Software/Hacking General [Developers Only]] Eskuero:
Did someone try to get it working with JB?

I'm currently reading the libstagefright sources for CM10, but seems really far different to the ICS ones...
[Android Software/Hacking General [Developers Only]] cybojenix:
Someone from p500 team says they've ported the source to jb
[Android Software/Hacking General [Developers Only]] Eskuero:
Can you give a me a link or something similar?

Hope this will work on CM10 too..
[Android Software/Hacking General [Developers Only]] cybojenix:
I'm sorry they haven't released it yet as far as I know. I told them about it and the first thing they did was port it. No report back on it so far
[Android Software/Hacking General [Developers Only]] b3rvirus:
and that's a little bad news for quallcomm lol

and tilal6991 from ZTE dev says that he are very close to get it working on CM10

update: recently he said that the OMX seems to have changed significantly enough that this code doesn't work on the cm 10 base

let's hope that someone can fix it for CM10
[Android Software/Hacking General [Developers Only]] Maxi8p:
Can you upload on mediafire?

Gesendet von meinem LG-P350 mit Tapatalk 2
[Android Software/Hacking General [Developers Only]] Eskuero:
If the OP can give us some protips, or instead make an jb version of the fix would be awesome.
[Android Software/Hacking General [Developers Only]] cartmanotfat:
I'm dreaming. Can somebody wake me up ? :D
[Android Software/Hacking General [Developers Only]] Maxi8p:
I can not dowlad on letitbir

Gesendet von meinem LG-P350 mit Tapatalk 2
[Android Software/Hacking General [Developers Only]] b3rvirus:
It is the source that OP has provided us with, which needs to be compiled by developers,

you have to wait until developers of your device implemented this to his build

And that's a link of his ROM for ZTE Blade with these libs included
[Android Software/Hacking General [Developers Only]] Prawesome:
Amazing...Just amazing..

Controversies,controversies everywhere :what:
[Android Software/Hacking General [Developers Only]] psyke83:
Ganster41,

Thank you very much for this - I am building CM10 on my Samsung galaxy5 port and will report back soon. A very minor issue, but you should replace the LOG* tags with ALOG* for Jellybean.

Offtopic:

I see that you mentioned a lack of disk space to build CM10. I also had this problem until I did a little fiddling with symlinks, and now I have enough space to build CM7, 9 and 10 together.

First, move your current projects folder from your ics source to a shared folder, and then create a symlink:

mv .repo/projects ../projects-shared
ln -s ../projects-shared .repo/projects

Your ICS source will continue working as before.

The next part will create a jellybean folder and set up the same symlink to the projects-shared folder:

cd .. [i.e., the same folder as projects-shared]
mkdir -p jellybean/.repo/
cd jellybean
ln -s ../projects-shared .repo/projects
repo init -u git://github.com/CyanogenMod/android.git -b jellybean
repo sync

You will notice that the repo sync will go quite fast except for a few repositories that were never downloaded for the ICS branch (e.g. packages_apps_CMUpdater).

That's it! The two build systems should co-exist peacefully*. When you run "repo sync" in CM9 or CM10, you will save bandwidth when reposync'ing the other repository. Remember, a "git pull" (which is performed by repo) will updates all branches of a repository. This means that if you repo sync your ics build, the jellybean branches will also get updated in the process (but you will still need to "repo sync" for it to sync the local files, of course).

* The only caveat: do not perform any repo commands that can affect the projects-shared files (e.g. repo sync, repo upload) if you are running two different builds at the same time.
[Android Software/Hacking General [Developers Only]] Eskuero:
I'm currently building CM10 for an HTC Wildfire S now, will report it if I got compiling issues.

Hope that it didn't appear!:p

a bug appear and the build get stopped:

http://pastebin.com/ExeuHbVm

Just change LOGI into ALOGI :D
[Android Software/Hacking General [Developers Only]] Ganster41:
Oh, thanks. I forgot it. Fix are commited.
[Android Software/Hacking General [Developers Only]] CallMeVentus:
The ALOGx thingy only applies to CM9/10 btw and not AOSP....

But man , you're doing really great ! :)

Sent from Ursa's claws.
[Android Software/Hacking General [Developers Only]] asturel:
anyone tried on qsd8k platform (qdsp6) ?
[Android Software/Hacking General [Developers Only]] gabrielking9:
which devices use it?
[Android Software/Hacking General [Developers Only]] Eskuero:
Here CM10, HQ Playback it's still laggy, faster, but need more improvements...
[Android Software/Hacking General [Developers Only]] asturel:
xperia x8, htc leo, n1 :D and mine (huawei s7 slim)

(i will not be at home for a week, so i cant compile it until then)

when i tried the opensource qdsp6 openmax IL codecs it gave some nativewindow error too (afaik), so i hope this patch fixes it:confused:
[Android Software/Hacking General [Developers Only]] gabrielking9:
And Cm9 ?? you compiled with linaro GCC 4.7.1?
[Android Software/Hacking General [Developers Only]] Eskuero:
I compile normmaly, i don't how to use another compiler, but where's the difference?

I can't sync my cm9 repos, for some strange reason it get stopñed on 99% xD

Enviado desde mi Wildfire S A510e usando Tapatalk 2
[Android Software/Hacking General [Developers Only]] Rashed97:
I'm testing on CM10 for P500 right now. Will report if it works. But I had to leave out a bunch of stuff when porting to JB
[Android Software/Hacking General [Developers Only]] gabrielking9:
please report and tell to us how hq video playback is woking and if video recording is working smooth
[Android Software/Hacking General [Developers Only]] Raj joshi:
Will this work for galaxy fit also?? :)
[Android Software/Hacking General [Developers Only]] gabrielking9:
of course :)
[Android Software/Hacking General [Developers Only]] cougarcougar:
I got it to work on the LS670, by using the LS670 kernel audio headers and replacing the ones in the device/include/linux/ folder.

Only adding this line to the msm_audio.h :

/* ZTE_Audio_CJ_100302, chenjun, 2010-3-2, start */
/* ZTE_Audio-LB_CJ_1 chenjun 2009-10-28 start */
#define SND_SET_AUDIO_LOOPBACK _IOW(SND_IOCTL_MAGIC, 8, unsigned *)
/* ZTE_Audio-LB_CJ_1 chenjun 2009-10-28 end */
/* ZTE_Audio_CJ_100302, chenjun, 2010-3-2, end */

And using the zte blade omx proprietary files attached.
[Android Software/Hacking General [Developers Only]] miroslav_mm:
Report:

LG GT540 (msm7227/256RAM/512ROM)

CM9.1 + OpenMax Libs from 2.3

HQ Youtube working good!

LQ Youtube not working!

MXPlayer said:

*.264 - S/W

*.3gp - H/W

*.dvix - S/W

*.mpeg4 - H/W

*.mpg2 - S/W

*.xvid - S/W

but it said the same before changes.

Thanks a lot! :good:
[Android Software/Hacking General [Developers Only]] sweetnsour:
That is definitely encouraging news :) I'd sacrifice low quality for high quality any day

Can't wait to see this implemented on the P500
[Android Software/Hacking General [Developers Only]] Ganster41:
I think this containers are not enabled in CM libmedia. AVI does not associated with Android's video player... Need some merges from Qualcomm repo to activate ExtendedExtractor, and DivX/XviD support.

Now it plays only h263/avc/mpeg4 Baseline profile codecs from mp4 container(may be mkv and ogm too, I don't test it) on my Blade. Video resolution can't be more than 800x480 by any side. It sad, but most 480p videos are not playing, because it has 854x480 resolution(16:9 aspect ratio) :( But on Gingerbread it doesn't play too.
[Android Software/Hacking General [Developers Only]] miroslav_mm:
Yes, its true, 800x480 is maximum for msm7227. its wrote in Qallcom sources.

And need check MSM_PMEM_MDP_SIZE / MSM_PMEM_ADSP_SIZE / MSM_PMEM_AUDIO_SIZE, size in kernel. For example LG L5 (480*320 and official 4.0) have much more size in kernel then GT540/P500 and other device with 480*320. think need increase MDP_SIZE & ADSP_SIZE. Короче надеюсь ты понял что я имел ввиду :laugh:
[Android Software/Hacking General [Developers Only]] maximum117:
Full CM9 ROM?

Hi, guys! When we have the full CM9 ROM for LG P500 (I am mean with OpenMAX codecs): day, week, month? Thanks.
[Android Software/Hacking General [Developers Only]] antonio8297:
Dont ask for eta

Inviato dalla tazza del tè.
[Android Software/Hacking General [Developers Only]] DJBhardwaj:
Ignore these kind of Noobs please ;)
[Android Software/Hacking General [Developers Only]] yajnab:
Man can we start working for the JB???:p
[Android Software/Hacking General [Developers Only]] Ganster41:
CM10 are still laggy and buggy. I don't planned to update now to it. May be later...
[Android Software/Hacking General [Developers Only]] gabrielking9:
What is in your plan now? :p
[Android Software/Hacking General [Developers Only]] Lexxx47:
Damn, is this working for LG Optimus Hub E510?
[Android Software/Hacking General [Developers Only]] Ganster41:
Now I try to improve playback speed with "new" libs from Samsung. It works more correctly, an has extra-features, like DivX, but it slooow.

Than I want try to port 3.x kernel(may be only partially), and inspect how gralloc works on it. Because I get unknown mmap error sometimes now. For example, if you open youtube video on browser, not in fullscreen mode. May be any backport in memory management needed...
[Android Software/Hacking General [Developers Only]] asturel:
did u applied the all patches from konstaT ? and did u used any linaro optimization? or its just a toolchain change? im afraid a bit from linaro, since it could break thing
[Android Software/Hacking General [Developers Only]] Eskuero:
What exactly can linaro optimize?

Enviado desde mi Wildfire S A510e usando Tapatalk 2
[Android Software/Hacking General [Developers Only]] b3rvirus:
does qsd8x50 devices (n1, desire, x10, leo, etc) have problem with video playback with their current ICS?
[Android Software/Hacking General [Developers Only]] Ganster41:
No, its original CM9.

Building with Linaro toolchain only for test, I didn't apply any linaro optimise patches to sources too :)
[Android Software/Hacking General [Developers Only]] Eskuero:
I've made a few test now, I can decode .mov and .mp4 files without any issues running here at default clock speed of 600 mhz. 3gp file are very laggy, I can't record videos with camera, but I think it's a problem on the device tree or instead on kernel repo.

HQ Playback runs smooth, but sometimes, every 5 or 6 seconds it seems to be skipping frames, cause it start to flip a lot.

Enviado desde mi Wildfire S A510e usando Tapatalk 2