<div dir="ltr"><div><div><div><div><div>Hi Johan,<br></div><br></div>There is a plugin called vodeocrop. Give it a try<br><br></div>To get some info on it type in terminal <i>gst-inspect-1.0 videocrop<br><br></i></div>Best luck,<br></div>AlexB<br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-05-04 14:31 GMT+03:00 Johan Basore <span dir="ltr"><<a href="mailto:johan_dream@hotmail.com" target="_blank">johan_dream@hotmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello everyone,

I am using videoscale and filter to resize video.
But I can't aspect fill option, just it resize video with aspect fit.
Here are my videoscale codes.

*************************
filtercaps1 = gst_caps_new_simple("video/x-raw", "width", G_TYPE_INT, 200, "height", G_TYPE_INT, 400, nil);
g_object_set(G_OBJECT (filter1), "caps", filtercaps1, nil);
gst_caps_unref(filtercaps1);
gst_element_link_many(clrspace1, videoscale1, filter1, videomixer, nil);
*************************
<img src="http://gstreamer-devel.966125.n4.nabble.com/file/n4677324/Scale.png" border="0">

        
        
        
<br><hr align="left" width="300">
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/Videoscale-aspect-fill-tp4677324.html" target="_blank">Videoscale aspect fill</a><br>
Sent from the <a href="http://gstreamer-devel.966125.n4.nabble.com/" target="_blank">GStreamer-devel mailing list archive</a> at Nabble.com.<br><br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br></div>