linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* sbcdec: problem with sbc mono stream
@ 2009-10-26 17:17 Marc Kleine-Budde
  0 siblings, 0 replies; only message in thread
From: Marc Kleine-Budde @ 2009-10-26 17:17 UTC (permalink / raw)
  To: linux-bluetooth


[-- Attachment #1.1: Type: text/plain, Size: 1566 bytes --]

Hello,

I've got a problem with the gstreamer sbcdec plugin. When playing the
attached sbc mono stream with this gstreamer pipeline:
$(gst-launch -v filesrc location=mono-short.sbc ! sbcdec ! alsasink)
the first some 100ms the stream sounds like an electric shaver. The
effect can be verified when streaming to a filesink.

The sbcdec command line tool just works fine. So the problem must be the
sbcdec plugin or I've started the pipeline the wrong way.

However I observer that the repeated starts of the pipeline give
different strange sounds at the beginning, Decoding into a filesrc does too:

for i in $(seq -w 1 10); do gst-launch filesrc location=mono-short.sbc !
sbcdec ! filesink location=out-$i.raw; done

md5sum *.raw
1b0b7f86c09e01a50356a5665ed2b102  out-01.raw
e1c0d6e947ae38fe8b97c3cf1bf6722c  out-02.raw
895181960e81632340ba633b4f9dbf66  out-03.raw
a2e2dbc03ee7bace8a21c5a5a049e3cf  out-04.raw
9eea2dc39181a20a16ab7fbd46367e35  out-05.raw
169a8c395c689671792a2683dcdc309f  out-06.raw
0d5611f28e2c5f4a40c97c488c6eac2b  out-07.raw
7b50d3bdaba858f1706f28c7b80334cf  out-08.raw
9c5fce3703edd77c48949b3552fed1e4  out-09.raw
7dc8b34832b04a86873a3fad34304fd0  out-10.raw

I'm usung the latest bluez release.

cheers, Marc

-- 
Pengutronix e.K.                         | Marc Kleine-Budde           |
Linux Solutions for Science and Industry | Phone: +49-231-2826-924     |
Vertretung West/Dortmund                 | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686         | http://www.pengutronix.de   |

[-- Attachment #1.2: mono-short.sbc --]
[-- Type: application/octet-stream, Size: 14560 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-10-26 17:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-26 17:17 sbcdec: problem with sbc mono stream Marc Kleine-Budde

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).