Trying to inverse telecine and resize some files, and trying to do this on a machine without AviSynth installed. A simple Version() script will work just fine with AviSynth.dll and DevIL.dll in the same folder as FFmpeg.exe, but as soon as I try to call D2VSource, an error is thrown. Even if I put D2VSource.dll in the same folder as the AviSynth dlls and FFmpeg.exe, it doesn't work.
For reference, here's the AVS script:
And here's the FFmpeg script:Code:D2VSource("F:\movie.d2v") TFM() TDecimate() BilinearResize(720,540)
Any help greatly appreciated!Code:prereqs\ffmpeg.exe -i "movie.avs" -i "movie.ac3"-map 0:v -map 1:a -map 2 -c:v libx264 -c:a libmp3lame -b:v 5M -shortest "movie.mp4" -loglevel warning -stats
+ Reply to Thread
Results 1 to 9 of 9
-
-
Using python and vapoursynth I made it work (plus vapoursynth plugin that reads avs script). The advice was given to use ctype.DLL(library), in our case ctypes.CDLL("./AviSynth.dll") where that dll is in working directory and its windows only , but those libraries could be *.so, *.dylib or *.dll library depending on os in general, but I used Python, so in your case you have to find some equivalent what actually that ctype.CDLL() does.
On top of that Avisynth script has to load those libraries manually in the script, in your case LoadPlugin("D2VSource.dll"). So I'd just start with that.Last edited by _Al_; 18th Nov 2021 at 22:11.
-
As a side note:
Hybrid uses portable versions of Avisynth (32/64bit) and Vapoursynth (64bit) without a problem (and Hybrid can be turned into a portable tool).
What you need to do, since there is no auto loading with a portable version with Avisynth is explicitly load the plugin dlls,...
(is you want/need to use relative paths with Avisynth, read: https://forum.doom9.org/showthread.php?t=172699)
Also your FFmpeg call is broken since you miss a white spaceCode:.. -i "movie.ac3"-map 0:v ..
Code:.. -i "movie.ac3" -map 0:v ..
users currently on my ignore list: deadrats, Stears555 -
@poisondeathray: d2vsource is also available Avisynth: https://github.com/Asd-g/MPEG2DecPlus
users currently on my ignore list: deadrats, Stears555 -
That .dll is "MPEG2DecPlus64.dll" for x64 and "MPEG2DecPlus.dll" for x86
The OP mentioned "d2vsource.dll", which is the vapoursynth plugin -
That .dll is "MPEG2DecPlus64.dll" for x64 and "MPEG2DecPlus.dll" for x86users currently on my ignore list: deadrats, Stears555
-
-
Similar Threads
-
how to compile and run ffmpeg for 64 bit Linux?
By oduodui in forum LinuxReplies: 4Last Post: 6th Apr 2022, 04:13 -
Virtualdub, FFMPEG and Avisynth conversion
By Guernsey in forum Newbie / General discussionsReplies: 4Last Post: 26th Sep 2020, 04:18 -
How to use an older avisynth script in ffmpeg
By tyee in forum Video ConversionReplies: 4Last Post: 26th May 2019, 20:25 -
how to tell to Avisynth ---> AUDIO NONE = - an of FFMPEG?
By marcorocchini in forum Newbie / General discussionsReplies: 3Last Post: 9th Aug 2017, 11:02 -
How to Run Avisynth Script from FFmpeg?
By nothingnew in forum Newbie / General discussionsReplies: 15Last Post: 4th Aug 2017, 02:03