GStreamer android SDK no element vorbisenc

Denis Green zagre.torez at gmail.com
Thu Dec 6 12:14:57 PST 2012


Hi, Sebastian

line 149 in tutorial-2.c:
data->pipeline = gst_parse_launch("audiotestsrc is-live=true !
audioconvert ! audioresample ! vorbisenc ! webmmux name=mux
streamable=true ! tcpserversink port=8554", &error);

Here is a log cat:
12-06 22:11:15.304: D/dalvikvm(26218): Trying to load lib
/data/data/com.gst_sdk_tutorials.tutorial_2/lib/libgstreamer_android.so
0x417d89a8
12-06 22:11:15.445: D/dalvikvm(26218): Added shared lib
/data/data/com.gst_sdk_tutorials.tutorial_2/lib/libgstreamer_android.so
0x417d89a8
12-06 22:11:15.445: D/dalvikvm(26218): Trying to load lib
/data/data/com.gst_sdk_tutorials.tutorial_2/lib/libtutorial-2.so
0x417d89a8
12-06 22:11:15.449: D/dalvikvm(26218): Added shared lib
/data/data/com.gst_sdk_tutorials.tutorial_2/lib/libtutorial-2.so
0x417d89a8
12-06 22:11:16.527: I/OMXClient(26218): Using client-side OMX mux.
12-06 22:11:16.589: I/OMXClient(26218): Using client-side OMX mux.
12-06 22:11:16.613: I/OMXClient(26218): Using client-side OMX mux.
12-06 22:11:16.625: I/OMXClient(26218): Using client-side OMX mux.
12-06 22:11:16.640: I/OMXClient(26218): Using client-side OMX mux.
12-06 22:11:16.656: I/OMXClient(26218): Using client-side OMX mux.
12-06 22:11:16.660: I/OMXClient(26218): Using client-side OMX mux.
12-06 22:11:16.679: I/OMXClient(26218): Using client-side OMX mux.
12-06 22:11:16.691: I/OMXClient(26218): Using client-side OMX mux.
12-06 22:11:16.699: I/OMXClient(26218): Using client-side OMX mux.
12-06 22:11:16.714: I/OMXClient(26218): Using client-side OMX mux.
12-06 22:11:16.730: I/OMXClient(26218): Using client-side OMX mux.
12-06 22:11:16.738: I/OMXClient(26218): Using client-side OMX mux.
12-06 22:11:16.746: I/OMXClient(26218): Using client-side OMX mux.
12-06 22:11:16.757: I/OMXClient(26218): Using client-side OMX mux.
12-06 22:11:16.769: I/OMXClient(26218): Using client-side OMX mux.
12-06 22:11:16.785: I/OMXClient(26218): Using client-side OMX mux.
12-06 22:11:16.808: I/OMXClient(26218): Using client-side OMX mux.
12-06 22:11:17.000: I/GStreamer(26218): GStreamer initialization complete
12-06 22:11:17.191: I/GStreamer(26218): Activity created. There is no
saved state, playing: false
12-06 22:11:17.191: D/GStreamer+tutorial-2(26218): 0:00:01.733634000
0x4d7db9a0 jni/tutorial-2.c:200:gst_native_init Created CustomData at
0x4d875da8
12-06 22:11:17.195: D/GStreamer+tutorial-2(26218): 0:00:01.734099000
0x4d7db9a0 jni/tutorial-2.c:202:gst_native_init Created GlobalRef for
app object at 0x1d2001f6
12-06 22:11:17.195: D/GStreamer+tutorial-2(26218): 0:00:01.736698000
0x4d893e00 jni/tutorial-2.c:142:app_function Creating pipeline in
CustomData at 0x4d875da8
12-06 22:11:17.261: D/GStreamer+tutorial-2(26218): 0:00:01.802788000
0x4d893e00 jni/tutorial-2.c:173:app_function Entering main loop...
(CustomData:0x4d875da8)
12-06 22:11:17.261: D/GStreamer+tutorial-2(26218): 0:00:01.802941000
0x4d893e00 jni/tutorial-2.c:48:attach_current_thread Attaching thread
0x4d893e00
12-06 22:11:17.269: D/GStreamer+tutorial-2(26218): 0:00:01.809092000
0x4d893e00 jni/tutorial-2.c:124:check_initialization_complete
Initialization complete, notifying application. main_loop:0x4d8b3a28
12-06 22:11:17.269: I/GStreamer(26218): Gst initialized. Restoring
state, playing:false
12-06 22:11:17.269: D/GStreamer+tutorial-2(26218): 0:00:01.809722000
0x4d893e00 jni/tutorial-2.c:234:gst_native_pause Setting state to
PAUSED
12-06 22:11:17.308: D/libEGL(26218): loaded
/vendor/lib/egl/libEGL_POWERVR_SGX540_120.so
12-06 22:11:17.324: D/libEGL(26218): loaded
/vendor/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so
12-06 22:11:17.332: D/libEGL(26218): loaded
/vendor/lib/egl/libGLESv2_POWERVR_SGX540_120.so
12-06 22:11:17.359: D/GStreamer+tutorial-2(26218): 0:00:01.898574000
0x4d893e00 jni/tutorial-2.c:82:set_ui_message Setting message to:
State changed to READY
12-06 22:11:17.359: D/GStreamer+tutorial-2(26218): 0:00:01.901019000
0x4d893e00 jni/tutorial-2.c:82:set_ui_message Setting message to:
State changed to PAUSED
12-06 22:11:17.398: D/OpenGLRenderer(26218): Enabling debug mode 0
12-06 22:11:21.879: D/GStreamer+tutorial-2(26218): 0:00:06.417357000
0x4d7db9a0 jni/tutorial-2.c:226:gst_native_play Setting state to
PLAYING
12-06 22:11:21.886: W/GStreamer+bin(26218): 0:00:06.425376000
0x4d7db9a0 gstbin.c:2399:gst_bin_do_latency_func:<pipeline0> failed to
query latency
12-06 22:11:22.132: A/libc(26218): @@@ ABORTING: INVALID HEAP ADDRESS
IN dlfree addr=0x4d8aa188
12-06 22:11:22.132: A/libc(26218): Fatal signal 11 (SIGSEGV) at
0xdeadbaad (code=1), thread 26270 (audiotestsrc0:s)

Thanks, a lot
Denis


On Tue, Dec 4, 2012 at 5:28 PM, Denis Green <zagre.torez at gmail.com> wrote:
> Hi, Sebastian
>
> Ok.
>
> On Mon, Dec 3, 2012 at 9:37 AM, Sebastian Dröge
> <sebastian.droege at collabora.co.uk> wrote:
>> On So, 2012-12-02 at 15:30 -0500, Denis Green wrote:
>>> Ok.
>>>
>>> 1.
>>> Now it could create the socket.
>>>
>>> But it fails just after some seconds with:
>>> 12-02 22:17:18.410: A/libc(5806): @@@ ABORTING: INVALID HEAP ADDRESS
>>> IN dlfree addr=0x4d8ce770
>>> 12-02 22:17:18.410: A/libc(5806): Fatal signal 11 (SIGSEGV) at
>>> 0xdeadbaad (code=1), thread 5915 (audiotestsrc0:s)
>>
>> Could you run your application in gdb and get a backtrace for this?
>> Usually there should be one in "adb logcat" already, that one could be
>> enough already.
>>
>> _______________________________________________
>> 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