DV Info Net

DV Info Net (https://www.dvinfo.net/forum/)
-   AVCHD Format Discussion (https://www.dvinfo.net/forum/avchd-format-discussion/)
-   -   H.264 issues... (https://www.dvinfo.net/forum/avchd-format-discussion/73216-h-264-issues.html)

Curtis Bouvier August 8th, 2006 08:52 AM

H.264 issues...
 
Just curious if any of you know a little about this codec and how it works...

In order to match the quality of the trailers on the apple web site, I need to save my video with the quality slider set for 90%, but the file size is ridiculous, and in order to match there file sizes... i need to save at 40% but all the picture quality is out the window.

How do they manage to pull this off?

Chris Barcellos August 8th, 2006 09:08 AM

I've had the same issue, and have had an easier time going out with a .wmv file.

One of the things I've seen recommended is to add saturation to your original project to get a more saturated color in the H.264 render.

Also, a lot of these films are actually running at 15 fps, to reduce file size.

Curtis Bouvier August 8th, 2006 09:24 AM

15 fps, that totally makes sense, never even thought of it. Reducing an entire 9-10 fps is huge when the total is 24, i think that would certainly allow for much higher image quality.

added note - I just checked a quicktime HD h.264 trailer (texas chainsaw massacre - the beginning), running 1280x688, believe it or not, it's 24 frames a second right on the money...

I'd love to know how they keep 24 frames a second, near perfect image and sound, and being 2 minutes and 53 seconds. at a measly 106mb....

it's all in the picture, becuase you can get away with a 4 mb sound file for a trailer that short...

Martin Mayer August 8th, 2006 09:38 AM

Well, actually I thought frame rate would make a big difference to filesize too, but it didn't!!! Honest. I encoded the clip in H.264 shown here originally at 12.5fps (it was PAL originally) and it looked pretty rough. So I re-encoded it at 25fps, and it was much smoother - and practically the same size!. Also: they were both only 2.7MBytes per minute!

Christopher Lefchik August 8th, 2006 09:47 AM

Quote:

Originally Posted by Curtis Bouvier
In order to match the quality of the trailers on the apple web site, I need to save my video with the quality slider set for 90%, but the file size is ridiculous, and in order to match there file sizes... i need to save at 40% but all the picture quality is out the window.

How do they manage to pull this off?

If you want to match a certain file size, then the secret is to look to the data rate. I've got an Apple HD H.264 trailer open right now. The duration is 2:24 at a data rate of 822 KB (kilobytes, not kilobits) per second, for a total size of 115MB.

Chris Barcellos August 8th, 2006 09:59 AM

Anyone have another recommendation on resolving the "washed out" look ?

Greg Boston August 8th, 2006 10:00 AM

One other factor here is keyframing interval. According to my FCP manual regarding output, a lot of the suggested keyframe rates are outdated. They recommend pushing it out to as much as every 300 frames if there isn't much motion. Also, the use of compression markers can help where you have transitions (ie a lot of pixels changing every frame) and other high motion areas. Compression markers force the encoder to create only I frames in that area before resuming the GOP structure.

There are people these days who's job title is 'Compressionist'. They analyze every frame and compress accordingly to maximize quality/filesize ratio. I suspect they are involved in creating these movie trailers on the Apple site.

By setting only a quality slider, most of us are applying a one size fits all approach to compression which helps in some areas and hurts in others.


my .02 worth,

-gb-

Curtis Bouvier August 8th, 2006 10:05 AM

theres no options to do anything, you cant even configure the codec....

You'd think it would have a $$$tload of options like Divx pro does lol.. but Divx is done with.

all there is, is a crummy slider bar that doesnt really do anything.

I'd limit the data rate, but I can't even select it. It's unavailable to use.

maybe theres a full version of the codec you need for "encoding" work???

and we all simpley have the viewing codec...

Kind of like having divx, and not divx pro with all the encoding options.

Greg Boston August 8th, 2006 10:14 AM

Yeah Curtis, it might require purchasing a stand alone H.264 encoder. I have a freeware program called Super on my Wintel machine that allows for many settings of the encoder. Might want to Google for it.

-gb-

Martin Mayer August 8th, 2006 10:19 AM

Quicktime Pro as an H.264 encoder???? (Also available for Windows!) :D

Curtis Bouvier August 8th, 2006 10:54 AM

Greg.

I would have to agree completely about key framing, it's the only possible explanation for the quality vs file size.

One thing I noticed about the trailers, is where area's are very dark, that part of the picture is completely removed, and it absolute black with no flicker of any kind. and you can sorta see where it meets with the actual picture.

OR that could be an actual post production technique they used for the film to eliminate heavy film grain in dark area's.... either way it doesnt look bad at all.

But this calls for some research, and I would like to have this encoding business down pat for when I get my Canon H1. I can't see Key framing being very hard.. it would just take a little practice, and I would probably need a program made specifically for encoding, rather than using the generic adobe premier pro one.

Christopher Lefchik August 8th, 2006 11:43 AM

Quote:

Originally Posted by Curtis Bouvier
But this calls for some research, and I would like to have this encoding business down pat for when I get my Canon H1. I can't see Key framing being very hard.. it would just take a little practice, and I would probably need a program made specifically for encoding, rather than using the generic adobe premier pro one.

You are using Premiere Pro? Then you can set both the bit rate and the key frame distance when encoding H.264 QuickTime files in the Adobe Media Encoder.

Christopher Lefchik August 8th, 2006 11:48 AM

Quote:

Originally Posted by Chris Barcellos
Anyone have another recommendation on resolving the "washed out" look ?

You might want to check out this topic: H.264 Brightness / Contrast issue...

Chris Barcellos August 8th, 2006 01:28 PM

Quote:

Originally Posted by Christopher Lefchik
You might want to check out this topic: H.264 Brightness / Contrast issue...

Thanks. I'm getting updates on that thread via email, so I can be the first to know when you brains have this figured out.

Loren Miller August 16th, 2006 01:31 AM

Martin asked-
[Quicktime Pro as an H.264 encoder???? ]

Since version 7.0.3. Currently it's 7.1.x. It's great. IMHO, WMV can't touch it. Totally scalable from HD to iChat conference to celphone screen.

- Loren


All times are GMT -6. The time now is 09:31 AM.

DV Info Net -- Real Names, Real People, Real Info!
1998-2024 The Digital Video Information Network