2005-03-16, 09:42 PM
To be perfectly honest, I haven't yet considered what I'm going to do about the codec side.
mencoder would probably be the easiest route to go, and all I'd have to really do is generate a UI and a plugin config panel. Then I'd call the external program with the parameters set in the config panel. The downside to this is that its relying on an external program to function properly, and mencoder crashes.. a lot. I'd probably have no way to handle exceptions thrown this way, nor would I be able to display progress unless I trap the output in the console, which I really don't like to do. So this alternative is the easiest, but the most prone to failure.
What I'd like to look into would be the xvid DLL's, basically seeing if they offer enough control over the codec to use for my purposes. I would imagine this is the case, but I haven't looked too hard at the codec side yet, because I already know writing the UI will be the hardest part for me. I've written some nice programs with really ugly interfaces, believe me
I'm open to suggestions if anyone else knows anything about integrating codecs into a project. I mean, if I'm handling objects, I dont necessarily have to have intimate knowledge of how the codec works to use it. It'd help, but thats not my field of expertise, and probably a big reason why OOP exists
mencoder would probably be the easiest route to go, and all I'd have to really do is generate a UI and a plugin config panel. Then I'd call the external program with the parameters set in the config panel. The downside to this is that its relying on an external program to function properly, and mencoder crashes.. a lot. I'd probably have no way to handle exceptions thrown this way, nor would I be able to display progress unless I trap the output in the console, which I really don't like to do. So this alternative is the easiest, but the most prone to failure.
What I'd like to look into would be the xvid DLL's, basically seeing if they offer enough control over the codec to use for my purposes. I would imagine this is the case, but I haven't looked too hard at the codec side yet, because I already know writing the UI will be the hardest part for me. I've written some nice programs with really ugly interfaces, believe me
I'm open to suggestions if anyone else knows anything about integrating codecs into a project. I mean, if I'm handling objects, I dont necessarily have to have intimate knowledge of how the codec works to use it. It'd help, but thats not my field of expertise, and probably a big reason why OOP exists