(no subject)

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

(no subject)

Abhishek Gupta
Hi,

I want to make a GStreamer application which takes a xml file process its content which provides information like image url, its weight and the duration for which it is going to be displayed on the screen.

The xml file can be clearly processed in C using libxml. But how can we create a slideshow of the images using the GStreamer libraries. I want to use GStreamer because the hardware and the SDK I am using provide native support for GStreamer.

Are there any GStreamer plugins to do the same. Or how else can be done. I know GStreamer basics after reading the complete manual_for_developers and can write code in C for GStreamer application.


--
Cheers
Abhishek

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: (no subject)

Sandeep Prakash
Hi,

You can use the image freeze plugin to accomplish the slideshow part. For Eg.

gst-launch filesrc location=<PNG/JPG File> ! decodebin2 ! imagefreeze ! xvimagesink

Instead of filesrc you can use
1. multifilesrc: If you are sure the images have the same prefix name.
2. appsrc: In case you will feed the PNG/JPG buffers after reading them from file.


Keeping this in mind, its up to you how you will process the XML file and build pipelines out of the data
from parsing the XML.

Regards,
Sandeep Prakash
http://sandeepprakash.homeip.net