Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Impress don't insert a video #20

Closed
Lvaskz opened this issue Feb 24, 2018 · 6 comments
Closed

Impress don't insert a video #20

Lvaskz opened this issue Feb 24, 2018 · 6 comments

Comments

@Lvaskz
Copy link

Lvaskz commented Feb 24, 2018

Libreoffice Impress load the video but can not to reproduce it

@stbergmann
Copy link
Collaborator

I cannot reproduce your problem, with current LO 6.0.1 flatpak running on Fedora 27/GNOME. Downloaded http://downloads.xiph.org/video/A_Digital_Media_Primer_For_Geeks-360p.webm, then in LO Impress inserted it on a slide (via "Insert - Audio or Video..."). Playback works, and still works after saving and re-opening the .odp document (and also works in full-screen slide show mode).
Please be more precise what exactly does not work for you, in which environment.

@Lvaskz
Copy link
Author

Lvaskz commented Feb 26, 2018

Greetings, I'm in linuxmint 18.3, 64 bits, cinnamon. I tried to insert a video with mp4 extension on a slide. The fact is that it inserts it, but as an audio, you can not visualize the video, but the audio. I did the test with libreoffice appimage and it did not present any problem, the video is loaded and it plays well.

@stbergmann
Copy link
Collaborator

Indeed. Downloaded http://techslides.com/demos/sample-videos/small.mp4. After installing gstreamer1-libav-1.12.4-1.fc27.x86_64 from rpmfusion.org, the "repo-native" LO in Fedora 27 played the video. But the flatpak'ed LO shows just an audio icon.
I assume what is available on the host is irrelevant, and the flatpak just has available what is packaged in the underlying org.gnome.Platform runtime.

@nedrichards
Copy link
Member

Right, if you want mp4 support, then it needs to be visible inside the sandbox. I know that there's talk of adding the newly 'freed' aac codec to the standard set and there may be some work on h.264. @ramcq is the best plugged in here.

@ramcq
Copy link
Contributor

ramcq commented Feb 26, 2018

Discussed on IRC - H.264 and AAC are present in the Platform.ffmpeg extension, but the platform doesn't ship gst-libav. Perhaps it should - ITMT, @stbergmann needs something like https://github.com/flathub/org.pitivi.Pitivi/blob/master/org.pitivi.Pitivi.json#L447-L459

stbergmann added a commit that referenced this issue Feb 27, 2018
See <#20> "Impress
don't insert a video" for details, esp. "H.264 and AAC are present in the
Platform.ffmpeg extension, but the platform doesn't ship gst-libav. Perhaps it
should - ITMT, @stbergmann needs something like [...]"

This copies the way to bundle gst-libav from current
<https://github.com/flathub/org.pitivi.Pitivi/blob/
bdaf0c7d12640f70aa250f011e6887e88b21cdad/org.pitivi.Pitivi.json#L447-L459>.

Building that gst-libav-1.12.4 against org.gnome.Sdk//2.24 would fail because
that contains a too-old gstreamer.  One solution might have been to also bundle
a newer gstreamer (as Pitivi apparently does), another might have been to bundle
an older gst-libav (but bundling anything but the latest might have security
implications), so I chose to instead bump the runtime to 2.26 (see previous
commit "Bump runtime-version to org.gnome.Platform 3.26").
@stbergmann
Copy link
Collaborator

seen working in LO 6.0.2 flatpak

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants