[maemo-developers] [maemo-developers] problem with gstreamer

From: Pavan Krishnamurthy 2pavan at gmail.com
Date: Sun Aug 20 12:10:55 EEST 2006
Hi,
I did try on x86 linux box only. The same file plays very well under
$gst-launch filesrc location=tada.wav ! wavparse ! osssink
command. But when I tried to create similar pipeline inthe " Helloworld " eg
program, it hangs
in the main loop.

Is there any need to have a dynamic sink pad add handler as in case of Ogg
player eg.?

Regards,
Pavan


On 8/20/06, Stefan Kost <ensonic at hora-obscura.de> wrote:
>
> hi,
>
> Pavan Krishnamurthy wrote:
> > Hi,
> >
> > Firstly excuse me if I am reporting this problem in a wrong group. But
> > since there are people who have worked on gstreamer in this group I am
> > posting this problem.
> >
> > I tried to run the "helloworld" program given in the gstreamer-10.8
> > documentation on my linux machine. It played back the .ogg file
> > without any problem.
> >
> > But I needed to play a wave file. So I modified the helloworld code as
> > follows:
> > 1. instead of oggdemux and vorbis parser elements, I created wavparse
> > element.
> > 2. Added "filesrc", "wavparse", "alsasink" to the pipeline and linked
> > them.
> for some file you might need to have "audioconvert" between wavparse and
> alsasink/dsppcmsink
>
> As already suggested install gstreamer-tools and try with gst-launch
> first. It might be also worth to make the pipeline run on x86 linux and
> then try on the device.
> >
> > Now when I ran the program, it doesnt output the sound, it hangs in
> > the gmainloop and never returns from it.
> >
> > Can anybody pls tell me whats wrong with this.
> >
> > Thanks and Regards,
> > Pavan
> Stefan
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20060820/2d92d8b2/attachment.htm 
More information about the maemo-developers mailing list