Using WASAPI in GStreamer
orione1974
orione1974 at email.it
Mon Dec 3 02:16:57 PST 2012
I tried the component with:
gst-launch-0.10.exe -v wasapisrc ! filesink location="prv"
Setting pipeline to PAUSED ...
/GstPipeline:pipeline0/GstWasapiSrc:wasapisrc0.GstPad:src: caps =
audio/x-raw-int, width=(int)16, depth=(int)16, rate=(int)8000,
channels=(int)1, signed=(boolean)true, endianness=(int)1234
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstWasapiSrcClock
/GstPipeline:pipeline0/GstFileSink:filesink0.GstPad:sink: caps =
audio/x-raw-int, width=(int)16, depth=(int)16, rate=(int)8000,
channels=(int)1, signed=(boolean)true, endianness=(int)1234
But in the file "prv" I can see only "NULL" character (zero).
-------------------------------------------------------------------
I tried "gst-launch-0.10 -v audiotestsrc ! wasapisink", but I get a error:
Setting pipeline to PAUSED ...
/GstPipeline:pipeline0/GstAudioTestSrc:audiotestsrc0.GstPad:src: caps =
audio/x-raw-int, width=(int)16, depth=(int)16, rate=(int)8000,
channels=(int)1, signed=(boolean)true, endianness=(int)1234
Pipeline is PREROLLING ...
/GstPipeline:pipeline0/GstWasapiSink:wasapisink0.GstPad:sink: caps =
audio/x-raw-int, width=(int)16, depth=(int)16, rate=(int)8000,
channels=(int)1, signed=(boolean)true, endianness=(int)1234
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/GstWasapiSink:wasapisink0: Could
not write to resource.
Additional debug info:
gstwasapisink.c(241): gst_wasapi_sink_render ():
/GstPipeline:pipeline0/GstWasapiSink:wasapisink0:
IAudioRenderClient::GetBuffer () failed: AUDCLNT_E_BUFFER_SIZE_ERROR
Execution ended after 33002000 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
/GstPipeline:pipeline0/GstWasapiSink:wasapisink0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstAudioTestSrc:audiotestsrc0.GstPad:src: caps = NULL
Setting pipeline to NULL ...
Freeing pipeline ...
-------------------------------------------------------------------
What's I'm wrong?
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Using-WASAPI-in-GStreamer-tp4657183.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list