Hi Brijendra,
welcome to the OOo graphics project. Before you start to develop for
impress you should start doing some basic extension and playing around
with UNO. Both is documented in the developers guide [1].
Then you should get the OOo source code and have a look at the presenter
console, which is an extension that also intercepts the slideshow
events. You find it in the sdext project under source/presenter.
The basic steps are to get the XModel for the impress document which
is an XPresentationSupplier that returns an XPresentation interface
which is also an XPresentation2 interface. After the presentation
is started the XPresentation2::getController() function gives you
an XSlideShowController which is the interface to the actual running
slideshow.
Thats the part about intercepting the slideshow events. Getting a
screenshot from the presentation should be also possible but I don't
know how this is done. Hopefully Thorsten Behrends or André Fischer
will join this discussion.
About the creation of video and sync with audio you may have
a look at http://fobs.sourceforge.net which is a java&c++ wrapper
for the ffmpeg library.
Regards,
Christian
Am 22.02.2010 14:51, schrieb brijendra kumar:
Hi,
I want to develop an extension for Impress , in which i want to create a
video of running presentation . Steps(broadly defined ) involve in this are
:
1. before start the presentation in presentor mode select the option for
creating video.
2. so this extension program will connected to open office(get remote
openoffice component context). { i actually don't know through which
function i can connect to running presentation in presentor mode.}
3. After connecting it capture the slide change event (or any other event)
and take the screen shot of the screen and record the timing of events.
4. Through another thread it record the voice of teacher.
5. After the whole presenation the is over , program ask for the creating
the video .and it create video from collected screen shots and audio file
and timing recorded. { for this i am thinking to use a open source software
, but here also i don't get how to call another program through our
program.}
This is very basic functionality of our software for which i focused first
and after that i will record the other events.
So , please suggest some direction or links from where i could get the
functions related to the above tasks. and any other improvement or if i am
lacking from some point for which currently open office don't support the
functionality .
Regards
Brijendra kumar
IIT roorkee
[1]
http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/OpenOffice.org_Developers_Guide
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]