Log in

View Full Version : research for multi pass codec config dialogs


stax76
7th November 2005, 00:48
I'm doing some codec config dialogs for my DVX successor StaxRip. Traditionally you have to open for each pass the codec dialog. MeGUI has a shortcut where all passes are generated from the same dialog instance. Is this the best solution or is it still often necessary to create a dialog instance for each pass? I have a idea, imagine you have opened the config dialog. Pressing F1 (or using some menu) would load the first pass settings in the dialog, same for the second pass using F2. This way it would be very easy to switch between passes.

Furthermore it would be possible to load all passes at once in the dialog and to change a setting for all passes at once, let me elaborate. All controls can be set to a intermediate state, ever seen a CheckBox in intermediate state? When the dialog is in "all at once" mode it would when loading the settings compare if all passes have the same value for a certain setting, if yes it would display the value as usual but if one of the passes differs, it would put the control of this setting in intermediate state. The other way around changing a setting in "all at once" mode would change the setting in all passes. Would be a lot fiddling with types and reflection and stuff. Actually I have early implementation but I'm not satisfied with it and would redo it if people like the idea. What do you think? Would you find such a dialog useful?

stax76
12th November 2005, 00:26
I just released StaxRip which implements such a dialog for x264.

http://forum.doom9.org/showthread.php?t=102652

Sirber
15th November 2005, 14:11
are you using CLI or VFW?

stax76
15th November 2005, 18:48
The better one, CLI