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.

 

Go Back   Doom9's Forum > Capturing and Editing Video > HDTV / DVB / TiVo

Reply
 
Thread Tools Search this Thread Display Modes
Old 27th June 2007, 13:07   #1  |  Link
nomis1804
Registered User
 
Join Date: May 2007
Posts: 7
deinterlacing 1080i with eedi2 and tdeint errors

I am trying to deinterlace a 50fps h264 1080i broadcast to 25fps using eedi2 and tdeint. Here is my avs script:

Code:
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\TIVTC.dll")
LoadPlugin("DGAVCDecode.dll")

AVCSource("lcd.dga")

trim(378, 388)

edeintted = last.AssumeTFF().SeparateFields().SelectEven().EEDI2()
TDeint(edeint=edeintted)

Crop(4,0,-4,-2)

BicubicResize(960, 544)
The problem I'm having is only on a few frames with lots of motion but it's very noticeable when watching. Here is one of the frames with errors:



I'm really not sure what's going on here any help would be appreciated.
nomis1804 is offline   Reply With Quote
Old 27th June 2007, 14:09   #2  |  Link
scharfis_brain
brainless
 
scharfis_brain's Avatar
 
Join Date: Mar 2003
Location: Germany
Posts: 3,653
this is due to motionmasking artifacts.

you may use yadif or securebob.

but as you are halving the resolution anyway there is no need for high quality interpolation methods.

so you could be fully satisfied with separatefields().selecteven() and horizontal ONLY resizing (do not alter the vertical pixelcount!)

also be sure to crop 1088 lines to 1080 lines before any processing!
__________________
Don't forget the 'c'!

Don't PM me for technical support, please.
scharfis_brain is offline   Reply With Quote
Old 27th June 2007, 14:21   #3  |  Link
nomis1804
Registered User
 
Join Date: May 2007
Posts: 7
I tried separatefields().selecteven() but I was getting annoying horizontal lines which were eliminated with eedi2 + tdeint.

I will give yadif and securebob a try.

Thanks for the help
nomis1804 is offline   Reply With Quote
Old 27th June 2007, 14:28   #4  |  Link
scharfis_brain
brainless
 
scharfis_brain's Avatar
 
Join Date: Mar 2003
Location: Germany
Posts: 3,653
provide an unprocessed sample clip (the demuxed h264 suffices).

normally there cannot occur lines after separatefields().selecteven()!
__________________
Don't forget the 'c'!

Don't PM me for technical support, please.
scharfis_brain is offline   Reply With Quote
Old 27th June 2007, 14:45   #5  |  Link
nomis1804
Registered User
 
Join Date: May 2007
Posts: 7
This is the part where the lines are most noticeable, it usually seems to happen when there are flashes or lots of movement. I can give you a longer clip if you need.

http://rapidshare.com/files/39646464/test.ts.html
nomis1804 is offline   Reply With Quote
Old 27th June 2007, 14:49   #6  |  Link
scharfis_brain
brainless
 
scharfis_brain's Avatar
 
Join Date: Mar 2003
Location: Germany
Posts: 3,653
how can I demux that without much hassle?
__________________
Don't forget the 'c'!

Don't PM me for technical support, please.
scharfis_brain is offline   Reply With Quote
Old 27th June 2007, 14:58   #7  |  Link
nomis1804
Registered User
 
Join Date: May 2007
Posts: 7
easiest thing to do would be ffdshow libavc for decoding and haali (http://haali.cs.msu.ru/mkv/) for demuxing then DirectShowSource in the .avs. Is that what you were after?
nomis1804 is offline   Reply With Quote
Old 27th June 2007, 15:15   #8  |  Link
scharfis_brain
brainless
 
scharfis_brain's Avatar
 
Join Date: Mar 2003
Location: Germany
Posts: 3,653
my h.264 directshow chain currently is broken (I am not able to even watch h.264 contents)
__________________
Don't forget the 'c'!

Don't PM me for technical support, please.
scharfis_brain is offline   Reply With Quote
Old 27th June 2007, 15:17   #9  |  Link
nomis1804
Registered User
 
Join Date: May 2007
Posts: 7
OK thanks anyway. Yadif is just what I was after it looks great for the stuff I've tried it on so far
nomis1804 is offline   Reply With Quote
Old 27th June 2007, 15:33   #10  |  Link
nomis1804
Registered User
 
Join Date: May 2007
Posts: 7
This was the kind of thing I was talking about in that clip, this is after Yadif(). I'm thinking it might just be the way it was encoded though?

nomis1804 is offline   Reply With Quote
Old 27th June 2007, 21:57   #11  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,803
try to use
tdeint(mthreshL=0)
Atak_Snajpera is offline   Reply With Quote
Old 28th June 2007, 02:10   #12  |  Link
halsboss
likes to tinker
 
Join Date: Jan 2004
Location: girt by sea
Posts: 635
Quote:
Originally Posted by nomis1804 View Post
Yadif is just what I was after it looks great for the stuff I've tried it on so far
Doing a search but lots of posts top trawl for the link to it ... any hint as to where you scored it ?
halsboss is offline   Reply With Quote
Old 28th June 2007, 14:11   #13  |  Link
nomis1804
Registered User
 
Join Date: May 2007
Posts: 7
Quote:
Originally Posted by halsboss View Post
Doing a search but lots of posts top trawl for the link to it ... any hint as to where you scored it ?
Yeah the link is tucked away right at the bottom of the page it's: http://avisynth.org.ru/yadif/yadif08.zip and you need to use Load_Stdcall_plugin("yadif.dll") to load it (had me stumped for a while).

I've just tried tdeint(mthreshL=0) and it's looking good, don't know whether to use that or Yadif now . Thanks

Last edited by nomis1804; 28th June 2007 at 14:27.
nomis1804 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 07:25.


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