<div dir="ltr">Hi,<br><br>I am writing an application using Gstreamer SDK. I am facing following two issues. I have missed something or these are issues in Gstreamer SDK ?<br><br><b> no element "vp8enc": </b><br>
<br>Included following plugins and used vp8enc in pipeline. <br><br>GSTREAMER_PLUGINS := $(GSTREAMER_PLUGINS_CORE) $(GSTREAMER_PLUGINS_PLAYBACK) $(GSTREAMER_PLUGINS_CODECS) $(GSTREAMER_PLUGINS_CODECS_RESTRICTED) $(GSTREAMER_PLUGINS_NET) $(GSTREAMER_PLUGINS_SYS)<br>
<br>It seems that Gstreamer is unable to find vp8enc, although vp8 plugin entry is in gstreamer_android.c. Following are logs from logcat.<br><br>10-22 19:01:21.495: I/GStreamer+GST_PIPELINE(1177): 0:00:02.456617000 gstparse.c:334:gst_parse_launch_full parsing pipeline description 'videotestsrc ! videoscale ! videorate ! ffmpegcolorspace ! video/x-raw-yuv, format=(fourcc)I420, width=(int)320, height=(int)240, framerate=(fraction)30/1, color-matrix=(string)sdtv, chroma-site=(string)mpeg2 ! vp8enc ! fakesink'<br>
10-22 19:01:21.545: I/GStreamer+GST_ELEMENT_FACTORY(1177): 0:00:02.499025000 gstelementfactory.c:467:gst_element_factory_make no such element factory "vp8enc"!<br>10-22 19:01:21.545: E/GStreamer+GST_PIPELINE(1177): 0:00:02.500718000 ./grammar.y:661:priv_gst_parse_yyparse no element "vp8enc"<br>
10-22 19:07:58.795: I/GStreamer+GST_PIPELINE(1374): 0:00:02.513331000 gstparse.c:334:gst_parse_launch_full parsing pipeline description 'videotestsrc ! videoscale ! videorate ! ffmpegcolorspace ! video/x-raw-yuv, format=(fourcc)I420, width=(int)320, height=(int)240, framerate=(fraction)30/1, color-matrix=(string)sdtv, chroma-site=(string)mpeg2 ! vp8enc ! fakesink'<br>
10-22 19:07:58.835: I/GStreamer+GST_ELEMENT_FACTORY(1374): 0:00:02.553027000 gstelementfactory.c:467:gst_element_factory_make no such element factory "vp8enc"!<br>10-22 19:07:58.845: E/GStreamer+GST_PIPELINE(1374): 0:00:02.556004000 ./grammar.y:661:priv_gst_parse_yyparse no element "vp8enc"<br>
<br><b>Link errors with $(GSTREAMER_PLUGINS_CODECS_RESTRICTED)</b>:<br><br>Secondly, I tried to include $(GSTREAMER_PLUGINS_CODECS_RESTRICTED) with following command.<br><br>GSTREAMER_PLUGINS := $(GSTREAMER_PLUGINS_CORE) $(GSTREAMER_PLUGINS_PLAYBACK) $(GSTREAMER_PLUGINS_CODECS) $(GSTREAMER_PLUGINS_CODECS_RESTRICTED) $(GSTREAMER_PLUGINS_NET) $(GSTREAMER_PLUGINS_SYS)<br>
<br>It resulted in following link errors. <br><br>/home/mustafa/work/android_dev/android-ndk-r8b/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld.gold: error: /home/mustafa/work/android_dev/gstreamer-sdk-android-arm-debug-2012.10/lib/gstreamer-0.10/static/libgstnsf.a(libgstnsf_la-vrc7_snd.o): multiple definition of 'table'<br>
/home/mustafa/work/android_dev/android-ndk-r8b/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld.gold: /home/mustafa/work/android_dev/gstreamer-sdk-android-arm-debug-2012.10/lib/libopencore-amrnb.a(lsp_lsf_tbl.o): previous definition here<br>
/home/mustafa/work/android_dev/android-ndk-r8b/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld.gold: gst-build/gstreamer_android.o: in function gst_android_register_static_plugins:gstreamer_android.c(.text+0x144): error: undefined reference to 'gst_plugin_mpegdemux_register'<br>
/home/mustafa/work/android_dev/android-ndk-r8b/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld.gold: gst-build/gstreamer_android.o: in function gst_android_register_static_plugins:gstreamer_android.c(.text+0x170): error: undefined reference to 'gst_plugin_rmdemux_register'<br>
/home/mustafa/work/android_dev/android-ndk-r8b/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld.gold: /home/mustafa/work/android_dev/gstreamer-sdk-android-arm-debug-2012.10/lib/gstreamer-0.10/static/libavcodec.a(flashsvenc.o): in function flashsv_encode_frame:libavcodec/flashsvenc.c:169: error: undefined reference to 'compress2'<br>
/home/mustafa/work/android_dev/android-ndk-r8b/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld.gold: /home/mustafa/work/android_dev/gstreamer-sdk-android-arm-debug-2012.10/lib/gstreamer-0.10/static/libavcodec.a(tiffenc.o): in function encode_strip:libavcodec/tiffenc.c:165: error: undefined reference to 'compress'<br>
collect2: ld returned 1 exit status<br>make: *** [buildsharedlibrary] Error 1<br><br>Regards,<br>Mustafa<br></div>