Openembedded and gstreamer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On Thu, 2010-08-26 at 13:41 +0200, Alberto Milla wrote:
> Hi, I am working with an at91sam9g45ekes and openembedded at its stable branch.
> 
> I tried to do a simple hello world program with gstreamer but it did
> not work. After that I started testing gstreamer with the command:
> 
> # gst-launch audiotestsrc ! audioconvert ! alsasink
> 
> I get:
> 
> Setting pipeline to PAUSED ...
> Pipeline is PREROLLING ...
> Pipeline is PREROLLED ...
> Setting pipeline to PLAYING ...
> New clock: GstAudioSinkClock
> 
> And gst-launch get stucked without playing any buzzer sound and to
> exit I had to do a ctrl-c and after that gstreamer stopped in:

Your alsasink seems broken, it should play sound. Maybe the volume it
too low?

> 
> Caught interrupt -- handling interrupt.
> Interrupt: Stopping pipeline ...
> Execution ended after 11443136693 ns.
> Setting pipeline to PAUSED ...
> 
> After that, I have to do a reset to the board. But if I play a OGG file:

Sounds like a driver problem to me.

> 
> # gst-launch filesrc location=music.ogg ! oggdemux ! vorbisdec ! alsasink
> 
> I get only a warning but no sound:
> 
> WARNING: erroneous pipeline: could not link vorbisdec0 to alsasink0

You need to add audioconvert ! audioresample in front of alsasink.

> 
> And to finish, I tried too with a mp3 file and I had the audiotestsrc problem:
> 
> # gst-launch filesrc location=music.mp3 ! mad ! alsasink
> 
> Setting pipeline to PAUSED ...
> Pipeline is PREROLLING ...
> Pipeline is PREROLLED ...
> Setting pipeline to PLAYING ...
> New clock: GstAudioSinkClock
> 

Again, this should play the sound, if not, check the volume and the
driver.

Wim
> 
> Can you help me?
> 
> 
> Thanks,
> 
> Alberto
> 
> ------------------------------------------------------------------------------
> Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
> Be part of this innovative community and reach millions of netbook users 
> worldwide. Take advantage of special opportunities to increase revenue and 
> speed time-to-market. Join now, and jumpstart your future.
> http://p.sf.net/sfu/intel-atom-d2d
> _______________________________________________
> Gstreamer-embedded mailing list
> Gstreamer-embedded at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-embedded






[Index of Archives]     [Linux Embedded]     [Linux ARM Kernel]     [Linux for ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux Media]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux