[gst-devel] learning - question

Tim Hockin thockin at hockin.org
Sat Sep 21 19:35:02 CEST 2002


I'm following the gst application developers manual, and I am modifying the
example programs - a good way to learn.

I want to merely read an audio file (wav, au, whatever) and output it to an
OSS sink.

I'm chaining afsrc -> osssink, using a valid file for afsrc, and gettying
this on stderr:

-----
** (process:14785): WARNING **: gstaudio: could not get caps of pad src:src


** (process:14785): WARNING **: gstaudio: could not get caps of pad src:src

DEBUG: afsrc: timestamp set on output buffer: 0.000000 sec

Segmentation fault
-----

if I use gst-launch I get this 
(gst-launch afsrc location=test.wav !  osssink):

-----
GStreamer-INFO: 0 live buffer(s)
GStreamer-INFO: 0 live bufferpool(s)
GStreamer-INFO: 0 live event(s)
RUNNING pipeline

** (process:14787): WARNING **: gstaudio: could not get caps of pad
afsrc0:src


** (process:14787): WARNING **: gstaudio: could not get caps of pad
afsrc0:src

DEBUG: afsrc: timestamp set on output buffer: 0.000000 sec
ERROR: osssink0: capsnego was never performed, unknown data type
execution ended after 1 iterations (sum 887000 ns, average 887000 ns, min
887000 ns, max 887000 ns)
GStreamer-INFO: 0 live buffer(s)
GStreamer-INFO: 0 live bufferpool(s)
GStreamer-INFO: 0 live event(s)
-----


Can anyone shed some light?

Tim




More information about the gstreamer-devel mailing list