I am able to detect my plugin with playbin after changing inside GST_PLUGIN_DEFINE as GPL. Is there any other way rather than GPL ? can i gave my own user define name their?.
|
On Mon, Feb 16, 2009 at 8:07 AM, rakesh sharma
<[hidden email]> wrote: > I am able to detect my plugin with playbin after changing inside > GST_PLUGIN_DEFINE as GPL. Is there any other way rather than GPL ? can i > gave my own user define name their?. I don't know, but if you implement your own playbin-alike, I would guess you don't need to use GPL for your plugin. -- http://codebad.com/ ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by rakesh sharma-2
i am getting this message
** Message: don't know how to handle video/mpeg, mpegversion=(int)4, systemstream=(boolean)false, codec_data=(buffer)000001b0f2000001b50ee040c0cf0000010000000120008440fa28a021e0a31f, width=(int)640, height=(int)480, framerate=(fraction)30/1 ERROR: pipeline doesn't want to preroll. can any one please let me know what should be my caps... i tried using like this dec->sink_caps = gst_caps_from_string("video/mpeg, " "mpegversion = (int) [0, MAX] , " "systemstream = (boolean) [true, false] , " "codec_data=(buffer), " "width = (int) [ 0, MAX ], " "height = (int) [ 0, MAX ], " "framerate = (fraction) [ 1, MAX ]"); but its not working. |
On Tue, Feb 17, 2009 at 2:37 AM, rakesh sharma
<[hidden email]> wrote: > can any one please let me know what should be my caps... > i tried using like this > dec->sink_caps = gst_caps_from_string("video/mpeg, " > "mpegversion = (int) [0, MAX] , " > "systemstream = (boolean) [true, false] , " > "codec_data=(buffer), " > "width = (int) [ 0, MAX ], " > "height = (int) [ 0, MAX ], " > "framerate = (fraction) [ 1, MAX ]"); > but its not working. Probably of no consequence: The width and height probably shouldn't be zero in any video stream (can they?) so maybe width and height ranges should be [1,MAX] instead of [0,MAX]. But it looks to my gstreamer-inexperienced eyes that your framerate fraction might be the source of the problem. In gst-plugins-base 0.10.22 I found these two examples: ./tests/check/elements/videotestsrc.c: "framerate = (fraction) [ 0/1, MAX ]" ./sys/ximage/ximagesink.c: "framerate = (fraction) [ 0, MAX ], " The first one confirmed (or so I thought) my suspicions about your fraction range declaration, but the second one unconfirmed them :( -- http://codebad.com/ ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
On Tue, Feb 17, 2009 at 2:17 PM, Donny Viszneki
<[hidden email]> wrote: > ./tests/check/elements/videotestsrc.c: "framerate = (fraction) [ 0/1, MAX ]" > ./sys/ximage/ximagesink.c: "framerate = (fraction) [ 0, MAX ], " MikeS__ and __tim from #gstreamer have told me that either form is acceptable in "string form," and gst_caps_from_string() will interpret either form to mean the fraction range [0/1, G_MAX_INT/1] -- http://codebad.com/ ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by rakesh sharma-2
On Mon, Feb 16, 2009 at 11:37 PM, rakesh sharma
<[hidden email]> wrote: > > i am getting this message > > ** Message: don't know how to handle video/mpeg, mpegversion=(int)4, > systemstream=(boolean)false, > codec_data=(buffer)000001b0f2000001b50ee040c0cf0000010000000120008440fa28a021e0a31f, > width=(int)640, height=(int)480, framerate=(fraction)30/1 > ERROR: pipeline doesn't want to preroll. > can any one please let me know what should be my caps... > i tried using like this > dec->sink_caps = gst_caps_from_string("video/mpeg, " > "mpegversion = (int) [0, MAX] , " > "systemstream = (boolean) [true, > false] , " > "codec_data=(buffer), " > "width = (int) [ 0, MAX ], " > "height = (int) [ 0, MAX ], " > "framerate = (fraction) [ 1, MAX > ]"); > but its not working. You haven't provided enough context here - what do you use dec->sink_caps for? These look more like template caps anyway, but dec->sink_caps implies that you're setting them on an instance. So maybe your template caps are wrong; you haven't shown those at all. Your actual buffer/pad caps you haven't shown anywhere (unless this is what you gave above, in which case it's very obviously wrong). Additional points: - "codec_data=(buffer), " - if this parses at all, I doubt it means anything. It certainly won't do anything useful. - "mpegversion = (int) [0, MAX] , " - I doubt you mean to say that your plugin supports every MPEG video codec, both current and future. Maybe you wanted that to say "mpegversion = 4" Mike ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by rakesh sharma-2
rakesh sharma schrieb:
> I am able to detect my plugin with playbin after changing inside > GST_PLUGIN_DEFINE as GPL. Is there any other way rather than GPL ? can i > gave my own user define name their?. >From the docs (GstPluginDesc): The licence parameter must be one of: LGPL, GPL, QPL, GPL/QPL, MPL, BSD, MIT/X11, Proprietary, unknown. Stefan ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |