Problem with 4K video playback

*nix specific usage questions
hanky
Blank Cone
Blank Cone
Posts: 21
Joined: 30 May 2012 07:49

Problem with 4K video playback

Postby hanky » 16 Dec 2016 16:54

I'm using VLC media player 2.2.2 Weatherwax on Centos 7 x64 and having problem with a 4K video playback. VLC playe lags heavily and almost freezes when playing the video file, although ffplay does not have any problems with it. Also I have the same problem on Windows with VLC player 2.1.3 and 2.2.4.

My video file:

Code: Select all

ffprobe /tmp/sample-Elysium.2013.2160p.mkv ffprobe version 2.6.8 Copyright (c) 2007-2016 the FFmpeg developers built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-16) configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' --enable-bzlib --disable-crystalhd --enable-gnutls --enable-ladspa --enable-libass --enable-libdc1394 --enable-libfaac --enable-nonfree --disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libx264 --enable-libx265 --enable-libxvid --enable-x11grab --enable-avfilter --enable-avresample --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect libavutil 54. 20.100 / 54. 20.100 libavcodec 56. 26.100 / 56. 26.100 libavformat 56. 25.101 / 56. 25.101 libavdevice 56. 4.100 / 56. 4.100 libavfilter 5. 11.102 / 5. 11.102 libavresample 2. 1. 0 / 2. 1. 0 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 1.100 / 1. 1.100 libpostproc 53. 3.100 / 53. 3.100 [hevc @ 0xa50b40] Invalid default display window [hevc @ 0xa50b40] Could not find ref with POC -41 [hevc @ 0xa50b40] Could not find ref with POC -43 [hevc @ 0xa50b40] Could not find ref with POC -46 [hevc @ 0xa50b40] Could not find ref with POC -48 [hevc @ 0xa50b40] Could not find ref with POC -52 [dca @ 0xa51880] Number of channels changed in DCA decoder (8 -> 6) Input #0, matroska,webm, from '/tmp/sample-Elysium.2013.2160p.mkv': Metadata: title : Elysium (2013) encoder : libebml v1.3.3 + libmatroska v1.4.4 creation_time : 2016-01-05 22:30:41 Duration: 00:01:02.73, start: 0.166000, bitrate: 53638 kb/s Chapter #0:0: start 0.000000, end 62.896000 Metadata: title : 00:00:00.000 Stream #0:0(eng): Video: hevc (Main 10), yuv420p10le(tv), 3840x1606, SAR 1:1 DAR 1920:803, 23.98 fps, 23.98 tbr, 1k tbn, 23.98 tbc (default) Metadata: title : Elysium (2013) - Release for ULTRAHDCLUB BPS : 51036975 BPS-eng : 51036975 DURATION : 00:01:02.604000000 DURATION-eng : 00:01:02.604000000 NUMBER_OF_FRAMES: 1501 NUMBER_OF_FRAMES-eng: 1501 NUMBER_OF_BYTES : 399389852 NUMBER_OF_BYTES-eng: 399389852 _STATISTICS_WRITING_APP: mkvmerge v8.7.0 ('All of the above') 64bit _STATISTICS_WRITING_APP-eng: mkvmerge v8.7.0 ('All of the above') 64bit _STATISTICS_WRITING_DATE_UTC: 2016-01-05 22:30:41 _STATISTICS_WRITING_DATE_UTC-eng: 2016-01-05 22:30:41 _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: dts (DTS-HD MA), 48000 Hz, 5.1(side), fltp, 1536 kb/s (default) Metadata: title : DTS-HD MA 7.1 - Blu-ray CEE BPS : 2706639 BPS-eng : 2706639 DURATION : 00:01:02.561000000 DURATION-eng : 00:01:02.561000000 NUMBER_OF_FRAMES: 5865 NUMBER_OF_FRAMES-eng: 5865 NUMBER_OF_BYTES : 21166260 NUMBER_OF_BYTES-eng: 21166260 _STATISTICS_WRITING_APP: mkvmerge v8.7.0 ('All of the above') 64bit _STATISTICS_WRITING_APP-eng: mkvmerge v8.7.0 ('All of the above') 64bit _STATISTICS_WRITING_DATE_UTC: 2016-01-05 22:30:41 _STATISTICS_WRITING_DATE_UTC-eng: 2016-01-05 22:30:41 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES [hevc @ 0xb3afc0] Invalid default display window
vlc log:

Code: Select all

[0000000000758888] pulse audio output error: PulseAudio server connection failure: Connection refused [000000000077c478] dummy interface: using the dummy interface module... ALSA lib pcm_dmix.c:1024:(snd_pcm_dmix_open) unable to open slave [0000000000758888] alsa audio output error: cannot open ALSA device "default": No such file or directory [0000000000758888] core audio output error: Audio output failed [0000000000758888] core audio output error: The audio device "default" could not be used: No such file or directory. [0000000000758888] core audio output error: module not functional [00007f03ccc8dbe8] core decoder error: failed to create audio output Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory [hevc @ 0x7f03ccc3ffa0] Could not find ref with POC -41 [hevc @ 0x7f03ccc3ffa0] Could not find ref with POC -43 [hevc @ 0x7f03ccc3ffa0] Could not find ref with POC -46 [hevc @ 0x7f03ccc3ffa0] Could not find ref with POC -48 [hevc @ 0x7f03ccc3ffa0] Could not find ref with POC -52 [hevc @ 0x7f03ccc585a0] Could not find ref with POC -7 [hevc @ 0x7f03ccc7bee0] Could not find ref with POC -4 [hevc @ 0x7f03ccc585a0] Could not find ref with POC -2 [hevc @ 0x7f03ccc7bee0] Could not find ref with POC 2 [hevc @ 0x7f03ccc585a0] Could not find ref with POC 6 [hevc @ 0x7f03ccc7bee0] Could not find ref with POC 10 [hevc @ 0x7f03ccc585a0] Could not find ref with POC 14 [hevc @ 0x7f03ccc7bee0] Could not find ref with POC 18 [hevc @ 0x7f03ccc585a0] Could not find ref with POC 22 [hevc @ 0x7f03ccc7bee0] Could not find ref with POC 26 [hevc @ 0x7f03ccc585a0] Could not find ref with POC 30 [hevc @ 0x7f03ccc7bee0] Could not find ref with POC 34 [hevc @ 0x7f03ccc585a0] Could not find ref with POC 38 [hevc @ 0x7f03ccc7bee0] Could not find ref with POC 42 [hevc @ 0x7f03ccc585a0] Could not find ref with POC 47 [hevc @ 0x7f03ccc7bee0] Could not find ref with POC 53 [hevc @ 0x7f03ccc585a0] Could not find ref with POC 57 [hevc @ 0x7f03ccc7bee0] Could not find ref with POC 61 [hevc @ 0x7f03ccc585a0] Could not find ref with POC 65 [hevc @ 0x7f03ccc7bee0] Could not find ref with POC 69 [hevc @ 0x7f03ccc585a0] Could not find ref with POC 73 [hevc @ 0x7f03ccc7bee0] Could not find ref with POC 77 [hevc @ 0x7f03ccc585a0] Could not find ref with POC 81 [hevc @ 0x7f03ccc7bee0] Could not find ref with POC 85 [hevc @ 0x7f03ccc585a0] Could not find ref with POC 89 [hevc @ 0x7f03ccc7bee0] Could not find ref with POC 94 [hevc @ 0x7f03ccc6a240] Could not find ref with POC 96 [hevc @ 0x7f03ccc3ffa0] Could not find ref with POC 100 [00007f03ccc0d408] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007f03ccc0d408] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007f03ccc0d408] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007f03ccc0d408] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007f03ccc0d408] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007f03ccc0d408] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007f03ccc0d408] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007f03ccc0d408] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007f03ccc0d408] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007f03ccc0d408] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007f03ccc0d408] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007f03ccc0d408] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [hevc @ 0x7f03ccc585a0] Could not find ref with POC 112 [hevc @ 0x7f03ccc585a0] Could not find ref with POC 110 [hevc @ 0x7f03ccc585a0] Could not find ref with POC 108 [hevc @ 0x7f03ccc585a0] Could not find ref with POC 104 [hevc @ 0x7f03ccc585a0] Could not find ref with POC 114 [hevc @ 0x7f03ccc6a240] Could not find ref with POC 138 [hevc @ 0x7f03ccc3ffa0] Could not find ref with POC 140 [hevc @ 0x7f03ccc6a240] Could not find ref with POC 144 [00007f03b0001dc8] xcb_window window error: X server failure [hevc @ 0x7f03ccc3ffa0] Could not find ref with POC 148 [hevc @ 0x7f03ccc6a240] Could not find ref with POC 152 [hevc @ 0x7f03ccc3ffa0] Could not find ref with POC 156 [hevc @ 0x7f03ccc6a240] Could not find ref with POC 160 [hevc @ 0x7f03ccc3ffa0] Could not find ref with POC 164 [hevc @ 0x7f03ccc6a240] Could not find ref with POC 168 [hevc @ 0x7f03ccc3ffa0] Could not find ref with POC 172 [hevc @ 0x7f03ccc6a240] Could not find ref with POC 176 [hevc @ 0x7f03ccc3ffa0] Could not find ref with POC 180 [hevc @ 0x7f03ccc6a240] Could not find ref with POC 184 [hevc @ 0x7f03ccc3ffa0] Could not find ref with POC 188 [hevc @ 0x7f03ccc6a240] Could not find ref with POC 192 [hevc @ 0x7f03ccc3ffa0] Could not find ref with POC 196 [hevc @ 0x7f03ccc585a0] Could not find ref with POC 201

hanky
Blank Cone
Blank Cone
Posts: 21
Joined: 30 May 2012 07:49

Re: Problem with 4K video playback

Postby hanky » 19 Dec 2016 12:18

It seems that '--avcodec-threads 20' option solves the problem. The solution is found here: https://wiki.videolan.org/WindowsFAQ-2. ... r_laggy.29

Is it intended behaviour that I have to set that option manually?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Problem with 4K video playback

Postby Jean-Baptiste Kempf » 20 Dec 2016 00:16

Try VLC 3.0.0
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 28 guests