PDA

View Full Version : convolution3d doesn't apply - why?


((( atom )))
25th December 2002, 21:00
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...

iago
25th December 2002, 21:30
@((( 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/

((( atom )))
25th December 2002, 22:33
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?

NuclearFusi0n
25th December 2002, 23:11
@iago
why crop by even numbers?

@atom
YV12 kicks ass, keep it :)

((( atom )))
25th December 2002, 23:17
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..

iago
26th December 2002, 00:34
About "cropping by even numbers", look at hakko504's very useful explanations here: http://forum.doom9.org/showthread.php?threadid=40413&highlight=crop+even+hakko504, especially the ones regarding the YV12 colourspace ;).

regards,
iago

((( atom )))
26th December 2002, 01:27
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!!

Wilbert
26th December 2002, 12:52
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.

iago
26th December 2002, 13:45
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.

Wilbert
26th December 2002, 14:03
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 :)

iago
26th December 2002, 14:08
@((( atom ))),

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

regards,
iago

((( atom )))
26th December 2002, 14:09
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 )))
26th December 2002, 14:11
wow, we were posting simultaniously! doom9's forum is almost like chatting ;)

((( atom )))
26th December 2002, 14:45
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)

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

iago
26th December 2002, 15:10
((( 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.

((( atom )))
26th December 2002, 15:32
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 )))
27th December 2002, 17:46
@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!

iago
27th December 2002, 20:39
((( atom )))

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

regards,
iago

((( atom )))
30th December 2002, 02:05
@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.

:)

iago
30th December 2002, 08:37
((( 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

((( atom )))
30th December 2002, 09:12
I wrote the same thing in the XviD forum to your "being john malkovich" thread ...iago is everywhere ;)

yes, i tend to like that too. i just had it on and when fighting with all my new xvid-encodes, it really didn't come to my mind trying that. after starring my eyes out on my - relatively small - window in vdub, where the noise seemed to be much less, and after that reply to my other thread, it hit me: it was the postfiltering.
also very interresting in that context is, that without postfiltering you can even watch mpeg4-movies really smoothely + fullscreen with as little as a pentium1 using movix. -> http://movix.sourceforge.net/

..but since iago is everywhere, i guess you will know it. ;)
if not: for gods sake, go and try it! it is being developped further and the guy that programms it is very nice and open to ideas. he added video-out for nvidia-cards on the spot, when i pointed that lack to him and it looks like i wil be developping a very nice menu-structure for that player to make it controllable for kids and grannies.

regards..

iago
30th December 2002, 09:23
((( atom )))

...iago is everywhere ;)

No man, I didn't know anything about it, I just use ZoomPlayer and MPC! ;)

It must be you, as your nick suggests, the real omnipresent one! :D

regards,
iago

((( atom )))
30th December 2002, 12:48
No man, I didn't know anything about it, I just use ZoomPlayer and MPC! oh, well. in that case.. it is amazing! it is an mpeg4-player based on linux wich boots directly from a cd (yes, no hd required) and plays mpeg4-movies on practically any given hardware even with a pentium1. all you need is 96mb of ram. it also plays dvds, vcds, audio-cds and mp3.

you can also make a bootable cd containing a hole movie + the player since the binaries are only a few mb in size. that cd will start playing a movie automatically upon being inserted in a pc before booting. you should see peoples faces when it does! :)

[edit] btw, the quality is at least equal to mpeg4-playback under windows.

nD
31st December 2002, 10:21
@atom

I just tried movix and it's indeed a great piece of software!! though it crashes from time to time and doesn't work on all my computers...it still has a lot of potential! :)

regards,

nD

((( atom )))
31st December 2002, 10:56
yes! and it is being developped, so it is well worth to hold it on rw-discs, hehe.. harddrive-installation is also on its way!

yesterday i could win a friend of mine to join in and start working out a new interface i designed in pyton. can't wait till he is ready...

after all it will be a standalone-device with remote-control-support that play practically every audio/video-file you feed it with.

put on a via eden mobo (cpu+grafics+sound+lan+FANLESS - E/$ 100!) it will boot up from a usb-stick in seconds and make dreams come true! one could also put some nice 120gb-discs or larger in and browse all ones movie-titles comfortably with a remote-control chilling on the sofa. you can add a smb-fileserver-module, it can play a/v network-streams already now, etc...

:)

btw: it crashed?? didn't have that _once_ even? can you reproduce that?
also.. it should work on every computer afaik exept for those with intel i815 chipsets. (i will ask roberto to compile that in, good idea..)
what hw it refused to work with?

nD
31st December 2002, 12:59
well, I am not the most technical dude in the universe, so I still can't make that damned .iso image. instead I had to use the .iso image of the old 17/11/2002 version on SourceForge.

maybe if I use the most recent version my problems will disappear..? :confused:

anyways...it didn't work at all on my new PC (P4 1,4GHz/256RDRAM/GeForce3 64DDR), I get the first screen, but after booting the whole Linux thing it just crashes or something. strangely enough it did work (with some crashes) on my old PC (P2 266MHz/128SDRAM/ATI 3D Rage Pro).

I really hope that this program will evolve into something special!

regards,

nD

(btw I didn't know you could boot up from a USB-stick...wow!:D)

((( atom )))
31st December 2002, 13:26
damn! it has evolved a lot already since the last iso.. well, nothing i can do for you atm, sorry..

but there will be a new iso shortly i suppose...

scmccarthy
31st December 2002, 17:10
Linux doesn't work well with all hardware, so matter what you do, there will always be problems on some PCs.

Stephen

((( atom )))
31st December 2002, 19:53
Linux doesn't work well with all hardware, so matter what you do, there will always be problems on some PCs. ...sorry, but does windows? a mighty "dangerous" statement...

1st of all: once linux works with something, it works forever. that's what i call very well. so, if he could boot movix up and it worked once, it works. if there is a bug in the software, it has to be solved, thats all..

2nd: in our case here there is involved:
- mobo+cpu+ram -> NO ISSUES
- grafixcard: must be vesa2-cmpliant (afaik there are 2 or 3 cards out there, wich are not. so it wouldn't have worked at all, if he got one of these.)
- cdrom: ...

scmccarthy
31st December 2002, 22:14
There are hardware compatibility issues with the linux operating system. Once it accepts all the hardware, it is much more stable than windows. It either works well or it does not work at all, whereas windows is always in the middle somewhere.
MoviX is a package that allows you to create bootable CDs able to boot & autoplay your multimedia files. It is intended mainly to play video files but if you want it can be used to play also audio files
My understanding is that it boots the PC into the Linux operating system regardless of whether it is a linux or windows PC. Well, I tried to put the linux operating system on a new PC once and after a couple of weeks I realized the hardware was not compatible and it just could not happen. I am just saying that some PCs just can't be booted into the linux operating system no matter what. If it does boot, then it is going to be more stable than it would be in windows.

Stephen

((( atom )))
3rd January 2003, 05:48
@nD:

got some good news for you - i had the time to try under windows and the readme of mplayer is just wrong.. the guy doesn't use windows @ all..

you have to put both files from the "utils" folder to the folder where the other files are and you have to make sure you have a directory c:\temp

then the script will come up with an iso-image for you.

let me know, if it worked..

nD
4th January 2003, 09:56
@atom

thanx man! I finally managed to produce the iso image now!! I am gonna test it this weekend! :D

((( atom )))
4th January 2003, 13:44
:)