Log in

View Full Version : D2SRoBa Plugin


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

tylo
30th September 2003, 20:59
You're surely right. Too fast around the corners.
Ok, I do a last go at it (beta4), and then I quit for the day.

DDogg
30th September 2003, 21:19
Ok, I do a last go at it (beta4), and then I quit for the day. ok, then I can beat it up while you get some sleep :) I expect our time of day is 7 or 8 hours different. Afternoon here. At time of this post is is approx 3:20 PM. Hey, its still "early" there. You still got time to hit Beta 6 :) No self respecting programmer needs more than a couple of hours sleep :D

r6d2
1st October 2003, 14:07
Just finished LOTR:TTT and ended up with 3 filled disks a 80-MB third image, even though they should have been 3. Here is the log:

========================================================
D2Sroba v2.7.0 beta4 - DVD2SVCD plugin, by tylo
OS Version: WIN_XP
--------------------------------------------------------
- DVD2SVCD Shutdown
- 2003-09-30 22:07:36
--------------------------------------------------------
Settings:
- Encoding mode : OPV RoBa
- CD size : 803
- Number of CD's : auto
- Auto Q. (worst) : 30
- Maximum Q. : 40
- Sample percentage : 1.0
- Adjust Q. : 1.0
- Sample GOPs : 1
- Sizing pass : on=1 (-1.0 .. 0.0)%
- Audio after video : on=1 (% of Video, 10%, min 112 kbps)
- Adjust max video br : on=1 (total 2756 kbps)
--------------------------------------------------------
- Movie length : 02:51:39 (246941 frames, 23.976 fps)
- D2S audio settings : (112 kbps + 0) kbps
- D2S video estimate : 1797 kbps, 3 CDs
- SelectRangeEvery : every 1200, select 12 frames
- Num. sample frames : 2472
--------------------------------------------------------
Calculations:
- 1 CD: Video BR=514 Audio 1 BR=112 Video SZ=661743379.
- 2 CD: Video BR=1156 Audio 1 BR=112 Video SZ=1488278884.
- 3 CD: Video BR=1749 Audio 1 BR=160 Video SZ=2251729902.
- 4 CD: Video BR=2327 Audio 1 BR=224 Video SZ=2995869344.
--------------------------------------------------------
- Using Max bitrate=2532 for auto samples (adj. for 4 CDs)
- Estimated mpv size : 1733327628. (Q=30, 1346 kbps, 17351456 sample sz)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Number of CDs : 3
- Target mpv size : 2251729902. (1749 / max 2596) kbps
--------------------------------------------------------
- Binary search for Q:
- Estimated mpv size : 2443071225. (Q=15, 1897 kbps, 24456336 sample sz)
- Computed mpv size : 2088199427. (Q=22, 1621 kbps, 20903896.=(Q30+Q15)/2)
- Estimated mpv size : 2277438547. (Q=18, 1768 kbps, 22798272 sample sz)
- Computed mpv size : 2182818987. (Q=20, 1695 kbps, 21851084.=(Q22+Q18)/2)
- Computed mpv size : 2230128767. (Q=19, 1732 kbps, 22324678.=(Q20+Q18)/2)
--------------------------------------------------------
- Q Weight : 1.0 - (2251729902. / 99.8952265372168 - 22324678.) / (22798272 - 22324678.)
- Adjust Q : (19 + (0.543410773467367) - (1.0)) = 18.5434107734674
- Determined Q. : 18
--------------------------------------------------------
- Encoding Movie
- 2003-09-30 22:13:13
- Actual mpv file size:
01/10/2003 00:13 2227166600 Encoded_Video_CCE_NTSC.mpv
- OPV pass result: 98.9% on target ( 2227166600 / 2251729902.)
--------------------------------------------------------
- Executing VBR Sizing Pass - 1749 kbps.
- Actual mpv file size:
01/10/2003 02:06 2249095588 Encoded_Video_CCE_NTSC.mpv
- Sizing pass result: 99.9% on target ( 2249095588 / 2251729902.)
--------------------------------------------------------
- Executing: C:\Archivos de programa\DVD2SVCD\BeSweet\BeSweet.exe -core( -input "H:\LOTR II\Audio\Extracted_audio_1.ac3" -output "H:\LOTRII~1\Audio\Encoded_audio_1.mp2" -logfile "H:\LOTRII~1\Audio\Encoded_audio_1.log" ) -azid( -L -3db -l 0db -c normal -s surround -g max ) -2lame( -e -b 160 -m s )
--------------------------------------------------------
- Recover
- 2003-10-01 02:25:37

I'm clueless. The DVD2SVCD.INI file (relevant parts) contains:

MinsHigh1=93
MinsHigh2=139
MinsHigh3=185
MinsHigh4=231
MinsHigh5=278
NumCd1=1
NumCd2=2
NumCd3=3
NumCd4=4
NumCd5=5
NumCd6=6
CDSize 1=803
CDSize 2=803
CDSize 3=803
CDSize 4=803
CDSize 5=803
CDSize 6=803

And the project file:

Number of images=3
Volumes=3
Images=3

Siku
1st October 2003, 14:45
I'm using AVI2SVCD and I'm stucked with CCE encoding part. CCE starts normally but when D2SRoBa closes CCE first time, the GUI dissapears but the cctspt.exe still runs in the backround. Thus a new CCE window is not opened. You can see the EclCCE.exe and cctspt.exe running in the taskmanager. So D2SRoBa does not close the CCE properly. With earlier versions it worked just fine.

Here is the log:
========================================================
D2SRoBa v2.7.0 beta4 - DVD2SVCD plugin, by tylo
OS Version: WIN_XP
--------------------------------------------------------
- DVD2SVCD Shutdown
- 2003-10-01 16:17:27
--------------------------------------------------------
Settings:
- Encoding mode : OPV RoBa
- CD size : 800
- Number of CD's : 2
- Auto Q. (worst) : ---
- Maximum Q. : 128
- Sample percentage : 2.0
- Adjust Q. : 0.8
- Sample GOPs : 1
- Sizing pass : on=1 (-2.0 .. 1.0)%
- Audio after video : on=1 (% of Video, 10%, min 192 kbps)
- Adjust max video br : on=1 (total 2756 kbps)
--------------------------------------------------------
- Movie length : 01:47:41 (154910 frames, 23.976 fps)
- D2S audio settings : (224 kbps + 0) kbps
- D2S video estimate : 1793 kbps, 2 CDs
- SelectRangeEvery : every 750, select 15 frames
- Num. sample frames : 3105
--------------------------------------------------------
Calculations:
- 1 CD: Video BR=809 Audio 1 BR=192 Video SZ=653373113.
- 2 CD: Video BR=1825 Audio 1 BR=192 Video SZ=1473925749.
- 3 CD: Video BR=2778 Audio 1 BR=256 Video SZ=2243597661.
- 4 CD: Video BR=3730 Audio 1 BR=320 Video SZ=3012461942.
--------------------------------------------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Number of CDs : 2
- Target mpv size : 1473925749. (1825 / max 2564) kbps
--------------------------------------------------------
- Binary search for Q:

Am I doing something wrong or is this a D2SRoBa issue?

Regards,
Siku

tylo
1st October 2003, 15:47
@r6d2: I interpret that as you are getting 4 images, and the last one is 80mb - i.e it was oversized. Strange - all the number looks perfect to me. I.e: you encoded with the total bitrate (1749 + 160) = 1909, whereas D2S computed (1797 + 112) = 1909.

Hmm. I don't update the project .d2s file to reflect the bitrate changes in audio, so bbMPEG thinks it muxes with a lower audio bitrate than it really does. Could that make a difference for muxing overhead? I would think not, because it does that all the time with the video part. To make sure, I'll update the .d2s file before the recover.

@siku: Thanks, Siku. Did 2.6.0 beta3 work for you as well?

r6d2
1st October 2003, 16:09
Originally posted by tylo
@r6d2: I interpret that as you are getting 4 images, and the last one is 80mb - i.e it was oversized.
No, I get 3 images, the last only 80-Mb size. I checked the muxed files and the are wrong. They are not continuous, they overlap! Audio is in synch, though.
Hmm. I don't update the project .d2s file to reflect the bitrate changes in audio, so bbMPEG thinks it muxes with a lower audio bitrate than it really does. Could that make a difference for muxing overhead? I would think not,
I agree with you, since bbMPEg sort of analyses before actually muxing. But I cannot think of any other explanation that the project file. Please also fix the Movie info and other stuff to reflect correct audio...

Siku
1st October 2003, 16:20
Originally posted by tylo
Did 2.6.0 beta3 work for you as well?

Yep, 2.6.0 beta 3 worked fine. 2.7.0 beta1 was the first version with this problem.

tylo
1st October 2003, 16:29
Ok, I'll do the CCE termination as in 2.6.0, and update audio bitrate in the project files if audio bitrate was changed. --> beta5.

r6d2
1st October 2003, 16:42
Originally posted by tylo
Ok, I'll do the CCE termination as in 2.6.0, and update audio bitrate in the project files if audio bitrate was changed. --> beta5.
I manually fixed the 2 112 mentions to 160 on the D2S file and the recover worked great!

DDogg
1st October 2003, 17:00
Reporting in sir :) Did a episode of 24. Set disk size as 400. Ended up with 2 mpgs, one 404,258 k and second 436 k.

/ADD: Given that I had fixed bitrate for audio chosen and the sizing pass was executed, why do you think it was oversized?

Here are logs for your data:
========================================================
D2SRoBa v2.7.0 beta4 - DVD2SVCD plugin, by tylo
OS Version: WIN_XP
--------------------------------------------------------
- DVD2SVCD Shutdown
- 2003-10-01 08:44:44
--------------------------------------------------------
Settings:
- Encoding mode : OPV RoBa
- CD size : 400
- Number of CD's : 1
- Auto Q. (worst) : ---
- Maximum Q. : 64
- Sample percentage : 1.0
- Adjust Q. : 1.6
- Sample GOPs : 1
- Sizing pass : on=1 (-2.0 .. 1.0)%
- Audio after video : on=1 (Fixed bitrate, 10%, min 128 kbps)
- Adjust max video br : on=1 (total 2756 kbps)
--------------------------------------------------------
- Movie length : 00:42:43 (61466 frames, 23.976 fps)
- D2S audio settings : (128 kbps + 0) kbps
- D2S video estimate : 1128 kbps, 1 CDs
- SelectRangeEvery : every 1200, select 12 frames
- Num. sample frames : 624
--------------------------------------------------------
Calculations:
- 1 CD: Video BR=1128 Audio 1 BR=128 Video SZ=361474225.
- 2 CD: Video BR=2400 Audio 1 BR=128 Video SZ=769094095.
- 3 CD: Video BR=3672 Audio 1 BR=128 Video SZ=1176713964.
- 4 CD: Video BR=4944 Audio 1 BR=128 Video SZ=1584333834.
--------------------------------------------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Number of CDs : 1
- Target mpv size : 361474225. (1128 / max 2628) kbps
--------------------------------------------------------
- Binary search for Q:
- Estimated mpv size : 403389932. (Q=32, 1258 kbps, 4095196 sample sz)
- Estimated mpv size : 322996738. (Q=48, 1007 kbps, 3279048 sample sz)
- Estimated mpv size : 356635583. (Q=40, 1112 kbps, 3620548 sample sz)
- Computed mpv size : 380012757. (Q=36, 1185 kbps, 3857872.=(Q40+Q32)/2)
- Computed mpv size : 368324170. (Q=38, 1149 kbps, 3739210.=(Q40+Q36)/2)
- Estimated mpv size : 361373981. (Q=39, 1127 kbps, 3668652 sample sz)
--------------------------------------------------------
- Q Weight : 1.0 - (361474225. / 98.5032051282051 - 3668652) / (3739210. - 3668652)
- Adjust Q : (39 + (0.985576723471315) - (1.6)) = 38.3855767234713
- Determined Q. : 38
--------------------------------------------------------
- Encoding Movie
- 2003-10-01 08:49:29
- Actual mpv file size:
10/01/2003 09:47 AM 393383692 Encoded_Video_CCE_NTSC.mpv
- OPV pass result: 108.8% on target ( 393383692 / 361474225.)
--------------------------------------------------------
- Executing VBR Sizing Pass - 1128 kbps.
- Actual mpv file size:
10/01/2003 10:42 AM 361127208 Encoded_Video_CCE_NTSC.mpv
- Sizing pass result: 99.9% on target ( 361127208 / 361474225.)
--------------------------------------------------------
- Executing: C:\Program Files\DVD2SVCD\BeSweet\BeSweet.exe -core( -input "C:\24\Extracted_audio_1.ac3" -output

"C:\24\Encoded_audio_1.mp2" -logfile "C:\24\Encoded_audio_1.log" ) -azid( -L -3db -l 0db -c normal -s surround -g max ) -2lame( -e -b 128

-m s )
--------------------------------------------------------
- Recover
- 2003-10-01 10:45:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Dvd2svcd Log
--------------------------------------------------------
- 10/1/2003 8:43:39 AM
- Free on drive C: 17338.40 mb
- Crash Recovery
- Restarting from: Video encoding
--------------------------------------------------------
- 10/1/2003 8:43:42 AM
- Free on drive C: 17338.40 mb
- Video Encoding using Cinema Craft
--------------------------------------------------------
- Editing AVS script file

Executing Cinema Craft Encoder.
StreamSectors: 415614864
AudioSectors: 41655376
VideoPAPO: 5792832
ScanOffsetBytes: 92199
SeqAligningBytes: 5859759
DVDBytes: 0
VideoEndHeader: 4
SubtitleSectors: 0
EmptySectors: 238.00
PictureSectors: 1.00
PureMPEGStream: 362214694.33
Seconds: 2568.65
CalcMPEGStream: 362214694.33
Frames: 61466
CDSize: 400.00
Number of CDs: 1
Cut point 395.00
Variable Settings:
Frames: 61466
Anti Noise Filter: Off
Passes: 1
Image Quality: 17
VAF file creation: On
Video Encoding Mode: One Pass VBR
Q. Factor: 33
Min. bitrate: 100
Max. bitrate: 1128
Aspect Ratio: 16:9 (borders added, encoded as 4:3)

---AVS Begin---
LoadPlugin("C:\PROGRA~1\DVD2SVCD\AVISYN~1.5PL\Mpeg2dec\MPEG2D~1.DLL")
LoadPlugin("C:\PROGRA~1\DVD2SVCD\AVISYN~1.5PL\INVERS~1\decomb.dll")
mpeg2source("C:\24\DVD2AV~1.D2V")
Telecide()
Decimate(5)
DetectedTop=0 DetectedHeight=480
ResizeTo=0 global ResizeMethod=1
GammaCorrection=1.0 Hue=0 Saturation=1.0 Brightness=0 Contrast=1.0
OverscanH=0.04 OverscanV=0.04 BlockOptimization=0
global Bicubic_b_Value=0 global Bicubic_c_Value=0.6
DebugMode=0
DestinationWidth=720
DestinationHeight=360
# Import("C:\Program Files\DVD2SVCD\Avisynth2.5 Plugins\FACAR\qmf15b1.avs")
# Import("C:\Program Files\DVD2SVCD\Avisynth2.5 Plugins\FACAR\QMF_functions.avs")
Import("C:\Program Files\DVD2SVCD\Avisynth2.5 Plugins\FACAR\PreResize.avs")
Import("C:\Program Files\DVD2SVCD\Avisynth2.5 Plugins\FACAR\FACAR.avs")
Import("C:\Program Files\DVD2SVCD\Avisynth2.5 Plugins\FACAR\PostResize.avs")
ConvertToYUY2()
----AVS End----

--------------------------------------------------------
- 10/1/2003 10:45:19 AM
- DVD to SVCD Conversion
- DVD2SVCD ver. 1.2.1 build 2b
--------------------------------------------------------
Initializing
-
Initializing finished.

--------------------------------------------------------
- 10/1/2003 10:45:19 AM
- Free on drive C: 17370.28 mb
- Restarting from: Pulldown
--------------------------------------------------------
- 10/1/2003 10:45:21 AM
- Free on drive C: 17714.27 mb
- Video Pulldown
--------------------------------------------------------
Executing Pulldown. Commandline:
"C:\Program Files\DVD2SVCD\Pulldown\PULLDOWN.EXE" "C:\24\Encoded_Video_CCE_NTSC.mpv" "C:\24\Pulldown_Encoded_Video_NTSC.mpv"
Video pulldown finished.

--------------------------------------------------------
- 10/1/2003 10:46:12 AM
- Free on drive C: 17369.86 mb
- Converting Pictures from ES to PS
--------------------------------------------------------
Saving bbMPEG settings: C:\Program Files\DVD2SVCD\bbMPEG\default.ini
--------------------------------------------------------
- 10/1/2003 10:46:14 AM
- Free on drive C: 17369.84 mb
- Converting Pictures from ES to PS
--------------------------------------------------------
Saving bbMPEG settings: C:\Program Files\DVD2SVCD\bbMPEG\default.ini
--------------------------------------------------------
- 10/1/2003 10:46:17 AM
- Free on drive C: 17369.84 mb
- Converting Pictures from ES to PS
--------------------------------------------------------
Saving bbMPEG settings: C:\Program Files\DVD2SVCD\bbMPEG\default.ini
--------------------------------------------------------
- 10/1/2003 10:46:19 AM
- Free on drive C: 17369.82 mb
- Multiplexing and cutting
--------------------------------------------------------
Saving bbMPEG settings: C:\Program Files\DVD2SVCD\bbMPEG\default.ini
Offset in Seconds: 2
Executing bbMPEG.
Variable Settings:
Movie offset: 2 seconds
Cut point: 395 mb

Executing RunbbMPEG. Commandline:
"C:\Program Files\DVD2SVCD\bbMPEG\RunbbMPEG.exe" "C:\24\bbMPEG_Muxed_File.mpg"
Multiplexing and cutting finished.

--------------------------------------------------------
- 10/1/2003 10:48:19 AM
- Free on drive C: 16974.53 mb
- Determining length of audio
--------------------------------------------------------
Analyzing: C:\24\bbMPEG_Muxed_File00.mpg
2557.848 seconds C:\24\bbMPEG_Muxed_File00.mpg
Analyzing: C:\24\bbMPEG_Muxed_File01.mpg
4.008 seconds C:\24\bbMPEG_Muxed_File01.mpg
Analyzing finished.

--------------------------------------------------------
- 10/1/2003 10:48:48 AM
- Free on drive C: 16974.53 mb
- Creating CD-Images using VCDXBuild
--------------------------------------------------------
- No. of chapters to create: 1

CD image #1: CD_Image_File_CD1.bin

Executing VCDXBuild. Commandline:
"C:\Program Files\DVD2SVCD\VCDImager\vcdxbuild.exe" --verbose --cue-file="C:\24\CD_Image_File_CD1.cue" --bin-file="C:\24\CD_Image_File_CD1.bin" "C:\24\VCDXBU~1.XML"
--------------------------------------------------------
- 10/1/2003 10:50:25 AM
- Free on drive C: 16572.23 mb
- Creating CD-Images using VCDXBuild
--------------------------------------------------------
- No. of chapters to create: 1

CD image #2: CD_Image_File_CD2.bin

Executing VCDXBuild. Commandline:
"C:\Program Files\DVD2SVCD\VCDImager\vcdxbuild.exe" --verbose --cue-file="C:\24\CD_Image_File_CD2.cue" --bin-file="C:\24\CD_Image_File_CD2.bin" "C:\24\VCDXBU~2.XML"
Image creation finished.

--------------------------------------------------------
- 10/1/2003 10:50:30 AM
- Free on drive C: 16570.42 mb
- Conversion done!
--------------------------------------------------------

Trahald
1st October 2003, 19:59
havent tried the new version yet. prolly give it a whirl tomorrow.. started experimenting with "kvcd". cant have 2 x factors at the same time. ;) anywho.. i changed the sleep, 3000 (i think thats what it was) line before d2sr loads eclcce the first time to 30000 ... works like i charm ( i woke up to the 'sorry, only one instances of eclcce" message again.. :( .. so i did a little tweaking ). thankfully RB is removing that from the next version of eclcce so i'll just manually add the extra sleep time when i try new betas for now.

telemike
1st October 2003, 20:20
How soon before a stable version is ready? Which previous version should I use when I need to do a backup? :confused:

DDogg
1st October 2003, 21:23
@TeleMike - Beta 4 is working well. Maybe uncheck the do audio thing until beta 5. Since 128 is the minimum most would want on a 1cd encode you may not end up using it anyway so just set that in d2s like you used to do. If you are uncomfortable with that then use beta 2 of the previous version. Just make sure your time bands are set properly.

@tylo, just finished a batch operation and all was well. One encode again had a very small second mpg created. tylo, I think you are real close to getting a rest. That small secondary file is the only thing I have found with beta 4. Great job! Note I have not yet tried a dvd2dvd encode.


------------------------------
Using awesome Biostar NF2 400

tylo
2nd October 2003, 08:47
Uploaded beta6:
The dynamic audio was maybe stretching the plugin too far. But hopefully, the beta6 will do the job also when it comes to recover.

@w00kie: I've put in a 5 sec sleep before the second start of CCE - I think that should be enough.

@DDogg: I'm clueless on your '24' episode encode. Almost seems like a D2S bug - can you verify that audio came out 128 kbps.
Just make sure your time bands are set properly.This is one of the things that shouldnt be needed anymore - at least not for CD sizes at 740-900. You can verify it yourself fast by:
- breaking the plugin after the first sample has started,
- then restart plugin and change num CDs within the correct time band,
- recover at video, then break the plugin after the first sample again:

Check out this: (This gave an amazing 1274 kbps encode of the 2nd Harry Potter movie)Listing 1
*********
- Encoding mode : OPV RoBa
- CD size : 800
- Number of CD's : auto
- Auto Q. (worst) : 40
- Maximum Q. : 128
- Sample percentage : 3.0
- Adjust Q. : 2.0
- Sample GOPs : 1
- Sizing pass : on=1 (-3.0 .. 1.0)%
- Audio after video : on=1 (% of Video, 10%, min 128 kbps)
- Adjust max video br : on=1 (total 2756 kbps)
--------------------------------------------------------
- Movie length : 02:34:21 (231542 frames, 25 fps)
- D2S audio settings : (160 kbps + 0) kbps
- D2S video estimate : 1950 kbps, 3 CDs
- SelectRangeEvery : every 500, select 15 frames
- Num. sample frames : 6960
--------------------------------------------------------
Calculations:
- 1 CD: Video BR=565 Audio 1 BR=128 Video SZ=654106150.
- 2 CD: Video BR=1274 Audio 1 BR=128 Video SZ=1474922540.
- 3 CD: Video BR=1918 Audio 1 BR=192 Video SZ=2220487780.
- 4 CD: Video BR=2563 Audio 1 BR=256 Video SZ=2967210730.

Listing 2
*********
- Encoding mode : OPV RoBa
- CD size : 800
- Number of CD's : auto
- Auto Q. (worst) : 40
- Maximum Q. : 128
- Sample percentage : 3.0
- Adjust Q. : 2.0
- Sample GOPs : 1
- Sizing pass : on=1 (-3.0 .. 1.0)%
- Audio after video : on=1 (% of Video, 10%, min 128 kbps)
- Adjust max video br : on=1 (total 2756 kbps)
--------------------------------------------------------
- Movie length : 02:34:21 (231542 frames, 25 fps)
- D2S audio settings : (160 kbps + 0) kbps
- D2S video estimate : 1242 kbps, 2 CDs
- SelectRangeEvery : every 500, select 15 frames
- Num. sample frames : 6960
--------------------------------------------------------
Calculations:
- 1 CD: Video BR=565 Audio 1 BR=128 Video SZ=654106150.
- 2 CD: Video BR=1274 Audio 1 BR=128 Video SZ=1474922540.
- 3 CD: Video BR=1919 Audio 1 BR=192 Video SZ=2221645490.
- 4 CD: Video BR=2564 Audio 1 BR=256 Video SZ=2968368440.

Trahald
2nd October 2003, 12:44
those results look good, tylo. great work. gonna go with newest version on tonites encode.

r6d2
2nd October 2003, 15:01
@Tylo, look at this:

Calculations:
- 1 CD: Video BR=502 Audio 1 BR=128 Video SZ=642616951.
- 2 CD: Video BR=1147 Audio 1 BR=128 Video SZ=1468290124.
- 3 CD: Video BR=1760 Audio 1 BR=160 Video SZ=2252999667.
- 4 CD: Video BR=2342 Audio 1 BR=224 Video SZ=2998025693.
--------------------------------------------------------
- Using Max bitrate=2532 for auto samples (adj. for 4 CDs)

I think that auto samples must be done with max=(adjusted for the min. audio BR). Otherwise the plugin may select a different number of CDs than needed.

I don't have time to elaborate on this now, but please give it a thought. I think you'll get it.

Siku
2nd October 2003, 19:51
@tylo

I ran a test with beta6 using AVI2SVCD and it worked like a charm. There were no issues whatsoever. Thank you. :)

Regards,
Siku

DDogg
2nd October 2003, 22:58
tylo, the plugin does not fix the corruption with the besweetlater.bat file, contrary to your previous post. Even if the plugin is started, audio is unchecked, when d2sroba launches d2s the besweetlater.bat is still there. I hope you can check this, in fact I hope there may be a way to restore all settings corrupted by the plugin. I can fully understand your need to change some settings, but not resetting them to what they were before the plugin changed them is a trifle intrusive, imo. Hope you can think about this.

Other than that it seems to be working well.

tylo
2nd October 2003, 23:50
It finally seem to work well for me now. Last two of mine encodes worked exactly as I wanted.
@DDogg: There is no corruption regarding the BeSweetLater.bat. I've tested this very thorough. If you have exited the plugin from the tray (before the sample encodings has started), The BeSweetLater.bat will be there if you open D2S alone. This cannot be avoided.

To restore besweet.exe:
Alt. 1) Start the plugin + pressing GO in the plugin GUI. D2S starts. Then either exit D2S or continue as normal.

Alt. 2) Set BeSweet back manually in D2S.

Both will work.

DDogg
2nd October 2003, 23:54
If you have exited the plugin from the tray (before the sample encodings has started), The BeSweetLater.bat will be there if you open D2S alone. This cannot be avoided.No problem with that as I can completely understand how that is unavoidable.
Alt. 1) Start the plugin + pressing GO in the plugin GUI. D2S starts. Then either exit D2S or continue as normal.
Nope. Did exactly that. Ran plugin, made sure audio was unchecked, pressed go, checked and saw BSlater.bat still there, exited d2s, reran d2s and besweetlater.bat is still there. Further, I certainly would think if you run the plugin, select no audio and then press go that by all means the besweet path should be restored to normal. Do you disagee? Obviously 2 would work but I think that would be a very bad mannered thing indeed.

No matter what I try, I can not get d2sroba to fix/ change the besweetlater.bat back to what it is supposed to be.

As said, other than that, it is awesome.

tylo
3rd October 2003, 07:17
Oh, I get it. It doesn't reset besweet when Audio is unchecked. I'll fix that for the RC1.
Here's what the plugin will set in D2S before starting it:
- Encoding mode: OPV for RoBa - Multipass for Credits Tweaking
- Unsets D2S avisynth edit when 'Batch Prepare' is set.
- The time bands and num CDs in the Bitrate Tab.
- BeSweeet exe when Audio is checked. (I will add reset always)

All other changes are on the project only. Except for maybe the 'avisynth edit' I don't see the real need to reset the other settings - it may be more confusing for the user.

/Add: 2.7.0 RC1 uploaded.
http://home.no.net/tylo/

DDogg
3rd October 2003, 14:09
Thanks for looking in to this! It now resets it perfectly. Nice to see that RC status. I'll try to do a dvd2dvd test today and get you those results. Great job!

Holomatrix
3rd October 2003, 15:25
Awesome work :) the pic you have on your website, would that be what you think the default settings should be for new users to start with?

tylo
3rd October 2003, 16:03
I'll try to do a dvd2dvd test today and get you those results. Great job!Thanks.
Awesome work the pic you have on your website, would that be what you think the default settings should be for new users to start with?They are quite good, but I think it's now also safe to tick on the Audio part. That will automatically choose a good balance between the video and audio bitrate - typically 128 kbps for a 1CD encode, and 160/192/224 for a 2CD. You may lower the 'Sample %' to 2.0 or even 1.0 - we don't seem to agree on it. I'll try to set up the best values for new users (and make them default) for the next rc/release.

r6d2
3rd October 2003, 20:11
CD Size: 803
D2S assumes a CD size of 800 by default. However, CDs are not 800-MB, but 798 instead. Then the BR calculation substracts 5 from the default size, using 795. By using 803 (798+5) you use the actual total capacity of the disk.
There's a risk though: bbMPEG may create 80.10 minute images, which will surely burn OK with overburning.
Num CDs: auto
Trust your guts! Use the force!
Auto Q: 30
A value of 20 will give you about 2 times the optimum quantization possible for a SVCD at Avg=Max. Q=30 will give you about 2.5 times and Q=40 will give you about 3.3 times.
Maximum Q: 40
Useful for reasonable alternatives in "?" mode.
Adjust Q: 1
Good gamble IMHO.
Sizing pass: On, -2%, 0%
for full-CD freaks.
Audio creation: On, 10%, Min br=112
Sample size: 1% (/Add)

DDogg
3rd October 2003, 20:18
I note you skated right past the sample size :) (clucking like chicken) 1% is all I use anyway.

Trahald
4th October 2003, 04:48
100% sample !!

:) just kidding

speaking of disk size. *wish list* it would be nice if there were an option to have d2sroba set the disk size to reflect the new size of the disks ie (if you dont have vbr pass on or final encoded size is within the excepted % range) and your 2 disk encode comes out 1610 mb to cut the disks to 805 and 805 instead of 800 , 800 and 10. it would be set to the new size before d2s resumes for pulldown/mux *end wish list*

:D

DDogg
4th October 2003, 13:48
I did an auto last night with audio set at 10% as a test. This morning D2V is up with it's exceeded bitrate warning up. So that might be an area you might want to look at.

Yeah, a restart shows the warning with a total bitrate of 2808 and the audio settings in D2S have been changed to 224 instead of the 160 I had set it to.
========================================================
D2SRoBa v2.7.0 RC1 - DVD2SVCD plugin, by tylo
OS Version: WIN_XP
--------------------------------------------------------
- DVD2SVCD Shutdown
- 2003-10-04 08:06:26
--------------------------------------------------------
Settings:
- Encoding mode : OPV RoBa
- CD size : 800
- Number of CD's : auto
- Auto Q. (worst) : 32
- Maximum Q. : 64
- Sample percentage : 1.0
- Adjust Q. : 1.0
- Sample GOPs : 1
- Sizing pass : on=1 (-3.0 .. 1.0)%
- Audio after video : on=1 (% of Video, 10%, min 128 kbps)
- Adjust max video br : on=1 (total 2756 kbps)
--------------------------------------------------------
- Movie length : 01:57:23 (168886 frames, 23.976 fps)
- D2S audio settings : (160 kbps + 0) kbps
- D2S video estimate : 1685 kbps, 2 CDs
- SelectRangeEvery : every 1200, select 12 frames
- Num. sample frames : 1692
--------------------------------------------------------
Calculations:
- 1 CD: Video BR=787 Audio 1 BR=128 Video SZ=692949627.
- 2 CD: Video BR=1685 Audio 1 BR=160 Video SZ=1483634208.
- 3 CD: Video BR=2552 Audio 1 BR=224 Video SZ=2247023441.
- 4 CD: Video BR=3386 Audio 1 BR=320 Video SZ=2981356336.
--------------------------------------------------------
- Using Max bitrate=2596 for auto samples (adj. for 2 CDs)
- Estimated mpv size : 1612150223. (Q=32, 1830 kbps, 16151476 sample sz)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Number of CDs : 3
- Target mpv size : 2247023441. (2552 / max 2532) kbps
--------------------------------------------------------
- Computing oversize num CDs: adj_target_brate = 2532
- Adjusted CD size : 794 (fillrate = 0.993)
--------------------------------------------------------
- Encoding Movie
- 2003-10-04 08:08:32

DDogg
4th October 2003, 19:06
Still having problems on my tests for you with d2sroba audio on. The log below is where I did a "?" test encode on the same source with audio on 10%. I choose 2 cds from the results presented. The File size on the second bin was 757,180 kb. The sizing pass did run, so that was a pretty large sizing error.

/Later - I did a 2 disk encode with no d2sroba audio and it was as usual, perfect. I will not post that log unless you ask for it.

D2SRoBa v2.7.0 RC1 - DVD2SVCD plugin, by tylo
OS Version: WIN_XP ("?" with audio 10%)
--------------------------------------------------------
- DVD2SVCD Shutdown
- 2003-10-04 08:23:31
--------------------------------------------------------
Settings:
- Encoding mode : OPV RoBa
- CD size : 800
- Number of CD's : ?
- Auto Q. (worst) : ---
- Maximum Q. : 64
- Sample percentage : 1.0
- Adjust Q. : 1.0
- Sample GOPs : 1
- Sizing pass : on=1 (-3.0 .. 1.0)%
- Audio after video : on=1 (% of Video, 10%, min 128 kbps)
- Adjust max video br : on=1 (total 2756 kbps)
--------------------------------------------------------
- Movie length : 01:57:23 (168886 frames, 23.976 fps)
- D2S audio settings : (160 kbps + 0) kbps
- D2S video estimate : 1621 kbps, 2 CDs
- SelectRangeEvery : every 1200, select 12 frames
- Num. sample frames : 1692
--------------------------------------------------------
Calculations:
- 1 CD: Video BR=755 Audio 1 BR=128 Video SZ=664773785.
- 2 CD: Video BR=1621 Audio 1 BR=160 Video SZ=1427282523.
- 3 CD: Video BR=2456 Audio 1 BR=224 Video SZ=2162495913.
- 4 CD: Video BR=3258 Audio 1 BR=320 Video SZ=2868652966.
--------------------------------------------------------
- Using Max bitrate=2628 for auto samples (adj. for 1 CDs)
- Estimated mpv size : 1055705588. (Q=64, 1198 kbps, 10576684 sample sz)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Number of CDs : 2
- Target mpv size : 1427282523. (1621 / max 2596) kbps
--------------------------------------------------------
- Binary search for Q:
- Estimated mpv size : 1612150223. (Q=32, 1830 kbps, 16151476 sample sz)
- Estimated mpv size : 1275188716. (Q=48, 1448 kbps, 12775596 sample sz)
- Estimated mpv size : 1427744677. (Q=40, 1621 kbps, 14303992 sample sz)
- Computed mpv size : 1351466696. (Q=44, 1534 kbps, 13539794.=(Q48+Q40)/2)
- Computed mpv size : 1389605687. (Q=42, 1578 kbps, 13921893.=(Q44+Q40)/2)
- Computed mpv size : 1408675232. (Q=41, 1599 kbps, 14112943.=(Q42+Q40)/2)
--------------------------------------------------------
- Q Weight : 1.0 - (1427282523. / 99.8144208037825 - 14112943.) / (14303992 - 14112943.)
- Adjust Q : (41 + (2.42352965777999e-002) - (1.0)) = 40.0242352965778
- Determined Q. : 40
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Number of CDs : 3
- Target mpv size : 2162495913. (2456 / max 2532) kbps
--------------------------------------------------------
- Computing oversize num CDs: adj_target_brate = 2456
========================================================
- Selected num CDs : 2 (Q=40)
--------------------------------------------------------
- Encoding Movie
- 2003-10-04 08:33:38
- Actual mpv file size:
10/04/2003 10:14 AM 1328615384 Encoded_Video_CCE_NTSC.mpv
- OPV pass result: 93.1% on target ( 1328615384 / 1427282523.)
--------------------------------------------------------
- Executing VBR Sizing Pass - 1621 kbps.
- Actual mpv file size:
10/04/2003 12:01 PM 1426074184 Encoded_Video_CCE_NTSC.mpv
- Sizing pass result: 99.9% on target ( 1426074184 / 1427282523.)
--------------------------------------------------------
- Executing: C:\Program Files\DVD2SVCD\BeSweet\BeSweet.exe -core( -input "C:\holes\Extracted_audio_1.ac3" -output "C:\holes\Encoded_audio_1.mp2" -logfile "C:\holes\Encoded_audio_1.log" ) -azid( -L -3db -C 0db -S /
0db -c normal -s surround -g max ) -2lame( -e -b 160 -m s )
--------------------------------------------------------
- Recover
- 2003-10-04 12:11:53

homerjay
4th October 2003, 23:44
just to report in with RC1 2 avi conversions have failed at bbmpeg stage as no .mp2 file was created :confused:

r6d2
5th October 2003, 00:49
I did an encode with two audio tracks (with Audio later in D2Sroba) and got a strange "List out of bounds" error in D2S :confused:

I redid it without letting D2Sroba do the audio and it worked fine. :(

tylo
5th October 2003, 19:59
Thanks for all the logs and test results!
Surely, the "audio creation after video" is not perfect, and the conclusion from your results is that with the audio ticked on, the current RC1 is limited to one audio, and DVD2SVCD only (not AVI2SVCD).

DDogg's report also shows that the untested "CD size" reduction may not work - which is more serious. For now, increase 'Auto Q' (e.g 40) to reduce risc to for that situation. Recommended also 'Adjust Q'=1.3

I'm not sure how much I will look into the audio things for the moment - you can always tick it off for those cases that causes problems.

But, please continue reporting anomalities/bugs that you may find.

Ps: I've converted about 2/3rd of the code to AutoIt3, so I may spend some time on that.

Cheers

DDogg
5th October 2003, 20:42
I think people should just uncheck, "Audio creation after Video" in the plugin for now. With it off everything seems to work pretty well.

Siku
5th October 2003, 21:41
I'm having some CCE termination problems with v2.7.0 RC1 using AVI2SVCD. This time I used 'auto' mode for 'Number of CD's' prediction. Again, D2SRoBa won't shut down the CCE properly: the GUI disappears but the CCE keeps running at the backgroud.

Here's the log file:
========================================================
D2SRoBa v2.7.0 RC1 - DVD2SVCD plugin, by tylo
OS Version: WIN_XP
--------------------------------------------------------
- DVD2SVCD Shutdown
- 2003-10-05 23:27:16
--------------------------------------------------------
Settings:
- Encoding mode : OPV RoBa
- CD size : 803
- Number of CD's : auto
- Auto Q. (worst) : 30
- Maximum Q. : 40
- Sample percentage : 1.0
- Adjust Q. : 1.0
- 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 2756 kbps)
--------------------------------------------------------
- Movie length : 01:48:45 (163144 frames, 25 fps)
- D2S audio settings : (192 kbps + 0) kbps
- D2S video estimate : 1812 kbps, 2 CDs
- SelectRangeEvery : every 1500, select 15 frames
- Num. sample frames : 1635
--------------------------------------------------------
Calculations:
- 1 CD: Video BR=802 Audio 1 BR=192 Video SZ=654207440.
- 2 CD: Video BR=1812 Audio 1 BR=192 Video SZ=1478084640.
- 3 CD: Video BR=2822 Audio 1 BR=192 Video SZ=2301961840.
- 4 CD: Video BR=3832 Audio 1 BR=192 Video SZ=3125839040.
--------------------------------------------------------
- Using Max bitrate=2564 for auto samples (adj. for 2 CDs)
- Estimated mpv size : 813572287. (Q=30, 997 kbps, 8153476 sample sz)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Number of CDs : 2
- Target mpv size : 1478084640. (1812 / max 2564) kbps
--------------------------------------------------------
- Binary search for Q:


Regards,
Siku

Trahald
5th October 2003, 22:11
i did a disk=1 with audio on with rc1 last night. cce didnt terminate( the 2 instance of cce thing).. i need to hang around long enough before i goto bed for that part so i can crash recover if that happens since now i dont have to wait for audio to encode. anyways.. when i got up this morning i crash recovered from video encode and all went well. the mpv was at 96% and i didnt have vbr pass on (im not too anal about that) the final file was about 790mb.. worked perfectly. autoit seems to be leaving the WinWaitClose loop too soon, prolly cause its just checking if the wrapper (eclcce) is closed.. not cce. maybe a separate killbyname for cce.exe might help *shrug*.

i like the new version of autoit. ProcessClose() was sorely needed

DDogg
6th October 2003, 06:41
I give up in confusion :scared: Now it is trying to use CBR at 500 kbps for a 3 cd encode.

D2SRoBa v2.7.0 RC1 - DVD2SVCD plugin, by tylo
OS Version: WIN_XP
--------------------------------------------------------
- DVD2SVCD Shutdown
- 2003-10-06 00:35:37
--------------------------------------------------------
Settings:
- Encoding mode : OPV RoBa
- CD size : 800
- Number of CD's : 3
- Auto Q. (worst) : ---
- Maximum Q. : 64
- Sample percentage : 1.0
- Adjust Q. : 1.6
- Sample GOPs : 1
- Sizing pass : on=1 (-2.0 .. 1.0)%
- Audio after video : on=1 (Fixed bitrate, 10%, min 160 kbps)
- Adjust max video br : on=0 (total 2756 kbps)
--------------------------------------------------------
- Movie length : 01:52:54 (162421 frames, 23.976 fps)
- D2S audio settings : (160 kbps + 0) kbps
- D2S video estimate : 2230 kbps, 3 CDs
- SelectRangeEvery : every 1200, select 12 frames
- Num. sample frames : 1632
--------------------------------------------------------
Calculations:
- 1 CD: Video BR=626 Audio 1 BR=160 Video SZ=530090226.
- 2 CD: Video BR=1428 Audio 1 BR=160 Video SZ=1209215403.
- 3 CD: Video BR=2230 Audio 1 BR=160 Video SZ=1888340581.
- 4 CD: Video BR=3032 Audio 1 BR=160 Video SZ=2567465758.
--------------------------------------------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Number of CDs : 3
- Target mpv size : 1888340581. (2230 / max 2584) kbps
--------------------------------------------------------
- Binary search for Q:
- Estimated mpv size : 1727393912. (Q=32, 2039 kbps, 17356788 sample sz)
- Estimated mpv size : 2040762540. (Q=16, 2409 kbps, 20505504 sample sz)
- Estimated mpv size : 1896215016. (Q=24, 2239 kbps, 19053096 sample sz)
- Computed mpv size : 1811804464. (Q=28, 2139 kbps, 18204942.=(Q32+Q24)/2)
- Computed mpv size : 1854009740. (Q=26, 2189 kbps, 18629019.=(Q28+Q24)/2)
- Computed mpv size : 1875112428. (Q=25, 2214 kbps, 18841058.=(Q26+Q24)/2)
--------------------------------------------------------
- Q Weight : 1.0 - (1888340581. / 99.5226715686274 - 18841058.) / (19053096 - 18841058.)
- Adjust Q : (25 + (0.37315017883995) - (1.6)) = 23.7731501788399
- Determined Q. : 23
- Adjusted CD size : 1 (fillrate = )
--------------------------------------------------------
- Encoding Movie
- 2003-10-06 00:38:04

Trahald
6th October 2003, 13:04
did my first disk=auto with audio=1 last night got 2 cds
of perfect size (800mb). came out great.

heres the log to look at...


========================================================
D2SRoBa v2.7.0 RC1 - DVD2SVCD plugin, by tylo
OS Version: WIN_XP
--------------------------------------------------------
- DVD2SVCD Shutdown
- 2003-10-06 00:13:24
--------------------------------------------------------
Settings:
- Encoding mode : OPV RoBa
- CD size : 800
- Number of CD's : auto
- Auto Q. (worst) : 60
- Maximum Q. : 128
- Sample percentage : 2.0
- Adjust Q. : 0.8
- Sample GOPs : 1
- Sizing pass : on=1 (-3.0 .. 1.0)%
- Audio after video : on=1 (% of Video, 10%, min 96 kbps)
- Adjust max video br : on=1 (total 2756 kbps)
--------------------------------------------------------
- Movie length : 02:23:17 (206141 frames, 23.976 fps)
- D2S audio settings : (192 kbps + 0) kbps
- D2S video estimate : 2084 kbps, 3 CDs
- SelectRangeEvery : every 750, select 15 frames
- Num. sample frames : 4125
--------------------------------------------------------
Calculations:
- 1 CD: Video BR=652 Audio 1 BR=96 Video SZ=700721201.
- 2 CD: Video BR=1384 Audio 1 BR=128 Video SZ=1487420463.
- 3 CD: Video BR=2084 Audio 1 BR=192 Video SZ=2239728500.
- 4 CD: Video BR=2784 Audio 1 BR=256 Video SZ=2992036537.
--------------------------------------------------------
- Using Max bitrate=2564 for auto samples (adj. for 3 CDs)
- Estimated mpv size : 1370844347. (Q=60, 1275 kbps, 27431384 sample sz)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Number of CDs : 2
- Target mpv size : 1487420463. (1384 / max 2628) kbps
--------------------------------------------------------
- Binary search for Q:
- Estimated mpv size : 2195888093. (Q=30, 2043 kbps, 43940984 sample sz)
- Computed mpv size : 1783366220. (Q=45, 1659 kbps, 35686184.=(Q60+Q30)/2)
- Computed mpv size : 1577105284. (Q=52, 1467 kbps, 31558784.=(Q60+Q45)/2)
- Estimated mpv size : 1445200230. (Q=56, 1344 kbps, 28919288 sample sz)
- Computed mpv size : 1511152757. (Q=54, 1406 kbps, 30239036.=(Q56+Q52)/2)
- Estimated mpv size : 1464984569. (Q=55, 1363 kbps, 29315184 sample sz)
--------------------------------------------------------
- Q Weight : 1.0 - (1487420463. / 49.9735757575758 - 29315184) / (30239036. - 29315184)
- Adjust Q : (55 + (0.514039958161679) - (0.8)) = 54.7140399581617
- Determined Q. : 54
--------------------------------------------------------
- Encoding Movie
- 2003-10-06 00:28:14
- Actual mpv file size:
10/06/2003 02:06 AM 1430636184 Encoded_Video_CCE_NTSC.mpv
- OPV pass result: 96.2% on target ( 1430636184 / 1487420463.)
--------------------------------------------------------
- Executing VBR Sizing Pass - 1384 kbps.
- Actual mpv file size:
10/06/2003 03:47 AM 1486044792 Encoded_Video_CCE_NTSC.mpv
- Sizing pass result: 99.9% on target ( 1486044792 / 1487420463.)
--------------------------------------------------------
- Executing: C:\Program Files\DVD2SVCD\BeSweet\BeSweet.exe -core( -input "C:\Program Files\DVD2SVCD\Movie\s1d3e3\Extracted_audio_1.ac3" -output "C:\PROGRA~1\DVD2SVCD\Movie\s1d3e3\Encoded_audio_1.mp2" -logfile "C:\PROGRA~1\DVD2SVCD\Movie\s1d3e3\Encoded_audio_1.log" ) -azid( -L -3db -l 0db -c normal -s surround -g max ) -ota( -d -111 ) -2lame( -e -b 128 -m s )
--------------------------------------------------------
- Recover
- 2003-10-06 03:58:29

tylo
6th October 2003, 14:21
@DDogg: I'll try to upload RC2, which just removes the broken 'CD size reduction' for the cases when it cannot fill the last CD, due to the max SVCD bitrate constraint. As I said the 'audio creation after video' works for me when DVD -> SVCD and one audio, but otherwise untick it.

@w00kie: I've tried several things to make sure CCE & EclCCE exits, but none seems to work well on your system. Maybe the new AutoIt3 process functions will help us. The code is just so much more readable and easy maintainable with AutoIt3 + it has a lot of new features compared to AutoIt2, so its really no way back.

Trahald
6th October 2003, 16:32
@tylo: yeah.. for now i made a tiny autoit3 script that tracks the progress and after d2sroba closes the "%, saving" cce dialogue, i have it do a processclose("cce.exe") processclosewait("cce.exe") then it exits. worked last night (although i waited to make sure) so im ok for now

r6d2
7th October 2003, 15:08
@Tylo,

It's working like a charm to me with 1 audio track, which is the usual case I do.

I noticed that when OPV succeedes, the SVCDinfo file still has the encoding parameters first set in D2S. Would you please update the Q factor in the INI/D2S file in order to have it documented properly on the SVCD?

Thanks a lot.

Trahald
7th October 2003, 17:25
did another 1 audio encode last night disks=auto audioafter=1 sizingpass=1 came out perfect.

guess i'll try a 2 audio of the same movie for fun.

DDogg
7th October 2003, 21:24
tylo, I stumbled upon a problem that had made me think I was actually going nuts.

Ok, imagine we have done two encodes. One in dir 24-7 and the last encode in 24-8 which finishes fine. Now, we decide to go back and reencode 24-7 using d2sroba by doing a restart in that dir. The odd, make ddogg nuts fun begins. It is a little hard to write about clearly so be patient.

You will notice that when d2s first engages CCE the file browser will be in the *24-8* directory (the directory it was last used in). D2S will then generate into the browser the *full* file path with 24-7\whatever which effectively changes the dir to 24-7. No problem and it continues upon its way with no problems.

However, when d2sroba kills cce and d2s and then restarts cce it will mysteriously start working in the 24-8 directory. I would suspect you are picking up that original working dir from somewhere in d2s, but if a restart is done in a different dir you are not picking up that change even though d2s is by using the full path insertion trick.

Frankly I thought I was going senile these last few weeks, as several times I had reworked/reencoded several episodic dvds before burning, to only later find out the episodes were not what I had them marked as. I thought I had just been very sloppy when I chose my restart dir. So, anyone reading this with a similar problem, you are not crazy :)

I think you should be able to verify this easily. Let me know if you cannot.

r6d2
7th October 2003, 22:19
Originally posted by DDogg
D2S will then generate into the browser the *full* file path with 24-7\whatever which effectively changes the dir to 24-7. No problem and it continues upon its way with no problems.

However, when d2sroba kills cce and d2s and then restarts cce it will mysteriously start working in the 24-8 directory.

This is an old "feature" (I was curious nobody ever pointed it out before). It has to do with the way D2S stores the paths in the global INI and the local project INI file. It is a difficult to spot bug since you normally work with one movie at a time. ;)

The workaround is to select the new working dir in D2S and close D2S once before retrying the new dir. It has worked for me, even tough a fix by Tylo would be great.

DDogg
7th October 2003, 22:38
Well since d2s works with a restart from the dir and d2sroba does not, I think it would be classed as a critter, but of course I would never say such a thing :)

tylo
7th October 2003, 22:45
@DDogg, I don't think there is a difference on D2S and D2SRoBa here.

D2S has never managed to deal with the global ini files. /Edit: (D2S does load the output path). But after a recover it saves most of the settings used for that project back to the global ini-files, which it shouldn't.

Sadly, things hasn't exactly improved with the three new ini files. (DVD.ini, SVCD.ini, ..). The redundancy (multiple storage) of so many variables is just a nightmare for plugin developers like me. Hope D2S will look into this one day.

/Add: The thing is: there are no less than three ini-files to choose from: dvd2svcd.ini and SVCD.ini in the home dir, and the DVD2SVCD.INI in the project dir. They all store more or less the same info, and what is the correct info from which file at a given time is not easy to figure out.

DDogg
7th October 2003, 22:50
Actually, he just got back and is looking at a few things for a new release. One of them he called "tylo's bug" whatever that means, although that may have been fixed in the two test builds he put out. If you have time to elaborate what you need, he might be able to get it in this next release due out in a few days. Oh, any news on RC2?

/Add: What build are you using now for testing? 1.2.1 build 2B is current. Maybe we can talk him in to saving some special information for you to use? For example, if there were several new values always in a certain location that showed for example a restart in progress flag, a mode flag (svcd,dvd, vcd, etc.), and other info you needed,would that help you?

tylo
7th October 2003, 23:18
Have a bussy week, so dont expect anything before friday/sat on RC2.
The version 3.0 (with AutoIt3) is more or less converted, but much testing remains even before a alpha release can be given.

I just let out a little frustration in the last post, D2S is doing a great job, if I haven't mentioned it before. :)

Thanks a lot for that offer. But I need some time to figure out what to ask first.

Cheers

DDogg
8th October 2003, 00:11
No problem, and just to be clear, I certainly can't talk for him. However, knowing him I would assume if he knew what you needed he would try to help if time allows. So if you could think about what you need it would be great. That might also help other plugin writers.

r6d2
8th October 2003, 20:40
Originally posted by DDogg
That might also help other plugin writers.
Hehehe... No more back doors! Collaborative software development at its best.

I have some ideas on how to improve D2S's BR calculations. I'll check with him.

dvd2svcd
9th October 2003, 08:50
Originally posted by tylo
Sadly, things hasn't exactly improved with the three new ini files. (DVD.ini, SVCD.ini, ..). The redundancy (multiple storage) of so many variables is just a nightmare for plugin developers like me. Hope D2S will look into this one day.[/B]True the ini files is one big mess. I think I'll revamp it completely.

Originally posted by r6d2
I have some ideas on how to improve D2S's BR calculations. I'll check with him. Please don't. I don't wanna mess with the bitrate calculations. They are as precise as they can get, and each time I mess with it it turns up a cascade of angry usermails because the bitrate calcs doesn't work as in prior versions.