Yes this is an embedded system. As I stated in my previous post aplay, alsamixer and playing MPEG4 movies through gstreamer works just fine. Problem occurs when I try playing ogg files through the pipeline specified.<br>Cheers <br>
Ogi<br><br><div class="gmail_quote">On Tue, Dec 28, 2010 at 12:10 PM, Michael Trimarchi <span dir="ltr"><<a href="mailto:michael@panicking.kicks-ass.org">michael@panicking.kicks-ass.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi<br>
<div class="im"><br>
On 12/28/2010 07:27 PM, Radivoje Jovanovic wrote:<br>
> Hi,<br>
> I have ALSA driver for my card and it works fine when I try playing sound<br>
> through aplay or watch movies through gstreamer, but if I try to do:<br>
> gst-launch-0.10 filesrc location=FILE_NAME.ogg ! oggdemux ! vorbisdec !<br>
> audioconvert ! audioresample ! alsasink<br>
> it comes back:<br>
> Pipeline is PREROLLING ...<br>
> ERROR: from element /GstPipeline:pipeline0/GstAlsaSink:alsasink0: Could not<br>
> get/set settings from/on resource.<br>
> Additional debug info:<br>
> gstalsasink.c(519): set_hwparams ():<br>
> /GstPipeline:pipeline0/GstAlsaSink:alsasink0:<br>
> Unable to set hw params for playback: Invalid argument<br>
> ERROR: pipeline doesn't want to preroll.<br>
> Setting pipeline to NULL ...<br>
<br>
</div>is this an embedded system. Can you try to use alsamixer, aplay and arecord to test if your driver<br>
is working correctly?<br>
Michael Trimarchi<br>
<div class="im"><br>
><br>
> So it comes back that alsa cannot setup correctly even though alsasink works<br>
> correctly when I play MPEG movies.<br>
> any thoughts?<br>
> Cheers<br>
> Ogi<br>
><br>
><br>
><br>
><br>
</div>> ------------------------------------------------------------------------------<br>
> Learn how Oracle Real Application Clusters (RAC) One Node allows customers<br>
> to consolidate database storage, standardize their database environment, and,<br>
> should the need arise, upgrade to a full multi-node Oracle RAC database<br>
> without downtime or disruption<br>
> <a href="http://p.sf.net/sfu/oracle-sfdevnl" target="_blank">http://p.sf.net/sfu/oracle-sfdevnl</a><br>
><br>
><br>
><br>
> _______________________________________________<br>
> gstreamer-devel mailing list<br>
> <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
> <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
<br>
<br>
------------------------------------------------------------------------------<br>
Learn how Oracle Real Application Clusters (RAC) One Node allows customers<br>
to consolidate database storage, standardize their database environment, and,<br>
should the need arise, upgrade to a full multi-node Oracle RAC database<br>
without downtime or disruption<br>
<a href="http://p.sf.net/sfu/oracle-sfdevnl" target="_blank">http://p.sf.net/sfu/oracle-sfdevnl</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
</blockquote></div><br>