Topic: Problem with Svp4linux / choppy playback

Hello ,

i have installed the Svp4Linux according to the older instructions for Version .180

http://web.archive.org/web/201908081547 … /SVP:Linux


the problem is here that the playback is very choppy (for svptube i chose "stable-only mp4"" as the graphics card rx560 does not have proper VP9 support)
and the fps rate is somehow off-limit?


please someone take a look at the screenshot:


https://ibb.co/jz5ZMFY


Thank you!

2 (edited by kapqa 28-03-2020 12:53:56)

Re: Problem with Svp4linux / choppy playback

this happens when i move the window with mpv/playback from the monitor 1280x1024 to the adjacent monitor with happens to have higher resolution 1680x1050

Thanks

Re: Problem with Svp4linux / choppy playback

playback would start normally with 60ftps on one window,

problems would start appear as soon the window is moved to another monitor

Audio: no audio
VO: [gpu] 1280x720 yuv420p
22:07:22.582 [i]: VideoPlayer: mpv 0.32.0-314-gdf0d8cda08
22:07:23.029 [i]: Media: video looks like some kind of stream
22:07:23.029 [i]: Media: video 1280x720 [PAR 1.000] at 25.000 fps [constant] (via video player)
22:07:23.029 [i]: Media: codec type is h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10), YUV420P, BT.709 BT.1886
22:07:23.061 [i]: Playback: starting up...
22:07:23.067 [i]: Playback [c29da30c]: resulting video frame 1280x720
22:07:23.067 [i]: Playback [c29da30c]: 1 acceptible profiles, best is 'Automatic' [0]
22:07:23.070 [i]: Playback [c29da30c]: enabled while video is playing
22:07:23.070 [i]: Profile: using automatic profile #1 /film
22:07:23.076 [i]: Playback [c29da30c]: playing at 60 [25 *12/5] 
22:08:22.952 [i]: Playback [c29da30c]: video player moved to screen 1
22:08:22.952 [i]: Playback [c29da30c]: resulting video frame 1280x720
22:08:22.953 [i]: Playback [c29da30c]: 1 acceptible profiles, best is 'Automatic' [0]
22:08:22.953 [i]: Playback [c29da30c]: keep previously selected profile 'Automatic'
22:08:22.954 [i]: Profile: using automatic profile #1 /film
22:08:22.963 [i]: Playback [c29da30c]: playing at 60 [25 *12/5] 
22:08:58.263 [i]: Playback [c29da30c]: black fields changed to TB: 0-0, LR: 4-4
22:08:58.263 [i]: Playback [c29da30c]: resulting video frame 1272x720 [1280x720 -> cropped -> 1272x720]
22:08:58.263 [i]: Playback [c29da30c]: 1 acceptible profiles, best is 'Automatic' [0]
22:08:58.263 [i]: Playback [c29da30c]: keep previously selected profile 'Automatic'
22:08:58.263 [i]: Profile: using automatic profile #1 /film
22:08:58.275 [i]: Playback [c29da30c]: playing at 60 [25 *12/5] 
22:08:58.282 [i]: Playback [c29da30c]: video player moved to screen 0
22:08:58.282 [i]: Playback [c29da30c]: resulting video frame 1272x720 [1280x720 -> cropped -> 1272x720]
22:08:58.282 [i]: Playback [c29da30c]: 1 acceptible profiles, best is 'Automatic' [0]
22:08:58.282 [i]: Playback [c29da30c]: keep previously selected profile 'Automatic'
22:08:58.282 [i]: Profile: using automatic profile #1 /film
22:08:58.295 [i]: Playback [c29da30c]: playing at 60 [25 *12/5] 
VO: [gpu] 1272x720 yuv420p
VO: [gpu] 1264x720 yuv420p
22:09:10.295 [i]: Playback [c29da30c]: video player moved to screen 1
22:09:10.295 [i]: Playback [c29da30c]: resulting video frame 1272x720 [1280x720 -> cropped -> 1272x720]
22:09:10.295 [i]: Playback [c29da30c]: 1 acceptible profiles, best is 'Automatic' [0]
22:09:10.295 [i]: Playback [c29da30c]: keep previously selected profile 'Automatic'
22:09:10.295 [i]: Profile: using automatic profile #1 /film
22:09:10.306 [i]: Playback [c29da30c]: playing at 60 [25 *12/5] 
VO: [gpu] 1256x720 yuv420p
VO: [gpu] 1248x720 yuv420p
22:09:22.119 [i]: Playback [c29da30c]: source frame rate changed to 4789.27
22:09:22.119 [i]: Playback [c29da30c]: 1 acceptible profiles, best is 'Automatic' [0]
22:09:22.119 [i]: Playback [c29da30c]: keep previously selected profile 'Automatic'
22:09:22.119 [i]: Profile: using automatic profile #13 /film
22:09:22.130 [i]: Playback [c29da30c]: playing at 4789.27 [4789.27 *1/1] 
Option vf-del: -del is deprecated! Use -remove (removes by content instead of by index).
VO: [gpu] 1272x720 yuv420p
22:09:29.115 [i]: Playback [c29da30c]: source frame rate changed to 25
22:09:29.115 [i]: Playback [c29da30c]: 1 acceptible profiles, best is 'Automatic' [0]
22:09:29.116 [i]: Playback [c29da30c]: keep previously selected profile 'Automatic'
22:09:29.116 [i]: Profile: using automatic profile #1 /film
22:09:29.129 [i]: Playback [c29da30c]: playing at 60 [25 *12/5] 
Option vf-del: -del is deprecated! Use -remove (removes by content instead of by index).
VO: [gpu] 1280x720 yuv420p
VO: [gpu] 1272x720 yuv420p

Exiting... (Quit)
22:09:36.604 [i]: Playback [c29da30c]: disabled while video is playing
22:09:36.607 [i]: Playback [c29da30c]: deleted

https://ibb.co/w7HX810

Re: Problem with Svp4linux / choppy playback

For some reason detected framerate 25 fps is changed to crazy value 4789 fps. Smoothing become disabled in this case and use smooth ratio 1x =  no inserting interpolated frames.

Normal fps value:

22:07:23.029 [i]: Media: video 1280x720 [PAR 1.000] at 25.000 fps [constant] (via video player)
...
22:09:10.306 [i]: Playback [c29da30c]: playing at 60 [25 *12/5] 

Crazy FPS value:

22:09:22.119 [i]: Playback [c29da30c]: source frame rate changed to 4789.27
...
22:09:22.130 [i]: Playback [c29da30c]: playing at 4789.27 [4789.27 *1/1] 

Try:
- another video file;
- disable automatic black bars detection in SVP. Looks like framerate is changing after frame size change. SVP menu - Video frame - Detect and cut off black bars;
- change your multi-monitor configuration into one-monitor configuration by disabling or detaching another screens.

Re: Problem with Svp4linux / choppy playback

Three vapoursynth filters on your screenshot are not looking good hmm
I'd say it failed to remove previous filter before adding new one but it still must work the "old way" despite of the the mpv's warning about 'Option vf-del: -del is deprecated! Use -remove (removes by content instead of by index).'
Are you using git version?

Re: Problem with Svp4linux / choppy playback

hello ,

thanks for your help!

i am new here so i don't know how to handle the program well -
but for debian/devuan i had to use older instructions as from your webpage until recently.

so i installed according to instructions, but probably made an error, and used it with version .180.
then i autoupdated to .183 or so with the update manager but then it would no longer parse the links as libpython3.8 is missing on devuan3.0 i think.
so i uninstalled all components and reinstalled from ./svp-linux-64.run (version.180)
and the program works fine but only if i leave the window on the monitor on which it opens;
if i drag to another monitor , then after some seconds it would readjust and slow down.

- i tried to disable 1 monitor > the same thing happens also with only 2 monitors active.
- tried another video file / stream > same outcome
- tried on another computer (that runs ubuntu20.04) that has also AMD , but internal Radeon R7 Graphics  (APU) - with version .183 on this computer there is not shown this strange behaviour (albeit tested only on setup with 2 monitors, not three).


so i would say that either i did not install correctly, or the (non-proprietary) open-source drivers from debian/devuan cannot play very well with this earlier version of svp4linux/svptube, or maybe it is an issue with the driver configuration on the computer (which i am currently investigating>asking for help).

one thing is also that i installed previously the whole program on devuan 2.0 (based on debian stretch) and then updated to devuan 3.0 (based on debian buster) , but this should not be an issue.
on devuan 2.0 however i had to resort to install "cython3" via pip, and now on devuan 3.0 i additionally installed "cython3" package, but that should not be an issue?

Re: Problem with Svp4linux / choppy playback

well, i checked now with other stream again, and problem would no occuer this time.

so i will have to do more investigation, maybe there are some filetypes not good handled/supported by the videocard or setup?

in mediainfo the above video would say:

MPEG-4
1280*720 at 23.976 FTS, AVC (Main@L3.1) (CABAC / 3 Ref Frames)
ISO Media File produced by Google Inc. etc.etc.

In Preferences i ruled out "VP9" as the graphics card 2016 (Polaris) is probably not new enough to handle it well if at all.

Re: Problem with Svp4linux / choppy playback

can confirm that this issue is stil present even after updating to latest version .183 via svp maintenance tool,
at least when playing back this specific file, on this specific computer with linux devuan.

https://ibb.co/JKrXbmj

Re: Problem with Svp4linux / choppy playback

there are some error when building *vaporsynth*

 make -j4
  CXX      src/core/libexprfilter_la-exprfilter.lo
  CYTHON   src/cython/vapoursynth.c
  CXX      src/vspipe/vspipe.o
  CXX      src/vsscript/libvapoursynth_script_la-vsscript.lo
/usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /home/rich/Programme/vapoursynth/src/cython/vapoursynth.pxd
  tree = Parsing.p_module(s, pxd, full_module_name)
  CXX      src/core/libvapoursynth_la-boxblurfilter.lo
  CXX      src/core/libvapoursynth_la-cachefilter.lo
  CXX      src/core/libvapoursynth_la-cpufeatures.lo
  CXX      src/core/libvapoursynth_la-genericfilters.lo
  CXX      src/core/kernel/libvapoursynth_la-cpulevel.lo
  CXX      src/core/kernel/libvapoursynth_la-generic.lo
  CC       src/core/kernel/libvapoursynth_la-merge.lo
src/core/kernel/merge.c: In function ‘vs_mask_merge_premul_word_c’:
src/core/kernel/merge.c:178: warning: ignoring #pragma warning  [-Wunknown-pragmas]
  178 | #pragma warning(push)
      | 
src/core/kernel/merge.c:179: warning: ignoring #pragma warning  [-Wunknown-pragmas]
  179 | #pragma warning(disable:4146)
      | 
src/core/kernel/merge.c:185: warning: ignoring #pragma warning  [-Wunknown-pragmas]
  185 | #pragma warning(pop)
      | 
  CC       src/core/kernel/libvapoursynth_la-planestats.lo
  CC       src/core/kernel/libvapoursynth_la-transpose.lo
  CXX      src/core/libvapoursynth_la-lutfilters.lo
  CC       src/core/libvapoursynth_la-mergefilters.lo
  CC       src/core/libvapoursynth_la-reorderfilters.lo
  CXX      src/core/libvapoursynth_la-settings.lo
  CC       src/core/libvapoursynth_la-simplefilters.lo
  CXX      src/core/libvapoursynth_la-textfilter.lo
  CXX      src/core/libvapoursynth_la-vsapi.lo
  CXX      src/core/libvapoursynth_la-vscore.lo
  CXX      src/core/libvapoursynth_la-vslog.lo
  CXX      src/core/libvapoursynth_la-vsresize.lo
  CXX      src/core/libvapoursynth_la-vsthreadpool.lo
  CXX      src/core/kernel/x86/libvapoursynth_la-generic_sse2.lo
  CC       src/core/kernel/x86/libvapoursynth_la-merge_sse2.lo
  CC       src/core/kernel/x86/libvapoursynth_la-planestats_sse2.lo
  CC       src/core/kernel/x86/libvapoursynth_la-transpose_sse2.lo
  CXX      src/core/kernel/x86/libvapoursynth_avx2_la-generic_avx2.lo
  CC       src/core/kernel/x86/libvapoursynth_avx2_la-merge_avx2.lo
  CC       src/core/kernel/x86/libvapoursynth_avx2_la-planestats_avx2.lo
  CC       src/filters/eedi3/libeedi3_la-eedi3.lo
  CXX      src/filters/misc/libmiscfilters_la-miscfilters.lo
  CC       src/filters/morpho/libmorpho_la-morpho.lo
  CC       src/filters/morpho/libmorpho_la-morpho_filters.lo
  CC       src/filters/morpho/libmorpho_la-morpho_selems.lo
  CXX      src/filters/removegrain/libremovegrain_la-clense.lo
  CXX      src/filters/removegrain/libremovegrain_la-removegrainvs.lo
  CXX      src/filters/removegrain/libremovegrain_la-repairvs.lo
^[[H  CXX      src/filters/removegrain/libremovegrain_la-shared.lo
  CXX      src/filters/removegrain/libremovegrain_la-verticalcleaner.lo
  CC       src/filters/vinverse/libvinverse_la-vinverse.lo
  CC       src/filters/vivtc/libvivtc_la-vivtc.lo
  CC       src/cython/vapoursynth_la-vapoursynth.lo
  CXXLD    libvapoursynth-script.la
  CXXLD    libvapoursynth_avx2.la
  CCLD     libeedi3.la
  CXXLD    libmiscfilters.la
  CCLD     libmorpho.la
  CCLD     libvinverse.la
  CCLD     libvivtc.la
  CXXLD    vspipe
  CXXLD    libremovegrain.la
  CXXLD    libexprfilter.la
  CXXLD    libvapoursynth.la
  CCLD     vapoursynth.la
sudo make install
make[1]: Entering directory '/home/rich/Programme/vapoursynth'
 /bin/mkdir -p '/usr/local/lib'
 /bin/bash ./libtool   --mode=install /usr/bin/install -c   libvapoursynth.la libvapoursynth-script.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libvapoursynth.so /usr/local/lib/libvapoursynth.so
libtool: install: /usr/bin/install -c .libs/libvapoursynth.lai /usr/local/lib/libvapoursynth.la
libtool: install: /usr/bin/install -c .libs/libvapoursynth-script.so.0.0.0 /usr/local/lib/libvapoursynth-script.so.0.0.0
libtool: install: (cd /usr/local/lib && { ln -s -f libvapoursynth-script.so.0.0.0 libvapoursynth-script.so.0 || { rm -f libvapoursynth-script.so.0 && ln -s libvapoursynth-script.so.0.0.0 libvapoursynth-script.so.0; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libvapoursynth-script.so.0.0.0 libvapoursynth-script.so || { rm -f libvapoursynth-script.so && ln -s libvapoursynth-script.so.0.0.0 libvapoursynth-script.so; }; })
libtool: install: /usr/bin/install -c .libs/libvapoursynth-script.lai /usr/local/lib/libvapoursynth-script.la
libtool: install: /usr/bin/install -c .libs/libvapoursynth.a /usr/local/lib/libvapoursynth.a
libtool: install: chmod 644 /usr/local/lib/libvapoursynth.a
libtool: install: ranlib /usr/local/lib/libvapoursynth.a
libtool: install: /usr/bin/install -c .libs/libvapoursynth-script.a /usr/local/lib/libvapoursynth-script.a
libtool: install: chmod 644 /usr/local/lib/libvapoursynth-script.a
libtool: install: ranlib /usr/local/lib/libvapoursynth-script.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
 /bin/mkdir -p '/usr/local/bin'
  /bin/bash ./libtool   --mode=install /usr/bin/install -c vspipe '/usr/local/bin'
libtool: install: /usr/bin/install -c .libs/vspipe /usr/local/bin/vspipe
 /bin/mkdir -p '/usr/local/lib/vapoursynth'
 /bin/bash ./libtool   --mode=install /usr/bin/install -c   libeedi3.la libmiscfilters.la libmorpho.la libremovegrain.la libvinverse.la libvivtc.la '/usr/local/lib/vapoursynth'
libtool: install: /usr/bin/install -c .libs/libeedi3.so /usr/local/lib/vapoursynth/libeedi3.so
libtool: install: /usr/bin/install -c .libs/libeedi3.lai /usr/local/lib/vapoursynth/libeedi3.la
libtool: install: /usr/bin/install -c .libs/libmiscfilters.so /usr/local/lib/vapoursynth/libmiscfilters.so
libtool: install: /usr/bin/install -c .libs/libmiscfilters.lai /usr/local/lib/vapoursynth/libmiscfilters.la
libtool: install: /usr/bin/install -c .libs/libmorpho.so /usr/local/lib/vapoursynth/libmorpho.so
libtool: install: /usr/bin/install -c .libs/libmorpho.lai /usr/local/lib/vapoursynth/libmorpho.la
libtool: install: /usr/bin/install -c .libs/libremovegrain.so /usr/local/lib/vapoursynth/libremovegrain.so
libtool: install: /usr/bin/install -c .libs/libremovegrain.lai /usr/local/lib/vapoursynth/libremovegrain.la
libtool: install: /usr/bin/install -c .libs/libvinverse.so /usr/local/lib/vapoursynth/libvinverse.so
libtool: install: /usr/bin/install -c .libs/libvinverse.lai /usr/local/lib/vapoursynth/libvinverse.la
libtool: install: /usr/bin/install -c .libs/libvivtc.so /usr/local/lib/vapoursynth/libvivtc.so
libtool: install: /usr/bin/install -c .libs/libvivtc.lai /usr/local/lib/vapoursynth/libvivtc.la
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /usr/local/lib/vapoursynth
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib/vapoursynth

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
 /bin/mkdir -p '/usr/local/lib/python3.8/site-packages'
 /bin/bash ./libtool   --mode=install /usr/bin/install -c   vapoursynth.la '/usr/local/lib/python3.8/site-packages'
libtool: warning: relinking 'vapoursynth.la'
libtool: install: (cd /home/rich/Programme/vapoursynth; /bin/bash "/home/rich/Programme/vapoursynth/libtool"  --silent --tag CC --tag disable-static --mode=relink gcc -std=c99 -O3 -fvisibility=hidden -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-ignored-attributes -I./include -mfpmath=sse -msse2 -fvisibility=default -Wno-implicit-fallthrough -avoid-version -module -o vapoursynth.la -rpath /usr/local/lib/python3.8/site-packages src/cython/vapoursynth_la-vapoursynth.lo libvapoursynth.la )
libtool: install: /usr/bin/install -c .libs/vapoursynth.soT /usr/local/lib/python3.8/site-packages/vapoursynth.so
libtool: install: /usr/bin/install -c .libs/vapoursynth.lai /usr/local/lib/python3.8/site-packages/vapoursynth.la
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /usr/local/lib/python3.8/site-packages
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib/python3.8/site-packages

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
 /bin/mkdir -p '/usr/local/lib/pkgconfig'
 /usr/bin/install -c -m 644 pc/vapoursynth.pc pc/vapoursynth-script.pc '/usr/local/lib/pkgconfig'
 /bin/mkdir -p '/usr/local/include/vapoursynth'
 /usr/bin/install -c -m 644 include/VapourSynth.h include/VSHelper.h include/VSScript.h '/usr/local/include/vapoursynth'
make[1]: Leaving directory '/home/rich/Programme/vapoursynth'

Re: Problem with Svp4linux / choppy playback

ihave tried on a fresh installation of ubuntu linux 20.04 with triple monitor setup and can confirm that this issue is occuring also there

here is some log maybe it can be useful for ruther development?


thank you
(ryzen 5 2600, rx560, open-source drivers)

19:52:25.333 [i]: Main: starting up SVP 4 Linux [4.3.0.183]... 
19:52:25.334 [i]: Main: args: none
19:52:25.334 [i]: Main: working dir is /home/rich/SVP 4/
19:52:25.334 [i]: Main: data dir set to /home/rich/.local/share/SVP4/
19:52:25.335 [W]: Settings: creating reg.cfg with default values
19:52:25.335 [i]: Settings: loading reg.cfg OK
19:52:25.335 [i]: Settings: loading main.cfg OK
19:52:25.335 [W]: Settings: creating ui.cfg with default values
19:52:25.335 [i]: Settings: loading ui.cfg OK
19:52:25.335 [W]: Settings: creating frc.cfg with default values
19:52:25.335 [i]: Settings: loading frc.cfg OK
19:52:25.336 [W]: Settings: creating profiles.cfg with default values
19:52:25.336 [i]: Settings: loading profiles.cfg OK
19:52:25.336 [i]: Settings: loading custom.cfg OK
19:52:25.336 [W]: Settings: creating lights.cfg with default values
19:52:25.336 [i]: Settings: loading lights.cfg OK
19:52:25.336 [i]: Main: using Qt 5.12.5 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 9.2.1 20200228)
19:52:25.337 [i]: Main: device scale is 1, user defined scale is 1
19:52:25.337 [i]: Main: system locale is [en]
19:52:25.338 [i]: Main: preferred language is [en-us]
19:52:25.340 [i]: Main: setting language file to en.qm...
19:52:25.342 [i]: Main: module 'plugins/libsvpflow1_vs64.so': 4.3.0.156
19:52:25.342 [i]: Main: module 'plugins/libsvpflow2_vs64.so': 4.3.0.168
19:52:25.349 [i]: Main: VLC filter (64 bit): 1.0.0.182
19:52:25.349 [i]: Main: running OpenCL info...
19:52:25.355 [i]: Main: collecting system information...
19:52:25.359 [i]: OS: Linux 5.4.0-18-generic #22-Ubuntu SMP Sat Mar 7 18:13:06 UTC 2020 x86_64
19:52:25.382 [i]: Desktop environment:  / ubuntu / ubuntu:gnome
19:52:25.404 [i]: CPU: AMD Ryzen 5 2600 Six-Core [base frequency 1433 MHz, 12 threads]
19:52:25.404 [i]: Video: reading OpenCL info...
19:52:25.404 [W]: Video: zero number of OpenCL platforms.
19:52:25.406 [i]: Memory:  32092  MB total,  29981 MB free
19:52:25.407 [i]: System: finding network settings...
19:52:25.434 [i]: Screens: updating information, 3 screen(s) found
19:52:25.434 [i]: Screens: screen 0 (DisplayPort-0) - 1680x1050 @60.000 Hz, x1.0 [89 DPI]
19:52:25.434 [i]: Screens: screen 1 (HDMI-A-0) - 1280x1024 @75.000 Hz, x1.0 [86 DPI]
19:52:25.434 [i]: Screens: screen 2 (DVI-D-0) - 1280x1024 @60.000 Hz, x1.0 [86 DPI]
19:52:25.434 [i]: Screens: primary screen is 0
19:52:25.461 [i]: Main: preparing video profiles...
19:52:25.501 [i]: Main: preparing performance graphs...
19:52:25.546 [i]: Main: preparing mpv...
19:52:25.561 [i]: Main: preparing remote control...
19:52:25.562 [i]: RemoteControl: started
19:52:25.562 [i]: Main: preparing main menu...
19:52:25.585 [i]: Main: loading extensions...
19:52:25.591 [i]: Extensions: found svpcast 1.1.0.184 ...
19:52:25.591 [W]: Settings: creating cast.cfg with default values
19:52:25.591 [i]: Settings: loading cast.cfg OK
19:52:25.596 [i]: Streaming: Web UI listening on http://127.0.0.1:9900
19:52:25.604 [i]: Extensions: found svpcode 1.0.0.184 ...
19:52:25.605 [W]: Settings: creating code.cfg with default values
19:52:25.605 [i]: Settings: loading code.cfg OK
19:52:25.625 [i]: Extensions: found svplight 2.0.0.168 ...
19:52:25.626 [W]: Settings: creating leds.cfg with default values
19:52:25.626 [i]: Settings: loading leds.cfg OK
19:52:25.645 [i]: Extensions: found svptube 2.1.0.174 ...
19:52:25.646 [W]: Settings: creating tube.cfg with default values
19:52:25.646 [i]: Settings: loading tube.cfg OK
19:52:25.652 [i]: Tube: initializing youtube_dl...
19:52:25.719 [i]: Main: initialization completed in 365 ms
19:52:25.781 [i]: Updates: checking now...
19:52:25.902 [i]: Streaming: Web UI listening on http://192.168.1.86:9900
19:52:26.346 [i]: Updates: found updates for: ext.cast
19:52:26.636 [i]: Tube: youtube_dl ready
19:52:28.388 [i]: Performance: quick estimation = 725 (previous value was 0)
19:52:40.482 [i]: Performance: motion vectors estimation = 4490
19:52:50.993 [i]: Performance: CPU-based frame rendering = 7380
19:53:22.238 [i]: Tube: video format id 247 selected
 (+) Video --vid=1 (*) (vp9 1280x720 25.000fps)
 (+) Audio --aid=1 --alang=eng (*) 'videoplayback?expire=1585612397&ei=DTKCXuO0LJym1gLLnbPwCg&ip=151.62.7.188&id=o-AMc04tIHWx0U3HUG3_XR7HS_IoDQhFeVkQ-sT6RZBRFU&itag=251&source=youtube&requiressl=yes&mh=M2&mm=31%2C29&mn=sn-fpoq-4age%2Csn-hpa7kn7e&ms=au%2Crdu&mv=m&mvi=1&pl=16&initcwndbps=1001250&vprv=1&mime=audio%2Fwebm&gir=yes&clen=29509916&dur=2042.701&lmt=1577405652886051&mt=1585590689&fvip=3&keepalive=yes&c=WEB&txp=5531432&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=ADKhkGMwRQIgI_FNEEvsikILPPofXxXno_dpEj8_NWdPTVR_GEHEIMUCIQD0qs1UGKHPT1GILzbQEAUPXJLuByrUhgPPWm_cKieTTQ%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=ABSNjpQwRgIhAPjV3iq95Br18hzeeMkB7LsVmqIfqMnSGOJvAezcxXDGAiEA1tAYFyRW40Vz3uxBsycnOb-5tc-ADJ2JTBuBx_DKxMc%3D&ratebypass=yes' (opus 2ch 48000Hz) (external)
19:53:22.582 [i]: VideoPlayer: mpv [mpv] connected, waiting for the video info...
AO: [pulse] 48000Hz stereo 2ch float
VO: [gpu] 1280x720 yuv420p
19:53:23.138 [i]: VideoPlayer: mpv 0.32.0-321-gc8e5a615e9
19:53:23.646 [i]: Media: video looks like some kind of stream
19:53:23.646 [i]: Media: video 1280x720 [PAR 1.000] at 25.000 fps [constant] (via video player)
19:53:23.646 [i]: Media: codec type is vp9 (Google VP9), YUV420P, BT.709 BT.1886
19:53:23.705 [i]: Playback: starting up...
19:53:23.711 [i]: Playback [3f816e9f]: resulting video frame 1280x720
19:53:23.712 [i]: Playback [3f816e9f]: 1 acceptible profiles, best is 'Automatic' [0]
19:53:23.716 [i]: Playback [3f816e9f]: enabled while video is playing
19:53:23.717 [i]: Profile: using automatic profile #1 /film
19:53:23.723 [i]: Playback [3f816e9f]: playing at 60 [25 *12/5] 
19:53:23.724 [i]: Profile: using automatic profile #1 /film
19:53:23.729 [i]: Playback [3f816e9f]: playing at 60 [25 *12/5] 
19:53:23.729 [i]: Profile: using automatic profile #1 /film
19:53:23.735 [i]: Playback [3f816e9f]: playing at 60 [25 *12/5] 
19:53:23.784 [i]: Profile: using automatic profile #1 /film
19:53:23.790 [i]: Playback [3f816e9f]: playing at 60 [25 *12/5] 
Audio device underrun detected.
19:53:25.186 [i]: Playback [3f816e9f]: black fields changed to TB: 40-40, LR: 0-0
19:53:25.186 [i]: Playback [3f816e9f]: resulting video frame 1280x640 [1280x720 -> cropped -> 1280x640]
19:53:25.186 [i]: Playback [3f816e9f]: 1 acceptible profiles, best is 'Automatic' [0]
19:53:25.187 [i]: Playback [3f816e9f]: keep previously selected profile 'Automatic'
19:53:25.187 [i]: Profile: using automatic profile #1 /film
19:53:25.189 [i]: Playback [3f816e9f]: playing at 60 [25 *12/5] 
Option vf-del: -del is deprecated! Use -remove (removes by content instead of by index).
VO: [gpu] 1280x640 yuv420p
19:53:28.925 [i]: Profile: using automatic profile #1 /film
19:53:28.949 [i]: Playback [3f816e9f]: playing at 60 [25 *12/5] 
Option vf-del: -del is deprecated! Use -remove (removes by content instead of by index).
VO: [gpu] 1280x720 yuv420p
VO: [gpu] 1280x640 yuv420p
19:54:01.698 [i]: Playback [3f816e9f]: video player moved to screen 1
19:54:01.698 [i]: Playback [3f816e9f]: resulting video frame 1280x640 [1280x720 -> cropped -> 1280x640]
19:54:01.698 [i]: Playback [3f816e9f]: 1 acceptible profiles, best is 'Automatic' [0]
19:54:01.698 [i]: Playback [3f816e9f]: keep previously selected profile 'Automatic'
19:54:01.699 [i]: Profile: using automatic profile #1 /film
19:54:01.714 [i]: Playback [3f816e9f]: playing at 75 [25 *3/1] 
VO: [gpu] 1280x560 yuv420p
19:54:05.512 [i]: Playback [3f816e9f]: black fields changed to TB: 0-0, LR: 0-0
19:54:05.512 [i]: Playback [3f816e9f]: resulting video frame 1280x720
19:54:05.512 [i]: Playback [3f816e9f]: 1 acceptible profiles, best is 'Automatic' [0]
19:54:05.512 [i]: Playback [3f816e9f]: keep previously selected profile 'Automatic'
19:54:05.512 [i]: Profile: using automatic profile #1 /film
19:54:05.513 [i]: Playback [3f816e9f]: playing at 75 [25 *3/1] 

Audio/Video desynchronisation detected! Possible reasons include too slow
hardware, temporary CPU spikes, broken drivers, and broken files. Audio
position will not match to the video (see A-V status field).

[ffmpeg] https: Will reconnect at 18841472 in 0 second(s), error=End of file.
[ffmpeg] https: Will reconnect at 20954992 in 0 second(s), error=End of file.

Exiting... (Quit)
19:54:37.218 [i]: Playback [3f816e9f]: disabled while video is playing
19:54:37.225 [i]: Playback [3f816e9f]: deleted
19:54:59.982 [i]: Tube: video format id 136 selected
19:55:00.220 [i]: VideoPlayer: mpv [mpv] connected, waiting for the video info...
 (+) Video --vid=1 (*) (h264 1280x720 25.000fps)
 (+) Audio --aid=1 (*) 'videoplayback?expire=1585612496&ei=cDKCXu2gG5Wy1wKkuYmgAg&ip=151.62.7.188&id=o-AA5VyvdqQT-TOqh_AQIK2KurULVNSo-5xGn2ixZLvyyM&itag=140&source=youtube&requiressl=yes&mh=HZ&mm=31%2C29&mn=sn-fpoq-4age%2Csn-hpa7kn7s&ms=au%2Crdu&mv=m&mvi=0&pl=16&initcwndbps=1021250&vprv=1&mime=audio%2Fmp4&gir=yes&clen=15014949&dur=927.730&lmt=1569074977144860&mt=1585590809&fvip=6&keepalive=yes&c=WEB&txp=5531432&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=ADKhkGMwRQIhAJoDPwf023tGH5ai9vMjtt8Ikm7MDgfhyLFKjaRL2f4dAiAtnZtDagTjCjt4pnpxMaAOPo-liazZXvKBUPC__2rbRw%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=ABSNjpQwRgIhAIj72X55v8pwYNzQnllWUgaOc3aBr6k4AwbMpZHwWPpTAiEAntoDNlDXXnY-nCv1uglk62hoI084044ZQMYaclMBnYU%3D&ratebypass=yes' (aac 2ch 44100Hz) (external)
AO: [pulse] 44100Hz stereo 2ch float
VO: [gpu] 1280x720 yuv420p
19:55:00.749 [i]: VideoPlayer: mpv 0.32.0-321-gc8e5a615e9
19:55:01.285 [i]: Media: video looks like some kind of stream
19:55:01.285 [i]: Media: video 1280x720 [PAR 1.000] at 25.000 fps [constant] (via video player)
19:55:01.285 [i]: Media: codec type is h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10), YUV420P, BT.709 BT.1886
19:55:01.328 [i]: Playback: starting up...
19:55:01.332 [i]: Playback [d5e603aa]: resulting video frame 1280x720
19:55:01.332 [i]: Playback [d5e603aa]: 1 acceptible profiles, best is 'Automatic' [0]
19:55:01.333 [i]: Playback [d5e603aa]: enabled while video is playing
19:55:01.334 [i]: Profile: using automatic profile #1 /film
19:55:01.339 [i]: Playback [d5e603aa]: playing at 60 [25 *12/5] 
19:55:08.590 [i]: Playback [d5e603aa]: video player moved to screen 2
19:55:08.590 [i]: Playback [d5e603aa]: resulting video frame 1280x720
19:55:08.590 [i]: Playback [d5e603aa]: 1 acceptible profiles, best is 'Automatic' [0]
19:55:08.590 [i]: Playback [d5e603aa]: keep previously selected profile 'Automatic'
19:55:08.591 [i]: Profile: using automatic profile #1 /film
19:55:08.597 [i]: Playback [d5e603aa]: playing at 60 [25 *12/5] 

Audio/Video desynchronisation detected! Possible reasons include too slow
hardware, temporary CPU spikes, broken drivers, and broken files. Audio
position will not match to the video (see A-V status field).

[ffmpeg] https: Will reconnect at 8372176 in 0 second(s), error=End of file.
[ffmpeg/demuxer] mov,mp4,m4a,3gp,3g2,mj2: Packet corrupt (stream = 0, dts = 22808576).

Exiting... (Quit)
19:55:40.445 [i]: Playback [d5e603aa]: disabled while video is playing
19:55:40.447 [i]: Playback [d5e603aa]: deleted
19:56:13.621 [i]: Main: finished cleaning resources

Re: Problem with Svp4linux / choppy playback

Hello ,

i have updated to your latest .191 version,

and the problem is still persisting.

with 2 monitors 19inch attached , both 1280x1024 resolution, one æ75hertz, other æ60hertz,

the following occurs:


when starting video via svptube on monitor 1 (75hz) the video plays normally and gets upscaled to 75fps i presume.
svp4linux shows around 20% cpu;
when the mpv window is moved to monitor 2 (60hz) the video gets downscaled to 60fps i presume, and after short seconds the playback is choppy and cpu spikes up to around 85% and playback continues very choppy.
this happens with vp9 or av1 codec and also others i assume.

 00:19:25.186 [i]: Main: starting up SVP 4 Linux [4.3.0.191]... 
00:19:25.186 [i]: Main: args: none
00:19:25.186 [i]: Main: working dir is /home/rich/SVP 4/
00:19:25.187 [i]: Main: data dir set to /home/rich/.local/share/SVP4/
00:19:25.187 [i]: Settings: loading reg.cfg OK
00:19:25.187 [i]: Settings: loading main.cfg OK
00:19:25.187 [i]: Settings: loading ui.cfg OK
00:19:25.188 [i]: Settings: loading frc.cfg OK
00:19:25.188 [i]: Settings: loading profiles.cfg OK
00:19:25.188 [i]: Settings: loading custom.cfg OK
00:19:25.188 [i]: Settings: loading lights.cfg OK
00:19:25.188 [i]: Main: using Qt 5.12.8 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 9.3.0)
00:19:25.189 [i]: Main: device scale is 1, user defined scale is 1
00:19:25.189 [i]: Main: system locale is [en-gb]
00:19:25.191 [i]: Main: setting language file to en.qm...
00:19:25.193 [i]: Main: module 'plugins/libsvpflow1_vs64.so': 4.3.0.156
00:19:25.193 [i]: Main: module 'plugins/libsvpflow2_vs64.so': 4.3.0.168
00:19:25.194 [i]: Main: VLC filter (64 bit): 1.0.0.182
00:19:25.194 [i]: Main: running OpenCL info...
00:19:25.200 [i]: Main: collecting system information...
00:19:25.204 [i]: OS: Linux 5.4.0-26-generic #30-Ubuntu SMP Mon Apr 20 16:58:30 UTC 2020 x86_64
00:19:25.221 [i]: Desktop environment:  / ubuntu / ubuntu:gnome
00:19:25.244 [i]: CPU: AMD Ryzen 5 2600 Six-Core [base frequency 2099 MHz, 12 threads]
00:19:25.244 [i]: Video: reading OpenCL info...
00:19:25.244 [W]: Video: zero number of OpenCL platforms.
00:19:25.246 [i]: Memory:  32092  MB total,  29526 MB free
00:19:25.247 [i]: System: finding network settings...
00:19:25.275 [i]: Screens: updating information, 2 screen(s) found
00:19:25.275 [i]: Screens: screen 0 (DisplayPort-0) - 1280x1024 @75.000 Hz, x1.0 [86 DPI]
00:19:25.275 [i]: Screens: screen 1 (DVI-D-0) - 1280x1024 @60.000 Hz, x1.0 [86 DPI]
00:19:25.275 [i]: Screens: primary screen is 0
00:19:25.361 [i]: Main: preparing video profiles...
00:19:25.475 [i]: Main: preparing performance graphs...
00:19:25.534 [i]: Main: preparing mpv...
00:19:25.553 [i]: Main: preparing remote control...
00:19:25.554 [i]: RemoteControl: started
00:19:25.554 [i]: Main: preparing main menu...
00:19:25.599 [i]: Main: loading extensions...
00:19:25.605 [i]: Extensions: found svpcast 1.1.0.191 ...
00:19:25.605 [i]: Settings: loading cast.cfg OK
00:19:25.611 [i]: Streaming: Web UI listening on http://127.0.0.1:9900
00:19:25.640 [i]: Extensions: found svpcode 1.0.0.190 ...
00:19:25.641 [i]: Settings: loading code.cfg OK
00:19:25.657 [i]: Extensions: found svplight 2.0.0.190 ...
00:19:25.658 [i]: Settings: loading leds.cfg OK
00:19:25.679 [i]: Extensions: found svptube 2.1.0.191 ...
00:19:25.679 [i]: Settings: loading tube.cfg OK
00:19:25.698 [i]: Tube: initializing youtube_dl...
00:19:25.788 [i]: Main: initialization completed in 589 ms
00:19:25.840 [i]: Updates: checking now...
00:19:25.862 [i]: Streaming: Web UI listening on http://192.168.1.83:9900
00:19:26.527 [i]: Tube: youtube_dl ready
00:19:28.330 [i]: Performance: quick estimation = 726 (previous value was 722)
00:19:42.621 [i]: Tube: video format id 136 selected
 (+) Video --vid=1 (*) (h264 1280x720 25.000fps)
 (+) Audio --aid=1 --alang=eng (*) 'videoplayback?expire=1587701980&ei=fBSiXtPLMMq71gKq45oo&ip=151.95.232.142&id=o-AIXVEiAJI_gDwWyhX0AtDcwTVQMF6xGIIHqjsZTJrS1D&itag=140&source=youtube&requiressl=yes&mh=Ql&mm=31%2C26&mn=sn-fpoq-hm2s%2Csn-1gieen7e&ms=au%2Conr&mv=m&mvi=0&pcm2cms=yes&pl=16&initcwndbps=671250&vprv=1&mime=audio%2Fmp4&gir=yes&clen=12391217&dur=765.608&lmt=1587659858690074&mt=1587680314&fvip=1&keepalive=yes&c=WEB&txp=6211222&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=AJpPlLswRgIhANZaj9WXdQiiejYoWGxtX2kBTd9hbSQJV7tP6uuUpKqyAiEA4drfo3NV3jGhLOaMetSIAXcl2wnluWBVpPjJd5a4uI0%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpcm2cms%2Cpl%2Cinitcwndbps&lsig=ALrAebAwRAIgUstkioZNFEpwboP6biCWG22H4KEpAiSyE8Nbszna4A8CIC5ZASivHVpW6_tWprBi-cMMQPf0WqfF2ELZ4HMRyGYX&ratebypass=yes' (aac 2ch 44100Hz) (external)
00:19:42.980 [i]: VideoPlayer: mpv [mpv] connected, waiting for the video info...
mesa: for the   --simplifycfg-sink-common option: may only occur zero or one times!
mesa: for the   --global-isel-abort option: may only occur zero or one times!
AO: [pulse] 44100Hz stereo 2ch float
Using hardware decoding (vdpau-copy).
VO: [gpu] 1280x720 nv12
00:19:43.494 [i]: VideoPlayer: mpv 0.32.0-352-g530a0863b8 /via '/tmp/mpvsocket'
00:19:44.002 [i]: Media: video looks like some kind of stream
00:19:44.002 [i]: Media: video 1280x720 [PAR 1.000] at 25.000 fps [constant] (via video player)
00:19:44.002 [i]: Media: codec type is h264 (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10), NV12, BT.709 BT.1886
00:19:44.007 [i]: Playback: starting up...
00:19:44.024 [i]: Playback [511c653a]: resulting video frame 1280x720
00:19:44.024 [i]: Playback [511c653a]: 1 acceptible profiles, best is 'Automatic' [0]
00:19:44.028 [i]: Playback [511c653a]: enabled while video is playing
00:19:44.028 [i]: Profile: using automatic profile #1 /film
00:19:44.034 [i]: Playback [511c653a]: playing at 75 [25 *3/1] 
[autoconvert] Converting nv12 -> yuv420p
Audio device underrun detected.
VO: [gpu] 1280x720 yuv420p
00:19:52.536 [i]: Playback [511c653a]: video player moved to screen 1
00:19:52.536 [i]: Playback [511c653a]: resulting video frame 1280x720
00:19:52.537 [i]: Playback [511c653a]: 1 acceptible profiles, best is 'Automatic' [0]
00:19:52.537 [i]: Playback [511c653a]: keep previously selected profile 'Automatic'
00:19:52.537 [i]: Profile: using automatic profile #1 /film
00:19:52.545 [i]: Playback [511c653a]: playing at 60 [25 *12/5] 

Audio/Video desynchronisation detected! Possible reasons include too slow
hardware, temporary CPU spikes, broken drivers, and broken files. Audio
position will not match to the video (see A-V status field).

[ffmpeg/demuxer] mov,mp4,m4a,3gp,3g2,mj2: Packet corrupt (stream = 0, dts = 17093632).
[ffmpeg] https: Will reconnect at 14745488 in 0 second(s), error=Input/output error.
[ffmpeg/demuxer] mov,mp4,m4a,3gp,3g2,mj2: Packet corrupt (stream = 0, dts = 1828352).
[ffmpeg] NULL: Invalid NAL unit size (5148 > 4237).
[ffmpeg] NULL: missing picture in access unit with size 4241

Exiting... (Quit)
00:20:24.422 [i]: Playback [511c653a]: disabled while video is playing
00:20:24.428 [i]: Playback [511c653a]: deleted
00:20:25.901 [i]: Main: finished cleaning resources

Re: Problem with Svp4linux / choppy playback

unfortunately i cannot install the AMD proprietary driver as they are not available for Ubuntu 20.04 yet.
am a bit wondering why this happens as several people have said that opensource should be better performing than the proprietary drivers but certainly there is here a issue with driver or on the software side vaporsynth - mpv - or svp4linux.
Thank you very much.