Mad_header_decode had an error: lost synchronization

Tim Müller tim at centricular.com
Wed Aug 27 07:50:27 PDT 2014


On Wed, 2014-08-27 at 05:51 -0700, srd wrote:

Hi Bharath,

> I am using Gstreamer SDK for android to stream mp3 from my rooted android
> phone with OS version 4.0.3  over network to Linux PC running Debian wheezy
> with gstreamer0.10. I am getting the errors listed below when I run the
> android gstreamer app:
> 
> W/GStreamer+mad(11273): gstmad.c:1494:gst_mad_chain mad_header_decode had an
> error: lost synchronization
> W/GStreamer+basetransform(11273):gstbasetransform.c:1304:gst_base_transform_setcaps:<audioconv>
> transform could not transform 0x5762a4a0 in anything we support
> W/GStreamer+basesrc(11273):gstbasesrc.c:2633:gst_base_src_loop:<source>
> error: Internal data flow error.
> W/GStreamer+basesrc(11273): gstbasesrc.c:2633:gst_base_src_loop:<source>
> error: streaming task paused, reason not-negotiated (-4)
> D/GStreamer+tutorial-2(11273): jni/tutorial-2.c:98:set_ui_message Setting
> message to: Error received from element source: Internal data flow error.
> 
> Could anyone help me solve this error ?

I would suggest you use the GStreamer 1.x SDK binaries from

  http://gstreamer.freedesktop.org/data/pkg/android/

instead, and ideally also GStreamer 1.x on debian on the client side
(it's available in the backports repository if I'm not mistaken).

At the very least you should see a more useful debug output with 1.x on
Android (namely caps printed as string instead of pointer).

It would also be helpful to know what your pipelines look like.

 Cheers
  -Tim
-- 
Tim Müller, Centricular Ltd - http://www.centricular.com



More information about the gstreamer-devel mailing list