Troubleshoot a2dpsink

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Troubleshoot a2dpsink

Abu Abdullah
Hi,

I'm getting this error while trying to listen a file via raspberry
bluetooth speakers:

pi@raspberrypi:~ $ gst-launch-1.0 filesrc location=001.wav ! wavparse
! audioconvert ! audioresample ! sbcenc ! a2dpsink
device=11:75:58:0D:84:4A
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element
/GstPipeline:pipeline0/GstA2dpSink:a2dpsink0/GstAvdtpSink:avdtpsink:
GStreamer error: state change failed and some element failed to post a
proper error message with the reason for the failure.
Additional debug info:
gstbasesink.c(5265): gst_base_sink_change_state ():
/GstPipeline:pipeline0/GstA2dpSink:a2dpsink0/GstAvdtpSink:avdtpsink:
Failed to start
Setting pipeline to NULL ...
Freeing pipeline ...



**************

the new raspbian versions (Debian) is using the bluez-alsa

any hint is appreciated
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Troubleshoot a2dpsink

Shwetha Nayak
Hi,

I am testing A2DP on i.MX8M platform and the pipeline that I am using is

gst-launch-1.0 filesrc location=/home/root/test.wav ! wavparse !
audioconvert ! audioresample ! sbcenc ! a2dpsink device=XX:XX:XX:XX:XX:XX
transport=0

By adding the transport parameter the below mentioned error is solved but
now I am getting below error

Setting pipeline to PAUSED ...

(gst-launch-1.0:3409): GLib-GIO-CRITICAL **:
g_dbus_connection_signal_subscribe: assertion 'object_path == NULL ||
g_variant_is_object_path (object_path)' failed

(gst-launch-1.0:3409): GLib-GIO-CRITICAL **:
g_dbus_connection_signal_subscribe: assertion 'object_path == NULL ||
g_variant_is_object_path (object_path)' failed

(gst-launch-1.0:3409): GLib-GIO-CRITICAL **:
g_dbus_connection_call_internal: assertion 'object_path != NULL &&
g_variant_is_object_path (object_path)' failed

If you have solved the issue can you please share the solution.





--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Troubleshoot a2dpsink

Arun Raghavan-4


On Tue, 16 Oct 2018, at 5:00 PM, Shwetha Nayak wrote:

> Hi,
>
> I am testing A2DP on i.MX8M platform and the pipeline that I am using is
>
> gst-launch-1.0 filesrc location=/home/root/test.wav ! wavparse !
> audioconvert ! audioresample ! sbcenc ! a2dpsink device=XX:XX:XX:XX:XX:XX
> transport=0
>
> By adding the transport parameter the below mentioned error is solved but
> now I am getting below error
>
> Setting pipeline to PAUSED ...
>
> (gst-launch-1.0:3409): GLib-GIO-CRITICAL **:
> g_dbus_connection_signal_subscribe: assertion 'object_path == NULL ||
> g_variant_is_object_path (object_path)' failed
>
> (gst-launch-1.0:3409): GLib-GIO-CRITICAL **:
> g_dbus_connection_signal_subscribe: assertion 'object_path == NULL ||
> g_variant_is_object_path (object_path)' failed
>
> (gst-launch-1.0:3409): GLib-GIO-CRITICAL **:
> g_dbus_connection_call_internal: assertion 'object_path != NULL &&
> g_variant_is_object_path (object_path)' failed

If you start the application with G_DEBUG=fatal-criticals, it will abort on the first error. Can you get a backtrace from that abort?

-- Arun
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel