Bug 34959 - Export/convert presentation to video
Summary: Export/convert presentation to video
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: high enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 40220 86698 124890 127685 Video-Export 134856 136887 137870 152066 155461 (view as bug list)
Depends on:
Blocks: Presentation-Export
  Show dependency treegraph
 
Reported: 2011-03-02 22:42 UTC by sasha.libreoffice
Modified: 2024-03-06 14:53 UTC (History)
26 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sasha.libreoffice 2011-03-02 22:42:53 UTC
Often I must demonstrate presentations in other organizations using projector. I use presentations created by myself or other people. But while demonstration often arise some problems: no computer, only videoplayer, no office, office wrong vendor or version. 
To solve this problem I convert presentation to video. On Linux it is simply: start ffmpeg with options to grab screen and sound into file. Then start presentation. After end of presentation stop ffmpeg and convert video to appropriate format using the same ffmpeg.
My be function of converting presentation to video my be implemented in Impress. And users can automatically convert their presentations to video. It is no need to implement it on all platforms at first time.
Comment 1 Cédric Bosdonnat 2011-03-03 03:03:39 UTC
you could perform a screencast may be? That feature may not be easy to implement.

Thorsten, Radek, any idea?
Comment 2 Thorsten Behrens (allotropia) 2011-03-03 07:35:37 UTC
I think we even had that as one of the GSoC proposals - it's mostly just integrating / nicely offering existing functionality - but yeah, would be cool.
Comment 3 Björn Michaelsen 2011-12-23 11:51:27 UTC Comment hidden (obsolete)
Comment 4 sasha.libreoffice 2012-03-29 01:02:32 UTC
*** Bug 40220 has been marked as a duplicate of this bug. ***
Comment 5 Tom Williams 2012-06-06 11:46:09 UTC
I would also like to see this feature.  Currently, LibreOffice has the capability of exporting a slideshow or presentation to Macromedia Shockwave Flash format and having the ability to export to Theora, H.264, WebM, and possibly WMV or AVI formats would be great.  Maybe ffmpeg could be used to help with the conversion?  ffmpeg runs on Linux, Unix, Windows, and Mac OS X I believe.

In any event, I also vote for this adding this functionality.
Comment 6 Tristan Miller 2012-08-15 18:55:51 UTC
Confirming feature is still missing from LibreOffice 3.6.0.4.
Comment 7 Bastián Díaz 2013-02-25 02:04:46 UTC
It could be a very interesting feature. Could focus initially export the video in a single format (WebM), with or without audio through narratives (opus) or music (vorbis).

This would serve to:
→ Upload presentations to websites (blogs, youtube, etc.)
→ Upload presentations (professorships) to educational platforms
→ Share or exchange presentations with users who do not use LibreOffice
→ Create photo albums to share with family or colleagues after finishing a project
→ etc.

* I read in other comments use ffmpeg for this function, however, I read that gstreamer is also cross-platform, and very versatile and is based on plugins. I'm not a developer, but it could be a very good choice, and lower in GNU / Linux.

thanks
Comment 8 Gerry 2013-05-01 19:06:34 UTC
Like Sasha explained the enhancement in the bug description, I would rather suggest to export the presentation to PDF or to the (still experimental?) SVG+SMIL format, and not to a video format. A video format only makes sense when the exact timing of the presentation is clear and set in the slide transitions.

However, I see two use cases where video export makes enormous sense:

(1) In case one prepares self-running presentations (like product presentations on trade fairs where presentation is shown 1xx times a day), it makes absolute sense to have the possibility to export to video formats.

(2) In case the presentation is presented and shall be recorded. In this case, Powerpoint allows to create a video of (a) the slides and (b) the voice of the presenter. This is IMHO a very important use case.
Comment 9 Thorsten Behrens (allotropia) 2013-05-02 13:50:50 UTC
(In reply to comment #8)
> (2) In case the presentation is presented and shall be recorded. In this
> case, Powerpoint allows to create a video of (a) the slides and (b) the
> voice of the presenter. This is IMHO a very important use case.
>
Yup. I think this is what this bug is about.
Comment 10 Zeki Bildirici 2013-08-02 12:18:44 UTC
(In reply to comment #7)
Hi,

I have been trying to find a proper workaround for 3 years... Used recordmydesktop, but it misses frames and some image corruptions...

Having this feature will be great! Uploading slideshows and presentations to youtube is very popular thing among users. Also narration is always asked by user forums... 

Having a video output may also help, When you face the basic lacks of video editors and the limits of Impress(especially multimedia), this combination will create great things and Impress will be a greater tool!

> → Can lead to create more powerful&professional presentations with video editors (Kdenlive openshot, blender etc) 

If it takes too much manpower to create this feature, we can start a crowd-funding project to have this feature. 

Best regards,
Comment 11 Yousuf Philips (jay) (retired) 2015-03-04 09:38:17 UTC
Powerpoint exports to microsoft's proprietary WMV format and LibreOffice should export to open source formats like mkv, ogv and webm, but in order to do so, it would have to bundle an encoder along with it.

It would be nice to know if this was already done as a GSoC as thorsten mentioned in comment 2, else it should be added as a GSoC.

I believe the simplest first approach to solving this problem is to export to the avi format, which is well documented, using the already built in JPG encoding found LibreOffice. The video file would not contain audio and simply store compressed JPG images of the presentation sequence frames, leaving a 5 second gap between slides as videos dont have mouse click functionality.

Storing jpgs in an AVI is quite popular used with digital cameras by setting the video codec to MJPEG ( https://en.wikipedia.org/wiki/Motion_JPEG ). Users would then be able to convert the video to another format if they choose.

I had recently corresponded with a twitter user who wanted to have this functionality. https://twitter.com/meneer/status/572894833389527042
Comment 12 Zeki Bildirici 2015-03-04 10:26:36 UTC
(In reply to Jay Philips from comment #11)
> Powerpoint exports to microsoft's proprietary WMV format and LibreOffice
> should export to open source formats like mkv, ogv and webm, but in order to
> do so, it would have to bundle an encoder along with it.
> 
> It would be nice to know if this was already done as a GSoC as thorsten
> mentioned in comment 2, else it should be added as a GSoC.

Hi Jay, 

Thanks for bringing this subject back. I wish so and i think it is not added before https://wiki.documentfoundation.org/Development/GSoC/Ideas 

> I believe the simplest first approach to solving this problem is to export
> to the avi format, which is well documented, using the already built in JPG
> encoding found LibreOffice. The video file would not contain audio and
> simply store compressed JPG images of the presentation sequence frames,
> leaving a 5 second gap between slides as videos dont have mouse click
> functionality.

This won't help i think. No audio, animations and transistions will not perform good, so that won't be MULTIMEDIA. I tried it manually, exported slides as jpegs (see: https://bugs.documentfoundation.org/show_bug.cgi?id=67614) converting them via video editor etc... but this is ends with a slideshow, rather than a 'Prensentation'. 

Currently, you can create good presentations (some major features like narration is absent but it is still ok) but you experience interoperability issues LibreOffice to Ms Office even LibreOffice on Linux to LibreOffice on Windows in terms of Impress.

Exporting a presentation to a video is the best way to avoid them. Which most of Impress users struggled and found this way with no success. I guess the the guy on twitter wants this feature for this reasons.

> I had recently corresponded with a twitter user who wanted to have this
> functionality. https://twitter.com/meneer/status/572894833389527042

As i said above, if it is not added/accepted to GSoC, we can raise crowdfund on https://freedomsponsors.org/project/149/LibreOffice#/LibreOffice or somewhere else.

Best regards,
Zeki
Comment 13 Yousuf Philips (jay) (retired) 2015-03-05 04:05:24 UTC
Hi Zeki,

(In reply to Zeki Bildirici from comment #12)
> This won't help i think. No audio, animations and transistions will not
> perform good, so that won't be MULTIMEDIA. I tried it manually, exported
> slides as jpegs (see:
> https://bugs.documentfoundation.org/show_bug.cgi?id=67614) converting them
> via video editor etc... but this is ends with a slideshow, rather than a
> 'Prensentation'. 

My suggestion was to begin saving to video without audio, as saving uncompressed audio in an AVI file would cause the file to be huge because i believe LO doesnt have an inbuilt means of compressing it. But my suggestion did included the saving of animations and transitions. I guess you may have misunderstood "simply store compressed JPG images of the presentation sequence frames", where frames did not mean slides but frames of the presentation animation.
Comment 14 Cor Nouws 2019-03-16 09:54:47 UTC
*** Bug 86698 has been marked as a duplicate of this bug. ***
Comment 15 Mark Hung 2019-04-27 05:20:51 UTC
*** Bug 124890 has been marked as a duplicate of this bug. ***
Comment 16 PETROPHYSICS Pty Ltd 2019-09-12 07:21:18 UTC Comment hidden (spam)
Comment 17 V Stuart Foote 2019-09-21 16:36:08 UTC
*** Bug 127685 has been marked as a duplicate of this bug. ***
Comment 18 paulystefan 2019-12-09 23:28:21 UTC Comment hidden (obsolete)
Comment 19 Tristan Miller 2019-12-10 20:28:09 UTC
(In reply to paulystefan from comment #18)
> workaround 
> 
> export slides as images with extension "export as image 0.9.3"
> 
> than you can make a film with a simple film editor.

Presumably this workaround does not preserve things like animations and slide transitions.
Comment 20 MBB 2020-03-06 21:41:30 UTC
It is a question that sometimes pops up at the ask.libreoffice.org and other fora.
 A search on Youtube shows this to be a very popular use, with many tutorial videos on how to record presentations. 
 An issue to simplify the process would be a way to start and stop the recording software at the same time as the presentation plays. 
 Using a third-party program for side features is not new for LO as it also uses the Thunderbird address book for mailing list letters. 
 

 A multiplatform Opensource (GPL2) program named OBS Studio has become the standard for recording, and supports enhancement by plug-ins. Originally intended for webcam recording/streaming it also allows recording of the desktop and other input streams. 
 
 I think it could be a good idea to use its wide capacity for recording to export Impress presentations to video, preferably by projecting directly to OSB. 
 For this it would need either by a plugin for LibreOffice, for OBS or for both. 
 
 It could be a plugin/extension in LO Impress that calls OSB and tells it to start/stop recording. (With maybe a template for OBS to get window name and video size parameters?)

 Or an OBSstudio plugin where you select the presentation and then runs LibreOffice from the command line (to a virtual screen for recording?)
 
 
 I am not a programmer, but  I imagine the the GUI/program would look a bit like this:
 ====
 Select video size [get from Presentation (default checkbox) / Set manual 
 
 Set export directory
  - Same as presentation
  - OBS default
  - set manual
  
 Split each projection into separate video [yes/no checkbox]
 Offer presentation options
	audio yes/no?
	comments yes/no?

Record webcam/audio for presentation (in a different stream)

Select Record speed (CPU use): Fastest/RealTime/Background
	
 > StartRecord + StartPlayImpress
----- 
 
 Links to hopefully helpful information: 
 
 Example of howto-video OBS+LO Impress https://www.youtube.com/watch?v=9AKhr8wrXvY

OBS Plugin API Documentation
https://github.com/jp9000/OBS/wiki/OBS-Plugin-API-Documentation
 
 OBS Core API Reference¶
https://obsproject.com/docs/reference-core.html
 
 obs-websocket - Remote control of OBS Studio made easy 4.7.0
https://obsproject.com/forum/resources/obs-websocket-remote-control-of-obs-studio-made-easy.466/

Welcome to OBS Studio’s documentation!¶
https://obsproject.com/docs/

https://obsproject.com/wiki/Launch-Parameters
Comment 21 Buovjaga 2020-09-19 08:48:16 UTC
*** Bug 136887 has been marked as a duplicate of this bug. ***
Comment 22 V Stuart Foote 2020-10-30 13:38:52 UTC
*** Bug 137870 has been marked as a duplicate of this bug. ***
Comment 23 Buovjaga 2020-10-31 06:44:03 UTC
*** Bug 136887 has been marked as a duplicate of this bug. ***
Comment 24 raal 2020-11-25 20:35:27 UTC
*** Bug 129637 has been marked as a duplicate of this bug. ***
Comment 25 Timur 2020-11-26 06:26:01 UTC
*** Bug 134856 has been marked as a duplicate of this bug. ***
Comment 26 paulystefan 2021-05-17 16:00:52 UTC
The alternative is recording the screen with videos and animation and audio.

An open-source alternative is 

https://camstudio.org/

CamStudio.

A more actual software for screen recording with more possibilities is 

https://www.nchsoftware.com/capture/index.html

free for private users.

Conversion of video format to preferred is with other software possible.
https://listoffreeware.com/free-open-source-video-converter-software-windows/#:~:text=%2010%20Best%20Free%20Open%20Source%20Video%20Converter,a%20free%20open%20source%20video%20converter...%20More%20
Comment 27 Heiko Tietze 2022-11-17 08:06:08 UTC
*** Bug 152066 has been marked as a duplicate of this bug. ***
Comment 28 Jean-Michel COSTE 2022-12-02 17:51:12 UTC
I need so !
Very useful feature...
Comment 29 V Stuart Foote 2023-05-23 23:23:02 UTC
*** Bug 155461 has been marked as a duplicate of this bug. ***
Comment 30 aplatypus 2024-03-06 14:53:23 UTC
Hello, I'm also looking for this same functionality.  Allow me to start that YES this is something that is possible and practical, Microsoft's PowerPoint provies this functionality.  See:

  * [Turn your presentation into a video](https://support.microsoft.com/en-au/office/turn-your-presentation-into-a-video-c140551f-cb37-4818-b5d4-3e30815c3e83)

As far as I can see they have "solutions" for the key objections that most posts on this are spouting.  Having said that, I think there are a few different ways for a "solution" for this behaviour.  It doesn't have to be an 'Export' function or ape how Competitive applications (see caveat below).

So exporting a video coult be ...

 1. An addin/plugin/extension
    * There is an old OpenOffice extension that does (or did) this.
 2. External tool to generate a video format from the slide deck.
    * Some kind of script to (bash, python, javascript, etc)
 3. Built-in Export for the File menu (as in PowerPoint)
 4. Some(???) kind of video streaming from an auto-run job.  Say video capture of the display all slides

On item #2, I'd like something like that so I can just drop an Impress deck onto or input to a script/command and generate the video -- Set and forget so to speak.

And I am sure there are better methods possible.  One does wonder how PowerPoint achieves this outcome.

It seems that something like MKV or MP4 represent a common enough format to something lik Macromedia format; I also wonder if the Handbrake command line can take Macromedia files and generate MKV-s ???

I also feel that a video format that can be streamed, generated from a slide-deck would be a great 'feature' for people to communicat their materials.

I expect the 'better' solutions will allow each slide or a group of slides to have their own audio track.  For example your "group of slides" might be the whole deck, so you need to provide a sound track along with the 'first' slide.  Or, an audio rack might be specified for the "first" slide in group.  These are things that can be refined over time, once the overall functionality is agreed.

I see a lot of technical comments on how a thing is possible.  For me, I like to get the behaviour settled first.  Also I'm  quite lazy.  If we can already generate a deck of images (e.g JPEG) from the slides, a video is just the process of linking them in sequence and adding decorations like a soundtrack, narration and timing.  There are already solutions for timing and timing paths.

One last thing; so far there are many comments.  It it yet time to put together a RFC so that the core functionality is well understood, then it will be a matter of how to provide the specified behaviours on each platfom (including the 'common' core activity).

Good luck to all ... 

Caveat:

Since PowerPoint provides this feature, it is probably good of LibreOffice 'credibility' that what ever answer is arrived at ... This should also hook to the Export menu so that is appears to work like the PowerPoint menu.  I think that's just being "user nice".  So that people comeing from PowerPoint have a process that they already 'know how to do'.