RE : how to set/get settings from/on resource

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

RE : how to set/get settings from/on resource

davidjohn
Hi,
        I want to record sound, from my sound card using OSS and encode it to an Ogg/Vorbis file using gstreamer.  I used btaudio driver.
Command that used :
gst-launch-0.10 -v osssrc device=/dev/dsp ! audioconvert ! vorbisenc ! oggmux ! filesink location=mymusic.ogg

For this, i got error message, from element /pipeline0/osssrc0: Could not get/set settings from/on resource.
and the detailed error messages are:
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
ERROR: from element /pipeline0/osssrc0: Could not get/set settings from/on resource.
Additional debug info:
gstosssrc.c(439): gst_oss_src_prepare (): /pipeline0/osssrc0:
Unable to set param SETFRAGMENT: Invalid argument
ERROR: pipeline doesn't want to preroll.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
FREEING pipeline ...
and how to set/get settings from/on resource.

But i 'm able to capture audio data using (audio device /dev/dsp for oss ) some other application tools and play it without any errors.

Regards,
John david.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel