After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 601277 - patch for gloverlay
patch for gloverlay
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-gl
git master
Other Linux
: Normal normal
: 0.10.2
Assigned To: Filippo Argiolas
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-11-09 16:39 UTC by anthony
Modified: 2010-02-09 11:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch for gloverlay (21.70 KB, patch)
2009-11-09 16:39 UTC, anthony
none Details | Review

Description anthony 2009-11-09 16:39:02 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
Comment 1 Julien Isorce 2009-11-09 22:46:07 UTC
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.
Comment 2 anthony 2009-11-10 10:19:01 UTC
ok
Thx for this info.
Comment 3 Julien Isorce 2009-11-16 13:32:33 UTC
commit b195d9d080f0410478df5bb39eec2cd7cdc39d0d                                                           
Author: Anthony Violo <anthony.violo@ubicast.eu>                                                          
Date:   Mon Nov 16 14:32:16 2009 +0100                                                                    

    gloverlay: Added rotate texture
                                   
    fix #601277