Log in

View Full Version : Avisynth error message


northerns74r
1st December 2010, 12:21
Hi all,
I was testing an interesting filter - MSU_FRC - about increasing the framerate of a video by interpolating in a very good way...

This code is "safe"

LoadPlugin("C:\...\plugins\MSU_FRC.dll")
DSS2("C:\...\AVI 29,97.avi")
ConvertToYV12().MSU_FRC(10, "slow")


...but in case I try something like this (I just add the last line)


LoadPlugin("C:\...\plugins\MSU_FRC.dll")
DSS2("C:\...\AVI 29,97.avi")
ConvertToYV12().MSU_FRC(10, "slow")

SelectEvery(12,0)


It says..

Traceback (most recent call last):
File "AvsP.pyo", line 5662, in OnMenuVideoNextFrame
File "AvsP.pyo", line 9191, in ShowVideoOffset
File "AvsP.pyo", line 8950, in ShowVideoFrame
File "AvsP.pyo", line 9492, in PaintAVIFrame
File "pyavs.pyo", line 322, in DrawFrame
File "pyavs.pyo", line 301, in _GetFrame
File "avisynth.pyo", line 277, in GetFrame
WindowsError: exception: access violation reading 0x02881538
Traceback (most recent call last):
File "AvsP.pyo", line 7147, in OnPaintVideoWindow
File "AvsP.pyo", line 9492, in PaintAVIFrame
File "pyavs.pyo", line 322, in DrawFrame
File "pyavs.pyo", line 301, in _GetFrame
File "avisynth.pyo", line 277, in GetFrame
WindowsError: exception: access violation reading 0x02881538

Any idea?

My original will is doing a quite perfect framerate conversion by taking advantage of a better frame-interpolation.
Basically I thought:
Original video: 29,97 fps
--> 299,7 fps (all of them interpolated and not blended)
--> 25 fps (by selecting the closest, around 1 every 12)
I expect e resulting video not chopped, where every frame is freezed and without ghosts.

Even trying with "ChangeFPS" or "ConvertFPS" goes wrong because of the big difference between 299 and 25...

Opinions?

Didée
1st December 2010, 13:33
A dirty quickfix ...

LoadPlugin("C:\...\plugins\MSU_FRC.dll")
DSS2("C:\...\AVI 29,97.avi")
ConvertToYV12().MSU_FRC(10, "slow")

TemporalSoften(6,1,1,1,2).TemporalSoften(6,1,1,1,2)
SelectEvery(12,0)

Maybe RequestLinear(50,13,13) could do the job too, but I didn't have the time to try.