android h264 hardware encoding

cee1 fykcee1 at gmail.com
Thu Oct 24 05:57:20 CEST 2013


2013/10/24 yoyosuper8 <yoyosuper8 at yahoo.com>:
> Yeah, you are absolutely right. However, it seems that udpsink doesn't work
> properly in Android or at least for me. Because it seems that it doesn't
> open a socket to receive incoming clients.
Maybe no data flowed to udpsink.

> Here is the pipeline:
> GstNativeInit("videotestsrc is-live=true do-timestamp=true name=videosrc !
> capsfilter
> caps=\"video/x-raw,format=(fourcc)NV12,width=320,height=240,framerate=30/1\"
> ! amcvidenc-omxtiducati1videoh264e bitrate=384 i-frame-interval=8 !
> rtph264pay name=pay0 pt=96 ! udpsink host=192.168.4.110 port=8554",
> 0x80000082);

Try this:
"videotestsrc is-live=true do-timestamp=true name=videosrc !
capsfilter caps=\"video/x-raw,format=(fourcc)NV12,width=320,height=256,framerate=30/1\"
! amcvidenc-omxtiducati1videoh264e bitrate=1024 i-frame-interval=8 !
bufferinspect ! fakesink"
Note: here tries a width divisible by 32

Watch the log for bufferinspect outputs (each buffer flows through
bufferinspect will leave a message in the log).



-- 
Regards,

- cee1


More information about the gstreamer-devel mailing list