Re: GStreamer playbin + MP3 playback on the N900

2009-10-21 Thread Martin Grimme
Hi,

playbin2 works. playbin used to work too before having installed
ogg-support, at least on a older firmware release (OS 38-x) it worked
well until I installed ogg-support.
The SDK documentation mentions to use playbin2, however, so breaking
playbin shouldn't be too critical. But some gstreamer expert should be
able explain why this breaks playbin.


Martin
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: GStreamer playbin + MP3 playback on the N900

2009-10-21 Thread Thomas Perl
2009/10/21 Claudio Saavedra :
> El mié, 21-10-2009 a las 16:17 +0200, Thomas Perl escribió:
>> As mentioned in https://bugs.maemo.org/show_bug.cgi?id=5629, I cannot
>> get MP3 files to play with GStreamer on the N900 using the "playbin"
>> element. I have tested it with both Python code and the gst-launch utility.
>>
>> $ gst-launch playbin uri=file:///path/to/a/mp3file.mp3
>>
>> The error I am getting is this one:
>>
>> ERROR: from element /GstPlayBin:playbin0/GstFileSrc:source: Internal
>> data flow error.
>> Additional debug info:
>> gstbasesrc.c(2345): gst_base_src_loop ():
>> /GstPlayBin:playbin0/GstFileSrc:source:
>> streaming task paused, reason not-negotiated (-4)
>>
>> Is there any way how I can make this work on the N900? (works in Diablo)
>> Is there something special I need to do to playback this file?
>
> playbin2?

Oh, yes. That works perfect :) Thanks! Can I also play audio while the
N900 is in the "Silent" profile with GStreamer? (Playback is muted with
the "Silent" profile)

Thomas
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: GStreamer playbin + MP3 playback on the N900

2009-10-21 Thread Tuomas Kulve
Thomas Perl wrote:
> Hello!
> 
> As mentioned in https://bugs.maemo.org/show_bug.cgi?id=5629, I cannot
> get MP3 files to play with GStreamer on the N900 using the "playbin"
> element. I have tested it with both Python code and the gst-launch utility.

I've used playbin2 with gst-launch on the command line.

-- 
Tuomas
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: GStreamer playbin + MP3 playback on the N900

2009-10-21 Thread Claudio Saavedra
El mié, 21-10-2009 a las 16:17 +0200, Thomas Perl escribió:
> Hello!
> 
> As mentioned in https://bugs.maemo.org/show_bug.cgi?id=5629, I cannot
> get MP3 files to play with GStreamer on the N900 using the "playbin"
> element. I have tested it with both Python code and the gst-launch utility.
> 
> $ gst-launch playbin uri=file:///path/to/a/mp3file.mp3
> 
> The error I am getting is this one:
> 
> ERROR: from element /GstPlayBin:playbin0/GstFileSrc:source: Internal
> data flow error.
> Additional debug info:
> gstbasesrc.c(2345): gst_base_src_loop ():
> /GstPlayBin:playbin0/GstFileSrc:source:
> streaming task paused, reason not-negotiated (-4)
> 
> Is there any way how I can make this work on the N900? (works in Diablo)
> Is there something special I need to do to playback this file?

playbin2?

Claudio


___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


GStreamer playbin + MP3 playback on the N900

2009-10-21 Thread Thomas Perl
Hello!

As mentioned in https://bugs.maemo.org/show_bug.cgi?id=5629, I cannot
get MP3 files to play with GStreamer on the N900 using the "playbin"
element. I have tested it with both Python code and the gst-launch utility.

$ gst-launch playbin uri=file:///path/to/a/mp3file.mp3

The error I am getting is this one:

ERROR: from element /GstPlayBin:playbin0/GstFileSrc:source: Internal
data flow error.
Additional debug info:
gstbasesrc.c(2345): gst_base_src_loop ():
/GstPlayBin:playbin0/GstFileSrc:source:
streaming task paused, reason not-negotiated (-4)

Is there any way how I can make this work on the N900? (works in Diablo)
Is there something special I need to do to playback this file?

For now, I don't want to use MAFW, as this would require rewriting big
parts of my code, and playback isn't supported by python-mafw, anyway.

Thanks,
Thomas
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers