Coder Social home page Coder Social logo

Comments (14)

gbaier avatar gbaier commented on August 17, 2024 2

Sorry for hijacking this issue. I had the same problem using fedora 28. Though the minmal working example did not work for me. The problem was that fedora uses Wayland instead of X11. The solution was simply to launch pympress the following way:

GDK_BACKEND=x11 pympress test.pdf

from pympress.

Cimbali avatar Cimbali commented on August 17, 2024

Hi @jpezaris, can you provide also your vlc version?

from pympress.

jpezaris avatar jpezaris commented on August 17, 2024

from pympress.

Cimbali avatar Cimbali commented on August 17, 2024

Alright well there should be some error message somewhere. Maybe we don't manage to catch it because it's outside of python (e.g. VLC or Gtk).
Can you run pympress from a console in the following way, and tell me if there's anything error messages that are printed?

python3 -m pympress <file.pdf>

from pympress.

jpezaris avatar jpezaris commented on August 17, 2024

from pympress.

Cimbali avatar Cimbali commented on August 17, 2024

Even when playing the VLC embed? Can you copy the sources of the beamer file?

from pympress.

jpezaris avatar jpezaris commented on August 17, 2024

from pympress.

Cimbali avatar Cimbali commented on August 17, 2024

So no messages at all when the movie is clicked? Also what beamer package do you use to include the video? Could you share the sources of a minimal compilable latex file here?

from pympress.

complanar avatar complanar commented on August 17, 2024

Sounds like you use the external option of the media package in your .tex file

from pympress.

jpezaris avatar jpezaris commented on August 17, 2024

from pympress.

Cimbali avatar Cimbali commented on August 17, 2024

Alright that seems to be a link to open the file in its default program, which we do correctly.

Try this:

\documentclass[10pt]{beamer}
\usetheme{Warsaw}
\usepackage{multimedia}

\begin{document}
   \begin{frame}[plain]
      \movie[height=.2\textwidth]{\includegraphics[height=.2\textwidth]{test.jpg}}{test.mp4}%
   \end{frame}
\end{document}

from pympress.

jpezaris avatar jpezaris commented on August 17, 2024

from pympress.

Cimbali avatar Cimbali commented on August 17, 2024

Alright, that's a different issue. Only with notes on second screen it appears.

from pympress.

leon-erd avatar leon-erd commented on August 17, 2024

@gbaier Thank you so much! That was exactly my problem running pympress under xwayland fixed it for me as well!
Is there any chance to make the internal video player also work on wayland? :)
Great project tho

from pympress.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.