View Full Version : x264 "Single pass Quantizer" + "Multipass"
valipod
9th January 2006, 15:25
What would you think of a combination of the two? And let me clear out, what it now sounds stupid.
At least because of DVDs, fitting a movie on 1 CD is now (at least for me) no longer priority #1. Quality is. So if I encode something, I do it Single Pass, Quantizer 20. And let's say I get a 1 GB Avi. If I redo the encode, twopass, with the target size 1GB, I get a better quality (not in every frame, but percieved quality). So wouldn't be usefull to have a two pass where you don't set the end size, but some quality average? So in the first pass, the codec decides the size needed for some quantizer, and then in the second, optimizes the bitrate for the human eye.
Shoot me.
DarkZell666
9th January 2006, 15:39
You definately need a kick in the backside! :p
Quality mode already exists in x264 (and is available for use in MeGUI too).
The cmdline option is --crf <x> where x is the nominal quantizer for PFrames.
In high-motion scenes, x264 calculates the derived quantizer for each frame accordingly to percieved quality (which means it will raise to something like 26 or 30 in high motion scenes, according to the quantizer compression setting for example).
Example : for anime I use --crf 22.
I then have Iframes @ QP = 19, and Pframes @ 22 < QP < 30 (bframes being closer to 30 than to 22 ^^)
This mechanism even only requires 1 single pass, isn't that cool ? ;)
Since which revision of x264 haven't you updated ? :p
valipod
9th January 2006, 16:06
Actually, I use the 388M revision. What I don't use ist command line.
And in VirtualDub(Mod), using the GUI that came with the codec, I only found "Single Pass" - Bitrate or Quant, and Multipass First (&fast) and Nth.
So then, is there a way to keep working with Virtual Dub?
Doom9
9th January 2006, 16:20
So then, is there a way to keep working with Virtual Dub?I'm afraid most developers are dead set against continuning to update the VfW.. so you have basically two options: start using a CLI based tool (MeGUI, realanime and staxrip come to mind), or you learn how to code and implement it on your own.
Sirber
9th January 2006, 16:22
Is it me or I already read that somewhere?
valipod
9th January 2006, 16:50
Is it me or I already read that somewhere?
Actually, I did search, but I couldn't come up with better keywords than "Quantizer + Multipass", and I think you can imagine, what such a search gives for results... Had I imagined that the VfW displays less options than the codec supports, it might have worked out better. But since I have seen some changes in the Codec GUI in the last some months...
Anyway, thanx, sorry for the maybe unnecessary thread, please delete it, obviously I don't have the rights.
Sirber
9th January 2006, 16:56
Here! It was about VFW though, but doom9 gave the same answer :)
http://forum.doom9.org/showthread.php?p=758614#post758614
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.