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 > Video Encoding > New and alternative video codecs

Reply
 
Thread Tools Search this Thread Display Modes
Old 4th February 2025, 07:44   #101  |  Link
rwill
Registered User
 
Join Date: Dec 2013
Location: Berlin, Germany
Posts: 429
Quote:
Originally Posted by kurkosdr View Post
If memory serves me well, a "field-picture" encodes a pair of interlaced fields (top and bottom field). Basically, in MPEG-2, in interlaced mode, you can either have a picture encoded as a progressive frame or as a pair of fields. The first type of picture is useful for "fake interlace" (needed to get a 25p video on DVD-Video because DVD-Video doesn't support progressive mode for example) or for scenes with zero motion in true interlaced video, and the other is for scenes with motion in true interlaced video.

Note: when I say "true interlaced video" I mean the kind of interlaced video that would give you those annoying comb artifacts during motion if you tried to weave/overlay its field-pairs into frames.

If so, does it mean y262 can't encode true interlaced video?
You have not understood interlaced support in Mpeg-2.
y262 can encode interlaced content just fine.
__________________
My github...
rwill is offline   Reply With Quote
Old 4th February 2025, 11:46   #102  |  Link
kurkosdr
Registered User
 
Join Date: Aug 2009
Posts: 405
Quote:
Originally Posted by rwill View Post
You have not understood interlaced support in Mpeg-2.
y262 can encode interlaced content just fine.
Then what are "field pictures"? Any hint?
kurkosdr is offline   Reply With Quote
Old 4th February 2025, 17:12   #103  |  Link
rwill
Registered User
 
Join Date: Dec 2013
Location: Berlin, Germany
Posts: 429
Quote:
Originally Posted by kurkosdr View Post
Then what are "field pictures"? Any hint?
Well maybe I am the wrong one to answer that. As far as I know a field picture in the context of Mpeg-2 is a coded picture where picture_structure is equal to "Top field" or "Bottom field".

If you need more information: The whole internet is at your fingertips.
__________________
My github...
rwill is offline   Reply With Quote
Old 4th February 2025, 17:16   #104  |  Link
hajj_3
Registered User
 
Join Date: Mar 2004
Posts: 1,173
This thread should be integrated into this thread: https://forum.doom9.org/showthread.php?t=185662
hajj_3 is offline   Reply With Quote
Old 4th February 2025, 17:29   #105  |  Link
kurkosdr
Registered User
 
Join Date: Aug 2009
Posts: 405
Quote:
Originally Posted by rwill View Post
Well maybe I am the wrong one to answer that. As far as I know a field picture in the context of Mpeg-2 is a coded picture where picture_structure is equal to "Top field" or "Bottom field".

If you need more information: The whole internet is at your fingertips.
That's what the internet tells me, a "field picture" is basically a field. If you have a 720x576i50 video, a field picture will be a 720x288 picture to encode a field (either top or bottom). Because if you have motion in that particulate field-pair and try to weave the two fields into a 720x576 frame and encode it as a "frame picture", you'll get combing artifacts that will need lots of bitrate to compress without massive artifacting. So, better encode that field-pair it as two pictures 720x288 each in "field picture" mode, not "frame mode".

Anyway, have you tried true interlaced (with combing artifacts when you weave/overlay) with y262? How well does it perform, say at 4mbps for 720x576 during motion scenes?

Last edited by kurkosdr; 4th February 2025 at 17:33.
kurkosdr is offline   Reply With Quote
Old 4th February 2025, 18:25   #106  |  Link
rwill
Registered User
 
Join Date: Dec 2013
Location: Berlin, Germany
Posts: 429
Quote:
Originally Posted by kurkosdr View Post
Anyway, have you tried true interlaced (with combing artifacts when you weave/overlay) with y262? How well does it perform, say at 4mbps for 720x576 during motion scenes?
Well of course I have. It performs. I do not know how well because I had skipped the stuff with the reference.
__________________
My github...
rwill is offline   Reply With Quote
Old 5th February 2025, 03:59   #107  |  Link
Asmodian
Registered User
 
Join Date: Feb 2002
Location: San Jose, California
Posts: 4,441
Quote:
Originally Posted by kurkosdr View Post
Anyway, have you tried true interlaced (with combing artifacts when you weave/overlay) with y262?
I would not call that 'true interlaced'. I would call that treating interlaced video as progressive. It is never good. If a codec cannot encode as fields it is better to bob deinterlace than encode the two fields from different timepoints in the same frame.
__________________
madVR options explained
Asmodian is offline   Reply With Quote
Old 5th February 2025, 07:51   #108  |  Link
rwill
Registered User
 
Join Date: Dec 2013
Location: Berlin, Germany
Posts: 429
Quote:
Originally Posted by Asmodian View Post
I would call that treating interlaced video as progressive.
What kurkosdr described, with is own words, appears to be interlaced content. I do not know why you suddenly come along with treating it as progressive content. No one talked about that. Can you explain further?
__________________
My github...
rwill is offline   Reply With Quote
Old 6th February 2025, 22:42   #109  |  Link
Asmodian
Registered User
 
Join Date: Feb 2002
Location: San Jose, California
Posts: 4,441
I mean encoding an interlaced frame as a single picture with combing artifacts (treating it as a single progressive frame) results in much worse quality than encoding the two fields as seperate pictures and weaving during decode.

The combing artifacts are very sharp high frequency detail that does not work well with our lossy frequency domain compression methods. This is even worse when considering 4:2:0 chroma sampling.
__________________
madVR options explained
Asmodian is offline   Reply With Quote
Old 7th February 2025, 07:10   #110  |  Link
rwill
Registered User
 
Join Date: Dec 2013
Location: Berlin, Germany
Posts: 429
I know this thread is originally about a H.266 successor but I just have to ask, do you guys have ever heard about field-based prediction in a frame picture in the context of Mpeg-2 video ?

I mean it all started with modus-ms325c where I had hopes he can tell me what features to add to y262 so it might see wider use, but I got disappointed.

Then kurkosdr and you came along and, if I understood you right, tried to argue that you need field pictures to encode interlaced content. But this is just not true, at least for Mpeg-2 video. I got disappointed again.
__________________
My github...
rwill is offline   Reply With Quote
Old 7th February 2025, 19:49   #111  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,956
Quote:
Originally Posted by Asmodian View Post
The combing artifacts are very sharp high frequency detail that does not work well with our lossy frequency domain compression methods. This is even worse when considering 4:2:0 chroma sampling.
Yeah, interlaced-as-progressive is very common in the worst video on the internet. Very early YouTube, along with anamorphic-as-square and limited-range-as-full.

Interlaced was the whole point of 4:2:2, really. I'm not sure why it remains such a big deal in production and post for progressive-only titles. It seems like 4:2:0 or 4:4:4 should be used.
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Old 10th February 2025, 00:04   #112  |  Link
Asmodian
Registered User
 
Join Date: Feb 2002
Location: San Jose, California
Posts: 4,441
Quote:
Originally Posted by rwill View Post
do you guys have ever heard about field-based prediction in a frame picture in the context of Mpeg-2 video ?
You mean adaptive field/frame compression? Changing between field or frame based encoding per-macroblock? My experiance (a long time ago now) was that this does not work as well for interlaced video compared to always using field pictures. I always got some blocks that should have been encoded field based, but were encoded frame based instead.

It might not be a big deal for y262 adoption, hopefully no one is encoding interlaced video today, but it is a feature I would want for encoding camcoder VHS tapes into MPEG2.
__________________
madVR options explained
Asmodian is offline   Reply With Quote
Old Yesterday, 22:53   #113  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,956
Quote:
Originally Posted by Asmodian View Post
You mean adaptive field/frame compression? Changing between field or frame based encoding per-macroblock? My experiance (a long time ago now) was that this does not work as well for interlaced video compared to always using field pictures. I always got some blocks that should have been encoded field based, but were encoded frame based instead.
I mean interlaced, period. Scripted entertainment has been exclusively progressive for years now. We still see some interlaced production for broadcast and sports, but that's declining, and mainly for legacy stuff that doesn't support HEVC anyway.

Quote:
It might not be a big deal for y262 adoption, hopefully no one is encoding interlaced video today, but it is a feature I would want for encoding camcoder VHS tapes into MPEG2.
Yeah, having 4:2:2 is definitely essential for archiving interlaced sources.
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Reply

Tags
iso, itu, successor, vvc

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 15:35.


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