1 (edited by Isengard 02-10-2019 09:51:50)

Topic: SVP Cast Not Working On LInux - Problem Found

Using 19.04 and  mpv compiled with vapoursynth/nvenc from the latest git.

This is the command executed by SVPCast:

 /usr/bin/mpv /home/user/test.mkv --no-audio --no-sub --no-sub-auto --input-ipc-server=/tmp/mpvencodesocket --input-media-keys=no --vf=vapoursynth:/home/user/.local/share/SVP4/scripts/ffff.py:4:2 --ofps 60.000 --of=matroska --ovc=h264_nvenc --ovcopts=b=15115485,preset=slow,profile=high,rc=vbr_hq,maxrate=19650131,bufsize=30230970,threads=16
11:22:44.587: Option --ofps was removed: no replacement 
11:22:44.588: Error parsing option ofps (option not found)
11:22:44.588: Setting commandline option --ofps= failed.
11:22:44.588: Exiting... (Fatal error)

--ofps has been deprecated for over a year now, it was replaced by --vf-add=fps=CFR

The command works with the correct parameters, any chance you guys could slide that into the next update?

Thanks for your amazing work on this beast of an app btw.

Re: SVP Cast Not Working On LInux - Problem Found

> --ofps has been deprecated for over a year now

yeah, we're aware wink this's why SVP detects mpv version and uses correct cli interface in each case

run 'mpv --version'

Re: SVP Cast Not Working On LInux - Problem Found

btw you can manually put "0.29" into main.setup.mpv.version in All settings

4 (edited by Isengard 02-10-2019 10:24:19)

Re: SVP Cast Not Working On LInux - Problem Found

Ah, cool!
I changed the version value  to 0.29 in the settings, but --ofps still seems to be issued.

I've also tried with an older 0.28 build of mine, but the same error occurs.

mpv 0.28.0-627-gc75f98e Copyright © 2000-2018 mpv/MPlayer/mplayer2 projects
 built on Thu Jul  5 17:09:34 EDT 2018
ffmpeg library versions:
   libavutil       56.18.102
   libavcodec      58.21.104
   libavformat     58.17.101
   libswscale      5.2.100
   libavfilter     7.25.100
   libswresample   3.2.100
ffmpeg version: N-91432-g9807d39

SVP detected the mpv versions correctly, when I switched between 0.28 and 0.29, but --ofps was still used with both.
I just checked and it seems 0.27 was the first iteration to deprecate it.

Re: SVP Cast Not Working On LInux - Problem Found

you're obviously using some older version of SVP
the command line from the first post is not possible since May 2018

Re: SVP Cast Not Working On LInux - Problem Found

>you're obviously using some older version of SVP

Yeah, I'm using an older install, but I've issued an update with the add new features tool.
Ah, do you think the update only upgraded certain code and left the one that's causing the error out?

I'll purge this, do a fresh install and get back to you. (good catch btw)