VLC briefly hangs when one moves a video play to a certain timestamp Tumbleweed 32 bit

Hi!I know this isnt a serious issue but it would be nice to have it resolved.

I have Tumbleweed 32 bit and I installed VLC.Whenever I am playing a video and move the video play forward to a certain time e.g if I go to playback and select jump to a specific time,the video freezes and becomes blurred for about 10 seconds before it resumes normal playing.

What could be the cause of this?Is there a codec missing?

Kindly assist.

I noticed this issue so far occurs when playing .mkv files.Other files like .mp4 .VOB .avi are fine.

The installation packages for VLC on my machine are as below.Is there any missing package?

zypper se -si vlc

Retrieving repository ‘Games’ metadata …[done]
Building repository ‘Games’ cache …[done]
Loading repository data…
Reading installed packages…

S | Name | Type | Version | Arch | Repository
—±-----------------------------------±------------±--------------------±-------±-------------------------
i+ | VLC Media player | application | | noarch | openSUSE-Tumbleweed-Oss
i+ | libvlc-qt-debugsource | package | 0.10.0-6.14 | i586 | (System Packages)
i+ | libvlc-qt-devel | package | 0.10.0-6.14 | i586 | (System Packages)
i+ | libvlc-qt-doc | package | 0.10.0-6.14 | noarch | (System Packages)
i+ | libvlc-qt-qml0_10 | package | 0.10.0-6.14 | i586 | (System Packages)
i+ | libvlc-qt-qml0_10-debuginfo | package | 0.10.0-6.14 | i586 | (System Packages)
i+ | libvlc-qt-widgets0_10 | package | 0.10.0-6.14 | i586 | (System Packages)
i+ | libvlc-qt-widgets0_10-debuginfo | package | 0.10.0-6.14 | i586 | (System Packages)
i+ | libvlc-qt0_10 | package | 0.10.0-6.14 | i586 | (System Packages)
i+ | libvlc-qt0_10-debuginfo | package | 0.10.0-6.14 | i586 | (System Packages)
i+ | libvlc5 | package | 2.2.6-247.17 | i586 | VLC
i+ | libvlc5-debuginfo | package | 3.0.0-2017042801.30 | i586 | VLC
i+ | libvlccore8 | package | 2.2.6-247.17 | i586 | VLC
i+ | libvlccore8-debuginfo | package | 3.0.0-2017042801.30 | i586 | VLC
i+ | npapi-vlc | package | 2.2.0-1.27 | i586 | Packman
i+ | npapi-vlc | package | 2.2.0-1.27 | i586 | Packman Repository
i+ | npapi-vlc | package | 2.2.0-1.27 | i586 | Packman Essentials
i+ | npapi-vlc | package | 2.2.0-1.27 | i586 | Packman Inode
i+ | npapi-vlc-debuginfo | package | 2.2.0-1.27 | i586 | Packman
i+ | npapi-vlc-debuginfo | package | 2.2.0-1.27 | i586 | Packman Repository
i+ | npapi-vlc-debuginfo | package | 2.2.0-1.27 | i586 | Packman Essentials
i+ | npapi-vlc-debuginfo | package | 2.2.0-1.27 | i586 | Packman Inode
i+ | npapi-vlc-debugsource | package | 2.2.0-1.27 | i586 | Packman
i+ | npapi-vlc-debugsource | package | 2.2.0-1.27 | i586 | Packman Repository
i+ | npapi-vlc-debugsource | package | 2.2.0-1.27 | i586 | Packman Essentials
i+ | npapi-vlc-debugsource | package | 2.2.0-1.27 | i586 | Packman Inode
i+ | phonon-backend-vlc-debuginfo | package | 0.9.0-3.9 | i586 | openSUSE-Tumbleweed-Debug
i+ | phonon-backend-vlc-debugsource | package | 0.9.0-3.9 | i586 | openSUSE-Tumbleweed-Debug
i+ | phonon4qt5-backend-vlc-debuginfo | package | 0.9.0-2.9 | i586 | openSUSE-Tumbleweed-Debug
i+ | phonon4qt5-backend-vlc-debugsource | package | 0.9.0-2.9 | i586 | openSUSE-Tumbleweed-Debug
i+ | vlc | package | 2.2.6-247.17 | i586 | VLC
i+ | vlc-beta-debuginfo | package | 3.0.0-2017042801.30 | i586 | VLC
i+ | vlc-codec-gstreamer | package | 2.2.6-247.17 | i586 | VLC
i+ | vlc-codec-gstreamer-debuginfo | package | 2.2.6-247.17 | i586 | VLC
i+ | vlc-codecs | package | 2.2.6-247.17 | i586 | VLC
i+ | vlc-codecs-debuginfo | package | 2.2.6-247.17 | i586 | VLC
i+ | vlc-debuginfo | package | 2.2.6-247.17 | i586 | VLC
i+ | vlc-debugsource | package | 2.2.6-247.17 | i586 | VLC
i+ | vlc-gnome-debuginfo | package | 2.2.4-34.1 | i586 | (System Packages)
i+ | vlc-lang | package | 2.2.6-247.17 | noarch | VLC
i+ | vlc-noX | package | 2.2.6-247.17 | i586 | VLC
i+ | vlc-noX-debuginfo | package | 2.2.6-247.17 | i586 | VLC
i+ | vlc-qt | package | 2.2.6-247.17 | i586 | VLC
i+ | vlc-qt-debuginfo | package | 2.2.6-247.17 | i586 | VLC

rpm -qa libdvdcss2 ffmpeg lame gstreamer-plugins-libav gstreamer-plugins-bad gstreamer-plugins-ugly gstreamer-plugins-ugly-orig-addon vlc vlc-codecs flash-player flash-player-ppapi libxine2 libxine2-codecs

libxine2-codecs-1.2.8-127.14.i586
flash-player-27.0.0.170-2.3.i586
flash-player-ppapi-27.0.0.170-2.3.i586
vlc-2.2.6-247.17.i586
ffmpeg-3.4-3.1.i586
lame-3.99.5-1.1.i586
gstreamer-plugins-libav-1.12.3-8.1.i586
gstreamer-plugins-ugly-orig-addon-1.12.3-4.7.i586
gstreamer-plugins-bad-1.12.3-6.8.i586
libxine2-1.2.8-3.5.i586
vlc-codecs-2.2.6-247.17.i586
gstreamer-plugins-ugly-1.12.3-4.7.i586
libdvdcss2-1.4.0-1.22.i586

sounds like a software decoding issue to me
what kind of graphic card do you have and what kind of video are you playing mkv is just a container not a format I’m guessing it’s h264 (there is a media info button in vlc) if your graphic card does not have hardware decoding for h264 software decoding will be used and as I’m assuming that’s an old CPU with a single core that is to be expected there’s so much a single core can do
if your GPU does have hardware acceleration use vdpau for video decoding for nvidia cards and vaapi for intel (I’m not sure about amd)
some older nvidia card do have hardware acceleration for h264
https://en.wikipedia.org/wiki/Nvidia_PureVideo
if you have an nvidia card you can install the propitiatory drivers
unfortunately only the latest G04 drivers are available prebuild for TW
http://http.download.nvidia.com/opensuse/tumbleweed/i586/
you cold try and install them the hard way
https://en.opensuse.org/SDB:NVIDIA_the_hard_way
then to check the supported acceleration run

vdpauinfo

I have an Intel Graphics Card as shown below so I dont think NVIDIA drivers may help

sudo lspci -nnk | grep -A3 VGA

00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller [8086:2a42] (rev 07)
Subsystem: Hewlett-Packard Company Device [103c:1484]
Kernel driver in use: i915
Kernel modules: i915

I recently upgraded from OpenSUSE 13.2 to Tumbleweed and VLC in 13.2 was working perfectly.Also my other players like Videos and MPlayer are operating seamlessly but Kaffeine and VLC seem to be having this problem.I prefer using VLC to watch videos so it would be nice to have this resolved.

I do believe VDPAU is the default decoder in vlc and for intel chips it’s redirected to libvdpau-va-gl which might be buggy
you can try and set the hardware acceleration to VA-API
quck note not all intel chips have hardware acceleration so so if all else fails disable hardware acceleration
https://i.imgur.com/95HzgEH.png
picture is not mine I found it with google so ignore the DRM bit it was the first pic I found

I changed the Hardware-accelerated decoding to VA-API video decoder via DRM and still the problem persists.There are only 2 options for VA-API from the dropdown ie VA-API video decoder via DRM and VA-API video decoder via X11.

use the X11 output if that fails try disabling hardware acceleration
you could install libva-utils from the X11 repo

zypper in https://download.opensuse.org/repositories/X11:/XOrg/openSUSE_Tumbleweed/i586/libva-utils-1.8.3-5.7.i586.rpm

then run vainfo to see what if any hardware decoding your system supports

vainfo

another thing would be to check and see if that mkv file is not corrupt passing it to ffmpeg without any switches or output should be enough to see if the file is OK

ffmpeg -i /path/to/mkvfile.mkv

I have tried both X11 and disabling hardware acceleration but the problem persists

I have installed libva-utils as below but no change

zypper se -si libva-utils

Loading repository data…
Reading installed packages…

S | Name | Type | Version | Arch | Repository
—±------------------------±--------±----------±-----±-------------------------
i+ | libva-utils | package | 1.8.3-1.2 | i586 | openSUSE-Tumbleweed-Oss
i+ | libva-utils-debuginfo | package | 1.8.3-1.2 | i586 | openSUSE-Tumbleweed-Debug
i+ | libva-utils-debugsource | package | 1.8.3-1.2 | i586 | openSUSE-Tumbleweed-Debug

Output of vainfo is as below

vainfo

libva info: VA-API version 0.40.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_40
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.40 (libva )
vainfo: Driver version: Intel i965 driver for Intel(R) GM45 Express Chipset - 1.8.3
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD

Output of ffmpeg -i is as below

ffmpeg -i t.mkv
ffmpeg version 3.4 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 7 (SUSE Linux)
configuration: --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib --incdir=/usr/include/ffmpeg --extra-cflags=’-fomit-frame-pointer -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g’ --optflags=’-fomit-frame-pointer -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g’ --disable-htmlpages --enable-pic --disable-stripping --enable-shared --disable-static --enable-gpl --disable-openssl --enable-avresample --enable-libcdio --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libcelt --enable-libcdio --enable-libdc1394 --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwebp --enable-vaapi --enable-vdpau --enable-libfdk_aac --enable-nonfree --enable-libx264 --enable-libx265 --enable-libxvid
libavutil 55. 78.100 / 55. 78.100
libavcodec 57.107.100 / 57.107.100
libavformat 57. 83.100 / 57. 83.100
libavdevice 57. 10.100 / 57. 10.100
libavfilter 6.107.100 / 6.107.100
libavresample 3. 7. 0 / 3. 7. 0
libswscale 4. 8.100 / 4. 8.100
libswresample 2. 9.100 / 2. 9.100
libpostproc 54. 7.100 / 54. 7.100
Input #0, matroska,webm, from ‘t.mkv’:
Metadata:
encoder : libebml v1.3.3 + libmatroska v1.4.4
creation_time : 2016-03-22T19:16:36.000000Z
Duration: 00:42:59.59, start: -0.007000, bitrate: 952 kb/s
Chapter #0:0: start 0.000000, end 299.382000
Metadata:
title : 00:00:00.000
Chapter #0:1: start 299.382000, end 336.336000
Metadata:
title : 00:04:59.382
Chapter #0:2: start 336.336000, end 741.157000
Metadata:
title : 00:05:36.336
Chapter #0:3: start 741.157000, end 1211.752000
Metadata:
title : 00:12:21.157
Chapter #0:4: start 1211.752000, end 1803.301000
Metadata:
title : 00:20:11.752
Chapter #0:5: start 1803.301000, end 2234.065000
Metadata:
title : 00:30:03.301
Chapter #0:6: start 2234.065000, end 2543.082000
Metadata:
title : 00:37:14.065
Chapter #0:7: start 2543.082000, end 2579.584000
Metadata:
title : 00:42:23.082
Stream #0:0: Video: hevc (Main), yuv420p(tv), 1920x1080, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn, 23.98 tbc (default)
Metadata:
BPS : 814957
BPS-eng : 814957
DURATION : 00:42:59.536000000
DURATION-eng : 00:42:59.536000000
NUMBER_OF_FRAMES: 61847
NUMBER_OF_FRAMES-eng: 61847
NUMBER_OF_BYTES : 262776417
NUMBER_OF_BYTES-eng: 262776417
_STATISTICS_WRITING_APP: mkvmerge v8.9.0 (‘Father Daughter’) 64bit
_STATISTICS_WRITING_APP-eng: mkvmerge v8.9.0 (‘Father Daughter’) 64bit
_STATISTICS_WRITING_DATE_UTC: 2016-03-22 19:16:36
_STATISTICS_WRITING_DATE_UTC-eng: 2016-03-22 19:16:36
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:1(eng): Audio: opus, 48000 Hz, 5.1, fltp (default)
Metadata:
BPS : 135368
BPS-eng : 135368
DURATION : 00:42:59.591000000
DURATION-eng : 00:42:59.591000000
NUMBER_OF_FRAMES: 128980
NUMBER_OF_FRAMES-eng: 128980
NUMBER_OF_BYTES : 43649411
NUMBER_OF_BYTES-eng: 43649411
_STATISTICS_WRITING_APP: mkvmerge v8.9.0 (‘Father Daughter’) 64bit
_STATISTICS_WRITING_APP-eng: mkvmerge v8.9.0 (‘Father Daughter’) 64bit
_STATISTICS_WRITING_DATE_UTC: 2016-03-22 19:16:36
_STATISTICS_WRITING_DATE_UTC-eng: 2016-03-22 19:16:36
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
Stream #0:2(eng): Subtitle: subrip
Metadata:
BPS : 32
BPS-eng : 32
DURATION : 00:42:14.657000000
DURATION-eng : 00:42:14.657000000
NUMBER_OF_FRAMES: 402
NUMBER_OF_FRAMES-eng: 402
NUMBER_OF_BYTES : 10231
NUMBER_OF_BYTES-eng: 10231
_STATISTICS_WRITING_APP: mkvmerge v8.9.0 (‘Father Daughter’) 64bit
_STATISTICS_WRITING_APP-eng: mkvmerge v8.9.0 (‘Father Daughter’) 64bit
_STATISTICS_WRITING_DATE_UTC: 2016-03-22 19:16:36
_STATISTICS_WRITING_DATE_UTC-eng: 2016-03-22 19:16:36
_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
_STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
At least one output file must be specified

Also I have noticed that there are other mkv files where the frame rate is blurred and very slow in VLC and frame rate slow in other players like Kaffeine,Videos,MPlayer.

well your graphic card only supports mpeg2 hardware decoding and you are opening a 1080p hevc video the decoding of which is done by the cpu
afaik only the latest intel chips have hevc hardware decoding (Skylake has partial and Kaby Lake full hevc support) the hangs are to be expected aside from getting a new graphic card there is nothing you can do hevc is way too cpu intensive especially at those resolutions

I could play the exact same videos perfectly on the same laptop with the same graphics card when I was on OpenSUSE 13.2