Go Back    Forum > Digital Video > Video Project Help > Encode, Convert for streaming

Reply
 
LinkBack Thread Tools
  #1  
11-28-2019, 01:09 PM
WarbirdVideos WarbirdVideos is offline
Free Member
 
Join Date: Nov 2017
Location: Oakland, California
Posts: 48
Thanked 7 Times in 7 Posts
What ever happened to odd/even fields?

With odd/even the TV set (decoder) actually showed two separate fields (1,3, 5... and 2, 4, 6...) to create a frame (30fps, b&w). But do the codecs actually scan lines 1, 2, 3, 4, etc and keep them seperate (?), or did they just change the terminology? Why do some codecs begin with BFF, assuming "bottom" = scan lines 2, 4, 6 ...

Thanks,
Steve
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Ads / Sponsors
 
Join Date: ∞
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
11-28-2019, 07:21 PM
msgohan msgohan is offline
Free Member
 
Join Date: Feb 2011
Location: Vancouver, Canada
Posts: 1,323
Thanked 334 Times in 276 Posts
The only codec that comes to mind which specifically requires BFF is DV. I don't know why they chose it.

Most allow you to specify, yourself.

I don't understand what you're asking with the other questions.
Reply With Quote
  #3  
11-29-2019, 07:02 PM
WarbirdVideos WarbirdVideos is offline
Free Member
 
Join Date: Nov 2017
Location: Oakland, California
Posts: 48
Thanked 7 Times in 7 Posts
I suppose the real question is: Why would a scan begin with the 2nd scanline (BFF) when #1 is the first scan line (TFF)? Also, why is there an option to choose TFF or BFF when there is so little info on which one to choose? Most people say: I "think" it's TFF, but run a test and look for the smoothest motion or something else ambiguous. Is there a definitive list somewhere which clearly states interlaced codec's field orders?
Reply With Quote
  #4  
11-29-2019, 07:07 PM
lordsmurf's Avatar
lordsmurf lordsmurf is offline
Site Staff | Video
 
Join Date: Dec 2002
Posts: 13,633
Thanked 2,458 Times in 2,090 Posts
Everything but DV is TFF.

- Did my advice help you? Then become a Premium Member and support this site.
- For sale in the marketplace: TBCs, workflows, capture cards, VCRs
Reply With Quote
  #5  
11-29-2019, 08:59 PM
msgohan msgohan is offline
Free Member
 
Join Date: Feb 2011
Location: Vancouver, Canada
Posts: 1,323
Thanked 334 Times in 276 Posts
Quote:
Originally Posted by lordsmurf View Post
Everything but DV is TFF.
jjdd posted samples showing that at least one driver version for his "ATI TV Wonder USB 2.0" spits out PAL BFF: http://www.digitalfaq.com/forum/vide...html#post64266

Quote:
Originally Posted by WarbirdVideos View Post
Why would a scan begin with the 2nd scanline (BFF) when #1 is the first scan line (TFF)?
https://lurkertech.com/lg/fields/#wh...anceselectable
https://lurkertech.com/lg/video-systems/#debacle
https://www.dvmp.co.uk/digital-video.htm (particularly the Field Order section which attempts to explain how spatial order is not necessarily temporal order)

Ambiguous terminology makes these things even more complicated than they already are on a technical level.

Quote:
Is there a definitive list somewhere which clearly states interlaced codec's field orders?
The device that does the digitizing is what determines the field order of the capture, not the codec.

Quote:
Also, why is there an option to choose TFF or BFF when there is so little info on which one to choose? Most people say: I "think" it's TFF, but run a test and look for the smoothest motion or something else ambiguous.
You're locked into what your device samples. Your only options are specifying it correctly, incorrectly, or modifying the capture afterward and losing 1 or more lines.

Wrong field order is a difficult thing to miss, if you view the video correctly.
Reply With Quote
  #6  
11-30-2019, 10:40 AM
lordsmurf's Avatar
lordsmurf lordsmurf is offline
Site Staff | Video
 
Join Date: Dec 2002
Posts: 13,633
Thanked 2,458 Times in 2,090 Posts
3 thoughts:

1. You made this post in the EDIT/ENCODE forum. When editing/etc video, you must pay attention to TFF/BFF. Everything but AVI can be run through a codec checker, but also realize it can be wrong. You can have progressive in interlace, or interlace in progressive (BAD!), or flopped fields because the person didn't know what he was doing (BAD!). You need to preview those in a player like VLS, see how it reacts to 2x Yadif. Or better yet, watch on interlaced CRT. As msgohan says, it'll be obvious if wrong.

2. In terms of capture, how/why does NOT matter. It just is. So do what is required. (Almost?) everything uses TFF, aside from DV cards/boxes/cameras that need BFF. No idea why. And I've never seen a satisfactory answer. But when you understand all the dumb stuff DV did/does, all the terms DV misuses/abuses (examples: "capture", "audio lock"), then you'll just roll your eyes at the nonsense. Your thought will be "figures". DV was retconned to mean "digital video" (sort of how DVD was "versatile", not "video", and I always forget the DV original term), but it could be "dumb video" as far as I'm concerned.

3. Don't overthink easy aspects of video, unless you're wanting to be an engineer, or software/filter dev. Video has enough of a learning curve without making things harder on yourself for no reason.

- Did my advice help you? Then become a Premium Member and support this site.
- For sale in the marketplace: TBCs, workflows, capture cards, VCRs
Reply With Quote
  #7  
11-30-2019, 11:41 AM
hodgey hodgey is offline
Free Member
 
Join Date: Dec 2017
Location: Norway
Posts: 1,683
Thanked 449 Times in 385 Posts
Quote:
But do the codecs actually scan lines 1, 2, 3, 4, etc and keep them seperate (?), or did they just change the terminology?
The output data from analog video decoder chips is typically one field after each other (otherwise they would have to buffer fields). Codecs may or may not bunch 2 and 2 fields together or in some cases store 2 fields as one progressive frame. If they are stored as fields, they are then typically weaved together when decoded from a video codec or in case of a capture device, from the driver output.

What codecs do internally vary a bit:

I believe lossy formats that support interlaced video (e.g mpeg2, DV etc) will encode on a field basis internally (when in interlaced mode), as otherwise one may get weird artifacts, though they may have a concept of storing 2 and 2 fields together in the data stream.

Now the specification documents for DV, mpeg2 and other industry formats are typically hidden behind paywalls costing a lot of $$$, so I haven't looked at how it's done in detail. One could also dig through source code for the exact details but that's a bit more tedious.

As for lossless codecs: Huffyuv assumes video taller than 288 pixels is stacks interlaced and then stacks every other line side by side. Lagarith is derived from huffyuv so it may or may not do the same, while I believe utvideo and ffv1 just store whole frames and does not have any concept of interlaced video at all.
Reply With Quote
  #8  
11-30-2019, 06:31 PM
WarbirdVideos WarbirdVideos is offline
Free Member
 
Join Date: Nov 2017
Location: Oakland, California
Posts: 48
Thanked 7 Times in 7 Posts
Thanks for the info guys - especially the links provided by MSGOHAN for the deep dive into this! You are correct Lordsmurf, I do not want to be an engineer or a coder, but I need to get it right because I have around 300 tapes on Hi8, DV, DVCAM and HD. As part of my Television Production degree back in '75, I had to complete a Broadcast Engineering program and be able to troubleshoot and successfully repair TV sets and other equipment. But analog was a mature technology, especially compared to ever-evolving technology of today.

My ultimate goal here is to obtain the best "source" footage extracted from the various tape formats that I shot over the past 25 years. That source footage will be the archived master of the historically significant material of WWII vets. I figure some day, computers will be able to take low resolution Hi8 and DV footage and turn it into 4k video and beyond.

My goal is to get it online, and also send the raw source files to a place where future generations can utilize it. So for now, I'll be deinterlacing it with QTGMC and upscaling it for editing. I'll likely denoise it first, but I need to run tests, unless someone has done this and has written it up. I may sharpen it after the upsize, or wait until I do the final output from Vegas Video.

Any other guidance will be greatly appreciated!
Steve
Reply With Quote
Reply




Tags
bff, odd/even fields, tff

Similar Threads
Thread Thread Starter Forum Replies Last Post
Deinterlacing noise at the bottom of Top fields? ofesad Capture, Record, Transfer 1 04-24-2019 01:39 AM
Editing interlaced footage without destroying fields? JamieStar99 Edit Video, Audio 3 02-23-2018 03:17 PM
Metadata Encoding guide/defintions for video data fields? scanner9 General Discussion 1 07-18-2014 02:27 PM
Unfolding fields before applying Virtualdub filters unclescoob Restore, Filter, Improve Quality 10 10-02-2011 09:18 PM
Interlace, how "fields" are retained through editing magillagorilla Encode, Convert for discs 2 02-16-2011 10:56 PM




 
All times are GMT -5. The time now is 03:31 PM