[gst-devel] Newbie question on plugins

Thomas Vander Stichele thomas at apestaart.org
Mon Apr 11 05:14:03 CEST 2005


HI,

why is your framerate integer ?

Thomas

On Mon, 2005-04-11 at 11:42 +0800, John Darrington wrote:
> Hi,
> 
> I'm trying to write a video plugin.
> 
> So  I took the template from
> anoncvs at cvs.freedesktop.org:/cvs/gstreamer
> 
> and run it thought this command
> 
> gst-launch-0.8 xvideosrc !  myplugin  ! xvimagesink
> 
> No problem.
> 
> 
> Now I want to customise it, so I change the line 
> 		 GST_STATIC_CAPS("ANY")
> to read
> 
>  GST_STATIC_CAPS ("video/x-raw-rgb, "
>           	  "framerate = (int) [ 1, 100 ], "
> 		  "width =  (int) [ 1, 2147483647 ], "
>                   "height = (int) [ 1, 2147483647 ] ")
> 
> But now when I try to run the pipeline, I get 
> 
>  erroneous pipeline: could not link videotestsrc0 to testplugin0
> 
> What am I doing wrong?
> 

Dave/Dina : future TV today ! - http://www.davedina.org/
<-*- thomas (dot) apestaart (dot) org -*->
Black out the windows
It's party time
You know how I like stormy weather
<-*- thomas (at) apestaart (dot) org -*->
URGent, best radio on the net - 24/7 ! - http://urgent.fm/







More information about the gstreamer-devel mailing list