View Single Post
Old 12th October 2019, 21:41   #2  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
".\" or "./" is current directory, maybe specify full path to it eg "D:\\nnedi=weights='./nnedi3_weights.bin".
If ffmpeg.exe is being used via PATH environment variable, then perhaps current directory is relative to that (Ie same directory as ffmpeg.exe).
Or, maybe is relative to current directory of calling script/cmd/bat file.

So, just to test out that it does work at all, try fullpath, eg (put it in "D:\").
Code:
ffmpeg -i SC_EP-08.mp4 -c:v libx264 -preset ultrafast -tune animation -crf 1 -vf "fieldmatch,nnedi=weights='D:/nnedi3_weights.bin':deint=interlaced,decimate" -acodec copy ivtc_TEST-07_SC_EP-08.mp4
good luck.

EDIT: see here:- https://forum.videohelp.com/threads/...0p#post2465082
Look like maybe mistake in your command, ie not
Code:
nnedi=weights='./nnedi3_weights.bin'
or
nnedi=weights='D:/nnedi3_weights.bin'
but
Code:
nnedi='./nnedi3_weights.bin'
or
nnedi='D:/nnedi3_weights.bin'
EDIT: Its used here under linux, but its not clear whether it is a path or not:- https://forum.shotcut.org/t/technica...isited/8311/35

EDIT: Maybe you were correct after all (although it has no path, may not be a filename, just a name):-
Code:
[21:39:08 CEST] <furq> you need the weights file listed there
[21:39:25 CEST] <furq> or alternatively just use yadif, it's much faster and it looks reasonably good
[21:39:51 CEST] <furq> but yeah if you do use nnedi then -vf nnedi=weights=nnedi3_weights.bin
Similar question was already asked on Doom9, got no replies at all.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 12th October 2019 at 22:26.
StainlessS is offline   Reply With Quote