Log in

View Full Version : Integrate the HC encoder by hank315 into DVD2SVCD


manolito
3rd February 2005, 20:47
Originally posted by manolito
I just wrote a small utility that gives HC a QuEnc compatible command line interface. This means that applications that can use QuEnc (like DVD-RB or DVD2SVCD) can now also use HC.

Download at
http://scifi.pages.at/manolito/HC_CLI/HC_CLI.zip

Cheers
manolito
Looks like my post is well hidden in this thread:
http://forum.doom9.org/showthread.php?s=&threadid=88888&perpage=20&pagenumber=4

This is for users of DVD2SVCD who are interested in trying a brandnew MPEG2 encoder.

Have fun
manolito

Nick
3rd February 2005, 22:49
Brilliant work Manolito.

I've tried Hank's project "standalone" and I am impressed both by the quality and the CQ mode. I was looking creating means to make this D2S compatible and with my limited programming knowledge, really struggling.

I can now abandon this project and put it out of its misery :)
Although my main aim was to make use of the CQ facility in the style of D2SRoBa+CCE, so maybe it's still worth developing. Not that I have much time to do so.

Cheers
Nick

manolito
4th February 2005, 00:20
Thanks Nick, but it is really more a script than a program. I first wrote it in Turbo Pascal 6.0 for DOS (just to give you an idea what an old fart I am), it worked well under Win9x, but no luck with Win XP. So I finally used a scripting language which is basically DOS Batch language with some Windows extensions. Lots of spaghetti code, GOTOs, very clumsy, but it works.

The really interesting thing is the one pass CQ mode you mentioned. This certainly is the final goal (I am a little spoiled by the D2SRoBa / CCE combination), but I am not sure if it can be done at all with a Constant Quant mode.

You probably saw that Amnon82 already wrote a CQ prediction tool for HC. The problem seems to be that CQ mode does not care for the max bitrate restriction, so you might easily end up with a stream that is not DVD (or SVCD) compliant. CCE's OPV mode is different from CQ because CCE does observe the min and max bitrates even in OPV mode. I can only see one way out of this dilemma, and that would be to modify CQ mode so that the first priority is to stay within the bitrate restrictions and constant quant only is the second priority.

The other problem I see is that the value for CQ is an integer. I have not tested it, but I suppose that a CQ change of one step would mean quite a large difference in output size. At least for SVCDs it could be hard to fill a CD to the edge.

Anyway, I am very glad that now there is another free high quality encoder that has the potential to give CCE a run for the money. Hats off to hank315...


Cheers
manolito

manolito
21st February 2005, 20:32
I just added NuEnc to the list of supported encoders. Have a look here...
http://forum.doom9.org/showthread.php?s=&postid=614478#post614478

Cheers
manolito