Topic: transcoding broke after update

it worked fine before, then after I updated svp components and I get this error

10:31:42.828: ===== Starting mpv ======
10:31:42.828: Command line: C:\Program Files (x86)\SVP 4\mpv64\mpv.exe C:/Users/toasted/Downloads/kfc.mp4 --o=C:/Users/toasted/Downloads/kfc.SVP.temporary.mkv --no-audio --no-sub --no-sub-auto --input-ipc-server=mpvencodepipe --input-media-keys=no --no-msg-color --vf=vapoursynth::4:6 --of=matroska --ovc=h264_nvenc --ovcopts=b=15560058,preset=slow,profile=high,rc=vbr,maxrate=20228075,bufsize=31120116,time_base=1000/0,threads=5
10:31:42.955: (+) Video --vid=1 (*) (h264 1280x720 30.000fps)
10:31:42.955: Audio --aid=1 (*) (aac 2ch 44100Hz)
10:31:42.955: [vapoursynth] 'file' parameter must be set.
10:31:42.955: [user_filter_wrapper] Creating filter 'vapoursynth' failed.
10:31:42.956: [vo/lavc] error encoding at EOF
10:31:42.956: Video: no video
10:31:42.956: No video or audio streams selected.
10:31:42.956: [encode] no data written to target file
10:31:42.956: Exiting... (Interrupted by error)
10:31:42.956: (!!!) Intermediate file may be broken: C:\Users\toasted\Downloads\kfc.SVP.temporary.mkv
10:31:42.956: ===== mpv exited with code 2 =====

reinstalling didn't fix

Re: transcoding broke after update

looks strange
what's in the SVP's events log?
does normal playback works, especially via mpv?

3 (edited by toastedguy1233 21-08-2022 20:24:31)

Re: transcoding broke after update

Chainik wrote:

looks strange
what's in the SVP's events log?
does normal playback works, especially via mpv?

normal playback works with mpv, svp only activates with mpc64 doesn't work with mpv or vlc as of updating
heres the event log

16:13:03.848 [i]: Main: starting up SVP 4 Pro [4.5.0.214]... 
16:13:03.850 [i]: Main: args: none
16:13:03.850 [i]: Main: working dir is C:\Program Files (x86)\SVP 4\
16:13:03.851 [i]: Main: data dir set to C:\Users\toasted\AppData\Roaming\SVP4\
16:13:03.857 [i]: Settings: loading main.cfg OK
16:13:03.862 [i]: Settings: loading ui.cfg OK
16:13:03.867 [i]: Settings: loading frc.cfg OK
16:13:03.872 [i]: Settings: loading profiles.cfg OK
16:13:03.877 [i]: Settings: loading custom.cfg OK
16:13:03.881 [i]: Settings: loading lights.cfg OK
16:13:03.881 [i]: Main: using Qt 5.15.1 (i386-little_endian-ilp32 shared (dynamic) release build; by MSVC 2019)
16:13:03.882 [i]: Main: device scale is 1.25001, user defined scale is 0
16:13:03.895 [i]: Main: system locale is [en]
16:13:03.895 [i]: Main: preferred language is [en-us]
16:13:03.897 [i]: Main: setting language file to en.qm...
16:13:03.908 [i]: Main: collecting system information...
16:13:03.971 [i]: Main: module 'plugins/svpflow1.dll': 4.5.0.200
16:13:03.996 [i]: Main: module 'plugins/svpflow2.dll': 4.5.0.211
16:13:04.063 [i]: Main: module 'plugins64/svpflow1.dll': 4.5.0.200
16:13:04.122 [i]: Main: module 'plugins64/svpflow2.dll': 4.5.0.212
16:13:04.166 [i]: Main: module 'plugins64/svpflow1_vs.dll': 4.5.0.200
16:13:04.211 [i]: Main: module 'plugins64/svpflow2_vs.dll': 4.5.0.214
16:13:04.243 [i]: Main: VLC filter (64 bit): 1.0.0.190
16:13:04.244 [i]: Main: PYTHONPATH is C:\Program Files (x86)\SVP 4\mpv64
16:13:04.256 [i]: OS: Windows 10 [10.0.19044]
16:13:04.257 [i]: CPU: Intel Core i5-9400 [base frequency 2904 MHz, 6 threads]
16:13:04.258 [i]: Video: registry info - NVIDIA GeForce RTX 2060
16:13:04.258 [i]: Video: reading OpenCL info...
16:13:04.350 [i]: Video: 1 GPU OpenCL device(s) on NVIDIA CUDA [OpenCL 3.0 CUDA 11.7.99] (NVIDIA Corporation)
16:13:04.351 [i]: Video 1: NVIDIA GeForce RTX 2060 (NVIDIA Corporation, ver.516.59) [gpuID=11]: OK
16:13:04.351 [i]: Video 1: may support NV Optical Flow (Compute capability: 7.5)
16:13:04.351 [i]: Memory:  16326  MB total,  9966 MB free
16:13:04.351 [i]: System: finding network settings...
16:13:04.642 [i]: Power: AC is ON [1]
16:13:05.012 [i]: Screens: updating information, 1 screen(s) found
16:13:06.514 [i]: Main: preparing video profiles...
16:13:06.702 [i]: Main: preparing performance graphs...
16:13:06.983 [i]: Main: preparing ffdshow...
16:13:07.165 [i]: ffdshow: found 32-bit version 1.3.4533.0 [C:\Program Files (x86)\ffdshow\ffdshow.ax]
16:13:07.251 [i]: ffdshow: found 64-bit version 1.3.4533.0 [C:\Program Files\ffdshow\ffdshow.ax]
16:13:07.275 [i]: Main: preparing AviSynthFilter (AVSF)...
16:13:07.323 [i]: AVSF: found 32-bit version 1.4.3.0 [C:\Program Files (x86)\SVP 4\avsf\avisynth_filter_32.ax]
16:13:07.450 [i]: AVSF: found 64-bit version 1.4.3.0 [C:\Program Files (x86)\SVP 4\avsf\avisynth_filter_64.ax]
16:13:07.451 [i]: Main: preparing mpv...
16:13:07.452 [i]: Main: preparing remote control...
16:13:07.452 [i]: RemoteControl: started
16:13:07.453 [i]: Main: preparing main menu...
16:13:07.557 [i]: Main: loading extensions...
16:13:07.588 [i]: Extensions: found svpcode 1.1.0.210 ...
16:13:07.615 [i]: Settings: loading code.cfg OK
16:13:07.736 [i]: Extensions: found svptube 2.1.0.221 ...
16:13:07.882 [i]: Settings: loading tube.cfg OK
16:13:07.898 [i]: Tube: initializing youtube_dl...
16:13:08.020 [i]: Main: initialization completed in 4117 ms, but still waiting for the screens measurement...
16:13:08.254 [i]: Screens: screen 0 - 1920x1080 @59.996 Hz [measured], x1.3 [101 DPI]
16:13:08.254 [i]: Screens: primary screen is 0
16:13:08.385 [i]: Updates: checking now...
16:13:10.860 [i]: Performance: quick estimation = 740 (previous value was 747)
16:13:19.551 [i]: Tube: youtube_dl ready
16:13:33.032 [i]: VideoPlayer: mpv [mpv.exe] connected, waiting for the video info...
16:13:33.900 [i]: VideoPlayer: mpv 0.34.0-325-g602995fd40 /via 'mpvpipe'
16:13:35.343 [i]: Media: video 960x540 [PAR 1.000] at 30.000 fps
16:13:35.343 [i]: Media: codec type is AVC, YUV/4:2:0/8 bits/BT.601 PAL BT.601
16:13:35.366 [i]: Playback: ignoring too short clip (5 secs)
16:13:39.756 [W]: PlaybackObjectsCollection: id not exist
16:14:00.574 [i]: Media: video 960x540 [PAR 1.000] at 30.000 fps
16:14:00.574 [i]: Media: codec type is AVC, YUV/4:2:0/8 bits/BT.601 PAL BT.601
16:14:00.580 [i]: Transcoder: Frame server (64-bit) C:\Program Files (x86)\SVP 4\mpv64\vapoursynth.dll
16:14:00.581 [i]: Transcoder: resulting video frame 960x540
16:14:00.581 [i]: Transcoder: 2 acceptible profiles, best is 'smooth' [0]
16:14:00.750 [E]: Script: override.js:26 - SyntaxError: Expected token `,'
16:14:00.761 [E]: Script: is in invalid state
16:14:02.378 [i]: Transcoder: enabled while video is stopped
16:14:02.379 [E]: Script: is in invalid state
16:14:02.394 [i]: Transcoder: source file size: 0.0 GB
16:14:02.395 [i]: Transcoder: free space: 1233.1 GB
16:14:02.523 [E]: Transcoder: VS - 'file' parameter must be set.
16:14:02.538 [E]: Transcoder: mpv failed with code 2
16:14:02.540 [i]: Code: all jobs done
16:14:03.845 [i]: Transcoder: disabled while video is stopped
16:14:03.862 [i]: Transcoder: deleted
16:23:37.403 [i]: VideoPlayer: mpv [mpv.exe] connected, waiting for the video info...
16:23:37.913 [i]: VideoPlayer: mpv 0.34.0-325-g602995fd40 /via 'mpvpipe'
16:23:38.493 [i]: Media: video 1280x720 [PAR 1.000] at 60.000 fps [variable]
16:23:38.493 [i]: Media: codec type is AVC, YUV/4:2:0/8 bits/BT.709 BT.709
16:23:38.510 [i]: Playback: starting up...
16:23:38.516 [i]: Playback [39a83935]: Frame server (64-bit) C:\Program Files (x86)\SVP 4\mpv64\vapoursynth.dll
16:23:38.517 [i]: Playback [39a83935]: resulting video frame 1280x720
16:23:38.518 [i]: Playback [39a83935]: 3 acceptible profiles, best is 'Ignore HFR sources' [592]
16:23:38.519 [i]: Playback [39a83935]: enabled while video is playing
16:23:38.521 [i]: Profile: using automatic profile #1 /film
16:23:38.521 [E]: Script: is in invalid state
16:23:44.897 [i]: Playback [39a83935]: deleted
16:23:48.621 [i]: Media: video 1280x720 [PAR 1.000] at 60.000 fps [variable]
16:23:48.621 [i]: Media: codec type is AVC, YUV/4:2:0/8 bits/BT.709 BT.709
16:23:48.625 [i]: Transcoder: Frame server (64-bit) C:\Program Files (x86)\SVP 4\mpv64\vapoursynth.dll
16:23:48.626 [i]: Transcoder: resulting video frame 1280x720
16:23:48.627 [i]: Transcoder: 3 acceptible profiles, best is 'Ignore HFR sources' [592]
16:23:48.629 [i]: Profile: using automatic profile #1 /film
16:23:48.629 [E]: Script: is in invalid state
16:23:51.462 [i]: Transcoder: switching to profile 'smooth'
16:23:51.463 [E]: Script: is in invalid state
16:23:52.160 [i]: Transcoder: enabled while video is stopped
16:23:52.161 [i]: Profile: using automatic profile #1 /film
16:23:52.161 [E]: Script: is in invalid state
16:23:52.162 [i]: Transcoder: source file size: 0.0 GB
16:23:52.163 [i]: Transcoder: free space: 1233.1 GB
16:23:52.278 [E]: Transcoder: VS - 'file' parameter must be set.
16:23:52.279 [E]: Transcoder: mpv failed with code 2
16:23:52.281 [i]: Code: all jobs done
16:23:54.663 [i]: Transcoder: disabled while video is stopped
16:23:54.664 [i]: Transcoder: deleted

Re: transcoding broke after update

[E]: Script: override.js:26 - SyntaxError: Expected token `,'

there're errors in %APPDATA%\SVP4\override.js
remove it and restart SVP (or edit and fix errors if you added something there)

Re: transcoding broke after update

Chainik wrote:

[E]: Script: override.js:26 - SyntaxError: Expected token `,'

there're errors in %APPDATA%\SVP4\override.js
remove it and restart SVP (or edit and fix errors if you added something there)

thanks for figuring it out could you tell me whats wrong with this? I was just following a random guide

/***** INSERT BELOW THIS LINE *****/
Block overlap [analyse_block_overlap] = 2
Main levels [analyse_main_levels]= 6
Penalty Lambda [analyse_main_penalty_lambda] = 10
Penalty LSAD [analyse_main_penalty_lsad] = 16,000
Penalty Global [analyse_main_penalty_pglobal] = 50
PLevel [analyse_main_penalty_plevel] = 4
PNbour [analyse_main_penalty_pnbour] = 100
PNew [analyse_main_penalty_pnew] = 100
Prev [analyse_main_penalty_prev] = 0
Penalty Zero Vector [analyse_main_penalty_pzero] = 75
Search distance [analyse_main_search_distance] = -1


/***** INSERT ABOVE THIS LINE *****/

Re: transcoding broke after update

16,000 - this cause the error
Format of your override.js file is wrong.
See file override_list.txt

Your line (wrong):

Penalty LSAD [analyse_main_penalty_lsad] = 16,000

override_list.txt line (proper):

analyse.main.penalty.lsad        = 8000;

Where did you get this wrong file?

Re: transcoding broke after update

conclusion: don't follow random guides big_smile

Re: transcoding broke after update

MAG79 wrote:

16,000 - this cause the error
Format of your override.js file is wrong.
See file override_list.txt

Your line (wrong):

Penalty LSAD [analyse_main_penalty_lsad] = 16,000

override_list.txt line (proper):

analyse.main.penalty.lsad        = 8000;

Where did you get this wrong file?

it was a reddit post but I didn't understand how to format the override file properly
https://www.reddit.com/r/hfr/comments/f … a/fhdpclg/

Re: transcoding broke after update

If copy-paste fragment then it will not work at all.

Proper format introduced in file override_list.txt:

analyse.main.penalty.lsad        = 8000;

If fix all errors then it must become:

analyse.block.overlap = 2;
analyse.main.levels = 6;
analyse.main.penalty.lambda = 10;
analyse.main.penalty.lsad = 16000;
analyse.main.penalty.pglobal = 50;
analyse.main.penalty.plevel = 4;
analyse.main.penalty.pnbour = 100;
analyse.main.penalty.pnew = 100;
analyse.main.penalty.prev = 0;
analyse.main.penalty.pzero = 75;
analyse.main.search.distance = -1;

You can read about each setting here: https://www.svp-team.com/wiki/Manual:SVPflow
And if remove all default values you will get:

analyse.main.levels = 6;
analyse.main.penalty.lsad = 16000;
analyse.main.penalty.plevel = 4;
analyse.main.penalty.pnbour = 100;
analyse.main.penalty.pnew = 100;
analyse.main.penalty.pzero = 75;

I didn't check how works these settings so you can use them for you own risk.