Since I updated to LEAP 15.4 mp4 files are not playing in gwenview any more. Up to 15.3 this was working fine. Strange enough it works when I run it under superuser, only without sound. I use KDE.
Have you switched to Packman?
Are this gstreamer packages installed:
zypper se -si gstreamer-*-codecs
Repository-Daten werden geladen...
Installierte Pakete werden gelesen...
S | Name | Type | Version | Arch | Repository
---+-------------------------------+-------+------------------+--------+-------------------
i+ | gstreamer-plugins-bad-codecs | Paket | 1.20.1-pm154.2.1 | x86_64 | Packman Repository
i+ | gstreamer-plugins-ugly-codecs | Paket | 1.20.1-pm154.1.1 | x86_64 | Packman Repository
Yes, I have
**linux-esfs:~ #** zypper se -si gstreamer*codecs
Loading repository data...
Reading installed packages...
S | Name | Type | Version | Arch | Repository
---+-------------------------------+---------+------------------+--------+-------------------
i+ | gstreamer-plugins-bad-codecs | package | 1.20.1-pm154.2.1 | x86_64 | Packman Repository
i+ | gstreamer-plugins-ugly-codecs | package | 1.20.1-pm154.1.1 | x86_64 | Packman Repository
Have you tried to download something new mp4 from youtube or so and does that play?
I can play mp4 files with VLC, only gwenview is making problems.
When I type gwenview . I get the following output:
linux> gwenview .
org.kde.kdegraphics.gwenview.lib: Unresolved mime type "image/x-mng"
org.kde.kdegraphics.gwenview.lib: Unresolved raw mime type "image/x-nikon-nrw
"
org.kde.kdegraphics.gwenview.lib: Unresolved raw mime type "image/x-samsung-s
rw"
Qt: Session management error: networkIdsList argument is NULL
Could not find video stream
Could not find video stream
Could not find video stream
Could not find video stream
Could not find video stream
Could not find video stream
Could not find video stream
Could not find video stream
Could not find video stream
Could not find video stream
Could not find video stream
Could not find video stream
Could not find video stream
Could not find video stream
Could not find video stream
Could not find video stream
Could not find video stream
Could not find video stream
Could not find video stream
Could not find video stream
When I then click on an mp4 file and the start button I get
** **Message**: 15:13:50.512: PackageKit: xid = 109051911
** **Message**: 15:13:50.512: PackageKit: desktop_id = (null)
** **Message**: 15:13:50.512: PackageKit: Codec nice name: H.264 (High 4:2:2 Profi
le) decoder
** **Message**: 15:13:50.512: PackageKit: ignoring field named level
** **Message**: 15:13:50.512: PackageKit: ignoring field named profile
** **Message**: 15:13:50.512: PackageKit: ignoring field named chroma-format
** **Message**: 15:13:50.512: PackageKit: ignoring field named bit-depth-luma
** **Message**: 15:13:50.512: PackageKit: ignoring field named bit-depth-chroma
** **Message**: 15:13:50.512: PackageKit: ignoring field named colorimetry
** **Message**: 15:13:50.512: PackageKit: structure: gstreamer1(decoder-video/x-h2
64)()(64bit)
** **Message**: 15:13:50.520: PackageKit: Did not install codec: GDBus.Error:org.f
reedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PackageKit was
not provided by any .service files
I dug a bit further. First I deinstalled PackageKit-gstreamer-plugin to see better what happens. I then get as messages
libva info: VA-API version 1.13.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_13
libva info: va_openDriver() returns 0
The library exits and as I said, all works fine as superuser. The Gwenview settings are identical for me and for su. Also in both cases it says that the file is played with vlc and if I play it directly with vls it works as well.
Post:
ls -al /path/to/the/mp4/name.mp4
and as user:
id
Here it is:
linux> ls -al STC_0134.mp4
-rw-r--r-- 1 nnnnn users 47223345 Jul 16 15:11 STC_0134.mp4
linux> id
uid=1000(nnnnn) gid=100(users) groups=100(users)
Hi all !
I was having similar issue, mp4 are displayed as black screen in gwenview. Also Phonon plugin is not shown in kde settings. However, I solved the issue by installing:
sudo zypper install gstreamer-*-codecs phonon4qt5-backend-vlc
zypper remove phonon4qt5-backend-gstreamer
hope this helps !
Thanks a lot! This solved it for me as well.
Helps with Tumbleweed too!
Yes Thanks a Lot !, it worked !