Help with rsvgoverlay plugin

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Help with rsvgoverlay plugin

ravi.modha
Hello All,

I am a newbie in the GStreamer and I have a requirement to use rsvgoverlay but I am getting an example of how to send SVG data at the runtime in the pipeline. 

Can someone help me or give me an example of it, please.

--
Thanks & Regards,

Ravi Modha

      
<a href="callto:+91%2020%204674%200881" style="color:rgb(17,85,204)" target="_blank">+91 20 4674 0881 | <a href="callto:+1%20408%20216%208162" style="color:rgb(17,85,204)" target="_blank">+1 408 216 8162

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Help with rsvgoverlay plugin

Olivier Aubert
Hi

You have multiple options, as documented on
https://thiblahute.pages.gitlab.gnome.org/gnome-devel-docs/rsvg-1.0/rsvgoverlay.html

You can either set the data property of the rsvgoverlay element to the
SVG code you want to display (for dynamically generated svg), or set
the location property to the filename of the svg file you want to
display. You can also feed the svg data to the data_sink pad.

I join a python example, where a dynamically generated svg is updated
every second.

Olivier


 On Fri, 2020-05-22 at 19:08 +0530, Ravi Modha wrote:

> Hello All,
>
> I am a newbie in the GStreamer and I have a requirement to use rsvgoverlay but I am getting an example of how to send SVG data at the runtime in the pipeline.
>
> Can someone help me or give me an example of it, please.
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

gst-svg.py (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Help with rsvgoverlay plugin

Stephenwei
In reply to this post by ravi.modha
Hi,
you can see Element of rsvgoverlay

Element Properties:
  data                : SVG data.
                        flags: 可寫
                        String. Default: "" Write only


follow svg format https://en.wikipedia.org/wiki/Scalable_Vector_Graphics
<svg>
bra bra bra
</svg>





--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Help with rsvgoverlay plugin

ravi.modha
In reply to this post by Olivier Aubert
Hey Olivier,

Thanks for the reply. Can you please help me, how do I feed the data to the
data_sink pad. As I never used GStreamer before, if you can help me here to
understand how to feed the data to the data_sink pad, it will be very
helpful.

Thanks,



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel