GNOME Bugzilla – Bug 601277
patch for gloverlay
Last modified: 2010-02-09 11:20:40 UTC
Created attachment 147284 [details] [review] patch for gloverlay i have added a new patch to gloverlay which allow you to rotate all texture. At the moment only axis y is managed. Above an example on how to use the new version of gloverlay gst-launch-0.10 -v videotestsrc ! glupload ! gloverlay location=Image.png proportion-png=40 proportion-video=40 xpos-png=75 ypos-png=50 xpos-video=30 ypos-video=50 rotate-png=2 rotate-video=2 angle-png=-15 angle-video=15 ! gldownload ! videoscale ! "video/x-raw-yuv, format=(fourcc)I420, framerate=(fraction)25/1, width=(int)1024, height=(int)768, pixel-aspect-ratio=(fraction)1/1" ! xvimagesink sync=false Image is your png. The png can be RGB or RGBA. Anthony
Just a note, (even if I do not understand why you need a gldownload here) here you do not need the videoscale for sure: gst-launch-0.10 videotestsrc ! glupload ! gleffects effect=2 ! gldownload ! "video/x-raw-yuv, format=(fourcc)I420, framerate=(fraction)25/1, width=(int)1024, height=(int)768, pixel-aspect-ratio=(fraction)1/1" ! xvimagesink sync=false -> gldownload does the job for you. Anyway, thx for the patch, we will review it asap.
ok Thx for this info.
commit b195d9d080f0410478df5bb39eec2cd7cdc39d0d Author: Anthony Violo <anthony.violo@ubicast.eu> Date: Mon Nov 16 14:32:16 2009 +0100 gloverlay: Added rotate texture fix #601277