Problem with flacdec and ismd_audio_sink

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

Problem with flacdec and ismd_audio_sink

Raymond Frost
Hi,

Im working on a intel CE4150 board with gstreamer
and i have issues of extremely low volume whenever i use flacdec along with ismd_audio_sink
basically my setup is
filesrc ! queue ! flacdec ! audioconvert ! ismd_audio_sink

i have no issues when using other combinations
such as
filesrc ! queue ! flacdec ! audioconvert ! alsasink
[same flac playback with a usb uDAC]
or
filesrc ! queue ! oggparse ! vorbsdec ! audioconvert ! ismd_audio_sink
[same device setup for vorbis playback]

anybody can shed some light as in what did i miss in setting up a flac pipeline?

Thanks in advance
Reply | Threaded
Open this post in threaded view
|

Re: Problem with flacdec and ismd_audio_sink

Tim-Philipp Müller-2
On Tue, 2010-12-07 at 02:49 -0800, Raymond Frost wrote:

> Im working on a intel CE4150 board with gstreamer
> and i have issues of extremely low volume whenever i use flacdec along with
> ismd_audio_sink. Basically my setup is
>
> filesrc ! queue ! flacdec ! audioconvert ! ismd_audio_sink
>
> i have no issues when using other combinations such as (snip)

So what format is being negotiated between flacdec and your sink? (pass
-v to gst-launch)

What if you use e.g.

 ... ! flacdec ! audioconvert ! \
       audio/x-raw-int,width=16,depth=16,channels=2 ! \
       ismd_audio_sink

for example (try other combinations too, maybe the same as are used with
the other formats).

Cheers
 -Tim



------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Problem with flacdec and ismd_audio_sink

Raymond Frost
Tim-Philipp Müller-2 wrote
On Tue, 2010-12-07 at 02:49 -0800, Raymond Frost wrote:

> Im working on a intel CE4150 board with gstreamer
> and i have issues of extremely low volume whenever i use flacdec along with
> ismd_audio_sink. Basically my setup is
>
> filesrc ! queue ! flacdec ! audioconvert ! ismd_audio_sink
>
> i have no issues when using other combinations such as (snip)

So what format is being negotiated between flacdec and your sink? (pass
-v to gst-launch)

What if you use e.g.

 ... ! flacdec ! audioconvert ! \
       audio/x-raw-int,width=16,depth=16,channels=2 ! \
       ismd_audio_sink

for example (try other combinations too, maybe the same as are used with
the other formats).

Cheers
 -Tim
well,
i have been trying something similar before,
it goes something like the codes below,
*note that I'm using C

                        audio_caps = gst_caps_new_simple("audio/x-raw-int",
                                                          "width",       G_TYPE_INT, 16,
                                                          "rate",        G_TYPE_INT, 48000,
                                                          "channels",    G_TYPE_INT, 2,
                                                          "endianness",  G_TYPE_INT, 1234,
                                                          "depth",       G_TYPE_INT, 24,
                                                          "signed",      G_TYPE_BOOLEAN, true,
                                                          NULL);
                        g_assert(audio_caps);
                        gst_pad_set_caps(audioconvert_src_pad, audio_caps);
                        gst_caps_unref(audio_caps);



I run this before linking up the pipeline,
and so far i have tried numerous setting combinations,
so far i have no positive improvements yet.

so far only by replacing the audiosink to alsasink,
i can get good volume with the same setting on all the other part of the pipeline.
i guess this part of setting could be the only connection to this problem.
Reply | Threaded
Open this post in threaded view
|

Re: Problem with flacdec and ismd_audio_sink

Josep Torra
On 12/8/10 10:35 AM, Raymond Frost wrote:

>
>
> Tim-Philipp Müller-2 wrote:
>>
>> On Tue, 2010-12-07 at 02:49 -0800, Raymond Frost wrote:
>>
>>> Im working on a intel CE4150 board with gstreamer
>>> and i have issues of extremely low volume whenever i use flacdec along
>>> with
>>> ismd_audio_sink. Basically my setup is
>>>
>>> filesrc ! queue ! flacdec ! audioconvert ! ismd_audio_sink
>>>
>>> i have no issues when using other combinations such as (snip)
>>
>> So what format is being negotiated between flacdec and your sink? (pass
>> -v to gst-launch)
>>
>> What if you use e.g.
>>
>>  ... ! flacdec ! audioconvert ! \
>>        audio/x-raw-int,width=16,depth=16,channels=2 ! \
>>        ismd_audio_sink
>>
>> for example (try other combinations too, maybe the same as are used with
>> the other formats).
>>
>> Cheers
>>  -Tim
>>
>>
>
> well,
> i have been trying something similar before,
> it goes something like the codes below,
> *note that I'm using C
>
> audio_caps = gst_caps_new_simple("audio/x-raw-int",
>                                  "width",       G_TYPE_INT, 16,
>                                  "rate",        G_TYPE_INT, 48000,
>                                  "channels",    G_TYPE_INT, 2,
>                                  "endianness",  G_TYPE_INT, 1234,
>                                  "depth",       G_TYPE_INT, 24,
>                                  "signed",      G_TYPE_BOOLEAN, true,
>                                  NULL);
> g_assert(audio_caps);
> gst_pad_set_caps(audioconvert_src_pad, audio_caps);
> gst_caps_unref(audio_caps);
>
>
>
> I run this before linking up the pipeline,
> and so far i have tried numerous setting combinations,
> so far i have no positive improvements yet.
>
> so far only by replacing the audiosink to alsasink,
> i can get good volume with the same setting on all the other part of the
> pipeline.
> i guess this part of setting could be the only connection to this problem.
>
Having depth > width doesn't make sense.

Try with 16 bits on both.

Cheers
 Josep

------------------------------------------------------------------------------
This SF Dev2Dev email is sponsored by:

WikiLeaks The End of the Free Internet
http://p.sf.net/sfu/therealnews-com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel