View Full Version : How much better is 12 GOP?


Thomas Smet
April 26th, 2006, 12:41 PM
While at first glance a 12 GOP may seem much better the way I understand the way GOP's work is that 12 GOP's isn't really all that much better than 6 GOP's. It is better but not no 2x better. Am I wrong on this one?

If you think about it the only difference between IBBPBBIBBPBB and IBBPBBPBBPBB is that the 12 GOP version has one less I frame and in it's place a P frame instead. That one frame reduction from I to P doesn't seem like it would free up a whole lot of bits.

Tim Holtermann
April 26th, 2006, 12:47 PM
The lower number of GOP the better the image. 12 is not better than 6. It is this number of frames it looks at to throw data away. This is why 6 GOP is better than the Sony HDV format for example.

Craig Terott
April 26th, 2006, 01:34 PM
The smaller the GOP the more I-Frames. 12 ain't better than 6.

Thomas Smet
April 26th, 2006, 01:41 PM
I mean beter in terms of having to deal with twice the data. I realize a smaller GOP is better. Well until you start to get too small of a GOP. For example if it was I frame only then that 19.7 mb/s wouldn't leave very many bits for each frame.

I guess my whole point here is how many bits are we really saving by using a 12 GOP instead of a 6 GOP? Is it really enough to handle 2x the data? I personally do not think so but then again I haven't seen any of the 60p video so I cannot say.

Is 12 GOP's the rate for 720p 60p HDTV broadcasts?

Steve Mullen
April 26th, 2006, 02:14 PM
I haven't seen any of the 60p video so I cannot say.

Is 12 GOP's the rate for 720p 60p HDTV broadcasts?

You can see 60p in the JVC booth at the stand where they are showing the tiny, $8000 encoder/decoder.

They are running a D5 tape of ABC 720p60 to one screen and also sending the data through the new encoder which uses the new 60p chip. This is then decoded by JVC's $30K box and shown on a second screen.

Result -- no difference even with fast moving video.

Multiburst very clean to 30GHz through the new chip.

So the new chip easily handles 60p with its 12 frame GOP.

By the way, ATSC is 15 frames so by the logic that longer is "worser" -- the 12 frame is "better" than any 720p broadcasts you've ever seen. In fact ATSC 720p60 has a video encoding data rate of 15Mbps verses 18Mbps for JVC's ProHD -- so it's actually a higher data rate than what you've likely ever seen.

With MPEG -- the encoder is where the magic is done. The encoder can alter the "efficiency" so that you really can't compare data rates.

Also think about how MPEG-2 encodes. Why might 60fps be better to encode than 30?

Thomas Smet
April 26th, 2006, 03:28 PM
Well 60 fps has less motion between frames compared to 30 fps. So for the most part the 12 GOP is covering about the same exact amount of time that a 30p 6 GOP would. Both cover 1/5 of a second in time but the 6 GOP version has bigger motion jumps between frames which are harder to predict.

Thanks Steve for the info. I was sure it looked good but I didn't know how good it was looking. I trust your eyes.

Keith Winstein
April 26th, 2006, 06:24 PM
By the way, ATSC is 15 frames so by the logic that longer is "worser" -- the 12 frame is "better" than any 720p broadcasts you've ever seen. In fact ATSC 720p60 has a video encoding data rate of 15Mbps verses 18Mbps for JVC's ProHD -- so it's actually a higher data rate than what you've likely ever seen.


Just to clarify, ATSC doesn't impose any requirement on the length of a GOP. Some 720p60 stations use a 15-frame GOP (like WFXT, the Fox affiliate in Boston) and some use a 30-frame GOP (like WCVB, the ABC affiliate). You could use a 1-frame GOP, a 6-frame GOP, or even a 300-frame GOP if you really wanted to. Of course the last one would really be unpleasant for channel-surfers... :-) So ATSC does suggest an I-frame at least once every half-second.

There's also no 15 Mbps limit on the data rate. ATSC-conformant "terrestrial" decoders need to deal with video streams up to 19.4 Mbps. WCVB (the ABC affiliate with the 30-frame GOP) puts about 16.6 Mbps into the video.

Stephen L. Noe
April 26th, 2006, 07:24 PM
There's also no 15 Mbps limit on the data rate. ATSC-conformant "terrestrial" decoders need to deal with video streams up to 19.4 Mbps. WCVB (the ABC affiliate with the 30-frame GOP) puts about 16.6 Mbps into the video.
Exactly Keith, Broadcasters have a 19.4Mb pipe to fit everything into. I've heard of some HD broadcast as low as 8Mb @ PBS. It's how the broadcaster wants to divi up the bandwidth between SD and HD

Stephen L. Noe
April 26th, 2006, 07:27 PM
Well 60 fps has less motion between frames compared to 30 fps. So for the most part the 12 GOP is covering about the same exact amount of time that a 30p 6 GOP would. Both cover 1/5 of a second in time but the 6 GOP version has bigger motion jumps between frames which are harder to predict.

Thanks Steve for the info. I was sure it looked good but I didn't know how good it was looking. I trust your eyes.
Smet,

You nailed it. 12GOP is the same fraction of time for 60fps as 6GOP would be for 30fps therefore our prediction was correct. JVC had to either A) Speed up the tape in the tape drive or B) make the encoding twice as efficient at the same datarate. I'l bet the encoder get's HOT.

Steve Mullen
April 26th, 2006, 08:41 PM
Well 60 fps has less motion between frames compared to 30 fps.

You are exactly right.

Since compression works on the delta (difference) between frames -- motion between frames can be the biggest cause of differences -- the smaller the interval between frames, the smaller the delta, hence the less that needs to be compressed. The less that needs to be compressed, the less data to be recorded.

Thomas Smet
April 26th, 2006, 09:34 PM
Steve I just want to thank you for all of the great information you have put out there over the last few months on how mpeg2 works and what the GOP structure does. You have really taught me a lot.

Mark Silva
April 27th, 2006, 02:59 PM
I've heard of some HD broadcast as low as 8Mb @ PBS. It's how the broadcaster wants to divi up the bandwidth between SD and HD

And boy does it show. PBS used to have some of the best looking broadcasts....now they're the worst. Your lucky to not see any compression artifacts even for a second or two.

I wish the stations would not be killing their content with multiple SD embedded streams with their HD streams. 19.2 is barely enough as it is for fast movement at 1080i and then reduce it further by embedding a virtually unwatched weather channel (NBC affiliate in my town does that) but the ABC signal has no other embedded stuff thank god and their programming always looks great.

I look forward to saturday or sunday night movies shown on ABC 720P.

Steve Mullen
April 27th, 2006, 03:19 PM
And boy does it show. PBS used to have some of the best looking broadcasts....now they're the worst. Your lucky to not see any compression artifacts even for a second or two.

I look forward to saturday or sunday night movies shown on ABC 720P.

There are two additional Kawality Killers.

1) USDTV buys what they call "unused" OTA bits from as many stations in an area as they can. Which means in the cities they serve (Las Vegas is one) can have ALL their OTA stations look like crap. Maybe not as bad as PBS, but not good.

2) While TWC does use "rate re-shaping" it appears Cox does. Which screws-up even Discovery and INHD. Moreover, because Mark Cuban supposedly will not sign with cable companies that lower his quality--we Cox company subscribers don't get HDNET. Doubly screwed!

The FCC needs to regulate cable transmission instead of worrying about Janet's t*ts.

Stephen L. Noe
April 27th, 2006, 05:57 PM
Let's not gang up on PBS (the best broadcast content in America IMO). I see the same "breakup" @ ABC, NBC, FOX and CBS and many other "digital" channels. I've even seen full breakup of movies as if you were playing a DVD and it had some smudges on the disk while "on air" and broadcasting.

Local PBS broadcasters (WYIN, WTTW, WYCC) have invested millions in HDTV infrastructure. I think the 8Mb initially was just to get up and running with a signal. Now the backbone is in place I think they will comply with the 2006 mandate. I believe that was the government/FCC goal to begin with, getting stations they completely control (PBS) inline.

Steve Mullen
April 27th, 2006, 06:30 PM
Now the backbone is in place I think they will comply with the 2006 mandate. I believe that was the government/FCC goal to begin with, getting stations they completely control (PBS) inline.

I'm not sure what "mandate" you are talking about, but if it's the DTV Mandate, then it has nothing to do with HD at all. Especially HDTV quality.

The plain fact is that 1080i requires a full 19.4Mbps. Any PBS station who chose 1080i should have realized that by doing so it ruled-out any option to multi-cast WHILE transmitting HD. But no! PBS ripe with taxpayer money wanted 1080i cause it had the biggest numbers. Then, to get contributions, they promised multiple-casting so they could say they had "kids" programming and "school" programming, etc.

At first they talked of multi-casting SD by day and HD at night. That would be fine, but that's not what they do. Instead, they pipe the same stuff night and day. So both the SD and HD are bit-starved and thus unwatchable.

Moreover, why should taxpayers pay for HD crap like Boohbah, Jakers!, Flip Flop Shop, and the dreadful Mustard Pancakes. Are kids really watching HD at 3AM! Do kids really need HD! Should they be watching TV at all?

The fact is PBS at al is stuck in the "voice of god" doc style from `50 TV.

Moreover, IMHO, Discovery, National Geographic, INHD, HDNET, TCM, Sundance, IFC, and AMC do everything PBS does--better. Unless, you think the oh so Politically Correct POV counts as doing something others don't do. These VHS/DV docs keep repeating the same 3 or 4 PC themes because they sound daring but in the 21st Century are really, very, very safe.

Stephen L. Noe
April 27th, 2006, 06:51 PM
@S.Mullen

The "mandate" to digital TV. WTTW is one of the TOP PBS stations and a big supporter of JVC technology top to bottom. There content is first class.


P.S. If my opinion doesn't match yours, then it doesn't match yours....

Keith Winstein
April 28th, 2006, 01:11 AM
And boy does it show. PBS used to have some of the best looking broadcasts....now they're the worst. Your lucky to not see any compression artifacts even for a second or two.

I wish the stations would not be killing their content with multiple SD embedded streams with their HD streams. 19.2 is barely enough as it is for fast movement at 1080i and then reduce it further by embedding a virtually unwatched weather channel (NBC affiliate in my town does that) but the ABC signal has no other embedded stuff thank god and their programming always looks great.

I look forward to saturday or sunday night movies shown on ABC 720P.

I agree that PBS HD has lots of MPEG artifacts, but I don't think it's so clearly a result of the bitrates. I can only talk about Boston, but here PBS HD sends about 13.7 Mbps of 1080i60 video. ABC, meanwhile, sends about 16.6 Mbps of 720p60 video.

However, unlike the JVC HD100, neither broadcaster uses the "repeat frames" feature of MPEG-2 to allow film-source pictures to be sent only once (and the receiver to repeat them to perform the 3:2 pulldown). That means that when ABC broadcasts a 24 fps movie or a prime-time show, they're still sending 60 progressive frames per second and wasting lots of bits on needless redundancy. ABC's "real" bitrate for film-source material is about 12 Mbps. (Compared with the JVC HD100, which has a real bitrate of more like 19 Mbps since the HD100 uses the "repeat frames.")

Still, I agree that those 12 Mbps from ABC look pretty nice as you pointed out! So I think a lot of it has to do with the sophistication of the encoder.

Guy Barwood
April 28th, 2006, 02:59 AM
I would like to see JVC promoting this new codec chip more and more into the future. We need comparison samples, something visual for the non technical to understand what its all about.

I have been aware for a long time not all MPG2 encoders are created equal but I know for certain others many do not realise this. First generation DV was pretty much all the same camera to camera (purely in encoding quality), one standard VHS recorder resulted in basically the same result as another but this is not true of MPG2 and other MPG variants like MPG4 etc

The general community need to be educated on this. Not in forums like this where the fact people are able to interact in a relatively technical way leads itself to being more technically aware of the products on the market, but most videographers I know hardly know a KB from a MB. Quite rightly so too, they are more interested in the subject than the equipment specs

Steve Mullen
April 28th, 2006, 03:06 AM
I've been thinking more about GOP length and "quality." I think quality is directly related to two very different types of artifacts:

1) MPEG-2 Motion Blocking Artifacts from rapid motion

2) MPEG-2 Mosquitoe Artifacts from fine detail

Therefore:

The image quality (MPEG-2 mosquito artifacts from fine detail) of inter-frame codecs (HDV) cannot be inferred from data rates unless you also take into account GOP length. With Constant Bit Rate (CBR) encoding, increasing GOP length increases image quality because the P- and B-frames increase codec efficiency at a given data rate. MPEG-2 Motion blocking artifacts, however, will be greater because I-frames are less frequent.

Conversely, the shorter the GOP, the fewer the motion blocking artifacts because of the more frequent the I-frames. The shorter the GOP, the less efficient encoding will be at a given data rate and therefore the more fine detail mosquito artifacts.

Steve Mullen
April 28th, 2006, 04:07 AM
can only talk about Boston, but here PBS HD sends about 13.7 Mbps of 1080i60 video. ABC, meanwhile, sends about 16.6 Mbps of 720p60 video.

Curious if that 13.7 is when another 1 or 2 sub-streams are present.

In LV during the day, PBS HD is unwatchable. But, during Prime Time it gets a "bit" better. Yet the second SD channel continues. Which makes me wonder:

1) Do they rebalance the HD/SD data rates in the evening?
2) Do they run 2 sub-streams during the day?

I heard a lot of talk at NAB that even some CBS stations would very much like to broadcast 720p60 at about 14-15Mbps which easily gives them 3-4Mbps for a sub-steam like weather and news which is a second revenue source. Of course CBS, the network hates this idea -- unless it buys CNN in which case the second stream becomes VERY valuable!

Likewise, NBC would benefit from OTA CNBC in the day with MSNBC at night.

Since DirecTV cuts 1080i off at 1280 there would not be much resolution lost.

72060 really makes far more economic sense than 1080i.

Mark Silva
April 28th, 2006, 10:28 AM
Don't anyone get me wrong, I've had signal breakups on ABC as well, but I think that has more to do with where you and your antenna are located in relation to where the broadcast towers are. All I know is, the super bowl on ABC looked spectacular and relatively artifact free which was a first for my eyes.

One other thing on films being shown on national networks I found interesting. I was capturing the beginning segment of Terminator 3 on my home system with this neat little external USB HDTV Tuner I have. I took just a few seconds of it to work and converted it to uncompressed .mov to look at it on our fcp 5 system. I realized there the movie clip said its source was 24fps!


Anyone here look at the quality of D-VHS?

Thats a 14.1 bitstream at 1080i.

How does it hold up by comparison?

Keith Winstein
May 1st, 2006, 11:47 PM
While at first glance a 12 GOP may seem much better the way I understand the way GOP's work is that 12 GOP's isn't really all that much better than 6 GOP's. It is better but not no 2x better. Am I wrong on this one?

If you think about it the only difference between IBBPBBIBBPBB and IBBPBBPBBPBB is that the 12 GOP version has one less I frame and in it's place a P frame instead. That one frame reduction from I to P doesn't seem like it would free up a whole lot of bits.

Something just occurred to me today on this. The HD100 doesn't just use a 6-frame GOP -- it uses a 6-frame *closed* GOP. In temporal order, the frames in the GOP go BBIBBP. But since the GOP is closed, the first two B pictures can only refer to the (future) I frame -- not to any P frame. They're not really bilinearly predicted at all. So the 6-frame closed GOP is really bbIBBP, where "b" stands for a "bastard B" frame that only has one parent (the future I frame), not two parents like a normal B frame. By contrast, a 12-frame closed GOP would be something like bbIBBPBBIBBP, where only 2 out of the 12 frames are "bastard B" frames.

I could be wrong on this because I haven't checked it out in detail, but I believe this is how it works. So it's not the case that a 12-frame GOP just replaces one I frame with a P frame -- it also replaces two bastard B frames with legitimate B frames that are each the children of two parents.

On ATSC HDTV, of course, they use 15-frame GOPs or 30-frame GOPs or whatever, but the broadcasters also never send *closed* GOPs. The broadcasters have the advantage (unlike the HD100) that every B frame they send can be bilinearly predicted by the most-recent-past and most-proximate-future reference (I or P) frames.

Steve Mullen
May 2nd, 2006, 12:44 AM
In temporal order, the frames in the GOP go BBIBBP. But since the GOP is closed, the first two B pictures can only refer to the (future) I frame -- not to any P frame. They're not really bilinearly predicted at all. So the 6-frame closed GOP is really bbIBBP, where "b" stands for a "bastard B" frame that only has one parent (the future I frame), not two parents like a normal B frame. By contrast, a 12-frame closed GOP would be something like bbIBBPBBIBBP, where only 2 out of the 12 frames are "bastard B" frames.



It dependes, I think, on what you mean by "temporal order."

The frames are encoded with the I frame first and then the P frame(s) (because they depend on the I frame) and then the B frames (because they depend on the I and P frames).

So the "encode order" is:

I
_ __ __ P __ __

_ B1 B2 _ B3 B4

The Closed GOP means the final two B frames are encoded only from the past frames. So these are the "bastard" frames.

The "transmission order" is based on the order we need them during decoding.

This should be:

I P B1 B2 B3 B4 I P B1 B2 B3 B4

Thomas Smet
May 2nd, 2006, 07:27 AM
talk about a dysfunctional family.

Carl Hicks
May 2nd, 2006, 08:15 AM
[QUOTE=


Anyone here look at the quality of D-VHS?

Thats a 14.1 bitstream at 1080i.

How does it hold up by comparison?[/QUOTE]

Hi Mark,

The DVHS HD recordings can be at a bit rate of up to 28 MB/Sec, and they look stunning. We use DVHS machines frequently on demos of our DILA HD projectors, on very large screens.

Keith Winstein
May 2nd, 2006, 10:40 AM
It dependes, I think, on what you mean by "temporal order."

The frames are encoded with the I frame first and then the P frame(s) (because they depend on the I frame) and then the B frames (because they depend on the I and P frames).

Hi Steve,

I think that's not quite right. The coded order (or "transmission order") of the frames in an HD100 GOP is IBBPBB. If we put in the temporal reference (which shows the display order), it becomes: I2 B0 B1 P5 B3 B4. So the display order (which I referred to earlier as "temporal order") goes B0 B1 I2 B3 B4 P5.

The Closed GOP means the final two B frames are encoded only from the past frames. So these are the "bastard" frames.

Not quite... The closed_gop flag means that the "first consective B-pictures (if any) immediately following the first coded I frame following the group of pictures header ... have been encoded using only backward prediction or intra coding." (MPEG-2 cl. 6.3.8). It's talking about the first two B-pictures in the GOP (both in coded order and display order), not the last two. And it's saying that they're encoded only from the I frame that comes later (in display order).

Joe Carney
May 2nd, 2006, 11:42 AM
One of the issues is, we are in sort of an inbetween time, along with the mandate should come a converson to h.264 which in theory, should alleviate many of he bandwidth problems and allow for sub channels without affecting the main channels quality. We're not there yet, probably won't be until the very latest possible moment allowed by the FCC. The Europeans are actually way ahead of us on this. (use of h.264).