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

Glitches when using VLC playback #225

Closed
Cimbali opened this issue Nov 8, 2021 · 2 comments
Closed

Glitches when using VLC playback #225

Cimbali opened this issue Nov 8, 2021 · 2 comments
Labels

Comments

@Cimbali
Copy link
Owner

Cimbali commented Nov 8, 2021

Reported by @complanar in #212:

[T]he embedded video from the pdf file above is played (current master, pip install, Linux Mint 20.2) […]

There is [a] glitch. As soon as the video is played, there are graphic artifacts inside the content window. Sometimes they change when paused or stopped, sometimes they change on window resize or similar action.

Bildschirmfoto_2021-11-05_14-45-11

Additional version etc. info:

Info Dialog:

Media support uses GdkPixbuf gif player, GStreamer 1.16.2, VLC 3.0.9.2 Vetinari.
Python version 3.8.10 (default, Sep 28 2021, 16:10:42) [GCC 9.3.0]

Pympress Log:

INFO:pympress.app:Pympress: 1.7.0b1 ; Python: 3.8.10 ; OS: Linux 5.4.0-89-generic #100-Ubuntu SMP Fri Sep 24 14:50:10 UTC 2021 ; Gtk 3.24.20 ; GLib 2.64.2 ; Poppler 0.86.1 cairo ; Cairo 1.16.0 , pycairo 1.16.2
INFO:pympress.extras:Media support: GdkPixbuf gif player, GStreamer 1.16.2, VLC 3.0.9.2 Vetinari

[…] config reads:

[gst]
enabled = off
init_options = 
mime_types = 

[vlc]
enabled = on
init_options = --no-video-title-show,--no-xlib
mime_types = 
@Cimbali
Copy link
Owner Author

Cimbali commented Nov 16, 2021

Apparently glitching is not fixed (yet?).

A good workaround as mentioned in 227 is to use a video area that matches the video in aspect ratio. In the PDF example here, the video aspect ratio is 16:9 but the video area is 1:1.

@Cimbali Cimbali reopened this Nov 16, 2021
@Cimbali Cimbali added the bug label Nov 16, 2021
@ousia
Copy link
Contributor

ousia commented Jan 16, 2023

@Cimbali,

using Pympress-1.7.2 in Fedora 37, all glitches in VLC are gone.

Both GStreamer and VLC play video as expected (no problems with the video area).

So I think this issue might be closed.

Many thanks for the fix.

@Cimbali Cimbali closed this as completed Jan 16, 2023
smbct pushed a commit to smbct/pympress that referenced this issue Aug 4, 2023
smbct pushed a commit to smbct/pympress that referenced this issue Aug 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants