[gst-devel] no element "filesrc"
Jerry Tan
Jerry.Tan at Sun.COM
Tue Nov 4 04:39:26 CET 2008
you can try gst-inspect filesrc to check if there is some error.
filesrc should be in your gstreamer pkgs, if not, there must be a problem.
You can try gst-lauch "filesrc location='' ! decodebin ! ....." to check
if the syntax is right by using it on cmd.
> 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
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
More information about the gstreamer-devel
mailing list