how to use omxcodec in android for all version -



how to use omxcodec in android for all version -

i want decode , display h264 frame on screen. wanted utilize omx codec decode frames decodes in hardware helps accomplish fps high resolutions. till come know there different way access hardware decoder. come across names stagefright, omxcodec, openmax. these different things. want decode frame frame. , upto knowledge android libraries take file path or url of media. here requirement different. need decode frame frame. can tell me can start digging? come know in latest version of android, have published api decode. want back upwards version of android. suggestion or guidance great.

thanks.

you right, indeed @ top level libstagefright library has "stream" interface. is, create audio- or video-source, configure codecs, , start process of encoding or decoding.

however, using interface omxcodec can obtain access individual frames. unfortunately, not know source of official omxcodec documentations.

the source - these examples of code in android repository.

if want know more how utilize omxcodec, can view awesomeplayer.cpp file (http://gitorious.org/rowboat/frameworks-base/blobs/rowboat-ics/media/libstagefright/awesomeplayer.cpp)

using library libstagefright clear stagefrightrecorder.cpp (in same repository)

also useful info omxcodec architecture here

p.s. remember omxcodec api not stable , may vary version version...

android

Comments

Popular posts from this blog

javascript - mongodb won't find my schema method in nested container -

Hibernate criteria by a list of natural ids -

ios - Lagging ScrollView with UIWebview inside -