using autoaudiosinkin return error in gstreamer 1.6.2,why?

zhang007z zhang007z at gmail.com
Sun Jan 10 16:51:08 PST 2016


in ubuntu 14.04 of intel x64 architecture, I use pipeline as below in
gstreamer 1.6.2 version :
//-----------------------------------command
pipeline-------------------------//
gst-launch-1.0 -v audiotestsrc is-live=true !
audio/x-raw,format=S16LE,layout=interleaved,rate=48000,channels=2 ! queue !
audioconvert ! autoaudiosink
//----------------------------------------------------------------------------//

return error as below:
//----------------------------------return
error------------------------------//
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
WARNING: from element
/GstPipeline:pipeline0/GstAutoAudioSink:autoaudiosink0: Could not open audio
device for playback.
Additional debug info:
oss4-sink.c(514): gst_oss4_sink_open ():
/GstOss4Sink:autoaudiosink0-actual-sink-oss4:
system error: No such file or directory
/GstPipeline:pipeline0/GstAudioTestSrc:audiotestsrc0.GstPad:src: caps =
"audio/x-raw\,\ format\=\(string\)S16LE\,\ layout\=\(string\)interleaved\,\
rate\=\(int\)48000\,\ channels\=\(int\)2"
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps =
"audio/x-raw\,\ format\=\(string\)S16LE\,\ layout\=\(string\)interleaved\,\
rate\=\(int\)48000\,\ channels\=\(int\)2"
Setting pipeline to PLAYING ...
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = "audio/x-raw\,\
format\=\(string\)S16LE\,\ layout\=\(string\)interleaved\,\
rate\=\(int\)48000\,\ channels\=\(int\)2"
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = "audio/x-raw\,\
format\=\(string\)S16LE\,\ layout\=\(string\)interleaved\,\
rate\=\(int\)48000\,\ channels\=\(int\)2"
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps =
"audio/x-raw\,\ format\=\(string\)S16LE\,\ layout\=\(string\)interleaved\,\
rate\=\(int\)48000\,\ channels\=\(int\)2"
New clock: GstSystemClock
/GstPipeline:pipeline0/GstAudioConvert:audioconvert0.GstPad:src: caps =
"audio/x-raw\,\ layout\=\(string\)interleaved\,\ rate\=\(int\)48000\,\
format\=\(string\)S16LE\,\ channels\=\(int\)2\,\
channel-mask\=\(bitmask\)0x0000000000000003"
/GstPipeline:pipeline0/GstAutoAudioSink:autoaudiosink0.GstGhostPad:sink.GstProxyPad:proxypad0:
caps = "audio/x-raw\,\ layout\=\(string\)interleaved\,\
rate\=\(int\)48000\,\ format\=\(string\)S16LE\,\ channels\=\(int\)2\,\
channel-mask\=\(bitmask\)0x0000000000000003"
/GstPipeline:pipeline0/GstAutoAudioSink:autoaudiosink0/GstFakeSink:fake-audio-sink.GstPad:sink:
caps = "audio/x-raw\,\ layout\=\(string\)interleaved\,\
rate\=\(int\)48000\,\ format\=\(string\)S16LE\,\ channels\=\(int\)2\,\
channel-mask\=\(bitmask\)0x0000000000000003"
/GstPipeline:pipeline0/GstAutoAudioSink:autoaudiosink0.GstGhostPad:sink:
caps = "audio/x-raw\,\ layout\=\(string\)interleaved\,\
rate\=\(int\)48000\,\ format\=\(string\)S16LE\,\ channels\=\(int\)2\,\
channel-mask\=\(bitmask\)0x0000000000000003"
/GstPipeline:pipeline0/GstAudioConvert:audioconvert0.GstPad:sink: caps =
"audio/x-raw\,\ format\=\(string\)S16LE\,\ layout\=\(string\)interleaved\,\
rate\=\(int\)48000\,\ channels\=\(int\)2"
...............................................stop here,don't execute
//------------------------------error
explain------------------------------------//
primary error as below:
Pipeline is live and does not need PREROLL ...
WARNING: from element
/GstPipeline:pipeline0/GstAutoAudioSink:autoaudiosink0: Could not open audio
device for playback.
Additional debug info:
oss4-sink.c(514): gst_oss4_sink_open ():
/GstOss4Sink:autoaudiosink0-actual-sink-oss4:
system error: No such file or directory
//----------------------------------------------------------------------------//
I don't understand this mean that audio device don't open
,why?gst_oss4_sink_open () function is present error "No such file or
directory". what mean is it?
if anybody have idea for me,thank you in advance .



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/using-autoaudiosinkin-return-error-in-gstreamer-1-6-2-why-tp4675202.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list