Log in

View Full Version : D2SRoBa Plugin


Pages : 1 2 3 4 5 6 7 [8]

r6d2
10th October 2003, 21:51
Originally posted by dvd2svcd
Please don't. I don't wanna mess with the bitrate calculations. They are as precise as they can get
They are quite precise indeed. I've found in the worst case 1 minute wasted on the last CD. That's 0.6% for a 2 CD encode and 0.4% for a 3 CD encode.

Anyway, 1 minute is still one minute! :confused:

Trahald
11th October 2003, 00:11
i think he trusts your math. i think d2s is applying the 'if it aint broke' rule. ;)

r6d2
11th October 2003, 03:05
Originally posted by w00kiee
i think he trusts your math. i think d2s is applying the 'if it aint broke' rule. ;)
Well, audio wasn't broken in D2S either, and the idea of postponing it was quite successful ;)

BTW, the fact that D2S's BR calculations work so well is really curious considering that CD size is not 800-MB, but 360.000 * 2324 / 2^20 = 797.9-MB

DDogg
11th October 2003, 06:04
and the idea of postponing it was quite successful erm, if you say so :)

telemike
13th October 2003, 02:03
Something wenr terribly wrong:

D2SRoBa v2.7.0 RC1 - DVD2SVCD plugin, by tylo
OS Version: WIN_XP
--------------------------------------------------------
- DVD2SVCD Shutdown
- 2003-10-12 14:19:19
--------------------------------------------------------
Settings:
- Encoding mode : OPV RoBa
- CD size : 800
- Number of CD's : auto
- Auto Q. (worst) : 40
- Maximum Q. : 60
- Sample percentage : 1.0
- Adjust Q. : 1.0
- Sample GOPs : 1
- Sizing pass : on=1 (-4.0 .. 1.0)%
- Audio after video : on=0 (Fixed bitrate, 10%, min 128 kbps)
- Adjust max video br : on=1 (total 2756 kbps)
--------------------------------------------------------
- Movie length : 01:45:57 (152430 frames, 23.976 fps)
- D2S audio settings : (128 kbps + 0) kbps
- D2S video estimate : 2230 kbps, 3 CDs
- SelectRangeEvery : every 1500, select 15 frames
- Num. sample frames : 1530
--------------------------------------------------------
Calculations:
- 1 CD: Video BR=648 Audio 1 BR=128 Video SZ=514966217.
- 2 CD: Video BR=1439 Audio 1 BR=128 Video SZ=1143574669.
- 3 CD: Video BR=2230 Audio 1 BR=128 Video SZ=1772183121.
- 4 CD: Video BR=3022 Audio 1 BR=128 Video SZ=2401586274.
--------------------------------------------------------
- Using Max bitrate=2628 for auto samples (adj. for 3 CDs)
- Estimated mpv size : 609397208. (Q=40, 766 kbps, 6116760 sample sz)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Number of CDs : 2
- Target mpv size : 1143574669. (1439 / max 2628) kbps
--------------------------------------------------------
- Binary search for Q:
- Estimated mpv size : 906985201. (Q=20, 1141 kbps, 9103768 sample sz)
- Estimated mpv size : 1235692426. (Q=10, 1554 kbps, 12403132 sample sz)
- Computed mpv size : 1071338813. (Q=15, 1348 kbps, 10753450.=(Q20+Q10)/2)
- Estimated mpv size : 1159069750. (Q=12, 1458 kbps, 11634040 sample sz)
- Computed mpv size : 1115204282. (Q=13, 1403 kbps, 11193745.=(Q15+Q12)/2)
--------------------------------------------------------
- Q Weight : 1.0 - (1143574669. / 99.6274509803922 - 11193745.) / (11634040 - 11193745.)
- Adjust Q : (13 + (0.353240973444352) - (1.0)) = 12.3532409734444
- Determined Q. : 12
- Adjusted CD size : 1 (fillrate = )
--------------------------------------------------------
- Encoding Movie
- 2003-10-12 14:30:58
- Actual mpv file size:
10/12/2003 06:23 PM 397350072 Encoded_Video_CCE_NTSC.mpv
- OPV pass result: 34.7% on target :confused: :confused: ( 397350072 / 1143574669.)
--------------------------------------------------------
- Recover
- 2003-10-12 18:24:01

tylo
13th October 2003, 04:18
Yep, its the same as DDogg reported. Looking at it now...

DDogg
15th October 2003, 21:49
Looking at it now... Just curious, any progress?

r6d2
16th October 2003, 01:22
Originally posted by DDogg
Just curious, any progress?
He is still looking, but can't find it :D

Come on, DDogg, give the guy some time. Remember the post about free pies? :D:D:D

telemike
16th October 2003, 02:10
What does this setting do?

safety_zone=34

in the D@SRoBa.ini file:confused:

DDogg
16th October 2003, 02:47
Come on, DDogg, give the guy some time. Remember the post about free pies? :D:D:Der, ah, like I said, I was just curious as tylo has been mighty quite for the last several weeks. Certainly was not meant to be pushy. Anyway, I feel confident that tylo can tell somebody to piss off quite well and all by himself :)

tylo
16th October 2003, 08:47
Folks, I've just been busy for the last weeks. I'll upload RC2 in a few moments (this time for real...). :D
This morning D2V is up with it's exceeded bitrate warning up. So that might be an area you might want to look at.It actually reached the max bitrate, but didn't exceed it. I now set the default MAX ToTAL to 2754 (2 below).
I give up in confusion Now it is trying to use CBR at 500 kbps for a 3 cd encode.
- 3 CD: Video BR=2230 Audio 1 BR=160 Video SZ=1888340581.You were very unlucky there. When the bitrate was exactly equal to the avg_max, there was a logical error -> fixed.

However, telemikes log is still a mystery to me. Although, by a strange coincidence he also got 2230 for 3 CDs, but he used only 2 CDs. I've gone over that code several times, and I can see no way how it should have tried to reduce the CD size (and therefore wrongly), unless you had set MaxAvg=1439 (very unlikely)!!. Also D2S used 3 CDs in its computation which it shouldn't have --> I assume this was a recovery? Oh, and the safety_zone is for internal use in the improved binary search for the Q. It should not be reduced, but if increased up to 100 will make the plugin encode every sample (i.e not compute and skip some).

I have done something to avoid the 'Recover'-error (using wrong directory). It now also pops up a directory selection dialog when you press the Recover button. Choose the directory from here. (It will warn you if you don't). This is the only way I can pick up where you want to recover from (if not the last used)...

Cosmetic adjustments: The GUI will always be be active (on top) when started. It will remember GUI position.

About the problem of CCE not closing properly: I've shuffled a little with the sleep commands, but I don't know if it help - I never have this problem, so I can't tell.

- Haven't got time to look at the logs for DVD encoding yet, but thanks. I will though, 'cause I've ordered a DVD burner now (Lite-On LDW-401S (http://test2.cdrlabs.com/reviews/index.php?reviewid=200&page=Intro)).

Cheers.

telemike
16th October 2003, 10:49
However, telemikes log is still a mystery to me. Although, by a strange coincidence he also got 2230 for 3 CDs, but he used only 2 CDs. I've gone over that code several times, and I can see no way how it should have tried to reduce the CD size (and therefore wrongly), unless you had set MaxAvg=1439 (very unlikely)!!. Also D2S used 3 CDs in its computation which it shouldn't have --> I assume this was a recovery?


I don't think it was a recover but it could have been. I am trying the lastest now on the same encode and we'll see what happens

Trahald
16th October 2003, 14:00
Nice to see a new version out and congrats on the DVD burner(going with a + eh?). i'll try it out tonight.

telemike
17th October 2003, 00:29
========================================================
D2SRoBa v2.7.0 RC2 - DVD2SVCD plugin, by tylo
OS Version: WIN_XP
--------------------------------------------------------
- DVD2SVCD Shutdown
- 2003-10-16 06:27:13
--------------------------------------------------------
Settings:
- Encoding mode : OPV RoBa (Recover=No)
- CD size : 800
- Number of CD's : auto
- Auto Q. (worst) : 40
- Maximum Q. : 64
- Sample percentage : 1.0
- Adjust Q. : 1.2
- Sample GOPs : 1
- Sizing pass : on=0 (-4.0 .. 1.0)%
- Audio after video : on=0 (% of Video, 10%, min 128 kbps)
- Adjust max video br : on=1 (total 2500 kbps)
--------------------------------------------------------
- Movie length : 01:45:57 (152430 frames, 23.976 fps)
- D2S audio settings : (128 kbps + 0) kbps
- D2S video estimate : 2230 kbps, 3 CDs
- SelectRangeEvery : every 1500, select 15 frames
- Num. sample frames : 1530
--------------------------------------------------------
Calculations:
- 1 CD: Video BR=648 Audio 1 BR=128 Video SZ=514966217.
- 2 CD: Video BR=1439 Audio 1 BR=128 Video SZ=1143574669.
- 3 CD: Video BR=2230 Audio 1 BR=128 Video SZ=1772183121.
- 4 CD: Video BR=3022 Audio 1 BR=128 Video SZ=2401586274.
--------------------------------------------------------
- Using Max bitrate=2372 for auto samples (adj. for 2 CDs)
- Estimated mpv size : 765245226. (Q=40, 962 kbps, 7681068 sample sz)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Number of CDs : 2
- Target mpv size : 1143574669. (1439 / max 2372) kbps
--------------------------------------------------------
- Binary search for Q:
- Estimated mpv size : 1234532762. (Q=20, 1553 kbps, 12391492 sample sz)
- Computed mpv size : 999888994. (Q=30, 1258 kbps, 10036280.=(Q40+Q20)/2)
- Estimated mpv size : 1062943606. (Q=25, 1337 kbps, 10669184 sample sz)
- Estimated mpv size : 1163668553. (Q=22, 1464 kbps, 11680200 sample sz)
- Computed mpv size : 1113306080. (Q=23, 1400 kbps, 11174692.=(Q25+Q22)/2)
--------------------------------------------------------
- Q Weight : 1.0 - (1143574669. / 99.6274509803922 - 11174692.) / (11680200 - 11174692.)
- Adjust Q : (23 + (0.398985247320875) - (1.2)) = 22.1989852473209
- Determined Q. : 22
--------------------------------------------------------
- Encoding Movie
- 2003-10-16 06:33:09
- Actual mpv file size:
10/16/2003 08:15 AM 1106740960 Encoded_Video_CCE_NTSC.mpv
- OPV pass result: 96.8% on target ( 1106740960 / 1143574669.)
--------------------------------------------------------
- Recover from pulldown/muxing
- 2003-10-16 08:15:15



HERE'S THE KICKER:

bbMPEG_Muxed_File00.mpg = 814,885kb

bbMPEG_Muxed_File01.mpg = 396,397kb


Something is not calculating correctly............

Calculations:
- 1 CD: Video BR=648 Audio 1 BR=128 Video SZ=514966217. :confused:
- 2 CD: Video BR=1439 Audio 1 BR=128 Video SZ=1143574669. :confused:
- 3 CD: Video BR=2230 Audio 1 BR=128 Video SZ=1772183121. :confused:
- 4 CD: Video BR=3022 Audio 1 BR=128 Video SZ=2401586274.:confused:


Why is the size only 515MB for 1CD?

r6d2
17th October 2003, 01:52
Originally posted by DDogg
er, ah, like I said, I was just curious as tylo has been mighty quite for the last several weeks. Certainly was not meant to be pushy. Anyway, I feel confident that tylo can tell somebody to piss off quite well and all by himself :)
I'm pretty sure, I just could not resist :D

tylo
17th October 2003, 07:24
- Movie length : 01:45:57 (152430 frames, 23.976 fps)
- D2S audio settings : (128 kbps + 0) kbps
- D2S video estimate : 2230 kbps, 3 CDsThe numbers are directly read off from the .d2s file after D2S is shutdown:
[Settings]
Number of images=3 -- Should be 2 because movie is between 92 and 138 mins
[MovieInfo]
AvgBitrate=2230 -- Truncated to MaxAvg by D2S - should have been higher

You must have fiddled with the time bands in the bitrate tab, so that the movie falls into the 3CD band. DON'T. D2SRoBa sets the timebands so that D2S does not need to truncate the calculated bitrate.

/Add: Ps: I now fully understand your previous log - thanks. This also gave me a hint why sometimes the "Reduce CD size" functionality is not perfect. I will improve that.going with a + eh?It appears to be the future standard (M$ has announced support for +). If not, I've read that it is possible to flash it with a higher models firmware (411S) which support +/-.

telemike
17th October 2003, 10:28
Tylo-

I didn't change any settings in the time band when I ran that encode...at least I don't recall.

I still am nost sure why the size for 1-Cd is 515MB?

tylo
17th October 2003, 11:21
I didn't change any settings in the time band when I ran that encode...at least I don't recall.In that case, we can not be sure that D2S always writes/calculates the bitrates based on number of CDs that matches the time bands - in my experience it has so far, but clearly both your logs shows that D2S uses 3 CDs, where I expected it to use 2CD. I use the bitrate computed by D2S, i.e. 2230 for 3CD to compute the bitrate for 2CDs -> 1439. This is too low because 2230 is not the bitrate that fills 3CDs, but the max average bitrate that you allowed D2S to use.

In any case, I need some more input on this. I can alway go back and use r6d2's bitrate calculations, but it doesn't include subtitle calc.

telemike
17th October 2003, 12:12
Tylo-

I tried again. Somewhere D2s is calculating 3 CD's. The Time bands show 2 CD's (I set the plugin to 2). The .ini files for D2s show the timebands as 2 Cd's. Yet, the calculations are showing 3.


:confused: :confused: :confused:

telemike
18th October 2003, 13:19
I found the problem! It is the latest versionof D2S!!!!!!!!!!!!!

I went back to D2S113B2 and it works now. D2S121B3 is calculating the number of Cd's to 3 and D2S113B2 calculates to 2 CD's.

:mad:

Trahald
18th October 2003, 16:23
I did an encode with RC2 and d2s 121b3 last night (80 minute movie) with quality at 40 and audio=on vbrpass=on

came out perfect
.. 1 cd image at ~800mb

im doing another encode tonite.. should end up 2 disks.. we'll see how that goes

telemike
18th October 2003, 22:09
I did a test with both versions of D2S and the logs show that the new version of D2S is calcualting something wrong.......

I wish I knew exactly what was going wrong.

Trahald
19th October 2003, 14:51
Welp.. did an encode last night.. 42 min show.. first pass ended up 530 mb.. thankfully the vbr pass encode did the trick.

some notes - this was a batch encode.. although ive done them before with no problems. i used force ivtc. there were 2 episodes thati batched.. the other episode did the same thing although the opv @ q40 left it at about 400 mb.. vbr pass saved the day(well night) ;)
it never did individual Q tests , just the first test at q40 on both eps. i'll try it outside of batch mode and report results.

<Edit> did the same thing without doing batch mode



========================================================
D2SRoBa v2.7.0 RC2 - DVD2SVCD plugin, by tylo
OS Version: WIN_XP
--------------------------------------------------------
- DVD2SVCD Shutdown
- 2003-10-19 05:00:08
--------------------------------------------------------
Settings:
- Encoding mode : OPV RoBa (Recover=No)
- CD size : 800
- Number of CD's : auto
- Auto Q. (worst) : 40
- Maximum Q. : 64
- Sample percentage : 2.0
- Adjust Q. : 0.8
- Sample GOPs : 1
- Sizing pass : on=1 (-2.0 .. 1.0)%
- Audio after video : on=0 (Fixed bitrate, 6%, min 96 kbps)
- Adjust max video br : on=1 (total 2754 kbps)
--------------------------------------------------------
- Movie length : 00:45:04 (64852 frames, 23.976 fps)
- D2S audio settings : (96 kbps + 0) kbps
- D2S video estimate : 2230 kbps, 1 CDs
- SelectRangeEvery : every 600, select 12 frames
- Num. sample frames : 1308
--------------------------------------------------------
Calculations:
- 1 CD: Video BR=2230 Audio 1 BR=96 Video SZ=753982942.
- 2 CD: Video BR=4572 Audio 1 BR=96 Video SZ=1545834085.
- 3 CD: Video BR=6914 Audio 1 BR=96 Video SZ=2337685227.
- 4 CD: Video BR=9256 Audio 1 BR=96 Video SZ=3129536370.
--------------------------------------------------------
- Using Max bitrate=2658 for auto samples (adj. for 1 CDs)
- Estimated mpv size : 552353012. (Q=40, 1633 kbps, 11140408 sample sz)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Number of CDs : 1
- Target mpv size : 753982942. (2230 / max 2658) kbps
--------------------------------------------------------
- Reduce CD debug: brate=2230 cbr_limit=2444 adj_brate=2230
- Reduce CD size to: 801 (fillrate=1., bitrate=2230)
--------------------------------------------------------
- Encoding Movie
- 2003-10-19 05:01:49
- Actual mpv file size:
10/19/2003 05:48 AM 538077952 Encoded_Video_CCE_NTSC.mpv
- OPV pass result: 71.4% on target ( 538077952 / 753982942.)
--------------------------------------------------------
- Executing VBR Sizing Pass - 2230 kbps.
- Actual mpv file size:
10/19/2003 06:36 AM 753038004 Encoded_Video_CCE_NTSC.mpv
- Sizing pass result: 99.9% on target ( 753038004 / 753982942.)
--------------------------------------------------------
- Recover from pulldown/muxing
- 2003-10-19 06:36:12

homerjay
19th October 2003, 20:56
did anyone work out the problem with the .mp2 file not being created ?
i thought it was just a prob with avi's but have done 2 dvd rips this weekend and got the same problem.
i'm running RC2 and d2s 121b3 and if audio creation after is ticked or unticked it is not creating the file :confused:

cheers

hj

telemike
19th October 2003, 21:50
D2SRoBa v2.7.0 RC2 - DVD2SVCD plugin, by tylo
OS Version: WIN_XP
--------------------------------------------------------
- DVD2SVCD Shutdown
- 2003-10-19 08:01:37
--------------------------------------------------------
Settings:
- Encoding mode : OPV RoBa (Recover=No)
- CD size : 800
- Number of CD's : 1
- Auto Q. (worst) : ---
- Maximum Q. : 64
- Sample percentage : 1.0
- Adjust Q. : 1.2
- Sample GOPs : 1
- Sizing pass : on=0 (-4.0 .. 1.0)%
- Audio after video : on=1 (Fixed bitrate, 10%, min 128 kbps)
- Adjust max video br : on=1 (total 2500 kbps)
--------------------------------------------------------
- Movie length : 01:45:57 (152430 frames, 23.976 fps)
- D2S audio settings : (128 kbps + 0) kbps
- D2S video estimate : 889 kbps, 1 CDs
- SelectRangeEvery : every 1500, select 15 frames
- Num. sample frames : 1530
--------------------------------------------------------
Calculations:
- 1 CD: Video BR=889 Audio 1 BR=128 Video SZ=706489146.
- 2 CD: Video BR=1922 Audio 1 BR=128 Video SZ=1527415228.
- 3 CD: Video BR=2955 Audio 1 BR=128 Video SZ=2348341311.
- 4 CD: Video BR=3988 Audio 1 BR=128 Video SZ=3169267393.
--------------------------------------------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Number of CDs : 1
- Target mpv size : 706489146. (889 / max 2372) kbps
--------------------------------------------------------
- Binary search for Q:
- Estimated mpv size : 409550120. (Q=32, 515 kbps, 4110816 sample sz)
- Estimated mpv size : 658264074. (Q=16, 828 kbps, 6607256 sample sz)
- Estimated mpv size : 963376729. (Q=8, 1212 kbps, 9669792 sample sz)
- Computed mpv size : 810820401. (Q=12, 1020 kbps, 8138524.=(Q16+Q8)/2)
- Computed mpv size : 734542238. (Q=14, 924 kbps, 7372890.=(Q16+Q12)/2)
- Estimated mpv size : 689963138. (Q=15, 868 kbps, 6925432 sample sz)
--------------------------------------------------------
- Q Weight : 1.0 - (706489146. / 99.6274509803922 - 6925432) / (7372890. - 6925432)
- Adjust Q : (15 + (0.629287964169347) - (1.2)) = 14.4292879641693
- Determined Q. : 14
--------------------------------------------------------
- Encoding Movie
- 2003-10-19 08:06:33
- Actual mpv file size:
10/19/2003 09:17 AM 690169696 Encoded_Video_CCE_NTSC.mpv
- OPV pass result: 97.7% on target ( 690169696 / 706489146.)
--------------------------------------------------------
- Executing: C:\Program Files\DVD2SVCD\BeSweet\BeSweet.exe -core( -input "D:\dvd\Extracted_audio_1.ac3" -output "D:\dvd\Encoded_audio_1.mp2" -logfile "D:\dvd\Encoded_audio_1.log" ) -azid( -L -3db -c normal -s surround -g max ) -2lame( -e -b 128 -m s )
--------------------------------------------------------
- Recover from pulldown/muxing
- 2003-10-19 09:39:21



Works with the older version of D2S perfectly!!!!!!!

tylo
20th October 2003, 08:40
If this is the case, there may be a bug in the current D2S -> it would have failed without using the plugin too (if D2S actually uses these nums).
However: this log was from only the day after build 3 was released - did you really use build 3 here?Something wenr terribly wrong:

D2SRoBa v2.7.0 RC1 - DVD2SVCD plugin, by tylo
OS Version: WIN_XP
--------------------------------------------------------
- DVD2SVCD Shutdown
- 2003-10-12 14:19:19
--------------------------------------------------------
Settings:
- Encoding mode : OPV RoBa
- CD size : 800
- Number of CD's : auto
- Auto Q. (worst) : 40
- Maximum Q. : 60
- Sample percentage : 1.0
- Adjust Q. : 1.0
- Sample GOPs : 1
- Sizing pass : on=1 (-4.0 .. 1.0)%
- Audio after video : on=0 (Fixed bitrate, 10%, min 128 kbps)
- Adjust max video br : on=1 (total 2756 kbps)
--------------------------------------------------------
- Movie length : 01:45:57 (152430 frames, 23.976 fps)
- D2S audio settings : (128 kbps + 0) kbps
- D2S video estimate : 2230 kbps, 3 CDs



w00kie: Thanks. You spotted a bug, and I know how to fix it, but please let me rather work on the new version 3 (w/AutoIt3). The current version has gotten kind of messy (the AutoIt2 language is the main reason for that). I intend to release it within this month (hopefully a much better plugin) :D

telemike
20th October 2003, 10:44
Tylo-

Yes it was with the latest version of D2S that messed up. I had just downloaded it. It was also with B2 that it did not work which leads me to guess that the newest release of D2S is caculating differently than D2S13B2

Trahald
23rd October 2003, 04:47
Well for now i just boost the max bitrate up (2250 is too low for me anyways) so it seems ok. cant wait for the new version

@telemike does the new version or d2s encode ok w/out d2sroba?

r6d2
23rd October 2003, 20:24
Hi, folks,

Just a note to tell you that I've made this thread sticky. Even though its popularity speaks for itself, I think that newcomers should get acquainted with the subject.

tylo
24th October 2003, 10:02
Thanks, r6d2, I was wondering where it was gone :D

Got a demo of D2SRoBa3. It only does the things up to the Q-search, so its just for you to see what I'm up to.

Download: http://home.no.net/tylo/D2SRoBa3.exe
and just place it in the Tylo directory.
Try out:
- Recover: it will open a different Open dialog, and hide the original...
- Detach / Attach Log window, does it behave OK?
- Preview: If AVISYNTH.INI was touched (eg by FACAR), it shows the Frameserver tab.
- Check if numbers in log win looks OK.

I'm close to implement the "Newton-Raphson" Q-search, so I may throw some questions at you while doing that, r6d2 :)

For those who had problems with CCE not shutting down properly with D2SRoBa 2.x, please tell how this demo works. I now do a ProcessWaitClose("EclCCE.exe"), but if CCE (cctspt.exe) is the problem, please let me know ( - I could wait for both).

Cheers.

r6d2
24th October 2003, 12:06
Originally posted by tylo
I'm close to implement the "Newton-Raphson" Q-search, so I may throw some questions at you while doing that, r6d2 :)
Please be my guest. I'm on the "Babylonians to go" class.

Crackhead
24th October 2003, 14:24
i just tried the new version and it worked very well to the point it stopped....as you said:D

i just wondered if there is a way to cancel D2S's audio extraction and conversion if you got that audio stream already on your hard disk!
I mostly do 2-3 different encodes of 1 movie to see if i can get a better quality cause i only do 1cd encodes at the moment, ok it takes only about 45-60mins but the wasted time get bigger with every encode and..you know time is money! :confused:

Greetz, Crackhead

telemike
25th October 2003, 16:33
Latest success story with DVD2SVCD 1.1.3B2 and RC2 of Tylo

========================================================
D2SRoBa v2.7.0 RC2 - DVD2SVCD plugin, by tylo
OS Version: WIN_XP
--------------------------------------------------------
- DVD2SVCD Shutdown
- 2003-10-25 06:17:48
--------------------------------------------------------
Settings:
- Encoding mode : OPV RoBa (Recover=No)
- CD size : 800
- Number of CD's : auto
- Auto Q. (worst) : 40
- Maximum Q. : 64
- Sample percentage : 1.0
- Adjust Q. : 1.2
- Sample GOPs : 1
- Sizing pass : on=0 (-4.0 .. 1.0)%
- Audio after video : on=0 (Fixed bitrate, 10%, min 128 kbps)
- Adjust max video br : on=1 (total 2500 kbps)
--------------------------------------------------------
- Movie length : 02:18:17 (198939 frames, 23.976 fps)
- D2S audio settings : (160 kbps + 0) kbps
- D2S video estimate : 2193 kbps, 3 CDs
- SelectRangeEvery : every 1500, select 15 frames
- Num. sample frames : 1995
--------------------------------------------------------
Calculations:
- 1 CD: Video BR=614 Audio 1 BR=160 Video SZ=636827171.
- 2 CD: Video BR=1404 Audio 1 BR=160 Video SZ=1456197636.
- 3 CD: Video BR=2193 Audio 1 BR=160 Video SZ=2274530922.
- 4 CD: Video BR=2983 Audio 1 BR=160 Video SZ=3093901386.
--------------------------------------------------------
- Using Max bitrate=2340 for auto samples (adj. for 2 CDs)
- Estimated mpv size : 1028843104. (Q=40, 991 kbps, 10317444 sample sz)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Number of CDs : 2
- Target mpv size : 1456197636. (1404 / max 2340) kbps
--------------------------------------------------------
- Binary search for Q:
- Estimated mpv size : 1561395328. (Q=20, 1505 kbps, 15657984 sample sz)
- Computed mpv size : 1295119216. (Q=30, 1248 kbps, 12987714.=(Q40+Q20)/2)
- Estimated mpv size : 1363136809. (Q=25, 1314 kbps, 13669808 sample sz)
- Estimated mpv size : 1479109371. (Q=22, 1426 kbps, 14832804 sample sz)
- Computed mpv size : 1421123090. (Q=23, 1370 kbps, 14251306.=(Q25+Q22)/2)
--------------------------------------------------------
- Q Weight : 1.0 - (1456197636. / 99.7187969924812 - 14251306.) / (14832804 - 14251306.)
- Adjust Q : (23 + (0.395123372370019) - (1.2)) = 22.19512337237
- Determined Q. : 22
--------------------------------------------------------
- Encoding Movie
- 2003-10-25 06:26:34
- Actual mpv file size:
10/25/2003 08:50 AM 1396953432 Encoded_Video_CCE_NTSC.mpv
- OPV pass result: 95.9% on target ( 1396953432 / 1456197636.)
--------------------------------------------------------
- Recover from pulldown/muxing
- 2003-10-25 08:50:55

tylo
26th October 2003, 10:23
Interesting results! 2:18 long movie with Q=22 on 2CDs is impressive. Which filters do you use?
Note, although you "only" got 95.9% on target, you're only one Q from the optimal Q=21 in this case (the Q-steps here is about 40MB), i.e Q=20 would have oversized.
PS. I also think the 1.1.3B2 release was particulary good. (D2SRoBa still works with it, as you just documented) :)

telemike
26th October 2003, 12:55
I only used Bilinearresize. No Filters. It was The Matrix: Reloaded btw.

I left the adjust Q at 1.2, should I adjust it to a different number?

Can't wait for the new version. :)

tylo
27th October 2003, 11:33
No, I have used a higher Q adjust, but it sometimes oversizes then. IMO, 1.2 is the optimal value, at least if you don't want oversizing.

A few results with my new DVD burner:
To get started, I tried with one of the one-click tools (DVD2One).
- Burned on a DVD+RW media with Nero (both 5.5.10.54 and 6.0.0.19) 4x speed --> Failed at end of burn (I've heard 5.5.10.45 is good).
- Burned with Stomp RecordNow Max --> Worked.
- Visual result --> Mediocre, much artifacts (as expected)
Most of my SVCDs looks better (on my 32" ws TV). Maybe DVDShrink is better, but it uses basically the same transcoding method.

For DVD backups, I'll still go with SVCD (D2SRoBa, FACAR). :) Later I'll try DVD output. For my DVs, I'll make DVDs.

telemike
27th October 2003, 14:24
Tylo-

I just did "the phantom menace" on 2 CD's at a Q of 23. I got 97.7%!

I like using DVDShrink to rip the extras to my harddrive so I can make a CD of extra material. I like the preview function in dvdshrink.

r6d2
27th October 2003, 14:32
Originally posted by telemike
I just did "the phantom menace" on 2 CD's at a Q of 23. I got 97.7%!

I just did LOTR:TTT, 2 CDs, Q=34, 100%!!!

@Tylo,

You may be interested in taking a look at this thread (http://forum.doom9.org/showthread.php?s=&postid=391301#post391301).

Some guys are thinking of implementing "RoBa" in MPEG-4 :D

I have just started to play with MPEG-4 and I am really, really surprised of the good quality.

syzygytec
1st November 2003, 15:41
My first results with RC2 on 1.1.3b2 were good with my limited understanding. 2 full discs. My best results yet with d2sroba. So my log submission.

========================================================
D2SRoBa v2.7.0 RC2 - DVD2SVCD plugin, by tylo
OS Version: WIN_XP
--------------------------------------------------------
- DVD2SVCD Shutdown
- 2003-11-01 01:05:51
--------------------------------------------------------
Settings:
- Encoding mode : OPV RoBa (Recover=No)
- CD size : 800
- Number of CD's : auto
- Auto Q. (worst) : 40
- Maximum Q. : 64
- Sample percentage : 5.0
- Adjust Q. : 1.2
- Sample GOPs : 1
- Sizing pass : on=1 (-2.0 .. 1.0)%
- Audio after video : on=0 (% of Video, 10%, min 128 kbps)
- Adjust max video br : on=1 (total 2754 kbps)
--------------------------------------------------------
- Movie length : 02:06:51 (182501 frames, 23.976 fps)
- D2S audio settings : (192 kbps + 0) kbps
- D2S video estimate : 1517 kbps, 2 CDs
- SelectRangeEvery : every 300, select 15 frames
- Num. sample frames : 9135
--------------------------------------------------------
Calculations:
- 1 CD: Video BR=655 Audio 1 BR=192 Video SZ=623217776.
- 2 CD: Video BR=1517 Audio 1 BR=192 Video SZ=1443391397.
- 3 CD: Video BR=2380 Audio 1 BR=192 Video SZ=2264516496.
- 4 CD: Video BR=3242 Audio 1 BR=192 Video SZ=3084690118.
--------------------------------------------------------
- Using Max bitrate=2562 for auto samples (adj. for 2 CDs)
- Estimated mpv size : 1173180758. (Q=40, 1233 kbps, 58723000 sample sz)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Number of CDs : 2
- Target mpv size : 1443391397. (1517 / max 2562) kbps
--------------------------------------------------------
- Binary search for Q:
- Estimated mpv size : 1742389051. (Q=20, 1831 kbps, 87214448 sample sz)
- Estimated mpv size : 1397462201. (Q=30, 1468 kbps, 69949300 sample sz)
- Computed mpv size : 1569925626. (Q=25, 1649 kbps, 78581874.=(Q30+Q20)/2)
- Computed mpv size : 1483693913. (Q=27, 1559 kbps, 74265587.=(Q30+Q25)/2)
- Estimated mpv size : 1454801837. (Q=28, 1528 kbps, 72819408 sample sz)
- Computed mpv size : 1426132019. (Q=29, 1498 kbps, 71384354.=(Q30+Q28)/2)
--------------------------------------------------------
- Q Weight : 1.0 - (1443391397. / 19.9782156540777 - 71384354.) / (72819408 - 71384354.)
- Adjust Q : (29 + (0.397994842937199) - (1.2)) = 28.1979948429372
- Determined Q. : 28
--------------------------------------------------------
- Encoding Movie
- 2003-11-01 01:32:45
- Actual mpv file size:
11/01/2003 03:16 AM 1400137164 Encoded_Video_CCE_NTSC.mpv
- OPV pass result: 97.% on target ( 1400137164 / 1443391397.)
--------------------------------------------------------
- Executing VBR Sizing Pass - 1517 kbps.
- Actual mpv file size:
11/01/2003 05:00 AM 1443249492 Encoded_Video_CCE_NTSC.mpv
- Sizing pass result: 100.% on target ( 1443249492 / 1443391397.)
--------------------------------------------------------
- Recover from pulldown/muxing
- 2003-11-01 05:00:43

r6d2
2nd November 2003, 06:03
Hi, folks,

I think you may be interested in taking a look at this (http://forum.doom9.org/showthread.php?s=&threadid=64340) thread.

@DDogg, no jokes about babylonian stuff again please :D

tylo
3rd November 2003, 11:44
Almost there...
I have put my sole into making D2SRoBa 3.0 worth the while.
It's working great - only one minor item left, then final testing. Release this week.

Highlights
----------
- Completely rewritten using AutoIt3
- No more annoying splash screen - a nice log window instead
- Less bugs
- Faster
- No more use of the clipboard

New functionality
-----------------
- Uses Newton-Raphson for Q search - only 3 sample tests in total usually needed! (thanks r6d2)
- Corrected much of the misbehaviors in the 2.x versions:
e.g. it handles when target br > max avg bitrate. Also, both max avg and max bitrates are adjusted.
- I may get this in: A "silent" mode, where D2S (after restore), and CCE (after termin.) are running minimized!

Removed functionality
---------------------
- Sorry, currently it doesn't work with CCE 2.50, probably because of a bug in AutoIt3 (very strange one - it can't detect the encoding window).
- The "Credits tweaking" is gone - but was really an unrelated feature

I would like to create a fresh HTML page for the new release, so if anyone could create/suggest a pretty layout, it would be great.

Siku
3rd November 2003, 12:01
@tylo

That sounds great! Looking forward to the final release!

Regards,
Siku

telemike
3rd November 2003, 13:02
- Sorry, currently it doesn't work with CCE 2.50, probably because of a bug in AutoIt3 (very strange one - it can't detect the encoding window).

Bummer, I still have 2.67 so I guess I'll switch back.

Can't wait to try it.

tylo
3rd November 2003, 14:59
- It works with CCE 2.66 and 2.67, just not 2.50.
- I'd say Friday for release, but you never know...

r6d2
3rd November 2003, 18:56
@Tylo, just curious... Did you get my PM?

sPeziFisH
4th November 2003, 16:02
Whow Tylo, your tool is just great. I changed from 4-pass to D2SRoba, at least about 10 encodes were made since that decision. ...and they all are damn fine.
The last months I made the experience that encodes with bitrates down to 1400 are fine enough (in the past I refused everything under 1900).
In comparison to telemikes 'Matrix Reloaded' here's my encode (ok, it's not the same: I got PAL, set audio to 192kbps (IMO (now) I should had set it to 160 but why encoding it again) and I used bicubic precize (like it a bit more sharper, even it enforces a higher Q-value)).
Don't know why the NTSC-version is a bit longer than its Pal-crony. maybe these additional 6min results in a 30bit higher bitrate (plz don't waste time calculating also when we all know it's done quite fast).
Also I forced to make a 2nd pass (sizing pass).

Whoo, and we all are waiting for friday or the start of the next week
*doing the 'D2SRoba 3'-move*

========================================================
D2SRoBa v2.7.0 RC2 - DVD2SVCD plugin, by tylo
OS Version: WIN_XP
--------------------------------------------------------
- DVD2SVCD Shutdown
- 2003-11-02 21:59:14
--------------------------------------------------------
Settings:
- Encoding mode : OPV RoBa (Recover=No)
- CD size : 800
- Number of CD's : auto
- Auto Q. (worst) : 30
- Maximum Q. : 40
- Sample percentage : 1.0
- Adjust Q. : 1.2
- Sample GOPs : 1
- Sizing pass : on=1 (-2.0 .. 0.0)%
- Audio after video : on=0 (% of Video, 10%, min 128 kbps)
- Adjust max video br : on=1 (total 2754 kbps)
--------------------------------------------------------
- Movie length : 02:12:37 (198945 frames, 25 fps)
- D2S audio settings : (192 kbps + 0) kbps
- D2S video estimate : 1434 kbps, 2 CDs
- SelectRangeEvery : every 1200, select 12 frames
- Num. sample frames : 1992
--------------------------------------------------------
Calculations:
- 1 CD: Video BR=613 Audio 1 BR=192 Video SZ=609766425.
- 2 CD: Video BR=1434 Audio 1 BR=192 Video SZ=1426435650.
- 3 CD: Video BR=2255 Audio 1 BR=192 Video SZ=2243104875.
- 4 CD: Video BR=3076 Audio 1 BR=192 Video SZ=3059774100.
--------------------------------------------------------
- Using Max bitrate=2562 for auto samples (adj. for 3 CDs)
- Estimated mpv size : 1362317035. (Q=30, 1369 kbps, 13640632 sample sz)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Number of CDs : 2
- Target mpv size : 1426435650. (1434 / max 2562) kbps
--------------------------------------------------------
- Binary search for Q:
- Estimated mpv size : 1873295283. (Q=15, 1883 kbps, 18756964 sample sz)
- Computed mpv size : 1617806159. (Q=22, 1626 kbps, 16198798.=(Q30+Q15)/2)
- Computed mpv size : 1490061597. (Q=26, 1497 kbps, 14919715.=(Q30+Q22)/2)
- Estimated mpv size : 1412800727. (Q=28, 1420 kbps, 14146116 sample sz)
- Computed mpv size : 1451431212. (Q=27, 1459 kbps, 14532916.=(Q28+Q26)/2)
--------------------------------------------------------
- Q Weight : 1.0 - (1426435650. / 99.8719879518072 - 14146116) / (14532916. - 14146116)
- Adjust Q : (28 + (0.647042399172689) - (1.2)) = 27.4470423991727
- Determined Q. : 27
--------------------------------------------------------
- Encoding Movie
- 2003-11-02 22:03:28
- Actual mpv file size:
02.11.2003 23:27 1367113620 Encoded_Video_CCE_PAL.mpv
- OPV pass result: 95.8% on target ( 1367113620 / 1426435650.)
--------------------------------------------------------
- Executing VBR Sizing Pass - 1434 kbps.
- Actual mpv file size:
03.11.2003 00:51 1425005536 Encoded_Video_CCE_PAL.mpv
- Sizing pass result: 99.9% on target ( 1425005536 / 1426435650.)
--------------------------------------------------------
- Recover from pulldown/muxing
- 2003-11-03 00:51:23

r6d2
4th November 2003, 16:30
Originally posted by sPeziFisH
Don't know why the NTSC-version is a bit longer than its Pal-crony. maybe these additional 6min results in a 30bit higher bitrate.
I think this has to do with the very nature of PAL, NTSC and Films being shot at 24-fps. In fact, your PAL encode should also have higher audio pitch. Check this (http://nickyguides.digital-digest.com/interlace.htm) if interested.

DDogg
4th November 2003, 23:14
tylo, yes, I certainly agree you should start a new thread with the next version. This one is getting mighty long and has a lot of content that is now out of date.

New Thread Started (http://forum.doom9.org/showthread.php?s=&threadid=64579)

syzygytec
12th November 2003, 15:33
Yes I know v3 is out in it's own new topic, I'll leave the testing to the pro's I think, I'd be glad to test it, but for now on this slow P3 1.2ghz I'll stay with this version as I am having great results, so much so I wanted to post my latest log. T e r m i n a t o r 3.
Total time from Rip & Convert until completion: 11/12/2003 1:19:40 AM - 11/12/2003 6:22:06 AM

D2S 1.2.1b3 D2SRoBa 2.70rc2,
FACAR 1.06.6 (Lancos Resize)
CCE 2.67
Avisynth 2.5.2
no other filters,
standard 2.6x matrice
WinXP Pro SP1 Pentium3 1.2ghz 512RAM FAT32 pagefile off

========================================================
D2SRoBa v2.7.0 RC2 - DVD2SVCD plugin, by tylo
OS Version: WIN_XP
--------------------------------------------------------
- DVD2SVCD Shutdown
- 2003-11-12 02:00:33
--------------------------------------------------------
Settings:
- Encoding mode : OPV RoBa (Recover=No)
- CD size : 800
- Number of CD's : auto
- Auto Q. (worst) : 35
- Maximum Q. : 64
- Sample percentage : 2.0
- Adjust Q. : 1.2
- Sample GOPs : 1
- Sizing pass : on=1 (-2.0 .. 1.0)%
- Audio after video : on=1 (% of Video, 10%, min 128 kbps)
- Adjust max video br : on=1 (total 2754 kbps)
--------------------------------------------------------
- Movie length : 01:49:00 (156808 frames, 23.976 fps)
- D2S audio settings : (128 kbps + 0) kbps
- D2S video estimate : 1860 kbps, 2 CDs
- SelectRangeEvery : every 600, select 12 frames
- Num. sample frames : 3144
--------------------------------------------------------
Calculations:
- 1 CD: Video BR=858 Audio 1 BR=128 Video SZ=701437188.
- 2 CD: Video BR=1828 Audio 1 BR=160 Video SZ=1494437271.
- 3 CD: Video BR=2734 Audio 1 BR=256 Video SZ=2235115700.
- 4 CD: Video BR=3672 Audio 1 BR=320 Video SZ=3001954955.
--------------------------------------------------------
- Using Max bitrate=2594 for auto samples (adj. for 2 CDs)
- Estimated mpv size : 968584463. (Q=35, 1184 kbps, 19420116 sample sz)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Number of CDs : 2
- Target mpv size : 1494437271. (1828 / max 2594) kbps
--------------------------------------------------------
- Binary search for Q:
- Estimated mpv size : 1431290357. (Q=17, 1750 kbps, 28697368 sample sz)
- Estimated mpv size : 1777644117. (Q=8, 2174 kbps, 35641760 sample sz)
- Computed mpv size : 1604467237. (Q=12, 1962 kbps, 32169564.=(Q17+Q8)/2)
- Estimated mpv size : 1541051768. (Q=14, 1885 kbps, 30898084 sample sz)
- Estimated mpv size : 1503782935. (Q=15, 1839 kbps, 30150844 sample sz)
- Computed mpv size : 1467536646. (Q=16, 1795 kbps, 29424106.=(Q17+Q15)/2)
--------------------------------------------------------
- Q Weight : 1.0 - (1494437271. / 49.8753180661578 - 29424106.) / (30150844 - 29424106.)
- Adjust Q : (16 + (0.257837802062784) - (1.2)) = 15.0578378020628
- Determined Q. : 15
--------------------------------------------------------
- Encoding Movie
- 2003-11-12 02:14:42
- Actual mpv file size:
11/12/2003 03:54 AM 1442881340 Encoded_Video_CCE_NTSC.mpv
- OPV pass result: 96.6% on target ( 1442881340 / 1494437271.)
--------------------------------------------------------
- Executing VBR Sizing Pass - 1828 kbps.
- Actual mpv file size:
11/12/2003 05:34 AM 1493146520 Encoded_Video_CCE_NTSC.mpv
- Sizing pass result: 99.9% on target ( 1493146520 / 1494437271.)
--------------------------------------------------------
- Executing: C:\DVD2SVCD\BeSweet\BeSweet.exe -core( -input "C:\DVD2SVCD\Movie\Extracted_audio_1.ac3" -output "C:\DVD2SVCD\Movie\Encoded_audio_1.mp2" -logfile "C:\DVD2SVCD\Movie\Encoded_audio_1.log" ) -azid( -L -3db -C 0db -S 0db -c normal -s surround -g max ) -shibatch( --rate 44100 ) -2lame( -e -b 160 -m s )
--------------------------------------------------------
- Recover from pulldown/muxing
- 2003-11-12 06:06:11

cd sizes
1) 824,850 Playing Time: 56:44
2) 824,280 Playing Time: 52:16

syzygytec
28th November 2003, 14:36
oops wrong thread