no element "x264enc" on android platform
Jesse
zhangxh2000 at 126.com
Tue May 26 03:41:53 UTC 2020
dear all:
I want to re encode a H264 stream on android platform,my pileline is
gst_parse_launch("udpsrc name=source port=5600 ! h264parse ! queue !
decodebin ! tee name=teeone ! queue ! autovideosink sync=false teeone.!
queue ! x264enc speed-preset=ultrafast tune=zerolatency !flvmux ! queue !
rtmpsink location='rtmp://10.1.98.95:1935/myapp live=true", &error); but the
pipeline create failed, the log is:
./gst/gstelementfactory.c:462:gst_element_factory_make no such element
factory "x264enc"!
2020-05-26 11:26:30.241 4585-4789/com.ewatt.android
E/GStreamer+GST_PIPELINE: 0:01:05.189143740 0x6fb0d72950
../gst/parse/grammar.y:816:priv_gst_parse_yyparse no element "x264enc"
2020-05-26 11:26:30.241 4585-4789/com.ewatt.android
E/GStreamer+GST_PIPELINE: 0:01:05.189215615 0x6fb0d72950
../gst/parse/grammar.y:901:priv_gst_parse_yyparse link has no sink
[source=@0x6f81f126f0]
2020-05-26 11:26:30.242 4585-4789/com.ewatt.android
E/GStreamer+GST_PIPELINE: 0:01:05.189447906 0x6fb0d72950
../gst/parse/grammar.y:901:priv_gst_parse_yyparse link has no source
[sink=@0x6f81fe61c0]
my android ndk version is android-ndk-r21b, gstreamer version is
gstreamer-1.0-android-universal-1.16.2. and I have added
"$(GSTREAMER_PLUGINS_ENCODING) $(GSTREAMER_PLUGINS_NET_RESTRICTED)" in the
Android.mk, I noticed there is a x264 plugin in the
GSTREAMER_PLUGINS_CODECS_RESTRICTED,so where is my problem? thank you all!
--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
More information about the gstreamer-devel
mailing list