Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER for Linux

Reply
 
Thread Tools Display Modes
Old 07-31-2018, 02:51 AM   #1
David Else
Human being with feelings
 
Join Date: Mar 2012
Posts: 610
Default Extemely jerky 60fps playback using FFMPEG

I don't have a PC version to test or VLC installed, but please have a look at this film:
Quote:
Before viewing any of these files, confirm that you get frame-perfect 60 fps playback. A good test clip for that is this file: 60.000.mkv

If it's working correctly, there should be no visible (horizontal) tearing, discontinuities, stuttering or other forms of negative artifacts. Note that if you're tracking the bars with your eyes, due to small movements in the eyes, it's possible for the movement speed to appear to change - almost as if the bars got “stuck” and jolted forwards again. To prevent confusing this effect with actual dropped frames, it could help to try and look at a fixed point on the screen instead (such as your mouse cursor).
https://github.com/haasn/interpolati...ter/60.000.mkv

Not many players seem to be able to achieve perfect playback in Windowed mode, but in full screen it should be possible to have zero tearing or jerking, just 100% smooth flowing video.

On my system it looks awful full screen on Dell 60fps monitor with intel integrated graphics:

Half the time it just freezes then eventually starts working again!
Quote:
*-display
description: VGA compatible controller
product: Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 06
width: 64 bits
clock: 33MHz
capabilities: vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0

xrandr
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192
VGA-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 510mm x 287mm
1920x1080 60.00*+
...

========== ffmpeg/libav ==========
ffmpeg/libav DLL decoder v58.18.100

Loaded from: /lib64/libavcodec.so.58
ffmpeg/libav configuration:
--prefix=/usr
--bindir=/usr/bin
--datadir=/usr/share/ffmpeg
--docdir=/usr/share/doc/ffmpeg
--incdir=/usr/include/ffmpeg
--libdir=/usr/lib64
--mandir=/usr/share/man
--arch=x86_64
--optflags='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
--extra-ldflags='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '
--extra-cflags=' '
--enable-libopencore-amrnb
--enable-libopencore-amrwb
--enable-libvo-amrwbenc
--enable-version3
--enable-bzlib
--disable-crystalhd
--enable-fontconfig
--enable-frei0r
--enable-gcrypt
--enable-gnutls
--enable-ladspa
--enable-libass
--enable-libbluray
--enable-libcdio
--enable-libdrm
--enable-indev=jack
--enable-libfreetype
--enable-libfribidi
--enable-libgsm
--enable-libmp3lame
--enable-nvenc
--enable-openal
--enable-opencl
--enable-opengl
--enable-libopenjpeg
--enable-libopus
--enable-libpulse
--enable-librsvg
--enable-libsoxr
--enable-libspeex
--enable-libtheora
--enable-libvorbis
--enable-libv4l2
--enable-libvidstab
--enable-libvpx
--enable-libx264
--enable-libx265
--enable-libxvid
--enable-libzvbi
--enable-avfilter
--enable-avresample
--enable-postproc
--enable-pthreads
--disable-static
--enable-shared
--enable-gpl
--disable-debug
--disable-stripping
--shlibdir=/usr/lib64
--enable-libmfx
--enable-runtime-cpudetect
Is there any playback settings that can be altered in Reaper for FFMPEG, or any changes made to improve this?
__________________
----------> Debian Linux Distribution = Computing Joy & Freedom <----------

Last edited by David Else; 07-31-2018 at 03:00 AM.
David Else is offline   Reply With Quote
Old 07-31-2018, 06:02 AM   #2
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 15,721
Default

The video output support in the linux version is extremely weak -- it uses software YUV to RGB conversion, and scales without any filtering drawing using cairo. At some point in the future we will switch to an OpenGL based video output system which should address all of those issues and be a lot faster...
Justin is offline   Reply With Quote
Old 07-31-2018, 07:31 AM   #3
David Else
Human being with feelings
 
Join Date: Mar 2012
Posts: 610
Default

Quote:
Originally Posted by Justin View Post
The video output support in the linux version is extremely weak -- it uses software YUV to RGB conversion, and scales without any filtering drawing using cairo. At some point in the future we will switch to an OpenGL based video output system which should address all of those issues and be a lot faster...
Thanks for the answer, really looking forward to the new OpenGL version
__________________
----------> Debian Linux Distribution = Computing Joy & Freedom <----------
David Else is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 06:42 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.