Return-Path: Message-ID: Date: Wed, 26 Sep 2007 19:19:57 -0300 From: thiagoss To: "BlueZ development" In-Reply-To: <1190844611.6484.33.camel@aeonflux.holtmann.net> MIME-Version: 1.0 References: <1190844611.6484.33.camel@aeonflux.holtmann.net> Subject: Re: [Bluez-devel] patches fixing gstreamer plugins Reply-To: BlueZ development List-Id: BlueZ development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1819984512==" Sender: bluez-devel-bounces@lists.sourceforge.net Errors-To: bluez-devel-bounces@lists.sourceforge.net --===============1819984512== Content-Type: multipart/alternative; boundary="----=_Part_8838_23692367.1190845198067" ------=_Part_8838_23692367.1190845198067 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Marcel I know, the thing is the capabilities negotiation wasn't properly implemented, some functions should have been overrided, sbcdec and sbcenc should be enough to decode/encode, but since sbcparse was missing the same thing sbcenc was, I did the work too. If a use: filesrc ! audioconvert ! sbcenc ! fakesink it works, but that doesn't mean the problem isn't there, it just hasn't ocurred, (the reason is that fakesink accept any kind of buffers, thus negotiation is "everything is ok"), when I put sbcparse (even if its not useful, it's just for testing) the negotiation should succeed, both of them work with sbc, and it isn't succeeding. Both sbcenc and sbcparse had a problem, the example I gave was only a demonstration of the problem. Regards Thiago On 9/26/07, Marcel Holtmann wrote: > > Hi Thiago, > > > Patches for Bluez utils, modifying the sbcenc and sbcparse gstreamer > > plugins on utils/audio > > > > > > The problem: > > The pipeline "filesrc ! audioconvert ! sbcenc ! sbcparse ! fakesink" > > is not working > > actually the sbcparse is only there for annotating an SBC stream. For > decoding the sbcdec should be used. > > Regards > > Marcel > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Bluez-devel mailing list > Bluez-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bluez-devel > ------=_Part_8838_23692367.1190845198067 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Marcel

I know, the thing is the capabilities negotiation wasn't properly implemented, some functions should have been overrided, sbcdec and sbcenc should be enough to decode/encode, but since sbcparse was missing the same thing sbcenc was, I did the work too.

If a use:
filesrc ! audioconvert ! sbcenc ! fakesink

it works, but that doesn't mean the problem isn't there, it just hasn't ocurred, (the reason is that fakesink accept any kind of buffers, thus negotiation is "everything is ok"), when I put sbcparse (even if its not useful, it's just for testing) the negotiation should succeed, both of them work with sbc, and it isn't succeeding.

Both sbcenc and sbcparse had a problem, the example I gave was only a demonstration of the problem.

Regards

Thiago

On 9/26/07, Marcel Holtmann <marcel@holtmann.org> wrote:
Hi Thiago,

> Patches for Bluez utils, modifying the sbcenc and sbcparse gstreamer
> plugins on utils/audio
>
>
> The problem:
> The pipeline "filesrc ! audioconvert ! sbcenc ! sbcparse ! fakesink"
> is not working

actually the sbcparse is only there for annotating an SBC stream. For
decoding the sbcdec should be used.

Regards

Marcel



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

------=_Part_8838_23692367.1190845198067-- --===============1819984512== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ --===============1819984512== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel --===============1819984512==--