aspectratiocrop, videocrop and videobox is not available on iOS
Sebastian Dröge
sebastian at centricular.com
Tue Sep 15 00:13:03 PDT 2015
On Mo, 2015-09-14 at 08:31 -0700, nmrony wrote:
> Hi all, We are using gstreamer 1.5.0.1 on iOS 8.4.1.
Please use the latest version if you're using development releases
anyway, at this time 1.5.90.
> We are trying to crop a stream from 640x480 to 640x360 as follows
>
> avfvideosrc ! video/x-raw,width=640,height=480,framerate=30/1 !
> aspectratiocrop aspect-ratio=16/9 ! tee name=tp tp. ! queue !
> videoconvert ! autovideosink
>
> But GStreamer throws following error
>
> Unable to build pipeline: no element "aspectratiocrop"
>
> We have applyed videocrop and videobox in same pipeline and got same
> error message respectively. Is these elements has ported to iOS
> 8.4.1? If it is not ported is there any way to get pipeline working
> using any of these element?
These elements are ported to iOS and available on iOS. You just have to
link them into your application. For that you have to #define
GST_IOS_PLUGINS_EFFECTS
or
GST_IOS_PLUGIN_VIDEOBOX
and
GST_IOS_PLUGIN_VIDEOCROP
in your gst_ios_init.h
--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150915/720be2d5/attachment.sig>
More information about the gstreamer-devel
mailing list