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 664140 - Add new effect: SVG Image Overlay
Add new effect: SVG Image Overlay
Status: RESOLVED OBSOLETE
Product: gnome-video-effects
Classification: Other
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: GNOME video effects maintainers
GNOME video effects maintainers
Depends on:
Blocks:
 
 
Reported: 2011-11-15 20:35 UTC by Laura Lucas Alday
Modified: 2021-07-05 12:26 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Adds 7 SVG sample files and the needed files to generate the new .effect file on install (462.34 KB, patch)
2011-11-15 21:28 UTC, Laura Lucas Alday
reviewed Details | Review
Additional sample SVG image (897.67 KB, patch)
2011-11-15 21:30 UTC, Laura Lucas Alday
none Details | Review
updated rsvgoverlay patch 1/3 (462.62 KB, patch)
2012-01-30 18:23 UTC, David King
needs-work Details | Review
updated rsvgoverlay patch 2/3 (897.67 KB, patch)
2012-01-30 18:25 UTC, David King
needs-work Details | Review
updated rsvgoverlay patch 3/3 (4.91 KB, patch)
2012-01-30 18:26 UTC, David King
needs-work Details | Review

Description Laura Lucas Alday 2011-11-15 20:35:56 UTC
Display an SVG image (that does not move) over the video.
Comment 1 Laura Lucas Alday 2011-11-15 21:28:16 UTC
Created attachment 201482 [details] [review]
Adds 7 SVG sample files and the needed files to generate the new .effect file on install

This patch includes work and corrections made by Daniel Siegel, thanks Daniel!

To show a different image, edit the svgoverlay.effect file, usually found in /usr/share/gnome-video-effects 

Sample SVG files are provided, found in /usr/share/gnome-video-effects/overlays
Comment 2 Laura Lucas Alday 2011-11-15 21:30:45 UTC
Created attachment 201483 [details] [review]
Additional sample SVG image

Additional SVG sample image, apply this patch after the first one.
Comment 3 David King 2011-11-15 22:06:18 UTC
Review of attachment 201482 [details] [review]:

It seems that although several overlay images are installed, there is only one effect file, so in Cheese only one overlay effect will be shown. Should effect files be generated for the other overlay images, so that they can also be used, or is there a better way of changing the image that is shown in the overlay?
Comment 4 daniel g. siegel 2011-11-15 22:28:39 UTC
at some point there was the idea to have configurable effect files, see #626533. as it somehow lacks of motivation, i guess it is up to you ;)
Comment 5 David King 2012-01-30 18:23:13 UTC
Created attachment 206459 [details] [review]
updated rsvgoverlay patch 1/3

I updated the patches to current master, and added .effect files for the additional images. I tried the overlays on an Atom tablet, but I could only get a framerate of about 1 frame every 10 seconds! This is far too slow to merge the overlay patches at the moment. Laura, is it expected that the performance of rsvgoverlay is this bad?
Comment 6 David King 2012-01-30 18:25:47 UTC
Created attachment 206461 [details] [review]
updated rsvgoverlay patch 2/3
Comment 7 David King 2012-01-30 18:26:20 UTC
Created attachment 206462 [details] [review]
updated rsvgoverlay patch 3/3
Comment 8 Laura Lucas Alday 2012-01-30 19:46:45 UTC
> the overlay patches at the moment. Laura, is it expected that the performance
> of rsvgoverlay is this bad?

No, it's not expected, but I saw problems in performance with some of the svg overlays provided, while others worked faster, for example compare frame_kiss.svg with frame_wanted.svg, the latter has performance problems. So, to a certain point it depends on the svg file. But I've seen acceptable frame rates with the simpler svg files.

I would include only one effect to be displayed in the effects selector, because when displaying several previews at the same time with svg overlays, the problem worsens (please confirm this, I'm not testing at the moment, just telling what I remember, my theory is that the svg file is redrawn every frame). Then it would depend on the user to change the svg image, maybe add a simple entry in a right-click contextual menu over the effect preview that simply opens the .effect file in gedit?
Comment 9 GNOME Infrastructure Team 2021-07-05 12:26:33 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/gnome-video-effects/-/issues/

Thank you for your understanding and your help.