View Full Version : D2SRoBa 3.3.3 - Plugin
Pages :
[
1]
2
3
4
5
6
7
8
9
10
11
12
13
tylo
6th November 2003, 11:40
D2SRoBa 3... It's out.
http://home.tiscali.no/tylohome
JoLander
6th November 2003, 13:14
Cool,
I downloaded and installed this new version and it starts correctly.
Unfortunately I'm not able to change the 'Num CDs' parameter.
There is a '1' displayed and there is nothing else in the selection list. Neither an 'auto' nor an '?' or any other number of CD's.
I can't also overwrite this field with a value (like the 'CD Size' field).
Any Ideas ??
Greetz,
Joe
tylo
6th November 2003, 14:46
You have selected [DVD] output. D2S only allows 1 DVD output, I believe (does it make any sense with more than one?). You have the regular num CD choices when selecting SVCD output.
DDogg
6th November 2003, 15:12
tylo, I did a restart with 1 cd set as target which was a little unfair for a first beta :) The plugin shifted to 2 cds.
--------------------------------------------------------
D2SRoBa v3.0 beta 1
- Author: Tylo
- System: WIN_XP, AutoIt: 3.0.72.0
--------------------------------------------------------
- 2003-11-06 07:55:11
--------------------------------------------------------
Settings:
- Output type : SVCD
- CD size : 800
- Number of CD's : 1
- Sample percent : 1.0
- Auto Q. (worst) : 32
- Maximum Q. : 64
- Adjust Q : 1.0
- Sizing pass : on=1 (-2.0 .. 1.0)%
- Audio by plugin : on=0 (% of video, 10%, min 128 kbps)
- Adjust max br : on=1 (total 2754 kbps)
- Crash recover : Yes
--------------------------------------------------------
- Waiting for CCE window ...
- Finished shutdown of CCE and D2S
--------------------------------------------------------
- Movie length : 01:44:48 (150769 frames, 23.976 fps)
- D2S audio setting : (128 + 0) kbps
- D2S video estim. : 1941 kbps, 2 CDs
- Select Ranges : every 1200, select 12 frames
- Sample frames : 1512
--------------------------------------------------------
Calculations:
- 1 CD: video_br=899 (899) audio1_br=128 video_sz=706651083. fill=100.0% cbr=0
- 2 CD: video_br=1941 (1941) audio1_br=128 video_sz=1525706065. fill=100.0% cbr=0
- 3 CD: video_br=2626 (2984) audio1_br=128 video_sz=2064144321. fill=88.6% cbr=1
--------------------------------------------------------
Computing target number of CDs:
- Using max bitrate=2626 for auto sample (adjusted for 1 CDs)
- Estim. mpv size : 796169209. (Q=32, 1012 kbps, err=0.0%, sample sz=7984452.)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Number of CDs : 2
- Target mpv size : 1525706065. (1941 / max 2626) kbps
--------------------------------------------------------
Search for Q:
- Estim. mpv size : 1007264156. (Q=20, 1281 kbps, err=-33.9%, sample sz=10101436.)
- Estim. mpv size : 1291669134. (Q=10, 1643 kbps, err=-15.3%, sample sz=12953616.)
- Estim. mpv size : 1575701577. (Q=2, 2004 kbps, err=3.2%, sample sz=15802060.)
- Estim. mpv size : 1549973126. (Q=3, 1971 kbps, err=1.5%, sample sz=15544040.)
- Estim. mpv size : 1519202290. (Q=4, 1932 kbps, err=-0.4%, sample sz=15235452.)
- Determined Q : 3 = round(4 - 1.0 + (-0.4)/2.0)
--------------------------------------------------------
- Encoding Movie
- 2003-11-06 08:08:29
Starting from new seems to be fine.
--------------------------------------------------------
D2SRoBa v3.0 beta 1
- Author: Tylo
- System: WIN_XP, AutoIt: 3.0.72.0
--------------------------------------------------------
- 2003-11-06 08:40:32
--------------------------------------------------------
Settings:
- Output type : SVCD
- CD size : 800
- Number of CD's : 1
- Sample percent : 1.0
- Auto Q. (worst) : 32
- Maximum Q. : 64
- Adjust Q : 1.0
- Sizing pass : on=1 (-2.0 .. 1.0)%
- Audio by plugin : on=0 (% of video, 10%, min 128 kbps)
- Adjust max br : on=1 (total 2754 kbps)
- Crash recover : No
--------------------------------------------------------
- Waiting for CCE window ...
- Finished shutdown of CCE and D2S
--------------------------------------------------------
- Movie length : 01:44:31 (150359 frames, 23.976 fps)
- D2S audio setting : (128 + 0) kbps
- D2S video estim. : 1946 kbps, 2 CDs
- Select Ranges : every 1200, select 12 frames
- Sample frames : 1512
--------------------------------------------------------
Calculations:
- 1 CD: video_br=901 (901) audio1_br=128 video_sz=706297230. fill=100.0% cbr=0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Number of CDs : 1
- Target mpv size : 706297230. (901 / max 2626) kbps
--------------------------------------------------------
Search for Q:
- Estim. mpv size : 649408477. (Q=44, 828 kbps, err=-8.0%, sample sz=6530408.)
- Estim. mpv size : 693153001. (Q=39, 884 kbps, err=-1.8%, sample sz=6970300.)
- Estim. mpv size : 713527441. (Q=37, 910 kbps, err=1.0%, sample sz=7175184.)
- Estim. mpv size : 703112495. (Q=38, 896 kbps, err=-0.5%, sample sz=7070452.)
- Determined Q : 37 = round(38 - 1.0 + (-0.5)/1.6)
--------------------------------------------------------
- Encoding Movie
- 2003-11-06 09:03:39
tylo
6th November 2003, 16:15
This appears to be a AutoIt3 related thing. I am 99% positive that the plugin has correct logic here, so it isn't executed correctly. I'll trace it down - hopfully it can be tweaked to avoid the prob.
In this (first) example it used 6 tests altogether which is 2-3 more than in the normal case. This may happen when Q gets close to 1, or maybe very high. My enodings so far has only used 3-4 tests in total.
PS: remember, 6 tests was always needed in the original binary search method (Bach and others).
/Add: I've also noted that this happens frequently:
Q=39, 884 kbps, err=-1.8%, sample sz=6970300.)
Q=37, 910 kbps, err=1.0%, sample sz=7175184.)
Q=38, 896 kbps, err=-0.5%, sample sz=7070452.) <-- not needed
When the algorithm has decided to test 38, when it already has tested 39 and 37, it is not really neccesary to perform the 38 test. It must be the target. I'll put in a check for that.
DDogg
6th November 2003, 16:36
I have another odd one for you :) This was a restart where I chose Auto mode. Got a final Q=84! :)
--------------------------------------------------------
D2SRoBa v3.0 beta 1
- Author: Tylo
- System: WIN_XP, AutoIt: 3.0.72.0
--------------------------------------------------------
- 2003-11-06 09:19:01
--------------------------------------------------------
Settings:
- Output type : SVCD
- CD size : 800
- Number of CD's : auto
- Sample percent : 1.0
- Auto Q. (worst) : 32
- Maximum Q. : 64
- Adjust Q : 1.0
- Sizing pass : on=1 (-2.0 .. 1.0)%
- Audio by plugin : on=0 (% of video, 10%, min 128 kbps)
- Adjust max br : on=1 (total 2754 kbps)
- Crash recover : Yes
--------------------------------------------------------
- Waiting for CCE window ...
- Finished shutdown of CCE and D2S
--------------------------------------------------------
- Movie length : 01:44:31 (150359 frames, 23.976 fps)
- D2S audio setting : (128 + 0) kbps
- D2S video estim. : 1946 kbps, 2 CDs
- Select Ranges : every 1200, select 12 frames
- Sample frames : 1512
--------------------------------------------------------
Calculations:
- 1 CD: video_br=901 (901) audio1_br=128 video_sz=706297230. fill=100.0% cbr=0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Number of CDs : 1
- Target mpv size : 706297230. (901 / max 2626) kbps
--------------------------------------------------------
Search for Q:
- Estim. mpv size : 1512920214. (Q=0, 1929 kbps, err=114.1%, sample sz=15213824.)
- Estim. mpv size : 1492889053. (Q=2, 1904 kbps, err=111.3%, sample sz=15012392.)
- Estim. mpv size : 473111753. (Q=82, 603 kbps, err=-33.0%, sample sz=4757580.)
- Estim. mpv size : 533494416. (Q=64, 680 kbps, err=-24.4%, sample sz=5364784.)
- Estim. mpv size : 1167920692. (Q=12, 1489 kbps, err=65.3%, sample sz=11744532.)
- Estim. mpv size : 606676687. (Q=50, 773 kbps, err=-14.1%, sample sz=6100700.)
- Estim. mpv size : 657554911. (Q=43, 838 kbps, err=-6.9%, sample sz=6612328.)
- Estim. mpv size : 723873970. (Q=36, 923 kbps, err=2.4%, sample sz=7279228.)
- Determined Q : 84 = round(0 - 1.0 + (114.1)/1.3)
--------------------------------------------------------
- Encoding Movie
- 2003-11-06 09:32:16
Those are sure some strange Q calcs ? ... BTW, are sure Newton wasn't just smokin some Babylonian? :D
/later: Start from new looks much more promising. I'll know in 37 minutes (RT=2.64 - blatant brag)
Settings:
- Output type : SVCD
- CD size : 800
- Number of CD's : auto
- Sample percent : 1.0
- Auto Q. (worst) : 32
- Maximum Q. : 64
- Adjust Q : 1.0
- Sizing pass : on=1 (-2.0 .. 1.0)%
- Audio by plugin : on=0 (% of video, 10%, min 128 kbps)
- Adjust max br : on=1 (total 2754 kbps)
- Crash recover : No
--------------------------------------------------------
- Waiting for CCE window ...
- Finished shutdown of CCE and D2S
--------------------------------------------------------
- Movie length : 01:44:31 (150359 frames, 23.976 fps)
- D2S audio setting : (128 + 0) kbps
- D2S video estim. : 1946 kbps, 2 CDs
- Select Ranges : every 1200, select 12 frames
- Sample frames : 1512
--------------------------------------------------------
Calculations:
- 1 CD: video_br=901 (901) audio1_br=128 video_sz=706297230. fill=100.0% cbr=0
- 2 CD: video_br=1946 (1946) audio1_br=128 video_sz=1525476591. fill=100.0% cbr=0
- 3 CD: video_br=2626 (2991) audio1_br=128 video_sz=2058531104. fill=88.4% cbr=1
--------------------------------------------------------
Computing target number of CDs:
- Using max bitrate=2626 for auto sample (adjusted for 2 CDs)
- Estim. mpv size : 790435274. (Q=32, 1008 kbps, err=0.0%, sample sz=7948564.)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Number of CDs : 2
- Target mpv size : 1525476591. (1946 / max 2626) kbps
--------------------------------------------------------
Search for Q:
- Estim. mpv size : 1330377625. (Q=10, 1697 kbps, err=-12.7%, sample sz=13378188.)
- Estim. mpv size : 1637629082. (Q=2, 2089 kbps, err=7.3%, sample sz=16467888.)
- Estim. mpv size : 1544528619. (Q=5, 1970 kbps, err=1.2%, sample sz=15531676.)
- Estim. mpv size : 1505977049. (Q=6, 1921 kbps, err=-1.2%, sample sz=15144004.)
- Determined Q : 4 = round(5 - 1.0 + (1.2)/2.5)
--------------------------------------------------------
- Encoding Movie
- 2003-11-06 09:54:47
tylo
6th November 2003, 17:11
What the heck! When it comes to testing, you're one of a kind. :D
Anyway - its the same bug as the first - just oposite. This time you recovered with 'auto' but it didn't do the: 'Computing target number of CDs', which it should - and should not have in your first log.
Something funny is happening with the recover it seems - avoid it until next beta.
/Add: @ddogg: my guess is that your current encode will oversize a bit: If i'm right, try 0.8 for adjust Q -> that would have keept Q=5.
r6d2
6th November 2003, 17:30
Great work, Tylo!
Originally posted by tylo
/Add: I've also noted that this happens frequently:
Q=39, 884 kbps, err=-1.8%, sample sz=6970300.)
Q=37, 910 kbps, err=1.0%, sample sz=7175184.)
Q=38, 896 kbps, err=-0.5%, sample sz=7070452.) <-- not needed
It must be the target. I'll put in a check for that.
Some comments:
The Newton method works best if you implement all exit conditions:
1. Q Error < 1. This is the absolute difference two consecutive Q values may have before ending the search. Normally you set this to 1, because if two consecutive Qs are 1 unit away from each other, further iterations are not needed. If you want to stop when two consecutive Qs are identical (to avoid potential infinite loop), choose 0.5.
2. BR Error < 1,0% This is the relative difference value two consecutive BR values may have before ending the search. Normally something like 1% or 2% is enough precision to get the right Q. Even though in theory a BR within +/- 10% of the real one is adequate enough for RoBa, a lower value will likely get more chances to succeed in 1 pass.
(If you have questions let me know, but this is also how the spreadsheet works).
Also, to avoid babylonian frustrations (like Q=0) and to optimize the search, I found this magic number, used only in the second iteration, works very well:
Max(Average(1,Q_Desired),Q_Desired*(1+2*BR_Error_First_iteration))
3rd and following iterations use the normal Newton function.
D2S only allows 1 DVD output, I believe (does it make any sense with more than one?).
AFAIK not, but it would be interesting if D2S would allow it to encode "big" dual layer DVD sources.
Thanks again for a great tool.
DDogg
6th November 2003, 17:56
@ddogg: my guess is that your current encode will oversize a bit: If i'm right, try 0.8 for adjust Q -> that would have keept Q=5. Exactly right - - OPV pass result: 104.1% on target ( 1587967176 / 1525476591.)
DDogg
6th November 2003, 18:21
I wondering if any of the new users of the plugin would know that you have to use a special CCE template to use D2SRoBa? Maybe we should do some instructions about that and place it CLEARLY on the D2SRoBa webpage? Gee, if they did not have the right template defined with "use existing VAF" and they have not chosen it in the advanced dropdown in D2s I'm wondering what their result would be?
tylo
6th November 2003, 18:55
I'll look into creating the RB's 'Progressive template' from the installation (optional), and make D2S use it - all automatically. :). Are there any modifications needed on that template other than the 'Use existing vaf' thing?
DDogg
6th November 2003, 19:35
Hmm, that could be another can of worms. Perhaps just having a notice come up in the installation dialog telling the user that a template for use with D2sRoBa must be defined and chosen in d2s...preferably with a link to a simple instruction page /maybe template download page /?
I say can of worms because source might be progressive or interlaced with all types of permutations. I think you should just tell the user it is their responsibility. /add I guess you could check that a template has been chosen in D2s?
Instructions (first draft) could just be:
1> In the CCE Template menu make sure "Standard" is checked, and then click on it again. This will bring up the template design interface. In other words, clicking on any checked template brings up the template creation/edit dialog box.
2> For the Progressive D2sRoBa template in the 2.67.x CCE series go to quality tab and uncheck everything except "Progressive Frame Flag" and "Zigzag". Exit the Quality tab. (for Interlaced template see note below)
3> In the video tab uncheck everything except "Add Sequence Endcode". Set "Offset line" to 0 [note to self - double check all of this]. Set M=3 and N/M = 4. Exit the Video tab.
4> In the main area under "Mode" choose "MPEG-2 (ES, Multipass VBR)". Directly under "Mode" and the bitrate settings is "Multipass VBR settings" - Choose "Use existing file". Don't worry about any other special settings in the main tab except for step 5 below.
5> In "Title" change "Standard" to "D2sRoBa - Progressive", and click the "Add" button located in the lower left. Note - If needed, when changing this custom template in the future you would use "Replace" instead of "Add". Exit template design and verify D2sRoBa Progressive template is available in the template menu. Exit CCE.
6> Run DVD2SVCD. Go to the "encoder" tab and make sure "Cinema Craft Encoder" is selected. On the lower right of that dialog is "Advanced Settings" - Select it, check "use CCE template" and verify your custom template is available in the selection box. When doing an encode with D2sRoBa, remember to always chose this template.
Note: All settings are the same for the D2sRoBa - Interlaced template except step 2 above. The only thing that should be checked is "alternate". Follow the steps above with this exception and create your D2sRoBa - Interlaced template while you are doing this.
tylo
6th November 2003, 20:39
@DDogg, I agree that it could easily be to intrusive to do such a thing automatically (even if it is optional). Your instructions are good anyway. Ok.
@r6d2, Thanks for all help with the Newton method. I have used your spreadsheet and mails to implement it. DDoggs veird Q's is a result of wrong input due to the problem mentioned - not the Newton method.
There is maybe a few tweaks that can be done still: E.g. Adjust Q could be some function of Q - it seems that for low Q's we should be more careful with adjusting (as in DDogg's example), but on higher Q's, one can sometimes adjust 2. Maybe you can think about it.
Info: 1.2 is the BR error, 2.5 is the percentage size of one Q step relative to the target bitrate.
- Determined Q : 4 = round(5 - 1.0 + (1.2)/2.5)
This gave 4.48, - 4.50 would have rounded to Q=5, so it was close.
r6d2
6th November 2003, 21:10
Originally posted by tylo
There is maybe a few tweaks that can be done still: E.g. Adjust Q could be some function of Q - it seems that for low Q's we should be more careful with adjusting (as in DDogg's example), but on higher Q's, one can sometimes adjust 2. Maybe you can think about it.
It makes a lot of sense. I'll give it a thought.
DDogg
6th November 2003, 21:54
FYI - One data point on the source above doing a CVD - Q 28 693,560kb Q 29 679,812kb.
r6d2
7th November 2003, 02:41
Everything worked fine as fas as the encode matters. But after audio was encoded and D2S was resumed, I got a message box from it saying:
Audio+Video bitrate=2810 (or some number like that), out of specs, do you want to continue?
:confused:
--------------------------------------------------------
D2SRoBa v3.0 beta 1
- Author: Tylo
- System: WIN_XP, AutoIt: 3.0.72.0
--------------------------------------------------------
- 2003-11-06 15:53:37
--------------------------------------------------------
Settings:
- Output type : SVCD
- CD size : 800
- Number of CD's : auto
- Sample percent : 1.0
- Auto Q. (worst) : 40
- Maximum Q. : 50
- Adjust Q : 1.0
- Sizing pass : on=1 (-2.0 .. 0.0)%
- Audio by plugin : on=1 (% of video, 10%, min 128 kbps)
- Adjust max br : on=1 (total 2756 kbps)
- Crash recover : No
--------------------------------------------------------
- Waiting for CCE window ...
- Finished shutdown of CCE and D2S
--------------------------------------------------------
- Movie length : 01:51:32 (160459 frames, 23.976 fps)
- D2S audio setting : (128 + 0) kbps
- D2S video estim. : 1825 kbps, 2 CDs
- Select Ranges : every 1500, select 15 frames
- Sample frames : 1605
--------------------------------------------------------
Calculations:
- 1 CD: video_br=841 (841) audio1_br=128 video_sz=703547396. fill=100.0% cbr=0
- 2 CD: video_br=1761 (1761) audio1_br=192 video_sz=1473183074. fill=100.0% cbr=0
- 3 CD: video_br=2532 (2714) audio1_br=224 video_sz=2118171234. fill=93.8% cbr=1
--------------------------------------------------------
Computing target number of CDs:
- Using max bitrate=2564 for auto sample (adjusted for 2 CDs)
- Estim. mpv size : 841524176. (Q=40, 1005 kbps, err=0.0%, sample sz=8417392.)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Number of CDs : 2
- Target mpv size : 1473183074. (1761 / max 2564) kbps
--------------------------------------------------------
Search for Q:
- Estim. mpv size : 1427043366. (Q=16, 1705 kbps, err=-3.1%, sample sz=14274080.)
- Estim. mpv size : 1505648881. (Q=14, 1799 kbps, err=2.2%, sample sz=15060336.)
- Estim. mpv size : 1465245205. (Q=15, 1751 kbps, err=-0.5%, sample sz=14656196.)
- Determined Q : 14 = round(15 - 1.0 + (-0.5)/2.7)
--------------------------------------------------------
- Encoding Movie
- 2003-11-06 16:26:01
- Actual mpv file size:
06-11-2003 18:07 1418289976 Encoded_Video_CCE_NTSC_FS1.mpv
- OPV pass result: 96.3% on target ( 1418289976 / 1473183074.)
--------------------------------------------------------
- Executing VBR Sizing Pass - 1761 kbps.
- Actual mpv file size:
06-11-2003 19:33 1472236660 Encoded_Video_CCE_NTSC_FS1.mpv
- Sizing pass result: 99.9% on target ( 1472236660 / 1473183074.)
--------------------------------------------------------
- Executing: C:\Archivos de programa\DVD2SVCD\BeSweet\BeSweet.exe -core( -input "E:\Indiana I\Audio\Extracted_audio_1.ac3" -output "E:\INDIAN~1\Audio\Encoded_audio_1_FS1.mp2" -logfile "E:\INDIAN~1\Audio\Encoded_audio_1_FS1.log" ) -azid( -L -3db -l 0db -c normal -s surround -g max ) -2lame( -e -b 192 -m s ) -split( -start 0 -end 6692.44244244244 )
--------------------------------------------------------
- Recover:
- 2003-11-06 19:48:13
r6d2
7th November 2003, 12:44
I encoded another movie. I got the same D2S warning of out to spec things. Besides, I selected 1 CD, Roba used 2 and the result was 3! (a small third image for not doing sizing pass) :confused:
P.S.: Logs are much more difficult to post. They get blanks lines almost every other line... (?) Have to edit them manually.
--------------------------------------------------------
D2Sroba v3.0 beta 1
- Author: Tylo
- System: WIN_XP, AutoIt: 3.0.72.0
--------------------------------------------------------
- 2003-11-06 23:59:20
--------------------------------------------------------
Settings:
- Output type : SVCD
- CD size : 800
- Number of CD's : 1
- Sample percent : 1.0
- Auto Q. (worst) : 40
- Maximum Q. : 60
- Adjust Q : 1.0
- Sizing pass : on=0 (-2.0 .. 0.0)%
- Audio by plugin : on=1 (% of video, 10%, min 80 kbps)
- Adjust max br : on=1 (total 2754 kbps)
- Crash recover : No
--------------------------------------------------------
- Waiting for CCE window ...
- Finished shutdown of CCE and D2S
--------------------------------------------------------
- Movie length : 01:53:20 (163046 frames, 23.976 fps)
- D2S audio setting : (96 + 0) kbps
- D2S video estim. : 1826 kbps, 2 CDs
- Select Ranges : every 1500, select 15 frames
- Sample frames : 1635
--------------------------------------------------------
Calculations:
- 1 CD: video_br=873 (873) audio1_br=80 video_sz=742091873. fill=100.0% cbr=0
- 2 CD: video_br=1762 (1762) audio1_br=160 video_sz=1497784514. fill=100.0% cbr=0
- 3 CD: video_br=2530 (2667) audio1_br=224 video_sz=2150621351. fill=95.3% cbr=1
--------------------------------------------------------
Computing target number of CDs:
- Using max bitrate=2674 for auto sample (adjusted for 1 CDs)
- Estim. mpv size : 845187783. (Q=40, 994 kbps, err=0.0%, sample sz=8475412.)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Number of CDs : 2
- Target mpv size : 1497784514. (1762 / max 2594) kbps
--------------------------------------------------------
Search for Q:
- Estim. mpv size : 1199126245. (Q=22, 1410 kbps, err=-19.9%, sample sz=12024652.)
- Estim. mpv size : 1396233003. (Q=16, 1642 kbps, err=-6.7%, sample sz=14001208.)
- Estim. mpv size : 1512610950. (Q=13, 1779 kbps, err=1.0%, sample sz=15168228.)
- Determined Q : 12 = round(13 - 1.0 + (1.0)/2.6)
--------------------------------------------------------
- Encoding Movie
- 2003-11-07 00:19:56
- Actual mpv file size:
07-11-2003 01:37 1548302572 Encoded_Video_CCE_NTSC_FS1.mpv
- OPV pass result: 103.4% on target ( 1548302572 / 1497784514.)
--------------------------------------------------------
- Executing: C:\Archivos de programa\DVD2SVCD\BeSweet\BeSweet.exe -core( -input "E:\Indiana II\Audio\Extracted_audio_1.ac3" -output "E:\INDIAN~2\Audio\Encoded_audio_1_FS1.mp2" -logfile "E:\INDIAN~2\Audio\Encoded_audio_1_FS1.log" ) -azid( -L -3db -l 0db -c normal -s surround -g max ) -2lame( -e -b 160 -m s ) -split( -start 0 -end 6800.34200867534 )
--------------------------------------------------------
- Recover:
- 2003-11-07 01:50:16
Crackhead
7th November 2003, 13:26
I did some recover encodes and the calculations went fine!
2-3 estimations max and no added cd oder anything, so works correct for me!
I didn't encode the entire movie, cause these encodes were for testing purposes with different filters and matrices!
Just one "bug" i found:
when you recover an tmpgenc encode, D2SRoba shows a cryptic error message (somewhere in between this message, it says "you must use cce....), and doesn't initialize its crash recovery, so it would be nice if D2SRoba would automatically select CCE as encoder!
tylo
7th November 2003, 13:39
Thanks for reports. Audio+Video too large I know about, and I will fix it for next release. Just uncheck the test in the bitrate tab as for now. In the second log, you also got the same problem as DDogg, and I see it is not related to the recover (fortunately). I am quite sure it is some kind of problem with AutoIt3, but I'll try to get around it somehow.
I'll check the extra line feed thing too.
Why do you want an oversized image? I assume you set CD size to the media max capacity (including overburing). You can choose whether to do a sizing pass or let D2S cut off the oversize part (assuming it contains credits). An oversized image is worthless.
r6d2
7th November 2003, 13:59
Originally posted by tylo
Audio+Video too large I know about. [...]I'll check the extra line feed thing too.
Thanks a lot.
An oversized image is worthless.
Of course. I just wanted to gather more data for the adjust thing. ;)
Other comments:
1. Regarding the template thing... Why is it needed? I mean, the RB templates are needed, of course, with CCE 2.66+. But since the plugin customizes the ECL file, is it really needed? Is it needed also to have "Create VAF file checked" in D2S?
I think not in both cases. Please correct me if I'm wrong.
2. I'm curious about the first iteration giving err=0. Does it mean it fit perfectly?
- Estim. mpv size : 845187783. (Q=40, 994 kbps, err=0.0%, sample sz=8475412.)
3. crackhead's post made me think... Couldn't just the size determination part of CCE be used to produce "2 Pass VBR" TMPGEnc encodes? I mean, get the number of CDs with CCE, then switch to prefered encoder (whatever it might be).
Crackhead
7th November 2003, 14:16
3. crackhead's post made me think... Couldn't just the size determination part of CCE be used to produce "2 Pass VBR" TMPGEnc encodes? I mean, get the number of CDs with CCE, then switch to prefered encoder (whatever it might be).
hehe i don't think this is really necessary cause "you should" prefer cce for svcd-encodes, since cce is way faster and gives better quality, and for vcd-encodes tmpgenc is better!
and with kwag's cqmatic there is no necessity to use 2 pass vbr with tmpqenc anymore!
r6d2
7th November 2003, 14:49
Originally posted by Crackhead
[B]hehe i don't think this is really necessary cause "you should" prefer cce for svcd-encodes, since cce is way faster and gives better quality, and for vcd-encodes tmpgenc is better!
Hmmm... I won't get into an religious discussion ;) (I prefer CCE too for some tasks) but "quality" is ultimately always in the eye of the beholder. I have had TMPGEnc encodes I cannot surpass with CCE. Also, word of mouth is that Procoder does a great job too.
and with kwag's cqmatic there is no necessity to use 2 pass vbr with tmpqenc anymore!
I agree. But I wonder... Does CQmatic integrate with DVD2SVCD easily?
Crackhead
7th November 2003, 15:20
Hmmm... I won't get into an religious discussion (I prefer CCE too for some tasks) but "quality" is ultimately always in the eye of the beholder. I agree!;)
But I wonder... Does CQmatic integrate with DVD2SVCD easily? I use azel's DVD2KVCD plugin for that issue..it includes cqmatic in the process. besides that, it is a very good program for any encodes with tmpgenc cause it doesn't insist on using 1 cd...
but i've got to say it wouldn't be that bad to include cce's file prediction into the encoding process of another encoder:D
cause with the newton-rapson method, it is very fast (compared to cqmatic, which can take about an hour or more to predict) and precise!
it would be incredible, but i don't think it is very realistic, if there were any relation/dependency of tmpgenc's cq-value and cce's q.factor...
i think we're getting a little bit off-topic here:D
so back TO topic:
D2SRoba 3 works great, got no problems til now, but i have to do a little bit more testing before i can testify that!
keep up the great work, tylo!! thx for this great tool!
tylo
7th November 2003, 15:37
Thanks, Crackhead,
But I don't think I will do anything about the TMPGEnc related stuff. Use CCE with D2SRoBa, and that's it.
I'm curious about the first iteration giving err=0. Does it mean it fit perfectly?Nope. It just didn't compute the err for the first iter. (in "auto" mode, it hasn't even decided num CDs/target bitrate at printout time, so it couldn't have).
/Add: to reduce number of post, I reply here. I can confirm that both D2SRoBa v2.7x and v3.0 will work, even if 'use existing vaf' is NOT checked - D2SRoBa checks that itself for the sizing pass. (sorry haven't mentioned that, I guess) :)
ric1234
7th November 2003, 15:41
Originally posted by r6d2
1. Regarding the template thing... Why is it needed? I mean, the RB templates are needed, of course, with CCE 2.66+. But since the plugin customizes the ECL file, is it really needed? Is it needed also to have "Create VAF file checked" in D2S?
I think not in both cases. Please correct me if I'm wrong.
[/B] I have been using D2SRoBa and CCE 2.66 for a while and I must admit I completely missed everything about using a special CCE template in DVD2SVCD... (shame on me, newbee mistake !)
Thanks to what you just wrote I will catch up with the RB templates very soon.
But beyond that, I must say that even if I never used any template, D2SRoBa always worked fine for me. Did I miss something or would this confirm what r6d2 says... ?
Regards, Ric
r6d2
7th November 2003, 16:34
Originally posted by Crackhead
cause with the newton-rapson method, it is very fast (compared to cqmatic, which can take about an hour or more to predict) and precise!
I did some experiments with the Newton method applied to TMPGEnc's CQ and suggested Kwag to take look at them. The problem is that while Q converges quite fast with it, CQ does not since the derivative of the function is not monotonic. You have to get a "good seed" to have it converge at all.
it would be incredible, but i don't think it is very realistic, if there were any relation/dependency of tmpgenc's cq-value and cce's q.factor...
A guy reported once to have found a sort of biyective relation, but I guess he was high on crack :). On the general case, there is none according to the results I got (See here (http://forum.doom9.org/showthread.php?s=&postid=365460#post365460) if interested.)
Originally posted by ric1234
I have been using D2SRoBa and CCE 2.66 for a while and I must admit I completely missed everything about using a special CCE template in DVD2SVCD... (shame on me, newbee mistake !)
RB templates are actually recommended whether you use RoBa or not, they make the internal CCE filter setup predictable in DVD2SVCD. The encode will work without them, but you may never have a clue on what settings were used :(
@Tylo, do you agree in that creating a special RoBa template is not needed with the plugin, as it was with internal RoBa? The RB original templates will do, right?
telemike
7th November 2003, 16:58
Where are the RB templates? I think the plugin should just pop em in there for us lazy people or have an option to install them.:)
ric1234
7th November 2003, 17:08
You will find them in RB's sticky post in Advanced forum : "HOW TO: Use CCE 2.66+ trial with DVD2SVCD"
Ric
[r6d2 edit] :helpful:
r6d2
7th November 2003, 18:15
@Tylo,
Run again another movie. D2Sroba crashed with:
Line 0:
$g_target_mpv_br = $g_Video_BR[$t_numCDs]
Error: Array variable has incorrect number of subscripts or dimension range exceeded.
Also, I wonder why the plugin tries with Q=0. If you use the magic number, it should always be not zero. :confused:
Log follows:
--------------------------------------------------------
D2Sroba v3.0 beta 1
- Author: Tylo
- System: WIN_XP, AutoIt: 3.0.72.0
--------------------------------------------------------
- 2003-11-07 13:42:27
--------------------------------------------------------
Settings:
- Output type : SVCD
- CD size : 800
- Number of CD's : ?
- Sample percent : 1.0
- Auto Q. (worst) : 40
- Maximum Q. : 60
- Adjust Q : 1.0
- Sizing pass : on=0 (-2.0 .. 0.0)%
- Audio by plugin : on=1 (% of video, 10%, min 80 kbps)
- Adjust max br : on=1 (total 2754 kbps)
- Crash recover : No
--------------------------------------------------------
- Waiting for CCE window ...
- Finished shutdown of CCE and D2S
--------------------------------------------------------
- Movie length : 01:27:24 (125745 frames, 23.976 fps)
- D2S audio setting : (160 + 0) kbps
- D2S video estim. : 1089 kbps, 1 CDs
- Select Ranges : every 1500, select 15 frames
- Sample frames : 1260
--------------------------------------------------------
Calculations:
- 1 CD: video_br=1137 (1137) audio1_br=112 video_sz=745391563. fill=100.0% cbr=0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Number of CDs : 1
- Target mpv size : 745391563. (1137 / max 2642) kbps
--------------------------------------------------------
Search for Q:
- Estim. mpv size : 1496014212. (Q=0, 2281 kbps, err=100.6%, sample sz=14990480.)
- Estim. mpv size : 1491376018. (Q=2, 2274 kbps, err=100.0%, sample sz=14944004.)
- Estim. mpv size : 1463398754. (Q=5, 2232 kbps, err=96.3%, sample sz=14663664.)
- Estim. mpv size : 429050722. (Q=83, 654 kbps, err=-42.4%, sample sz=4299208.)
- Estim. mpv size : 527957348. (Q=59, 805 kbps, err=-29.1%, sample sz=5290280.)
- Estim. mpv size : 1446434356. (Q=6, 2206 kbps, err=94.0%, sample sz=14493676.)
- Estim. mpv size : 622727562. (Q=46, 949 kbps, err=-16.4%, sample sz=6239904.)
- Estim. mpv size : 684612066. (Q=40, 1044 kbps, err=-8.1%, sample sz=6860004.)
- Estim. mpv size : 762315690. (Q=34, 1162 kbps, err=2.2%, sample sz=7638616.)
- Determined Q : 57 = round(0 - 1.0 + (100.6)/1.7)
telemike
8th November 2003, 03:53
Success with AVI2SVCD and D2SRoba
D2SRoBa v3.0 beta 1
- Author: Tylo
- System: WIN_XP, AutoIt: 3.0.72.0
--------------------------------------------------------
- 2003-11-07 19:03:18
--------------------------------------------------------
Settings:
- Output type : SVCD
- CD size : 800
- Number of CD's : 1
- Sample percent : 1.0
- Auto Q. (worst) : 40
- Maximum Q. : 50
- Adjust Q : 0.5
- Sizing pass : on=0 (-3.0 .. 1.0)%
- Audio by plugin : on=0 (% of video, 10%, min 128 kbps)
- Adjust max br : on=1 (total 2500 kbps)
- Crash recover : Yes
--------------------------------------------------------
- Waiting for CCE window ...
- Finished shutdown of CCE and D2S
--------------------------------------------------------
- Movie length : 00:59:29 (85571 frames, 23.976 fps)
- D2S audio setting : (160 + 0) kbps
- D2S video estim. : 1664 kbps, 1 CDs
- Select Ranges : every 1500, select 15 frames
- Sample frames : 870
--------------------------------------------------------
Calculations:
- 1 CD: video_br=1664 (1664) audio1_br=160 video_sz=742357691. fill=100.0% cbr=0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Number of CDs : 1
- Target mpv size : 742357691. (1664 / max 2340) kbps
--------------------------------------------------------
Search for Q:
- Estim. mpv size : 424920013. (Q=24, 952 kbps, err=-42.7%, sample sz=4320160.)
- Estim. mpv size : 623492338. (Q=10, 1397 kbps, err=-15.9%, sample sz=6339044.)
- Estim. mpv size : 799303171. (Q=2, 1791 kbps, err=7.6%, sample sz=8126512.)
- Estim. mpv size : 751358624. (Q=5, 1684 kbps, err=1.2%, sample sz=7639060.)
- Estim. mpv size : 723833483. (Q=6, 1622 kbps, err=-2.4%, sample sz=7359212.)
- Determined Q : 5 = round(5 - 0.5 + (1.2)/3.7)
--------------------------------------------------------
- Encoding Movie
- 2003-11-07 19:11:00
- Actual mpv file size:
11/07/2003 08:11 PM 737207144 Encoded_Video_CCE_NTSC.mpv
- OPV pass result: 99.3% on target ( 737207144 / 742357691.)
--------------------------------------------------------
- Recover:
- 2003-11-07 20:11:20
r6d2
8th November 2003, 13:21
Originally posted by telemike
- Movie length : 00:59:29 (85571 frames, 23.976 fps)
- D2S audio setting : (160 + 0) kbps
- D2S video estim. : 1664 kbps, 1 CDs
I'm curious... 1 hour video and D2S estimated 1664-kbps? I don't know you, guys, but something smells bad to me here.
Also the search took too long. Why was 24 chosen as first iteration?
Trahald
8th November 2003, 15:10
successful encode.. although it didnt have to do a search since BR topped out so it did CBR.
-------------------------------------------------------
D2SRoBa v3.0 beta 1
- Author: Tylo
- System: WIN_XP, AutoIt: 3.0.72.0
--------------------------------------------------------
- 2003-11-08 01:34:49
--------------------------------------------------------
Settings:
- Output type : SVCD
- CD size : 800
- Number of CD's : auto
- Sample percent : 2.0
- Auto Q. (worst) : 40
- Maximum Q. : 50
- Adjust Q : 0.5
- Sizing pass : on=1 (-3.0 .. 1.0)%
- Audio by plugin : on=1 (Fixed bitrate, 10%, min 128 kbps)
- Adjust max br : on=1 (total 2754 kbps)
- Crash recover : No
--------------------------------------------------------
- Waiting for CCE window ...
- Finished shutdown of CCE and D2S
--------------------------------------------------------
- Movie length : 01:11:48 (129132 frames, 29.97 fps)
- D2S audio setting : (96 + 0) kbps
- D2S video estim. : 1404 kbps, 1 CDs
- Select Ranges : every 600, select 12 frames
- Sample frames : 2592
--------------------------------------------------------
Calculations:
- 1 CD: video_br=1404 (1404) audio1_br=96 video_sz=756178378. fill=100.0% cbr=0
- 2 CD: video_br=2658 (2920) audio1_br=96 video_sz=1431568468. fill=91.4% cbr=1
--------------------------------------------------------
Computing target number of CDs:
- Using max bitrate=2658 for auto sample (adjusted for 1 CDs)
- Estim. mpv size : 1190984237. (Q=40, 2211 kbps, err=0.0%, sample sz=23906012.)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Number of CDs : 2
- Target mpv size : 1431568468. (2658 / max 2658) kbps
--------------------------------------------------------
- Reduced CD size : 733 (fill = 91.4%)
- Using CBR mode
--------------------------------------------------------
- Encoding Movie
- 2003-11-08 02:19:16
- Actual mpv file size:
11/08/2003 03:46 AM 1431567048 Encoded_Video_CCE_NTSC.mpv
--------------------------------------------------------
- Executing: C:\Program Files\DVD2SVCD\BeSweet\BeSweet.exe -core( -input "C:\Program Files\DVD2SVCD\movie\snl\Extracted_audio_1.ac3" -output "C:\PROGRA~1\DVD2SVCD\movie\snl\Encoded_audio_1.mp2" -logfile "C:\PROGRA~1\DVD2SVCD\movie\snl\Encoded_audio_1.log" ) -azid( -L -3db -l 0db -c normal -s surround -g max ) -2lame( -e -b 96 -m s )
--------------------------------------------------------
- Recover:
- 2003-11-08 03:52:29
r6d2
8th November 2003, 16:55
@Tylo,
[list=1]
Audio.
Perhaps you could set Audio BR in D2S to the minimun selected in D2Sroba when user selects Audio by the plugin. This would have D2S calculate the Video BR closer to what the user expects.
Number of CDs and minutes
Since I have not been able to get my hands on the source, I don't know how are you filling the Bitrate Tab, if at all. But also It may be useful to fill it so the maximum BR for each range is set to:
Max_by_Spec - Min_Audio_by_User - CBR_Threshold_by_User
Q limits
Are you checking that Q moves within [1, Q_Max] on each iteration? (I have some checking on this on the spreadsheet).
[/list=1]
New encode done. Started wil Q=0 again and went to the clouds afterwards (And used a Q with a very big error).
--------------------------------------------------------
D2Sroba v3.0 beta 1
- Author: Tylo
- System: WIN_XP, AutoIt: 3.0.72.0
--------------------------------------------------------
- 2003-11-08 12:27:30
--------------------------------------------------------
Settings:
- Output type : SVCD
- CD size : 800
- Number of CD's : auto
- Sample percent : 1.0
- Auto Q. (worst) : 40
- Maximum Q. : 60
- Adjust Q : 1.0
- Sizing pass : on=1 (-3.0 .. 0.0)%
- Audio by plugin : on=1 (% of video, 10%, min 112 kbps)
- Adjust max br : on=1 (total 2754 kbps)
- Crash recover : No
--------------------------------------------------------
- Waiting for CCE window ...
- Finished shutdown of CCE and D2S
--------------------------------------------------------
- Movie length : 01:27:24 (125745 frames, 23.976 fps)
- D2S audio setting : (112 + 0) kbps
- D2S video estim. : 1137 kbps, 1 CDs
- Select Ranges : every 1500, select 15 frames
- Sample frames : 1260
--------------------------------------------------------
Calculations:
- 1 CD: video_br=1137 (1137) audio1_br=112 video_sz=745391563. fill=100.0% cbr=0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Number of CDs : 1
- Target mpv size : 745391563. (1137 / max 2642) kbps
--------------------------------------------------------
Search for Q:
- Estim. mpv size : 1496014212. (Q=0, 2281 kbps, err=100.6%, sample sz=14990480.)
- Estim. mpv size : 1491376018. (Q=2, 2274 kbps, err=100.0%, sample sz=14944004.)
- Estim. mpv size : 261753187. (Q=327, 399 kbps, err=-64.8%, sample sz=2622840.)
- Estim. mpv size : 290289718. (Q=199, 442 kbps, err=-61.0%, sample sz=2908784.)
- Estim. mpv size : 1496014212. (Q=1, 2281 kbps, err=100.6%, sample sz=14990480.)
- Estim. mpv size : 348437798. (Q=124, 531 kbps, err=-53.2%, sample sz=3491444.)
- Estim. mpv size : 435071313. (Q=81, 663 kbps, err=-41.6%, sample sz=4359536.)
- Determined Q : 56 = round(0 - 1.0 + (100.6)/1.8)
r6d2
8th November 2003, 21:40
Same movie as last post, tweaking the Audio and Video BR as explained. Turned out perfect (I used Auto mode with Q=35). Log follows:
--------------------------------------------------------
D2Sroba v3.0 beta 1
- Author: Tylo
- System: WIN_XP, AutoIt: 3.0.72.0
--------------------------------------------------------
- 2003-11-08 14:18:17
--------------------------------------------------------
Settings:
- Output type : SVCD
- CD size : 800
- Number of CD's : auto
- Sample percent : 1.0
- Auto Q. (worst) : 35
- Maximum Q. : 40
- Adjust Q : 1.0
- Sizing pass : on=1 (-2.0 .. 0.5)%
- Audio by plugin : on=1 (% of video, 10%, min 112 kbps)
- Adjust max br : on=1 (total 2754 kbps)
- Crash recover : No
--------------------------------------------------------
- Waiting for CCE window ...
- Finished shutdown of CCE and D2S
--------------------------------------------------------
- Movie length : 01:23:44 (120457 frames, 23.976 fps)
- D2S audio setting : (112 + 0) kbps
- D2S video estim. : 1192 kbps, 1 CDs
- Select Ranges : every 1500, select 15 frames
- Sample frames : 1215
--------------------------------------------------------
Calculations:
- 1 CD: video_br=1192 (1192) audio1_br=112 video_sz=748585794. fill=100.0% cbr=0
- 2 CD: video_br=2512 (2512) audio1_br=112 video_sz=1577556640. fill=100.0% cbr=1
--------------------------------------------------------
Computing target number of CDs:
- Using max bitrate=2642 for auto sample (adjusted for 1 CDs)
- Estim. mpv size : 729414227. (Q=35, 1161 kbps, err=0.0%, sample sz=7357300.)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Number of CDs : 1
- Target mpv size : 748585794. (1192 / max 2642) kbps
--------------------------------------------------------
Search for Q:
- Estim. mpv size : 743358686. (Q=34, 1183 kbps, err=-0.7%, sample sz=7497952.)
- Determined Q : 33 = round(34 - 1.0 + (-0.7)/1.8)
--------------------------------------------------------
- Encoding Movie
- 2003-11-08 14:41:30
- Actual mpv file size:
08-11-2003 15:54 724510812 Encoded_Video_CCE_NTSC_FS1.mpv
- OPV pass result: 96.8% on target ( 724510812 / 748585794.)
--------------------------------------------------------
- Executing VBR Sizing Pass - 1192 kbps.
- Actual mpv file size:
08-11-2003 17:11 747955768 Encoded_Video_CCE_NTSC_FS1.mpv
- Sizing pass result: 99.9% on target ( 747955768 / 748585794.)
--------------------------------------------------------
- Executing: C:\Archivos de programa\DVD2SVCD\BeSweet\BeSweet.exe -core( -input "E:\Johnny English\Audio\Extracted_audio_1.ac3" -output "E:\JOHNNY~2\Audio\Encoded_audio_1_FS1.mp2" -logfile "E:\JOHNNY~2\Audio\Encoded_audio_1_FS1.log" ) -azid( -L -3db -C 0db -S 0db -c normal -s surround -g max ) -2lame( -e -b 112 -m s ) -split( -start 0 -end 5024.02402402402 )
--------------------------------------------------------
- Recover:
- 2003-11-08 17:27:24
Holomatrix
9th November 2003, 01:21
Nice !! :) 100.0%
--------------------------------------------------------
D2SRoBa v3.0 beta 2
- Author: Tylo
- System: WIN_2000, AutoIt: 3.0.74.0
--------------------------------------------------------
- 2003-11-08 13:56:53
--------------------------------------------------------
Settings:
- Output type : SVCD
- CD size : 800
- Number of CD's : 2
- Sample percent : 2.0
- Auto Q. (worst) : 40
- Maximum Q. : 64
- Adjust Q : 1.0
- Sizing pass : on=1 (-2.0 .. 1.0)%
- Audio by plugin : on=1 (% of video, 10%, min 128 kbps)
- Adjust max br : on=1 (total 2754 kbps)
- Crash recover : No
--------------------------------------------------------
- Waiting for CCE window ...
- Finished shutdown of CCE and D2S
--------------------------------------------------------
- Movie length : 02:18:17 (198939 frames, 23.976 fps)
- D2S audio setting : (128 + 0) kbps
- D2S video estim. : 1435 kbps, 2 CDs
- Select Ranges : every 600, select 12 frames
- Sample frames : 3984
--------------------------------------------------------
Calculations:
- 1 CD: video_br=646 (646) audio1_br=128 video_sz=670016861. fill=100.0% cbr=0
- 2 CD: video_br=1435 (1435) audio1_br=128 video_sz=1488350147. fill=100.0% cbr=0
- 3 CD: video_br=2225 (2225) audio1_br=128 video_sz=2307720611. fill=100.0% cbr=0
- 4 CD: video_br=2626 (3014) audio1_br=128 video_sz=2723628910. fill=87.7% cbr=1
--------------------------------------------------------
Computing target number of CDs:
- Using max bitrate=2626 for auto sample (adjusted for 1 CDs)
- Estim. mpv BR : 974 (Q=40, err=0.0%, size=1010866384., sample sz=20243852.)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Number of CDs : 2
- Target mpv BR : 1435 (max 2626) kbps, size=1488350147. bytes
--------------------------------------------------------
Search for Q:
- Estim. mpv BR : 1173 (Q=27, err=-18.2%, size=1217279578., sample sz=24377532.)
- Estim. mpv BR : 1332 (Q=20, err=-7.1%, size=1382535169., sample sz=27686980.)
- Estim. mpv BR : 1481 (Q=15, err=3.2%, size=1536405098., sample sz=30768416.)
- Estim. mpv BR : 1416 (Q=17, err=-1.2%, size=1469404201., sample sz=29426640.)
- Deriv. mpv BR : 1448 (Q=16, err=0.9%)
- Determined Q : 15 = round(16 - 1.0 + (0.9)/2.3)
--------------------------------------------------------
- Encoding Movie
- 2003-11-08 14:34:22
- Actual mpv file size:
08/11/2003 05:50p 1487874844 Encoded_Video_CCE_NTSC.mpv
- OPV pass result: 100.0% on target ( 1487874844 / 1488350147.)
--------------------------------------------------------
- Executing: C:\Program Files\DVD2SVCD\BeSweet\BeSweet.exe -core( -input "F:\MovieEncode\Extracted_audio_1.ac3" -output "F:\MOVIEE~1\Encoded_audio_1.mp2" -logfile "F:\MOVIEE~1\Encoded_audio_1.log" ) -azid( -L -3db -C 2db -c normal -s surround -g max ) -ota( -d 17 ) -2lame( -e -b 128 -m s )
--------------------------------------------------------
- Recover:
- 2003-11-08 18:07:59
telemike
10th November 2003, 02:57
--------------------------------------------------------
D2SRoBa v3.0 beta 2
- Author: Tylo
- System: WIN_XP, AutoIt: 3.0.74.0
--------------------------------------------------------
- 2003-11-09 13:29:57
--------------------------------------------------------
Settings:
- Output type : SVCD
- CD size : 800
- Number of CD's : auto
- Sample percent : 1.0
- Auto Q. (worst) : 40
- Maximum Q. : 60
- Adjust Q : 0.5
- Sizing pass : on=0 (-3.0 .. 1.0)%
- Audio by plugin : on=0 (% of video, 10%, min 128 kbps)
- Adjust max br : on=1 (total 2650 kbps)
- Crash recover : No
--------------------------------------------------------
- Waiting for CCE window ...
- Finished shutdown of CCE and D2S
--------------------------------------------------------
- Movie length : 01:47:41 (154910 frames, 23.976 fps)
- D2S audio setting : (192 + 0) kbps
- D2S video estim. : 1821 kbps, 2 CDs
- Select Ranges : every 1500, select 15 frames
- Sample frames : 1560
--------------------------------------------------------
Calculations:
- 1 CD: video_br=807 (807) audio1_br=192 video_sz=651757852. fill=100.0% cbr=0
- 2 CD: video_br=1821 (1821) audio1_br=192 video_sz=1470695226. fill=100.0% cbr=0
- 3 CD: video_br=2458 (2836) audio1_br=192 video_sz=1985155885. fill=87.6% cbr=1
--------------------------------------------------------
Computing target number of CDs:
- Using max bitrate=2458 for auto sample (adjusted for 2 CDs)
- Estim. mpv BR : 1120 (Q=40, err=0.0%, size=905340513., sample sz=9117108.)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Number of CDs : 2
- Target mpv BR : 1821 (max 2458) kbps, size=1470695226. bytes
--------------------------------------------------------
Search for Q:
- Estim. mpv BR : 1666 (Q=18, err=-8.4%, size=1345665436., sample sz=13551340.)
- Estim. mpv BR : 1847 (Q=12, err=1.4%, size=1492227773., sample sz=15027276.)
- Estim. mpv BR : 1818 (Q=13, err=-0.1%, size=1468926925., sample sz=14792628.)
- Determined Q : 12 = round(13 - 0.5 + (-0.1)/1.6)
--------------------------------------------------------
- Encoding Movie
- 2003-11-09 14:19:58
- Actual mpv file size:
11/09/2003 04:37 PM 1425352964 Encoded_Video_CCE_NTSC.mpv
- OPV pass result: 96.9% on target ( 1425352964 / 1470695226.)
--------------------------------------------------------
- Recover:
- 2003-11-09 16:37:31
telemike
10th November 2003, 03:04
Tylo-
Can you set the conditional sizing for when the mpv size goes oversize and maybe 10% under?
r6d2
10th November 2003, 04:03
Just check "Conditional sizing pass" and set 10% and 0%. Your settings will remain sticky.
tylo
10th November 2003, 08:27
Audio.
Perhaps you could set Audio BR in D2S to the minimun selected in D2Sroba when user selects Audio by the plugin. This would have D2S calculate the Video BR closer to what the user expects.
Number of CDs and minutes
Since I have not been able to get my hands on the source, I don't know how are you filling the Bitrate Tab, if at all. But also It may be useful to fill it so the maximum BR for each range is set to:
Max_by_Spec - Min_Audio_by_User - CBR_Threshold_by_User
Q limits
Are you checking that Q moves within [1, Q_Max] on each iteration? (I have some checking on this on the spreadsheet).
1. I could. Although often D2Sroba will use a higher audio br than minimum, so I don't know.
2. I don't fill Max br in the bitrate tab - it has no effect on D2S's calcs. Max avg has! - although I don't set that either - maybe I should. (I do however set correct Max br in the ECL file when doing CCE).
3. I do checkings. But all the errors so far looks like a result of the strange AutoIt3 related bug (it seems to execute the code incorrectly). I have reshuffled the code in Beta 2 in order to get around it, so please tell me if you still get this error.
(You should get: "Computing target number of CDs:" when using "auto" mode, and only then).
PS: I will include source code in beta 3, which hopfully will be the last before release.
r6d2
10th November 2003, 13:11
Originally posted by tylo
1. I could. Although often D2Sroba will use a higher audio br than minimum, so I don't know.
You're right, often (though this depends heavily on the "minimun" selected by the user :)). I was thinking in getting more consistency with my second point.
2. I don't fill Max br in the bitrate tab - it has no effect on D2S's calcs. Max avg has!
I don't know if I understand your comment, but I was thinking of the ranges, not the max. That 46 min stuff you had in the old code.
- although I don't set that either - maybe I should.
This may be the origin of the "out of specs" message. :confused:
[Edit: still in doubt about this :)]
@Tylo, do you agree in that creating a special RoBa template is not needed with the plugin, as it was with internal RoBa? The RB original templates will do, right?
tylo
10th November 2003, 17:18
I don't know if I understand your comment, but I was thinking of the ranges, not the max. That 46 min stuff you had in the old code.OK, I misread your question. Yep, I still use a simple formula that make the max range bitrate always be below 2230. Your suggestions makes sense.
This may be the origin of the "out of specs" message.No, that was because I update the audio bitrate settings in the project file (when audio by plugins), but not the corresponding Max br (i.e if audio increased, I must lower max br for a fixed max video br). Done in beta 2.
- The RB's templates will do as they are.
DDogg
11th November 2003, 01:26
It took 2 tests to come up with the Q. I do love it when a plan come together! :D
D2SRoBa v3.0 beta 2
- Author: Tylo
- System: WIN_XP, AutoIt: 3.0.74.0
--------------------------------------------------------
- 2003-11-10 17:35:01
--------------------------------------------------------
Settings:
- Output type : SVCD
- CD size : 800
- Number of CD's : auto
- Sample percent : 1.0
- Auto Q. (worst) : 32
- Maximum Q. : 64
- Adjust Q : 0.6
- Sizing pass : on=1 (-2.0 .. 1.0)%
- Audio by plugin : on=0 (% of video, 10%, min 128 kbps)
- Adjust max br : on=0 (total 2754 kbps)
- Crash recover : No
--------------------------------------------------------
- Waiting for CCE window ...
- Finished shutdown of CCE and D2S
--------------------------------------------------------
- Movie length : 01:39:23 (142983 frames, 23.976 fps)
- D2S audio setting : (128 + 0) kbps
- D2S video estim. : 2053 kbps, 2 CDs
- Select Ranges : every 1200, select 12 frames
- Sample frames : 1440
--------------------------------------------------------
Calculations:
- 1 CD: video_br=955 (955) audio1_br=128 video_sz=711903388. fill=100.0% cbr=0
- 2 CD: video_br=2053 (2053) audio1_br=128 video_sz=1530405922. fill=100.0% cbr=0
- 3 CD: video_br=2584 (3152) audio1_br=128 video_sz=1926239114. fill=82.8% cbr=1
--------------------------------------------------------
Computing target number of CDs:
- Estim. mpv BR : 895 (Q=32, err=0.0%, size=667900998., sample sz=6726516.)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Number of CDs : 1
- Target mpv BR : 955 (max 2584) kbps, size=711903388. bytes
--------------------------------------------------------
Search for Q:
- Estim. mpv BR : 948 (Q=29, err=-0.6%, size=706923442., sample sz=7119516.)
- Determined Q : 28 = round(29 - 0.6 + (-0.6)/1.8)
--------------------------------------------------------
- Encoding Movie
- 2003-11-10 18:24:22
- Actual mpv file size:
11/10/2003 07:22 PM 724394992 Encoded_Video_CCE_NTSC_FS1.mpv
- OPV pass result: 101.8% on target ( 724394992 / 711903388.)
ebcoelho
11th November 2003, 02:28
Tylo,
I had D2SRoBa version 2 and 3, the version 2 work with DVD2SVCD + ECLCCE + D2SRoBa but this beta version don't work for me.
--------------------------------------------------------
D2SRoBa v3.0 beta 2
- Author: Tylo
- System: WIN_2000, AutoIt: 3.0.74.0
--------------------------------------------------------
- 2003-11-10 18:17:41
--------------------------------------------------------
Settings:
- Output type : SVCD
- CD size : 800
- Number of CD's : auto
- Sample percent : 5.0
- Auto Q. (worst) : 40
- Maximum Q. : 50
- Adjust Q : 1.0
- Sizing pass : on=1 (-2.0 .. 1.0)%
- Audio by plugin : on=0 (% of video, 10%, min 128 kbps)
- Adjust max br : on=1 (total 2754 kbps)
- Crash recover : Yes
--------------------------------------------------------
- Waiting for CCE window ...
DVD2SVCD_log.txt
WNASPI32.DLL 4.6.0.1021
--------------------------------------------------------
- 10/11/2003 18:17:58
- DVD to SVCD Conversion
- DVD2SVCD ver. 1.2.1 build 3
--------------------------------------------------------
Initializing
.
.
.
--------------------------------------------------------
- 10/11/2003 19:39:30
- Free on drive C: 3808.90 mb
- Conversion done!
--------------------------------------------------------
[DDogg Edit] Merged this new thread into the V 3 thread. :rolleyes:
telemike
11th November 2003, 15:44
Which version of DVD2SVCD are you using?
I find that the newest version doesn't work so well with the plugin. I am back to using version 113b2.:mad:
DDogg
11th November 2003, 16:24
telemike, *what* isn't working? I can never pin down what problens you are having. If there is a problem with B3 we need a report with details to get it fixed. I have not had a problem so far myself.
telemike
11th November 2003, 16:56
Tylo's plugin was trying to close CCE and CCE froze, so DVD2SVCD went right into pulldown.....
I will try doing a clean removal and re-install and see what happens....
ditto_n
11th November 2003, 17:07
Ddogg, should i use your log as an example? I have not tried to do anything with the new beta, but I don't want any errors if somthing I need to rip pops up.
kru
11th November 2003, 19:33
First of all I just want to thank Tylo for this fantasic pluggin
I also want to thank DDogg and r6d2 for making D2SRoBa possible
I'm a litle bit curious; I was encoding a interlaced film. I saw that a template for interlaced sources was automaticly set up, with CCE filters etc. How many different templates can D2SRoBa make? I've also read that you should not use any CCE filters. Is this right???
But I installed 3.0 beta 2, this "auto CCE" templates seems to be gone?:(
I also find a litle fault... When I try to recover a D2S project that are made with TMPGEnc, D2SRoba have problems to create a "MsgBox", and the plugin quits.
And can I only select "FACAR" in framesevertab, without preveiw the film with "FACAR_detectborders"???
Once again, THANKS!!!
Crackhead
11th November 2003, 20:50
Originally posted by kru
But I installed 3.0 beta 2, this "auto CCE" templates seems to be gone?:( I can't remember D2SRoba ever setting up any kind of CCE template!?:confused:
I use RB's templates with "Reuse vaf" checked.
I think they're doing a great job.
Originally posted by kru
And can I only select "FACAR" in framesevertab, without preveiw the film with "FACAR_detectborders"???yes you can! if the detected_top and detected_height values are already set up right, you don't need to do the detect_borders thing anymore.
But be careful:
The values differ from movie to movie...so if you encode another movie, you have to detect the borders again! :)
r6d2
11th November 2003, 21:05
Originally posted by kru
I'm a litle bit curious; I was encoding a interlaced film. I saw that a template for interlaced sources was automaticly set up, with CCE filters etc. How many different templates can D2SRoBa make?
D2Sroba does not make (or need) any templates of its own. You are adviced to use RB's templates in DVD2SVCD whether you use D2Sroba or not.
I've also read that you should not use any CCE filters. Is this right???
You can use them, of course. The problem is that through DVD2SVCD you may not get the settings you expect since CCE uses the last template loaded anyway, regardless of DVD2SVCD settings. If you want to use them, edit the template as DDogg's sticky teaches.
However (IMHO), it's better to stick to AviSynth if you want some filtering.
I also find a litle fault... When I try to recover a D2S project that are made with TMPGEnc, D2SRoba have problems to create a "MsgBox", and the plugin quits.
This one should make it into the FAQ ;)
D2Sroba only supports CEE. OTOH, Switching encoders in DVD2SVCD is not supported on a resume. Weird things may happen. It you switch encoders, better to start from scratch.
And can I only select "FACAR" in framesevertab, without preveiw the film with "FACAR_detectborders"???
Yes, but you'll have to set up the borders manually, or they will remain the last ones used.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.