android h264 hardware encoding

yoyosuper8 yoyosuper8 at yahoo.com
Tue Oct 15 21:54:23 CEST 2013


So here is what I found in the Samsung Galaxy S2 media_codecs.xml

The following is located all the way at the end of the xml file under the
tag <Encoders>

    <Encoders>
        <MediaCodec name="OMX.TI.DUCATI1.VIDEO.MPEG4E" >
            <Type name="video/mp4v-es" />
            <Type name="video/3gpp" />
            <Quirk name="requires-allocate-on-input-ports" />
            <Quirk name="requires-allocate-on-output-ports" />
        </MediaCodec>

        <MediaCodec name="OMX.TI.DUCATI1.VIDEO.H264E" type="video/avc" >
            <Quirk name="requires-allocate-on-input-ports" />
            <Quirk name="requires-allocate-on-output-ports" />
        </MediaCodec>

        <MediaCodec name="OMX.google.amrnb.encoder" type="audio/3gpp" />
        <MediaCodec name="OMX.google.amrwb.encoder" type="audio/amr-wb" />
        <MediaCodec name="OMX.google.aac.encoder" type="audio/mp4a-latm" />
        <MediaCodec name="OMX.google.flac.encoder" type="audio/flac" />
    </Encoders>


Does this mean that the encoder is OMX.TI.DUCATI1.VIDEO.H264E?

So the pipeline would look something like this, right?

videotestsrc is-live=true do-timestamp=true ! capsfilter
caps="video/x-raw,width=480,height=640,framerate=30/1" !
amcvidenc-omxtiducati1videoh264e bitrate=1024 i-frame-interval=8 !
rtph264pay !
queue ! udpsink host=192.168.1.104 port=3057

thanks
Andy



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/android-h264-hardware-encoding-tp4662522p4662608.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list