This forum has been archived. All content is frozen. Please use KDE Discuss instead.

4K video is extremely choppy

Tags: None
(comma "," separated)
nic96
Registered Member
Posts
3
Karma
0
OS

4K video is extremely choppy

Sat Nov 19, 2016 7:30 am
Editing 4K video is a real pain using Kdenlive since it is so choppy. I'm currently using Shotcut since it is able to play 4K smoothly. Does anybody know if Kdenlive will get as good performance soon (GPU decoding)?
capslock
Registered Member
Posts
699
Karma
4
OS

Re: 4K video is extremely choppy

Sat Nov 19, 2016 9:40 am
In the configuration, check the playback area. Did you enable "Use GPU processing"?
User avatar
qubodup
Registered Member
Posts
142
Karma
0

Re: 4K video is extremely choppy

Sat Nov 19, 2016 4:20 pm
go in the main menu Settings/Configure Kdenlive then click Playback.

Enable "Use GPU processing (Movit library)"

Video of steps:
https://www.youtube.com/watch?v=47maykCIo5w

Alternatively, consider using proxy clips, see https://userbase.kde.org/Kdenlive/Manua ... roxy_clips

Does the GPU work for you?
nic96
Registered Member
Posts
3
Karma
0
OS

Re: 4K video is extremely choppy

Sat Nov 19, 2016 6:12 pm
Enabling it doesn't seem to make a difference.

Here's what ffprobe shows me about the video file.
Code: Select all
  Metadata:
    major_brand     : avc1
    minor_version   : 0
    compatible_brands: avc1isom
    creation_time   : 1970-01-01T00:33:36.000000Z
  Duration: 00:01:21.05, start: 0.000000, bitrate: 61476 kb/s
    Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuvj420p(pc, bt709), 3840x2160, 61473 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)

Here's the terminal output of kdenlive
Code: Select all
OpenGL vendor:  "NVIDIA Corporation"
OpenGL renderer:  "GeForce GTX 970/PCIe/SSE2"
OpenGL Threaded:  true
OpenGL ARG_SYNC:  true
OpenGL OpenGLES:  false
OpenGL vendor:  "NVIDIA Corporation"
OpenGL renderer:  "GeForce GTX 970/PCIe/SSE2"
OpenGL Threaded:  true
OpenGL ARG_SYNC:  true
OpenGL OpenGLES:  false
QXcbConnection: XCB error: 8 (BadMatch), sequence: 41572, resource id: 81789256, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 41610, resource id: 81789256, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 41651, resource id: 81789256, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 41762, resource id: 81789256, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 41797, resource id: 81789256, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 41891, resource id: 81789256, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 41926, resource id: 81789256, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 13276, resource id: 81789256, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 13322, resource id: 81789256, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 13340, resource id: 81789256, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 13381, resource id: 81789256, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 20142, resource id: 81789256, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 20181, resource id: 81789256, major code: 130 (Unknown), minor code: 3
QXcbConnection: XCB error: 8 (BadMatch), sequence: 20213, resource id: 81789256, major code: 130 (Unknown), minor code: 3


My hardware
Code: Select all
Software
KDE Version: 5.8.3
KDE Frameworks Version: 5.27.0
QT Version: 5.7.0
Kdenlive: 16.08.3
Kernel Version: 4.8.8-2-ARCH
OS Type: 64-bit

Hardware
Processor: Intel(R) Core(TM) i5-6400 CPU @ 2.70GHz
Memory: 15.6 GiB of RAM
Graphics Card: NVIDIA Corporation GM204 [GeForce GTX 970]
nic96
Registered Member
Posts
3
Karma
0
OS

Re: 4K video is extremely choppy

Sat Nov 19, 2016 9:46 pm
I think this here explains what the problem is:
https://www.mltframework.org/faq/#why-d ... ia-players

The following does not print anything to terminal. Any Ideas on how I could compile mlt with vdpau support?
Code: Select all
melt -debug some-h264.mp4 2>&1 | grep vdpau
stevens37y
Registered Member
Posts
7
Karma
0

Re: 4K video is extremely choppy

Sat Jan 21, 2017 5:08 pm
the same on my PC

kdenlive 16.12
opensuse 42.2

it's interesting that kdenlive uses only 1 core (1 thread ?)

on my older system>
kdenlive 0.9.10
opensuse 13.2

it uses all the cores (8)
and with the htop i could see at least 8 threads


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kde-naveen, Sogou [Bot], Yahoo [Bot]