I am using KDE
My openSuse does not open videos.
I did everything indicated in
Thread: Multimedia Guide for openSUSE Leap 15.1
What else should I do?
What exactly happens when you double-click the video file?
Does VLC open (the VideoLAN Player)? If not VLC, what program opens instead?
What kind of video file do you try to play? MP4? AAC? Ogg-Vorbis? Matroska? Quicktime? H.264? WebM?
If you are unsure, install the »mediainfo« package using YaST’s software management module (or zypper, if the command line is your thing). Then, right-click the movie file and select »Open with… MediaInfo«. The exact encoding of any audio and/or video streams will be shown, and you will need to install decoders for those stream encodings.
You can also run your system log alongside in a terminal, in order to catch any underlying errors like those of the graphics drivers etc. Here’s what I use:
tail -f ~/.xsession-errors /var/log/Xorg.0.log & journalctl -f
This command shows the log of the display server, of your graphical session and the system log simultaneously.
Paste any suspicious messages that appear while opening your video files; please surround the pasted lines with CODE tags to keep the formatting (see the »#« symbol in the comment editor).
To play videos I already tried using kafeine, VLC, mpv Media Player. No one opens a console for viewing video, exccept SMPlayer, but there is no display.
SMPlayer displays a warning with the text below:
/usr/bin/mpv --no-config --no-quiet --terminal --no-msg-color --input-file=/dev/stdin --no-fs --hwdec=no --sub-auto=fuzzy --no-input-default-bindings --input-x11-keyboard=no --no-input-cursor --cursor-autohide=no --no-keepaspect --wid=127926291 --monitorpixelaspect=1 --osd-level=1 --osd-scale=1 --sub-ass --embeddedfonts --ass-line-spacing=0 --sub-scale=1 --sub-text-shadow-color=#ff000000 --sub-codepage=ISO-8859-1 --sub-pos=100 --volume=55 --cache=auto --screenshot-template=cap_%F_%p_%02n --screenshot-format=jpg --softvol=yes --softvol-max=110 --term-playing-msg=MPV_VERSION=${=mpv-version:} INFO_VIDEO_WIDTH=${=width}
INFO_VIDEO_HEIGHT=${=height}
INFO_VIDEO_ASPECT=${=video-aspect}
INFO_VIDEO_FPS=${=container-fps:${=fps}}
INFO_VIDEO_FORMAT=${=video-format}
INFO_VIDEO_CODEC=${=video-codec}
INFO_AUDIO_FORMAT=${=audio-codec-name}
INFO_AUDIO_CODEC=${=audio-codec}
INFO_AUDIO_RATE=${=audio-params/samplerate}
INFO_AUDIO_NCH=${=audio-params/channel-count}
INFO_LENGTH=${=duration:${=length}}
INFO_DEMUXER=${=current-demuxer:${=demuxer}}
INFO_SEEKABLE=${=seekable}
INFO_TITLES=${=disc-titles}
INFO_CHAPTERS=${=chapters}
INFO_TRACKS_COUNT=${=track-list/count}
METADATA_TITLE=${metadata/by-key/title:}
METADATA_ARTIST=${metadata/by-key/artist:}
METADATA_ALBUM=${metadata/by-key/album:}
METADATA_GENRE=${metadata/by-key/genre:}
METADATA_DATE=${metadata/by-key/date:}
METADATA_TRACK=${metadata/by-key/track:}
METADATA_COPYRIGHT=${metadata/by-key/copyright:}
INFO_MEDIA_TITLE=${=media-title:}
INFO_STREAM_PATH=${stream-path}
--audio-client-name=SMPlayer --term-status-msg=STATUS: ${=time-pos} / ${=duration:${=length:0}} P: ${=pause} B: ${=paused-for-cache} I: ${=core-idle} VB: ${=video-bitrate:0} AB: ${=audio-bitrate:0} /home/sergio/Vídeos/20190217_075321.mp4
/usr/bin/mpv: error while loading shared libraries: libvpx.so.6: cannot open shared object file: No such file or directory
Yes, I am very unsure and now »mediainfo« package is on. I tried, but I didn’t understand how to use it
Probably you should confirm your repos here with
zypper lr -d
From there we can confirm the next steps
The mediainfo app identifies various things bout the mdia file you want to inspect, the most inportant are the video and audio codecs.
That is your first step to configuring your media player (Like SMPlayer or VideoLAN) to play the file, those specific codecs need to be installed to be able to read/play that file.
There are various ways to use mediainfo… If you have mediainfo integration installed with your File Manager, you might be able to rt-click on the file you want to select, and select “mediainfo.”
If that isn’t possible, then the command line followed by the file name probably works.
Else,
If you can find mediainfo as a application menu item in your Desktop Applications, open the application and then from your file manager drag and drop the file on your mediainfo window.
As for installing codecs…
You should try to follow the instructions in the stickies in the Multimedia forum, those stickies should always be up to date with the latest way to install codecs easily. If you have a problem getting that to work,
- Identify the sticky instructions you tried to follow
- Describe the steps you attempted, along with any errors if they display
TSU
sergio@positivo:~/Vídeos> sudo zypper lr -d
# | Apelido | Nome | Habilitado | Verificação GPG | Atualizar | Prioridade | Tipo | URI | Serviço
---+---------------------------+------------------------------------+------------+-----------------+-----------+------------+--------+----------------------------------------------------------------------------------------------+--------
1 | Packman Repository | Packman Repository | Sim | (r ) Sim | Sim | 99 | rpm-md | http://ftp.gwdg.de/pub/linux/packman/suse/openSUSE_Tumbleweed/ |
2 | VideoLan | VideoLan | Sim | (r ) Sim | Sim | 99 | rpm-md | http://download.videolan.org/pub/vlc/SuSE/Tumbleweed/ |
3 | google-chrome | google-chrome | Sim | (r ) Sim | Sim | 99 | rpm-md | http://dl.google.com/linux/chrome/rpm/stable/x86_64 |
4 | libdvdcss | libdvdcss | Sim | (r ) Sim | Sim | 99 | rpm-md | http://opensuse-guide.org/repo/openSUSE_Leap_15.1/ |
5 | openSUSE-Leap-15.1-1 | openSUSE-Leap-15.1-1 | Não | ---- | ---- | 99 | rpm-md | hd:/?device=/dev/disk/by-id/usb-Kingston_DataTraveler_2.0_001BFC3653D9BF6129527333-0:0-part2 |
6 | packman | packman | Sim | (r ) Sim | Sim | 99 | rpm-md | http://packman.inode.at/suse/openSUSE_Leap_15.1/ |
7 | repo-debug | Debug Repository | Não | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/distribution/leap/15.1/repo/oss/ |
8 | repo-debug-non-oss | Debug Repository (Non-OSS) | Não | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/distribution/leap/15.1/repo/non-oss/ |
9 | repo-debug-update | Update Repository (Debug) | Não | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/update/leap/15.1/oss/ |
10 | repo-debug-update-non-oss | Update Repository (Debug, Non-OSS) | Não | ---- | ---- | 99 | NONE | http://download.opensuse.org/debug/update/leap/15.1/non-oss/ |
11 | repo-non-oss | Non-OSS Repository | Sim | (r ) Sim | Sim | 99 | rpm-md | http://download.opensuse.org/distribution/leap/15.1/repo/non-oss/ |
12 | repo-oss | Main Repository | Sim | (r ) Sim | Sim | 99 | rpm-md | http://download.opensuse.org/distribution/leap/15.1/repo/oss/ |
13 | repo-source | Source Repository | Não | ---- | ---- | 99 | NONE | http://download.opensuse.org/source/distribution/leap/15.1/repo/oss/ |
14 | repo-source-non-oss | Source Repository (Non-OSS) | Não | ---- | ---- | 99 | NONE | http://download.opensuse.org/source/distribution/leap/15.1/repo/non-oss/ |
15 | repo-update | Main Update Repository | Sim | (r ) Sim | Sim | 99 | rpm-md | http://download.opensuse.org/update/leap/15.1/oss/ |
16 | repo-update-non-oss | Update Repository (Non-Oss) | Sim | (r ) Sim | Sim | 99 | rpm-md | http://download.opensuse.org/update/leap/15.1/non-oss/ |
17 | teamviewer | TeamViewer - x86_64 | Sim | (r ) Sim | Não | 99 | rpm-md | http://linux.teamviewer.com/yum/stable/main/binary-x86_64/ |
sergio@positivo:~/Vídeos>
That’s the mediainfo result
4
sergio@positivo:~/Vídeos> mediainfo 20181228_114832.mp4
General
Complete name : 20181228_114832.mp4
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42 (isom/mp42)
File size : 90.6 MiB
Duration : 44 s 39 ms
Overall bit rate : 17.3 Mb/s
Encoded date : UTC 2018-12-28 13:49:16
Tagged date : UTC 2018-12-28 13:49:16
com.android.version : 8.1.0
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4
Format settings : CABAC / 1 Ref Frames
Format settings, CABAC : Yes
Format settings, ReFrames : 1 frame
Format settings, GOP : M=1, N=30
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 44 s 39 ms
Bit rate : 17.0 Mb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Frame rate : 30.000 FPS
Minimum frame rate : 17.483 FPS
Maximum frame rate : 34.417 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.273
Stream size : 89.3 MiB (98%)
Title : VideoHandle
Language : English
Encoded date : UTC 2018-12-28 13:49:16
Tagged date : UTC 2018-12-28 13:49:16
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : mp4a-40-2
Duration : 44 s 32 ms
Bit rate mode : Constant
Bit rate : 256 kb/s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 kHz
Frame rate : 46.875 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 1.34 MiB (1%)
Title : SoundHandle
Language : English
Encoded date : UTC 2018-12-28 13:49:16
Tagged date : UTC 2018-12-28 13:49:16
Like others you have a mess of Leap and TW repos. That is the cause.
You will need to remove the top two repo’s 1 and 2 I marked them red
You then need to either use the switch on packman in Yast software management of do
zypper dup --from packman
That’s the repo I marked blue in my reply quote
Problem is I think you will struggle with the options it throws at you
But basically you need to allow vendor change to packman
But as you have both the videolan repo and packman, if it were me, I’d probably manually remove some of the crud from videolan first. It’s a bit of a brute force procedure that you need to adopt
Personally I tend to use Yast and ignore all the conflicts until I have made all my moves
Thank you very much, your guidance was great, now the video files are opening.
That is basicaly the same recipe the OP followed already because it is prominent in sticky threads in the Multi-media subforum and elsewhere. But all those Howtos do not help when one has a repo mix of different openSUSE versions as the OP had.