Hi,
I have ALSA driver for my card and it works fine when I try playing sound through aplay or watch movies through gstreamer, but if I try to do: gst-launch-0.10 filesrc location=FILE_NAME.ogg ! oggdemux ! vorbisdec ! audioconvert ! audioresample ! alsasink it comes back: Pipeline is PREROLLING ... ERROR: from element /GstPipeline:pipeline0/GstAlsaSink:alsasink0: Could not get/set settings from/on resource. Additional debug info: gstalsasink.c(519): set_hwparams (): /GstPipeline:pipeline0/GstAlsaSink:alsasink0: Unable to set hw params for playback: Invalid argument ERROR: pipeline doesn't want to preroll. Setting pipeline to NULL ... So it comes back that alsa cannot setup correctly even though alsasink works correctly when I play MPEG movies. any thoughts? Cheers Ogi ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Hi
On 12/28/2010 07:27 PM, Radivoje Jovanovic wrote: > Hi, > I have ALSA driver for my card and it works fine when I try playing sound > through aplay or watch movies through gstreamer, but if I try to do: > gst-launch-0.10 filesrc location=FILE_NAME.ogg ! oggdemux ! vorbisdec ! > audioconvert ! audioresample ! alsasink > it comes back: > Pipeline is PREROLLING ... > ERROR: from element /GstPipeline:pipeline0/GstAlsaSink:alsasink0: Could not > get/set settings from/on resource. > Additional debug info: > gstalsasink.c(519): set_hwparams (): > /GstPipeline:pipeline0/GstAlsaSink:alsasink0: > Unable to set hw params for playback: Invalid argument > ERROR: pipeline doesn't want to preroll. > Setting pipeline to NULL ... is this an embedded system. Can you try to use alsamixer, aplay and arecord to test if your driver is working correctly? Michael Trimarchi > > So it comes back that alsa cannot setup correctly even though alsasink works > correctly when I play MPEG movies. > any thoughts? > Cheers > Ogi > > > > > ------------------------------------------------------------------------------ > Learn how Oracle Real Application Clusters (RAC) One Node allows customers > to consolidate database storage, standardize their database environment, and, > should the need arise, upgrade to a full multi-node Oracle RAC database > without downtime or disruption > http://p.sf.net/sfu/oracle-sfdevnl > > > > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
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.
Cheers Ogi On Tue, Dec 28, 2010 at 12:10 PM, Michael Trimarchi <[hidden email]> wrote: Hi ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
does this pipeline works for you
gst-launch audiotestsrc ! alsasink -v
BR,
Praveen Pandey On Wed, Dec 29, 2010 at 3:00 AM, Radivoje Jovanovic <[hidden email]> wrote: 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. ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
gst-launch audiotestsrc ! alsasink -v
works no problem. I have realized that if I play the song using virtual device instead of the real device the thing works just fine. I have made the virtual device as: pcm.mydev { type plug slave { pcm default rate 32000 } } My driver supports all the rates from 8KHz to 48KHz, but it seems to me that the rate in this song is different than what my driver supports. Is this rate conversion suppose to happen in ALSA automatically or I have to use ALSA through virtual device in order to get unsupported parameters to work on my driver? If so, is it possible to specify multiple rates in my virtual device or I have to have one rate only? Cheers, Ogi On Wed, Dec 29, 2010 at 10:21 PM, praveen pandey <[hidden email]> wrote:
------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by ogara
I am having a similar problem, did you find an answer of solution? My sound card is working and the driver and ALSA drivrs. I can test the sound and get audio thru both speakers. However something has a hold on my sound output. Does someone know how to detect what has it locked from being accessable? How to breack that connection to free it?
|
The problem I was facing was in the unusual rate from the source song. I have defined the virtual device in my .asoundrc file and I am using this device to play all the content. It seems to me that the alsa-lib is controlling virtual device so if the content is not match to hardware specs it will resample the data to match hardware profile.
Cheers, Ogi On Thu, Jan 6, 2011 at 1:19 AM, sandrewarthac76J8 <[hidden email]> wrote:
------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |