Quantcast Avisynth: Guide to Dealing with Interlaced Sources - Page 4 - digitalFAQ.com Forums [Archives]
  #61  
06-17-2006, 01:39 AM
Boulder Boulder is offline
Free Member
 
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
Open the source clip in VDubMod. Is there a pattern of three non-combed frames followed by two combed frames? If so, it's telecined and you should use the Telecide-Decimate -combo (simply put, IVTC the clips).

Otherwise the path depends on whether you can keep the files as NTSC or need to convert to PAL.
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #62  
06-18-2006, 05:30 AM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
1st of all thank you both for such a quick reply.
2nd when I load my source into VDubMod I can't find a 3on2 sequence.
In fact, I can't get why some parts are combed and some other are not.
I thought that in scene change transitions I would find combed effect and on specially fast scenes.
But sometimes I find fast scenes/scene change where I can't find the combing effect.
VDubMod file info says 720x480, 29.970fps (33367us).
I have tried to burn this source to a DVD but...to tell you the truth...sometimes I think I can see the combing effect when watching on the TV too.
I know, it doesn't make sense but nevertheless I get that feeling .
I would feel much better if I could deinterlace it and maybe slow it down to ~25fps if that's possible .
Any help will be very welcome .
Cheers
__________________
Rui
Reply With Quote
  #63  
06-18-2006, 05:34 AM
Boulder Boulder is offline
Free Member
 
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
Could you upload an unprocessed sample clip, preferably one from where there's no combing and one where the combing is visible. I guess something like 100 frames would be enough but you can upload a larger clip if you like.
Reply With Quote
  #64  
06-18-2006, 06:02 AM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
Ok, I'll try to find sometime during today to upload the clips.
Thanks in advance guys .
__________________
Rui
Reply With Quote
  #65  
06-18-2006, 09:14 AM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
Errrrm, guys?
I have a problem.
I want to cut a few frames from my VOBs but...what tool should I use to do that?
Cheers
__________________
Rui
Reply With Quote
  #66  
06-18-2006, 09:26 AM
Boulder Boulder is offline
Free Member
 
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
Open the VOB in DGIndex, choose a small range and choose Save project and demux video. You'll get an m2v file out of that.
Reply With Quote
  #67  
06-18-2006, 09:32 AM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
Thanks Boulder
__________________
Rui
Reply With Quote
  #68  
06-18-2006, 10:50 AM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by rds_correia
Errrrm, guys?
I have a problem.
I want to cut a few frames from my VOBs but...what tool should I use to do that?
Cheers
You can always use "Kutter" for that

-kwag
Reply With Quote
  #69  
06-28-2006, 05:57 PM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
Hi guys .
I'm sorry for taking so long to post but lately I haven't had a life due to too much work.
Man I could use some vacations...
So here's what I have.
http://www.freewebs.com/kvcdguides/clip1.demuxed.m2v
Please be so kind to advise me on what to do from here on .
Thanks in advance .
Cheers
__________________
Rui
Reply With Quote
  #70  
06-29-2006, 02:35 AM
Boulder Boulder is offline
Free Member
 
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
The stuff looks like it's mostly progressive at 29.97fps, only some occasional combs but there's no pattern.

You could try using ConvertFPS(25) but it will probably look bad. I don't know if there's any decent way to do the conversion, one option is to use MVFlowFPS or MVFlowFPS2 included in MVTools (avisynth.org.ru) instead.
Reply With Quote
  #71  
06-29-2006, 05:35 PM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Boulder
I don't know if there's any decent way to do the conversion...
Hi Boulder .
Thanks for looking at my sources.
These are the words that I retained from your post.
If there's no decent way to convert these from interlaced to progressive I really won't loose much more of my (and yours') time with this.
But does this mean that my only option is authoring and watching this as interlaced?
And does this use to happen very often with your sources?
TIA
Cheers
__________________
Rui
Reply With Quote
  #72  
06-30-2006, 03:11 AM
Boulder Boulder is offline
Free Member
 
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
You can try using ConvertFPS but I'm not sure if the results are satisfactory. NTSC to PAL conversions often result in blending or jerkiness unless you have a clean, progressive 23.976fps source.

Try this one:
Code:
MPEG2Source()
AssumeTFF()
LeakKernelBob(order=1,sharp=true,threshold=3) # or TDeint(mode=1)
ConvertFPS(50)
AssumeTFF()
SeparateFields()
SelectEvery(4,0,3)
Weave()
As I said, you can use MVFlowFPS or MVFlowFPS2 to do the framerate conversion. They are slower but should provide better quality.

Replace ConvertFPS(50) with this:
Code:
backward_vec = MVAnalyse(isb = true, truemotion=true, pel=2, idx=1, sharp=1, blksize=8)
forward_vec = MVAnalyse(isb = false, truemotion=true, pel=2, idx=1, sharp=1, blksize=8)
MVFlowFPS(backward_vec, forward_vec, num=50, den=1, ml=100, idx=1)
or this:
Code:
backward_vec = MVAnalyse(isb = true, truemotion=true, pel=2, idx=1, sharp=1, blksize=8)
forward_vec = MVAnalyse(isb = false, truemotion=true, pel=2, idx=1, sharp=1, blksize=8)
cropped = crop(4,4,-4,-4,true) # by half of block size 8
backward_vec2 = cropped.MVAnalyse(isb = true, truemotion=true, pel=2, idx=2, sharp=1, blksize=8)
forward_vec2 = cropped.MVAnalyse(isb = false, truemotion=true, pel=2, idx=2, sharp=1, blksize=8)
MVFlowFPS2(backward_vec,forward_vec,backward_vec2,forward_vec2,num=50,idx=1,idx2=2)
I wrote those by copy-pasting from the MVTools documentation and changed them slightly so there might be errors lurking, the functions sometimes want a clip specified as a parameter.
Reply With Quote
  #73  
06-30-2006, 04:35 PM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Boulder
You can try using ConvertFPS but I'm not sure if the results are satisfactory. NTSC to PAL conversions often result in blending or jerkiness unless you have a clean, progressive 23.976fps source.
I see...
Thankfuly I live in PAL land and I don't get to see much interlaced stuff.
Quote:
Originally Posted by Boulder
Replace ConvertFPS(50) with this:
By replacing you mean creating a avsi function, right?
Quote:
Originally Posted by Boulder
I wrote those by copy-pasting from the MVTools documentation and changed them slightly so there might be errors lurking, the functions sometimes want a clip specified as a parameter.
I will take that in consideration when I try them.
Thanks for helping me here.
Hopefully next time I get a 23.976 source and maybe you can explain me more in detail what I need to know for those sources.
Are those the 3:2 ones? The ones that I can use Telecide?
Cheers
__________________
Rui
Reply With Quote
  #74  
07-01-2006, 01:49 AM
Boulder Boulder is offline
Free Member
 
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by rds_correia
Quote:
Originally Posted by Boulder
Replace ConvertFPS(50) with this:
By replacing you mean creating a avsi function, right?
No, instead of ConvertFPS(50) use those lines in your script. You can make a function out of those snippets and save them as avsi though. If you use them often, it might be a good idea so you won't have to type or copy-paste the whole lot every time.
Quote:
Hopefully next time I get a 23.976 source and maybe you can explain me more in detail what I need to know for those sources.
Are those the 3:2 ones? The ones that I can use Telecide?
Cheers
With regular sources, it's either Force FILM in DGIndex or IVTC (Telecide+Decimate). Most of the time Force FILM will do the trick and you get a clean 23.976fps stream which can then be converted to PAL by using AssumeFPS and speeding up the audio.
Reply With Quote
  #75  
09-28-2006, 01:44 AM
grodriguez grodriguez is offline
Free Member
 
Join Date: Sep 2006
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
trying to fully understand interlaced is giving me a headach. i work 6 days a week 10 to 14 or sometimes more hours and dont have a lot of time. (honest) .i have made a basic kvcd from scratch about 2 years ago and might be a little rusty but all i need is a script for interlaced sources. so is there a basic script? all i want is my wife work out videos (a couple of them) on a kdvd really dont care a bout the best quality.

SOURCE:
- dvd
- interlaced
- Framerate 29.97
- aspect ratio 4:3
- 45 min long


DESTINATION:
-KDVD Full D1 720x480
- Encoding App Tmpgenc
- Muxing App BBmpeg
- Burning App Nero

thanx for any help
Reply With Quote
  #76  
09-28-2006, 03:43 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by grodriguez
SOURCE:
- dvd
- interlaced
- Framerate 29.97
- aspect ratio 4:3
- 45 min long
Do you plan to use a whole DVD for it or do you want to have the smallest video possible, in ordoer to put other things with it on the same DVD ?

If you don't bother to use one DVD for just this video then do not mind about scripts : encode straight forward your video in interlaced mode. No filter is necessary, just a resize if needed.
Reply With Quote
  #77  
09-28-2006, 08:32 AM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by grodriguez
trying to fully understand interlaced is giving me a headach.
http://www.100fps.com

-kwag
Reply With Quote
  #78  
10-01-2006, 08:30 PM
grodriguez grodriguez is offline
Free Member
 
Join Date: Sep 2006
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
thanks for answering and sorry for late response

Quote:
Originally Posted by Dialhot
Do you plan to use a whole DVD for it or do you want to have the smallest video possible, in ordoer to put other things with it on the same DVD ?
i want to use the smallest video possable so i can put other videos like it on the same dvd

i also heard that if i dont have to deinterlace if i am only watching it on my tv and if true do i just use kwag's latest script?

and kwag thanks for the info, but what i meant was i dont understand how to use the deinterlaced plugins to make the script. i just used your script.

Quote:
Originally Posted by grodriguez
i have made a basic kvcd from scratch about 2 years ago and might be a little rusty but all i need is a script for interlaced sources
what i meant was i know how to use the script i just dont know how to create it. so is there a basic script ?

thanks
Reply With Quote
  #79  
10-02-2006, 03:44 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by grodriguez
i also heard that if i dont have to deinterlace if i am only watching it on my tv and if true do i just use kwag's latest script?
This is true only if you do not plan to use an avisynth script to "obtain the smallest video possible". Filters are not all abble to deal with interlaced video and depending on the situation, the better is to deinterlace and use a "regular" script or to use a script that can handle interlaced materials.

In your situation, I think you just have to use the "Step one - Step two" given by Boulder in the first message of this toppic to deal with the source. There is just the problem with : where to put your filters, and I have to say that I don't really know. I never deal with interlaced material .

Boulder ?
Reply With Quote
  #80  
10-02-2006, 04:16 AM
Boulder Boulder is offline
Free Member
 
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
If you do not do any filtering, you could just simply use this as your script:
Code:
MPEG2Source("path\clip.d2v",cpu=4)
Open it in TMPGEnc and encode as interlaced 29.97fps and top field first (most likely).
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
KVCD: Interlaced/29.970 sources? gretagun Video Encoding and Conversion 13 01-08-2005 02:29 PM
Avisynth: Interlaced sources guide? [See pg2] J-Wo Avisynth Scripting 50 04-20-2004 07:41 AM
Avisynth: MA script for interlaced sources? Boulder Avisynth Scripting 52 04-03-2004 02:47 PM
DVD2SVCD: Script for Interlaced sources azel Video Encoding and Conversion 3 11-02-2003 11:29 AM
VirtualDub: Correcting Field Order and Swapping in interlaced sources ozjeff99 Video Encoding and Conversion 9 05-16-2003 02:21 AM

Thread Tools



 
All times are GMT -5. The time now is 04:12 AM  —  vBulletin © Jelsoft Enterprises Ltd