![]() |
Quote:
it's very 8) J-Wo ! i'm waiting your guide. my recomendations: IF (only if) you have doubts... ask Boulder, vmesquita, ink, Kwag, muaddib, Phil, and all the wises to help you too ! send lots of pms if needed! :lol: |
Hi J-Wo
I know I would and alot of other people would appreciate a simple guide :D |
NTSC Interlaced Sources
NTSC Interlaced Sources - A Simple Guide
The following is a very simple guide on dealing with NTSC Interlaced sources. At this time, I am not covering such topics as PAL sources, NTSC to PAL conversions (or vice versa), or hybrid interlaced sources. My goal is to provide a very basic step-by-step guide on this topic. My apologies if I "plagerize" from other people, but I'll try my best not to! At this time this guide does not get into any heavy definitions nor does it have any screencaps. There are a number of great sites for those, and frankly the topic gets so complicated that reading too much of it can might just make you more confused! :lol: However I would like to provide two links (previously mentioned in this thread) which have provided me with a lot of insight. If you are at all confused about what I write in this guide, I strongly suggest you check out these links for your further edification: 1) Incredible's post Interlaced / Progressive ... and what it means 2) Doom9's tutorial Force Film, IVTC, and Deinterlacing So now, onto the guide! Step 1: Loading your source This portion assumes your source is DVD. If you are using DV or VHS capture, I believe the steps are the same (but I can't be certain!) 1. Load your source into DVD2AVI and press [F5] to Preview source 2. Take a look at what is displayed in the Information window on the right. If it says NTSC under Video Type and Interlaced under Frame Type, then this is the guide for you! Otherwise you should probably go somewhere else :) 3. Under Video -> Field Operation, make sure Force Film is not selected but instead select None. 4. Press [F4] to save your project as a .d2v file Step 2: Checking your source 1. Create a simple .avs file loading your .d2v file. The result should look like this: Code:
MpegSource("clip.d2v")1) Telecined NTSC FILM material This type of film source was originally shot at 23.976fps, but has been "telecined" to 29.970fps. In simple terms, that means a certain number of frames have been repeated in order to stretch (or telecine) the material to fill a longer framerate. If you have this type of source, you will notice when advancing frame-by-frame a pattern of 3 progressive frames (non-interlaced) followed by 2 interlaced frames. If this is the case, you will want to reverse the telecine process to restore the original 23.976fps film material by doing what is called an Inverse Telecine, or IVTC. To do this, we will start off with the following avs file. Please remember to place a copy of decomb.dll in your Avisynth / Plugins subfolder (if you are using Avs 2.5x) or load the decomb_legacy.dll file in your script if you are using Avs 2.0x. Both filters may be downloaded here. Code:
Telecide(Guide=1,Post=false)
This type of material is shot at 29.970fps and is 100% interlaced, which means that in our avs script of MpegSource("clip.d2v") we would see in VirtualDub that every single frame is interlaced. One of the best ways to deal with this source is a special form of deinterlacing called convert60ito24p. What this does is it converts the interlaced 29.970fps source to progressive 23.976fps, similar to an inverse telecine. However, note that we are not dealing with a telecined 29.970fps source, so what we are doing is not considered IVTC but is actually a form of deinterlacing. The following script for convert60ito24p was created by scharfis_brain, whose site is here: Code:
Mpeg2Source("interlaced_source.d2v")3) Progressive NTSC FILM material With this type of material, you will notice no interlaced frames when using the simple script MpegSource("clip.d2v"). If this is the case, then you are in luck! What you have is actually a progressive NTSC FILM material shot at 23.976fps, but DVD2AVI has incorrectly recognized it as interlaced. Personally I've never come across this situation but all you have to do is load your VOB back up in DVD2AVI and create a new .d2v project file, but this time enable Force Film. Ta da, this will give you back your original progressive 23.976fps material! Step 3: Encoding Before encoding your video, make a final check of either your IVTC or deinterlacing script in Virtualdub and cofirm that your script is free of any avisynth errors and that there are no longer any more interlaced frames. If there are, then either I have made a mistake in this guide, or you have made a mistake in this guide, OR you have a more complicated source that is currently beyond the scope of this guide! :oops: In any event, once you are ready to encode you are safe to add any resizing or motion adaptive filters you want, as long as they are after the IVTC or deinterlacing lines. I have found Kwag's MA script does an excellent job, but of course there are a multitude of others. |
As said in my Guide...
to see if DVD2AVI deals with an interlaced source, you don't need to do a "dummy" avs to see if there's combing. Just use the slider below in DVD2AVI to scroll to a motion scene ..... ;-) |
Quote:
|
Quote:
-kwag |
Quote:
Besides, since you're likely going to be using an avs file anyway which starts with an Mpeg2Source() line, why not just use that? :) |
for a and b :
load the .avs using trim(xxxx,xxxx) and it load faster! :idea: |
J-Wo my son, where are you ?
did i " tilt " the thread? :? |
J-Wo...
we all are waiting for you my friend. the team don't know that we change some pms and you're ending details in the guide ! well, ...now they know! (i posted only to update the thread! ) :wink: 8O i posted 3 times...later i delete some! |
This thread has been a really interesting read I also read Inc's Interlaced /Progressive what does it mean (A really interesting read btw :))
Im totally clueless when it comes to Interlaced or Progressive. Seeing as I live in the U.K and we use PAL @25fps for our DVD's I can only assume that most of our DVD's are Interlaced. I liked your guide J-WO a really interesting read also. :) |
Jorel whats your question que queda? :)
I thought everything above also was (maybe in another way explained - but the same content or to do's in the interlaced an what it means sticky). There won't be an veery fast understanding guide which clearyfies all interlaced questions. :( What you gonna do if you got a "raped" stream where a pal interlaced 25.000 was just "fieldblended" converted to NTSC 29.97?? ;-) That also would be recognised as a full interlaced 29.97 but a simple deinterlacer would still end up in blendings .. so that would be a case to use rePAL() or better unblendpattern() .. just an example 8) So IF theres something not understandable in the Interlacing sticky, let me know! Ill fix/clearify that and If J-Wo got some addings, I will apriciate! to add them to that interlacing sticky (incl. credits for shure :) ) Quote:
When doing an IVTC a frame decimating will be done and a dynamical phase shift will be inversed so the frames will be restored, (the dynamical phase shift on telecined material gives you a smooth movement on TV as the offset of the fields is moved by one field but not static but rather danamically) 60ito24p doesnt perform inverse phase shifts but mixes fields (in mode2, thats why it ends up in a smooth 23.976 movement like motion blur applied). The advantage of adding a smart bob deinterlacer instead of Bob() is cause bob is stupid and treats EVERY frame as the same in its deinterlacing, even theres no movement. Smart bobbers do got motion detections where only interlaced frames will be treated. That is also done when using fielddeinterlace(full=false) BUT as fielddeinterlace results in a 29.97 NTSC or 25 PAL deinterlaced stream therefore it cant be used to prepare the source for 60ito24p. Thats why we need for 60ito24p a FULL fieldrate deinterlacer where at NTSC 60 and at PAL 50 fps at full size will result which will be treated correctly by the following 60ito24p function . |
ok ink!
part of my doubts you posted here too. you did a great guide for smart guys. i need that you do an :arrow: "guide for real stups like jorel"... :!: :cluebat: i read it all tons but still confused. Boulder,Kwag,vmesquita, Phil,,GFR,you and more friends always help me :arrow: but i need to see pictures like children to do comparisons! :oops: :imstupid: and ivtc, progressive, ffilm,etc... still :? :? :? for me! when (and if) i understand it all, all newbys will learn faster reading this guide ! believe, i don't feel shame to ask for what i don't know! all that i learn is asking, listening and reading ! don't know a better way and don't have "an ugly proud"! i'm only an asker ,you and lots friends here are teachers! for this reason i "bore" you all every day! ... i really don't know it all. only little parts! :wink: |
I know what you mean Jorel! Incredible, I just read your last post at the last two paragraphs just went waaaaay over my head. I think it's just too technical for me to ever understand. That's why I think we need an easy to follow guide that explains a) what to look for b) determine what type of video you have; and c) what you should do with it. IMHO, all the technical information that explains what video type A is vs. video type B confuses the matter so much more. So does an explanation on how certain filters work! I think many would be happy with a guide which simply shows what things work. Just like the MA script. I don't know what 75% of those filters is doing but because Kwag said it works and there hasn't been much dispute, I use it! Whenever there is discussion and optimization, Kwag updates it. Maybe that's how we should be treating interlaced material. Thoughts?
|
YEP! :)
We the interlacing Guide should be updated to a more simple understanding one .... I hope I get the time to fix that this week. :wink: |
Nice thread...
I'd like to see comments on how you deal with these kind of sources, which I find the most problematic: 1) home videos shoot on a NTSC VHS camcorder. 2) NTSC TV shows or porn tapes/dvds shoot in betacam, super beta or even SVHS. I always try to keep them interlaced (since may player only accepts mpeg2 anyway), would the 60->24 function work OK for these sources? |
Quote:
So you should try the recommendation of Smoothdeinterlacer(doublerate=true) # or any other full fieldrate deinterlacer, also dgbob(order=x) does that well ... just try spped/quality convert60ito24p(2,0) I think if your source comes from a standalone VHS or Camcorder you do digitize that one using for example a HuffYUV or a mjpeg codec. Both do deliver a good quality and they come in YUY2 which got better Chroma subsampling and also there won't be a colorconversation needed BEFORE the function call as convert60ito24p needs YUY2 as input. :wink: Even if you choose mpeg2 as encoding format, you can gain MUCH compressibility by converting that one using convert60ito24p. As interlaced encodings do need much more bitrate if the output of quality should be the same as a progressive encoding (according to blocks etc.) BUT keep in mind .. on the one hand you will get less blocks cause of more compression, but the "smooth" movement of your NTSC VIDEO material will be changed to that typically Film Look playback! And once convert60ito24p is proceeded on the encoding you cant restore it in the future. |
ink wrote:
"BUT keep in mind...." oh, i'm trying my firend ink :screwy: but my brain now is like "star wars", the good and the bad are fighting and i only see stars . :litesbr: |
The very big bullshit is that one day the holy lord brought us NTSC 29.97! And thats what does give us all the confusing. :evil:
:wink: |
ink, J-Wo, all...
now another reference (too confuse for me): http://www.hometheaterhifi.com/volum...e-10-2000.html |
Site design, images and content © 2002-2026 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2026 Jelsoft Enterprises Ltd.