<div dir="ltr">Hi,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I want to record sound, from my sound card using OSS and encode it to an
Ogg/Vorbis file using gstreamer.&nbsp; I used btaudio driver. <br><b>Command</b> that used :<br>gst-launch-0.10 -v osssrc device=/dev/dsp ! audioconvert ! vorbisenc ! oggmux ! filesink location=mymusic.ogg<br><br>For this, i got <b>error message</b>, from element /pipeline0/osssrc0: Could not get/set settings from/on resource.<br>


and the detailed error messages are:<br>Setting pipeline to PAUSED ...<br>Pipeline is live and does not need PREROLL ...<br>ERROR: from element /pipeline0/osssrc0: Could not get/set settings from/on resource.<br>Additional debug info:<br>


gstosssrc.c(439): gst_oss_src_prepare (): /pipeline0/osssrc0:<br>Unable to set param SETFRAGMENT: Invalid argument<br>ERROR: pipeline doesn&#39;t want to preroll.<br>Setting pipeline to PAUSED ...<br>Setting pipeline to READY ...<br>


Setting pipeline to NULL ...<br>FREEING pipeline ...<br><b>and how to set mixer settings, and is there any packages i have to install. If then pls tell which packages i have to install.<br></b><br>But
i &#39;m able to capture audio data using (audio device /dev/dsp for oss )
some other application tools and play it without any errors. <br>
<br>Regards,<br><font color="#888888">John david.</font></div>