Log in

View Full Version : how add interactivities with dvd-rb ?


survivant
13th December 2004, 16:28
I'll like to add a custom encoder with dvd-rb. How can I do that ?

I'll start from the beginning. I used eclPro to encode the m2v with dvd-rb. But I got a dvd were the frame flag was incorrect. I had to specify manually the Field order. Eclpro don't generate the .pcp file for all files when it's start encoding so I wasn't able to simply get the .pcp file and change the field order...

So I started a script capable of extacting the ecl file from Rebuilder.ecl and generating the correct .pcp file from ProCoder. I can do all the .m2v files in batch.

My problem is that I want to be able to add interactivity with dvd-rb. I almost always use the 3 steps encoding. I would like to be able to send message the dvd-rb. Like the current eclpro. Encoding VTS01 ... Encoding VTS2...

and also when the encoding is done, I,ll like to be able to enable the Rebuild button.

There is a way that we can look for something ? I don't want to replace eclPro, just be able to add mores features to different encoder. and eclpro don't supporte filters, I'll continue to use my script when the flags are incorrects or when I need filters. (Perl script, and Autoit Script. The both can be compile into .exe)

thanks

wmansir
13th December 2004, 16:49
You can do it the way EclPro originally did, pretend to be CCE.

DVD-RB uses CCE/EclPro in commandline mode, so it launches the program with a commandline that includes the .ecl job to do. When the encoder finishes it closes automatically, DVD-RB detects that and then launches the the next job. When all jobs are done the encoding part is finished and the rebuild button is available.

So all you have to do is make your program accept the same commandline format, do the job and then close when finished. Then replace whatever encoder you are 'faking' on the DVD-RB setup page.

survivant
13th December 2004, 17:26
thanks, I though dvd-rb was calling an instance of eclpro and exchange message with it. It more simple the other way by command line.

So I have no other choice for now to let dvd-rb to call ProCoder one by one, and dvd-rb enabled the Rebuild button.

Or I can encode all the m2v in batch.. change the Status in rebuilder.ini and restart dvd-rb .. sound not the best way.. could be a work around for now.

Trahald
14th December 2004, 03:55
Thats what alot of the dvd2svcd plugins do. Works fine.

survivant
14th December 2004, 20:40
what do you mean ? What DVD2SVD have to do with ProCoder 2 and dvd-rb ?