Log in

View Full Version : CCE One-Click Software Beta


Pages : 1 [2] 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20

DMagic1
16th March 2004, 01:21
Why didn't see this last night. Had the perfect project for it.


Also is there anyway to have Rejig open minimized? It makes it very had to do anything while its popping up every few seconds.

KungFuCow
16th March 2004, 01:38
Unclicked AddAudio() and clicked ReSample Audio (44100) and the AVS files play in Windows Media Player now with no errors. So, once again, CCE is doing its thing.

jdobbs
16th March 2004, 01:50
KungFuCow,

I just went back and looked at the AVISYNTH documentation and, sure enough, AddAudio isn't there -- I have a feature loaded in the Plug-Ins, duh!!!

In the version I am currently working I will change the default to "ResampleAudio"

It's been so long since I loaded it I guess I forgot.

jdobbs
16th March 2004, 01:51
I cannot select 3 or 4 pass mode even when I use EclCCE or CCE Pro 2.67. I mean they're not greyed but when I select them, they don't stick.
Yep, another stupid error. I just fixed that one and it will be included in tonight's post.

djan
16th March 2004, 02:35
Hi,

Great work jdobbs, you're making a great tool. But I'm having some problem. First you say we have to install DVD2AVI but when I download the Donald Graft version, it's not an installation but files in a directory after extraction. I tried DVD Rebuilder using ReJig but it stops while Video Demultiplexing the last VTS. It gives me the following error : Run-time error '9' : Subscript out of range.

Thx for your help to let me try this great piece of work.

EDIT : The same problem with CCE 2.5 and the other method.

geffroman
16th March 2004, 02:54
Originally posted by jdobbs
@lighty

It does support subtitles. What it doesn't support is the removal of subtitles. In doing many DVDs I came to the conclusion that the total amount of space used by subtitles is completely insignificant, so rather than take take them out -- all subtitles remain in the final authored product.

jdobbs

Food for thought... The size of subtitles is not why I remove them. I remove them so I don't have to thumb through all the variations just to turn my language on and off during a movie.

Regards... and best of luck with this great program!

jdobbs
16th March 2004, 02:54
@djan

Are you sure you got it while demuxing? Was it before ReJig started its encoding or after? I've gotten this in the past when I had audio errors during remux -- but I thought it was gone...

djan
16th March 2004, 02:57
Yes, sure while demuxing, it's the same problem with the method 2 when I push prepare.

DMagic1
16th March 2004, 03:01
I just ran a project with Rejig and one click turned off. I had no errors or problems.

I'm now running a project with one click turned on. Will post if there are any problems.

djan
16th March 2004, 03:08
The same problem with CCE 2.5 but it's while Scanning and writing .D2V file. It's always on the last VTS.

djan
16th March 2004, 03:15
Ok, tested with another movie, it worked until Copying IFO, BUP, and menu files... then stopped with the following error :Run-time error '380' : Invalid property value.

quantum
16th March 2004, 03:24
I also got the 10 CCE windows opening at the start problem. Using the work-around at the start of the thread, I opened rebuilder.ecl via eclcce. This caused eclcce to load all 39 AVS's at once. I hope this isn't the regular method since this drove me up to around 2 gigs of ram. They need to be fed one at a time. I'll test something else that is simpler.

question:
- Will there be any way to adjust the bitrates for the different titles?
- To Doom9 or whoever is responsible: Why not immediately start a new forum for this app. I remember the monster IFOUpdate threads that quickly became impossible to follow.

I'm looking forward to the progress of this app. I think jdobbs has the expertise to make this work :-)

jdobbs
16th March 2004, 03:27
A new version v0.15 is attached.

Mar 15th, 2004 (v0.15)
- Deleted TMPGENC path from setup screen. It did nothing and caused confusion
- Fixed support for eclCCE with CCE SP 2.50. Makes command line (single click) possible with that version now
- Fixed error in menu in which setting the pass count didn't work
- Fixed offset_line=1 error. It should have been set to offset_line=0

Still having problems getting CCE SP 2.6X trial working with eclCCE but I'm a little burned out tonight.

ATTACHMENT REMOVED AFTER 1763 DOWNLOADS
LOOK AT THE FIRST POST TO FIND LINK TO LATEST VERSION

djan
16th March 2004, 03:27
I tested another movie and I got again the error '380'. It happens at the end of copying IFO, BUP and menu files.

EDIT : Doesn't it have anything to do with my non DVD2AVI installation ? Because I downloaded the Donald Graft version but it's not an installation. I just extracted the files in a directory. Do I have something to do with ?

DMagic1
16th March 2004, 03:38
No problems with Rejig and one click, or 3 step process.

One thing I did notice was that with 2 different movies the end result was 4,591,***,*** bytes each time.

Is there a saftey margin of 100mb or so?

djan
16th March 2004, 03:55
It's ok, with the new version, it's going farther. It's now encoding using ReJig. I'll post my results soon as fast as it's finished. I hope it'll work with CCE too.

jdobbs
16th March 2004, 03:58
Well, I'd be lying if I said I'd expected this many problems. Am I the only person who is getting good results from it?

@djan

I think you just need to pick a directory for DVD2AVI and run it once.

@dmagic

The resultant size is dependent upon the accuracy of the encoder (ReJig or CCE).

redfive19
16th March 2004, 04:00
I get an AviSynth error. I know I have AviSynth correctly installed since it works with DoItFast4U and the BIG3....

This is the error I get when opening the AVS in MPC

Script error: there is no function named "mpeg2source"
(Z:\Burn\dvdrebuild\d2vavs\v01000100001002.AVS line 5)

I dumped MPEG2Dec3WS.dll in the AviSynth plugins folder, but no luck. I am no AviSynth master by any stretch but I know this is just a plugin problem. Just don't know how to fix it! Thanks in advance!

-redfive

jdobbs
16th March 2004, 04:03
@redfive19

How do you normally read an MPEG file into AVISYNTH? Do you not use mpeg2source()?

djan
16th March 2004, 04:04
Originally posted by jdobbs


@djan

I think you just need to pick a directory for DVD2AVI and run it once.

What is the need of DVD2AVI in ReBuilder ? Do I have to let it open or do I have to run it once and then I can close it ?

redfive19
16th March 2004, 04:08
jdobbs - dude I don't know! Sounds crazy but I kind of always let ReAuthorist and DoCCE4U do the work, never really got into AVS scripts! Sorry man. Don't mean to bug you.

jimmy basushi
16th March 2004, 04:09
@redfive19
i might be totally off base here, but try getting DVD2AVIdg again from the download page and using the mpeg2dec3.dll from it.

edit: answered a question i asked

jdobbs
16th March 2004, 04:10
@djan
Actually now that I think about it, I don't think it serves a purpose anyway since DVD-RB does the decoding. What matters is the MPEG2DEC.DLL module -- which decodes the .D2v file. I was thinking about VFAPI, but that really shouldn't matter. I'm a little brain-dead right now.

redfive19
16th March 2004, 04:11
Okay I fixed it, I reinstalled AviSynth 2.54 and it works now. I had to take the AddAudio tag out of each script. THIS APP IS AMAZING AND YOU WILL DEFINATELY BE GETTING A DONATION FROM ME!!!

-redfive

redfive19
16th March 2004, 04:14
Also, I did redownload DVD2AVI and I am guessing that helped too! Sorry for being such a noobie with somethings. Thanks for the help guys.

jdobbs
16th March 2004, 04:17
@redfive19

You should be able to unclick the "AddAudio" in the options menu and it won't be added to the files. The latest version doesn't turn it on as the default any more. But it may be set in an existing .INI file.

redfive19
16th March 2004, 04:18
yup, does the job now. I unchecked it. And it's running. You rule...your hard work is much appreciated.

DaRarenunikeone
16th March 2004, 04:18
i dont see alot of guides talking about re encoding interlaced video .. i was wondering could ya add in there the ability to re encode interlaced video like the extras and stuff in their interlaced format instead of cutting the frames..

huesage
16th March 2004, 04:20
first of all i would like to thank you for all your hard work. i downloaded and installed 0.14 with no sucess running one click mode. but as i was going to try it using 3 click mode, you released new one with fix !!

I am amazed at how fast you work ! It is running right now with CCE 2.5 and ECLCCE and seems to be running just fine.

I must say, I am trying to type and im getting CCE windows popping up in front of me all the time, is there an easy way of start CCE minimized? Im sure that is not your main concern right now.

I have been following BIG 3 method for some time now with alot of sucess, but gave up because of lack of time and the need of me beeing there for the next process. I am very happy to see the 1rst attempt at a one click backup util with CCE quality !

oops ! just canceled a CCE window by hitting space bar, DOH !

Thank again for all your hard work, I will give you as much support as possible.

quantum
16th March 2004, 04:25
Using CCE 2.66.01.07 with eclcce. With the new dvdrb version, the encode button actually works but it keeps opening a new instance of CCE. It doesn't wait for the last one to finish.

jdobbs
16th March 2004, 04:36
@DaRarenunikeone

It should recognize and work with interlaced video. It only does the cut when it sees pulldown.

@quantum

Yep, that's the reason I put the note in about still having problems. I can't find a reason for it yet. After executing CCE (eclCCE) my code keeps checking for its existence with GetClassName() until it closes. For some reason when CCE 2.6X and eclCCE is running the API call returns as 0 even when it is still running.

@huesage

Actually I am making the shell call with a command to run minimized, but the combination of eclCCE doesn't work -- I think it's because the call is executing eclCCE (minimized), but then eclCCE runs CCE (not minmized). I'm not sure how I can fix this.

quantum
16th March 2004, 04:56
I sent you a pm with some code samples. I've done some of this stuff before.

djan
16th March 2004, 05:02
It's ok, it works for me using ReJig. I'm testing now with CCE 2.5, I hope it'll work too.

lab-one
16th March 2004, 05:08
I've never used CCE but am about to start with this app. Question is, does CCE Basic (2.67) work sufficiently for this? I'd rather not spend big money right now.

Thank you for the work, can't wait to start playing.

redfive19
16th March 2004, 05:35
Okay I am getting red stipes on the bottom of the video encoded by CCE. Any clues?

EDIT: I just read a previous post and you said it was an AviSynth error. However, I checked the original AVS in MPC and it plays without error. Any ideas?

huesage
16th March 2004, 05:56
ok,

i have been reading the few posts on this problem, it seems like I am unclear on the instalation requirements to run this properly.

can someone please explain as best as possible, what needs to be installed and how to do it?

I try to play the AVS files but this is the error I get in WMP9 and zoom player:

Script error: there is no function names "mpg2source"

Someone please help, I have this feeling that I do not have this setup and installed properly.

Paced
16th March 2004, 06:10
Originally posted by huesage
ok,

i have been reading the few posts on this problem, it seems like I am unclear on the instalation requirements to run this properly.

can someone please explain as best as possible, what needs to be installed and how to do it?

I try to play the AVS files but this is the error I get in WMP9 and zoom player:

Script error: there is no function names "mpg2source"

Someone please help, I have this feeling that I do not have this setup and installed properly.

Hello, this is basically what you need to do:

First, download and install AVISynth (2.5.x) if you haven't already :) Secondly, go to http://www.avisynth.org/warpenterprises -> scroll down to where it says "Mpeg2dec3" and download the AVISynth 2.5 version. Once downloaded, extract the contents of the package into your C:\Program Files\AVISynth 2.5\plugins directory (don't create a separate folder, just extract it all into the 'plugins' directory). Now, download yourself the new beta jdobbs has released (0.15), and try again.

@jdobbs: I'm glad you got that "Offset line" worked out, it was starting to confuse me :) Also, the latest beta still reads as "DVD ReBuilder v0.14 (Beta)" in the window title :) One more thing, I suggest you also do something to tick the "Progressive frames" option in CCE 2.50 (although once again, I'm not sure even if it matters in this case). You should also take into account of what the "ZigZag scanning order" and "Linear quantizer scale" values should be (I've read somewhere that the "Linear quantizer scale" gives better quality, even if the stream is non-linear). Now I'll be off to do some testing of 0.15 ! Thanks again, and great work :D

huesage
16th March 2004, 06:32
@Paced:

Thank you very much for the instructions, I have re-installed Avisynth and extracted that package into the plugins folder, hopefully it will work this time arround. I will let you all know if it fixes my problem or not.

I would like to say that even though my contribution will not be much, I will defenately help with the donations.

KungFuCow
16th March 2004, 06:46
I finally managed to get a DVD done after making the changes I stated earlier. This program is awesome. I can see this becoming the program of choice for a lot of people. JDobbs, I hope CinemaCraft is giving you a kickback of all the CCE Basics they sell for this.

DMagic1
16th March 2004, 06:57
Up until now I had no problems with RB using Rejig.

Just hit my first problem trying to do Trainning Day.
It seems to stall or lockup at "creating M2V for segment 32".
It then skips to Rebuilding even though Rejig never opened.
A second later I get "Run-time error '380': Invalid property value"

JFerguson
16th March 2004, 07:20
I'm guessing not...Closed Captions?

krbo
16th March 2004, 09:40
I live in the NTSC world, so I haven't tested PAL -- but my intent was for it to work for CCE, what exactly is it not doing.



for now it will be quite OK to add something like "PAL overrides" menu where we can select progressive or upper/lower field (ZigZag/Alternate also)


Paths are updated when you select them -- the "Save" button is only for the audio list.



hm,several times I ended with empty path list or missing last entry I put.Maybe something on my PC.

Nic
16th March 2004, 10:17
(@jdobbs: I wrote a little commandline app to go from AVS->M2V using libavcodec from ffmpeg...ill release it soonish...saves you having to code it)

Paced
16th March 2004, 10:46
@jdobbs

Just thought I'd report back on my results with .15:

I've only found one major 'hiccup' so far -> I still get that error we had initially (many, many ECLCCE instances trying to open all at once) with One Click mode enabled (CCE 2.50 SP with ECLCCE). However, with One Click mode off, everything runs smoothly - you might want to check into this.

RB
16th March 2004, 10:48
jdobbs has done the impossible! Unbelievable. Ever since you posted this (http://forum.doom9.org/showthread.php?s=&threadid=64377) in Development, I thought you might be working on something like DVD-RB but I didn't hold my breath yet :) Congratulations, I can imagine what a huge, huge amount of work this must have been.

I have just tried it with "Meet the Parents" (PAL R2) and it worked (almost) without a glitch. Truly amazing. Now about the glitches :)

DVD-RB detects eight audio tracks in VTS_01 although there is only a single audio track: Title Set (Movie) attributes:
Video: MPEG-2 720x576 (PAL) (PAL 625/50) (16:9) (letterboxed)
Audio 1: English (Dolby AC-3) 6ch 48Kbps DRC (ID: 0x80)
This is the Dreamworks intro and it worked just fine after rebuilding. The entire disc came out perfectly sized and plays fine, the only other glich I noticed is a problem with seeking in WinDVD. Dragging the slider to seek in the movie works for a bit, but will eventually kick you back to the menu with the player in Pause mode (have to hit the space bar to get the menu going). This doesn't happen with the original disk. I also noticed that while audio tracks I removed were really not in the VOBs anymore, they were still referenced in the IFO. Did you consider updating VTS_PGCITI and set the status of the removed streams to zero (this is what IC does)? Also the layer break doesn't seem to get removed. Again, for the first beta, these are awesome results!


Concerning AVISynth:

Do not use ResampleAudio(). The fact that this added a fake audio track to the AVS was actually a bug that has been corrected in AVISynth 2.0.8 and later. For AVISynth 2.0.8 and later you must use AddAudio() (IOW you have to have AddAudio.avsi in the Plugins directory).

Also you should make sure to use ConvertToYUY2(Interlaced=True) if there are any interlaced pictures in the stream. Since you obviously ported most of the DVD2AVI code into your app, this should be easy to detect. We recently had quite an interesting discussion (http://forum.doom9.org/showthread.php?s=&threadid=70225) on that topic in the CCE forum.


Concerning CCE setup:

Filters really should be turned off by default. You should also replicate the original stream encoding in the CCE settings (progressive frames, scan order ZigZag or Alternate), I think you are already getting this information during parsing the stream. If there is mixed content (i.e. some frames interlaced, some progressive, some alternate, some ZigZag), just use interlaced/alternate. In general, I think we should have more control over the CCE settings.

As for the memory usage problems when loading those many AVS files... this is something that unfortunately isn't fixed by AddAudio(). It's a bug in CCE. I know it is fixed in the next 2.67 beta version of CCE-SP, but for the time being, there is no real workaround other than to encode each AVS separately. If using EclCCE though, it can be worked around using the
-nochapterlist command line switch which is OK as long as you are encoding every cell separately (there's no I-Frame list in this case anyway).

OK, so I have noticed that you are encoding every cell in a separate AVS. If at all possible, please consider changing this so that as many as possible adjacent cells are combined into one AVS. This will guarantee the best possible results because VBR has a bigger range to work with and can distribute bitrate in a more efficient way. Just consider a worst-case scenario: let's say we have a movie with 20 cells where all cells contain fairly low-motion, "easy" video except for one cell which contains the big showdown with lots of fire, fast motion etc. Now CCE will actually waste bitrate in 19 cells that would have been better allocated to the "showdown cell". I think this is quite an important issue and not too hard to implement. Just scan the big MPV and grab the packets you need for every cell. Of course you'll need to add a proper chapter (I-Frame) list to the ECL.

The DVD I was rebuilding also had several VTS_0x_1.VOBs that were really menus, that is, a single cell consisting of a single I-Frame (still picture). Those of course were also added to the ECL and the rebuilt menu worked just fine, but maybe as a small optimization, you could skip reencoding still pictures as it gains almost nothing.


Concerning EclCCE:

It is true that running CCE minimized isn't supported by EclCCE right now. I'll add it in the next version. It's probably easiest for you to use CreateProcess() to launch EclCCE with the -batch switch, this gives you a EclCCE.exe process handle (or ShellExecuteEx() with SEE_MASK_NOCLOSEPROCESS). Then simply periodically check that handle with WaitForSingleObject() (use a timer) to see whether EclCCE/CCE has exited and finished.

Note that with EclCCE, the create_new_vaf ECL option is uh, reversed (admittedly a lazyness bug :) ). Actually create_new_vaf=1 means "use existing VAF" and create_new_vaf=0 is "Create new VAF". I figure I should fix that in the next version, too. In general, if you have problems with EclCCE, don't hesitate to PM me!


Some questions:

The REBUILDER.ECL uses the GOP size of the original stream. Is this mandatory, can we change the GOP size? Also I see that "Add sequence end code" is checked. I suppose you don't mux the sequence end code back into the original VOBs?
Does it keep PUOs in the VOB NAV packs? When calcualting bitrates, do you make sure that you don't encode something to a bitrate higher than in the original ;)?

Of course what we all want is the ability to encode "extras" at a lower bitrate or remove some alltogether and it probably is on your to-do list already :) Ideally, an interface like that in InstantCopy to adjust compression and audio/title removal would be a good idea, IMHO. Also, how hard would it be to add the ability to compress menus? I mean, as far as your code is concerned, a menu VOB shouldn't be much different from a "normal" VOB, no?

One last request: could you make the green background for the dialog, uh, optional? :)

Thanks!

influenza
16th March 2004, 10:50
Nice job jdobbs. It's nice to see people putting effort into this.

I have some comments so far (maybe they are addressed already, but it was quite some reading ;)

1) bitrates. How are they set? Right now I don't see an option for it. Is the bitrate evenly divided over all vts-es or are extras given less bitrate etc.

2) Interleaved muxing. I see you're planning to add this in the future. Well that's very promising, especially since no windows based app can do true seamless branching at the moment.

3) That offset line is definetely important. Not only on PAL but on PAL, but also on NTSC. For progressive material it doesn't matter, but for interlaced it is. So based on the field order it should be set to 0 for top field first (or upper field first) and 1 for bottom field first (which is kinda rare, but standard on dv material I believe).

4) with regard to point 3: how is interlaced material encoded? as Interlaced I guess. Will there be an option to deinterlace if someone wants that? And back to point 1 about the bitrates: if encoded as interlaced what are the bitrates used? Because interlaced material requires a lot more bitrate than progressive, cause it's much less compressible.

5) Will there be an option to compress menus in the future? Especially for those titles with huge menus. Especially with PAL dvds they can be big because of multiple languages etc.

6) I can't imagine anyone wants to remove subs because of space, but if you use scenarist to reauthor you'll surely do it for speed. :) So it depends on your muxing method I guess, if muxing 20 subs doesn't matter too much speed wise compared to muxing 2 it should be fine.

7) Does your app transfer button commands if they are in the vob? Talking button over video here ofcourse. So will the buttons be recreated while authoring and will the appropiate button command be transferred to them.

8) Not really a question but an assumption: forced subs are handled correctly?

I gave it a try of course, but with no luck yet. It complained about not being able to open multiple instances of eclcce. I read how I can solve that so I will give that a try later. (not sure though if this should have been solved with the .15 release).

Hopefully I won't hold up the coding too much with this long reply full of questions ;)

edit: and I see RB beat me to it , by posting an even longer reply just before mine, so i better make it somewhat longer by adding three more questions :D

JvD
16th March 2004, 11:50
jdobbs, thanks for a killerapp! The flexibility to use Rejig or CCE is SUPER!
For those concerning subtitle removal, why not remove them manually OR run through DVDShrink first (without compressing anything). YEAH, I know, then it becomes av multiple click proces. Sorry! Just a thought!

auenf
16th March 2004, 12:03
Originally posted by redfive19
Okay I am getting red stipes on the bottom of the video encoded by CCE. Any clues?

EDIT: I just read a previous post and you said it was an AviSynth error. However, I checked the original AVS in MPC and it plays without error. Any ideas?

you've most probably run out of memory.

Enf...

redfive19
16th March 2004, 13:08
I have a GIG of memory and never had that issue before with CCE and the Big3

influenza
16th March 2004, 13:23
If you use docce4u/batchccews all the avs are fed seperately and in this case all at the same time if I read correctly ;)