Log in

View Full Version : Avisynth compability problem?


Sugetsu
20th July 2004, 18:48
Hi there.

I'm trying to give to my work the best possible quality. Therefore I started using Avisynth and although I'm a noob at it I can tell the difference right the way when it comes to picture quality.

I'm working on an anime that was captured from old VHS recordings, and I must say that its quality is horrible. On top of that, the episodes have been already enconded with Divx 5.11 at 900k. In other words, I'm trying to re-encode something that has been already encoded.

Well I have tried to apply avisynth a lot of times and I keep running into one big problem all the time...

This is the script I'm currently using to improve the picture quality:

LoadPlugin("VagueDenoiser.dll")
LoadPlugin("Convolution3DYV12.dll")
LoadPlugin("EDeen.dll")
AVISource ("Ep2.avi")
Crop(4,8,0,-4,true)
Lanczos4Resize(640,480)
VagueDenoiser (threshold=5.5,method=1,nsteps=6,chroma=true)
Convolution3d (preset="animeBQ")
edeen(4,4,6,1,1,true)

Although the picture quality looks really good, specially thanks to vaguedenoicer, I can't get the movie to run smothly once I have fast-encoded it. The frames look all really skippy or ghoshy. I have tried taking some filters off or reducing the strenght of vaguedenoiser, but the problem is still there. I even tried adding new plugings, such as temporaldenoicer or Cn2 but they were to no avail. And also, I tried encoding again after frameserving it, but it is still the same.

After trying re-encoding my episodes with Xvid all the time, I switched to VP6.2 and I got and even better picture quality and a smaller size with this new codec, and once again I tried frameserving the episode into avisynth, but guess what? I kept getting the same problem. But this time the picture quality was even better due to the included sharpening filter and denoising filter that VP6.2 has.

Running out of options I opted to take a look at avisynth itself and I did the following:

AVISource ("Episode.avi")

I just wrote that to check if avisynth was the problem and guess what? IT IS! Just by frameserving the episode with avisynth I was still getting the same frame skipping and goshing.

Does this means that there is a bug in the program? Or maybe there is some kind of compability problem? :scared:

These are the details of my work :D

Original picture: Divx 5.11 at 900k

http://galeon.com/seya12/Picture1.JPG

Re-encoded picture: VP6.2 Sharpness +10, Noise reduction +6, One Pass - Best Quality, 900k, RGB brightness-Contrast-gamma virtual Dub external filter, and then frameserved with Avisynth VagueDenoiser-Convolution3DYV12-EDeen.

http://galeon.com/seya12/Picture2.JPG

Of course as I said before, After using avisynth the motion of the anime gets seriously impared. HELP PLEASE! I don't want to stop using avisynth. Look at the wonders that it has done to my anime :)

Bogalvator
20th July 2004, 21:33
Which program are you feeding your script in to?

Sugetsu
21st July 2004, 06:54
Originally posted by Bogalvator
Which program are you feeding your script in to?

I use virtual dub 1.5.9. I encode the file with virtual dub using the VP6.2 codec or Xvid, and then I write the script for avisynth, and then I open the .avs file with virtual dub and then fast encode it. The result is that the video comes out with good picture quality but the frames are skippy or goshy ( I mean they leave like a trail of color behind them when there is a lot of movement)

That's what I do. I hope I'm making myself clear here.

Wilbert
21st July 2004, 09:50
Could you upload 25-50 frames of this DivX5 clip somewhere?

It's a bit hard to believe that AVISource("Episode.avi") gives you skipping and ghosting, while the source is good. Is that also the case when you view that one line script itself in vdub?

Sugetsu
21st July 2004, 22:01
Oops it was a codec problem... Why? I just opened my video with VCL and it played perfectly. Downloading the lastest FFdshow now :p

Man... and I spent 5 hours of my life trying to investigate what was going on :(