Bug 105093 - ODF export to PDF, embedded video is not handled
Summary: ODF export to PDF, embedded video is not handled
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Miklos Vajna
QA Contact:
URL:
Whiteboard: target:5.4.0
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-04 10:10 UTC by Miklos Vajna
Modified: 2017-01-05 15:35 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
Minimal reproducer (206.18 KB, application/vnd.oasis.opendocument.presentation)
2017-01-04 10:10 UTC, Miklos Vajna
Details
Minimal PDF (192.04 KB, application/pdf)
2017-01-04 10:11 UTC, Miklos Vajna
Details
Impress bugdoc with presentation:class="object" (211.25 KB, application/vnd.oasis.opendocument.presentation)
2017-01-04 16:31 UTC, Miklos Vajna
Details
Writer reproducer. (203.75 KB, application/vnd.oasis.opendocument.text)
2017-01-05 09:18 UTC, Miklos Vajna
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Miklos Vajna 2017-01-04 10:10:02 UTC
Created attachment 130143 [details]
Minimal reproducer

This is a follow-up of bug 104841. The difference is that in this case the bugdoc contains an embedded video, not a linked one.
Comment 1 Miklos Vajna 2017-01-04 10:11:31 UTC
Created attachment 130144 [details]
Minimal PDF

Minimal manually constructed PDF, run it through 'pdftk in.pdf output out.pdf' to add the somewhat redundant, but needed file offsets at the end of the file.

PDF export should produce something like this.
Comment 2 Commit Notification 2017-01-04 16:28:21 UTC
Miklos Vajna committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=4ad249af88d15f2c8a09f0721a59d82718fcc201

tdf#105093 sd PDF export: handle embedded videos

It will be available in 5.4.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 3 Miklos Vajna 2017-01-04 16:31:20 UTC
Created attachment 130152 [details]
Impress bugdoc with presentation:class="object"

In case the <draw:frame> element has a presentation:class="object" attribute, then the video is still not exported.
Comment 4 Commit Notification 2017-01-05 09:00:15 UTC
Miklos Vajna committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=64d80d22851a38eb3f320f4e2b2bdf875da4d8b4

Related: tdf#105093 sd PDF export: handle css.presentation.MediaShape as well

It will be available in 5.4.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 5 Miklos Vajna 2017-01-05 09:18:23 UTC
Created attachment 130164 [details]
Writer reproducer.

While embedded videos now work in Impress, they are still missing in Writer.
Comment 6 Commit Notification 2017-01-05 15:35:30 UTC
Miklos Vajna committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=46153bdcf2f89e88607dfb0dd0003108796424e9

Related: tdf#105093 sw PDF export: handle embedded videos

It will be available in 5.4.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.