error in running gstreamer pipeline

Mayank Agarwal mayank77fromindia at
Mon Dec 8 23:28:34 PST 2014


I am running simple pipeline to play mp3 file using avfilesrc plugin.

But i am getting following error.Compiling gstreaner-1.0.

(gst-launch-1.0:2337): GStreamer-WARNING **: Element avfilesrc0 has an
ALWAYS template src, but no pad of the same name
WARNING: erroneous pipeline: could not link avfilesrc0 to mad0

If i have to manually link the srcpad to next element in the pipeline.

In my opinion i can implement like that

1.padone = gst_pad_new_from_static_template(src_template,"name");


If i need to implement any caps query between 1&2 above to resolve the
above error.

Please also find my src file as attachment.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gstavfilesrc.c
Type: text/x-csrc
Size: 18507 bytes
Desc: not available
URL: <>

More information about the gstreamer-devel mailing list