GStreamer android SDK no element vorbisenc
Denis Green
zagre.torez at gmail.com
Sun Dec 2 11:23:28 PST 2012
Hi,
Sorry for the some mess, it was my error (a misspelled word).
Now I do have correct pipeline, but theres is some problem with permissions.
Output on device:
tcpserversink0 could not open resource for writing
LogCat output:
12-02 21:18:42.332: W/GStreamer+tcpserversink(3759): 0:00:01.338751000
0x4d88c000 gsttcpserversink.c:328:gst_tcp_server_sink_init_send:<tcpserversink0>
error: system error: Permission denied
Example:
I use Tutorial2 as a template.
line 149 in turoeial-2.c:
data->pipeline = gst_parse_launch("audiotestsrc ! audioconvert !
audiorate tolerance=0 ! audioresample quality=3 ! vorbisenc ! webmmux
streamable=true ! tcpserversink port=8554", &error);
Make file:
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := tutorial-2
LOCAL_SRC_FILES := tutorial-2.c
LOCAL_SHARED_LIBRARIES := gstreamer_android
LOCAL_LDLIBS := -llog
include $(BUILD_SHARED_LIBRARY)
ifndef GSTREAMER_SDK_ROOT
ifndef GSTREAMER_SDK_ROOT_ANDROID
$(error GSTREAMER_SDK_ROOT_ANDROID is not defined!)
endif
GSTREAMER_SDK_ROOT := $(GSTREAMER_SDK_ROOT_ANDROID)
endif
GSTREAMER_NDK_BUILD_PATH := $(GSTREAMER_SDK_ROOT)/share/gst-android/ndk-build/
include $(GSTREAMER_NDK_BUILD_PATH)/plugins.mk
GSTREAMER_PLUGINS := $(GSTREAMER_PLUGINS_CORE)
$(GSTREAMER_PLUGINS_PLAYBACK) $(GSTREAMER_PLUGINS_CODECS)
$(GSTREAMER_PLUGINS_NET) $(GSTREAMER_PLUGINS_SYS)
include $(GSTREAMER_NDK_BUILD_PATH)/gstreamer.mk
On Sun, Dec 2, 2012 at 5:22 AM, Sebastian Dröge
<sebastian.droege at collabora.co.uk> wrote:
> On So, 2012-12-02 at 11:22 +0200, Denis Green wrote:
>> Hi,
>>
>> I use Collabora & Fluendo GStreamer Android SDK.
>>
>> I try to set up pipeline with vorbisenc.
>>
>> Example:
>> audiotestsrc ! audioconvert ! audioresample ! vorbisenc ! autoaudiosink
>>
>> I get error message: Unable to build pipeline: no element "vorbisenc"
>
> Can you provide the relevant parts of your code and the Android.mk file
> you're using for building this?
>
> _______________________________________________
> gstreamer-android mailing list
> gstreamer-android at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-android
>
More information about the gstreamer-android
mailing list