PDA

View Full Version : D2SRoBa 3.80 Released


tylo
23rd March 2004, 15:09
3.80 Released
http://home.broadpark.no/~tylovset/d2sroba/D2SRoBa380.exe

----------------------------------------------------------------
v3.60
The greatest new feature is conditional filtering for DVD output (or when selecting a fixed number of CD's for SVCD). In this case, the filter will be triggered when Q goes over the 'Auto Q' value (now renamed to 'Threshold Q' value).

The setup can optionally configure the conditional filtering, by modifying the standard resizers (including FACAR). It then also installs the filter with Undot().Deen() and the undot.dll and deen.dll in your avisynth plugin folder if not present.

Note: Although the avisynth.ini resizers adds an 'Import(...)' line, the filtering isn't triggered when using D2S alone (e.g multipass) - the imported script is then empty!

Check the history page for what else is new.

v3.50
- new icon
- added: ini entry: minimize (0=no, 1=yes, 2=(default) when log win is minimized)
- added: ini entry: max_num_cds (default=32). set to 2 if you want max 2 CDs
- improved: tweak to skip some unneeded sample tests
- improved: changed some default values

v3.49
- added: browse for Rejig on setup (if not already set)
- improved: small optimalization/fix in Qsearch

v3.4.8
- reuploaded to work with ReJig.exe
- fixed: bugs from v3.4.7 and v3.4.6 (cce open and shutdown)
- changed: Cmd. line in Requant.exe - compat. with ReJig.exe (config ini file)
- improved: small thing in QSearch again (hmm)
- fixed: Avisynth setup compability issue
- improved: more testing - e.g. for not using frameserving
- improved: robustness with cce 2.50 text input
- improved: more log info

v3.4.4
- fixed: Q search bug intoduced in v3.4.2
- changed: creation of D2SRoBa.avs - may fix a problem with corrupt .avs files
- changed: very minor tweaks

v3.4.2
- added: new build of Requant.exe (modified from Makira's latest source - included)
- fixed: Q search in rare situations
- improved: better first guess of Q (for fixed number of CDs)
- improved: log text
- tips: Use EclCCE v1.8b or later, and check 'Hide shutdown button' checkbox

v3.4.1
- fixed: Now calculates num. of sample frames (instead of launching CCE for it)

v3.4.0
- fixed: Requant.exe modified to not create read-only output files (source included)
- fixed: Batch run: Now uses global d2sroba.ini file if project ini file is missing
- added: Support for EclCCE v1.8. Supports older versions too (shows a note)
- added: With EclCCE v1.8, CCE opens minimized, thanks to RB
- added: Greyed out GUI controls which are not used
- added: Re-introduced "educated guessing" on first Q for fixed num. CDs
- changed: Replaced 'Adjust Q' with 'Adjust %' (default 1.0%)
- changed: Batch command line is now like D2S's. Try D2SRoBa.exe -?
- changed: Num CDs can be up to 32 now
- changed: D2SRoBa_log.txt now in same directory as dvd2svcd_log.txt
- changed: Some default values
- improved: Made Q search more robust
- improved: Log text more accurate

Note the new batch line: Equal to DVD2SVCD command line, but '-d2s:...' must be first argument. Example: The following will open a project and use the local d2sroba.ini file if it is there, otherwise the global:

D2SRoBa -d2s:"path\dvd2svcd project file.d2s"

bobwillis
24th March 2004, 08:38
Hi,

In the meantime, using 3.4.0rc3, I have had two instances where "waiting for CCE window" did not appear in the D2SRoBa window. DVD2DVD & CCE completed the job, but of course without RoBa's intervention, the size of the job was wrong. I rebooted the machine and tried again with no joy. However, on the third attempt (after closing D2SRoBa & D2S, then re-launching D2SRoBa) it worked. I'm confused, but at the moment I've given you all the info I can about the problem. I will post more if I can establish more deterministic information.

EDIT: I've tried it several times this evening, and I can't reproduce the fault. If no-one else reports it, don't worry about it. My machine was behaving very strangely yesterday evening. Spumux wasn't working, and then I came home tonight to find it was working ok again - I've phoned Mulder & Scully, but they said they'd retired.

Regards,
Bob

Gideon25
24th March 2004, 09:52
Batch function now works FLAWLESSLY! I have fixed my little guide and we now have BATCH avi PAL-->Ntsc conversions!
http://forum.doom9.org/showthread.php?s=&postid=460310#post460310

No more going thru steps needlessly! Now I can setup 10-15 files to convert overnight.

DDogg
25th March 2004, 17:48
tylo, I notice RB has a new version of eclcce out. I think one particular item may cause you some grief if I remember correctly.

"- Fixed: create_new_vaf ECL option was reversed. Now create_new_vaf=1 really sets "Create new file" and create_new_vaf=0 sets "Use existing file".

Note to all D2s beta Testers - test site has been updated

dimirass
26th March 2004, 00:56
Using D2SRoBa v3.4.0 RC3, I have got a Transcoding pass result: 66.1% on target (2819503323 / 4266563190).

Checking the transcoded file I realised that transcoding stopped after 45 minutes of movie.Is there any explanation for this?

On the other hand it seems that the "read only" problem has been fixed.Log file is following:


--------------------------------------------------------
D2SRoBa v3.4.0 RC3, by Tylo
--------------------------------------------------------
- WIN_XP - AutoIt 3.0.100.0
- 2004-03-24 21:59:11
--------------------------------------------------------
- Output type : DVD
- CD size : 4470
- Number of CD's : 1
- Sample percent : 2.0
- Adjust Q : 0.6
- Cond. sizing pass : Yes (Transcode if opv sz > 0.0% above target, and Q <= 25)
(Encode if opv sz < -2.0% from target, or Q > 25)
- Clean previous : Yes
- Run mode : Normal
--------------------------------------------------------
- Waiting for CCE window ...
- Detected a CCE encode window
- Detected the CCE main movie encode window... trying to kill it.
- Finished shutdown of CCE and D2S
- Avisynth setup: FitCD
- Setting high process priority
- Using CCE version 2.67
--------------------------------------------------------
- Movie length : 01:33:02 (139567 frames, 25 fps)
- D2S audio brate : (448 + 0) kbps
- D2S video estim. : 6114 kbps, 1 CDs
- Select Ranges : every 600, select 12 frames
- Sample frames : 2796
--------------------------------------------------------
Calculations:
- 1 CD: video_br=6114 (6114) audio1_br=448 video_sz=4266563190 fill=100% cbr=0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Number of CDs : 1
- Target mpv BR : 6114 (max 8500) kbps, size=4266563190 bytes
--------------------------------------------------------
Search for Q:
- Estim. mpv BR : 3472 (Q=32, err=-43.2%, size=2423553201, sample sz=48551984)
- Estim. mpv BR : 6640 (Q=10, err=8.6%, size=4634193849, sample sz=92838608)
- Estim. mpv BR : 5851 (Q=14, err=-4.3%, size=4083216478, sample sz=81800664)
- Estim. mpv BR : 6042 (Q=13, err=-1.2%, size=4216420101, sample sz=84469184)
- Determined Q : 12 = round(13 - 0.6 + (-1.2)/3.1)
--------------------------------------------------------
- 2004-03-24 22:58:06
- Start movie OPV encoding (Q 12)
- OPV pass result: 101% on target (4311029064 / 4266563190) Speed factor: 1.22
--------------------------------------------------------
- 2004-03-25 00:14:23
- Start transcoding (Requant 98.97%)
- Transcoding pass result: 66.1% on target (2819503323 / 4266563190) Speed factor: 8.25
--------------------------------------------------------
- 2004-03-25 00:25:40
- Recover DVD2SVCD

DDogg
26th March 2004, 01:37
Checking the transcoded file I realised that transcoding stopped after 45 minutes of movie.Is there any explanation for this? I can just offer a suggestion. Before anybody can really figure it out you would first have to swear on your firstborn that you had run the prime95 torture test (http://mersenne.org/gimps/p95v238.exe) for 6-24 hours without any failure, and do so at the approximate same ambient room temperature that you had at time of failure.

Failure due to CPU heat would be the very first area I would check. I say this cause I had it happen to me the other day when the room was unusually hot. Took me forever to figure out what was going on.

sPeziFisH
26th March 2004, 15:16
Finding Nemo (with KISS (comment: in my opinion it is not good to use KISS with animated catoon as every pixel is where it has to be, no 'noise' (I would say))

--------------------------------------------------------
D2SRoBa v3.4.0 RC4, by Tylo
--------------------------------------------------------
- WIN_XP - AutoIt 3.0.101.0
- 2004-03-25 17:31:17
--------------------------------------------------------
- Output type : SVCD
- CD size : 800
- Number of CD's : auto
- Sample percent : 1.0
- Auto Q / Max Q : 40 / 60
- Adjust % : 1.5
- Cond. sizing pass : Yes (Transcode if opv sz > 0.0% above target, and Q <= 40)
(Encode if opv sz < -3.0% from target, or Q > 40)
- Cut last image : If opv sz > 20% oversized
- Audio after video : Yes (192 kbps)
- Cond. filtering : If enabled and est. oversize < 10%
- Adjust max br : No
- Clean previous : Yes
- Run mode : Normal
--------------------------------------------------------
- Waiting for CCE window ...
- Detected a CCE encode window
- Detected the CCE main movie encode window - closing it
- Finished shutdown of CCE and D2S
- Avisynth setup: FACAR
- Using CCE version 2.67
--------------------------------------------------------
- Movie length : 01:36:26 (144670 frames, 25 fps)
- D2S audio brate : (192 + 0) kbps
- D2S video estim. : 2054 kbps, 2 CDs
- Select Ranges : every 1200, select 12 frames
- Sample frames : 1452
--------------------------------------------------------
Calculations:
- 1 CD: video_br=923 (923) audio1_br=192 video_sz=667652050 fill=100% cbr=0
- 2 CD: video_br=2054 (2054) audio1_br=192 video_sz=1485760900 fill=100% cbr=0
- 3 CD: video_br=2480 (3185) audio1_br=192 video_sz=1793908000 fill=79.2% cbr=1
--------------------------------------------------------
Computing target number of CDs:
- Estim. mpv BR : 1573 (Q=40, err=?%, size=1138514640, sample sz=11426856)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Number of CDs : 2
- Target mpv BR : 2054 (max 2480) kbps, size=1485760900 bytes
--------------------------------------------------------
Search for Q:
- Estim. mpv BR : 1866 (Q=25, err=-9.2%, size=1349956820, sample sz=13549024)
- Estim. mpv BR : 2072 (Q=15, err=0.9%, size=1498807902, sample sz=15042988)
- Estim. mpv BR : 2051 (Q=16, err=-0.1%, size=1483857872, sample sz=14892940)
- Determined Q : 14 = Round(16 + (-0.1 - 1.5)/1)
--------------------------------------------------------
- 2004-03-25 17:55:32
- Start movie OPV encoding (Q 14)
- OPV pass result: 1% on target (14976960 / 1485760900) Speed factor: 65.51


...here I cancelled the encode, forgot to set cond.siz.pass under to -1.0 (don't like -3.0) and I wanted to do an encode without deen.
Problem:
Q=15 gives an error of +0.9%
Q=16 gives an error of -0.1%
'Adjust %'=1.5 makes D2SRoBa use Q=14 - Q=16 is close enough, ok, with some estimating-impresiceness (sample not 100%), Q=15 is still the best (?), requant could do the rest if necessary.
Q=14 would probably cause an error bigger than 0.9%

Next encode:

Finding Nemo (I used undot but who cares (I don't really know if it is a good idea to use undot, deen or evenboth (aka KISS) on material like that - as you can see, with KISS (see above) gives you a better Q, but I didn't give me the possibility to compare the quality).
Interesting: estimated bitrates of Q=16 and Q=21 are very close (hehe, a really mystery Q-machine).
Now I set 'Adjust %' to 0.9.

--------------------------------------------------------
D2SRoBa v3.4.0 RC4, by Tylo
--------------------------------------------------------
- WIN_XP - AutoIt 3.0.101.0
- 2004-03-25 18:00:33
--------------------------------------------------------
- Output type : SVCD
- CD size : 800
- Number of CD's : auto
- Sample percent : 1.0
- Auto Q / Max Q : 40 / 60
- Adjust % : 0.9
- Cond. sizing pass : Yes (Transcode if opv sz > 0.0% above target, and Q <= 40)
(Encode if opv sz < -1.0% from target, or Q > 40)
- Cut last image : If opv sz > 20% oversized
- Audio after video : Yes (192 kbps)
- Cond. filtering : If enabled and est. oversize < 10%
- Adjust max br : No
- Clean previous : Yes
- Run mode : Crash recovery
--------------------------------------------------------
- Waiting for CCE window ...
- Detected a CCE encode window
- Detected the CCE main movie encode window - closing it
- Finished shutdown of CCE and D2S
- Avisynth setup: FACAR
- Using CCE version 2.67
--------------------------------------------------------
- Movie length : 01:36:26 (144670 frames, 25 fps)
- D2S audio brate : (192 + 0) kbps
- D2S video estim. : 2054 kbps, 2 CDs
- Select Ranges : every 1200, select 12 frames
- Sample frames : 1452
--------------------------------------------------------
Calculations:
- 1 CD: video_br=923 (923) audio1_br=192 video_sz=667652050 fill=100% cbr=0
- 2 CD: video_br=2054 (2054) audio1_br=192 video_sz=1485760900 fill=100% cbr=0
- 3 CD: video_br=2480 (3185) audio1_br=192 video_sz=1793908000 fill=79.2% cbr=1
--------------------------------------------------------
Computing target number of CDs:
- Estim. mpv BR : 1657 (Q=40, err=?%, size=1199148507, sample sz=12035416)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Number of CDs : 2
- Target mpv BR : 2054 (max 2480) kbps, size=1485760900 bytes
--------------------------------------------------------
Search for Q:
- Estim. mpv BR : 1899 (Q=28, err=-7.5%, size=1373787117, sample sz=13788200)
- Estim. mpv BR : 2068 (Q=20, err=0.7%, size=1496473654, sample sz=15019560)
- Estim. mpv BR : 2047 (Q=21, err=-0.3%, size=1481042586, sample sz=14864684)
- Determined Q : 20 = Round(21 + (-0.3 - 0.9)/1)
--------------------------------------------------------
- 2004-03-25 18:05:43
- Start movie OPV encoding (Q 20)
- OPV pass result: 98.2% on target (1459463956 / 1485760900) Speed factor: 1.38
--------------------------------------------------------
- 2004-03-25 19:15:47
- Start VBR sizing pass (2054 kbps)
- Sizing pass result: 100% on target (1485646316 / 1485760900) Speed factor: 1.38
- No Audio 1 (D:\nemo\Encoded_audio_1_FS1.mp2)
--------------------------------------------------------
- 2004-03-25 20:25:55
- Recover DVD2SVCD
--------------------------------------------------------
- 2004-03-26 00:11:03
- D2SRoBa successfully finished
--------------------------------------------------------

With 'Adjust %'=0.9 I am really satisfied, under 1.0 seems to be my 'sweet spot' (hmmm ;-P)

Tell me if sharing the logs or only quoting the interesting parts is better instead of making such a big post.
Experimenting with 'Finding Nemo' is possible if wanted.
So far Tylo, great work, once again.

[ddogg-Edited with size tags]

DDogg
26th March 2004, 17:08
tylo, I have a DVD test just started using 2 audio tracks. The line from the log [rc6] seems to indicate D2SRoBa is only using 1 of the audio tracks in the calcs. This may not be so, but I thought I would bring up the subject in the oft chance you check this post before the encode is completed and I actually know whether the size target is accurate.

/add1:I think you are picking it up after re-examining the log and seeing the D2S bitrate estimation, but the line in bold is confusing.

/add2: No problem, the filesize is fine. The text of the log was confusing to me. Just a cosmetics issue, if one at all.

- Using CCE version 2.50
--------------------------------------------------------
- Movie length : 01:29:12 (128343 frames, 23.976 fps)
- D2S audio brate : (448 + 384) kbps
- D2S video estim. : 2471 kbps, 1 CDs
- Select Ranges : every 1200, select 12 frames
- Sample frames : 1284
--------------------------------------------------------
Calculations:
- 1 CD: video_br=2471 (2471) audio1_br=448 video_sz=1653401072 fill=100% cbr=0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Number of CDs : 1
- Target mpv BR : 2471 (max 8000) kbps, size=1653401072 bytes
--------------------------------------------------------

tylo
27th March 2004, 01:38
Seems like we're closing in on a stable release now :)

@DDogg:
Yes, as you say, it it picking up the second audio, but the printout may be misleading, or non-complete. Don't think I'll do anything.

Regarding your request on using many segments (i.e. num of CDs). Well, it took me some time to realize what you where aiming at, but I think the basic idea is superb. /EDIT: [At first I had doubts, and thought that the content of a 4350 disk wouldn't fit on eight 545 meg disks because of the header alignment overhead (15 kbps). But the total media size is not changed, so that should not apply].
Should work great!

About reduction of CDs when filter is applied: yes, the release v3.4.0 will reduce num CDs with more than one if that should ever occur. Up to 32 segments supported!

r6d2
27th March 2004, 03:25
Originally posted by tylo
Seems like we're closing in on a stable release now :)@Tylo, don't forget to check out DDogg's comment on EclCCE 1.8, it may make our life miserable (although it minimizes CCE now!). Besides, the new DVD2SVCD RC1 has sort of changed the INI files, according to the readme.

Seems that all geniuses have decided to release at once! :D:D:D

I'll wait for this to cool down before updating the FAQ. :)

/Add:
I cannot believe this thread got 24000 views in just three days!

DDogg
27th March 2004, 04:21
tylo, being able to generate the optimized DVD elementary streams via auto SVCD mode is interesting to me. I certainly did not do a very good job of explaining my thoughts on the method, so I very much appreciate your vote of confidence. As you know, it allows the use of SVCD auto-mode and the conditional filter to create DVD elementary streams that achieve the user preset Q/quality target while ensuring the final size is always on the edge of a user specified DVD increment (1/4,1/8,1/16,and it sounds like 1/32 in the release, of a DVD disk). This ensures absolutely no wasted space, so it it easy to author multiple movies on one DVD with matched quality using one's favorite authoring tool.

However, I think the method is rather 'one off' for most people, and in fact I doubt the technique will be used much. So, I don't think it is worth too much additional effort on your part except for the segment increase [and multi-segment reduction upon conditional filter success. 32 segments would be perfect!]. That is very good news and thanks a lot for even considering it.

After the new D2SRoBa and DVD2X releases, I'll do a small writeup on the method for those that want to experiment with it.

On that note, I wanted to say how much I'm looking forward to the two releases (finally), D2SRoBa and D2S together allow extreme high quality (the highest IMHO), the highest speed, and the ultra minimization of file-size to be all rolled up together in one solution for both SVCD and movie-only DVD. It is a winning combination that should be around for a long time and I think a ton of people are going to really appreciate the huge effort both you and D2S have put forth. Especially after they download them and see the end result of all these impossibly long winded and flatulent threads. (:-D!)

windtrader
27th March 2004, 08:31
I cannot believe this thread got 24000 views in just three days!Yeah! I see the gagles of vultures circling above, waiting for the release. :)


It is a winning combination that should be around for a long time and I think a ton of people are going to really appreciate the huge effort both you and D2S have put forth.Hey Dog, why don't you dust off that old "say thanks and how about a donation" thread. It is surely deserved again.

r6d2
27th March 2004, 16:50
Originally posted by windtrader
Yeah! I see the gagles of vultures circling above, waiting for the release.Humm... I think that as DDogg splitted the thread, it inherited the previous view number, so the vultures are actually the shadows of previous vultures. :)

windtrader
27th March 2004, 21:37
Good news! We have Shadow vultures around here and I let my kids out to play baseball; they are harmless :p

btw - anyone know how much time left for beta testing? I'd like to make sure they all muster up the energy to give it one last battery of acid tests. Humm maybe round of tests is better stated.

manolito
28th March 2004, 14:17
I did three successful encodes with RC6, no complaints at all. Of course I don't do any fancy stuff like convert to DVD, batch encodes, more than one audio stream and so on. Just plain SVCDs, all in size mode, about 90% are 1 CD encodes.
Adjust % default 1.8 seems to be too high. I think somewhere around 1.0 is good. Please share your experience, so I can set a good default for the release.
I abandoned jonny's Restrict Auto I-frame insertion trick and went back to the old method again (after encoding "The Insider" and getting a 18% undersized OPV encode), and with the old method a value of 3 for "Adjust %" seems to be the optimum for me.

Cheers
manolito

manolito
28th March 2004, 16:00
Version 3.40 release

Thanks a million! :)
Upcoming v3.4.0 will be the last release for a while.
I hope you can stick to this when the next version of DVD2SVCD comes out. You sure deserve some rest from all of us here...

Cheers
manolito

bobwillis
30th March 2004, 20:52
Hi Tylo,

Just a quick note of thanks for v3.4.1. I have done a couple of different DVD2DVD encodes here and everything seems fine. My last project was glueing together both sides of 'Schindler's list' using vobedit & ifoedit (giving a total of 12GB), stripping it with ifoedit leaving 9.5GB (one remaining AC3 6ch audio track), and reencoding with D2SRoBa & DVD2DVD with FACAR. The Q figure I first got was 55, so I decided to use undot&deen (KISS), and got it down to 41. Of course, the additional VBR sizing pass was used. I was surprised, it looks excellent considering the average bitrate is only 2.66Mbps!

--------------------------------------------------------
D2SRoBa v3.4.1, by Tylo
--------------------------------------------------------
- WIN_XP - AutoIt 3.0.101.0
- 2004-03-29 20:38:49
--------------------------------------------------------
- Output type : DVD
- CD size : 4470
- Number of CD's : 1
- Sample percent : 2.0
- Adjust % : 1.0
- Cond. sizing pass : Yes (Transcode if opv sz > 0.0% oversize, and Q <= 25)
(Encode if opv sz < 1.5% undersize, or Q > 25)
- Clean previous : Yes
- Run mode : Crash recovery
--------------------------------------------------------
- Waiting for CCE window ...
- Detected a CCE encode window
- Detected the CCE main movie encode window - closing it
--------------------------------------------------------
- 2004-03-29 20:40:14
- Finished shutdown of CCE and D2S
- Avisynth setup: FACAR
- Using CCE version 2.67
--------------------------------------------------------
- Movie length : 03:15:14 (280874 frames, 23.976 fps)
- D2S audio choice : 448 + 0 kbps
- D2S video calc. : 2663 kbps, 1 CDs
- Select Ranges : every 600, select 12 frames
- Sample frames : 5628
--------------------------------------------------------
Calculations:
- 1 CD: video_br=2663 (2663) audio_br=448+0 video_sz=3899563428 fill=100% cbr=0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Number of CDs : 1
- Target mpv BR : 2663 (max 9500) kbps, size=3899563428 bytes
--------------------------------------------------------
Search for Q:
- Sample encode : Q=26: 3592 kbps, err=34.9%, size=5261145517, sample sz=105419964
- Sample encode : Q=41: 2674 kbps, err=0.4%, size=3916545584, sample sz=78477604
- Determined Q : 41 = Round(41 + (0.4 - 1.0)/2.3)
--------------------------------------------------------
- 2004-03-29 20:52:17
- Start movie OPV encoding (Q 41)
- OPV pass result: 97.7% on target (3809771816 / 3899563428) Speed factor: 0.94
--------------------------------------------------------
- 2004-03-30 00:20:47
- Start VBR sizing pass (2663 kbps)
- Sizing pass result: 99.9% on target (3895550696 / 3899563428) Speed factor: 0.97
--------------------------------------------------------
- 2004-03-30 03:41:11
- Recover DVD2SVCD
--------------------------------------------------------
- 2004-03-30 06:14:29
- D2SRoBa successfully finished
--------------------------------------------------------


Anyway, enough of my ranting,
thanks once again,
Bob

NuroPreak
31st March 2004, 07:30
I tried 3.4.1 and the sample size was ok, but i'm not so good in reading the log file what went wrong and why ended i up with a 1 cd rip instead of 2 :rolleyes:

--------------------------------------------------------
D2SRoBa v3.4.1, by Tylo
--------------------------------------------------------
- WIN_XP - AutoIt 3.0.101.0
- 2004-03-30 18:37:15
--------------------------------------------------------
- Output type : SVCD
- CD size : 800
- Number of CD's : auto
- Sample percent : 1.0
- Auto Q / Max Q : 35 / 60
- Adjust % : 1.0
- Cond. sizing pass : Yes (Transcode if opv sz > 0.5% oversize, and Q <= 40)
(Encode if opv sz < 3.0% undersize, or Q > 40)
- Cut last image : If opv sz > 0.4% oversize, and opv sz < 0.5% oversize
- Audio after video : Yes (10% of video, min 224 kbps)
- Cond. filtering : If avisynth configured, and estim. oversize < 8% for Num CDs-1
- Adjust max br : Yes (total: 2754, max avg offset: 300 kbps)
- Clean previous : Yes
- Run mode : Normal
--------------------------------------------------------
- Waiting for CCE window ...
- Detected a CCE encode window
- Detected the CCE main movie encode window - closing it
--------------------------------------------------------
- 2004-03-30 19:09:38
- Finished shutdown of CCE and D2S
- Avisynth setup: BicubicResize
- Using CCE version 2.67
--------------------------------------------------------
- Movie length : 01:46:11 (159286 frames, 25 fps)
- D2S audio choice : 224 + 0 kbps
- D2S video calc. : 1818 kbps, 2 CDs
- Select Ranges : every 1500, select 15 frames
- Sample frames : 1605
--------------------------------------------------------
Calculations:
- 1 CD: video_br=789 (789) audio_br=224+0 video_sz=628383270 fill=100% cbr=0
- 2 CD: video_br=1818 (1818) audio_br=224+0 video_sz=1447909740 fill=100% cbr=0
- 3 CD: video_br=2530 (2847) audio_br=224+0 video_sz=2014967900 fill=89.7% cbr=1
--------------------------------------------------------
Computing target number of CDs:
- Sample max BR : 2530 (adjusted for 2 CDs)
- Sample encode : Q=35: 48 kbps, err=?%, size=38343366, sample sz=386356
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Number of CDs : 1
- Target mpv BR : 789 (max 2530) kbps, size=628383270 bytes
--------------------------------------------------------
Search for Q:
- Sample encode : Q=6: 80 kbps, err=-89.9%, size=64373775, sample sz=648644
- Sample encode : Q=1: 98 kbps, err=-87.6%, size=78486216, sample sz=790844
- Determined Q : 1 = Round(1 + (-87.6 - 1.0)/0.5)
--------------------------------------------------------
- 2004-03-30 19:10:10
- Start movie OPV encoding (Q 1)
- OPV pass result: 289.4% on target (1818854860 / 628383270) Speed factor: 0.31
--------------------------------------------------------
- 2004-03-31 00:55:30
- Start transcoding (Requant 34.55%)
- Transcoding pass: 136.6% on target (858479876 / 628383270) Speed factor: 14.81
--------------------------------------------------------
- 2004-03-31 01:02:42
- Executing: C:\Program Files\AVI2SVCD\BeSweet\BeSweet.exe -core( -input "E:\RIPPEN\Audio\Extracted_audio_1.ac3" -output "E:\RIPPEN\Audio\Encoded_audio_1.mp2" -logfile "E:\RIPPEN\Audio\Encoded_audio_1.log" ) -azid( -L -3db -l 0db -c normal -s surround -g max ) -shibatch( --rate 44100 ) -2lame( -e -b 224 -m s )
--------------------------------------------------------
- 2004-03-31 01:41:32
- Recover DVD2SVCD

tylo
31st March 2004, 09:45
Quite strange. The samples are consistently only a fraction of the size they should be. Can you post D2SRoBa.avs and D2SRoBa.ecl too?

NuroPreak
1st April 2004, 06:25
here is my D2SRoba.ecl
; CCE SP Trial Version -- Encoder Control List

[item]
title=D2SRoBa.avs
vid_out=1
vaf_out=0
aud_out=0
aud_mode=0
vid_file0=E:\RIPPEN\Video\D2SRoBa_Q1.mpv
vid_file1=E:\RIPPEN\Video\D2SRoBa_Q1.mpv
vaf_file=E:\RIPPEN\Video\CCE_Video_Information_File.vaf
aud_file=E:\RIPPEN\Video\Encoded_Video_CCE_PAL.mpv.mp2
file_focused=0
video_type=2
width=480
height=576
timecode=0x01000000
tc_ref_frm=0
drop_frame=0
cbr_brate=6000
opv_q_factor=1
opv_brate_min=300
opv_brate_max=2530
vbr_brate_avg=6000
vbr_brate_min=2000
vbr_brate_max=9000
vbr_bias=20
vbr_pass=3
create_new_vaf=1
pulldown_detect=0
letter_box=0
panscan=0
aspect_ratio=2
credits_tweak=0
credits_start=0x00000
credits_brate=1000
h_filter=1
h_filter_idx=8
use_filter=1
filter_val=2
dither=0
dither_max=8
quality_prec=20
intra_dc_prec=-1
alternate_scan=0
non_linear=0
progressive=1
gop_m=3
gop_nm=5
gop_hdr=15
seq_hdr=1
seq_endcode=1
dvd=0
all_closed_gop=0
fix_gop_length=1
fix_vbv_delay=0
top_first=0
half_width=0
half_height=0
lum_level=1
packet_size=2048
frame_rate_idx=3
qmat_idx=0
mpeg1=0
mpeg1_cps=1
brate_idx=7
stereo=2
samples_per_sec=44100
crc=1

[file]
name=E:\RIPPEN\Video\D2SRoBa.avs
type=0
frame_first=0
frame_last=1605
encode_first=0
encode_last=1605
chapter=0:Chapter0
chapter=9978:Chapter1
chapter=15983:Chapter2
chapter=22160:Chapter3
chapter=32757:Chapter4
chapter=41192:Chapter5
chapter=46126:Chapter6
chapter=56094:Chapter7
chapter=66702:Chapter8
chapter=75313:Chapter9
chapter=84658:Chapter10
chapter=95301:Chapter11
chapter=113559:Chapter12
chapter=126638:Chapter13
chapter=139620:Chapter14
chapter=149952:Chapter15


and my d2sroba.avs is 11mb i bit big to post it here.. i would need multiple threads to post that one so i zipped it and uploaded it to my webspace

http://members.lycos.nl/tristandoornebosch/D2SRoBa.rar

windtrader
1st April 2004, 07:37
I am trying a new strategy to maximize the chances of doing one pass, avoiding the sizing pass. I am making the CD size smaller and using a minus and plus adjustment to allow for both a small undersize AND oversize result on the first pass to still fit on the DVD and avoid the second pass.

In this run, the first pass was just over the target and posted this message.

- OPV pass result: 100.4% on target (3974034424 / 3956850788) Speed factor: 1.52
- Oversized: Cutting last CD image off by 0.43427556207358%

I checked the length of the pre and post movie files and the running length is the same to the second. The output does not seem to be "cut off". Is there any real cutting off going on or is the text of the message a bit misleading?

thx


--------------------------------------------------------
D2SRoBa v3.4.0, by Tylo
--------------------------------------------------------
- WIN_XP - AutoIt 3.0.101.0
- 2004-03-31 10:40:42
--------------------------------------------------------
- Output type : DVD
- CD size : 4460
- Number of CD's : 1
- Sample percent : 1.5
- Adjust % : 1.0
- Cond. sizing pass : Yes (Transcode if opv sz > 1.5% oversize, and Q <= 50)
(Encode if opv sz < 1.5% undersize, or Q > 50)
- Clean previous : Yes
- Run mode : Normal
--------------------------------------------------------
- Waiting for CCE window ...
- Detected a CCE encode window
- Detected the CCE main movie encode window - closing it
--------------------------------------------------------
- 2004-03-31 10:54:21
- Finished shutdown of CCE and D2S
- Avisynth setup: FACAR
- Setting low process priority
- Using CCE version 2.67
--------------------------------------------------------
- Movie length : 02:08:06 (184302 frames, 23.976 fps)
- D2S audio brate : (448 + 192) kbps
- D2S video estim. : 4118 kbps, 1 CDs
- Select Ranges : every 800, select 12 frames
- Sample frames : 2772
--------------------------------------------------------
Calculations:
- 1 CD: video_br=4118 (4118) audio_br=640 video_sz=3956850788 fill=100% cbr=0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Number of CDs : 1
- Target mpv BR : 4118 (max 9000) kbps, size=3956850788 bytes
--------------------------------------------------------
Search for Q:
- Sample encode : Q=16: 4522 kbps, err=9.8%, size=4345418303, sample sz=65357400
- Sample encode : Q=19: 3968 kbps, err=-3.6%, size=3813442148, sample sz=57356196
- Sample encode : Q=18: 4142 kbps, err=0.6%, size=3980714963, sample sz=59872068
- Determined Q : 18 = Round(18 + (0.6 - 1.0)/4.2)
--------------------------------------------------------
- 2004-03-31 11:00:30
- Start movie OPV encoding (Q 18)
- OPV pass result: 100.4% on target (3974034424 / 3956850788) Speed factor: 1.52
- Oversized: Cutting last CD image off by 0.43427556207358%
--------------------------------------------------------
- 2004-03-31 12:25:01
- Recover DVD2SVCD
--------------------------------------------------------
- 2004-03-31 21:01:33
- D2SRoBa successfully finished
--------------------------------------------------------

tylo
1st April 2004, 10:52
It's misleading. There is a few other small matters that should be fixed (nothing urgent), so I will make another "frozen" version.

@NuroPreak: The D2SRoBa.avs file is supposed to be a small text (avisynth) file, equal to 'Avisynth_Script_file.avs', but with one extra line. Something is messed up. Clean the output directory and try again - report if it happens again.

/Add: Seems like 'Avisynth_Script_file.avs' is messed, because the line I added is at the end of the big file you posted.

NuroPreak
1st April 2004, 20:56
Originally posted by tylo
It's misleading. There is a few other small matters that should be fixed (nothing urgent), so I will make another "frozen" version.

@NuroPreak: The D2SRoBa.avs file is supposed to be a small text (avisynth) file, equal to 'Avisynth_Script_file.avs', but with one extra line. Something is messed up. Clean the output directory and try again - report if it happens again.

/Add: Seems like 'Avisynth_Script_file.avs' is messed, because the line I added is at the end of the big file you posted.

i already restarted and again same problem :(

what do i need to do about the avisynth problem?

//edit i'm trying to disable the change cd pic maybe that helps.. ill post the results


//edit i keep gettin the same problem :(

tylo
4th April 2004, 19:42
The old Requant_old.exe is bundled. Compare quality difference with the new Requant.exe, by experimenting in a cmd.exe window with an mpv file:
Requant.exe 95 movie.mpv test_new.mpv
Requant_old.exe 95 movie.mpv test_old.mpv

Can you see any differences between those three .mpv's?

@NuroPreak: try v3.4.2, and add 'debug=1' in D2SRoBa.ini. Look at the Log 'Avs file: ....', 'Avs file size: ..', and 'D2SRoBa.avs size:...'. Both the sizes should only be a few hundred bytes.

Venom_IL
5th April 2004, 13:16
Sometimes, especially when I use batch mode, when D2SRoba closes the CCE window opened by D2S in order to open hers, I get a "memory allocation error" or something of the sort from CCE (I apologize for forgetting to take a screenshot, will do next time) .. of course it's meaningless since CCE is shut down anyway but the script doesn't "press ok" and that halts the process / batch until the user presses ok only then D2sroba's CCE is launched and the process is continued

So my idea is to modify the script so that it'd automatically press ok for any message CCE might bring up..

Of course, this is nothing more than a thought for you to consider, tylo :cool:

tylo
5th April 2004, 15:54
@Venom_IL: I'll have to know the exact message to remove it. I haven't seen that message myself.

@NuroPreak: Please, try http://home.tiscali.no/tylohome/files/D2SRoBa343.exe and report back if this version fixes the problem you describe. (One more has reported this).

Venom_IL
5th April 2004, 18:34
well noted, i will take a screenshot if it happens again

DDogg
5th April 2004, 23:19
tylo, I would sure feel better if we knew if NuroPreak's machine will run the Prime95 torture test (http://mersenne.org/gimps/p95v238.exe) for 4 hours without error. In fact, may I suggest than anybody that wishes to report a one off error do this test before posting. For that matter, please throw in one full cycle of memtest (http://www.memtest86.com/)

The main reason for this is that CCE, when it encounters a missed beat of the CPU, will not crash like many programs. Rather, it just drops out <poof and vanish>. D2S or D2SRoBa interprets this to mean the encoding cycle is finished as the system will keep working with no error thrown. BeSweet, on the other hand can do the same thing which causes the same problem during the audio encoding cycle, or sometimes it will present a black screen lock-up. A black screen with BeSweet is 99% CPU overheat or an unstable overclock although bad ram can do the same thing.

Btw, many people are presently running with bad ram and don't know it. I've seen this on 5 machines this year. The mpeg2dec/avisynth/CCE combination will use an extra 100 megs of memory. That is why ram problems tend to show up during encoding. Running memtest for one complete cycle will tell you one way or the other.

Holomatrix
6th April 2004, 00:08
Hi guys, been away from SVCD for a while and just tried one with the latest versions last night and it messed up. Can you tell me where I can tell D2Sroba to not reset the DVD2SVCD bitrate settings? The reason being is I think that is what messed me up last night. Sorry, I don't have the log, re-did the movie putting back the bitrate setting in DVD2SVCD (92-138 min 1 CD) after loading D2Sroba and it worked, but when I was reading the old log I saw that D2Sroba was set for 1 CD but it also said that DVD2SVCD was set for two CD's, D2Sroba found a Q of 1 then realized later that 1.6 gig was over my 1 CD size, transcoded to the proper size of 813 MEG. Weird.


EDIT: It was in my Recycle bin. Cool. I post the old one first then the one it was supposed to do in the first place.

--------------------------------------------------------
D2SRoBa v3.4.2, by Tylo
--------------------------------------------------------
- WIN_XP - AutoIt 3.0.101.0
- 2004-04-04 21:06:12
--------------------------------------------------------
- Output type : SVCD
- CD size : 800
- Number of CD's : 1
- Sample percent : 2.0
- Adjust % : 1.0
- Cond. sizing pass : Yes (Transcode if opv sz > 0.1% oversize, and Q <= 60)
(Encode if opv sz < 2.5% undersize, or Q > 60)
- Audio after video : Yes (9% of video, min 128 kbps)
- Adjust max br : Yes (total: 2754, max avg offset: 300 kbps)
- Clean previous : Yes
- Run mode : Normal
--------------------------------------------------------
- Note: EclCCE is old (< v1.8). Please upgrade to latest version
- Waiting for CCE window ...
- Detected a CCE encode window
- Detected a CCE encode window
- Detected a CCE encode window
- Detected the CCE main movie encode window - closing it
--------------------------------------------------------
- 2004-04-04 21:14:36
- Finished shutdown of CCE and D2S
- Avisynth setup: FACAR
- Configured cond. filter: None
- Mpv file: C:\MovieRip\Encoded_Video_CCE_NTSC.mpv
- Avs file: C:\MovieRip\AviSynth_Script_file.avs
- Using CCE version 2.67 (2.67.0.23)
--------------------------------------------------------
- Movie length : 01:33:49 (134965 frames, 23.976 fps)
- D2S audio select : 128 + 0 kbps
- D2S video calc. : 2179 kbps, 2 CDs
- Select Ranges : every 600, select 12 frames
- Sample frames : 2700
--------------------------------------------------------
Calculations:
- 1 CD: video_br=1018 (1018) audio_br=128+0 video_sz=716311989 fill=100% cbr=0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Number of CDs : 1
- Target mpv BR : 1018 (max 2626) kbps, size=716311989 bytes
--------------------------------------------------------
Search for Q:
- Sample encode : Q=39: 793 kbps, err=-22.1%, size=558386995, sample sz=11170636
- Sample encode : Q=25: 1008 kbps, err=-1%, size=709554794, sample sz=14194776
- Sample encode : Q=24: 1032 kbps, err=1.4%, size=726618569, sample sz=14536140
- Switch to bin search
- Sample encode : Q=0: 2322 kbps, err=128.1%, size=1634022255, sample sz=32688920
- Determined Q : 1 = Round(0 + (128.1 - 1.0)/-1.#IND)
--------------------------------------------------------
- 2004-04-04 21:34:30
- Start movie OPV encoding (Q 1)
- OPV pass result: 230.6% on target (1652029524 / 716311989) Speed factor: 0.86
--------------------------------------------------------
- 2004-04-04 23:24:12
- Start transcoding (Requant 43.36%)
- Transcoding pass: 100.5% on target (719566173 / 716311989) Speed factor: 32.28
--------------------------------------------------------
- 2004-04-04 23:27:08
- Executing: C:\Program Files\DVD2SVCD\BeSweet\BeSweet.exe -core( -input "C:\MovieRip\Extracted_audio_1.ac3" -output "C:\MovieRip\Encoded_audio_1.mp2" -logfile "C:\MovieRip\Encoded_audio_1.log" ) -azid( -L -3db -C 0db -S 0db -c normal -s surround -g max ) -2lame( -e -b 128 -m s )
--------------------------------------------------------
- 2004-04-04 23:37:07
- Recover DVD2SVCD
--------------------------------------------------------
- 2004-04-05 03:06:53
- D2SRoBa successfully finished
--------------------------------------------------------

Proper one, putting back DVD2SVCD's bitrate setting for 1 CD;

--------------------------------------------------------
D2SRoBa v3.4.2, by Tylo
--------------------------------------------------------
- WIN_XP - AutoIt 3.0.101.0
- 2004-04-05 14:50:34
--------------------------------------------------------
- Output type : SVCD
- CD size : 800
- Number of CD's : 1
- Sample percent : 2.0
- Adjust % : 1.0
- Cond. sizing pass : Yes (Transcode if opv sz > 0.1% oversize, and Q <= 60)
(Encode if opv sz < 2.5% undersize, or Q > 60)
- Audio after video : Yes (9% of video, min 128 kbps)
- Adjust max br : Yes (total: 2754, max avg offset: 300 kbps)
- Clean previous : Yes
- Run mode : Normal
--------------------------------------------------------
- Waiting for CCE window ...
- Detected a CCE encode window
- Detected the CCE main movie encode window - closing it
--------------------------------------------------------
- 2004-04-05 15:00:05
- Finished shutdown of CCE and D2S
- Avisynth setup: FACAR
- Configured cond. filter: None
- Mpv file: C:\MovieRip\Encoded_Video_CCE_NTSC.mpv
- Avs file: C:\MovieRip\AviSynth_Script_file.avs
- Using CCE version 2.67 (2.67.0.23)
--------------------------------------------------------
- Movie length : 01:33:49 (134965 frames, 23.976 fps)
- D2S audio select : 128 + 0 kbps
- D2S video calc. : 1019 kbps, 1 CDs
- Select Ranges : every 600, select 12 frames
- Sample frames : 2700
--------------------------------------------------------
Calculations:
- 1 CD: video_br=1019 (1019) audio_br=128+0 video_sz=717015635 fill=100% cbr=0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Number of CDs : 1
- Target mpv BR : 1019 (max 2626) kbps, size=717015635 bytes
--------------------------------------------------------
Search for Q:
- Sample encode : Q=39: 746 kbps, err=-26.8%, size=525513920, sample sz=10513004
- Sample encode : Q=22: 1038 kbps, err=1.9%, size=731030424, sample sz=14624400
- Sample encode : Q=23: 1012 kbps, err=-0.7%, size=712132325, sample sz=14246340
- Determined Q : 22 = Round(23 + (-0.7 - 1.0)/2.6)
--------------------------------------------------------
- 2004-04-05 15:11:49
- Start movie OPV encoding (Q 22)
- OPV pass result: 100.1% on target (717523776 / 717015635) Speed factor: 0.75
- Oversized: Hoping to fit mpv on selected num CDs
--------------------------------------------------------
- 2004-04-05 17:16:15
- Executing: C:\Program Files\DVD2SVCD\BeSweet\BeSweet.exe -core( -input "C:\MovieRip\Extracted_audio_1.ac3" -output "C:\MovieRip\Encoded_audio_1.mp2" -logfile "C:\MovieRip\Encoded_audio_1.log" ) -azid( -L -3db -C 0db -S 0db -c normal -s surround -g max ) -2lame( -e -b 128 -m s )
--------------------------------------------------------
- 2004-04-05 17:26:13
- Recover DVD2SVCD
--------------------------------------------------------
- 2004-04-05 17:47:41
- D2SRoBa successfully finished
--------------------------------------------------------

tylo
6th April 2004, 08:08
@DDogg, thanks for the advice. I think that is the cause of a lot of errors reported on this board. The reason I pursued NuroPreaks error, is that SiliconSoul reported the exact same problem (in basic topics). Still, it may very well be CCE that did it, because I cannot explain it from the source code.

@Holomatrix - thanks. It has nothing to do with bitrate tab settings. Just leave them as it is. You will notice D2SRoBa computed bitrate 1018 for 1 CD (only 1 off from the 'proper one'). The problem is the 'Switch to bin search'. That is still bugged. This should be the very last (major) bug in the plugin.

/PS: Odd thing is that your samples (e.g. Q39) are slightly different in size for the two runs, although all your settings seems equal...? (Did you make any changes in the FACAR setup inbetween?)

Holomatrix
6th April 2004, 16:40
Ok, great, what's the new/fixed ETA release? and yes I changed some FACAR filter setings. I was using a basic script (Undot, Flux, Blockbuster) then moved to the QMF method, which looks great :)

P.S. Great progress on D2Sroba :)

NuroPreak
6th April 2004, 17:02
Originally posted by DDogg
tylo, I would sure feel better if we knew if NuroPreak's machine will run the Prime95 torture test (http://mersenne.org/gimps/p95v238.exe) for 4 hours without error. In fact, may I suggest than anybody that wishes to report a one off error do this test before posting. For that matter, please throw in one full cycle of memtest (http://www.memtest86.com/)

The main reason for this is that CCE, when it encounters a missed beat of the CPU, will not crash like many programs. Rather, it just drops out <poof and vanish>. D2S or D2SRoBa interprets this to mean the encoding cycle is finished as the system will keep working with no error thrown. BeSweet, on the other hand can do the same thing which causes the same problem during the audio encoding cycle, or sometimes it will present a black screen lock-up. A black screen with BeSweet is 99% CPU overheat or an unstable overclock although bad ram can do the same thing.

Btw, many people are presently running with bad ram and don't know it. I've seen this on 5 machines this year. The mpeg2dec/avisynth/CCE combination will use an extra 100 megs of memory. That is why ram problems tend to show up during encoding. Running memtest for one complete cycle will tell you one way or the other.

I tested D2SRoba + DVD2SVCD on 2 machines.. 1x pentium 4x 2.6gz and 1x at duron 1gz both i encounter the same problem.

but i could do both tests..

NuroPreak
6th April 2004, 17:05
Ok first test done.. on the fast computer *2.6gz 512 mb ram. with CCE 2.66 i get same error again.. :( [still 1 cd results + a d2sroba.avs from 12 mb

second test is still busy but its @ the slow pc with CCE 2.5.

--------------------------------------------------------
D2SRoBa v3.4.3, by Tylo
--------------------------------------------------------
- WIN_2000 - AutoIt 3.0.101.0
- 2004-04-06 07:42:41
--------------------------------------------------------
- Output type : SVCD
- CD size : 800
- Number of CD's : auto
- Sample percent : 1.0
- Auto Q / Max Q : 35 / 60
- Adjust % : 1.0
- Cond. sizing pass : Yes (Transcode if opv sz > 0.5% oversize, and Q <= 40)
(Encode if opv sz < 2.0% undersize, or Q > 40)
- Cut last image : If opv sz > 0.4% oversize, and opv sz < 0.5% oversize
- Audio after video : Yes (9% of video, min 224 kbps)
- Cond. filtering : If avisynth configured, and estim. oversize < 8% for Num CDs-1
- Adjust max br : Yes (total: 2754, max avg offset: 300 kbps)
- Clean previous : Yes
- Run mode : Normal
--------------------------------------------------------
- Waiting for CCE window ...
- Detected a CCE encode window
- Detected the CCE main movie encode window - closing it
--------------------------------------------------------
- 2004-04-06 08:14:54
- Finished shutdown of CCE and D2S
- Avisynth setup: BicubicResize
- Configured cond. filter: None
- Using CCE version 2.67 (2.66.1.7)
--------------------------------------------------------
- Movie length : 02:00:02 (180057 frames, 25 fps)
- D2S audio select : 224 + 0 kbps
- D2S video calc. : 1740 kbps, 3 CDs
- Select Ranges : every 1500, select 15 frames
- Sample frames : 1815
--------------------------------------------------------
Calculations:
- 1 CD: video_br=420 (420) audio_br=224+0 video_sz=378119700 fill=100% cbr=0
- 2 CD: video_br=1080 (1080) audio_br=224+0 video_sz=972307800 fill=100% cbr=0
- 3 CD: video_br=1740 (1740) audio_br=224+0 video_sz=1566495900 fill=100% cbr=0
- 4 CD: video_br=2400 (2400) audio_br=224+0 video_sz=2160684000 fill=100% cbr=1
--------------------------------------------------------
Computing target number of CDs:
- Sample max BR : 2530 (adjusted for 3 CDs)
- Sample encode : Q=35: 53 kbps, err=?%, size=47873535, sample sz=482572
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Using num CDs : 1
- Target mpv BR : 420 (max 2530) kbps, size=378119700 bytes
--------------------------------------------------------
Search for Q:
- Sample encode : Q=6: 91 kbps, err=-78.3%, size=82667492, sample sz=833300
- Sample encode : Q=1: 110 kbps, err=-73.8%, size=99608524, sample sz=1004068
- Determined Q : 1 = Round(1 + (-73.8 - 1.0)/0.9)
--------------------------------------------------------
- 2004-04-06 08:15:07
- Start movie OPV encoding (Q 1)
- OPV pass result: 514.9% on target (1947024860 / 378119700) Speed factor: 0.93
--------------------------------------------------------
- 2004-04-06 10:24:43
- Start transcoding (Requant 19.42%)
- Transcoding pass: 120% on target (453634771 / 378119700) Speed factor: 35.46
--------------------------------------------------------
- 2004-04-06 10:28:07
- Executing: C:\Program Files\SVCD2AVI\BeSweet\BeSweet.exe -core( -input "C:\Rippen\SVCD\Audio\Extracted_audio_1.ac3" -output "C:\Rippen\SVCD\Audio\Encoded_audio_1.mp2" -logfile "C:\Rippen\SVCD\Audio\Encoded_audio_1.log" ) -azid( -L -3db -C 0db -S 0db -c normal -s surround -g max ) -ota( -r 960 1001 ) -shibatch( --rate 44100 ) -2lame( -e -b 224 -m s )
--------------------------------------------------------
- 2004-04-06 10:46:33
- Recover DVD2SVCD
--------------------------------------------------------
- 2004-04-06 16:02:39
- D2SRoBa successfully finished
--------------------------------------------------------

tylo
6th April 2004, 17:50
After CCE and D2S is closed down, the only thing it does is to copy the Avisynth_Script_file.avs to D2SRoBa.avs and add the "SelectRangeEvery(..)" line to it.

The Avisynth_Script_file.avs is generated by D2S, and should only be a few Kb text file. Is this file 12Mb too (i.e. corrupted)? In that case, the file coruption probably happens during close down of CCE/D2S. As I mentioned, you should add 'debug=1' in your D2SRoBa.ini after installation, so it prints some extra debug lines.

/add: if the failure happes with both CCE 2.67, 2.66 and 2.50, its most likely D2S that is causing the corrupted file. I presume you are using v121b3. Not likely, but it could be AutoIt3 which is doing something bad during file copy on your machine.

Holomatrix
6th April 2004, 18:42
Does 344 fix the 'Switch to bin search' problem?

DDogg
6th April 2004, 19:40
NuroPreak, what happens if you do a standard D2S multi-pass without using D2SRoBa? We would be interested to know if it completes correctly.

maSp
6th April 2004, 19:48
[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : G:\Movie\Extracted_audio_1.ac3
[00:00:00:000] | Output: G:\Movie\Encoded_audio_1.ac3
[00:00:00:000] +------- AC3ENC ------
[00:00:00:000] | Bitrate method : CBR
[00:00:00:000] | AC3 bitrate : 448
[00:00:00:000] | Channels Mode : 5.1
[00:00:00:000] | Error Protection: Yes
[00:00:00:000] +---------------------
[ 417225984] Conversion Completed !
[00:01:13:000] <-- Transcoding Duration

--------------------------------------------------------
D2SRoBa v3.4.4, by Tylo
--------------------------------------------------------
- WIN_XP - AutoIt 3.0.101.0
- 2004-04-06 19:18:55
--------------------------------------------------------
- Output type : DVD
- CD size : 4350
- Number of CD's : 1
- Sample percent : 2.5
- Adjust % : 1.0
- Cond. sizing pass : Yes (Encode if opv sz < -0.0%, or > 0.0% oversize, or Q > 25)
- Clean previous : Yes
- Run mode : Normal
--------------------------------------------------------
- Waiting for CCE window ...
- Detected a CCE encode window
- Detected the CCE main movie encode window - closing it
--------------------------------------------------------
- 2004-04-06 19:29:26
- Finished shutdown of CCE and D2S
- Avisynth setup: FACAR
- Configured cond. filter: None
- Using CCE version 2.67 (2.66.1.7)
--------------------------------------------------------
- Movie length : 02:09:41 (194539 frames, 25 fps)
- D2S audio select : 429 + 0 kbps
- D2S video calc. : 4131 kbps, 1 CDs
- Select Ranges : every 480, select 12 frames
- Sample frames : 4872
--------------------------------------------------------

Can someone enlighten me please?

NuroPreak
6th April 2004, 20:03
Originally posted by DDogg
NuroPreak, what happens if you do a standard D2S multi-pass without using D2SRoBa? We would be interested to know if it completes correctly.

Yes that works correctly i used to do 4pass with D2S on both machines with cce 2.66 and 2.5 no problems at all..

anywy i installed 3.44 now and i put debug on ill post the results tomorrow.. but the first lines look better then before except the d2sroba.avs is still 13 mb or something :( but atleast it does some testings now and its not using Q=1 but he's doing Q=18.


--------------------------------------------------------
D2SRoBa v3.4.4, by Tylo
--------------------------------------------------------
- WIN_XP - AutoIt 3.0.101.0
- 2004-04-06 19:17:32
--------------------------------------------------------
- Output type : SVCD
- CD size : 800
- Number of CD's : auto
- Sample percent : 1.0
- Auto Q / Max Q : 35 / 60
- Adjust % : 1.0
- Cond. sizing pass : Yes (Transcode if opv sz > 0.5% oversize, and Q <= 40)
(Encode if opv sz < 2.0% undersize, or Q > 40)
- Cut last image : If opv sz > 0.4% oversize, and opv sz < 0.5% oversize
- Audio after video : Yes (10% of video, min 224 kbps)
- Cond. filtering : If avisynth configured, and estim. oversize < 8% for Num CDs-1
- Adjust max br : Yes (total: 2754, max avg offset: 300 kbps)
- Clean previous : Yes
- Run mode : Normal
--------------------------------------------------------
- Waiting for CCE window ...
- Detected a CCE encode window
- Detected the CCE main movie encode window - closing it
--------------------------------------------------------
- 2004-04-06 19:40:52
- Finished shutdown of CCE and D2S
- Avisynth setup: BicubicResize
- Configured cond. filter: None
- DEBUG: Mpv file: E:\RIPPEN\Video\Encoded_Video_CCE_PAL.mpv
- DEBUG: Avs file: E:\RIPPEN\Video\AviSynth_Script_file_avs-vfapi.avi (13326336 bytes)
- Using CCE version 2.50 (2.50.1.0)
--------------------------------------------------------
- Movie length : 02:00:02 (180057 frames, 25 fps)
- D2S audio select : 224 + 0 kbps
- D2S video calc. : 1740 kbps, 3 CDs
- Select Ranges : every 1500, select 15 frames
- DEBUG: Sample avs: E:\RIPPEN\Video\D2SRoBa.avs (13326363 bytes)
- Sample frames : 1815
--------------------------------------------------------
Calculations:
- 1 CD: video_br=420 (420) audio_br=224+0 video_sz=378119700 fill=100% cbr=0
- 2 CD: video_br=1080 (1080) audio_br=224+0 video_sz=972307800 fill=100% cbr=0
- 3 CD: video_br=1740 (1740) audio_br=224+0 video_sz=1566495900 fill=100% cbr=0
- 4 CD: video_br=2400 (2400) audio_br=224+0 video_sz=2160684000 fill=100% cbr=1
--------------------------------------------------------
Computing target number of CDs:
- Sample max BR : 2530 (adjusted for 3 CDs)
- Sample encode : Q=35: 1161 kbps, err=?%, size=1045878197, sample sz=10542600
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Using num CDs : 3
- Target mpv BR : 1740 (max 2530) kbps, size=1566495900 bytes
--------------------------------------------------------
Search for Q:
- Sample encode : Q=16: 1902 kbps, err=9.3%, size=1713097020, sample sz=17268260
- Sample encode : Q=20: 1641 kbps, err=-5.7%, size=1477491592, sample sz=14893324
- Sample encode : Q=18: 1775 kbps, err=2%, size=1598800209, sample sz=16116132
- Sample compute : Q=19: 1708 kbps, err=-1.8%, using (br(Q18) + br(Q20))/2
- Determined Q : 18 = Round(19 + (-1.8 - 1.0)/3.9)
--------------------------------------------------------
- 2004-04-06 19:57:37
- Start movie OPV encoding (Q 18)

DDogg
6th April 2004, 20:06
Yes that works correctly i used to do 4pass with D2S on both machines with cce 2.66 and 2.5 no problems at all.. Yes, but I was talking about now, not in the past.

NuroPreak
6th April 2004, 20:37
Originally posted by DDogg
Yes, but I was talking about now, not in the past.

I ment with that i tried it last week, and a couple a days back. So i was already busy with d2sroba aswell.

tylo
6th April 2004, 21:58
Does 344 fix the 'Switch to bin search' problem?Yes.

@maSp: D2SRoBa looks at the size of the G:\Movie\Encoded_audio_1.ac3 and the number of frames and thereby computes the framerate. That number is not critical for any computations (info only). Maybe I use wrong number of frames...

@NuroPreak: This is mysterious:
DEBUG: Avs file: E:\RIPPEN\Video\AviSynth_Script_file_avs-vfapi.avi (13326336 bytes)
How come "AviSynth_Script_file_avs-vfapi.avi" be the avs file? Isn't that created by the vfapi tool in connection with the DVD2AVI tool? Anyone. The odd thing is that your current run seems fine.

Please, rar together all the project files, and PM me a link to it:

dvd2svcd project file.d2s
DVD2SVCD.INI (in project dir)
SVCD.INI
CCE_Project_file.ecl
CCE_Project_file_MOVIE.ecl
Avisynth_Script_file.avs

I will look at it after easter sometimes.

NuroPreak
6th April 2004, 22:02
Ill zip it up and upload it as soon as it's finished :D

bobwillis
6th April 2004, 22:14
Hi NuroPreak,

Just a thought - Do you run CCE frameserved? See if safemode (frameserving) is unchecked on the D2S Encoder tab. Most people run without frameserving (box unchecked). I wonder if that is creating the avs-VFAPI.avi file?

Regards,
Bob

maSp
7th April 2004, 00:29
Maybe I use wrong number of frames...

Thanks Tylo. It was my fault. I was testing the latest BeSweet release and forgot to change back.

DDogg
7th April 2004, 00:34
DEBUG: Avs file: E:\RIPPEN\Video\AviSynth_Script_file_avs-vfapi.avi (13326336 bytes) Just as Bob said, when using CCE in the encoder tab, you would only have this file created IF safe-mode has been turned on. I forgot that was even there anymore.

/add:hmm, vfapi always wraps the audio to the signpost AVI. In this case we have the resampleaudio line in the avisynth script creating a small false audio. The resulting vfapi.avi would reflect the size of the audio.

God, what a comedy of odd events - Yep, I turned on safe mode and saw what was happening. tylo, I assume you copy the INI referenced file "AviSynth_Script_file_avs-vfapi.avi" as D2SRoBa.avs. D2SRoBa.avs, even though it is really a renamed 9 meg vfapi file, will still allow your edits, and open in cce via d2sroba.

NuroPreak
7th April 2004, 20:35
Whoei everything worked out for the first time since weeks i ended up having nice quality and 3cds.. ;)

I got 2 more questions.. as ddogg and bobwillis said.. should i turn of safe frameserving?

and the other question is i have 2 cds completelty filled but the third cd is only 126mb and i want all cds filled.. so it had to create 3 cds from 800mb or 2cds from 800mb can i fix this by setting the conditional sizing pass the limites to 0%, i can remember that i read it somewhere but i donno where anymore

//edit
Q. How can I make sure my CDs are always filled?
If you want to stretch your CDs fully at the cost of doing always 2 passes, check conditional sizing pass and set 0-0 in the thresholds.


//edit: tylo please clean your pm mailbox because i can't send you a pm :D

tnx alot!! :)

DDogg
7th April 2004, 22:10
NuroPreak, if it worked it was a complete accident (AFAIK). Yes, please never use safe mode with d2sroba. In fact, I hope tylo can check for it and do a stop process warning.

NuroPreak
12th April 2004, 21:22
Originally posted by DDogg
NuroPreak, if it worked it was a complete accident (AFAIK). Yes, please never use safe mode with d2sroba. In fact, I hope tylo can check for it and do a stop process warning.

without safe mode it works perfect!! now i enjoy the pleasure of d2sroba.. ripping my stuff in 3 hours or something instead of 10 / 12 hours :D also the d2sroba.avs looks ok now :D

i got 1 more question.. how come if i set

- Cond. sizing pass : Yes (Transcode if opv sz > 0% oversize, and Q <= 40) (Encode if opv sz < 0% undersize, or Q > 40)

both at 0% i ended up with a 2cd movie with cd2 only filled till 426mb? Why doesn't d2sroba choose a lower Q then?


--------------------------------------------------------
D2SRoBa v3.4.4, by Tylo
--------------------------------------------------------
- WIN_XP - AutoIt 3.0.101.0
- 2004-04-13 00:01:23
--------------------------------------------------------
- Output type : SVCD
- CD size : 800
- Number of CD's : auto
- Sample percent : 1.0
- Auto Q / Max Q : 35 / 60
- Adjust % : 1.0
- Cond. sizing pass : Yes (Transcode if opv sz > 0% oversize, and Q <= 40)
(Encode if opv sz < 0% undersize, or Q > 40)
- Audio after video : Yes (10% of video, min 224 kbps)
- Cond. filtering : If avisynth configured, and estim. oversize < 8% for Num CDs-1
- Adjust max br : Yes (total: 2754, max avg offset: 300 kbps)
- Clean previous : Yes
- Run mode : Normal
--------------------------------------------------------
- Waiting for CCE window ...
- Detected a CCE encode window
- Detected the CCE main movie encode window - closing it
--------------------------------------------------------
- 2004-04-13 00:12:19
- Finished shutdown of CCE and D2S
- Avisynth setup: BicubicResize
- Configured cond. filter: None
- DEBUG: Mpv file: E:\RIPPEN\Video\Encoded_Video_CCE_PAL.mpv
- DEBUG: Avs file: E:\RIPPEN\Video\AviSynth_Script_file.avs (442 bytes)
- Using CCE version 2.50 (2.50.1.0)
--------------------------------------------------------
- Movie length : 01:25:38 (128462 frames, 25 fps)
- D2S audio select : 224 + 0 kbps
- D2S video calc. : 1740 kbps, 2 CDs
- Select Ranges : every 1500, select 15 frames
- DEBUG: Sample avs: E:\RIPPEN\Video\D2SRoBa.avs (469 bytes)
- Sample frames : 1290
--------------------------------------------------------
Calculations:
- 1 CD: video_br=750 (750) audio_br=224+0 video_sz=481732500 fill=100% cbr=0
- 2 CD: video_br=1740 (1740) audio_br=224+0 video_sz=1117619400 fill=100% cbr=0
- 3 CD: video_br=2530 (2730) audio_br=224+0 video_sz=1625044300 fill=93.3% cbr=1
--------------------------------------------------------
Computing target number of CDs:
- Sample max BR : 2530 (adjusted for 2 CDs)
- Sample encode : Q=35: 1482 kbps, err=?%, size=952477416, sample sz=9564664
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Using num CDs : 2
- Target mpv BR : 1740 (max 2530) kbps, size=1117619400 bytes
--------------------------------------------------------
Search for Q:
- Sample encode : Q=27: 1721 kbps, err=-1.1%, size=1105498562, sample sz=11101284
- Sample encode : Q=26: 1755 kbps, err=0.9%, size=1127411590, sample sz=11321332
- Determined Q : 26 = Round(26 + (0.9 - 1.0)/2)
--------------------------------------------------------
- 2004-04-13 00:20:38
- Start movie OPV encoding (Q 26)
- OPV pass result: 100.9% on target (1127133652 / 1117619400) Speed factor: 0.56
--------------------------------------------------------
- 2004-04-13 02:53:13
- Start transcoding (Requant 99.16%)
- Transcoding pass: 99% on target (1106604997 / 1117619400) Speed factor: 44.65
--------------------------------------------------------
- 2004-04-13 02:55:10
- Executing: C:\Program Files\AVI2SVCD\BeSweet\BeSweet.exe -core( -input "E:\RIPPEN\Audio\Encoded_audio_1.mp2.wav" -output "E:\RIPPEN\Audio\Encoded_audio_1.mp2" -logfile "E:\RIPPEN\Audio\Encoded_audio_1.log" ) -ota( -g max ) -shibatch( --rate 44100 ) -2lame( -e -b 224 -m s )
--------------------------------------------------------
- 2004-04-13 03:21:59
- Recover DVD2SVCD
--------------------------------------------------------
- 2004-04-13 08:56:55
- D2SRoBa successfully finished
--------------------------------------------------------

tylo
13th April 2004, 15:25
- Movie length : 01:25:38 (128462 frames, 25 fps)
- D2S audio select : 224 + 0 kbps
- D2S video calc. : 1740 kbps, 2 CDs

These numbers are taken directly from D2S project files. Unfortunately, sometimes it seems D2S either calculates wrong bitrate (in that case it will also go wrong without the plugin), or simply a wrong bitrate is written to the file. 1740kbps is way to low for this short movie on 2 CDs. Try again fresh and see if you get the same result.

DDogg
16th April 2004, 03:31
Note updated version, See first page of this post.

"v3.4.6 - hopefully the final version"

bobwillis
16th April 2004, 19:00
Tylo,

I thought I'd try v3.4.6 today. I found that it doesn't close the initial CCE encode.

D2SRoBa hangs at this point:

- Waiting for CCE window ...
- Detected a CCE encode window
- Detected the movie encode window - shutting down

"CCE SP Trial Version" window displays:
Are you sure you want to cancel encoding?

The buttons Yes or No are displayed.
I have to manually click Yes in order to continue.

Regards,
Bob

DDogg
16th April 2004, 19:33
Bob,2.5 or else? If 2.5, do you have the add resample checked?

bobwillis
16th April 2004, 19:37
Hi DDogg,

v2.67.00.23 and I have 'resample audio' checked as normal - it prevents my XP1800+ from crashing during the CCE encode (usually I get an avisynth error without it checked).

BTW, v3.4.4 was ok, but it did seem to take a while (about a minute)to shut the CCE window if there was a lot of applications running.

Regards,
Bob

DDogg
16th April 2004, 19:53
running check with 2.5, seems OK. Now will do one with .23 trying to verify.

Yep, replicated with CCE .23 happens at the shutdown phase of D2S. Like you said, pressing yes allows the normal sequence to start. Damn revisionist bugs :)

OK, tylo quietly put 3.4.7 up to fix this. Thanks, tylo!

NuroPreak
18th April 2004, 10:49
Looks at this.. i ended up having a 4cd movie rip ..

CDsizes looking at the muxed mpg files
CD1: 760MB
CD2: 760MB
CD3: 515MB
CD4: 180Kb >> doesn't have anything on it only black screen

the thing that i don't get why doesn't d2sroba makes it so that all disks are completly filled i'm trying this one again and see if i get same results ;)

--------------------------------------------------------
D2SRoBa v3.4.7, by Tylo
--------------------------------------------------------
- WIN_XP - AutoIt 3.0.101.0
- 2004-04-18 00:34:49
--------------------------------------------------------
- Output type : SVCD
- CD size : 800
- Number of CD's : auto
- Sample percent : 1.0
- Auto Q / Max Q : 30 / 60
- Adjust % : 1.0
- Cond. sizing pass : Yes (Transcode if opv sz > 0% oversize, and Q <= 35)
(Encode if opv sz < 0% undersize, or Q > 35)
- Audio after video : Yes (9% of video, min 224 kbps)
- Cond. filtering : If avisynth configured, and estim. oversize < 8% for Num CDs-1
- Adjust max br : Yes (total: 2754, max avg offset: 250 kbps)
- Clean previous : Yes
- Run mode : Normal
--------------------------------------------------------
- Waiting for CCE window ...
- Detected a CCE encode window
- Detected the movie encode window - shutting down
--------------------------------------------------------
- 2004-04-18 01:05:14
- Project dir: E:\RIPPEN\Source\
- Config file: E:\RIPPEN\Source\DVD2SVCD.INI
- Avisynth ini: C:\Program Files\AVI2SVCD\avisynth.ini
- Avisynth setup: [BicubicResize], cond. filter: None
- D2S ver. 1.2.1.3, CCE ver. 2.50.1.0
--------------------------------------------------------
- Movie length : 01:52:13 (168338 frames, 25 fps)
- D2S audio select : 224 + 0 kbps
- D2S video calc. : 1740 kbps, 3 CDs
- Select Ranges : every 1500, select 15 frames
- Sample frames : 1695
--------------------------------------------------------
Calculations:
- 1 CD: video_br=420 (420) audio_br=224+0 video_sz=353509800 fill=100% cbr=0
- 2 CD: video_br=1080 (1080) audio_br=224+0 video_sz=909025200 fill=100% cbr=0
- 3 CD: video_br=1740 (1740) audio_br=224+0 video_sz=1464540600 fill=100% cbr=0
- 4 CD: video_br=2280 (2400) audio_br=224+0 video_sz=1919053200 fill=95.5% cbr=0
--------------------------------------------------------
Computing target number of CDs:
- Sample max BR : 2530 (adjusted for 3 CDs)
- Sample encode : Q=30: 1925 kbps, err=?%, size=1621055413, sample sz=16322452
- Estim. oversize : 10.6% for 3 CDs
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Using num CDs : 4
- Target mpv BR : 2280 (max 2530) kbps, size=1919053200 bytes
--------------------------------------------------------
Search for Q:
- Sample encode : Q=23: 2157 kbps, err=-5.4%, size=1815671620, sample sz=18282048
- Sample encode : Q=19: 2278 kbps, err=-0.1%, size=1917665578, sample sz=19309028
- Determined Q : 18 = Round(19 + (-0.1 - 1.0)/1.3)
- Reduced CD size : 766 (fill = 95.5%)
--------------------------------------------------------
- 2004-04-18 01:14:42
- Start movie OPV encoding (Q 18)
- OPV pass result: 101.1% on target (1939591044 / 1919053200) Speed factor: 0.47
--------------------------------------------------------
- 2004-04-18 05:13:48
- Start transcoding (Requant 98.94%)
- Transcoding pass: 99% on target (1900066302 / 1919053200) Speed factor: 36.22
--------------------------------------------------------
- 2004-04-18 05:16:56
- Executing: C:\Program Files\AVI2SVCD\BeSweet\BeSweet.exe -core( -input "E:\RIPPEN\Audio\Extracted_audio_1.ac3" -output "E:\RIPPEN\Audio\Encoded_audio_1.mp2" -logfile "E:\RIPPEN\Audio\Encoded_audio_1.log" ) -azid( -L -3db -C 0db -S 0db -c normal -s surround -g max ) -shibatch( --rate 44100 ) -2lame( -e -b 224 -m s )
--------------------------------------------------------
- 2004-04-18 06:05:40
- Recover DVD2SVCD

tylo
18th April 2004, 16:43
Hehe. It doesn't seem that we get a frozen version before a v3.5.0, with NuroPreak as tester. ;) Well, I can see what is going wrong, but not why.

- Movie length : 01:52:13 (168338 frames, 25 fps)
- D2S audio select : 224 + 0 kbps
- D2S video calc. : 1740 kbps, 3 CDs

Before D2S starts, D2SRoBa writes the timebands to DVD2SVCD\SVCD.ini file. So for 800 CD sizes, you should find in the Bitrate tab: 1CD -> 0-92 mins, 2CD -> 92-138 mins. I.e. in this case, D2S should have calculated bitrate for 2 CDs, and not 3. The actual bitrate is about right for 2 CDs (not sure). I presume you haven't fiddled with the timebands (but even then it should't have calced this bitrate).

As mentioned before, I get the number of CDs directly from the .d2s file, "Number of images" key in [Settings] section, and the calculated bitrate from "AvgBitrate" in the [MovieInfo] section.

NuroPreak's machine is quite slow (at least three times slower encoding than mine). This can cause some delays when files are written, and syncronization probs in some ways.

NuroPreak
18th April 2004, 20:02
Originally posted by tylo
NuroPreak's machine is quite slow (at least three times slower encoding than mine). This can cause some delays when files are written, and syncronization probs in some ways.

Hahah sponsor me please.. i'm only a poor student!! :)

anyway i had a look and guess what avg bitrate tab was checked in bitrates so i :rolleyes: and i loaded the original config.. and i think that is what caused this problem, having still the old config in i used for 4-pass vbr.

manolito
19th April 2004, 12:20
Got a reproduceable problem with D2SRoBa 3.47 and CCE 2.50 here. The new "more robust" method to enter text into CCE windows does not work on my machine (WinXP Pro German version). The first time D2SRoba starts CCE for the first sample run the "Open File" window stays open forever, D2SRoba does not enter any text into the window.
BTW version 3.44 works just fine.

Cheers
manolito

DDogg
19th April 2004, 16:46
3.4.7

Although I never use it, the dvddecryper plugin of d2sroba seems to not function in some tests I was doing. There are no ripped vobs in the working dir. It launches dvd2avi, but no further action takes place. This is the last line in the d2s log:

"C:\Program Files\DVD2SVCDBeta\DVD2AVI\DVD2AVIdg.exe" -CS=2 -YR=1 -OM=0 -EXIT -OF=[D:\matrix\DVD2AVI_Project_file] -IF=[

------------------------
@manolito - I can't reproduce your replicatable on on english XP. Maybe that will help pinpoint it.

tylo
20th April 2004, 00:00
@manolito: Ok, I can revert to the previous way I did it. Is the title of the CCE open file dialog "Öffnen" or "Open" in German WinXP?

@ddogg: the dvddecrypter plugin is completely independent of D2SRoBa, so it must be a config problem. Install D2SRoBa again.

Btw: why not use it? dvddecrypter plugin has worked flawlessly for more than a year for me, and it is in general safer and faster than internal ripping.

DDogg
20th April 2004, 03:51
@ddogg: the dvddecrypter plugin is completely independent of D2SRoBa, so it must be a config problem. Install D2SRoBa again. Not dissing it, tylo. Anything of yours has a special place with me for sure :). Its just that ANY method other than the internal method of ripping is non supported in the DVD2SVCD general forum. You personally get all the joy of supporting it :)

Reason is folks can do dumb stuff, like I just did, and have no file splitting on which breaks D2S. Also, many other setting can be changed, some of which seem to have caused problems before.

Let's do this. Any mod that sees a question about it just move it to the advanced section as it is an advanced function.

tylo, another edit, I can't get it to work. dvd2avi always fails. I wonder if the parameters being delivered has become messed up in these test versions I am using?

"Executing DVD2AVI. Commandline:
"C:\Program Files\DVD2SVCDBeta\DVD2AVI\DVD2AVIdg.exe" -CS=2 -YR=1 -OM=0 -EXIT -OF=[D:\matrix2\DVD2AVI_Project_file] -IF=[
EFOpenError Cannot open file D:\matrix2\DVD2AVI_Project_file.d2v

tylo
20th April 2004, 08:34
Good point. My post may have sounded like I was kind of offended by you not using the dvddecrypter plugin - not at all, but thanks, ddogg. :)

On the other matter, the previous test version *sometimes* wrote that truncated DVD2AVIdg log line too (just checked a few logs) - but it still worked fine. Haven't used the last test version yet.

manolito
20th April 2004, 14:21
@tylo
The title of the CCE open file dialog in German WinXP is "Öffnen".

Cheers
manolito

maSp
20th April 2004, 18:52
Beside a little question: Is there any reason for d2sroba to be installed in the start menue of %HOMEPATH% instead of %ALLUSERSPROFLE%?

DDogg
20th April 2004, 19:49
<hopefully the final version><snicker><big grin - promise> :)

manolito
20th April 2004, 20:30
So far 3.48 looks pretty much like the final version to me. The CCE open file dialog works like a charm now, and I especially like the option to use ReJig instead of Requant. Great... and a big Thank You to Tylo again!

DDogg
20th April 2004, 20:52
I had to delete my ini to get the transcoder option to ungray.

tylo
20th April 2004, 21:39
Well, ddogg, you got right (naturally). :D This time I was lazy and didn't make a new version number. In order to use ReJig.exe, you must download v3.4.8 again.

DDogg
21st April 2004, 19:57
<chuckling> Well you actually have to do one more now because "3.5.0" just sounds right :)

NuroPreak
21st April 2004, 23:42
Originally posted by DDogg
<chuckling> Well you actually have to do one more now because "3.5.0" just sounds right :)

ah ill post one of my errors :p no really everything seems to be working smooth since 2.4.8 ;)

Holomatrix
22nd April 2004, 14:29
We'll you might want to give yourself a little more recognition on your plugin "D2SRoba v3.50 - DVD2SVCD Plugin [SVCD] by TYLO the Great" :) and make the link on your plugin to your home page a hyperlink. There 3.5.0 :)

manolito
23rd April 2004, 16:07
@tylo

Just one small request for the final version 3.50:
When using CCE 2.66+ with EclCCE 1.8+, CCE alway runs minimized. I have not found a way to run CCE in a normal window other than going back to EclCCE 1.7b.

Call me a control freak, but I really like to see the encoder window during the encode. D2S also runs most of the helper applications minimized, but CCE is run in a normal window. Maybe you could add another line in D2SRoba.ini?

Cheers
manolito

DDogg
23rd April 2004, 16:15
tylo, I don't know if this is possible so bear with me. Do you have a way of detecting what the last "state" of CCE was? What I mean is, whether it was minimized or not. If you do, then mimicking the last state would address manolito's request (I think). A user that wanted to see it could de-minimize it and it would stay that way till the user minimized it again.

tylo
24th April 2004, 01:19
@DDogg: nope, i'm afraid that's not possible. However, This has bugged me a little bit myself sometimes, so here's what I'll do:

- Add another entry in the ini file: minimize. It may have three values: 0, 1, 2. 0=no, 1=yes, 2=when D2SRoBa log window is minimized. (applies also to Rejig).

Easy, peasy.

DDogg, when I have you here, first read the thread about "ECL manual" in the CCE forum. I actually did that tool before I tried jdobbs DVD-RB, but I realize now that it may not be easy to apply it with DVD-RB because the main movie is splittet into cells in the ECL file. I could maybe make a front-end that put them together again (for the RoBa estimation in order to find a proper Q). Also the 'Dynamically assign Cell bitrates' must be off (we want to find a Q that produce one bitrate).
Don't want to bother jdobbs at this time about it, but it would be real nice to have added OPV to DVD-RB. I will release the tool this weekend anyhow. Bedtime.

Venom_IL
24th April 2004, 12:20
How about "auto num of CD's, but only use up to X CD's"

e.g. for cases you simply want the program to decide between 1 and 2 CD's, and you don't want 3 or more in any circumstance

Worry not, one day I'll run out of strange ideas :D

DDogg
24th April 2004, 22:14
tylo, I would like to PM, or perhaps IM, a bit on the subject of the dvd-rb plugin. Before the release if this is possible for you.

Oh, re the new INI parameter, I really like 2, that deals with it very elegantly for me. Nicely thought out.

Fugdefino
1st May 2004, 09:06
Ok, I've just installed D2SROBA 3.5, but it keeps stopping after doing a sample encode. I've tried both with a set number of cds selected and ? selected. When selecting ? mode, I receive no cd selection window. D2SROBA just stops. I'm using CCE 2.5. Here's my log:

--------------------------------------------------------
D2SRoBa v3.50, by Tylo
--------------------------------------------------------
- WIN_XP - AutoIt 3.0.101.0
- 2004-04-30 21:13:24
--------------------------------------------------------
- Output type : SVCD
- CD size : 800
- Number of CD's : 3 (max 32)
- Sample percent : 1.0
- Adjust % : 1.0
- Cond. sizing pass : Yes (Transcode if opv sz > 1.0% oversize, and Q <= 40)
(Encode if opv sz < 2.5% undersize, or Q > 40)
- Cut last image : If opv sz > 0.3% oversize, and opv sz < 1.0% oversize
- Audio after video : Yes (128 kbps)
- Adjust max br : Yes (total: 2756, max avg offset: 120 kbps)
- Clean previous : Yes
- Run mode : Normal
--------------------------------------------------------
- Waiting for CCE window ...
- Detected a CCE encode window
- Detected the movie encode window - shutting down
--------------------------------------------------------
- 2004-04-30 21:15:35
- Project dir: H:\Program Files\DVD2SVCD\Movie\
- Config file: H:\Program Files\DVD2SVCD\Movie\DVD2SVCD.INI
- Avisynth ini: H:\Program Files\DVD2SVCD\AVISYNTH.INI
- Avisynth setup: [GammaCorrect], cond. filter: None
- D2S ver. 1.2.1.3, CCE ver. 2.50.1.0
--------------------------------------------------------
- Movie length : 01:47:11 (160790 frames, 25 fps)
- D2S audio select : 128 + 0 kbps
- D2S video calc. : 2450 kbps, 3 CDs
- Select Ranges : every 1200, select 12 frames
- Sample frames : 1608
--------------------------------------------------------
Calculations:
- 3 CD: video_br=2450 (2450) audio_br=128+0 video_sz=1969677500 fill=100% cbr=0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Using num CDs : 3
- Target mpv BR : 2450 (max 2628) kbps, size=1969677500 bytes
--------------------------------------------------------
Search for Q:
- Sample encode : Q=20:

Fugdefino
2nd May 2004, 04:30
Well, I've just resinstalled it, but now I have another problem. Check out the screenshot below:

http://img43.photobucket.com/albums/v132/Spaceboy60/cdselection.jpg

Any idea what the problem is?

thewonderer
2nd May 2004, 08:12
2.67.0.09 cce failed to shutdown with 3.5 of d2sroba... using dvd2svcd 1.2.1. the shutdown cce dialog box appeared (yes/no).

thought you might like to know. i installed latest cce sp 2.67.0.27 and this closes fine and continues....

hope this is of use

Martin

DDogg
3rd May 2004, 04:32
Fugdefino, does it work ok for you in other modes? Try auto or 2 disk and let us know. tylo normally disappears on the weekend around here, but reappears during the workweek. I think he has a real life :)

Fugdefino
4th May 2004, 01:18
Originally posted by DDogg
Fugdefino, does it work ok for you in other modes? Try auto or 2 disk and let us know. tylo normally disappears on the weekend around here, but reappears during the workweek. I think he has a real life :)

Well, it's actually working ok with some other avi files I've tested.

The avi file I'm having problems with is one I joined in VirtualDubMod. I can encode the two file seperately ok, although for some reason when I encode the 2nd part in ? mode, it automatically starts encoding, rather than presenting me with a cd selection box.

DDogg
4th May 2004, 01:52
Ah, gotta love them damn Avi's. 90% of all problems reported in these forums are because of them. You may want to see the post in the main forum about avis. I did a poor job of explaining it, but you may find using a simple avisynth script using Avisource wrapped with Link2, MakeAVIS, or VFAPI will allow you to better use the source in A2D. Although saving in VDub, especially to huffy if you have the HD room, should have worked just fine for you.

thewonderer
4th May 2004, 06:59
When using d2sroba.. i noticed that bbmpeg starts up and produces one large .mpg why does it do this when i'm creating dvd's not svcd... surely once the .mpv and ac3 are done i can just multiplex them to vobs...?....

thanx

martin

DDogg
4th May 2004, 07:22
I answered this in your post in basic. It has nothing to do with D2SRoBa. Where did you get that idea? When "noimages" are selected in the CD Image tab, D2S muxes the resulting files. Just create a blank batch file with one line "REM do nothing" (no quotes) and save it as RunbbMPEG.BAT. Go to the multiplexer tab and change the path from RunbbMPEG.exe to RunbbMPEG.bat. No more muxing and you will be left with your elementary streams.

This is a feature I had wanted to get in, but it did not happen on this version. I wanted a Elementary Streams Only button. Maybe next time.

FredThompson
4th May 2004, 09:10
Is there a way to set a truly custom destination filesize? IOW, use D2SRoBa to make the best quality possible in a file no larger than some user-specified size?

r6d2
4th May 2004, 13:53
Originally posted by FredThompson
Is there a way to set a truly custom destination filesize? IOW, use D2SRoBa to make the best quality possible in a file no larger than some user-specified size? Yes, use DVD mode and change the output media size to what you want. Don't forget to check the muxing options.

FredThompson
5th May 2004, 00:58
Please elaborate on that. I'm very familiar with DVD2SVCD but have never used D2SRoBa. There must be something which should be obvious but I see no DVD mode in D2SRoBa. I'd like to use it with non-IFO/VOB source if possible.

r6d2
5th May 2004, 01:48
Originally posted by FredThompson
Please elaborate on that.Sorry, I was in a hurry and expressed myself poorly.

I assume you want to end up with a MPEG-2 file with certain size. Correct me if I'm wrong.

1. Start DVD2SVCD, set DVD mode output. Close DVD2SVCD.

2. Start D2Sroba. Set media size to what you want. D2Sroba will start DVD2SVCD again and set media size to what you entered.

3. In DVD2SVCD, CD Image tab, select no images. In Multiplexer tab, change bbMPEG parameters to MPEG-2 by double clicking on it.

4. Encode.

As a result, you'll end up with one single MPEG-2 muxed ready to burn DVD compliant stream (and both elementary streams if you want to author them).

Hope this helps.

FredThompson
5th May 2004, 01:58
Yes, I would like to make an MPEG2 of a specified size. D2SRoBa seems to only support sizes from its drop-down picklist, correct? I'm looking for a way to specify the exact size.

For example, I have a 420M VOB which must be shrunk to 342M. That's too large a difference for DVDShrink to be useful. I have been using ProCoder at DDogg's suggestion. However, I'd like to test RoBa, CCE 2.66x 4-Pass and ProCoder to see how they shape up. (A pro editor buddy swears by CCE 2.66x 4-pass.)

My hope is D2SRoBa could be used to encode to a user-defined size, not just the drop-down list sizes which appear to be based on recordable media.

Is this possible?

DDogg
5th May 2004, 02:16
Fred, you are gonna just slap yourself :) Just type in the number you want. I'm waiting for your Argggghhhh :)

FredThompson
5th May 2004, 02:27
Uuuuuhhhh....SLAP!!!!

Fugdefino
6th May 2004, 20:26
I've just tried converting an AVI file to SVCD. Everything went fine, except I've been left with 3 mpg files rather than 2. The second mpeg is only 720 MB, yet a 3rd one of 120 KB has been created. Here's my log:

- 2004-05-06 15:12:20
--------------------------------------------------------
- Output type : SVCD
- CD size : 800
- Number of CD's : 2 (max 32)
- Sample percent : 1.0
- Adjust % : 1.0
- Cond. sizing pass : Yes (Transcode if opv sz > 1.0% oversize, and Q <= 40)
(Encode if opv sz < 2.5% undersize, or Q > 40)
- Cut last image : If opv sz > 0.3% oversize, and opv sz < 1.0% oversize
- Audio after video : Yes (9% of video, min 128 kbps)
- Adjust max br : Yes (total: 2754, max avg offset: 120 kbps)
- Clean previous : Yes
- Run mode : Normal
--------------------------------------------------------
- Waiting for CCE window ...
- Detected a CCE encode window
- Detected the movie encode window - shutting down
--------------------------------------------------------
- 2004-05-06 15:14:04
- Project dir: H:\Program Files\DVD2SVCD\Movie\
- Config file: H:\Program Files\DVD2SVCD\Movie\SVCD.INI
- Avisynth ini: H:\Program Files\DVD2SVCD\Movie\AVISYNTH.INI
- Avisynth setup: [GammaCorrect], cond. filter: None
- D2S ver. 1.2.2.1, CCE ver. 2.50.1.0
--------------------------------------------------------
- Movie length : 01:17:27 (116180 frames, 25 fps)
- D2S audio select : 224 + 0 kbps
- D2S video calc. : 2450 kbps, 2 CDs
- Select Ranges : every 1200, select 12 frames
- Sample frames : 1164
--------------------------------------------------------
Calculations:
- 2 CD: video_br=2410 (2450) audio_br=224+0 video_sz=1399969000 fill=98.5% cbr=0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Using num CDs : 2
- Target mpv BR : 2410 (max 2530) kbps, size=1399969000 bytes
--------------------------------------------------------
Search for Q:
- Sample encode : Q=20: 2388 kbps, err=-0.9%, size=1387684263, sample sz=13903120
- Sample encode : Q=19: 2401 kbps, err=-0.4%, size=1394961682, sample sz=13976032
- Sample encode : Q=18: 2414 kbps, err=0.2%, size=1402353285, sample sz=14050088
- Determined Q : 16 = Round(18 + (0.2 - 1.0)/0.5)
- Reduced CD size : 790 (fill = 98.5%)
--------------------------------------------------------
- 2004-05-06 15:18:46
- Start movie OPV encoding (Q 16)
- OPV pass result: 101% on target (1413443592 / 1399969000) Speed factor: 1.02
- Oversized: Cutting last CD image off by 1%
--------------------------------------------------------
- 2004-05-06 16:34:32
- Executing: H:\Program Files\DVD2SVCD\BeSweet\BeSweet.exe -core( -input "H:\Program Files\DVD2SVCD\Movie\Extracted_audio_1.ac3" -output "H:\PROGRA~1\DVD2SVCD\Movie\Encoded_audio_1.mp2" -logfile "H:\PROGRA~1\DVD2SVCD\Movie\Encoded_audio_1.log" ) -azid( -L -3db -l 0db -c normal -s surround -g max ) -ota( -r 23976 25000 ) -shibatch( --rate 44100 ) -2lame( -e -b 224 -m s )
--------------------------------------------------------
- 2004-05-06 16:47:43
- Recover DVD2SVCD
--------------------------------------------------------
- 2004-05-06 19:11:30
- D2SRoBa successfully finished
--------------------------------------------------------

tylo
7th May 2004, 06:32
Yes, this is a small bug, but can easily be avoided. Edit D2SRoBa.ini and set cut_per_over=2.0 (at least higher that the cond. sizing pass oversize limit). Recover and start from muxing.

When the encode is "maxed out" as yours is (using max average bitrate), the CD size is reduced, and you won't get a full size image. This is correct. However, it should't have cut off the oversize part of the last image, because in this case there is room on the CD for it.

In general (when not "maxed out"), when using cond. oversize limit=1.0%, as you are, you may get too big last image to burn. Set it to 0.0 (it will kick in the transcoder which is fast, and you won't loose quality anyway).

Fugdefino
8th May 2004, 01:10
Thanks, worked perfectly.

DDogg
9th May 2004, 18:10
tylo, can you look at this post (http://forum.doom9.org/showthread.php?s=&postid=489469#post489469) please.

DDogg
12th May 2004, 14:51
tylo, dvd2svcd, In dvd mode when using D2SRoBa and Frame-selection there is a major problem in my opinion. D2SRoBa sets the size of the file in the bitrate tab, but Frame-selection does not use this size. I'm not sure whose problem it is, but it is a major problem and IMO one of you, or both, need to address it. I brought it up several times but neither of you seemed to notice. If the user does not notice and manually change the size in the frame-selection tab, the encode of course gets all messed up.

/Add: I think d2s plans to address this in the next build.

tylo
12th May 2004, 15:12
Yep. It's probably my mistake. I haven't addressed frame selection in dvd mode at all. Currently I update the [FrameSelection0]/CDSize, and [Settings]/bbMPEGCDSize keys in the project file before recovering. However, bbMPEG is not used with DVDs, so there's probably another key that must be updated. I'll take a look at it when there is time.

DDogg
12th May 2004, 17:08
I'm just trying to get you guys to mutually address it :) It is one of those things that is really not either's specific problem. Just something that needs coordination between you guys. Another is that stupid "calc bitrate as max" thing. I hope it will be removed. Are you un-checking it? It will sure foul up a lot of things if left checked.

DDogg
13th May 2004, 05:44
Another bitchy post. Who dreamed up this cut last image thing? I would like to know so I can shoot him :D Could somebody please explain why this is in a wonderful program like D2SRoBa? I truly must not understand its purpose. I hope setting 'cut_per_over=0.0' will put a stake in the heart of this vile creature that sneaked into polite society :)

"Oversized: Cutting last CD image off by 4.4%" - What kinda nut would want this? <big grin here to disguise my true feelings, nah!>

tylo
13th May 2004, 12:08
Hehe. Well, I think it was me, and you're not the first to bitch about it. You must set 'cut_per_over=20' or a higher number than you can ever expect to oversize to get rid of it. The reason I wanted it, was to avoid a sizing pass on oversizing. By cutting off e.g. 1% of the movie, you are likely to only cut off some credits (if you haven't already with frame selection). That way you could still fit the first images onto the CD, and ignore the cutoff.

Now that we have transcoder for resizing, that is really no big issue anylonger, so I'll drop the whole matter in the next release. :)

About the "calced bitrate as max", I can't see the big point of it. Actually, D2SRoBa could be started in multipass mode. (Just change the mode after D2S has come up. It will work nicely. In the next relase I will set D2S automatically to multipass, instead of OPV. In that way "calc bitrate as max" is no issue.

manolito
13th May 2004, 13:53
Another bitchy post. Who dreamed up this cut last image thing?
If I remember it right you would have to shoot r6d2. :scared:

But maybe you want to shoot me too, because I strongly suggest to not remove this feature. The reason for its existence is that D2S provides some slack in its calculations. Without this feature it happend to me all the time that the encode was just slightly oversized (maybe by 0.5%) and D2S would cut off this 0.5%. When checking the size it would always turn out that the file would have easily fit on the CD without cutting. I have the value for cut_per_over set to 0.5%, and it never gave me any trouble. Of course Tylo has a point when he says that since we have the transcoder this thing is no longer needed, but why should we even take the slightest risk to decrease quality when it's not absolutely necessary?

Cheers
manolito

DDogg
13th May 2004, 20:09
If I remember it right you would have to shoot r6d2.We tend to shoot at each other on a regular basis, but we make sure not to actually hit each other..LOL.

Look, I don't have a problem if it has to be enabled in the INI by an advanced user that specifically wants this feature and understands its odd and esoteric usage. However, having it enabled when D2SRoBa is freshly installed, especially for DVD, is what concerns me greatly. Btw, my reasons are my great respect for the D2SRoBa effort. Noobs are going to take one look at "Oversized: Cutting last CD image off by 4.4%", not have a clue what is going on, and discard D2SRoBa. That makes me crazy to think about.

Also, I thought 'cut_per_over=0.0' turned this off?

jsoto
13th May 2004, 20:53
However, having it enabled when D2SRoBa is freshly installed, especially for DVD, is what concerns me greatly Agree. I've to rerun a encoding because of that, but with D2SRoBa it does not take so time, he, he.

IMO, the best solution is to change the installation default. BTW, I wrote 9.9 in my ini file.

jsoto

r6d2
13th May 2004, 20:55
Originally posted by DDogg
Also, I thought 'cut_per_over=0.0' turned this off? Sort of. The problem is, as manolito pointed out, that inaccuracy in D2S BR calculations will have an impact. In DVD mode, which you are mostly interested in, it does not matter because you only need the elementary streams and no cutting is done.

BTW, as Tylo pointed out, the transcoder may eliminate the need for this feature, but eventually you'll end up with bigger images than expected. So be prepared to overburn at times :)

PS: Please don't shoot the pianist. :D

DDogg
13th May 2004, 21:09
Ok, I'll set it to 20 like tylo said. That should make sure it is never activated. One of the reasons this feature does not work for many is where frame selection has been used to trim credits as the user specified out point. For it to properly fulfill its purpose it would have to check and deactivate itself when FS has been used.

bobwillis
13th May 2004, 23:41
Hi all,

I use the following settings; Cond. sizing pass: Yes (Encode if opv sz < -1.5%, or > 0.0% oversize, or Q > 20). I have never seen this cut problem, so I hypothesize that having the oversize set to 0.0 eliminates the possibility of it occuring. I appreciate that my settings increase the probability of the second pass occuring, but I don't care, because I'm a quality freak and would prefer to have a vbr sizing pass correct matters anyway.

Regards,
Bob

r6d2
14th May 2004, 15:22
@Tylo,

When RoBaConditional is used, there is a slight, albeit non-null probability, that when applying KISS you end up needing 2 less media instead of one. Apparently the plugin still just reduces the media count by 1 in this case. Can you check for it, please?

You might easily reproduce the problem by selecting a small media size, like 200 for instance. This is relevant for DDogg's 1/8 - 1/16 idea, very suitable for putting multiple movies on a single DVD minimizing the wasted space.

Thanks in advance.

DDogg
14th May 2004, 18:42
I think I remember checking it several versions back and it would decrement multiple 'slices'. I wonder if something changed?

r6d2
15th May 2004, 04:29
Originally posted by DDogg
I think I remember checking it several versions back and it would decrement multiple 'slices'.Yes, I remember that. However, I found this happening once, I used 1/16 (282-MB). Please try it to see if you can reproduce it or if something is wrong on my end. Thanks.

windtrader
4th June 2004, 21:31
I've seen Bach state that GOP size n/m=5 should be used and it reduces the overall file size by about 10%.

Does D2SROBA take this into account when calculating Q?

jorel
4th June 2004, 22:52
Originally posted by windtrader
I've seen Bach state that GOP size n/m=5 should be used and it reduces the overall file size by about 10%.

Does D2SROBA take this into account when calculating Q?

looking D2S folder i have:
dvd.ini ---> MN GOP=4
svcd.ini---> MN GOP=5
vcd.ini ---> MN GOP=5
:)

r6d2
5th June 2004, 01:46
Originally posted by windtrader
I've seen Bach state that GOP size n/m=5 should be used and it reduces the overall file size by about 10%.I never saw Bach stating that, but GOP size being 12 or 15 (or whatever) is transparent to D2Sroba since it uses the same GOP for samples and for the encode. Tylo however has reported lower level of precision in the prediction pahse with one GOP size over the other. I cannot confirm that though.

windtrader
5th June 2004, 07:33
Tylo however has reported lower level of precision in the prediction pahse with one GOP size over the other. I cannot confirm that though
The latest version of RoBa are predicting VERY well for me. However, I have had runs of good luck then get a bad streak of bad prediction. I sure would not want to mess up the prediction by the change in GOP but it seems, given the same sample pct., larger GOPS might be less accurate due to the larger GOPS "blending" more action (less precision) and has less absolute number of samples for the same size video (less precision).

But who really knows.... Tylo :) Where are u?

r6d2 - check PM

r6d2
5th June 2004, 15:04
Originally posted by windtrader
r6d2 - check PM Already done that. Interesting. I'll try to check if GOP size affects output size. In theory, it should, since 3/4 has less B-frames than 3/5.

tylo
6th June 2004, 22:58
Yes, Bach has stated that longer GOPs give smaller file size (haven't seen anyone tesing it). It should have most effect on movies with many static scene's though. I have always used GOPs=15 for SVCD for that reason.

GOP length does not significantly affect the Q prediction. But I have experienced that Adjust % could maybe be a little higher when GOPs=12 vs. GOPs=15, which also makes sense in theory. Next version (soon) will have separate settings for DVD and SVCD, so you can set a different Adjust % if you're using diferent GOP length for SVCD and DVD.


/(made bold): D2SRoBa v3.60 is now released. - check first post.

DDogg
8th June 2004, 01:59
/add: D2SRoBa v3.60 is now released. Gee, at least put that in bold or something! :) The conditional for DVD and fixed Disk SVCD is a huge new feature.

FredThompson
8th June 2004, 03:21
Originally posted by tylo
Yes, Bach has stated that longer GOPs give smaller file size (haven't seen anyone tesing it).
Yup. This is one way MPEG2 satellite is tweaked. Variable length GOPs which can be looooooong save bandwidth.

jorel
8th June 2004, 04:53
Originally posted by DDogg
Gee, at least put that in bold or something! :)

oh yes DDogg, but it deserve!

thank you tylo for new version!
:)

r6d2
8th June 2004, 16:01
Originally posted by FredThompson
Variable length GOPs which can be looooooong save bandwidth. This is probably why Kwag promotes use of 24 frame length GOPs for KVCD.

FredThompson
8th June 2004, 16:11
Originally posted by r6d2
This is probably why Kwag promotes use of 24 frame length GOPs for KVCD.
...and why his samples are from movies without a lot of action.

jorel
8th June 2004, 17:04
Originally posted by FredThompson
...and why his samples are from movies without a lot of action.
it's not true my friends, i have lots of kvcds from action movies(rock musicals,lots)and the results are very cool,believe me,the "secret" (well,never was a secret) is the kvcd notch matrix and i sometimes low the gop to 12 and the results are short. see that Nic is using the kvcd notch in QuENC and the default gop is 12 and the compression is great.i'm not posting to "defend" the kvcd way,only showing my results.see that here i post that i like D2S with Roba,QuENC,the new dgmpgdec,Kwag's MA script,Mug Funky/Sh0dan script,HybridFuPP script, and lots more that i use all the time cos i always search and use good programs,scripts and the kvcd nothch is one of the best way to get compression/short size.my opinion is short but my results are great! ;)

FredThompson
8th June 2004, 21:52
Those scripts use temporal softening which "smears" one frame into another in an attempt to reduce variations. Large variable-length GOPs can save a lot of bandwidth. Smearing adjacent frames is different.

jorel
9th June 2004, 04:52
Fred,
it means that using this scripts turn the image worse? seems a paradox for me. of course, i don't know all parameters, i only see the results and they are good and have quality. i'm using the "kiss" script too...it fall in the same case? please, give your opinion and explanations that are always welcome. :) (if it's not off topic here)
thank you!

FredThompson
9th June 2004, 06:52
I suppose this is "on topic" becuase it will help keep the focus of this thread on D2SRoBa compression savings and not filter affects.

VBR MPEG2 is based on periodic full frames (i-frames) and 2 types of interpreted frames which are, basically, recordings of the differences between neighboring frames. GOP is an i-frame and the "differences" for frames until the next i-frame. i-frames use the most storage space.

Thus, a larger GOP can mean a smaller file. It is best if an i-frame is used at each scene change so the "differences" between frames inside the GOP are small. Temporal smoothing reduces the differences between sequential frames. Basically, it replaces each frame with the average of itself and the frames before and after it. Thus, the difference between adjacent frames is reduced. However, this also means detail is removed and new items in the frames are fuzzy at first.

Most MPEG2 uses a fixed GOP length. The earlier comments in this thread were discussing how a larger GOP would mean a smaller file. The optimal solution would be variable-length GOPs with an i-frame at each scene change. This is what some MPEG2 satellite transmissions use. (This is a very simple explanation, not complete.) Since most encoders don't support variable-length GOPs, a length must be chosen. The DVD standard has required GOP lengths. Chosing one of those gives higher compatibility.

That's what they were discussing, GOP length.

windtrader
9th June 2004, 19:10
Since most encoders don't support variable-length GOPs, a length must be chosen. The DVD standard has required GOP lengths. Chosing one of those gives higher compatibility.

Are you thinking that an I-frame from a scene change is likely to be smaller than one taken at random, thus the further reduction?

With all the encoders available to us these days, which ones support variable GOP and which software players support this? It would be quite interesting to do some experimentation to see how much of a difference it can have.

Does anyone have any idea of how many DVD STBs can handle variable GOPs if any? It would not be a issue for me since I play the backups 99% on my HTPC.

FredThompson
9th June 2004, 19:23
Originally posted by windtrader
Are you thinking that an I-frame from a scene change is likely to be smaller than one taken at random, thus the further reduction?No, scene changes inside the GOP increase b and p sizes.
With all the encoders available to us these days, which ones support variable GOPI don't know of any which are available to hobbyists. Would make a nice addition, though.and which software players support this?Everything I've tried.It would be quite interesting to do some experimentation to see how much of a difference it can have.

Does anyone have any idea of how many DVD STBs can handle variable GOPs if any? It would not be a issue for me since I play the backups 99% on my HTPC.

windtrader
9th June 2004, 19:32
I don't know of any which are available to hobbyists. Would make a nice addition, though
Thanks for the quick reply; although it seems this is an academic rather than a practical topic. At least we have the GOP size to optimize.

[QUOTE]No, scene changes inside the GOP increase b and p sizes. /QUOTE]
Does this imply the intra GOP B and P frames are deltas from the prior I frame rather than the prior frame that is composed of the starting I frame merged with the following B frames?

If so, I follow along; otherwise, if the process "builds" the next frame based on the I frame and merging each following B frame, then it seems the additional savings would be marginal.

bobwillis
12th June 2004, 21:47
Hi Tylo,

Did an encode with FACAR and the filtering worked as expected. On the next encode, I turned off the filter, but it remains enabled:

--------------------------------------------------------
D2SRoBa v3.60, by Tylo
--------------------------------------------------------
- WIN_XP - AutoIt 3.0.101.0
- 2004-06-12 20:09:42
--------------------------------------------------------
- Output type : DVD
- CD size : 4470
- Threshold Q : 40
- Sample size : 2.0%
- Adjust estimated : 1.4%
- Cond. sizing pass : Yes (Encode if opv sz < -1.5%, or > 0.0% oversize, or Q > 20)
- Cond. filtering : No
- Run mode : Normal
--------------------------------------------------------
- Waiting for CCE window ...
- Detected a CCE encode window
- Detected the movie encode window - shutting down
--------------------------------------------------------
- 2004-06-12 20:26:35
- Project dir: C:\rotk scen\source\
- Avisynth setup: FACAR
- Configured cond. filter: C:\Program Files\DVD2SVCD\Tylo\RoBaConditional.avs
- D2S ver. 1.2.2.5, CCE ver. 2.67.0.27
--------------------------------------------------------
- Movie length : 03:12:46 (289160 frames, 25 fps)
- D2S audio select : 448 + 0 kbps
- D2S video calc. : 2713 kbps, 1 CDs
- Select ranges : every 600, select 12 frames
- Sample frames : 5784
--------------------------------------------------------
Calculations:
- 1 CD: video_br=2713 (2713) audio_br=448+0 video_sz=3922455400 fill=100% cbr=0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Using num CDs : 1
- Target mpv br : 2713 (max 9400) kbps, size=3922455400 bytes
--------------------------------------------------------
Search for Q:
- Sample enc. Q=40 : 2749 kbps, err=1.3%, size=3975838015, sample sz=79527760
- Sample enc. Q=41 : Skipped. Restarting search with cond. filter
- Sample enc. Q=40 : 2478 kbps, err=-8.7%, size=3583627071, sample sz=71682456
- Sample enc. Q=34 : 2758 kbps, err=1.7%, size=3988240900, sample sz=79775852
- Sample enc. Q=35 : 2705 kbps, err=-0.3%, size=3912216816, sample sz=78255160
--------------------------------------------------------
- Determined Q : 34 = Round(35 + (-0.3 - 1.4)/2)
--------------------------------------------------------
- 2004-06-12 20:45:32
- Start movie OPV encoding (Q 34)

Regards,
Bob

FredThompson
13th June 2004, 01:06
Originally posted by windtrader

No, scene changes inside the GOP increase b and p sizes.
Does this imply the intra GOP B and P frames are deltas from the prior I frame rather than the prior frame that is composed of the starting I frame merged with the following B frames?

If so, I follow along; otherwise, if the process "builds" the next frame based on the I frame and merging each following B frame, then it seems the additional savings would be marginal. If the GOP size can be variable, the logical place for an i-frame is where frame n varies significantly from frame n+1. That would help to enforce the goal of only small changes within the GOP itself. When a scene change happens inside a GOP, the GOP must have more bytes to maintain the quality level. If the goal is some level of constant quality in minimal space, you'd have the best results with an i-frame at each scene change and variable-length GOPs.

It sure would be nice if this kind of thing was available without paying pro prices. I wonder if scene detect could be added to QuEnc so it could do variable-size GOPs.

tylo
13th June 2004, 09:04
Did an encode with FACAR and the filtering worked as expected. On the next encode, I turned off the filter, but it remains enabled:
This I fixed right before the release. (Sorry, I was sloppy with versioning of the test releases). Download again. You should verify that you have an older version by comparing dates, e.g. D2SRoBa.au3 inside the D2SRoBa_src.rar archive.

bobwillis
13th June 2004, 10:05
Thanks Tylo.

When I uninstalled my existing version and installed the latest version, the FACAR script was not modified by D2SRoBa.

I had to uninstall D2SRoBa, then uninstall FACAR, reinstall FACAR and then reinstall D2SRoBa in order to get "!RoBaConditional.avs=C:\Program Files\DVD2SVCD\Tylo\RoBaConditional.avs" to re-appear in the facar script.

I notice that when you uninstall D2SRoBa it leaves "0=# Import(...)" behind. I know this does nothing, but I'd thought I'd make you aware of it. Could you not just delete the whole line?

Anyway, it all appears to be working ok now - many thanks.

Regards,
Bob

manolito
27th June 2004, 19:27
It has been quiet around here for some time, which of course means that D2SRoBa has reached a very stable and mature state. I use it all the time, and I don't know how I could ever have lived without it.

But I do have some tiny requests for the next version. After testing version 3.60 for some time I did go back to 3.50, mainly because I miss some of the features that have been removed. Would it be much work to reintroduce the "Sample_estimation_fix" entry in the INI file? It`s almost funny because it was me who originally discovered jonny's trick in his thread and brought it up here. In the majority of cases this trick does give you a more accurate Q estimation, but to me it happened twice that I got an OPV encode that was way undersized (15% to 18%). Turning this option off gave me an encode well within my normal range (between 3% under and 5% oversized). So I went back to the old way, and it would be real nice to have this option back.

The other thing I miss is the "Clean previous sample files" option in the GUI. I don't use it often, but sometimes I find it quite useful.

Cheers
manolito

manolito
27th June 2004, 19:28
Here comes another one of my "brilliant" ideas that might smell like a lot of work for Tylo. Don't worry, so far this is just a theoretical thing, and maybe my logic is all wrong, but I'd really like to have it discussed here.

It's about how Q factor and aspect ratio of the movie are related. With D2SRoBa we do not care about bitrate, we do quality based encodes here, and the CCE Q factor is a direct measurement of the encoding quality. If we consider filtering and quantization matrices as constants, then two encodes with the same Q will have the same quality. (This is probably oversimplified, but it basically comes from some very old posts from Bach himself.)

In D2SRoBa we have to decide on the highest Q (worst quality) we are willing to accept, then we enter this value into the "Auto Q" or "Threshold Q" box. If we end up with a Q above this value, D2SRoba will apply a remedy like using a conditional filter or increasing the number of CDs to ensure that our quality will be equal or better than the Q we specified.

But if we do a non-anamorphic (letterboxed) encode, the black areas of a 16:9 movie will be a part of the encode and thus also be considered in CCE's Q calculation. (For SVCD most of us have to use the "16:9, borders added, encoded as 4:3" option, because most standalone DVD players do not support the anamorphic flag for SVCDs.)

Example: For a cinemascope 2.35:1 movie almost half of the 4:3 TV screen consists of black pixels. (To keep it simple, I just say half of the pixels are black). Even at ultra low bitrates it is probably safe to assume that CCE will encode these black pixels at a Q of one (or zero). If the real user data (the actual film) came out with a Q of 50, then the overall Q would be something like 25. (I think the Q function curve is pretty linear as long as we do not get close to the maximum bitrate.)

If this is true, then a 2.35:1 encode with a Q of 25 would have the same quality as a 4:3 encode with a Q of 50.

For D2SRoBa this means that for letterboxed encodes a correction factor for "Threshold Q" would have to be implemented according to the movie aspect ratio. Probably not a trivial thing. Somehow D2SRoBa would have to determine the ratio between black pixels and movie pixels. For FACAR users the values could be extracted from the FACAR script, but for the standard resizer scripts...?


Well, this is my theory, let's see if someone can prove me wrong. BTW this theory translates well into the real world. Lately I have been doing a lot of 4:3 encodes, and even at a Q around 60 they look quite OK while 2.35:1 movies with a Q higher than 35 show visible artefacts.


Cheers
manolito

windtrader
27th June 2004, 20:57
I always thought the calculation of Q would account for the various sized black bars. It does sampling which would (could) "see" the amount of constant black areas in the samples and adjust Q accordingly.

However, based on your observation that 1:33 encodes can have higher Q than higher aspect ratio before quality falls off, it makes me wonder as well what is being calculated.

r6d2
29th June 2004, 03:15
@manolito,

Interesting idea. However, I'm with windtrader here. I think Q takes that effect into account as much as D2Sroba is concerned.

But please do a simple test. Use OPV Q=30 or whatever number you like best. First do a 4:3 5 minute clip and encode it uncropped. Then encode it again as if it were a 2.35:1 movie. I mean, crop top and bottom parts with FACAR.

This way you'll encode "the same" material, at the "same overall Q". See if you can find a difference between the two side by side (taking into account only common film pixel area).

I think you'll find that both encodes have different sizes (and hence different BRs), but same Q, and will look exactly the same. Please see if you can check that.

jorel
5th July 2004, 03:51
hy boys! :)
first,don't need to write(but i'm writing) that D2SRoba is wonderful!
sometimes the system crash if (and only if) i'm on internet and encoding at the same time,if i live the pc alone only encoding,it run fine. i'm using with CCE2.50 adjusting "idle" in process priority on D2S and if i'm right,it means that all programs will run in idle,include CCE! trying to find a way to encode and still use the pc,i read the cce faqs,D2SRoba faqs and D2S faqs. i saw that in Q60 of D2S faqs have recomendations to use "Safe mode (frameserving)" option in "Encoder" tab,but Roba don't work with this option. in Q9 of CCE faqs,i saw an option to run CCE in lower process priority:
@echo off
start "CCE" /LOW <path to CCE executable>
but i don't know if D2s running in idle priority is running CCE in this condition,turning this recomendations useless. using CCE266 with eclcce the same happen as CCE250 : the system sometimes crash if i not let it encoding alone. well,after this big details and doubts,i ask: what can i do to run D2SRoba with CCE in very very low priority to still use the pc for other little jobs without crash? ...time to encode is not important,i'm only don't want to stay out waiting the end of the job without use the pc at the same time.i have athlon xp 2000+ with 512mb ram and 2 hds with 7200rpm that seems fine to run without crash in idle mod using others programs together with D2SRoba/CCE. can anyone give me more hints and help me please?
thanks in advance! :)

tylo
5th July 2004, 12:09
@manolito: It really depends on how CCE determines the Q. If it simply looks how close the source is encoded to the target for each pixel, and then takes the average for all pixels, you are right. It could also "weight" the problematic parts of the scene much higher. For example if 90% of the scene is simple to encode, but 10% is extremely hard, the Q could reflect how close the encoding is to the source in hardest part of the frame. I believe CCE does something like that.

If your theory where right, you should get a *much* worse Q if you droppet the AddBorder() line in a 2:35 movie, and created a smaller frame size with no black borders in. Try it and report, if you like.

@jorel: does this problem only occur when you use D2SRoBa, and not with D2S alone? D2SRoBa uses a small proggy in the ./dist folder to set the CCE process priority equal to D2S.

jorel
5th July 2004, 12:49
hy tylo,thanks for answer (ask) me!
the true is....i don't know :p cos i don't use D2S without Roba but i don't think that Roba is giving me that problems, i post the doubt here cos i can't use "Safe mode (frameserving)" with Roba and if have one more way to really "slow down" the process....like i told, time needed to encode is irrelevant(i really don't mind),i only want a system just a little more "stable", CCE use cpu in "heacy way",right?
D2SRoba give me perfect size and if don't have any way to decrease the cpu use, better is left the system alone encoding with Roba.
believe me,i don't want to test without Roba cos it's not guilty and i still want perfect size in my target and using CCE in D2S without Roba is very hard to find the target size!
nobody knows D2SRoba more than you and nobody knows D2SRoba less than me.......but we all know that Roba is working perfect,then i'm calling for another possible alternative to decrease the cpu charge!
thank you ! :)

bobwillis
24th July 2004, 15:40
Hi Tylo,

Do you have to check the 'conditional sizing pass' box in order to get the 'transcode if oversized' feature to work.

I have just done an encode with 'conditional sizing pass' unchecked and 'transcode if oversized' checked (albeit greyed out) and the transcoder wasn't executed. Is this as you expect?


--------------------------------------------------------
D2SRoBa v3.60, by Tylo
--------------------------------------------------------
- WIN_XP - AutoIt 3.0.101.0
- 2004-07-24 13:12:08
--------------------------------------------------------
- Output type : DVD
- CD size : 4470
- Threshold Q : 40
- Sample size : 2.0%
- Adjust estimated : 1.4%
- Cond. sizing pass : No
- Cond. filtering : No
- Run mode : Normal
--------------------------------------------------------
- Waiting for CCE window ...
- Detected a CCE encode window
- Detected the movie encode window - shutting down
--------------------------------------------------------
- 2004-07-24 13:36:55
- Project dir: C:\goldeneye\source\
- Avisynth setup: LanczosResize
- Configured cond. filter: C:\Program Files\DVD2SVCD\Tylo\RoBaConditional.avs
- D2S ver. 1.2.2.6, CCE ver. 2.67.0.27
--------------------------------------------------------
- Movie length : 02:04:12 (186306 frames, 25 fps)
- D2S audio select : 448 + 0 kbps
- D2S video calc. : 4460 kbps, 1 CDs
- Select ranges : every 600, select 12 frames
- Sample frames : 3732
--------------------------------------------------------
Calculations:
- 1 CD: video_br=4460 (4460) audio_br=448+0 video_sz=4154623800 fill=100% cbr=0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Using num CDs : 1
- Target mpv br : 4460 (max 9400) kbps, size=4154623800 bytes
--------------------------------------------------------
Search for Q:
- Sample enc. Q=17 : 4315 kbps, err=-3.3%, size=4019726674, sample sz=80521400
- Sample enc. Q=16 : 4449 kbps, err=-0.2%, size=4144639755, sample sz=83023604
--------------------------------------------------------
- Determined Q : 15 = Round(16 + (-0.2 - 1.4)/3)
--------------------------------------------------------
- 2004-07-24 13:39:39
- Start movie OPV encoding (Q 15)
- OPV pass result: 106.4% on target, 4747 kbps (4421994756 / 4154623800) Speed: 2.77
--------------------------------------------------------
- 2004-07-24 14:24:35
- Recover DVD2SVCD: Muxing

Best Regards,
Bobs

manolito
24th July 2004, 22:33
Do you have to check the 'conditional sizing pass' box in order to get the 'transcode if oversized' feature to work.
Yes you do. The transcoding pass is nothing but a sizing pass, it just uses a transcoder instead of CCE in VBR mode. So if you do not check the "conditional sizing pass", no resizing will take place at all.

Cheers
manolito

bobwillis
25th July 2004, 00:46
Cheers manolito. Just wanted confirmation that's how it's supposed to work!

Regards,
Bob

xp_eric
3rd August 2004, 09:19
I started using D2SRoBa in combination with DVD2SVCD and mDdvdAuth to create DVDs. The problem is that mDdvdAuth uses the SVCD mode of DVD2SVCD and thus D2SRoBa is thinking a SVCD is created. Can I force D2SRoba to DVD mode despite the SVCD setting of DVD2SVCD and if not which settings should I use?

DVD2SVCD settings are :
output file type : SVCD
resize to : DVD (720 x 480/576)
CCE GOP sequence : M=3 N/M=4

Eric :)

Boulder
3rd August 2004, 13:30
Is there a way to make D2SRoBa encode 15-frame GOPs (N/M=5) instead of the twelve frames it uses by default? I've edited the appropriate .ini files so that the PVA2DVD portion uses 15-frame GOPs but D2SRoBa doesn't seem to respect them.

r6d2
4th August 2004, 03:49
Originally posted by Boulder
I've edited the appropriate .ini files so that the PVA2DVD portion uses 15-frame GOPs but D2SRoBa doesn't seem to respect them.Did you try changing the settings inside DVD2SVCD or using a template? (you did not post your log so I'm assuming you're using CCE)

Boulder
12th August 2004, 11:01
Originally posted by r6d2
Did you try changing the settings inside DVD2SVCD or using a template? (you did not post your log so I'm assuming you're using CCE)

It seems that changing the settings inside DVD2SVCD doesn't work because it won't go for M=3, N/M=5, thus it uses 12-frame GOPs. I've got it working when I've saved the settings in an ini file, then edited this file so that the N/M value is 5 and loaded the ini file, then starting the process without editing any CCE related parameters.
However, D2SRoBa appears to use 12-frame GOPs no matter what I do.

ralphthedog
13th August 2004, 03:05
Hmmm......I thought the GOP parameters did change with the settings on DVD2SVCD, did you look in the .ecl file @Boulder?

In the past I always thought my CCE templates were in control, but I seem to remember the DVD2SVCD settings were actually used?

Boulder
13th August 2004, 09:47
The problem is that DVD2SVCD won't let me put 5 in the N/M box, the highest value possible is 4. If I edit the ini file so that the value is 5, I get 15-frame GOPs.

It's not a big problem, I've set D2SRoBa for my dad's TV captures so that he gets full-size DVDs without any need to be a tech person. He puts max 3 hours per disc so the extra compression shouldn't be necessary 95% of the time.

Venom_IL
14th August 2004, 19:42
the output file shows the following avisynth error

"deen need a yv12 input"

D2SRoBa_Q36.mpv.unfiltered.mpv doesn't show this which makes sense and means the problem occurs only when the filter is run

is there a way to simply not use the filter? (or is it completely nesseccary in this case)

maybe an avisynth command i could add somewhere to convert to yv12 or something of the sort?

would updating avisynth or deen to their newest versions (betas) do any good?

here is the log

--------------------------------------------------------
D2SRoBa v3.60, by Tylo
--------------------------------------------------------
- WIN_XP - AutoIt 3.0.101.0
- 2004-08-14 20:01:37
--------------------------------------------------------
- Output type : SVCD
- CD size : 800
- Number of CD's : auto (max 32)
- Threshold Q : 36
- Sample size : 1.0%
- Adjust estimated : 1.2%
- Cond. sizing pass : Yes (Transcode if opv sz > 0.0% oversize, and Q <= 40)
(Encode if opv sz < 2.5% undersize, or Q > 40)
- Cond. filtering : If configured, and estim. oversize for Num CDs-1 is below 25%
- Audio after video : Yes (9% of video, min 160 kbps)
- Adjust max br : Yes (total: 2754, max avg offset: 300 kbps)
- Run mode : Normal
--------------------------------------------------------
- Waiting for CCE window ...
- Detected a CCE encode window
- Detected the movie encode window - shutting down
--------------------------------------------------------
- 2004-08-14 20:04:47
- Project dir: F:\DVD2SVCD\3\
- Avisynth setup: BilinearResize
- Configured cond. filter: C:\Programs\DVD2SVCD\Tylo\RoBaConditional.avs
- D2S ver. 1.2.2.1, CCE ver. 2.67.0.23
--------------------------------------------------------
- Movie length : 01:19:48 (119705 frames, 25 fps)
- D2S audio select : 160 + 0 kbps
- D2S video calc. : 1196 kbps, 1 CDs
- Select ranges : every 1500, select 15 frames
- Sample frames : 1200
--------------------------------------------------------
Calculations:
- 1 CD: video_br=1196 (1196) audio_br=160+0 video_sz=715835900 fill=100% cbr=0
- 2 CD: video_br=2504 (2504) audio_br=224+0 video_sz=1498706600 fill=100% cbr=1
--------------------------------------------------------
Computing target number of CDs:
- Sample max br : 2594 (adjusted for 1 CDs)
- Sample enc. Q=36 : 1200 kbps, err=?%, size=718236783, sample sz=7200068
- Estim. oversize : 0.3% for 1 CDs
Conditional filter test:
- Sample enc. Q=36 : 233 kbps, err=?%, size=139812248, sample sz=1401568
- Cond. filter success - reducing num CDs to 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Using num CDs : 1
- Target mpv br : 1196 (max 2594) kbps, size=715835900 bytes
--------------------------------------------------------
Search for Q:
- Sample enc. Q=6 : 233 kbps, err=-80.5%, size=139848957, sample sz=1401936
- Switch to binary search
- Sample enc. Q=3 : 233 kbps, err=-80.5%, size=139853347, sample sz=1401980
- Sample enc. Q=2 : 233 kbps, err=-80.5%, size=139882874, sample sz=1402276
- Sample enc. Q=1 : 233 kbps, err=-80.5%, size=139854544, sample sz=1401992
- Sample enc. Q=0 : 233 kbps, err=-80.5%, size=139854544, sample sz=1401992
--------------------------------------------------------
- Determined Q : 1 = Round(0 + (-80.5 - 1.2)/-1.#IND)
--------------------------------------------------------
- 2004-08-14 20:06:57
- Start movie OPV encoding (Q 1)
- OPV pass result: 0.3% on target, 3 kbps (1928492 / 715835900) Speed: 1408.63
--------------------------------------------------------
- 2004-08-14 20:07:03
- Start VBR sizing pass (1196 kbps)
- Sizing pass result: 0.2% on target, 2 kbps (1690628 / 715835900) Speed: 1371.04
--------------------------------------------------------
- 2004-08-14 20:07:09
- Executing: C:\programs\DVD2SVCD\BeSweet\BeSweet.exe -core( -input "F:\DVD2SVCD\3\Encoded_audio_1.mp2.wav" -output "F:\DVD2SVCD\3\Encoded_audio_1.mp2" -logfile "F:\DVD2SVCD\3\Encoded_audio_1.log" ) -ota( -g max ) -shibatch( --rate 48000 ) -2lame( -e -b 160 -m j )
--------------------------------------------------------
- 2004-08-14 20:07:19
- Recover DVD2SVCD: Muxing
--------------------------------------------------------
- 2004-08-14 20:08:13
- D2SRoBa successfully finished
--------------------------------------------------------

thanks in advace, i really feel this can be resolved in a simple command like converttoTv12() or something, im just really ignorant in this business :confused:

tylo
16th August 2004, 15:35
@Boulder: D2S forces GOP N/M=4 on DVD output, because Scenarist requires it. However, DVDAuthor and possibly others do not (so it's kind of a bug). FYI, the latest internal beta test version allow you to set GOP N/M=5, so the next release will too.

@Venom_IL, do one of the following:
A. Uncheck "Use cond. filter if configured", and select Num CDs=1.
B. Or, edit C:\Programs\DVD2SVCD\Tylo\RoBaConditional.avs. You may try an alternative conditional filter that does not require yv12 input. If Fluxsmooth is such a filter, you may try that.

Cheers.

manolito
16th August 2004, 19:19
@VENOM_IL

This is just one of the catches you may encounter when converting AVIs. Most filters for AviSynth 2.5x require YV12 source material. For a DVD source this is already the case, but if your source is a captured AVI file it will mostly be YUY2.

But there is no need to get rid of your filters. Just edit your RoBaConditional.avs and insert the following line before the first filter call:

ConvertToYV12()

If your source is interlaced, the command should be

ConvertToYV12(interlaced=true)

Before turning over the clip to CCE it has to be converted back to YUY2. AVI2SVCD does this automatically (Encoder tab, Advanced, Color conversion), but the AviSynth documentation recommends to use the command "ConvertBackToYUY2()" if the clip was YUY2 before. So IMHO it can't hurt to insert the line

ConvertBackToYUY2()

after the last filter command in your RoBaConditional.avs.

If you do not have DivX installed you might get a complaint that a YV12 capable codec must be installed. If you do not want to install DivX, the "LocoCodec" works just fine.


Another catch if you want to deinterlace your clip in AVI2SVCD: If you want to use the built-in SmartDeinterlacer you cannot use Mpeg2dec3.dll in the Frameserver tab. Use Mpeg2dec.dll instead.

Good luck
manolito

Boulder
16th August 2004, 19:52
Originally posted by tylo
@Boulder: D2S forces GOP N/M=4 on DVD output, because Scenarist requires it. However, DVDAuthor and possibly others do not (so it's kind of a bug). FYI, the latest internal beta test version allow you to set GOP N/M=5, so the next release will too.


Thanks, a kind person already helped me out:) I never knew that N/M=5 wouldn't be DVD compliant..

xp_eric
16th August 2004, 21:46
@Tylo:
I started using D2SRoBa in combination with DVD2SVCD and mDdvdAuth to create DVDs. The problem is that mDdvdAuth uses the SVCD mode of DVD2SVCD and thus D2SRoBa is thinking a SVCD is created. Can I force D2SRoba to DVD mode despite the SVCD setting of DVD2SVCD and if not which settings should I use?

DVD2SVCD settings are :
output file type : SVCD
resize to : DVD (720 x 480/576)
CCE GOP sequence : M=3 N/M=4

Eric ;)

Venom_IL
20th August 2004, 14:58
it worked :)

DDogg
24th August 2004, 03:48
As I feared, the setup of d2sroba's conditional filter with the latest build borks up the resizing filters on a NEW DVD2SVCD install [maybe ok on an existing installation]. At least it happened twice for me. This is very frustrating and is the reason I had the strongest possible reservations about d2sroba altering the standard dvd2svcd filters [to no avail]. If this is true the whole build needs to be pulled down *now* or it is going to be a freaking nightmare [replaced with d2s122b2a.zip]. Here is what I was left with after the initial install. At the bottom of this post I've placed a correct replacement avisynth.ini file you can copy and paste as a quick fix.



[AVISYNTH_SimpleResize]
0=Import(!RoBaConditional.avs)
1=LoadPlugin(!SimpleResize.dll)
2=ConvertToYUY2().SimpleResize(^TargetWidth,^TargetHeight)
!SimpleResize.dll=C:\Program Files\DVD2SVCDNew\Avisynth2.5 Plugins\SimpleResize\SimpleResize.dll
3=AddBorders(^BorderLeft,^BorderTop,^BorderRight,^BorderBottom)
!RoBaConditional.avs=C:\Program Files\DVD2SVCDNew\Tylo\RoBaConditional.avs

[AVISYNTH_BilinearResize]
0=BilinearResize(^TargetWidth,^TargetHeight)
1=AddBorders(^BorderLeft,^BorderTop,^BorderRight,^BorderBottom)

[Global]
AVIReader=AVISource(!filename,audio=false)
MPEG2Reader=MPEG2Source(!filename)
MPEG1Reader=DirectShowSource(!filename)

[AVISYNTH_BicubicResize]
0=Import(!RoBaConditional.avs)
!RoBaConditional.avs=C:\Program Files\DVD2SVCDNew\Tylo\RoBaConditional.avs
[AVISYNTH_LanczosResize]
0=Import(!RoBaConditional.avs)
!RoBaConditional.avs=C:\Program Files\DVD2SVCDNew\Tylo\RoBaConditional.avs

So, if any of you need a new avisynth.ini file for a fresh installation , try this one:

[AVISYNTH_SimpleResize]
0=LoadPlugin(!SimpleResize.dll)
1=ConvertToYUY2().SimpleResize(^TargetWidth,^TargetHeight)
2=AddBorders(^BorderLeft,^BorderTop,^BorderRight,^BorderBottom)
!SimpleResize.dll=C:\Program Files\DVD2SVCDNew\Avisynth2.5 Plugins\SimpleResize\SimpleResize.dll

[AVISYNTH_BilinearResize]
0=BilinearResize(^TargetWidth,^TargetHeight)
1=AddBorders(^BorderLeft,^BorderTop,^BorderRight,^BorderBottom)

[AVISYNTH_BicubicResize]
0=BicubicResize(^TargetWidth,^TargetHeight,^b_value,^c_value)
1=AddBorders(^BorderLeft,^BorderTop,^BorderRight,^BorderBottom)
^b_value=0.0
^c_value=0.6

[AVISYNTH_LanczosResize]
0=LanczosResize(^TargetWidth,^TargetHeight)
1=AddBorders(^BorderLeft,^BorderTop,^BorderRight,^BorderBottom)

[AVISYNTH_D2SRoBa BicubicResize w/Conditional Filter]
0=Import(!RoBaConditional.avs)
1=BicubicResize(^TargetWidth,^TargetHeight,^b_value,^c_value)
2=AddBorders(^BorderLeft,^BorderTop,^BorderRight,^BorderBottom)
!RoBaConditional.avs=C:\Program Files\DVD2SVCD\Tylo\RoBaConditional.avs
^b_value=0.0
^c_value=0.6

[AVISYNTH_D2SRoBa LanczosResize w/Conditional Filter]
0=Import(!RoBaConditional.avs)
1=LanczosResize(^TargetWidth,^TargetHeight)
2=AddBorders(^BorderLeft,^BorderTop,^BorderRight,^BorderBottom)
!RoBaConditional.avs=C:\Program Files\DVD2SVCD\Tylo\RoBaConditional.avs

[AVISYNTH_D2SRoBa BiLinearResize w/Conditional filter]
0=Import(!RoBaConditional.avs)
1=BilinearResize(^TargetWidth,^TargetHeight)
2=AddBorders(^BorderLeft,^BorderTop,^BorderRight,^BorderBottom)
!RoBaConditional.avs=C:\Program Files\DVD2SVCD\Tylo\RoBaConditional.avs

[Global]
AVIReader=AVISource(!filename,audio=false)
MPEG2Reader=MPEG2Source(!filename)
MPEG1Reader=DirectShowSource(!filename)



/Add: Note: Seems the problem is caused on a new installation because the avisynth.ini is not built until the first run of D2S. I guess d2sroba does not find what it expects when adding the conditional filters as the only thing in the avisynth.ini at that stage is just SimpleResize.

/Add2: OK, problem dealt with. See http://forum.doom9.org/showthread.php?s=&threadid=81317

People that download the d2s122b2a.zip build will not have this problem.

tylo
25th August 2004, 18:11
Thanks to dvd2svcd, a solution to this problem is present. Yes DDogg, you did predict trouble when I tickered with the avisynth.ini file :o, but I am afraid this particular problem is unrelated to whether D2SRoBa modified existing, or added new avisynth setups. (D2SRoBa shouldn't have written to the avisynth.ini file if it didn't exist, which lead dvd2svcd to believe that you upgraded from a previous version, and therefore didn't create a new avisynth.ini - I think). I am planning to make a new build within a few weeks, which fixes this, and it may also include some minor improvements.

DDogg
26th August 2004, 05:05
... and it may also include some minor improvements. Hard to believe it could get any better than it is :)

cw_uk
28th August 2004, 00:56
i have a question or maybe a request for future versions. does anyone know how exactly D2SRoba knows where to find the D2SRoba.ini as with dvdrips it seems to know exactly where to find it but if you trick DVD2SVCD in to running in batch mode with D2SRoba and .avi files it always seems to default to the programs install dir. maybe as a request as an advanced option you could be able to configure where its to store it somehow. :)

Venom_IL
4th September 2004, 20:58
but is there a way to use requant instead of rejig on d2sroba3.6? the latter sometimes cuts my movies (the transcoded movie just stops at a certain pont of the movie which is not the end) so i'd like to try requant

do i simply change rejig_exe=C:\programs\DVD2SVCD\Tylo\ReJig.exe to rejig_exe=C:\programs\DVD2SVCD\Tylo\dist\Requant.exe in the ini? :confused:

jorel
11th September 2004, 19:10
hy tylo and all! ;)
.(talking to myself) :rolleyes: today seems my "blond" day to do questions...

..excuse me if my question is irrelevant:
from tylohome: http://home.tiscali.no/tylohome/
" D2SRoBa - DVD2SVCD Plugin v3.60
This plugin makes DVD2SVCD/CCE produce the same quality as a 4-5 pass VBR encoding, with only one single encoding pass (OPV). Instead of configuring number of CDs for time intervals, you simply specify a quality (Threshold Q - default 36, lower means better). The plugin decides how many CDs are needed to produce at least the specified quality.
...
- Quality based one-pass VBR encoding with CCE"

ok and works very fine for me! ;)

now the dumb question:
have a way to use D2SRoBa with 4 or 5 multipass VBR? how?
i know that don't need but i'm only curious...(and maybe stup too) :o

thanks! :)

tylo
11th September 2004, 22:20
@cw_uk: Late answer, but better than none! If you start D2SRoBa -d2s:"SomeDir\dvd2svcd project file.d2s" -run, it will currently look for D2SRoBa.ini where the 'TargetFolder' key points in the [Filenames] section of the .d2s file. If you are faking a batch run, the 'TargetFolder' key will be empty (I think), so you'll have to fill it in yourself. I guess I should simply look for D2SRoBa.ini in "SomeDir" (the same dir as where the .d2s file is placed).

@Venom_IL: Yes. But make sure you use the Requant.exe version released with D2SRoBa, because that understands the same command line arguments as ReJig.exe.

@jorel: Hehe. Well, you're not stupid so I guess you're just curious. Nope, with the current v3.60 you cannot do multipass, because it sets OPV encoding mode just before it starts the main CCE encoding. It does that also before DVD2SVCD is started, so I could have left out doing it again when the CCE encoding starts. But it was done intentionally in case users changed the encoding mode in DVD2SVCD (just as you want to). Ok, so I could have made an option that D2SRoBa does not set OPV mode, but you would probably be the only one to use that :D, or?

jorel
12th September 2004, 06:19
i was only curious and like i wrote, D2SRoBa is cool and give great results. but if you do a new option that D2SRoBa does not set OPV mode....i can swear that i use it, believe me. :p
time for encode is not a problem ..D2SRoBa give me perfect size choosed this is the best cos i'm searching quality/perfect size when encoding! ;)

thank you so much! :)

tylo
12th September 2004, 17:00
Ok, there's a new (maintainance) version: v3.61 (http://home.tiscali.no/tylohome/files/D2SRoBa361.exe)
It is not well tested, and it is using the latest beta of AutoIt3, but it seems to work OK.

- You can now cancel AutoIt from tray, and it will close log windows and dvd2svcd (if running).
- Readded option to use jonny's estimation fix. Default off! (manually enable by editing ini file).
- Checks that dvd2svcd is not already running on startup.
- Allows you to run in multipass vbr mode (not tested). After starting and dvd2svcd is up, go to encoder tab and set multipass mode. Please report. Will not work with CCE 2.50.
- Log windows follows smoothly dvd2svcd when moving.

Have not fixed the conditional filter setup conflict with dvd2svcd, yet, but use dvd2svcd's guideline.

Enjoy.

jsoto
13th September 2004, 01:24
@jorel,
You can force a second pass encode in D2SRoBa. This will give you a fully accurated size and will increase a little bit the quality of the encode (mainly at high Qs). More than two passes, seems to me useless.

jsoto

jorel
13th September 2004, 01:46
thanks tylo and jsoto ! :)
2 magnific and friendly guys that are always close to help and teach.
:cool: who knows never be afraid cos have lots to give!
thank you so much! ;)

i'm doing tests and will post later(tomorrow)! ;)

tylo
13th September 2004, 09:19
I made the regular multipass available because it was just to comment out a few lines of code.

But, as jsoto said, by forcing a sizing pass (set both 'Limit %' to 0, or set 'Q over' to 0) will give 2 passes, which is better than a regular 2-pass multipass encode, because the OPV pass (quality bound) creates a much better starting point for the next "sizing" pass, than the first MPV pass (which is size bound) does.

Now, if I added an option that let you set number of sizing passes, that would theoretically give the ultimate quality of what CCE can produce. It is actually easy to do, but again, probably pointless because the quality gain you'd get in having multiple "sizing" passes is only theoretical.

tylo
13th September 2004, 23:32
Yet another update: D2SRoBa v3.62 (http://home.tiscali.no/tylohome/files/D2SRoBa361.exe)
- Added gui field for number of sizing passes for CCE 2.67 (for fun).
- Fixed a bug that sometimes left a temp file in the TEMP dir.
:cool:

jorel
13th September 2004, 23:48
thanks again tylo! :)

the link is pointing to hxxp://home.x/tylo/D2SRoBa361.exe
the installer and when i run shows as D2SRoBa361!
can you help (again)? ;)

buzzqw
14th September 2004, 08:05
try http://home.tiscali.no/tylohome/files/D2SRoBa362.exe ;)

BHH

jorel
14th September 2004, 08:16
yes, works and came faster.
thank you buzzqw.
:)

tylo
14th September 2004, 11:16
And another update: D2SRoBa v3.63 (http://home.tiscali.no/tylohome/files/D2SRoBa363.exe)
- Improved GUI. Select Sizing pass 'Conditional', 'On', or 'Off'

I will try to update my project page with this one. Please check that it works as expected.

:)

jorel
15th September 2004, 03:07
tylo

first: thanks you very much for that new version! :)
second: you're fast :eek: to encrease D2sRoBa features! (thanks too)
last: great...and with CCE266 (i'm still with 98se) :D (thanks too-again)

best regards! :)

jsoto
15th September 2004, 08:42
First try with 3.63, Sizing pass encode=1. OK.

--------------------------------------------------------
D2SRoBa v3.63, by Tylo
--------------------------------------------------------
- WIN_XP - AutoIt 3.0.103.0
- 2004-09-15 01:19:18
--------------------------------------------------------
- Output type : SVCD
- CD size : 3600
- Number of CD's : 1 (max 32)
- Threshold Q : 36
- Sample size : 1.0%
- Adjust estimated : 1.2%
- Cond. sizing pass : 1 (Encode)
- Cond. filtering : No
- Audio after video : No
- Adjust max br : No
- Run mode : Normal
--------------------------------------------------------
- Waiting for CCE window ...
- Detected a CCE encode window
- Detected the movie encode window - shutting down
--------------------------------------------------------
- 2004-09-15 01:29:52
- Project dir: F:\DVDreina\
- Avisynth setup: BicubicResize_DVD_16_9_panscan10v3_720x576
- Configured cond. filter: None
- D2S ver. 1.2.2.3, CCE ver. 2.66.1.7
- Setting low process priority
--------------------------------------------------------
- Movie length : 01:37:19 (145993 frames, 25 fps)
- D2S audio select : 384 + 384 kbps
- D2S video calc. : 4287 kbps, 1 CDs
- Select ranges : every 1500, select 15 frames
- Sample frames : 1470
--------------------------------------------------------
Calculations:
- 1 CD: video_br=4287 (4287) audio_br=384+384 video_sz=3129359955 fill=100% cbr=0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Using num CDs : 1
- Target mpv br : 4287 (max 8000) kbps, size=3129359955 bytes
--------------------------------------------------------
Search for Q:
- Sample enc. Q=18 : 2959 kbps, err=-31%, size=2160199404, sample sz=21820196
- Sample enc. Q=13 : 3676 kbps, err=-14.3%, size=2683970784, sample sz=27110816
- Sample enc. Q=9 : 4530 kbps, err=5.7%, size=3306852252, sample sz=33402548
- Sample enc. Q=10 : 4251 kbps, err=-0.8%, size=3103688808, sample sz=31350392
--------------------------------------------------------
- Determined Q : 10 = Round(10 + (-0.8 - 1.2)/6.5)
--------------------------------------------------------
- 2004-09-15 01:34:17
- Start movie OPV encoding (Q 10)
- OPV pass result: 102.3% on target, 4387 kbps (3202782392 / 3129359955) Speed: 1.22
--------------------------------------------------------
- 2004-09-15 02:54:22
- Start VBR sizing pass (4287 kbps)
- Sizing pass result: 100% on target, 4285 kbps (3128279124 / 3129359955) Speed: 1.25
--------------------------------------------------------
- 2004-09-15 04:12:28
- Recover DVD2SVCD: Muxing
--------------------------------------------------------
- 2004-09-15 04:31:39
- D2SRoBa successfully finished
--------------------------------------------------------


jsoto

cw_uk
17th September 2004, 19:28
Originally posted by jorel
hy tylo and all! ;)
.(talking to myself) :rolleyes: today seems my "blond" day to do questions...

..excuse me if my question is irrelevant:
from tylohome: http://home.tiscali.no/tylohome/
" D2SRoBa - DVD2SVCD Plugin v3.60
This plugin makes DVD2SVCD/CCE produce the same quality as a 4-5 pass VBR encoding, with only one single encoding pass (OPV). Instead of configuring number of CDs for time intervals, you simply specify a quality (Threshold Q - default 36, lower means better). The plugin decides how many CDs are needed to produce at least the specified quality.
...
- Quality based one-pass VBR encoding with CCE"

ok and works very fine for me! ;)

now the dumb question:
have a way to use D2SRoBa with 4 or 5 multipass VBR? how?
i know that don't need but i'm only curious...(and maybe stup too) :o

thanks! :)

even later reply (been busy lately) :thanks:. finally i know where to look for it now i had looked everywhere lol :)
*nice one on the new d2sroba versions.

EDIT: is it atall possible for d2sroba to shut down cce/dvd2svcd before dvd2svcd trys its first encode it may be able to put an end to this problem (http://forum.doom9.org/showthread.php?s=&threadid=79187).

tylo
17th September 2004, 22:43
Hi, cw_uk. Well, my first reaction is that it's not easy for D2SRoBa to fix this problem. D2SRoBa waits for CCE coming up and stay for more than 8 seconds. How does dvd2svcd complain about CCE not beeing ready? Does it issue a message box?. I could have shut down CCE and dvd2svcd immediately after CCE comes up if I checked that there were no short cce jobs (Title picture, change cd picture, etc) before the main encode.
A shot in the dark could be to try to use Normal process prority (assuming you're using Idle), to make CCE load the script faster.

cw_uk
18th September 2004, 00:40
thxs for the fast reply :). the problem is that the script it loads has a delayed reaction when first loading, dvd2svcd expects a near enough immediate response and will only wait a limited time before giving up with the following..

Executing Cinema Craft Encoder.
Cannot load CCE project file. Retry #1
Cannot load CCE project file. Retry #2
Cannot load CCE project file. Retry #3
Cannot load CCE project file. Retry #4
Error cannot load CCE project file. Giving up.

at which point the script finishs loading but by then is completely useless. the one way around it i have been told is that when cce is called you can ctrl,alt,delete and raise cce to high when its loading the script this is a bit useless when wanting to use batch processing though. :( i have yet to test this or try out running it in normal yet as i lost a hdd recently and that contained the only avi's i had at the time.

tylo
25th September 2004, 00:21
D2SRoBa v3.70 Released. Enjoy.
:cool:

pacohaas
25th September 2004, 04:15
to make this PERFECTLY clear :rolleyes:, if i want to ALWAYS do a VBR sizing pass, i should uncheck Conditional and Encode, correct? Also is there any (quality) harm in doing this if the OPV is extremely over or undersized, or will it always (however slightly) help the quality while fitting onto the correct # of cd's?

tylo
25th September 2004, 11:08
Encode = CCE VBR sizing pass
Transcode = Requant or Rejig transcoding

Check 'Encode', uncheck 'Transcode', uncheck 'Conditional', will always do a CCE VBR sizing pass, and never transcode.

NB: With both 'Encode' and 'Transcode' unchecked, no sizing pass will take place!

It will never do harm to do a VBR sizing pass, even if it is 'extremely' over or undersized (which shouldn't happen anyway). It is more optimal that the OPV pass is 'close' to the target, and the sizing pass is sligthly adjusting.

rajkhand
25th September 2004, 11:33
When the audio after video is selected always the program stops and gives following message.

Encoding Audio. Filename: D:\Movies\Extracted_audio_1.ac3
Executing BeSweet. Commandline:
"C:\Program Files\DVD2SVCD\Tylo\BeSweetLater.bat" -core( -input "D:\Movies\Extracted_audio_1.ac3" -output "D:\MOVIES\Encoded_audio_1.mp2" -logfile "D:\MOVIES\Encoded_audio_1.log" ) -azid( -L -3db -C 0db -S 0db -c normal -s surround -g max ) -2lame( -e -b 192 -m s )
BeSweet failed to execute. Please verify your Audio tab.

What is wrong? Am I doing something wrong?

Regards

tylo
25th September 2004, 13:19
@rajkhand: From another log I saw from you, you use Windows 98 but have a fast PC. Win98 is well six years old software, and I don't have any PC with that. Upgrade to Win2K or XP! Having said that, I thought the BeSweetLater.bat script should be compatible with Win98, but apparently not.

jorel
25th September 2004, 14:01
Originally posted by tylo
@rajkhand: From another log I saw from you, you use Windows 98 but have a fast PC. Win98 is well six years old software, and I don't have any PC with that. Upgrade to Win2K or XP! Having said that, I thought the BeSweetLater.bat script should be compatible with Win98, but apparently not.

hy tylo.
first...thank you very much again! :)
i'm using 98SE Portuguese BR and never had any problems and you know that i use D2S-RoBa for "everything". i still don't test that pretty new version but all others works perfect!
fragments of log from my last(fresh)encode:
--------------------------------------------------------
D2SROBA v3.63, by Tylo
--------------------------------------------------------
- WIN_98 - AutoIt 3.0.103.0
- 2004-09-25 06:14:51
--------------------------------------------------------
- Output type : DVD

... :cool:

manolito
25th September 2004, 17:33
Just tested version 3.70, I've got a few suggestions:

The "Threshold Q" entry box is not greyed out when I select a fixed number of CD's. Why not?
/Edit/
Oops, I just saw that "Threshold Q" determines if the Conditional Filter should kick in or not. But if "Use cond. filter if configured" is unchecked, the "Threshold Q" option should still be greyed out.
/End Edit/

The mouseover tooltips in the GUI behave erratically. Mostly they don't show at all, and sometimes a tooltip for a different topic pops up.
/Edit/
It seems that the tooltips do pop up if the D2SRoBa GUI does NOT have the focus, but they don't if it has the focus. Version 3.50 has the same behavior.
/End Edit/

IMHO the entry box for the number of CCE resizing passes does not belong in the GUI. It almost never makes sense to use more than one pass, and for those few who really need that option, an INI file entry would certainly be sufficient.

Any chance to bring back the "Delete previous sample files" option? Sometimes after the sample runs have completed and I am happy with the resulting Q, I really have to interrupt encoding and reboot a different OS for some other things I have to do before going to bed, and then it is very nice to be able to restart the encode without doing the test runs all over again.

Cheers
manolito

cw_uk
26th September 2004, 00:17
i forgot to mention a bug i discovered (if you could call it that) in the older version. if you selected anything more then 1 subtitle stream it didnt take this in to account in size prediction and with 3 to 4 subtitle streams it would end up being 30-40mbs oversized.

rajkhand
28th September 2004, 10:05
BeSweetLater.bat not executing.

Initially my DOS environment was at default and it was giving me out of environment space in DOS when executing the bat file, then I increased the environment with the following line in my config.sys file

shell=command.com /e:4096 /p

and also added the following line in system.ini

[NonWindowsApp]
CommandEnvSize=4096

But still I alway encounter the problem, so there has to be some setting which is not proper on my machine. Is DVD2SVCD expects some error value return from the bat file? Like when the actual besweet exe file executes does it return some value after completion?

Thanks

jorel
28th September 2004, 19:10
Originally posted by cw_uk
i forgot to mention a bug i discovered (if you could call it that) in the older version. if you selected anything more then 1 subtitle stream it didnt take this in to account in size prediction and with 3 to 4 subtitle streams it would end up being 30-40mbs oversized.
older means 3.50 version?
i did 2 encodes with 2 audios and 2 subs without problems!
is posted in the forum: http://forum.doom9.org/showthread.php?s=&threadid=82204
then..don't seems a bug. post your log file! ;)

tylo
28th September 2004, 21:45
D2SRoBa v3.72 Released. :cool:

@manolito: thanks for constructive suggestions.
@cw_uk: target size/bitrate is not computed by d2sroba.
@rajkhand: simply uncheck 'Audio after video' - it's not vital.
@jorel: thanks for your input.

rajkhand
29th September 2004, 07:28
I found out the problem BUT NO SOLUTION TO RESOLVE IT.

Somehow due to some setting on my machine any batch file with > 121 characters of command line fails to execute.

If I try to execute it from the RUN command promt it gives me the error "A device present on your system is not functioning" If the commandline is < 121 characters everything works!

I require help from a win98SE/DOS Guru.

thanks

tylo
29th September 2004, 09:23
Default line length for command.com on Win95/98 is 127. You can extend it to max 250 by:

shell=c:\windows\command.com /e:4096 /u:250 /p

manolito
30th September 2004, 16:03
Just did an encode with version 3.72. Everything worked flawlessly, can't think of anything else to ask for. Time for version 3.50 to retire...

Thanks very much, Tylo.


Cheers
manolito

Venom_IL
1st October 2004, 20:14
happened to me once during a batch (thankfully it was the last file :) )

here are the logs


--------------------------------------------------------
D2SRoBa v3.73, by Tylo
--------------------------------------------------------
- WIN_XP - AutoIt 3.0.103.0
- 2004-10-01 14:33:03
--------------------------------------------------------
- INI file : C:\programs\DVD2SVCD\Tylo\D2SRoBa.ini
- Output type : SVCD
- CD size : 800
- Number of CD's : auto (max 32)
- Threshold Q : 36
- Sample file size : 1.0% (delete previous: Yes)
- Adjust estimated : 1.2%
- Sizing pass : Encode (1 pass) if opv pass < -2.5% from target, or Q > 40
Transcode (Requant) if opv pass > 0.0% above target, and Q <= 40
- Cond. filtering : If configured, and estim. oversize for Num CDs-1 is below 25%
- Audio after video : Yes (9% of video, min 160 kbps)
- Adjust max br : Yes (total: 2754, max - avg offset: 300 kbps)
- Run mode : Batch execute
--------------------------------------------------------
- Restarting F:\DVD2SVCD\3\dvd2svcd project file.d2s
- Waiting for CCE window...
- Detected a CCE encode window
- Detected a CCE encode window
- Detected the movie encode window - shutting down
--------------------------------------------------------
- 2004-10-01 15:16:31
- Avisynth setup: BilinearResize_nosideborders
- Configured cond. filter: C:\Programs\DVD2SVCD\Tylo\RoBaConditional.avs
- D2S ver. 1.2.2.3, CCE ver. 2.67.0.23
- Setting process priority 1
--------------------------------------------------------
- Movie length : 01:35:17 (142942 frames, 25 fps)
- D2S audio select : 224 + 0 kbps
- D2S video calc. : 2056 kbps, 2 CDs
- Select ranges : every 1500, select 15 frames
- Sample frames : 1440
--------------------------------------------------------
Calculations:
- 1 CD: video_br=972 (972) audio_br=160+0 video_sz=694698120 fill=100% cbr=0
- 2 CD: video_br=2088 (2088) audio_br=192+0 video_sz=1492314480 fill=100% cbr=0
- 3 CD: video_br=2530 (3204) audio_br=224+0 video_sz=1808216300 fill=80.4% cbr=1
--------------------------------------------------------
Computing target number of CDs:
- Sample max br : 2562 (adjusted for 2 CDs)
- Sample enc. Q=36 : 2011 kbps, err=?%, size=1437679584, sample sz=14522016
- Estim. oversize : 106.9% for 1 CDs
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Using num CDs : 2
- Target mpv br : 2088 (max 2562) kbps, size=1492314480 bytes
--------------------------------------------------------
Search for Q:
- Sample enc. Q=34 : 2054 kbps, err=-1.6%, size=1468629360, sample sz=14834640
- Sample enc. Q=32 : 2102 kbps, err=0.7%, size=1502731692, sample sz=15179108
- Sample calc Q=33 : 2078 kbps, err=-0.5%, using (br(Q32) + br(Q34))/2
--------------------------------------------------------
- Determined Q : 32 = Round(33 + (-0.5 - 1.2)/1.1)
--------------------------------------------------------
- 2004-10-01 15:22:52
- Start movie OPV encoding (Q 32)
- OPV pass result: 101.1% on target, 2110 kbps (1508635888 / 1492314480) Speed: 0.86
--------------------------------------------------------
- 2004-10-01 17:13:33
- Executing: "C:\programs\DVD2SVCD\Tylo\dist\Requant.exe" -level 98.92 -o "F:\DVD2SVCD\3\Encoded_Video_CCE_PAL.mpv" -i "F:\DVD2SVCD\3\Encoded_Video_CCE_PAL.oversz.mpv" -auto -close
- Transcoding (sizing) pass: 100% on target, 2087 kbps (1492015319 / 1492314480) Speed: 6.79
--------------------------------------------------------
- 2004-10-01 17:27:44
- Executing: C:\programs\DVD2SVCD\BeSweet\BeSweet.exe -core( -input "F:\DVD2SVCD\3\Encoded_audio_1.mp2.wav" -output "F:\DVD2SVCD\3\Encoded_audio_1.mp2" -logfile "F:\DVD2SVCD\3\Encoded_audio_1.log" ) -ota( -g max ) -shibatch( --rate 48000 ) -2lame( -e -b 192 -m j )
--------------------------------------------------------
- 2004-10-01 17:36:48
- Recover DVD2SVCD: Muxing
--------------------------------------------------------
- 2004-10-01 18:12:04
- D2SRoBa successfully finished
--------------------------------------------------------




- 01/10/2004 17:37:05
- AVI to SVCD Conversion
- AVI2SVCD ver. 1.2.2 build 3
--------------------------------------------------------
Initializing
WARNING! You seem to be using "Norton Unerase Protection" and
you want to delete the temporary files created by dvd2svcd.
This can cause DVD2SVCD problems. Even though DVD2SVCD deletes
the temporary files, Norton doesn't, therefore DVD2SVCD
might run into diskspace problems. I suggest that you stop the
"Norton Unerase Protection" Service.
-
Initializing finished.

--------------------------------------------------------
- 01/10/2004 17:37:05
- Free on drive F: 4716.28 mb
- Restarting from: Muxing and Cutting
--------------------------------------------------------
- 01/10/2004 17:37:08
- Free on drive F: 4716.28 mb
- Converting Pictures from ES to PS
--------------------------------------------------------
Saving bbMPEG settings: C:\Programs\DVD2SVCD\bbMPEG\default.ini
--------------------------------------------------------
- 01/10/2004 17:37:11
- Free on drive F: 4716.28 mb
- Converting Pictures from ES to PS
--------------------------------------------------------
Saving bbMPEG settings: C:\Programs\DVD2SVCD\bbMPEG\default.ini
--------------------------------------------------------
- 01/10/2004 17:37:14
- Free on drive F: 4716.28 mb
- Converting Pictures from ES to PS
--------------------------------------------------------
Saving bbMPEG settings: C:\Programs\DVD2SVCD\bbMPEG\default.ini
--------------------------------------------------------
- 01/10/2004 17:37:16
- Free on drive F: 4716.28 mb
- Multiplexing and cutting
--------------------------------------------------------
Saving bbMPEG settings: C:\Programs\DVD2SVCD\bbMPEG\default.ini
Offset in Seconds: 5
Executing bbMPEG.
Variable Settings:
Movie offset: 5 seconds
Cut point: 795 mb

Executing RunbbMPEG. Commandline:
"C:\Programs\DVD2SVCD\bbMPEG\RunbbMPEG.exe" "F:\DVD2SVCD\3\bbMPEG_Muxed_File.mpg"
Length of F:\DVD2SVCD\3\bbMPEG_Muxed_File00.mpg
2955 Seconds
Offset in Seconds: 2960
Executing bbMPEG.
Variable Settings:
Movie offset: 5 seconds
Cut point: 795 mb

Executing RunbbMPEG. Commandline:
"C:\Programs\DVD2SVCD\bbMPEG\RunbbMPEG.exe" "F:\DVD2SVCD\3\bbMPEG_Muxed_File.mpg"
Multiplexing and cutting finished.

--------------------------------------------------------
- 01/10/2004 18:04:51
- Free on drive F: 3079.16 mb
- Determining length of audio
--------------------------------------------------------
Analyzing: F:\DVD2SVCD\3\bbMPEG_Muxed_File00.mpg
2957.952 seconds F:\DVD2SVCD\3\bbMPEG_Muxed_File00.mpg
Analyzing: F:\DVD2SVCD\3\bbMPEG_Muxed_File01.mpg
2757.120 seconds F:\DVD2SVCD\3\bbMPEG_Muxed_File01.mpg
Analyzing finished.

--------------------------------------------------------
- 01/10/2004 18:07:10
- Free on drive F: 3079.13 mb
- Creating CD-Images using VCDXBuild
--------------------------------------------------------
- No. of chapters to create: 50

CD image #1: CD_Image_File_CD1.bin

Executing VCDXBuild. Commandline:
"C:\Programs\DVD2SVCD\VCDImager\VCDXBuild.exe" --verbose --cue-file="F:\DVD2SVCD\3\CD_Image_File_CD1.cue" --bin-file="F:\DVD2SVCD\3\CD_Image_File_CD1.bin" "F:\DVD2SVCD\3\VCDXBU~1.XML"
--------------------------------------------------------
- 01/10/2004 18:09:44
- Free on drive F: 3068.13 mb
- Creating CD-Images using VCDXBuild
--------------------------------------------------------
- No. of chapters to create: 46

CD image #2: CD_Image_File_CD2.bin

Executing VCDXBuild. Commandline:
"C:\Programs\DVD2SVCD\VCDImager\VCDXBuild.exe" --verbose --cue-file="F:\DVD2SVCD\3\CD_Image_File_CD2.cue" --bin-file="F:\DVD2SVCD\3\CD_Image_File_CD2.bin" "F:\DVD2SVCD\3\VCDXBU~2.XML"
Image creation finished.

--------------------------------------------------------
- 01/10/2004 18:11:59
- Free on drive F: 3057.16 mb
- Conversion done!
--------------------------------------------------------


as you can see the line "Detected a CCE encode window" appears twice in the log which indicates the fact that i had to manually maximize CCE in order to give d2sroba "another opportunity" to recognize it which it took and continued the process flawlessly from there

cce has been encoding for almost an hour before i maximized it so i figure my assumption that d2sroba missed the shutdown was not premature

maybe disabling the neat yet not necessary feature of automated CCE minimization would solve this... i forget - could you do that by ticking off "hide shutdown button in progress window" in eclCCE ? i'd simply try it but CCE minimization hasn't been a stable feature for me, sometimes it minimizes, sometimes it doesn't :confused:

tylo
6th October 2004, 14:03
D2SRoBa v3.76 Released.

@Venom_IL: You completely lost me. :D

1. "Detected a CCE encode window" appears for every job (ChangeCD picture, main move...). Multiple messages is not an error.
2. CCE is launced by DVD2SVCD in normal state always. Did you minimize CCE just after CCE launched it - Why? D2SRoBa is supposed to shut it down right away. In any case, D2SRoBa detects minimized windows just as well as normal ones.
3. There is nothing called "automated CCE minimization" in EclCCE. You can hide the "auto shutdown button" (recomended), but it has nothing to do with minimizing windows.

EclCCE will open CCE minimized if EclCCE itself is launched minimized. And D2SRoBa launches EclCCE minimized if the D2SRoBa log window is minimized :p

Daneel
8th October 2004, 08:28
Hi,

I'm new to this program and have a problem that hopefully is simple to fix but I've wasted a good 4 hours on it now so I'd really appreciate some help.

I'm trying to turn a XviD + AC3 avi file into a MPEG2 + AC3 DVD. I started of using a pack with D2SRoBa 3.60 in it but on getting an error I tried the 3.76 version. Unfortunately I get the same error.

About 5 minutes into the process I get this:

Error (http://homepage.ntlworld.com/dsiddiky/error.png)

After a couple of attempts I watched the working directory and saw the vaf file being created for a few seconds, then being deleted. I don't understand the program well enough to work out what the problem is so I hope someone here can help me out.

Thanks

Daneel
8th October 2004, 08:42
This is what is in the log:

--------------------------------------------------------
D2SRoBa v3.76, by Tylo
--------------------------------------------------------
- WIN_XP - AutoIt 3.0.103.0
- 2004-10-08 07:34:34
--------------------------------------------------------
- INI file : I:\Program Files\DVD2SVCD\Tylo\D2SRoBa.ini
- Output type : DVD
- CD size : 4464
- Sample file size : 1.0% (delete previous: Yes)
- Adjust estimated : 1.4% (accuracy tweak: Yes)
- Sizing pass : Encode (1 pass) if opv pass < -2.5% from target, or Q > 40
Transcode (ReJig) if opv pass > 0.0% above target, and Q <= 40
- Cond. filtering : No
- Run mode : Normal
--------------------------------------------------------
- Waiting for CCE window, or 'Ripping done' message box...
- Detected a CCE encode window
- Detected the movie encode window - shutting down
--------------------------------------------------------
- 2004-10-08 07:40:59
- Copying D2SRoBa.ini to project dir i:\Program Files\DVD2SVCD\Movie\
- Avisynth setup: LanczosResize
- D2S ver. 1.2.2.3, CCE ver. 2.67.0.27
- Setting process priority 1
--------------------------------------------------------
- Movie length : 02:36:05 (234149 frames, 25 fps)
- D2S audio select : 384 + 0 kbps
- D2S video calc. : 3903 kbps, 1 CDs
- Select ranges : every 1200, select 12 frames
- Sample frames : 2352
--------------------------------------------------------
Calculations:
- 1 CD: video_br=3903 (3903) audio_br=384+0 video_sz=4569417735 fill=100% cbr=0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Using num CDs : 1
- Target mpv br : 3903 (max 8000) kbps, size=4569417735 bytes
--------------------------------------------------------
Search for Q:
- Sample enc. Q=20 :



I think I may have some of the settings wrong in DVD2SVCD, is there a guide somewhere that tells me what the should be for use with D2SRoBa?

tylo
12th October 2004, 20:03
D2SRoBa v3.77 released
- Support for CCE 2.67.0.27+ Retail + future EclCCE versions (likely).

Daneel, it looks like you also use CCE retail, so this should fix your problem. Look here:
http://forum.doom9.org/showthread.php?s=&threadid=83526

Daneel
14th October 2004, 00:02
Originally posted by tylo
D2SRoBa v3.77 released
- Support for CCE 2.67.0.27+ Retail + future EclCCE versions (likely).

Daneel, it looks like you also use CCE retail, so this should fix your problem. Look here:
http://forum.doom9.org/showthread.php?s=&threadid=83526

Thanks very much for that, it seems to have solved the problem.

Just one quick, probably really stupid, quesiton. What setting should be used in DVD2SVCD when using your program, CBR, 1 pass VBR or multipass VBR?

I'm guessing 1 pass VBR but I still can't find a newbie's guide to D2SRoBa that tells you such things.

cw_uk
14th October 2004, 14:44
Originally posted by Daneel
Thanks very much for that, it seems to have solved the problem.

Just one quick, probably really stupid, quesiton. What setting should be used in DVD2SVCD when using your program, CBR, 1 pass VBR or multipass VBR?

I'm guessing 1 pass VBR but I still can't find a newbie's guide to D2SRoBa that tells you such things.

Originally posted by tylo
v3.74. Please update.
improved: Computes 'Adjust %' value into the sample estimation directly.
changed: Starts DVD2SVCD in VBR multipass mode - forces D2S to calculate accurate BR.
added: Keeps old D2SRoBa_log files.

thats posted from an old change log so you dont need to set that d2sroba takes care of it.

@tylo nice work on the latest release works like a charm,:D i have a small request due to it now opening dvd2svcd in vbr thats how it saves the SVCDInfo.txt eg. - Avg. bitrate: 1753 is there any way to convert that to a Q factor i can normally tell just by the Q factor whether its a keeper anything below 30 etc. :confused:

cw_uk
18th October 2004, 14:53
i seem to be running in to some trouble with d2sroba not taking notice of how many cds i set, i know for a fact i set this to 2 cds as i upped the res to 720x576 after noticing the movie was 2 hours long.


--------------------------------------------------------
D2SRoBa v3.77, by Tylo
--------------------------------------------------------
- WIN_XP - AutoIt 3.0.103.0
- 2004-10-17 23:23:03
--------------------------------------------------------
- INI file : D:\Encoding Folder\Baron\Source\D2SRoBa.ini
- Output type : SVCD
- CD size : 800
- Number of CD's : 1 (max 32)
- Sample file size : 5.0% (delete previous: Yes)
- Adjust estimated : 1.2% (accuracy tweak: Yes)
- Sizing pass : Encode always (1 pass)
- Cond. filtering : No
- Audio after video : No
- Adjust max br : Yes (total: 2754, max - avg offset: 300 kbps)
- Run mode : Batch execute
--------------------------------------------------------
- Restarting D:\Encoding Folder\Baron\Source\dvd2svcd project file.d2s
- Waiting for CCE window...
- Detected a CCE encode window
- Detected the movie encode window - shutting down
--------------------------------------------------------
- 2004-10-18 04:56:46
- Avisynth setup: Adaptative Filter
- D2S ver. 1.2.2.3, CCE ver. 2.67.0.27
- Setting process priority 0
--------------------------------------------------------
- Movie length : 02:01:09 (181747 frames, 25 fps)
- D2S audio select : 112 + 96 kbps
- D2S video calc. : 1568 kbps, 2 CDs
- Select ranges : every 300, select 15 frames
- Sample frames : 9090
--------------------------------------------------------
Calculations:
- 1 CD: video_br=672 (672) audio_br=112+96 video_sz=610669920 fill=100% cbr=0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Using num CDs : 1
- Target mpv br : 672 (max 2546) kbps, size=610669920 bytes
--------------------------------------------------------
Search for Q:
- Sample enc. Q=119 : 1057 kbps, err=57.3%, size=961416864, sample sz=48668888
- Sample enc. Q=200 : 876 kbps, err=30.4%, size=796123503, sample sz=40301400
--------------------------------------------------------
- Determined Q : 200 = Round(200 + (30.4/0.3)) with 1.2% adjustment.
--------------------------------------------------------
- 2004-10-18 05:40:47
- Start movie OPV encoding (Q 200)
- OPV pass result: 134.9% on target, 906 kbps (823525952 / 610669920) Speed: 0.34
--------------------------------------------------------
- 2004-10-18 11:34:07
- Start VBR sizing pass (672 kbps)

tylo
20th October 2004, 22:20
My work is killing me these days, so please forgive my sporadic answering.
Note that when running batch, D2SRoBa picks up the ini file originally copied to the destination folder when you prepared for the batch. Thats why it doesn't use the current settings. This is how it should be, IMO. That is also how DVD2SVCD works (batch jobs works independently of current settings in DVD2SVCD).

On your earlier question, you'll have to use the D2SRoBa_log.txt file to inspect the Q used (there are no convertion BR<->Q). I think I will go back to set DVD2SVCD in OPV mode when it starts in order to save the Q in SVCDInfo.txt. For a workaround, each time DVD2SVCD is started, goto Encoder tab and set OPV mode - it will then work as it used to.

Miras
14th December 2004, 01:47
Batch not work :(

dvd2svcd batch.bat
@ECHO OFF
@REM DVD2SVCD Batch Control
"D:\DivX\!SOFT!\DVD2SVCD\Tylo\d2sroba.exe" -d2s:"E:\DVD\1\dvd2svcd project file.d2s" -run -exit
"D:\DivX\!SOFT!\DVD2SVCD\Tylo\d2sroba.exe" -d2s:"E:\DVD\2\dvd2svcd project file.d2s" -run -exit


"dvd2svcd_log.txt"
--------------------------------------------------------
- 2004-12-14 01:27:21
- DVD to SVCD Conversion
- AVI2DVD ver. 1.2.2 build 3
--------------------------------------------------------
Initializing
-
Initializing finished.

--------------------------------------------------------
- 2004-12-14 01:27:22
- Free on drive E: 18244.39 mb
- Restarting from:
Saving Subtitles ini file
--------------------------------------------------------
- 2004-12-14 01:27:25
- Free on drive E: 18244.35 mb
- AUDIO Extraction
--------------------------------------------------------
I/O error 103 Odmowa dostępu
--------------------------------------------------------
- 2004-12-14 01:29:06
- DVD to SVCD Conversion
- AVI2DVD ver. 1.2.2 build 3
--------------------------------------------------------
Initializing
-
Initializing finished.

--------------------------------------------------------
- 2004-12-14 01:29:06
- Free on drive E: 18244.35 mb
- Restarting from:
Saving Subtitles ini file

No D2SRoBa window... :confused:

funboy
21st December 2004, 11:50
Hi all, sorry if this is posting to the wrong place but it seems to most appropriate.

Since upgrading to 3.77/3.78, whenever I run a avi to dvd job, after the CCE window has been detected dvd2svcd is closed but CCE continues with all encoding and after CCE is finished nothing happens anymore...and i dont get any error messages either.. I had never had this problem before. I have uninstalled everything and reinstalled older version without any luck.

I have even tried it on another computer with version 3.78 and i get the same thing there...

Anyone got any suggestions???

Thanks in advance

funboy
21st December 2004, 14:30
well, i was giving it another go and again dvd2svcd disappeared for about 2 hours during encoding and mysteriously reappeared and eventually finished. I did see something in the log where it says DVD2SVCD Recovered. Below is the log file. Is this normal???


--------------------------------------------------------
D2SRoBa v3.77, by Tylo
--------------------------------------------------------
- WIN_XP - AutoIt 3.0.103.0
- 2004-12-21 11:28:28
--------------------------------------------------------
- INI file : C:\Program Files\DVD2SVCD\Tylo\D2SRoBa.ini
- Output type : DVD
- CD size : 4464
- Threshold Q : 36
- Sample file size : 1.0% (delete previous: No)
- Adjust estimated : 1.4% (accuracy tweak: Yes)
- Sizing pass : Encode (1 pass) if opv pass < -2.5% from target, or Q > 40
Transcode (Requant) if opv pass > 0.0% above target, and Q <= 40
- Cond. filtering : If configured, and estim. Q reaches above Threshold Q
- Run mode : Normal
--------------------------------------------------------
- Waiting for CCE window, or 'Ripping done' message box...
- Detected a CCE encode window
- Detected the movie encode window - shutting down
--------------------------------------------------------
- 2004-12-21 11:47:50
- Copying D2SRoBa.ini to project dir W:\the_deerhunter\
- Avisynth setup: LanczosResize
- Configured cond. filter: C:\Program Files\DVD2SVCD\Tylo\RoBaConditional.avs
- D2S ver. 1.2.2.1, CCE ver. 2.50.1.0
- Setting process priority 1
--------------------------------------------------------
- Movie length : 02:59:57 (258870 frames, 23.976 fps)
- D2S audio select : 192 + 0 kbps
- D2S video calc. : 3192 kbps, 1 CDs
- Select ranges : every 1200, select 12 frames
- Sample frames : 2592
--------------------------------------------------------
Calculations:
- 1 CD: video_br=3192 (3192) audio_br=192+0 video_sz=4308021771 fill=100% cbr=0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Using num CDs : 1
- Target mpv br : 3192 (max 8000) kbps, size=4308021771 bytes
--------------------------------------------------------
Search for Q:
- Sample enc. Q=36 : 1883 kbps, err=-41%, size=2541419606, sample sz=25807904
- Sample enc. Q=12 : 3980 kbps, err=24.7%, size=5371601408, sample sz=54548164
- Sample enc. Q=21 : 2791 kbps, err=-12.6%, size=3767926584, sample sz=38262980
- Sample enc. Q=18 : 650 kbps, err=-79.6%, size=877692688, sample sz=8912896 [reused]
- Switch to binary search
- Sample enc. Q=15 : 191 kbps, err=-94%, size=258290257, sample sz=2622916
- Sample enc. Q=13 : 3830 kbps, err=20%, size=5169712994, sample sz=52498004
--------------------------------------------------------
- Determined Q : 13 = Round(13 + (20/57)) with 1.4% adjustment.
--------------------------------------------------------
- 2004-12-21 11:56:49
- Start movie OPV encoding (Q 13)
- OPV pass result: 119.2% on target, 3804 kbps (5134840192 / 4308021771) Speed: 1.84
--------------------------------------------------------
- 2004-12-21 13:35:02
- Executing: "C:\Program Files\DVD2SVCD\Tylo\dist\Requant.exe" -level 83.9 -o "W:\the_deerhunter\Encoded_Video_CCE_NTSC.mpv" -i "W:\the_deerhunter\Encoded_Video_CCE_NTSC.oversz.mpv" -auto -close
- Transcoding pass: 100% on target, 3191 kbps (4307832299 / 4308021771) Speed: 20.46
--------------------------------------------------------
- 2004-12-21 13:43:51
- Recover DVD2SVCD: Pulldown <<-------------





Thanks

jsoto
22nd December 2004, 00:25
Yes, it is normal. This is how D2SRoBa works:
- Launch D2V2SVCD to do all the tasks until starting the video encode
- Kill CCE (launched by DVD2SVCD) and DVD2SVCD itself
- Start a CCE session fully controlled by D2SRoBa, (using some size calculations from DVD2SVCD)
- When the encoding finishes, re-start DVD2SVCD recovering from the first post encoding step.
- DvD2SVCD finishes the job (muxing, pulldown, authoring...)

jsoto

bobwillis
22nd December 2004, 10:33
Hi funboy,

There is something odd going on at your end (sample sizes vs Q are erratic):

Search for Q:
- Sample enc. Q=36 : 1883 kbps, err=-41%, size=2541419606, sample sz=25807904
- Sample enc. Q=12 : 3980 kbps, err=24.7%, size=5371601408, sample sz=54548164
- Sample enc. Q=21 : 2791 kbps, err=-12.6%, size=3767926584, sample sz=38262980
- Sample enc. Q=18 : 650 kbps, err=-79.6%, size=877692688, sample sz=8912896 [reused]
- Switch to binary search
- Sample enc. Q=15 : 191 kbps, err=-94%, size=258290257, sample sz=2622916
- Sample enc. Q=13 : 3830 kbps, err=20%, size=5169712994, sample sz=52498004

Can you confirm you weren't typing on the keyboard whilst D2SRoBa was controlling the sample process. It is fully automated, there is no need to hit 'ok' or 'cancel'.

You probably should do this job again, because your mpv file ended up 19.2% bigger than the what was needed, and was transcoded back down to fit again. This will give less than optimal quality.

I suspect you have been clicking buttons; leave it alone!

Regards,
Bob

jsoto
22nd December 2004, 20:51
Thanks bob, you're right, there is a strange situation in Q calculation.

I focussed my post to explain the mistery about "dvd2svcd disappeared for about 2 hours"

jsoto

funboy
23rd December 2004, 09:53
Thanks for the infos. I guarantee you that i didnt click okay while d2sbora was doing its magic. Now if i was clicking somewhere else that i cannot... I will try to remember that next time. The movie was already extremely bad quality....

Merry Christmas everyone

funboy

Amit
24th December 2004, 05:46
Hi There,

I am also seeing something funny with 3.77 build. If you see the sample size is changed and everything went hey wire.

--------------------------------------------------------
D2SRoBa v3.77, by Tylo
--------------------------------------------------------
- WIN_XP - AutoIt 3.0.103.128
- 2004-12-23 22:49:00
--------------------------------------------------------
- INI file : D:\DVD2SVCD\KHNH\D2SRoBa.ini
- Output type : DVD
- CD size : 3900
- Threshold Q : 36
- Sample file size : 2.0% (delete previous: Yes)
- Adjust estimated : 1.4% (accuracy tweak: Yes)
- Sizing pass : Encode (1 pass) if opv pass < -2.5% from target, or Q > 40
Transcode (ReJig) if opv pass > 0.0% above target, and Q <= 40
- Cond. filtering : If configured, and estim. Q reaches above Threshold Q
- Run mode : Batch execute
--------------------------------------------------------
- Restarting D:\DVD2SVCD\KHNH\dvd2svcd project file.d2s
- Waiting for CCE window...
- Detected a CCE encode window
- Detected the movie encode window - shutting down
--------------------------------------------------------
- 2004-12-23 23:06:58
- Avisynth setup: LanczosResize
- Configured cond. filter: C:\Program Files\DVD2SVCD\Tylo\RoBaConditional.avs
- D2S ver. 1.2.2.3, CCE ver. 2.67.0.23
- Setting process priority 1
--------------------------------------------------------
- Movie length : 03:00:04 (323810 frames, 29.97 fps)
- D2S audio select : 448 + 192 kbps
- D2S video calc. : 2309 kbps, 1 CDs
- Select ranges : every 600, select 12 frames
- Sample frames : 6480
--------------------------------------------------------
Calculations:
- 1 CD: video_br=2309 (2309) audio_br=448+192 video_sz=3118440482 fill=100% cbr=0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Using num CDs : 1
- Target mpv br : 2309 (max 8000) kbps, size=3118440482 bytes
--------------------------------------------------------
Search for Q:
- Sample enc. Q=36 : 4420 kbps, err=91.4%, size=5970649144, sample sz=121179564
- Sample enc. Q=89 : Skipped. Restarting search with cond. filter
- Sample enc. Q=36 : 65 kbps, err=-97.2%, size=88155636, sample sz=1789196
- Sample enc. Q=6 : 81 kbps, err=-96.5%, size=110476425, sample sz=2242216
- Switch to binary search
- Sample enc. Q=21 : 70 kbps, err=-97%, size=95362223, sample sz=1935460
- Sample enc. Q=0 : 99 kbps, err=-95.7%, size=134130096, sample sz=2722288
--------------------------------------------------------
- Determined Q : 0 = Round(0 + (-95.7/-1.#IND)) with 1.4% adjustment.
--------------------------------------------------------


The above happened when I choose SMART DEINTERLACE with Force Film OFF on an interlace movie. If I choose Force Film Off and choose KEEP INTERLACE everything else remaining same, the encode was successful.

Any idea what's happening?
-Amit

Amit
24th December 2004, 06:09
--------------------------------------------------------
D2SRoBa v3.78, by Tylo
--------------------------------------------------------
- WIN_XP - AutoIt 3.0.103.128
- 2004-12-23 23:57:42
--------------------------------------------------------
- INI file : D:\DVD2SVCD\KHNH\D2SRoBa.ini
- Output type : DVD
- CD size : 3900
- Threshold Q : 36
- Sample file size : 2.0% (delete previous: Yes)
- Adjust estimated : 1.4% (accuracy tweak: Yes)
- Sizing pass : Encode (1 pass) if opv pass < -2.5% from target, or Q > 40
Transcode (ReJig) if opv pass > 0.0% above target, and Q <= 40
- Cond. filtering : If configured, and estim. Q reaches above Threshold Q
- Run mode : Batch execute
--------------------------------------------------------
- Restarting D:\DVD2SVCD\KHNH\dvd2svcd project file.d2s
- Waiting for CCE window...
- Detected a CCE encode window
- Detected the movie encode window - shutting down
--------------------------------------------------------
- 2004-12-23 23:58:46
- Avisynth setup: LanczosResize
- Configured cond. filter: C:\Program Files\DVD2SVCD\Tylo\RoBaConditional.avs
- D2S ver. 1.2.2.3, CCE ver. 2.67.0.23
- Setting process priority 1
--------------------------------------------------------
- Movie length : 03:00:04 (323810 frames, 29.97 fps)
- D2S audio select : 448 + 192 kbps
- D2S video calc. : 2309 kbps, 1 CDs
- Select ranges : every 600, select 12 frames
- Sample frames : 6480
--------------------------------------------------------
Calculations:
- 1 CD: video_br=2309 (2309) audio_br=448+192 video_sz=3118440482 fill=100% cbr=0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Using num CDs : 1
- Target mpv br : 2309 (max 8000) kbps, size=3118440482 bytes
--------------------------------------------------------
Search for Q:
- Sample enc. Q=36 : 4420 kbps, err=91.4%, size=5970649144, sample sz=121179564
- Sample enc. Q=89 : Skipped. Restarting search with cond. filter
- Sample enc. Q=36 : 65 kbps, err=-97.2%, size=88155636, sample sz=1789196
- Sample enc. Q=6 : 81 kbps, err=-96.5%, size=110476425, sample sz=2242216
- Switch to binary search
- Sample enc. Q=21 : 70 kbps, err=-97%, size=95362223, sample sz=1935460
- Sample enc. Q=0 : 99 kbps, err=-95.7%, size=134130096, sample sz=2722288
--------------------------------------------------------
- Determined Q : 0 = Round(0 + (-95.7/-1.#IND)) with 1.4% adjustment.
--------------------------------------------------------

bobwillis
24th December 2004, 07:16
Originally posted by Amit

Search for Q:
- Sample enc. Q=36 : 4420 kbps, err=91.4%, size=5970649144, sample sz=121179564
- Sample enc. Q=89 : Skipped. Restarting search with cond. filter
- Sample enc. Q=36 : 65 kbps, err=-97.2%, size=88155636, sample sz=1789196
- Sample enc. Q=6 : 81 kbps, err=-96.5%, size=110476425, sample sz=2242216
- Switch to binary search
- Sample enc. Q=21 : 70 kbps, err=-97%, size=95362223, sample sz=1935460
- Sample enc. Q=0 : 99 kbps, err=-95.7%, size=134130096, sample sz=2722288
--------------------------------------------------------
- Determined Q : 0 = Round(0 + (-95.7/-1.#IND)) with 1.4% adjustment.
--------------------------------------------------------

Hi Amit,

To me, it looks as though the conditional filtering is interfering with your avisynth script. Q=36 with no filtering returns a sensible size, but when filtering is enabled the sample sizes become very small.

This is perhaps due to the fact that your filtering script is:
i) not setup properly
or
ii) is somehow incompatible with smartdeinterlace (and force film off).

That's as much as I can help here. Someone more knowledgeable will be able to assist you more. BTW, posting your dvd2svcd_log.txt log file may help.

Regards,
Bob

Amit
24th December 2004, 14:06
WNASPI32.DLL 4.6.0.1021
--------------------------------------------------------
- 12/23/2004 10:11:48 PM
- DVD to SVCD Conversion
- DVD2DVD ver. 1.2.2 build 3
--------------------------------------------------------
Initializing
WARNING! You seem to be using "Norton Unerase Protection" and
you want to delete the temporary files created by dvd2svcd.
This can cause DVD2SVCD problems. Even though DVD2SVCD deletes
the temporary files, Norton doesn't, therefore DVD2SVCD
might run into diskspace problems. I suggest that you stop the
"Norton Unerase Protection" Service.
- I:\VIDEO_TS\VTS_02_0.IFO
- I:\VIDEO_TS\VTS_02_1.vob
- I:\VIDEO_TS\VTS_02_2.vob
- I:\VIDEO_TS\VTS_02_3.vob
- I:\VIDEO_TS\VTS_02_4.vob
- I:\VIDEO_TS\VTS_02_5.vob
- I:\VIDEO_TS\VTS_02_6.vob
- I:\VIDEO_TS\VTS_02_7.vob
Initializing finished.

--------------------------------------------------------
- 12/23/2004 10:11:52 PM
- Free on drive D: 43723.76 mb
- Internal rip
--------------------------------------------------------
Preparing vobfiles to be ripped:
- I:\VIDEO_TS\VTS_02_1.vob
- I:\VIDEO_TS\VTS_02_2.vob
- I:\VIDEO_TS\VTS_02_3.vob
- I:\VIDEO_TS\VTS_02_4.vob
- I:\VIDEO_TS\VTS_02_5.vob
- I:\VIDEO_TS\VTS_02_6.vob
- I:\VIDEO_TS\VTS_02_7.vob

Ripping: I:\VIDEO_TS\VTS_02_1.vob
Ripping: I:\VIDEO_TS\VTS_02_2.vob
Ripping: I:\VIDEO_TS\VTS_02_3.vob
Ripping: I:\VIDEO_TS\VTS_02_4.vob
Ripping: I:\VIDEO_TS\VTS_02_5.vob
Ripping: I:\VIDEO_TS\VTS_02_6.vob
Ripping: I:\VIDEO_TS\VTS_02_7.vob
Ripping finished. Speed: 11114

--------------------------------------------------------
- 12/23/2004 10:48:58 PM
- DVD to SVCD Conversion
- DVD2DVD ver. 1.2.2 build 3
--------------------------------------------------------
Initializing
WARNING! You seem to be using "Norton Unerase Protection" and
you want to delete the temporary files created by dvd2svcd.
This can cause DVD2SVCD problems. Even though DVD2SVCD deletes
the temporary files, Norton doesn't, therefore DVD2SVCD
might run into diskspace problems. I suggest that you stop the
"Norton Unerase Protection" Service.
-
Initializing finished.

--------------------------------------------------------
- 12/23/2004 10:48:59 PM
- Free on drive D: 36657.76 mb
- Restarting from: From the start
--------------------------------------------------------
- 12/23/2004 10:49:00 PM
- DVD2AVI
--------------------------------------------------------
Creating DVD2AVI INI file:
- C:\Program Files\DVD2SVCD\DVD2AVI\DVD2AVI.INI

Variable settings:
iDCT_Algorithm: 32-bit SSE MMX

Executing DVD2AVI.
Executing DVD2AVI. Commandline:
"C:\Program Files\DVD2SVCD\DVD2AVI\DVD2AVI.exe" -CS=2 -YR=1 -OM=0 -EXIT -OF=[D:\DVD2SVCD\KHNH\DVD2AVI_Project_file] -IF=[D:\DVD2SVCD\KHNH\VTS_02_1.vob,D:\DVD2SVCD\KHNH\VTS_02_2.vob,D:\DVD2SVCD\KHNH\VTS_02_3.vob,D:\DVD2SVCD\KHNH\VTS_02_4.vob,D:\DVD2SVCD\KHNH\VTS_02_5.vob,D:\DVD2SVCD\KHNH\VTS_02_6.vob,D:\DVD2SVCD\KHNH\VTS_02_7.vob]
Framerate: 29970
DVD2AVI processing done.

Saving Subtitles ini file
--------------------------------------------------------
- 12/23/2004 10:55:06 PM
- Free on drive D: 36656.92 mb
- AUDIO Extraction
--------------------------------------------------------
Found AC3 stream id: 0x80
Filename: D:\DVD2SVCD\KHNH\Extracted_audio_1.ac3
Found AC3 stream id: 0x81
Filename: D:\DVD2SVCD\KHNH\Extracted_audio_2.ac3

Audio1 delay: 9943 ms
Audio2 delay: 12479 ms
Audio extraction finished.

--------------------------------------------------------
- 12/23/2004 11:05:55 PM
- Free on drive D: 35833.40 mb
- Video Encoding using Cinema Craft
--------------------------------------------------------

Executing Cinema Craft Encoder.
StreamSectors: 4076265788
AudioSectors: 876208424
VideoPAPO: 49570596
ScanOffsetBytes: 485715
SeqAligningBytes: 30869887
DVDBytes: 0
VideoEndHeader: 4
SubtitleSectors: 0
EmptySectors: 238.00
PictureSectors: 0.00
PureMPEGStream: 3119131162.33
Seconds: 10806.47
CalcMPEGStream: 3119131162.33
Frames: 323810
CDSize: 3900.00
Number of CDs: 1
Cut point 3896.00
Variable Settings:
Frames: 323810
Anti Noise Filter: Off
Passes: 3
Image Quality: 17
VAF file creation: On
Video Encoding Mode: Multipass VBR
Min. bitrate: 800
Max. bitrate: 8000
Avg. Bitrate: 2309
Aspect Ratio: Anamorphic (no borders, encoded as 16:9)

---AVS Begin---
LoadPlugin("C:\PROGRA~1\DVD2SVCD\AVISYN~1.5PL\Mpeg2dec\MPEG2D~1.DLL")
MPEG2Source("D:\DVD2SVCD\KHNH\DVD2AV~1.D2V")
ConvertToYUY2()
LoadPlugin("C:\PROGRA~1\DVD2SVCD\AVISYN~1.5PL\Mpeg2dec\mpeg2dec.dll") #Contains SmartDeinterlacer
SmartDeinterlace(2,10,True,False,True)
Import("C:\Program Files\DVD2SVCD\Tylo\RoBaConditional.avs")
# Import(...)
LanczosResize(720,480)
Import("D:\DVD2SVCD\KHNH\ResampleAudio.avs")
ResampleAudio(44100)
----AVS End----

tylo
28th December 2004, 22:43
Hi all,
@funboy

- Sample enc. Q=18 : 650 kbps, err=-79.6%, size=877692688, sample sz=8912896 [reused]
You explicitly unchecked "Delete previous sample files", so D2SRoba resuses an old (wrong) Q=18 sample. This caused the Q search to fail, and you ended up with 19% oversize after the OPV pass.

@Amit: As bobwillis said, it seems to be problems when importing the RoBaConditional.avs. I don't see why it conflicts with the rest of your script, but I'm no avisynth expert.

Boulder
29th December 2004, 08:47
Doesn't the conditional filtering include UnDot().Deen() by default?

If so, then converting back to YV12 is required as Deen doesn't support YUY2 AFAIK.


LoadPlugin("C:\PROGRA~1\DVD2SVCD\AVISYN~1.5PL\Mpeg2dec\MPEG2D~1.DLL")
MPEG2Source("D:\DVD2SVCD\KHNH\DVD2AV~1.D2V")
ConvertToYUY2()
LoadPlugin("C:\PROGRA~1\DVD2SVCD\AVISYN~1.5PL\Mpeg2dec\mpeg2dec.dll") #Contains SmartDeinterlacer
SmartDeinterlace(2,10,True,False,True)
ConverttoYV12() # this must be added to the script
Import("C:\Program Files\DVD2SVCD\Tylo\RoBaConditional.avs")
# Import(...)
LanczosResize(720,480)
Import("D:\DVD2SVCD\KHNH\ResampleAudio.avs")
ResampleAudio(44100)

rushbol
7th January 2005, 20:45
This new Avisynth setup "Divx Filter" can be used for SVCD ? For example I have a AVI with Divx, can this Divx Filter make the video better ?

Venom_IL
1st March 2005, 19:08
yes, I have also run into the UnDot().Deen() problem in the past

In the next release, tylo, maybe you could supply RoBaConditional.avs like this :

# Default conditional filter for D2SRoBa.
#
# Requires that Undot.dll and Deen.dll (http://www.avisynth.org/warpenterprises)
# are in your avisynth plugins directory, e.g. C:\Program Files\AviSynth 2.5\plugins

ConvertToYV12()
Undot().Deen()
ConvertBackToYUY2()

this should negate the need of manual interference when a conditional filter is used

anyways, thats the avs im using and it works.. but i'd be far from surprised if there are better, more elegant solutions

cw_uk
7th March 2005, 17:17
anyone noticed there is no d2sroba page anymore ?!

Holomatrix
8th March 2005, 23:01
In DVD2SVCD under the Advanced Settings in the Encoder TAB in Color conversion you have ConvertToYUY2, correct? I've never had that problem and if you enable this option then it always appends the command at the bottom of your script anyway.

Venom_IL
9th March 2005, 00:03
yes i have that option

i guess ConvertToYV12 isnt the same as ConvertToYUY2 :confused:

or maybe the command isn't applied to ROBACONDITIONAL.INI - you say you haven't encountered this problem.. has the conditional filter ever kicked in in any of those cases ?

mpiper
9th March 2005, 15:15
The d2sRoBa page is gone. Where can I get the plugin??

Holomatrix
9th March 2005, 22:55
@Venom_IL - correct, ConvertToYV12 and ConvertToYUY2 is a totally different color space. And to be honest, I did have the conditional filters kick in and didn't have a problem but don't have the script anymore so can't check to see at what point ConvertoYV12 got added but it must have to allow deen to work.

Venom_IL
10th March 2005, 19:52
a friend of mine also had the exact same problem and adding converttoYV12 fixed it.. and im guessing adding that line to the ini in the future versions can't hurt - the worst thing that could happen is having converttoYV12 appear twice and i reckon avisynth is smart enough to ignore one of the appearances

Holomatrix
10th March 2005, 22:20
True :) or Just add it to your robaconditional.avs.true script before Deen and Undot then when Roba desides he needs to use the conditionl filters then it'll be in the script. I don't really think it is nessessary though because as I said before I think it already gets added when Roba desides to use conditionals. I don't do many SVCD's anymore so can't test it right now.

Venom_IL
11th March 2005, 10:59
I can't tell, but there must be some circumstances under which this problem could occur (avisynth ver, d2s ver, d2sroba ver, previously installed versions, os, whatever) .. after all that's at least 3 cases we know of

so to be on the safe side, i think the lines could be added - like i theorized, and you confirmed, it can't hurt

EYEREX
11th March 2005, 20:02
Would love to try this plug-in but link to site is not working...

gdenehy
12th March 2005, 02:15
Hi again,
I have found what seems to be the problem for me with D2SRoba - the filesize is often reported incorrectly (often 0).
Can anyone advise what might be causing this???

Using num CDs : 1
- Target mpv br : 1156 (max 2530) kbps, size=746515900 bytes
--------------------------------------------------------
Search for Q:
- Sample enc. Q=43 : 0 kbps, err=-100%, size=0, sample sz=0
- Sample enc. Q=43 : 0 kbps, err=-100%, size=0, sample sz=0 [reused]


Search for Q:
- Sample enc. Q=43 : 1195 kbps, err=3.4%, size=772045116, sample sz=7871696
- Sample enc. Q=45 : 1171 kbps, err=1.3%, size=756341159, sample sz=7711580
- Sample enc. Q=46 : 1160 kbps, err=0.3%, size=749229674, sample sz=7639072
--------------------------------------------------------
- Determined Q : 46 = Round(46 + (0.3/1)) with 0.9% adjustment.
--------------------------------------------------------
- 2005-03-11 20:42:33
- Start movie OPV encoding (Q 46)
- OPV pass result: 0% on target, 0 kbps (0 / 746515900) Speed: 1.26
--------------------------------------------------------
- 2005-03-11 21:51:19
- Start VBR sizing pass (1156 kbps)
- Sizing pass result: 0% on target, 0 kbps (0 / 746515900) Speed: 1.28

gdenehy
14th March 2005, 07:38
Seems that if I end the NPROTECT.EXE process, all works fine...

johnruiz
14th March 2005, 07:54
NPROTEXT.EXE is Norton AntiVirus. It's a resourse hog.

cypher007
14th March 2005, 10:34
it seems that the link to the page where it is is down. is there an alternative source?

Venom_IL
14th March 2005, 21:03
Originally posted by johnruiz
NPROTEXT.EXE is Norton AntiVirus. It's a resourse hog.

True.

Switch to NOD32

GravuTrad
15th March 2005, 06:27
i putted an alternative download on my own space here, until tylo come back:


D2SRoBa 3.78 (http://www.gravure-et-traductions.com/Downloads/D2SRoBa378.zip)

EYEREX
15th March 2005, 10:22
Thank you SmallLittle :)

jsoto
17th March 2005, 22:44
answer received from tylo
Hi, jsoto.
I'm currently changing my broadband supplier (I regret it already), so I will be offline until about 1. April.
Cheers.

He´ll be back soon.
jsoto

GravuTrad
18th March 2005, 00:43
Super cool.

gdenehy
18th March 2005, 07:12
Thanks for the tip about NOD32! My system is MUCH faster now and no more problems with DVD2SVCD!

Venom_IL
18th March 2005, 16:34
Originally posted by gdenehy
Thanks for the tip about NOD32! My system is MUCH faster now and no more problems with DVD2SVCD!

spread the word :sly:

BTW - It's also better at finding virii (according to practically all virus tests)

basically, The only one that is considered better is kaspersky, but if you thought norton was a resource hog, you don't want to try kaspersky :D

Holomatrix
22nd March 2005, 22:43
Hey, getting back to that ConvertToYV12() thing with D2SRoba for a sec, I had thought I remembered correctly what I did the other day for the solution but cannot re-create it now for some reason, wierd ?? Anyway, what happened before was the new version of AVIsynth 2.55x nativly supports YV12, that's why I was able to run my Deen script without ConvertToYV12() at the beginning, then DVD2SVCD helped me on somthing I was working on with the FACAR/QMF script and realized that it was broken with the new AVIsynth version and had to convert back to AVIsynth 2.54x.
Trying a simple script;

LoadPlugin("C:\PROGRA~1\DVD2SVCD\AVISYN~1.5PL\Mpeg2dec\MPEG2D~1.DLL")
MPEG2Source("F:\MovieRip\DVD2AV~1.D2V")
#ConvertToYV12()
Undot()
Deen()
LanczosResize(480,360)
Import("F:\MovieRip\ResampleAudio.avs")
ResampleAudio(44100)
ConvertToYUY2()

as you can see ConvertToYV12() is not being enable but is still working with AVIsynth 2.54 and 2.55, again wierd. So, I'm a little confused right now as to why ConvertToYV12() is not needed right now on my system. I must have some extra DIVX/XVID codecs on my system that is doing the YV12 conversion on the fly, that I didn't have before. I installed this codec package "klcodec241f", it must be taking care of the YV12 conversion in the background. It might still be a good idea to still add the ConvertToYV12() line as to let AVIsynth do the conversion as it is probably more reliable than another codec on your system.

manolito
23rd March 2005, 00:24
@Holomatrix

I don't know, but I think you got it wrong. AFAIK all AviSynth 2.5x versions support YV12, there is no difference between 2.54 and 2.55. It's the filters (Undot and Deen) that require YV12 input. If your source is a DVD (in your example you use a .d2v file) then "ConvertToYV12()" is not needed because the clip already is in this format. But if you use a captured AVI file as you input, it will most likely be YUY2, and the filters won't like that, so the YV12 conversion is required. Of course it will not hurt to always have the "ConvertToYV12()" line in your script, because if the clip already is YV12, AviSynth is smart enough to ignore this line.

Cheers
manolito

Holomatrix
23rd March 2005, 00:58
Originally posted by manolito
Of course it will not hurt to always have the "ConvertToYV12()" line in your script, because if the clip already is YV12, AviSynth is smart enough to ignore this line.
Correct, as I mentioned earlier :) Alot of the old info is a little fuzzy how a days :) I might have been thinking of pre 2.5

xp_eric
24th October 2005, 23:24
Forcing OPV encoding by entering 120 as value for max avg offset (as described in the FAQ) doesn't seem to work anymore in version 3.80?

Eric

DDogg
30th October 2005, 00:49
Not new news, but a clarification for the record -

An unfortunate situation can exist between D2SRoba 3.80 and dvd2svcd 1.2.3 B1 in Avi2X mode [only when converting an incoming AVI that is delivered in YV12 colorspace]. This happens only when the D2SRoba conditional filter is activated using a YV12 only plug-in (only in Avi2X mode). I have only checked this with XVid encoded source and using XVid for decoding. [incoming YV12 colorspace]

Problem:

In Avi2x mode a hard-coded ConvertToYU2() statement (cannot be changed by user) is placed in the script above both the resizing line, and the D2SRoba conditional statement. This is fine, though not very speed efficient, if NO active D2SRoba conditional filter (or one not using a YV12 only plug-in) is used. However the default Deen() used as part of the D2SRoba 3.80 does require YV12 colorspace. When D2SRoba activates the conditional filter (places the contents of "RoBaConditional.avs.true" into "RoBaConditional.avs") an invisible avisynth failure occurs because the ConvertToYUY2() statement forces the delivery of wrong colorspace to the YV12 only conditional filter plug-in/s. The process will continue, but nothing except an avisynth error message is being encoded. CCE will show a very high speed encode. The prediction of D2SRoba will be completely fouled up.

Workarounds exist until this situation is cleared up (soon. hopefully)

1> As mentioned, change the contents of "RoBaConditional.avs.true" to:

ConvertToYV12()
Undot().Deen()
ConvertBackToYUY2()

This will work, but is ugly and the resizing is still carried out in YUY2 (slower), but will still work with people using Chickenman's batch method.

2> (Best IMO) - Leave Conditional filter as is "(Undot().Deen()", but go to the frameserver tab and tick "edit as part of video encoding". When edit window appears cut and paste the ConvertToYUY2() statement **below** the resizing line. This will give a significant encoding speedup with, or without, the conditional filter as the filtering and sizing is now carried out under YV12 color source as delivered by the XVid codec (faster). Of course, you are screwed if you are wanting to do batches.

3> Leave as is and don't use a YV12 only plugin. Instead use Fluxsmooth or something like that. Will work with batches.

I may have overlooked something as I have not used either of these fine softs in a long while. I needed to down-code some HD tv caps and pulled out my trusted friends and got the normally perfect job except for when the above odd situation occurred.

jolson
9th April 2007, 11:32
Amazing, no posts in here for a year and a half...

Did people suddenly start to use some other tool instead of D2SRoBa?


...what I really was wondering about was...:

I use D2SRoBa for AVI->DVD conversion and it decides Q=1 is the quality setting to use. However, the result is oversized and since I have set transcoding allowed Requant jumps in. The whole "run" is completed, but I think this time the transcoding didn't work as good as it usually does - so I want to reencode.

Since I now know Q=2 would be the best setting, is there any way of forcing it? If not, any reason it wasn't implemented? Any work-around?

If not, I have to play with the settings (mainly the Adjust %) to "fool" D2SRoBa into selecting Q=2. Seems a little backwards...

manolito
9th April 2007, 13:47
Amazing, no posts in here for a year and a half...

Did people suddenly start to use some other tool instead of D2SRoBa?
It is probably because people who use it are completely happy with it... :)

The D2SRoBa estimation can never be completely accurate for several reasons. Characteristics of the movie, filters and different matrices all have an effect on the estimation accuracy. Then there is the fact that CCE's Q factor is an integer. Especially with very low Q values you will find that changing Q by 1 will result in a size change of sometimes more than 5%.

To make the estimation more accurate, all you can possibly do is to increase the sample% to 2% or even higher. And it also makes sense to decrease the "Adjust %" setting. This will make your encode smaller, but IMHO for a DVD as your target it does not really matter too much if your encode comes out a little undersized.

And if you do not like ReQuant or Rejig, you can always tick "Encode" instead of "Transcode". This will force an additional VBR pass if the OPV pass comes out too big. This VBR pass uses the VAF file from the OPV pass. The result will be equivalent or better compared to doing another encode with a Q value of 2.

Cheers
manolito

jolson
9th April 2007, 14:00
I'm also pretty pleased with it :)

It's just that:
I have sample set to 3%, so it's seldom oversizing.
And often, ReQuant makes a good enough job of transcoding.
But, when it like now needs to be redone it would be nice to just be able to have a mode "Use Q=*" and let everything else work as usual.

This time I decreased the Adjust % to 0 (hoping it would pick Q=2) and unticked transcode (in case it didn't). It selected Q=1 again and is now doing the VBR Sizing Pass...

ChickenMan
9th April 2007, 14:27
I'm very pleased with D2S also :) and it is still my primary tool for AVI to DVD conversions, all those 1 click wonders simply do not compare with D2S's output quality or program versatility

Simply dont use D2SRoBa with D2S if you know you want to encode at a particular Q value. Run D2S and in the Encoder Tab, select One Pass VBR and enter the Q value you want, in your example enter 2. Go.

jolson
9th April 2007, 14:31
Thanks - that was what I was looking for, and not finding :)

What? - can you use DVD2SVCD without D2SRoBa??? ;)