Linux 1.01: MOV/MP4 playback broken after upgrade
Moderators: XnTriq, helmut, xnview
-
- Posts: 3
- Joined: Wed Aug 17, 2022 7:34 am
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.
-
- Author of XnView
- Posts: 39392
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
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.
-
- Posts: 3
- Joined: Wed Aug 17, 2022 7:34 am
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"
You do not have the required permissions to view the files attached to this post.
-
- Author of XnView
- Posts: 39392
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
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.
-
- Posts: 3
- Joined: Wed Aug 17, 2022 7:34 am
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!
-
- Posts: 11
- Joined: Sun Mar 10, 2013 9:02 pm
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
-
- Posts: 11
- Joined: Sun Mar 10, 2013 9:02 pm
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
-
- Author of XnView
- Posts: 39392
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Linux 1.01: MOV/MP4 playback broken after upgrade
Please could you try:
- in xnview.ini, change "debug=2" in the "General" section
- start xnview from terminla
- select a video file
- send me the logs?
Pierre.
-
- Posts: 11
- Joined: Sun Mar 10, 2013 9:02 pm
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
-
- XnThusiast
- Posts: 3577
- Joined: Sun Apr 29, 2012 9:45 am
- Location: Cheltenham, U.K.
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.
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.
-
- Author of XnView
- Posts: 39392
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
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.
-
- Posts: 11
- Joined: Sun Mar 10, 2013 9:02 pm
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
-
- Posts: 11
- Joined: Sun Mar 10, 2013 9:02 pm