[gst-devel] no element "filesrc"

KwangYul Seo kwangyul.seo at gmail.com
Tue Nov 4 03:09:31 CET 2008


Hi,

I want to construct a gstreamer pipeline with gst_parse_launch.

  string =
      g_strdup("filesrc name=src ! "
              "decodebin ! ffmpegcolorspace ! appsink name=sink "
              "caps=video/x-raw-rgb,pixel-aspect-ratio=1/1,bpp=(int)24,"
              "depth=(int)24,endianness=(int)4321,red_mask=(int)0xff0000,"
              "green_mask=(int)0x00ff00,blue_mask=(int)0x0000ff");

  priv->pipeline = gst_parse_launch (string, &error);


However, it does not work with the following error messages:

0:00:00.009167250  7520  0x9bc33e8 ERROR         GST_PIPELINE
./grammar.y:571:_gst_parse_yyparse: no element "filesrc"
0:00:00.009360548  7520  0x9bc33e8 ERROR         GST_PIPELINE
./grammar.y:839:_gst_parse_launch: Unrecoverable syntax error while
parsing pipeline filesrc name=src ! decodebin ! ffmpegcolorspace !
appsink name=sink
caps=video/x-raw-rgb,pixel-aspect-ratio=1/1,bpp=(int)24,depth=(int)24,endianness=(int)4321,red_mask=(int)0xff0000,green_mask=(int)0x00ff00,blue_mask=(int)0x0000ff
could not construct pipeline: no element
"filesrc"skyul at skyul-desktop:~/work/cameraman/src$

Where is the syntax error?


Regards,
Kwang Yul Seo




More information about the gstreamer-devel mailing list