Xenocyde wrote:svr wrote:Hi everyone, When I try to transcode a 1080x1920 vertical video using RIFE 4.25, I get the error: “no valid optimization profile found.” How can I get SVP + RIFE to work with vertical videos?
Try to play a vertical FHD video first with RIFE activated in real time. It should build the profile before playing the video.
Real-time playback with vertical FHD and RIFE works fine without any issues. The error occurs during the transcoding process. I tried updating vsmlrt.py to the latest version, 3.22.38. That didn't help either.
08:25:48.850: ===== Starting mpv ======
08:25:48.850: Command line: C:\Program Files (x86)\SVP 4\mpv64\mpv.exe C:/Users/111/Downloads/test.mp4 --o=C:/Users/111/Downloads/test.SVP.temporary.mkv --no-audio --no-sub --no-sub-auto --input-ipc-server=mpvencodepipe --input-media-keys=no --no-msg-color --video-crop=0x0+0+0 --vf=vapoursynth:[C:\Users\111\AppData\Roaming\SVP4\scripts\ffff.py]:4:16 --of=matroska --ovc=hevc_nvenc --ovcopts=b=6201795,preset=slow,rc=vbr,maxrate=8062334,bufsize=12403590,time_base=1000/59940,threads=16
08:25:48.900: ● Video --vid=1 (h264 1080x1920 29.97 fps) [default]
08:25:48.900: ○ Audio --aid=1 --alang=eng (aac 2ch 48000 Hz 96 kbps) [default]
08:25:49.441: [vapoursynth] Script evaluation failed:
08:25:49.442: [vapoursynth] Python exception: operator (): no valid optimization profile found
08:25:49.442: [vapoursynth]
08:25:49.442: [vapoursynth] Traceback (most recent call last):
08:25:49.442: [vapoursynth] File "src\\cython\\vapoursynth.pyx", line 3387, in vapoursynth._vpy_evaluate
08:25:49.442: [vapoursynth] File "src\\cython\\vapoursynth.pyx", line 3388, in vapoursynth._vpy_evaluate
08:25:49.442: [vapoursynth] File "C:\Users\111\AppData\Roaming\SVP4\scripts\ffff.py", line 83, in <module>
08:25:49.442: [vapoursynth] smooth = interpolate(clip)
08:25:49.442: [vapoursynth] ^^^^^^^^^^^^^^^^^
08:25:49.442: [vapoursynth] File "C:\Users\111\AppData\Roaming\SVP4\scripts\ffff.py", line 61, in interpolate
08:25:49.442: [vapoursynth] smooth = RIFE_imp(input_rife,multi=rife_num,model=rife_mnum,backend=trt_backend)
08:25:49.442: [vapoursynth] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
08:25:49.442: [vapoursynth] File "C:\Program Files (x86)\SVP 4\rife\helpers.py", line 25, in RIFE_imp
08:25:49.442: [vapoursynth] return RIFE(clip,multi,1.0,None,None,None,model_num,backend,ensemble,False,implementation)
08:25:49.442: [vapoursynth] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
08:25:49.442: [vapoursynth] File "C:\Program Files (x86)\SVP 4\rife\vsmlrt.py", line 1199, in RIFE
08:25:49.442: [vapoursynth] output0 = RIFEMerge(
08:25:49.442: [vapoursynth] ^^^^^^^^^^
08:25:49.442: [vapoursynth] File "C:\Program Files (x86)\SVP 4\rife\vsmlrt.py", line 1066, in RIFEMerge
08:25:49.442: [vapoursynth] return inference_with_fallback(
08:25:49.442: [vapoursynth] ^^^^^^^^^^^^^^^^^^^^^^^^
08:25:49.442: [vapoursynth] File "C:\Program Files (x86)\SVP 4\rife\vsmlrt.py", line 2693, in inference_with_fallback
08:25:49.442: [vapoursynth] raise e
08:25:49.442: [vapoursynth] File "C:\Program Files (x86)\SVP 4\rife\vsmlrt.py", line 2670, in inference_with_fallback
08:25:49.442: [vapoursynth] ret = _inference(
08:25:49.442: [vapoursynth] ^^^^^^^^^^^
08:25:49.442: [vapoursynth] File "C:\Program Files (x86)\SVP 4\rife\vsmlrt.py", line 2570, in _inference
08:25:49.442: [vapoursynth] ret = core.trt.Model(
08:25:49.442: [vapoursynth] ^^^^^^^^^^^^^^^
08:25:49.442: [vapoursynth] File "src\\cython\\vapoursynth.pyx", line 3123, in vapoursynth.Function.__call__
08:25:49.443: [vapoursynth] vapoursynth.Error: operator (): no valid optimization profile found
08:25:49.443: [vapoursynth]
08:25:49.483: (!!!) Intermediate file may be broken: C:\Users\111\Downloads\test.SVP.temporary.mkv
08:25:49.483: ===== mpv exited with code 62097 =====