Xvid producing strange motion blur like effect?
|
|
Blighter
Member
|
20. February 2006 @ 08:18 |
Link to this message
|
Hi guys, another problem!
I encode my videos by doing the following : The DVDs that i want to backup have PAL interlaced video so I rip with DVD Decrypter, save to D2V with DGIndex. I load an avisynth script into VirtualDubMod, and fast recompress (2 pass) it with Xvid (H.263 quant :-P), Interlaced encoding (I mention this because i think it's possibly the problem)
Anyways, the problem is that in the finished AVI, whenever something in the picture moves (eg a person in the video walking), it has this weird motion blur thing. It's not motion blur, i just don't know how else to describe it - it's also very difficult on the eyes! It happens anytime the camera pans or moves too. I tried reencoding with Global Motion Compensation on, but that didn't help it.
I'm thinking it has something to do with the Interlaced image. I'm not using any deinterlacers - I just read a guide saying that if my source is interlaced, i can just check "interlaced encoding" in the xvid options and it'll be ok. I've googled "interlaced encoding" in XVid but didn't come up with much, but there's quite a bit on deinterlacing so i'm thinking i'm gonna have to do that instead. Does anybody else think that this could be the problem?
I might try encoding my videos implementing the smoothdeinterlacer filter into my avisynth script to deinterlace the source for Virtualdubmod. Does anybody think this could work?
Thanks loads guys,
Blighter
|
Advertisement
|
  |
|
Blighter
Member
|
21. February 2006 @ 14:42 |
Link to this message
|
Does anyone have any suggestions? I can't really think how to describe the problem...would anyone have any objections if i post a link to a video that shows what my problem is?
Cheers, Blighter
|
celtic_d
AfterDawn Addict
|
21. February 2006 @ 19:35 |
Link to this message
|
For a Progressive display like a PC monitor, you need to deinterlace. Since you encoded interlaced, you would need to do it when decoding.
This is what you are seeing right?
|
The_OGS
Senior Member
|
22. February 2006 @ 13:12 |
Link to this message
|
Yes - deinterlace filter.
It would be better during encoding; impractical during decoding.
ABit AB9 Pro
Intel Core 2 Duo E6420 @ 2.4GHz
2GB OCZ PC2-6400 Platinum XTC R2
ATI Radeon X1900XT 512MB
Enermax Liberty 620W
320GB/16MB WD, 150GB/16MB Raptor
Plextor PX-755SA DVD (SATA)
|
Blighter
Member
|
22. February 2006 @ 14:26 |
Link to this message
|
I used smoothdeinterlacer in an Avisynth script on my D2V file before i put it through XviD, and it worked! Thanks guys!
Another question : Someone mentioned to me about denoising...i downloaded a denoise filter for avisynth, but imo it hasn't changed the video quality whatsoever...is a denoiser really necessary?
Cheers, Blighter
|
celtic_d
AfterDawn Addict
|
22. February 2006 @ 17:23 |
Link to this message
|
Well no noticable change is the idea really if the source wasn't badly noisy. The idea is that it increases compression. Encode a section at a fixed quant with and without denoising. The filtered one should be smaller. If the source is very noising then you would need a different denoiser or stronger setting.
|
Blighter
Member
|
23. February 2006 @ 03:10 |
Link to this message
|
Ok another problem! Using the smoothdeinterlacer fixed the problem, but i'm encoding a different video now and i've got a similar problem but it's not the same :
and :
My avisynth script at the moment is :
"LoadPlugin("C:\Program Files\DVD Rebuilder\AviSynth\plugins\DGDecode.dll")
LoadPlugin("C:\Program Files\DVD Rebuilder\AviSynth\plugins\SmoothDeinterlacer.dll")
Mpeg2Source("The Host.d2v", cpu=6)
crop(10,0,-8,0)
LancZosResize(640,464)
ConvertToYUY2(interlaced=true)# Smoothdeinterlacer requires YUY2
SmoothDeinterlace(tff=true) # Output is Progressive"
I'm thinking it has something to do with the fact that i'm deinterlacing with the "tff=true" parameter? What do you guys reckon? Should i try "SmoothDeinterlace()" or "Smoothdeinterlace(tff=false)" or something else?
Cheers guys,
Blighter
This message has been edited since posting. Last time this message was edited on 23. February 2006 @ 03:11
|
Blighter
Member
|
23. February 2006 @ 09:07 |
Link to this message
|
Ok, well i tried it with SmoothDeinterlace() which i thought would determine the polarity automatically, but it still hasn't made a difference. Got another example :
I still think it's an interlacing problem for some reason...can't really prove it though. Any ideas?
Cheers,
Blighter
|
Blighter
Member
|
23. February 2006 @ 10:49 |
Link to this message
|
Well i've found the solution, although i don't really understand why it worked, if someone could explain? All i did, was download the Decomb plugin and changed my avisynth script from :
"LoadPlugin("C:\Program Files\DVD Rebuilder\AviSynth\plugins\DGDecode.dll")
LoadPlugin("C:\Program Files\DVD Rebuilder\AviSynth\plugins\SmoothDeinterlacer.dll")
Mpeg2Source("The Host.d2v")
crop(10,0,-8,0)
LancZosResize(640,464)
ConvertToRGB32(interlaced=true)# Smoothdeinterlacer requires YUY2 or RGB32
SmoothDeinterlace() # Output is Progressive"
to
"LoadPlugin("C:\Program Files\DVD Rebuilder\AviSynth\plugins\DGDecode.dll")
LoadPlugin("C:\Program Files\DVD Rebuilder\AviSynth\plugins\Decomb.dll")
Mpeg2Source("Test.d2v")
crop(10,0,-8,0)
FieldDeinterlace()
LancZosResize(640,464)"
I read in the Decomb guide that you should do fielddeinterlace before resizing vertically, so i put it before LancZosResize. That script seems to work, anyway, and it's a hell of a lot quicker than Smoothdeinterlace (actually plays in real time in mpc). Is Fielddeinterlacing different to what smoothdeinterlacer does then? I'm afraid i don't understand all this interlacing stuff - it would probably help if i did.
Also, could someone please explain to me when you would use the "interlaced encoding" option in Xvid. I can't understand when you'd use it, because the description says that it "improves performance with interlaced sources" but whenever i try encoding interlaced video, i always have problems and everyone says i should deinterlace. So when wouldn't you want to deinterlace and keep the interlaced source?
Grrrr another addition...I've just upgraded to Xvid 1.2 Koepi, and all of a sudden, Vdubmod won't process frames unless the priority of the encode is Normal or Higher. Anything else and it stops processing frames (doesn't crash). Any ideas about that too?
I think that's enough questions for one day :-P
Cheers guys,
Blighter
This message has been edited since posting. Last time this message was edited on 23. February 2006 @ 11:31
|
Blighter
Member
|
24. February 2006 @ 06:01 |
Link to this message
|
Awesome. Done loads of research on interlacing and finally fixed everything. Was having a terrible day yesterday but all my problems have gone away...
My new avisynth script is now :
"LoadPlugin("C:\Program Files\DVD Rebuilder\AviSynth\plugins\DGDecode.dll")
Mpeg2Source("Test.d2v")
crop(10,0,-8,0)
FieldDeinterlace(blend=false)
LancZosResize(640,464)"
and i now have no stripes or ghost effects anywhere. Also i realised that koepi's XviD 1.2 version was unstable so i've gone back to 1.1 and it's all fine now...
Over and Out,
Blighter
|
shiroh
Account closed as per user's own request
|
25. February 2006 @ 19:49 |
Link to this message
|
you deinterlace/IVTC first.
there's a difference with interlace and telecined.
check yours which is which.
|
Member
1 product review
|
28. February 2006 @ 07:46 |
Link to this message
|
From personal experience, SmoothDeinterlacer never worked, but FieldDeinterlace worked right away. Also, When you had DGIndex open, if it didn't fully say NTSC off to the side, and had interlaced underneath it, then it's Not interlaced! For a full Progressive, you need it to say FILM and the item below it (don't remember the name) needs to be 95% or higher, in which case you would need to change the pulldown rate to Full FILM or whatever it says. For IVTC, that number needs to be around 50%, and would need several steps to be run .
Can somebody tell me the difference between normal resizing and the LancZosResize filter? Also, you guys mentioned that a denoiser filter could create better compression, can someone give suggestions on good filters to use for that?
|
shezzy999
Suspended due to non-functional email address
|
2. March 2006 @ 10:28 |
Link to this message
|
hi,, can somebody please help me, im a bit of of a new user, i downlaoded a few movies from the net and they are in AVI format, how can i convert the movies to one blank dvd disk and make it work on my home dvd player? and if possible i would like to convert the AVI files to dvd format quickly. also i would like to add chapters and menu and titles screens and also subtitles to the movies, if anybody knows then please help me, i would be greatful.
also please can you tell me he best program for downloadin music and videos.
thank you very much, like i said im a new user and i would really like your help, thanks
|
The_OGS
Senior Member
|
2. March 2006 @ 19:16 |
Link to this message
|
ABit AB9 Pro
Intel Core 2 Duo E6420 @ 2.4GHz
2GB OCZ PC2-6400 Platinum XTC R2
ATI Radeon X1900XT 512MB
Enermax Liberty 620W
320GB/16MB WD, 150GB/16MB Raptor
Plextor PX-755SA DVD (SATA)
|
Advertisement
|
  |
|
Moderator
|
3. March 2006 @ 04:46 |
Link to this message
|
@shezzy999 - no more multiposting, instead read the Forum Rules in my signature
Main PC ~ Intel C2Q Q6600 (G0 Stepping)/Gigabyte GA-EP45-DS3/2GB Crucial Ballistix PC2-8500/Zalman CNPS9700/Antec 900/Corsair HX 620W
Network ~ DD-WRT ~ 2node WDS-WPA2/AES ~ Buffalo WHR-G54S. 3node WPA2/AES ~ WRT54GS v6 (inc. WEP BSSID), WRT54G v2, WRT54G2 v1. *** Forum Rules ***
|