This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[HELP] Outdated SVP-AVS script Error: "Didn't find a 'Frame rate' info node!"
#17
In your script?
DirectShowSource("\", fps=25, convertfps=true).ConvertToYV12()
Is the line which should load the input assuming "\" is replaced with to the input.

That line consists of two calls.
1st one is to DirectShowSource (http://avisynth.nl/index.php/DirectShowSource)
2nd one is to ConvertToYv12 (http://avisynth.nl/index.php/Convert)

Looking at the DirectShowSource-call, the fps=25 parameter together with the converfps=true makes sure that the input is 25fps with constant frame rate. This is probably okay for vfr content which should be 25fps but for anything else this seems wrong.
If you wanted to use FFMpegVideoSource (http://avisynth.nl/index.php/FFmpegSource), you would use:
FFMpegVideoSource ("Path to your file", fpsnum =25)
instead. (You also would need to make sure ffms2.dll would be properly imported and create an index file beforehand with ffindex.)
LoadCPlugin("Path to ffms2.dll")
FFVideoSource("Path to your file",cachefile="Path to index file",fpsnum=25)

Similar is true when you wanted to use LWLibavVideoSource, here you would then use
LoadPlugin("Path to LSMASHSource.dll"))
LWLibavVideoSource("Path to your file",cache=false,format="YUV420P8")

Quote:Which brings me back to script analysis compatibility.
What? Problem with your script is:
a. it uses DirectShowSource (which relies on installed 32bit DirectShow Filters)
b. it doesn't clearly return a value, which causes a problem for avsInfo (adding 'return last' at the last line in the script might fix that)
c. it doesn't open any file since "\" isn't a path to a file,...

Cu Selur

Ps.: Tip: Hybrid shows the Avisynth script it uses if Filtering->Support is set to Avisynth and you click on 'Show current Avisynth script'.
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply


Messages In This Thread
RE: Outdated SVP-AVS script Error: "Didn't find a 'Frame rate' info node!" - by Selur - 08.10.2018, 19:36

Forum Jump:


Users browsing this thread: 2 Guest(s)