Linux 1.01: MOV/MP4 playback broken after upgrade
Moderators: helmut, XnTriq, xnview
Linux 1.01: MOV/MP4 playback broken after upgrade
Hello!
After upgrading from XnView MP 0.99 to XnView MP 1.01 (on Ubuntu Linux), MOV/MP4 video playback broke.
With XnView MP 0.99, MOV/MP4/AVI would play fine. With XnView MP 1.01, AVI still works fine, all video thumbnails are being generated correctly in the XnView browser (MOV/MP4/AVI), and I can hear the audio. But instead of video playback, the view is black (blank).
How could I best debug/fix this?
More info:
- Version: XnView MP Linux, Version 1.01 64bits (Aug 9 2022), Libformat version 7.114
- Tools => Settings => File list => Custom filter => Video opens with XnView
- I emptied the catalog before testing
- I have installed ubuntu-restricted-extras
- MOV/MP4 video playback works fine in Celluloid, VLC, MPlayer, etc.
After upgrading from XnView MP 0.99 to XnView MP 1.01 (on Ubuntu Linux), MOV/MP4 video playback broke.
With XnView MP 0.99, MOV/MP4/AVI would play fine. With XnView MP 1.01, AVI still works fine, all video thumbnails are being generated correctly in the XnView browser (MOV/MP4/AVI), and I can hear the audio. But instead of video playback, the view is black (blank).
How could I best debug/fix this?
More info:
- Version: XnView MP Linux, Version 1.01 64bits (Aug 9 2022), Libformat version 7.114
- Tools => Settings => File list => Custom filter => Video opens with XnView
- I emptied the catalog before testing
- I have installed ubuntu-restricted-extras
- MOV/MP4 video playback works fine in Celluloid, VLC, MPlayer, etc.
Re: Linux 1.01: MOV/MP4 playback broken after upgrade
if you start xnview from console do you see error message? which linux distribution?
Pierre.
Re: Linux 1.01: MOV/MP4 playback broken after upgrade
I don't see anything specific in the console output. I've included the output as an attachment.
My Linux distribution (from /etc/lsb_release): DISTRIB_DESCRIPTION="Ubuntu 22.04.1 LTS"
My Linux distribution (from /etc/lsb_release): DISTRIB_DESCRIPTION="Ubuntu 22.04.1 LTS"
- Attachments
-
- screenlog.1.gz
- (1.63 KiB) Downloaded 53 times
Re: Linux 1.01: MOV/MP4 playback broken after upgrade
1.01 use new video engine component.
please try to install missing components
please try to install missing components
Code: Select all
apt install vainfo
Pierre.
Re: Linux 1.01: MOV/MP4 playback broken after upgrade
I read on https://wiki.archlinux.org/title/Hardwa ... celeration about LIBVA_DRIVER_NAME, and noticed that running `LIBVA_DRIVER_NAME=i965 vainfo` yielded more profiles than running just `vainfo`, which defaulted to iHD.
After running `apt purge intel-media-va-driver`, `vainfo` now defaults to i965, and video playback in XnView has been fixed
Thank you for the pointers!
After running `apt purge intel-media-va-driver`, `vainfo` now defaults to i965, and video playback in XnView has been fixed

Thank you for the pointers!
Re: Linux 1.01: MOV/MP4 playback broken after upgrade
Same problem here on OpenSuse Tumbleweed. The article for Arch doesn't help here, any ideas?
vainfo is installed but doesn't help
vainfo is installed but doesn't help
Re: Linux 1.01: MOV/MP4 playback broken after upgrade
Double checked with an older Version 1.0 64bits (Apr 29 2022) I found
On the same system, everything works fine with that version, but is is broken in 1.2 and 1.3
On the same system, everything works fine with that version, but is is broken in 1.2 and 1.3
Re: Linux 1.01: MOV/MP4 playback broken after upgrade
Please could you try:argumon wrote: Sun Sep 11, 2022 10:29 pm Double checked with an older Version 1.0 64bits (Apr 29 2022) I found
On the same system, everything works fine with that version, but is is broken in 1.2 and 1.3
- in xnview.ini, change "debug=2" in the "General" section
- start xnview from terminla
- select a video file
- send me the logs?
Pierre.
Re: Linux 1.01: MOV/MP4 playback broken after upgrade
I have two logfiles for you. Hopefully this is what you need, I ran xnview.sh > video.log.
- video.log: audio is played, but only a static green image is shown.
-video-crash.log: crashed on selecting another video
Does that help?
BTW: cannot attach the files, always getting an 'invalid file extension' error. Will try PM
- video.log: audio is played, but only a static green image is shown.
-video-crash.log: crashed on selecting another video
Does that help?
BTW: cannot attach the files, always getting an 'invalid file extension' error. Will try PM
Re: Linux 1.01: MOV/MP4 playback broken after upgrade
It should be possible to attach a file of any file format if it is placed in a ZIP or similar archive, provided the file size is less than the current forum limit of 2MiB.argumon wrote: Mon Sep 19, 2022 6:57 pm BTW: cannot attach the files, always getting an 'invalid file extension' error. Will try PM
Otherwise, as an attachment to an email to xnview at the contact address on the website home page, or post a download link to the file on a file hosting service.
Re: Linux 1.01: MOV/MP4 playback broken after upgrade
could you try EGL mode but setting env var QT_XCB_GL_INTEGRATION=xcb_egl?
Pierre.
Re: Linux 1.01: MOV/MP4 playback broken after upgrade
Yepp, that worked, many thanks!
I haved added that line to my xnview.sh
I haved added that line to my xnview.sh
Re: Linux 1.01: MOV/MP4 playback broken after upgrade
With 1.3.1 I had another issue where XNViewMP hangs, when exiting fullscreen mode. This was also fixed by adding that setting to xnview.sh (OpenSuse Tumbleweed)xnview wrote: Tue Sep 20, 2022 1:05 pm could you try EGL mode but setting env var QT_XCB_GL_INTEGRATION=xcb_egl?
Re: Linux 1.01: MOV/MP4 playback broken after upgrade
OK, though this is old, I found a solution that maybe someone will find usefull.
In my case, the crashes when playing videos were from wrong/broken libraries in OpenSuse Tumbleweed. What fixes that has been reinstalling the codes with
sudo zypper install opi
opi codecs
as described here: https://en.opensuse.org/SDB:Installing_ ... positories
In my case, the crashes when playing videos were from wrong/broken libraries in OpenSuse Tumbleweed. What fixes that has been reinstalling the codes with
sudo zypper install opi
opi codecs
as described here: https://en.opensuse.org/SDB:Installing_ ... positories