Go Back    Forum > Digital Video > Video Project Help > Edit Video, Audio

Reply
 
LinkBack Thread Tools
  #1  
03-04-2018, 02:08 PM
benzio benzio is offline
Free Member
 
Join Date: Dec 2017
Posts: 46
Thanked 2 Times in 2 Posts
Straightforward question:

In an interlaced video, if i swap the fields and I invert the field order is the result the same?

I reformulate the question in a different way.
Do the even lines and the odd lines represent different lines "in space" other than in time?
If the analogue cameras do record a field "seeing" the same image when they record the other field the answer should be yes. Otherwise if the analogue cameras see the second field "shifted" by 1 line the answer should be no.

I'm afraid to be not clear enough so I ask the question in another equivalent way:
If i separate the fields and I interleave them, obtaining a double frame rate video with half the height, should the odd frames be a half pixel shifted down (even if it is impossible) to make the video really stable?

Does the odd lines intrinsecally contain information relative to a lower part of the image in respect of the corresponding even lines?

Thanks!
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Ads / Sponsors
 
Join Date: ∞
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
03-04-2018, 04:28 PM
sanlyn sanlyn is offline
Premium Member
 
Join Date: Aug 2009
Location: N. Carolina and NY, USA
Posts: 3,648
Thanked 1,308 Times in 982 Posts
Quote:
Originally Posted by benzio View Post
Straightforward question:

In an interlaced video, if i swap the fields and I invert the field order is the result the same?
That's not exactly straightforward, LOL! Glad you rephrased it below. But if you invert (reverse) the field order, motion will be back-and-forth instead of smooth. An object moving left to right will move ahead-back-ahead-back instead of ahead-ahead-ahead-ahead.

Quote:
Originally Posted by benzio View Post
I reformulate the question in a different way.
Do the even lines and the odd lines represent different lines "in space" other than in time?
Top and bottom fields occupy different scanlines. Scanline numbers begin at line 0. In top field first video (TFF), the top field plays first and occupies scanlines 0,2,4,6,8..., etc. The bottom field plays arfterward and occupies lines 1,3,5,7...etc.
In bottom field first video (BFF, usually DV format), the bottom field plays first and occupies lines 1,3,5,7,9..etc. The top BFF field is the second to play and occupies lines 0,2,4,6,8...etc.

Quote:
Originally Posted by benzio View Post
If the analogue cameras do record a field "seeing" the same image when they record the other field the answer should be yes. Otherwise if the analogue cameras see the second field "shifted" by 1 line the answer should be no.
Neither. The camera doesn't "see" shifted fields, and doesn't see the same image at two points in time, even if nothing moves.The camera sees two images at two different points in time. The circuitry doesn't shift the fields, it records the two images on two different sets of scanlines in the same frame.

BTW, digital cameras that record interlaced video work the same way. You've heard of the DV format? The same is true of newer digital cameras that record h.264 interlaced video.

Quote:
Originally Posted by benzio View Post
I'm afraid to be not clear enough so I ask the question in another equivalent way:
If i separate the fields and I interleave them, obtaining a double frame rate video with half the height, should the odd frames be a half pixel shifted down (even if it is impossible) to make the video really stable?
If you separate the fields they are already interleaved, one after the other. You will double the frame rate and the images will be half-height. The alternating fields will appear to shift upward one pixel when playing. The image will bob up and down during play and will not be stable.

Quote:
Originally Posted by benzio View Post
Does the odd lines intrinsecally contain information relative to a lower part of the image in respect of the corresponding even lines?
When fields are separated as in SeparateFields, the top and bottom fields contain only the information in their respective images. They don't contain information that is missing in part of another image, if that's what you mean. If you use SeparateFields() on a video that is 480 pixels high, each half-height field will contain 240 lines. If you use SeparateFields() on a video that is 576 pixels high, each half-height field will contain 288 lines.


If you want to stabilize a video that has up/down displacement, deinterlace to full-size frames , run a stablizer on it and reinterlace. If you have a defective video that has uneven vertical spacing between fields, you'll need Avisynth to fix it (if possible).

Last edited by sanlyn; 03-04-2018 at 05:02 PM.
Reply With Quote
The following users thank sanlyn for this useful post: benzio (03-04-2018)
  #3  
03-04-2018, 04:38 PM
benzio benzio is offline
Free Member
 
Join Date: Dec 2017
Posts: 46
Thanked 2 Times in 2 Posts
Thank you a lot for the very clear answer!

Quote:
Originally Posted by sanlyn View Post
If you want to stabilize a video that has up/down displacement, deinterlace to full-size frames , run a stablizer on it and reimnterlace. If you have a defective video that has uneven vertical spacing between fields, you'll need Avisynth to fix it (if possible).
Yes this is the former reason why I posed the question!
I suspected that the only way to stabilize an interlaced video was to deinterlace->stabilize-->reinterlace, but... Doesn't this procedure make the final video full of "interpolated junk" that it's not the real original information (but shifted in order to be stabilized)?
Reply With Quote
  #4  
03-04-2018, 05:09 PM
sanlyn sanlyn is offline
Premium Member
 
Join Date: Aug 2009
Location: N. Carolina and NY, USA
Posts: 3,648
Thanked 1,308 Times in 982 Posts
If you can detect distortion in a video that is stabilized by a mild filter like Stab(), you're really good. Even a stronger stabilizer like VirtualDub's DeShaker does very clean work. Something stronger like drastic settings in other stabilizer plugins will likely produced some form of distortion, but the principle technique used is some form of resizing. You will see artifacts in any motion-compensated interpreter, even with QTGMC. The choice is between some imperfection or watching frames hop up and down.
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Editing interlaced footage without destroying fields? JamieStar99 Edit Video, Audio 3 02-23-2018 03:17 PM
FS: Aluminum cutting blocks for 8mm-1/8"-1/4"-1/2" tape repair [SOLD] juhok Marketplace 1 12-25-2017 06:35 AM
WordPress "Carol White" spam = scam email [warning] kpmedia Web Development, Design 2 09-14-2013 11:23 AM
Interlace, how "fields" are retained through editing magillagorilla Encode, Convert for discs 2 02-16-2011 10:56 PM

Thread Tools



 
All times are GMT -5. The time now is 05:17 AM