HI,
I have an app, which send samples of video to gstreamer. when the play back starts, gstreamer get the window size automatically based on the source. But I want to control it. I tried videoscale = gst_element_factory_make ("videoscale", "video_scale"); g_object_set (G_OBJECT (videoscale), "width", 500, NULL); g_object_set (G_OBJECT (videoscale), "height", 500, NULL); but I am getting
Thanks, Girish ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
On Wed, Jul 28, 2010 at 4:10 PM, girish akasapu <[hidden email]> wrote:
I tried The 'sink' pad on the videoscale element has caps that can describe the width and height. Rob ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
In reply to this post by girish akasapu
On Wed, 2010-07-28 at 16:10 -0700, girish akasapu wrote:
> HI, > > I have an app, which send samples of video to gstreamer. when the play > back starts, gstreamer get the window size automatically based on the > source. > But I want to control it. > > I tried > videoscale = gst_element_factory_make ("videoscale", "video_scale"); > g_object_set (G_OBJECT (videoscale), "width", 500, NULL); > g_object_set (G_OBJECT (videoscale), "height", 500, NULL); > > but I am getting > * object class 'GstVideoScale' has not property named 'width' > * object class 'GstVideoScale' has not property named 'height' > Need some help here. how do i set the width and height correctly, and > is there any way to change the dimensions while the video is playing. You can add a capsfilter after videoscale with the correct resolution. videoscale will resize the video to fit the caps negotiated. Regards, Luciana Fujii ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |