why x264enc doesn't work on android?

Haiming Wang whm_buaa at hotmail.com
Mon Jun 24 18:25:42 PDT 2013


Hi buddies,

   Can anyone give me some help ?
Thanks and Best Regards,Haiming Wang

From: whm_buaa at hotmail.com
To: gstreamer-devel at lists.freedesktop.org
Subject: why x264enc doesn't work on android?
Date: Mon, 24 Jun 2013 10:25:26 +0800




Hi Friends,
  I'm now trying to send a H264 stream from android phone.   I built the gstreamer android sdk by my self with:
               cerbero  -c   ./config/cross-android.cbc bootstrap               cerbero -c  ./config/cross-android.cbc package streamer-sdk
 I checked the SDK I got, and it seems x264 has been included according to below information:
                       localhost:gstreamer-sdk-android-arm-2013.6 hamwang$ find . -name *x264*                      ./include/x264.h                      ./include/x264_config.h                      ./lib/gstreamer-0.10/static/libgstx264.a                      ./lib/gstreamer-0.10/static/libgstx264.la                      ./lib/libx264.a                      ./lib/pkgconfig/x264.pc                      localhost:gstreamer-sdk-android-arm-2013.6 hamwang$
I tried based on tutorial -2, and I just change below line:
        data->pipeline = gst_parse_launch(" videotestsrc is-live=1 ! x264enc tune=zerolatency byte-stream=true bitrate=300 ! rtph264pay !  udpsink  clients=192.168.1.109:50000", &error);
when I run this program on my device,  it continuously says:  x264enc can not found. 
I tried to add x264 to Android.mk file as below:
   GSTREAMER_PLUGINS         := $(GSTREAMER_PLUGINS_CORE)  $(GSTREAMER_PLUGINS_ENCODING) $(GSTREAMER_PLUGINS_NET) $(GSTREAMER_PLUGINS_SYS) x264
but the result is the same.

Could any friend give me some advice?

Thank you very much in advance!

Best Regards,Haiming Wang  		 	   		  

_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130625/cc1c670e/attachment.html>


More information about the gstreamer-devel mailing list