GStreamer android SDK no element vorbisenc
Sebastian Dröge
sebastian.droege at collabora.co.uk
Mon Dec 10 04:17:58 PST 2012
On Do, 2012-12-06 at 15:14 -0500, Denis Green wrote:
> 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)
Hi Denis,
you should run your application in gdb to get a backtrace (ndk-gdb can
be used for example) of this crash or at least get a debug log with
higher debug level (gst_debug_set_default_threshold(GST_LEVEL_DEBUG)).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-android/attachments/20121210/1ba8ec4c/attachment.pgp>
More information about the gstreamer-android
mailing list