Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage
Register FAQ Today's Posts Search

Reply
 
Thread Tools Search this Thread
Old 25th December 2002, 21:00   #1  |  Link
((( atom )))
noise is all around us...
 
((( atom )))'s Avatar
 
Join Date: Nov 2001
Location: - deep within -
Posts: 466
convolution3d doesn't apply - why?

hi,

i am trying to set up convolution3d in avisynth with the following script:

LoadPlugin("C:\PROGRA~1\GORDIA~1\mpeg2dec3.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\Convolution3D.dll")

mpeg2source("D:\Fightclub\VIDEO_TS\1.d2v")

crop(1,78,717,418)

Convolution3d(preset="movieHQ")

lanczosresize(640,256)

...when run in virtualdub nothing happens! i get no error-message and nothing crashes, just my computer hardly responses until i kill virtualdub.

when i take the convolution3d preset line out, the video plays. i redonwloaded the filter to make sure, it wasn't broken but that doesn't help it.

any ideas?

[edit] damn, i posted in the wrong forum.. could someone move this over to avisynth, pls.? sorry...
__________________
((( atom )))

Last edited by ((( atom ))); 25th December 2002 at 21:03.
((( atom ))) is offline   Reply With Quote
Old 25th December 2002, 21:30   #2  |  Link
iago
retired
 
iago's Avatar
 
Join Date: Jun 2002
Location: hollywood
Posts: 1,013
@((( atom )))

[edit] If you are working in YV12 and with AviSynth 2.5 [edit], you have to use "Convolution3dYV12.dll". To find it, just do a search in the AviSynth forum and follow the link in Vlad59's signature .

regards,
iago

Edit: Btw, I would also recommend to crop by even numbers .

Edit2: Well, to save you some trouble, it's here: http://www.hellninjacommando.com/con3d/beta/

Last edited by iago; 26th December 2002 at 13:49.
iago is offline   Reply With Quote
Old 25th December 2002, 22:33   #3  |  Link
((( atom )))
noise is all around us...
 
((( atom )))'s Avatar
 
Join Date: Nov 2001
Location: - deep within -
Posts: 466
hi iago,

thanks a lot for the hint!

i knew that switching to xvid would be quite a job. slowly though, i have all my things together..

best regards..

[edit] is YV12 ok to use or would you recommend to switch to another mpeg2dec-version?
__________________
((( atom )))

Last edited by ((( atom ))); 25th December 2002 at 23:01.
((( atom ))) is offline   Reply With Quote
Old 25th December 2002, 23:11   #4  |  Link
NuclearFusi0n
Registered User
 
NuclearFusi0n's Avatar
 
Join Date: Jul 2002
Posts: 104
@iago
why crop by even numbers?

@atom
YV12 kicks ass, keep it
NuclearFusi0n is offline   Reply With Quote
Old 25th December 2002, 23:17   #5  |  Link
((( atom )))
noise is all around us...
 
((( atom )))'s Avatar
 
Join Date: Nov 2001
Location: - deep within -
Posts: 466
Quote:
why crop by even numbers?
i also thought that and didn't care.. when i took a closer look at the picture in virtualdub, i noticed i line of black pixels at the right side of the image (in gknot everything was just perfect), wich disappeared sometimes for one frame!?! well, after changing the values to even numbers, the effect was gone.

strange..
__________________
((( atom )))
((( atom ))) is offline   Reply With Quote
Old 26th December 2002, 00:34   #6  |  Link
iago
retired
 
iago's Avatar
 
Join Date: Jun 2002
Location: hollywood
Posts: 1,013
About "cropping by even numbers", look at hakko504's very useful explanations here: http://forum.doom9.org/showthread.ph...+even+hakko504, especially the ones regarding the YV12 colourspace .

regards,
iago
iago is offline   Reply With Quote
Old 26th December 2002, 01:27   #7  |  Link
((( atom )))
noise is all around us...
 
((( atom )))'s Avatar
 
Join Date: Nov 2001
Location: - deep within -
Posts: 466
grrrr!

when i use mpeg2dec3.dll and convolution3d my movie starts to cycle between 3 frames at some point, displaying 1 2 and then 3 in the lower half of 2 and all that in a loop.

i'd really like to use that version because i want to try lanczos-resize and also it seem quite a bit faster.

did anybody experience that error before?

[edit] I get 5 frames/second with that combination. i had 10 before!
please anybody have an idea!!
__________________
((( atom )))

Last edited by ((( atom ))); 26th December 2002 at 01:31.
((( atom ))) is offline   Reply With Quote
Old 26th December 2002, 12:52   #8  |  Link
Wilbert
Super Moderator
 
Join Date: Nov 2001
Location: Netherlands
Posts: 6,375
Quote:
LoadPlugin("C:\PROGRA~1\GORDIA~1\mpeg2dec3.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\Convolution3D.dll")

mpeg2source("D:\Fightclub\VIDEO_TS\1.d2v")

crop(1,78,717,418)

Convolution3d(preset="movieHQ")

lanczosresize(640,256)
Contrary to what Iago said there's also a version of mpeg2dec3 for AviSynth v2.07. Which version of mpeg2dec3 and convolution3d are you using (for v2.07 or v2.5)? Note that lanczosresize is a plugin for v2.07. If you are using AviSynth v2.5, download the appropriate mpeg2dec3.dll and convolution3d and use the built in version of lanczosresize.
Wilbert is offline   Reply With Quote
Old 26th December 2002, 13:45   #9  |  Link
iago
retired
 
iago's Avatar
 
Join Date: Jun 2002
Location: hollywood
Posts: 1,013
Oh, Wilbert is right concerning the mpeg2dec3 issue, sorry for the confusion; it should be a slip of the mind!

Yes, there's an mpeg2dec3.dll for AviSynth 2.07 too.

Edit1: Btw, AFAIK LanczosResize is built in and works with both AviSynth 2.07 and AviSynth 2.5, and in atom's script it's already not loaded as an external plug-in; so I couldn't understand why you come up with an additional LanczosResize advice, Wilbert .

regards,
iago


Edit2: and to avoid further confusion and misguiding, I have edited my post above accordingly.

Last edited by iago; 26th December 2002 at 13:54.
iago is offline   Reply With Quote
Old 26th December 2002, 14:03   #10  |  Link
Wilbert
Super Moderator
 
Join Date: Nov 2001
Location: Netherlands
Posts: 6,375
Quote:
Edit1: Btw, AFAIK LanczosResize is built in and works with both AviSynth 2.07 and AviSynth 2.5, and in atom's script it's already not loaded as an external plug-in; so I couldn't understand why you come up with an additional LanczosResize advice, Wilbert .
Maybe he's using AviSynth v2.04 or an older version
Wilbert is offline   Reply With Quote
Old 26th December 2002, 14:08   #11  |  Link
iago
retired
 
iago's Avatar
 
Join Date: Jun 2002
Location: hollywood
Posts: 1,013
@((( atom ))),

Come on man, step in, and free us all from all this ambiguity!

regards,
iago
iago is offline   Reply With Quote
Old 26th December 2002, 14:09   #12  |  Link
((( atom )))
noise is all around us...
 
((( atom )))'s Avatar
 
Join Date: Nov 2001
Location: - deep within -
Posts: 466
quite a version mess...

to make it work i switched to the latest i could find right away: avisynth 2.5 using mpeg2dec3 and Convolution3DYV12. that combination didn't work and i am rather sure that the Convolution-filter caused this.

so maybe i should try the bit older versions. i wasn't aware they would also work..

i figured, that when not using the convolution filter, there are strange artifacts right in the scene of the movie where with conv. it starts to hang.

i'll change versions and will report later on.
__________________
((( atom )))
((( atom ))) is offline   Reply With Quote
Old 26th December 2002, 14:11   #13  |  Link
((( atom )))
noise is all around us...
 
((( atom )))'s Avatar
 
Join Date: Nov 2001
Location: - deep within -
Posts: 466
wow, we were posting simultaniously! doom9's forum is almost like chatting
__________________
((( atom )))
((( atom ))) is offline   Reply With Quote
Old 26th December 2002, 14:45   #14  |  Link
((( atom )))
noise is all around us...
 
((( atom )))'s Avatar
 
Join Date: Nov 2001
Location: - deep within -
Posts: 466
so i changed versions all over, and it seems to work, at least no trouble in preview. (after my encode was cycling through, i could reconstruct that cycling-behaviour also in virtualdubs preview.)

speed went down again, though. didn't start encoding yet, but the preview already is mighty slow..

since it works now, there seems to be a bug somewhere with the other versions. i will finish this problematic encode and switch back to newest versions after that, keeping an eye on strange behaviour, thats about all i can do, right?

here is the script. avisynth is used in version 2.07, mpeg2dec3 is version beta6 now, and convolution3d is 1.0.0.1


* * * * * * * * * * * * * * * * * * * * * * * * * * * *

LoadPlugin("C:\PROGRA~1\GORDIA~1\mpeg2dec3_beta6.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\Convolution3D.dll")

mpeg2source("D:\Fightclub\VIDEO_TS\2.d2v",cpu=4)

crop(2,78,716,418)

Convolution3d (preset="movieHQ")

lanczosresize(640,256)

* * * * * * * * * * * * * * * * * * * * * * * * * * * *
__________________
((( atom )))
((( atom ))) is offline   Reply With Quote
Old 26th December 2002, 15:10   #15  |  Link
iago
retired
 
iago's Avatar
 
Join Date: Jun 2002
Location: hollywood
Posts: 1,013
((( atom )))

Maybe not related to the topic but:

Imho, filtering "Fight Club" (even with a fantastic filter like Convolution3d) is really unnecessary, especially for a 2CD rip. Just use LanczosResize(640*xxx), or even a higher resolution if your system is strong enough to decode it, and leave the rest to the codec you use . If you are using XviD, use MPEG quantizers and no b-frames absolutely!

However, if you are doing a 1CD encode, filter as you like as to suit your taste of course, though it may still not be necessary for even a 1CD version of this very compressible and clean source.

best regards,
iago

Btw, Convolution3DYV12 is much faster than the YUY2 version.

Edit: And also cpu=4 setting with mpeg2dec3 will also lead to unnecessary loss of details imo.

Last edited by iago; 26th December 2002 at 15:13.
iago is offline   Reply With Quote
Old 26th December 2002, 15:32   #16  |  Link
((( atom )))
noise is all around us...
 
((( atom )))'s Avatar
 
Join Date: Nov 2001
Location: - deep within -
Posts: 466
i think its funny, how tastes can differ.. (or possibly dvd-releases, lol..)

at least to me, fightclub looks pretty noisy and has quite some blocks in the mpeg2-source. they filmed it almost entirely under "realistic" light conditions, what gives it kind of a real feeling, but naturaly pays with noise. still it is very compressible, i guess since it comes out pretty dark..

i did an encode without bframes and any filtering a few days ago (my very very first xvid!) and actually i liked it already, but that mosquito-noise really annoyed me.. so i keep experimenting a bit and if i'm lucky i'll find some setting wich i'll like more.. i recently bought a new (and big) tv wich has the advances of a tv over a monitor in terms of luminace but also i find it to be nearly as accurate as my monitor, meaning, it displays macroblocks very clearly as well.

also for me detail /is/ very important, but i like a /stable/ picture. noise makes especially faces move around in themselves, making me feel like i took some drugs, hehe..

and i found a new friend to make life easier: avisynth monitor, but thats old stuff to you, i know
__________________
((( atom )))
((( atom ))) is offline   Reply With Quote
Old 27th December 2002, 17:46   #17  |  Link
((( atom )))
noise is all around us...
 
((( atom )))'s Avatar
 
Join Date: Nov 2001
Location: - deep within -
Posts: 466
@iago,

after all that support you came up with, i guess its my duty to let you know, that i decided to keep the version without filtering, the filtered version is quite a blur in compare..

thx again!
__________________
((( atom )))
((( atom ))) is offline   Reply With Quote
Old 27th December 2002, 20:39   #18  |  Link
iago
retired
 
iago's Avatar
 
Join Date: Jun 2002
Location: hollywood
Posts: 1,013
((( atom )))

That's what I'd told you at the very beginning! Some movies like no filtering at all!

regards,
iago
iago is offline   Reply With Quote
Old 30th December 2002, 02:05   #19  |  Link
((( atom )))
noise is all around us...
 
((( atom )))'s Avatar
 
Join Date: Nov 2001
Location: - deep within -
Posts: 466
@iago: it might interrest you: the mosquito-noise i was fighting indeed came from using mplayer-postfiltering in ffdshow instead of nics. simple is that! i checked that once but must have caught a scene with no noticeable difference or something. once changed the rips are finally to my full satisfaction.

__________________
((( atom )))
((( atom ))) is offline   Reply With Quote
Old 30th December 2002, 08:37   #20  |  Link
iago
retired
 
iago's Avatar
 
Join Date: Jun 2002
Location: hollywood
Posts: 1,013
((( atom )))

I wrote the same thing in the XviD forum to your "being john malkovich" thread. Actually, whether mplayer's or Nic's, I use no post-processing in ffdshow! I like to watch my encodes purely as they are, which has always satisfied me more than any post-processing .

regards,
iago

Last edited by iago; 30th December 2002 at 08:39.
iago is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:22.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.