No sound played with alsasink plugin

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

No sound played with alsasink plugin

damoder mogilipaka
Dear,

We tried playing raw PCM data and audiotestsrc in our target board, but there is no sound coming out.

We tried with the following commands, but no sound being played.

gst-launch-1.0 audiotestsrc ! alsasink

gst-launch-1.0 audiotestsrc ! audioconvert ! alsasink

gst-launch-1.0 audiotestsrc ! audioconvert ! autoaudiosink

gst-launch-1.0 audiotestsrc ! audioconvert ! alsasink device=hw:0,0

gst-launch-1.0 audiotestsrc ! audioconvert ! alsasink device=plughw:0,0

gst-launch-1.0 audiotestsrc ! audio/x-raw, rate=48000, channels=2, format=(string)S16LE, layout=interleaved ! alsasink

gst-launch-1.0 audiotestsrc ! audio/x-raw, rate=48000, channels=2, format=(string)S16LE, layout=interleaved ! alsasink device=hw:0,0

gst-launch-1.0 filesrc location=test.pcm ! audio/x-raw, rate=48000, channels=2, format=(string)S16LE, layout=interleaved ! alsasink


Whereas, the sound is being played with following command, on the same target board.

aplay -D hw:0,0 test.wav

The sound is being played with ffmpeg commands also.

What we are suspecting is that alsasink plugin is not working on our target board.

What could be the problem/issue for sound being not played on our target board with gstreamer commands ?


Please let me know the solution.


Thanks & Regards,
Damoder



--
Thanks and Regards,
M.Damoder

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

Re: No sound played with alsasink plugin

Sebastian Dröge-3
On Sun, 2016-09-25 at 19:36 +0530, damoder mogilipaka wrote:

> Dear,
>
> We tried playing raw PCM data and audiotestsrc in our target board,
> but there is no sound coming out.
>
> We tried with the following commands, but no sound being played.
> [...]
>
> What we are suspecting is that alsasink plugin is not working on our
> target board.
>
> What could be the problem/issue for sound being not played on our
> target board with gstreamer commands ?
What is your target board, what ALSA driver is being used? Also check
the debug output of alsasink with GST_DEBUG=2,alsa*:6

--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (949 bytes) Download Attachment