Log in

View Full Version : Modification and optimization of robshot method and its possible use with DVD2SVCD


Pages : [1] 2 3 4 5 6

Bach
11th July 2002, 06:27
(or how to always get the same quality for all SVCD converted with DVD2SVCD)

Hi folks,

In the end of the last year robshot method was presented to the public as the way of extracting the maximum of quality in the conversion from DVD to DVD-R, with considerable reduction of video file size. In the following weeks, it was questioned if it would be useful to the users of SVCD too. Such quarrel was unfruitful and currently the robshot’s is predominantly used only by the owners of DVD-R. The results of my tests show that the method is intelligent, however have some sort of conceptual errors that makes it tiring and there are risks of image distortions. They also show that, after corrected such errors, it is possible easy use for DVD to CVD, SVCD or DVD-R conversions, and even though automatize it for the use with DVD2SVCD.

===> conceptual Errors of robshot method:

1) mpeg2 encoding must use non linear quantisation Scale (nlqS), instead of linear quantisation Scale(lqS). The values (S) of this scale are chosen by the encoder to calculate the most appropriate step quantisation of the coefficients of the discrete cosine transform (DCT), in accordance to the equation

CQ(i, j)=[alpha*C(i, j)]//[(QM(i, j)*S) ],

Where // means that the result of the division is rounded off, CQ(i, j) is the quantized term i,j of the matrix of coefficients of DCT, alpha is a numerical constant, C(i, j) is the term i,j of the matrix of coefficients of DCT and QM(i, j) is the term i,j of the quantisation matrix. When using nlqS, the variation of S is more smooth than that of lqS for S<60, so that the encoder can choose smooth values of S, minimizing the distortions.

2) the value of Q.factor must be smaller than 40. Robshot method (RoM) uses Q.factor=60, a value that is very close to the limit for which we observe distortion. Attention that the Q.factor is an exclusive concept of CCE, directly related with the quantisation, but it does not mean QM nor S, and it is not very clear the way that it is calculated. Based in the results of my tests, I believe that Q.factor is in some way proportional to the average value of the product QM(i, j)*S. Anyway, the Q.factor is the direct measure of the quality to be gotten so that, if two different films are recompressed using the same settings and the same Q.factor, can be guaranteed that they have the same quality.

3) the value of bias must be bigger than 0. If we use bias=0, the great freedom of variation of the bitrate results in the possibility of great distortions in very dark scenes. I recommend to use bias=10. It is interesting to know that this value can be directly modified in the ecl file, so that it is not necessary to wait for the end of the first pass.

4) The average bitrate, used in the second pass, is not necessarily equal to 2000. This is a crucial error. When we choose to make the first step using a fixed Q.factor, we are actually saying to CCE which quality we want to get in our encoding. In exchange, CCE will say us what is the size that the archive must have so that it gets such quality. Thus, the average bitrate used in the second pass must be calculated from the size of the mpv file created in the first pass, using the equation

avr_bitrate=mpv_size*8.192/(movie_time_length*60)

For example, if mpv_size=1,400,000 KB and movie_time_length=100 min, then avr_bitrate=1911 kbps.

5) the value of image quality priority equal to 5 is very small. It should be between 15 and 25. In accordance with CCE manual itself, “When the value is close to 0,the mosquito noise at the edges (noise causing hazy part along the edges,looking like flying mosquitoes)is less outstanding, but the contouring noise (noise which looks like contour line patterns, which appear in flat and wide areas,such as dark background) is more outstanding”.

6) It is totaly unnecessary to open “advanced settings” in order to manually modify the values of global and local bitrates. This stage of RoM can be totally discarded. When we follow instructions 2, 3 and 4, the average quantisation already is in the adequate value and the average allocation of bits already is optimized, so that any attempt of fine adjustments will be only loss of time.
In this point it is necessary to make some commentaries, for those that already usually use RoM and may insist on opening “advanced settings”:
= > the red regions do not correspond to images with distortion. They correspond to completely black parts of the film, that are codified with highest quantisation and very low bitrates;
= > the gray areas, if exists, already have practically the highest allowed bitrate and any attempt of change it to green will result in the creation of a new gray region in GOPs that were previously in green regions;
= > when we follow instructions 2, 3 and 4, it is verified that the value of the average Q.factor of the film is always the same, and it doesnīt matter which was the source film. This can also be verified with the use of BitrateViewer.

One question may appear: You said that it is unnecessary to use “advanced settings”. Does it mean it is unnecessary to make the second pass also?
No. Surely the second pass is necessary. I said that the average allocation of bits already is optimized, but the distribution of these bits inside of each GOP still can and must be optimized, and for this it is necessary to use multipass (it may be 1 or 2 pass). More than two, however, is loss of time and risk of distortion.

Now that the corrections in the RoM had been made, go to the second part of the heading of this post.

===> How to automatize robshot-Bach method:

The modifications done above make it possible to use RoM, now robshot-Bach, in an automatization tool, as for example DVD2SVCD, in order to use an adequate amount of CDs. At this moment I do it by hand, following the procedure below:

- run CCE 1passVBR, Q.factor = 30 (or 40), min = 0, max = 2500, bias = 10, and the other settings as usual;
- Calculate the average bitrate (avb_1pass) of the mpv file created by CCE, in accordance with the equation of item 4;
- Calculate the average bitrate that should be used to fill 1CD (avb1), 2CDs (avb2), 3CDs (avb3), or 4CDs (avb4):
-If ((avb_1pass - avb1)/avb1) < 0,1, then avb_1pass = avb1;
-Else if ((avb_1pass - avb2)/avb2) < 0,1, then avb_1pass = avb2;
-Else if ((avb_1pass. avb3)/avb3) < 0,1, then avb_1pass = avb3;
-Else avb_1pass = avb4.
- Execute multipass, 1, 2 or 3 passes, using min = 0, max = 2500, avr = avb_1pass, bias=10, and the remain settings as the previous one. Note that this multipass will re-use the vaf file created in the 1passVBR. So, the first pass of this multipass is NOT the vaf creation. It is the mpv creation.

Because of the way that DVD2SVCD works, the size (and consequently the average bitrate) of a SVCD depends only of the movie time length, without taking into account its compressibility. Since the author recommends that the average bitrate should be always between 1600 and 2230, the majority of the conversions done with DVD2SVCD have good quality. I say the majority, but not all. There is the possibility of, for example, producing 3 CDs of a film of 140 minutes of easy compressibility in 2 CDs, wasting then 1 CD. It could happen also that we use only 2 CDs for a film of 110 minutes when, in the truth, its compressibility is hard and would need 3 CDs.

To avoid such thing, in fact, all my last SVCDs have been done using this method.

To finish, I would like to say that this is only one small contribution for the users of the CCE, which may also be of advantage for the users of DVD2SVCD. I hope that it is of some value.

dvd2svcd
11th July 2002, 08:18
Thanks Bach, it looks very interesting. I'll call this method RoBa if it's ok with you and make this post sticky for the time being. I'll see if I can implement it in the next release.

Something like this?
1. Do a CCE 1-pass VBR with Robshots settings + your added changes
2. Do your calculations and changes then run CCE in x-pass VBR

For those interested here's what CCE has to say about BIAS:

Originally by CCE
Breaking into bit allocation strategy The encoder allocates bits
based on the original evaluation standard, so that all images have the
same visual quality. Changing the value of the Bias part breaks
into this evaluation standard. 0 to 100 can be set here. The initial
value is 30. As the value becomes smaller, more bits are allocated to
complicated scenes, and at value 0, the bitrate fluctuation is largest.
As this value becomes larger, more bits are allocated to simple scenes,
and at value 100, streams closer to CBR are output.So as I see it this is a value that I should populate so it can be changed by the users when using the Multipass method.

Holomatrix
11th July 2002, 13:14
Great post, will try settings on next encode. I can't seem to get to Robshots site to view the original guide. Is it down? I just wanted to know what the other settings were - Resize method and if any filters (TS or Sharpen) were used on any of the passes?
Thanks

dvd2svcd
11th July 2002, 14:23
@Bach: Do you delete the VAF file inbetween the 1-pass vbr and the multipass. I has because I am getting CRC Errors when I try the above method (and if you do then I think I misunderstood your post/Robshots method).
Originally posted by Bach
No, I donīt delete the vaf file. It is re-used in the multipass. I got CRC errors in the past (maybe half year ago) and the reason was one of the following:
a) I have edited the avs file;
b) I have changed the place where the d2v file was;
c) I have some codec misbehaviour. This means that, in the pass of vaf creation, the avs file was read by CCE as yuv. In the second pass, CCE "think" it was RGB and try to do RGB->YUV.

Btw: since I was playing with different matrices (what a waste of time...) too, my tests where done with link2 + CCE 2.62. I don't have any crashs since May.

Are you reading CCE logfile to verify if it say anything? The last lines of my CCE logfile at this moment are the following:

---------------------------------------------

***** CCE SP Trial Version started at 2002/07/11 11:15:33 *****
SDK version 2.62 CCE Trial (built at Mar 13 2001 05:08:41)
fexp thread created.
Found idx1.
biCompression = WRPR
fccHandler = WRPR
trying yuy2.
cce created.
encoder initialized.
encoding started at 2002/07/11 11:18:25.
>> received encoding start notification
>> received encoding stop notification
encoding stopped at 2002/07/11 11:22:05.
sync stopped.
fdev0 closed.
fdev1 closed.
>>>> Performance <<<<
Source : 166.875 seconds (4001 frames)
Elapsed: 219.564 seconds
---------------------------------------------------
>> File reading 0.693 0.316 %
>> Decoding 104.400 47.549 %
>> RGB -> YUY2 0.000 0.000 %
---------------------------------------------------
>> MPEG encoding 114.471 52.136 %
fexp thread terminated.
***** CCE SP Trial Version shutting down at 2002/07/11 11:23:39 *****
***** CCE SP Trial Version started at 2002/07/11 11:28:15 *****
SDK version 2.62 CCE Trial (built at Mar 13 2001 05:08:41)
fexp thread created.
Found idx1.
biCompression = WRPR
fccHandler = WRPR
trying yuy2.
cce created.
encoder initialized.
encoding started at 2002/07/11 11:28:41.
>> received encoding start notification
>> received encoding stop notification
encoding stopped at 2002/07/11 11:32:20.
sync stopped.
fdev0 closed.
fdev1 closed.
>>>> Performance <<<<
Source : 166.875 seconds (4001 frames)
Elapsed: 218.668 seconds
---------------------------------------------------
>> File reading 0.562 0.257 %
>> Decoding 103.591 47.373 %
>> RGB -> YUY2 0.000 0.000 %
---------------------------------------------------
>> MPEG encoding 114.516 52.370 %
fexp thread terminated.
***** CCE SP Trial Version shutting down at 2002/07/11 11:33:28 *****
***** CCE SP Trial Version started at 2002/07/11 12:49:32 *****
SDK version 2.62 CCE Trial (built at Mar 13 2001 05:08:41)
fexp thread created.
Found idx1.
biCompression = WRPR
fccHandler = WRPR
trying yuy2.
cce created.
encoder initialized.
encoding started at 2002/07/11 12:50:32.
>> received encoding start notification
>> received encoding stop notification
encoding stopped at 2002/07/11 12:54:19.
sync stopped.
fdev0 closed.
fdev1 closed.
>>>> Performance <<<<
Source : 166.875 seconds (4001 frames)
Elapsed: 227.377 seconds
---------------------------------------------------
>> File reading 0.652 0.287 %
>> Decoding 106.818 46.978 %
>> RGB -> YUY2 0.000 0.000 %
---------------------------------------------------
>> MPEG encoding 119.907 52.735 %
fexp thread terminated.
***** CCE SP Trial Version shutting down at 2002/07/11 12:59:41 *****
***** CCE SP Trial Version started at 2002/07/11 14:03:37 *****
SDK version 2.62 CCE Trial (built at Mar 13 2001 05:08:41)
fexp thread created.
Found idx1.
biCompression = WRPR
fccHandler = WRPR
trying yuy2.
cce created.
encoder initialized.
encoding started at 2002/07/11 14:06:24.
>> received encoding start notification
>> received encoding stop notification
encoding stopped at 2002/07/11 14:21:51.
sync stopped.
fdev0 closed.
fdev1 closed.
>>>> Performance <<<<
Source : 455.488 seconds (13651 frames)
Elapsed: 927.574 seconds
---------------------------------------------------
>> File reading 2.886 0.311 %
>> Decoding 405.560 43.723 %
>> RGB -> YUY2 0.000 0.000 %
---------------------------------------------------
>> MPEG encoding 519.129 55.966 %
fexp thread terminated.
***** CCE SP Trial Version shutting down at 2002/07/11 14:33:52 *****

----------------------------------------------------

dvd2svcd
11th July 2002, 22:22
Well, I do not do any of the above, you see I have already automated the process (without deleting the VAF file) and I got that CRC error. I will do some more testing. Maybe I should put my dvd2svcd version here so you can test it and tell me what I do wrong.

dvd2svcd
11th July 2002, 22:54
Originally posted by Bach
Is this the problematic version? For me it works like a charm:).
I must say: IT IS AWESOME. THANK YOU.

Now, lets try to debug (it is hard to do it without a bug:(): while watching
(following?) your CCE implementation I can see a potential culprit of your CRC errors:
In the multipass step, you are loading the pseudo_avi file and creating a new ecl from it.
This is a potential source of problems. For example, it is theoretically possible that this
new ecl have a total number of frames different from that number encoded with the previous step
, the 1passVBR.
I think it would be better to do the following:
-shutdown CCE after the end of 1passVBR.
-Read the size of the mpv file.
-Calculate the correct average bitrate, based on my If_Else_Then code.
-Edit the ecl file with the settings for multipass.
-Run CCE and load the edited ecl file.
-Encode.

I must say this again, if it have some value: I am using CCE 2.62 and Link2.

Regards.

dvd2svcd
12th July 2002, 15:40
Originally posted by Bach
Is this the problematic version? For me it works like a charm:).
I must say: IT IS AWESOME. THANK YOU.

Thanks :D

Now, lets try to debug (it is hard to do it without a bug:(): while watching
(following?) your CCE implementation I can see a potential culprit of your CRC errors:
In the multipass step, you are loading the pseudo_avi file and creating a new ecl from it.
This is a potential source of problems. For example, it is theoretically possible that this
new ecl have a total number of frames different from that number encoded with the previous step
, the 1passVBR.
I think it would be better to do the following:
-shutdown CCE after the end of 1passVBR.
-Read the size of the mpv file.
-Calculate the correct average bitrate, based on my If_Else_Then code.
-Edit the ecl file with the settings for multipass.
-Run CCE and load the edited ecl file.
-Encode.That might be the solution.

I must say this again, if it have some value: I am using CCE 2.62 and Link2.Well, there is a definate difference because I am using 2.50, can you test it with 2.50 ?

gigah72
12th July 2002, 19:50
used it last night for mulholland drive (pal-reg2/2h20min),
settings were:
cce v 2.50 (no crc-patch)/athlon 1.2ghz-512mb
iqp=20
bias=20
q.factor=30
bilinear resize
4passes
bitrate min=300 max=2500 avg.max=2350
sound=192, resampled to 44.1kHz
cce adv.setting according to bitrateviewer/mpegrepair for this movie

took a long time, but gave me 2(avg<1400) instead of 3cd (avg<2100),
well i can't say much about the quality itself, because i have't had the time to encode it the usual way, nor watch the result on tv(philips 32") to compare to the original (brought it back), but on the pc it looked a bit blocky. have to compare to the other encode i will do soon.
anyway, if the difference is not too big to the result with 3cd's, this is the new way for me. i'm corious for the event if the roba result becomes bigger then the 'usual' result.

greets,
g.

Holomatrix
15th July 2002, 16:47
When I run this new version, just before DVD2SVCD starts the second pass, DVD2SVCD scroll's somthing in the log, which causes it to never finish.(no log) I have to end the task. Has this happened to you guys yet?
Originally posted by Bach
Hi folks,

I have no posts this weekend because I was waiting for more reports... What is going on? Is it just me who can use this version with no problems?:( Is it hard to believe it works? I would like to get your feedback, so that we may do some sort of fine tunning of the default settings of my method, if necessary.

Anyway, here are two samples of an encoding done with this beta version of D2S. The movie is Xmen. I have used tmpeg's mpeg tools in order to cut these samples. The encoder settings were:
-first CCE run:
1passVBR, Q=40, min=0, max=9800, bias=20, quality priority=20, progressive, zig-zag, DVD compliant, DC=10, AR = 16:9.
-second CCE run:
avr= 1452, number of passes=2.

the avs file was done by hand, with the help of aviutl, is macroblock/CCE optimized and have these lines:
-----------------------
bicubicresize(686,350,0,0.5,8,56,706,364)
addborders(17,65,17,65)
-----------------------

As you can see, I did it as if I was encoding for DVD-R, with full resolution and anamorphic.

Here are the samples(links are gone now):

X_men, average action (total size = 7351 KB)
X_men, high action (total size = 19001 KB)

The whole encoded video stream have 1.1 GB. The source have 3.4 GB. The time length is 104min.

What is your opinion?
Originally posted by Bach
Hi D2S,

quote: Originally posted by dvd2svcd
"Well, there is a definate difference because I am using 2.50, can you test it with 2.50 ?"


Ok, here is my result:
1) doing it by hand: no problems, the good and old avs+2.50 pair works fine.
2) doing it with this beta version: I cannot test if it works. When it start the 2nd step, both D2S and CCE freezes and all I can do is ctrl+alt+del them. This behaviour happens randomly with the classic method too.

Clixo
16th July 2002, 21:20
@bach
@dvd2svcd

beta test reports:

movies:

dinossaur
planet of the apes (2000) ( gave me problems befoure so i use this one as test mvie )
matrix

settings
iqp=17
q factor 30
anti noise off
bias 10

no other filters ( no sharpening or ts )

5 passes

everything whent ok till the end using cce 2.5 and cce 2.6 + link2 ( OBRIGADÃO ;) ) in all the movies.

the final result is very good since i was not using any kind of filter but nevertheless the movies are PERFECT.

bach thank you for sharing this method
dvd2svcd thank you for making this one possible to be used with your MASTER PIECE OF SOFTWARE.


my encode machine is now half way on a cue encode of " some dvds " and til now no problem ( 6 dvd ready ) didnt played the result so only can say that the encode was finished.

fgm
16th July 2002, 23:00
I tried it and it failed. I used CCE 2.5 and the CCE error was:

>>
CCE encoding failed: Error: Video checksum is different from that of previous pass.
Source video date or time code may be different.
Please check video tape or the information file.
Please check video tape or the information file.
>>

If you need the log, just ask.
Originally posted by Bach
@ fgm

Your problem is the same of dvd2svcd. Could you verify if you can do it - the method - by hand?

@ clixomano

thanks for your report. Btw: this method have also the intend of to use less passes. So, if possible, please try again using 2 passes and verify if really there is any difference in using this method with 5 passes.

@ everyone

come on... 108 donwloads and only four reports? Please, post your results. They may be something like:

CCE settings:Q=30, min=0, max=2600, progressive[x], zigzag[x], linear[], bias=20, iqp=20, 2pass.
CCE version: 2.50->doesn't works (freezing before 2nd run)
2.62->works
machine:athlon 1.2 GHz
my opinion:awesome? good? not so good? bad? awful? crappy?

one last thing: now the samples linked above are just mpeg video, not win_aced. You can download it at once.

Clixo
17th July 2002, 21:30
@bach: i will make a test as soon it finish the cue

fgm
18th July 2002, 03:46
Your problem is the same of dvd2svcd. Could you verify if you can do it - the method - by hand?

Sorry, I wish I could but for the rest of the week I'm going to be swamped. I just got here for a shower and a snack, a quick reprogramming of DVD2SVCD and I'm out again. I hope early next week to have some spare time and I'll try it, I promise.

I can confirm that using CCE 2.62 with VFAPI does work. I'm currently encoding Ocean's Eleven (4X3 version :mad: ) and I will compare it with a regularly encoded version I already have. I'll let you know.

fgm
18th July 2002, 19:39
I must be doing something wrong. Ocean's Eleven with the new RoBa method produced only 1 CD with an average bitrate of 848. Not good! I used the following settings:

Max: 2550, Min: 200, Avg. 2400, CD Size: 801, 4 pass, Image Quality Priority: 17, Q. Factor 5, Anti Noise: 2, Bias: 20. CCE advanced settings at default except for Close All GOPs that I enabled.

Aspect Ratio: 4X3, CVD format, only one audio at 192 Kb with one permanent subtitle. Bicubic Resize: 0.0 0.75

Funny thing is that in the first pass it said 2CDs with 1669 Kb Average Bitrate. Here is the log:

++++++++++++++++++
Drive is harddisk, no need to authenticate - OK.
--------------------------------------------------------
- 17/07/2002 17:43:02
- DVD to SVCD Conversion
- DVD2SVCD ver. 1.1.0 build 1 Pre 22
--------------------------------------------------------
Initializing
Initializing finished.

--------------------------------------------------------
- 17/07/2002 17:43:05
- Analyzing subtitles
--------------------------------------------------------
Subtitle found: StreamID: 0x22 Language: English
Subtitle found: StreamID: 0x21 Language: Espaņol
Subtitle found: StreamID: 0x20 Language: Portugues

Executing subtitle selection/verification.
Subtitle selection/verification accepted.
1 subtitle streams selected.
Saving Subtitles ini file
--------------------------------------------------------
- 17/07/2002 17:43:10
- DVD2AVI
--------------------------------------------------------
Creating DVD2AVI INI file:
- E:\Archivos de programa\DVD2SVCD\DVD2AVI\DVD2AVI.INI

Variable settings:
iDCT_Algorithm: 32-bit SSE MMX

Executing DVD2AVI.
Executing DVD2AVI. Commandline:
"E:\Archivos de programa\DVD2SVCD\DVD2AVI\DVD2AVI.exe" -CS=2 -YR=1 -EXIT -OF=[F:\Movie\DVD2AVI_Project_file]

-IF=[F:\Vobs\Oceans Eleven\VTS_01_1.vob,F:\Vobs\Oceans Eleven\VTS_01_2.vob,F:\Vobs\Oceans

Eleven\VTS_01_3.vob,F:\Vobs\Oceans Eleven\VTS_01_4.vob,F:\Vobs\Oceans Eleven\VTS_01_5.vob,F:\Vobs\Oceans

Eleven\VTS_01_6.vob,F:\Vobs\Oceans Eleven\VTS_01_7.vob]
Analyzing DVD2AVI Project file
Force Film activated!
Framerate: 23976
DVD2AVI processing done.

--------------------------------------------------------
- 17/07/2002 17:46:54
- Free on drive E: 2199.91 mb
- Free on drive F: 22169.96 mb
- Extracting the subtitles.
--------------------------------------------------------

Subtitle extraction finished. Extracted these subtitles:
SVCD Stream no: 1 Language: Espaņol Num. of subs: 1146

Saving Subtitle Timecodes.
Permanent subtitles.
Saving Subtitles ini file
--------------------------------------------------------
- 17/07/2002 17:55:42
- Free on drive E: 2199.91 mb
- Free on drive F: 22141.52 mb
- AUDIO Extraction
--------------------------------------------------------
Found AC3 stream id: 0x80
Filename: F:\Movie\Extracted_audio_1.ac3
Audio1 delay: -90 ms
Audio extraction finished.

--------------------------------------------------------
- 17/07/2002 18:03:40
- Free on drive E: 2199.91 mb
- Free on drive F: 21768.01 mb
- AUDIO conversion
--------------------------------------------------------

Converting Audio to MP2. Filename: F:\Movie\Extracted_audio_1.ac3
Executing BeSweet. Commandline:
"E:\Archivos de programa\DVD2SVCD\BeSweet\BeSweet.exe" -core( -input "F:\Movie\Extracted_audio_1.ac3" -output

"F:\Movie\Encoded_audio_1.mp2" -logfile "F:\Movie\Encoded_audio_1.log" ) -azid( -L -3db -c normal -s surround -g

max ) -ota( -d -90 ) -2lame( -e -b 192 -m s )
Audio conversion of F:\Movie\Extracted_audio_1.ac3 finished.

Audio conversion finished.

--------------------------------------------------------
- 17/07/2002 18:17:36
- Free on drive E: 2199.91 mb
- Free on drive F: 21610.79 mb
- Converting Pictures
--------------------------------------------------------
Converting: E:\Archivos de programa\DVD2SVCD\DefaultChangeCD.bmp
Finished converting pictures

--------------------------------------------------------
- 17/07/2002 20:13:48
- Free on drive E: 2199.91 mb
- Free on drive F: 21912.16 mb
- Video Encoding using Cinema Craft
--------------------------------------------------------

Executing Frameserver.
Closing program

Executing Cinema Craft Encoder.
StreamSectors: 1667177176
AudioSectors: 170309692
VideoPAPO: 23187276
ScanOffsetBytes: 201211
SeqAligningBytes: 12788090
DVDBytes: 0
VideoEndHeader: 8
SubtitleSectors: 0
EmptySectors: 238.00
PictureSectors: 600.00
PureMPEGStream: 1460690899.20
Seconds: 7001.49
CalcMPEGStream: 1460690899.20
Frames: 167676
CDSize: 801.00
Number of CDs: 2
Cut point 796.00
Variable Settings:
Frames: 167676
Anti Noise Filter: 2
Passes: 4
Image Quality: 17
VAF file creation: On
Video Encoding Mode: RoBa Multipass VBR (a mix between 1-pass and multipass encoding)
Min. bitrate: 200
Max. bitrate: 2550
Q. Factor: 5
Avg. Bitrate: 1669
Aspect Ratio: 4:3 (No borders, encoded as 4:3)

---AVS Begin---
LoadPlugin("E:\ARCHIV~1\DVD2SVCD\MPEG2Dec\mpeg2dec.dll")
LoadPlugin("E:\ARCHIV~1\DVD2SVCD\AVISYN~1.DLL")
mpeg2source("F:\Movie\DVD2AV~1.D2V")
BicubicResize(352,480,0,0.75)
AvisynthSubtitler("F:\Movie\Subs\","permsubs.txt")
----AVS End----

Closing program
CCE Max Speed: 1.060
Video Encoding finished.


Executing Cinema Craft Encoder.
StreamSectors: 834285788
AudioSectors: 170260888
VideoPAPO: 10286100
ScanOffsetBytes: 201211
SeqAligningBytes: 12788090
DVDBytes: 0
VideoEndHeader: 4
SubtitleSectors: 0
EmptySectors: 238.00
PictureSectors: 300.00
PureMPEGStream: 640749495.20
Seconds: 6999.49
CalcMPEGStream: 640749495.20
Frames: 167676
CDSize: 801.00
Number of CDs: 1
Cut point 796.00
Variable Settings:
Frames: 167676
Anti Noise Filter: 2
Passes: 4
Image Quality: 17
VAF file creation: On
Video Encoding Mode: RoBa Multipass VBR (a mix between 1-pass and multipass encoding)
Min. bitrate: 200
Max. bitrate: 2550
Q. Factor: 5
Avg. Bitrate: 732
Aspect Ratio: 4:3 (No borders, encoded as 4:3)

---AVS Begin---
LoadPlugin("E:\ARCHIV~1\DVD2SVCD\MPEG2Dec\mpeg2dec.dll")
LoadPlugin("E:\ARCHIV~1\DVD2SVCD\AVISYN~1.DLL")
mpeg2source("F:\Movie\DVD2AV~1.D2V")
BicubicResize(352,480,0,0.75)
AvisynthSubtitler("F:\Movie\Subs\","permsubs.txt")
----AVS End----

Closing program
CCE Max Speed: 1.070
Video Encoding finished.

--------------------------------------------------------
- 18/07/2002 5:24:27
- Free on drive E: 2199.91 mb
- Free on drive F: 17347.46 mb
- Video Pulldown
--------------------------------------------------------
Executing Pulldown. Commandline:
"E:\Archivos de programa\DVD2SVCD\pulldown\pulldown.exe" "F:\Movie\Encoded_Video_CCE_NTSC.mpv"

"F:\Movie\Pulldown_Encoded_Video_NTSC.mpv"
Video pulldown finished.

--------------------------------------------------------
- 18/07/2002 5:26:47
- Free on drive E: 2199.91 mb
- Free on drive F: 16737.28 mb
- Converting Pictures from ES to PS
--------------------------------------------------------
Saving bbMPEG settings: E:\Archivos de programa\DVD2SVCD\bbMPEG\default.ini
--------------------------------------------------------
- 18/07/2002 5:26:51
- Free on drive E: 2199.88 mb
- Free on drive F: 16737.32 mb
- Converting Pictures from ES to PS
--------------------------------------------------------
Saving bbMPEG settings: E:\Archivos de programa\DVD2SVCD\bbMPEG\default.ini

Executing RunbbMPEG. Commandline:
"E:\Archivos de programa\DVD2SVCD\bbMPEG\RunbbMPEG.exe" "F:\Movie\ChangeCDPicture.bmp.mpg"
--------------------------------------------------------
- 18/07/2002 5:27:01
- Free on drive E: 2199.78 mb
- Free on drive F: 16737.39 mb
- Multiplexing and cutting
--------------------------------------------------------
Saving bbMPEG settings: E:\Archivos de programa\DVD2SVCD\bbMPEG\default.ini
Offset in Seconds: 1
Executing bbMPEG.
Variable Settings:
Movie offset: 1 seconds
Cut point: 796 mb

Executing RunbbMPEG. Commandline:
"E:\Archivos de programa\DVD2SVCD\bbMPEG\RunbbMPEG.exe" "F:\Movie\bbMPEG_Muxed_File.mpg"
Multiplexing and cutting finished.

--------------------------------------------------------
- 18/07/2002 5:46:26
- Free on drive E: 2199.72 mb
- Free on drive F: 15942.83 mb
- Determining length of audio
--------------------------------------------------------
Analyzing: F:\Movie\bbMPEG_Muxed_File00.mpg
6992.304 seconds F:\Movie\bbMPEG_Muxed_File00.mpg
Analyzing finished.

--------------------------------------------------------
- 18/07/2002 5:47:31
- Free on drive E: 2199.72 mb
- Free on drive F: 15943.01 mb
- Creating CD-Images using VCDXBuild
--------------------------------------------------------
- No. of chapters to create: 35

CD image #1: CD_Image_File_CD1.bin

Executing VCDXBuild. Commandline:
"E:\Archivos de programa\DVD2SVCD\VCDImager\VCDXBuild.exe" --verbose --cue-file="F:\Movie\CD_Image_File_CD1.cue"

--bin-file="F:\Movie\CD_Image_File_CD1.bin" "F:\Movie\VCDXBuild_Script_1.xml"
CD-Image creation finished.

--------------------------------------------------------
- 18/07/2002 5:51:31
- Free on drive E: 2199.72 mb
- Free on drive F: 15137.18 mb
- SVCD Creation finished!
--------------------------------------------------------

Toffy
19th July 2002, 08:57
Hello,
I made a first test with password swordfish:
CCE settings:Q=30, min=900, max avg 2200, max=2500,
Advanced settings untouched, 16:9 (encoded as 4:3) borders added,
bias=10, iqp=25, 2pass.
CCE version: 2.62->works, speed 0.73
no noise filter, no sharpen, no temporalsmoother
bicubic resize b=0 c=0.6
Permanent subs.
machine:athlon 1.4 GHz

my opinion: somewhere between highly recommendable and good.
I have no direct compare. It looks like a great progress.
// A test with cce 2.50 and a more difficult film will follow.

Regards

Toffy

P.S: 2. Test finished:
CCE settings:Q=30, min=100, max avg 2500, max=2620,
Advanced settings untouched, 4:3 (encoded as 4:3) no borders added,
bias=10, iqp=25, 1pass.
CCE version: 2.50->works, speed 1.1
no noise filter, no sharpen, no temporalsmoother
bicubic resize b=0 c=0.6
No subs.

These both films differ only 9 min. in length. (1. 1:35, 2. 1:43:40). For the 1. film 2 CDs are used and for the 2. 2 1/2.
The avg bitrate that is used was for the 1. film 2023 and for the 2. the max value of 2500. I think thatīs how this process should work.
By the way the quality of the 2. film was very, very near to the original film.

Toffy

Clixo
19th July 2002, 10:05
@ bach and dvd2svcd :
2 pass testes:

the matrix
gladiator
final fantasy
planet of the apes

cce : 2.5 and cce 2.62 + link2 (in all the movies)

results :awesome

other settings : d2s default + ts(3,2)
iqp=17
q factor 30
anti noise off
bias 10

i highly recomend this method, my tests are now going to use the " unsharp" comand, and will report back asap.

switu
19th July 2002, 15:53
:(
I was following your quick guide and unfortunatly
CCe stoped at the second pass.The first time i was just doing 2 pass.
I have try both version of CCE 2.5 , 2.62(save mode) and end up with the same resolts
"ctrl, alt , delete"
Any idea what could be the reason?

Executing Frameserver.
Closing program

Executing Cinema Craft Encoder.
StreamSectors: 834285788
AudioSectors: 8175832
VideoPAPO: 12796884
ScanOffsetBytes: 14972
SeqAligningBytes: 951579
DVDBytes: 0
VideoEndHeader: 4
SubtitleSectors: 0
EmptySectors: 238.00
PictureSectors: 0.00
PureMPEGStream: 812346516.40
Seconds: 504.08
CalcMPEGStream: 812346516.40
Frames: 12477
CDSize: 800.00
Number of CDs: 1
Cut point 796.00
Variable Settings:
Frames: 12477
Anti Noise Filter: 2
Passes: 2
Image Quality: 17
VAF file creation: On
Video Encoding Mode: RoBa Multipass VBR (a mix between 2-pass and multipass encoding)
Min. bitrate: 0
Max. bitrate: 2500
Q. Factor: 30
Avg. Bitrate: 2230
Aspect Ratio: 4:3 (No borders, encoded as 4:3)

Clixo
20th July 2002, 13:21
these are my working settings , this is a copy of my roba.ini file for roba method, just use the settings here. it is working here like a charm in am p4 1.7 an athlon 660 and an athlon 1.6 .
i cant believe that i am the only one besides Bach and Tofy that is getting results !


____________________________________________________________________
[Executables]


PVA Executable=
vStrip Executable=C:\Program Files\DVD2SVCD\vStrip\vStrip.exe
DVD2AVI Executable=C:\Program Files\DVD2SVCD\DVD2AVI\DVD2AVI.exe
BeSweet Executable=C:\Program Files\DVD2SVCD\BeSweet\BeSweet.exe
MadPlay Executable=C:\Program Files\DVD2SVCD\MADPlay\madplay.exe
MPEG51 Executable=C:\Program Files\DVD2SVCD\MPEG5.1\pub_enc.exe
CCE Executable=C:\PROGRA~1\CUSTOM~1\CINEMA~1\cctsp.exe
VFAPI Executable=C:\Program Files\DVD2SVCD\VFAPI\Reader\VFAPIConv-EN.exe
TMPGEnc Executable=C:\Program Files\DVD2SVCD\tmpegencoder\Files\TMPGEnc.exe
Pulldown Executable=C:\Program Files\DVD2SVCD\pulldown\pulldown.exe
SubMux Executable=C:\Program Files\DVD2SVCD\WinSubMux\WinSubMux.exe
bbMPEG Executable=C:\Program Files\DVD2SVCD\bbMPEG\RunbbMPEG.exe
I-Author Executable=C:\Program Files\Enreach\I-Author Deluxe for SuperVCD\IAuthorDlx.exe
VCDImager Executable=C:\Program Files\DVD2SVCD\VCDImager\VCDImager.exe
VCDXBuild Executable=C:\Program Files\DVD2SVCD\VCDImager\VCDXBuild.exe
CDMage Executable=C:\Documents and Settings\xxx\Desktop\CD MAGE\CDmage.exe
RunPerCDImage Executable=
RunFinal Executable=
MPG2Dec DLL=C:\Program Files\DVD2SVCD\MPEG2Dec\MPEG2DEC2.dll
InverseTelecine DLL=C:\Program Files\DVD2SVCD\InverseTelecine\Donald Graft\decomb.dll
Subtitle DLL=C:\Program Files\DVD2SVCD\AvisynthSubtitler.dll
BMP Loader DLL=C:\Program Files\DVD2SVCD\AvisynthBMPLoader.dll
SimpleResize DLL=C:\Program Files\DVD2SVCD\SimpleResize\SimpleResize.dll
Title Picture=
Change CD Picture=C:\Program Files\DVD2SVCD\DefaultChangeCD.bmp
[Folders]
PVA Folder=C:\testes\roba\
DVD2AVI Folder=C:\testes\roba\
vStrip Folder=C:\testes\roba\
Audio Folder=C:\testes\roba\
CCE Folder=C:\testes\roba\
TMPGEnc Folder=C:\testes\roba\
Pulldown Folder=C:\testes\roba\
bbMPEG Folder=C:\testes\roba\
I-Author Folder=C:\testes\roba\
Subpictures Folder=C:\testes\roba\Subs
[Settings]
XPos=182
YPos=209
FirstRun=0
Resize AVS Position=3
TemporalSmoother AVS Position=2
Sharpen AVS Position=1
UsePVA2SVCD=0
UseDVD2SVCD=1
UseAVI2SVCD=0
UseMPEG1=0
UseMPEG2=1
Convert to Canopus codec=0
Convert to Divx4=1
Use Frameselection=0
New Default Folder=1
DVD2SVCD Level=1
UseDVDRip=1
UsevStrip=0
UseInternalRip=1
Eject DVD=0
iDCT=3
DVD2AVI Pause=0
Luminance Gain=0
Luminance Offset=0
Audio1Downsampling=0
Audio2Downsampling=1
Audio1BitRate=9
Audio2BitRate=7
tooLame Mode=0
Autodetect Azid Gain=1
Folder Structure Source=
Folder Structure Video=
Folder Structure Audio=
Folder Structure Muxed=
Folder Structure Subs=Subs
Intra=8,16,19,22,26,27,29,34,16,16,22,24,27,29,34,37,19,22,26,27,29,34,34,38,22,22,26,27,29,34,37,40,22,26,27,29,32,35,40,48,26,27,29,32,35,40,48,58,26,27,29,34,38,46,56,69,27,29,35,38,46,56,69,83
NonIntra=16,17,18,19,20,21,22,23,17,18,19,20,21,22,23,24,18,19,20,21,22,23,24,25,19,20,21,22,23,24,26,27,20,21,22,23,25,26,27,28,21,22,23,24,26,27,28,30,22,23,24,26,27,28,30,31,23,24,25,27,28,30,31,33
Matrice Preset=
Use deafult Matrice=1
LFEDownmixLR6Ch=-3
LFEDownmixLFE6Ch=0
CenterDownmix6Ch=0
SurroundDownmix6Ch=0
DynamicCompression6Ch=1
StereoDownmixType6Ch=0
RearChannelFiltering6Ch=0
DialogNorm6Ch=0
LFEDownmixLR2Ch=-3
LFEDownmixLFE2Ch=0
CenterDownmix2Ch=-1
SurroundDownmix2Ch=-1
DynamicCompression2Ch=1
StereoDownmixType2Ch=0
RearChannelFiltering2Ch=0
DialogNorm2Ch=0
No Audio Conversion=0
TemporalSmoother Strength=2
TemporalSmoother Radius=1
Use TemporalSmoother=0
Use Sharpen=0
Sharpen Value=0.00
ResizeMethod=2
Avisynth Bicubic b Value=0
Avisynth Bicubic c Value=0.8
Flip Vertival=0
Add ResampleAudio=1
Resize To=1
Use CCE=1
Use TMPGEnc=0
CCE Safe Mode=0
NoOfpasses=2
CCE Image Quality=17
CCE Anti noise value=2
CCE Anti noise=0
CBR=0
One Pass VBR=0
Multi Pass VBR=0
RoBa Multi Pass=1
CCE Bias=10
CCE Field Order=2
Progressive=1
Auto Intra DC=0
DVD Compliant=0
Restrict auto I frame insertion=0
Close all GOPs=0
Intra DC=2
M GOP=3
MN GOP=5
SEQ Header=1
Constrained Parameter Set=1
TMPGEnc Rate Control Mode=2
TMPGEnc Motion search precision=4
TMPGEnc Field Order=2
Frames pr spread=50
Spread=40
OffsetFixed CQ Value=80
Use fixed CQ Value=0
DC component precision=2
Output YUV data as Basic YCbCr not CCIR601=0
Use floating point DCT=1
No motion search for still picture part by half pixel=1
Soften block noise=0
Soften Intra=35
Soften NonIntra=35
TMPGEnc GOP I Pictures=1
TMPGEnc GOP P Pictures=4
TMPGEnc GOP B Pictures=3
TMPGEnc SEQ Headers=1
TMPGEnc Max frames in GOP=0
TMPGEnc Close GOPs=0
TMPGEnc Detect Scene Change=1
Enabled Padding=0
TMPGEnc VBVBuffer=0
Dont Delete Files=1
Create VAF=1
QFactor=30
Linear quantizer scale=1
Zigzag scanning order=1
Use2Streams=0
Pri1Audio1=28
Pri1Audio2=-1
Pri2Audio1=-1
Pri2Audio2=-1
Sub1=88
Sub2=-1
Sub3=-1
Sub4=-1
Sub5=-1
Sub6=-1
Sub7=-1
Sub8=-1
Azid Gain Offset=6
SubOutputPalette0=clBlack
SubBlendPalette0=0
SubOutputPalette1=clWhite
SubBlendPalette1=15
SubOutputPalette2=$001E1E1E
SubBlendPalette2=15
SubOutputPalette3=clGray
SubBlendPalette3=15
Rip subtitles=1
Min. Delay. Between Subtitles=100
Resize Subtitles=100
SVCD subtitles=0
CVD subtitles=0
Permanent subtitles=1
PAL Y-Pos=-1
NTSC Y-Pos=-1
bbMPEG MPEG1=0
bbMPEG VCD=0
bbMPEG MPEG2=0
bbMPEG SVCD=1
bbMPEG DVD=0
bbMPEG VBR=1
bbMPEG Pad VCD=0
bbMPEG Write PEC=1
bbMPEG Add Scan Offsets=1
bbMPEG Align Sequence Headers=1
bbMPEG Use Private Stream 2=0
bbMPEG Computed Bitrate=1
bbMPEG TimeStamps=0
bbMPEG Pulldown=2
bbMPEG MuxRate=0
bbMPEG Pack Size=2324
bbMPEG Packets Pack=1
bbMPEG Video Buffer=230
bbMPEG Audio 1 Buffer=4
bbMPEG Audio 2 Buffer=4
bbMPEG videoDelay Adjustment=180
bbMPEG audioDelay Adjustment=180
bbMPEG audio1Delay Adjustment=180
Use MPEGAV=0
MinsHigh1=50
MinsHigh2=76
MinsHigh3=97
MinsHigh4=125
MinsHigh5=163
NumCd1=1
NumCd2=1
NumCd3=2
NumCd4=2
NumCd5=3
NumCd6=3
CDSize 1=740
CDSize 2=800
CDSize 3=740
CDSize 4=800
CDSize 5=740
CDSize 6=800
MaxBitrate=2530
MinBitrate=300
MaxAvg=2230
MinAvg=1600
Adjust Audio Bitrate=1
Use Min. Avg.=0
Force Film=0
Movie Offset=2
CDOverlap=30
UseCDOverlap=1
FixedChapters=1
DVDChapters=0
PBCType=0
Data Preparer=dvd2svcd
Use I-Author=0
Use VCDImager=0
No images=0
Use VCDXBuild=1
Length of Chapters=300
Use TitlePicture=0
Use ChangeCD Picture=1
Use ChangeCD Picture on All=1
Use EntrySVD=0
Save XML=1
Save Movie Info=1
ProcessPriority=2
SmartDeinterlace Mode=2
SmartDeinterlace Treshold=10
SmartDeinterlace Denoise=1
SmartDeinterlace Blend=0
SmartDeinterlace Fast=1
Edit Avisynth Script file=2
Use CDMage=1
RunPerCDImage=0
RunPerCDImage Params=
RunFinal=0
RunFinal Params=
Automatic Shutdown=0
_______________________________________________________

Holomatrix
22nd July 2002, 15:29
@ clixomano
I haven't tried doing a whole movie yet, just a chapter. Do you guys get it to work when selecting one NTSC charter with CCE?
Please test on a chapter. Thanks

Clixo
22nd July 2002, 17:18
@holomatrix: sory dont have any NTSC dvd only avi i will try with the avi ok ?.
only have pal dvds

Clixo
23rd July 2002, 12:08
@ holomatrix: i have ntsc dvds , i will try asap.

another thing is that this method if you are making movie longer than tree hours it will calculate the bitrate to use only 2 cds, you can change that by going to the ini file where you have images=2 change to 3 or the nr of cds that you whant.

ChickenMan
24th July 2002, 04:16
I tried this method on a PAL DVD called "The Paper", length 1hr 46min PAL 4:3 (16:9 non-anamorphic).

Settings I used were
CCE 2.5
RoBo Multipass VBR 2 pass
Q=30
min=0 max=2590
progressive [x]
zizzag [x]
linear [ ]
bias = 20
iqp = 20
bicubic 0, 0.6
audio 160

Copied to 2x80min CD's and in my opion the results were quite poor for a 100min movie on 2x80. Picture was very grainy.

Bitrate Viewer gave the following
Num. of picture read: 9126
Stream type: MPEG-2 MP@ML VBR
Resolution: 480*576
Aspect ratio: 4:3 Generic
Framerate: 25.00
Nom. bitrate: 2590000 Bit/Sec
VBV buffer size: 112
Constrained param. flag: No
Chroma format: 4:2:0
DCT precision: 10
Pic. structure: Frame
Field topfirst: Yes
DCT type: Frame
Quantscale: Nonlinear
Scan type: ZigZag
Frame type: Progressive
Scene change detection: FOUND
Variable GOP pattern: FOUND
Notes:
Bitrate - Peak 2314 and Average 1463
Q level - Peak 7.58 and average 3.75


So I encoded the same VOB files using my normal 3 pass VBR, setting used were almost the same

CCE 2.5
Multipass VBR 3 pass
Q= ? - greyed out
min=0 max=2550
progressive [ ]
zizzag [ ]
linear [ ]
bias = 20
iqp = 20
bicubic 0, 0.6
audio 160

Result also on 2x80min and perfect quality as I would have expected.

Biterate Viewer gave
Num. of picture read: 9151
Stream type: MPEG-2 MP@ML VBR
Resolution: 480*576
Aspect ratio: 4:3 Generic
Framerate: 25.00
Nom. bitrate: 2550000 Bit/Sec
VBV buffer size: 112
Constrained param. flag: No
Chroma format: 4:2:0
DCT precision: 10
Pic. structure: Frame
Field topfirst: Yes
DCT type: Field
Quantscale: Nonlinear
Scan type: Alternate
Frame type: Interlaced
Scene change detection: FOUND
Variable GOP pattern: FOUND
Notes:
Bitrate - Peak 2302 and Average 1460
Q level - Peak 9.14 and average 4.30

I'll be staying with my usual 3pass VBR for perfect results.
Cheers,
CM

Holomatrix
24th July 2002, 19:56
@ Chickenman
With any method you decide to use, you still need to set the CCE advanced settings according to the kind of video you are encoding. That's a given.
Please try the RoBa method again with the proper settings and let us know how it goes.
Thanks

Clixo
24th July 2002, 21:10
@bach: you are encoding ntsc right ? , any probs ?

few more encodes with roba and no probs at all only in a test encode with an ntsc source i am now diging to see if i find something.

ChickenMan
25th July 2002, 07:02
Originally posted by Bach

@ everyone

come on... 108 donwloads and only four reports? Please, post your results. They may be something like:

CCE settings:Q=30, min=0, max=2600, progressive[x], zigzag[x], linear[], bias=20, iqp=20, 2pass.


Arr guys I used the settings as requested ! Okay will re-run with progressive & zizag turned off.

Toffy
25th July 2002, 09:02
Sorry for posting this here, but now I am confused a little bit.
If my understanding is correct the zigzag and progressive switches are used if the source is non-interlaced (film) and are not used if it is interlaced. If I am right, these switches are not affected by any other switches in the normal mode, i.e. for a thumb user like me these switches are out of range?
The "Deinterlace" setting has nothing to do with the switches above?
I use always "no deinterlace" and in my opinion the results are loking good. Am I too uncritical?

Thanks for help

Toffy

P.S.: I have made some more SVCDs with the RoBa method and it works fine. But the saturation of the CDs is not always perfect. I compressed 2 films (4:3 PAL) and ended with 2 1/2 CDs. The first run started with 2 CDs and in the 2nd run the bitrate is increased to maximum. But the films are too short to fill 3 CDs completely.
That is a shame.

vivaatloni
25th July 2002, 10:37
Hi Guys,

I tested the method and get the sam failure as dvd2svcd (and some others) were getting. I tested with cce 2.50 en 2.64 but with both the same errors.

greetz Viva

Guizmo
25th July 2002, 15:00
Originally posted by vivaatloni
Hi Guys,

I tested the method and get the sam failure as dvd2svcd (and some others) were getting. I tested with cce 2.50 en 2.64 but with both the same errors.

greetz Viva


For me it only worked with cce 2.50 in SafeMode ...
Give it a try !

svcdentro
25th July 2002, 16:28
Now every time i use RoBa method is the same problem on CCE:

vinfo_open() failed: Bad Data <path\CCE_Video_Information_File.vaf>

I don't know what to do, i've lost too many time because it starts and makes the first pass and after thata when it comes to the second the problems appear, so i rip again and give it a try but it doesn't work, any suggestions.

Note: I noticed the first time it happened, because i reformat my pc and i forgot to apply the checksum patch to CCE , it was the checksum error after the first pass, then i installed the crc patch and did it again, but the error changed to
vinfo_open() failed: Bad Data <path\CCE_Video_Information_File.vaf>
What's the problem?

LOg file

-------------------------------------------
- 25/07/2002 0:31:56
- DVD to SVCD Conversion
- DVD2SVCD ver. 1.1.0 build 1 Pre 22
--------------------------------------------------------
Initializing
Initializing finished.

--------------------------------------------------------
- 25/07/2002 0:35:05
- DVD to SVCD Conversion
- DVD2SVCD ver. 1.1.0 build 1 Pre 22
--------------------------------------------------------
Initializing
Initializing finished.

--------------------------------------------------------
- 25/07/2002 0:35:44
- Free on drive D: 12254,01 mb
- Crash Recovery
- Restarting from: Video encoding
--------------------------------------------------------
- 25/07/2002 0:35:49
- Free on drive D: 12253.99 mb
- Video Encoding using Cinema Craft
--------------------------------------------------------
Cannot find registry entries for CCE, running CCE once....
Closing program

Executing Cinema Craft Encoder.
StreamSectors: 4390005788
AudioSectors: 295426880
VideoPAPO: 63427212
ScanOffsetBytes: 364207
SeqAligningBytes: 23147391
DVDBytes: 0
VideoEndHeader: 4
SubtitleSectors: 0
EmptySectors: 238.00
PictureSectors: 0.00
PureMPEGStream: 4007640093.87
Seconds: 12145.24
CalcMPEGStream: 4007640093.87
Frames: 303506
CDSize: 4200.00
Number of CDs: 1
Cut point 4196.00
Variable Settings:
Frames: 303506
Anti Noise Filter: Off
Passes: 1
Image Quality: 17
VAF file creation: On
Video Encoding Mode: RoBa Multipass VBR (a mix between 1-pass and multipass encoding)
Min. bitrate: 300
Max. bitrate: 9000
Q. Factor: 5
Avg. Bitrate: 2500
Aspect Ratio: 4:3 (No borders, encoded as 4:3)

---AVS Begin---
LoadPlugin("E:\ARCHIV~1\DVD2SVCD\SIMPLE~1\SIMPLE~1.DLL")
LoadPlugin("E:\ARCHIV~1\DVD2SVCD\MPEG2Dec\mpeg2dec.dll")
mpeg2source("D:\samurais\DVD2AV~1.D2V")
SimpleResize(720,576)
ResampleAudio(44100)
----AVS End----

Closing program
CCE Max Speed: 0.870
Video Encoding finished.


Executing Cinema Craft Encoder.
StreamSectors: 4390005788
AudioSectors: 295426880
VideoPAPO: 63427212
ScanOffsetBytes: 364207
SeqAligningBytes: 23147391
DVDBytes: 0
VideoEndHeader: 4
SubtitleSectors: 0
EmptySectors: 238.00
PictureSectors: 0.00
PureMPEGStream: 4007640093.87
Seconds: 12145.24
CalcMPEGStream: 4007640093.87
Frames: 303506
CDSize: 4200.00
Number of CDs: 1
Cut point 4196.00
Variable Settings:
Frames: 303506
Anti Noise Filter: Off
Passes: 1
Image Quality: 17
VAF file creation: On
Video Encoding Mode: RoBa Multipass VBR (a mix between 1-pass and multipass encoding)
Min. bitrate: 300
Max. bitrate: 9000
Q. Factor: 5
Avg. Bitrate: 2500
Aspect Ratio: 4:3 (No borders, encoded as 4:3)

---AVS Begin---
LoadPlugin("E:\ARCHIV~1\DVD2SVCD\SIMPLE~1\SIMPLE~1.DLL")
LoadPlugin("E:\ARCHIV~1\DVD2SVCD\MPEG2Dec\mpeg2dec.dll")
mpeg2source("D:\samurais\DVD2AV~1.D2V")
SimpleResize(720,576)
ResampleAudio(44100)
----AVS End----

--------------------------------------------------------
- 25/07/2002 4:45:36
- DVD to SVCD Conversion
- DVD2SVCD ver. 1.1.0 build 1 Pre 22
--------------------------------------------------------
Initializing
Initializing finished.

--------------------------------------------------------
- 25/07/2002 4:45:46
- Free on drive D: 12245.60 mb
- Crash Recovery
- Restarting from: Video encoding
--------------------------------------------------------
- 25/07/2002 4:45:50
- Free on drive D: 12245.59 mb
- Video Encoding using Cinema Craft
--------------------------------------------------------

Executing Cinema Craft Encoder.
StreamSectors: 4390005788
AudioSectors: 295426880
VideoPAPO: 63427212
ScanOffsetBytes: 364207
SeqAligningBytes: 23147391
DVDBytes: 0
VideoEndHeader: 4
SubtitleSectors: 0
EmptySectors: 238.00
PictureSectors: 0.00
PureMPEGStream: 4007640093.87
Seconds: 12145.24
CalcMPEGStream: 4007640093.87
Frames: 303506
CDSize: 4200.00
Number of CDs: 1
Cut point 4196.00
Variable Settings:
Frames: 303506
Anti Noise Filter: Off
Passes: 1
Image Quality: 17
VAF file creation: On
Video Encoding Mode: RoBa Multipass VBR (a mix between 1-pass and multipass encoding)
Min. bitrate: 300
Max. bitrate: 9000
Q. Factor: 5
Avg. Bitrate: 2500
Aspect Ratio: 4:3 (No borders, encoded as 4:3)

---AVS Begin---
LoadPlugin("E:\ARCHIV~1\DVD2SVCD\SIMPLE~1\SIMPLE~1.DLL")
LoadPlugin("E:\ARCHIV~1\DVD2SVCD\MPEG2Dec\mpeg2dec.dll")
mpeg2source("D:\samurais\DVD2AV~1.D2V")
SimpleResize(720,576)
ResampleAudio(44100)
----AVS End----

Closing program
CCE Max Speed: 0.860
Video Encoding finished.


Executing Cinema Craft Encoder.
StreamSectors: 4390005788
AudioSectors: 295426880
VideoPAPO: 63427212
ScanOffsetBytes: 364207
SeqAligningBytes: 23147391
DVDBytes: 0
VideoEndHeader: 4
SubtitleSectors: 0
EmptySectors: 238.00
PictureSectors: 0.00
PureMPEGStream: 4007640093.87
Seconds: 12145.24
CalcMPEGStream: 4007640093.87
Frames: 303506
CDSize: 4200.00
Number of CDs: 1
Cut point 4196.00
Variable Settings:
Frames: 303506
Anti Noise Filter: Off
Passes: 1
Image Quality: 17
VAF file creation: On
Video Encoding Mode: RoBa Multipass VBR (a mix between 1-pass and multipass encoding)
Min. bitrate: 300
Max. bitrate: 9000
Q. Factor: 5
Avg. Bitrate: 2500
Aspect Ratio: 4:3 (No borders, encoded as 4:3)

---AVS Begin---
LoadPlugin("E:\ARCHIV~1\DVD2SVCD\SIMPLE~1\SIMPLE~1.DLL")
LoadPlugin("E:\ARCHIV~1\DVD2SVCD\MPEG2Dec\mpeg2dec.dll")
mpeg2source("D:\samurais\DVD2AV~1.D2V")
SimpleResize(720,576)
ResampleAudio(44100)
----AVS End----

DVD2SVCD FILE

[Executables]
PVA Executable=
vStrip Executable=E:\Archivos de programa\DVD2SVCD\vStrip\vStrip.exe
DVD2AVI Executable=E:\Archivos de programa\DVD2SVCD\DVD2AVI\DVD2AVI.exe
BeSweet Executable=E:\Archivos de programa\DVD2SVCD\BeSweet\BeSweet.exe
MadPlay Executable=E:\Archivos de programa\DVD2SVCD\MADPlay\madplay.exe
MPEG51 Executable=
CCE Executable=E:\ARCHIV~1\CINEMA~1\cctsp.exe
VFAPI Executable=E:\Archivos de programa\DVD2SVCD\VFAPI\Reader\VFAPIConv-EN.exe
TMPGEnc Executable=
Pulldown Executable=E:\Archivos de programa\DVD2SVCD\pulldown\pulldown.exe
SubMux Executable=E:\Archivos de programa\DVD2SVCD\WinSubMux\WinSubMux.exe
bbMPEG Executable=E:\Archivos de programa\DVD2SVCD\bbMPEG\RunbbMPEG.exe
I-Author Executable=
VCDImager Executable=E:\Archivos de programa\DVD2SVCD\VCDImager\VCDImager.exe
VCDXBuild Executable=E:\Archivos de programa\DVD2SVCD\VCDImager\VCDXBuild.exe
CDMage Executable=
RunPerCDImage Executable=
RunFinal Executable=
MPG2Dec DLL=E:\Archivos de programa\DVD2SVCD\MPEG2Dec\mpeg2dec.dll
InverseTelecine DLL=E:\Archivos de programa\DVD2SVCD\InverseTelecine\Donald Graft\decomb.dll
Subtitle DLL=E:\Archivos de programa\DVD2SVCD\Avisynth Subtitler.dll
BMP Loader DLL=E:\Archivos de programa\DVD2SVCD\Avisynth BMP Loader.dll
SimpleResize DLL=E:\Archivos de programa\DVD2SVCD\SimpleResize\SimpleResize.dll
Title Picture=E:\Archivos de programa\DVD2SVCD\DefaultTitlepicture.bmp
Change CD Picture=E:\Archivos de programa\DVD2SVCD\DefaultChangeCD.bmp
[Folders]
PVA Folder=D:\samurais\
DVD2AVI Folder=D:\samurais\
vStrip Folder=D:\samurais\
Audio Folder=D:\samurais\
CCE Folder=D:\samurais\
TMPGEnc Folder=D:\samurais\
Pulldown Folder=D:\samurais\
bbMPEG Folder=D:\samurais\
I-Author Folder=D:\samurais\
Subpictures Folder=D:\samurais\Subs
[Settings]
XPos=65
YPos=229
FirstRun=0
Resize AVS Position=1
TemporalSmoother AVS Position=2
Sharpen AVS Position=3
UsePVA2SVCD=0
UseDVD2SVCD=1
UseAVI2SVCD=0
UseMPEG1=0
UseMPEG2=1
Convert to Canopus codec=0
Convert to Divx4=0
Use Frameselection=0
New Default Folder=0
DVD2SVCD Level=1
UseDVDRip=1
UsevStrip=0
UseInternalRip=1
Eject DVD=0
iDCT=0
DVD2AVI Pause=0
Luminance Gain=5
Luminance Offset=0
Audio1Downsampling=1
Audio2Downsampling=1
Audio1BitRate=7
Audio2BitRate=7
tooLame Mode=0
Autodetect Azid Gain=1
Folder Structure Source=
Folder Structure Video=
Folder Structure Audio=
Folder Structure Muxed=
Folder Structure Subs=Subs
Intra=8,16,19,22,26,27,29,34,16,16,22,24,27,29,34,37,19,22,26,27,29,34,34,38,22,22,26,27,29,34,37,40,22,26,27,29,32,35,40,48,26,27,29,32,35,40,48,58,26,27,29,34,38,46,56,69,27,29,35,38,46,56,69,83
NonIntra=16,17,18,19,20,21,22,23,17,18,19,20,21,22,23,24,18,19,20,21,22,23,24,25,19,20,21,22,23,24,26,27,20,21,22,23,25,26,27,28,21,22,23,24,26,27,28,30,22,23,24,26,27,28,30,31,23,24,25,27,28,30,31,33
Matrice Preset=
Use deafult Matrice=1
LFEDownmixLR6Ch=-3
LFEDownmixLFE6Ch=0
CenterDownmix6Ch=0
SurroundDownmix6Ch=0
DynamicCompression6Ch=1
StereoDownmixType6Ch=0
RearChannelFiltering6Ch=0
DialogNorm6Ch=0
LFEDownmixLR2Ch=-3
LFEDownmixLFE2Ch=0
CenterDownmix2Ch=-1
SurroundDownmix2Ch=-1
DynamicCompression2Ch=1
StereoDownmixType2Ch=0
RearChannelFiltering2Ch=0
DialogNorm2Ch=0
No Audio Conversion=1
TemporalSmoother Strength=2
TemporalSmoother Radius=1
Use TemporalSmoother=0
Use Sharpen=0
Sharpen Value=0
ResizeMethod=2
Avisynth Bicubic b Value=0
Avisynth Bicubic c Value=0.75
Flip Vertival=0
Add ResampleAudio=1
Resize To=1
Use CCE=1
Use TMPGEnc=0
CCE Safe Mode=0
NoOfpasses=1
CCE Image Quality=17
CCE Anti noise value=2
CCE Anti noise=0
CBR=0
One Pass VBR=0
Multi Pass VBR=0
RoBa Multi Pass=1
CCE Bias=20
CCE Field Order=2
Progressive=1
Auto Intra DC=0
DVD Compliant=0
Restrict auto I frame insertion=0
Close all GOPs=1
Intra DC=2
M GOP=3
MN GOP=5
SEQ Header=1
Constrained Parameter Set=1
TMPGEnc Rate Control Mode=2
TMPGEnc Motion search precision=4
TMPGEnc Field Order=2
Frames pr spread=50
Spread=40
OffsetFixed CQ Value=80
Use fixed CQ Value=0
DC component precision=2
Output YUV data as Basic YCbCr not CCIR601=0
Use floating point DCT=1
No motion search for still picture part by half pixel=1
Soften block noise=0
Soften Intra=35
Soften NonIntra=35
TMPGEnc GOP I Pictures=1
TMPGEnc GOP P Pictures=4
TMPGEnc GOP B Pictures=3
TMPGEnc SEQ Headers=1
TMPGEnc Max frames in GOP=0
TMPGEnc Close GOPs=0
TMPGEnc Detect Scene Change=1
Enabled Padding=0
TMPGEnc VBVBuffer=0
Dont Delete Files=1
Create VAF=1
QFactor=5
Linear quantizer scale=1
Zigzag scanning order=1
Use2Streams=0
Pri1Audio1=28
Pri1Audio2=-1
Pri2Audio1=-1
Pri2Audio2=-1
Sub1=-1
Sub2=-1
Sub3=-1
Sub4=-1
Sub5=-1
Sub6=-1
Sub7=-1
Sub8=-1
Azid Gain Offset=6
SubOutputPalette0=clBlack
SubBlendPalette0=0
SubOutputPalette1=clWhite
SubBlendPalette1=15
SubOutputPalette2=$001E1E1E
SubBlendPalette2=15
SubOutputPalette3=clGray
SubBlendPalette3=15
Rip subtitles=0
Min. Delay. Between Subtitles=100
Resize Subtitles=100
SVCD subtitles=1
CVD subtitles=0
Permanent subtitles=0
PAL Y-Pos=-1
NTSC Y-Pos=-1
bbMPEG MPEG1=0
bbMPEG VCD=0
bbMPEG MPEG2=1
bbMPEG SVCD=0
bbMPEG DVD=0
bbMPEG VBR=1
bbMPEG Pad VCD=0
bbMPEG Write PEC=1
bbMPEG Add Scan Offsets=1
bbMPEG Align Sequence Headers=1
bbMPEG Use Private Stream 2=0
bbMPEG Computed Bitrate=1
bbMPEG TimeStamps=0
bbMPEG Pulldown=2
bbMPEG MuxRate=0
bbMPEG Pack Size=2324
bbMPEG Packets Pack=1
bbMPEG Video Buffer=230
bbMPEG Audio 1 Buffer=4
bbMPEG Audio 2 Buffer=4
bbMPEG videoDelay Adjustment=180
bbMPEG audioDelay Adjustment=180
bbMPEG audio1Delay Adjustment=180
Use MPEGAV=0
MinsHigh1=150
MinsHigh2=150
MinsHigh3=150
MinsHigh4=150
MinsHigh5=150
NumCd1=1
NumCd2=1
NumCd3=1
NumCd4=1
NumCd5=1
NumCd6=1
CDSize 1=3000
CDSize 2=3000
CDSize 3=3000
CDSize 4=3000
CDSize 5=3000
CDSize 6=4200
MaxBitrate=9000
MinBitrate=300
MaxAvg=2500
MinAvg=1600
Adjust Audio Bitrate=0
Use Min. Avg.=0
Force Film=0
Movie Offset=2
CDOverlap=2
UseCDOverlap=1
FixedChapters=0
DVDChapters=1
PBCType=0
Data Preparer=dvd2svcd
Use I-Author=0
Use VCDImager=0
No images=1
Use VCDXBuild=0
Length of Chapters=60
Use TitlePicture=0
Use ChangeCD Picture=0
Use ChangeCD Picture on All=0
Use EntrySVD=0
Save XML=1
Save Movie Info=1
ProcessPriority=1
SmartDeinterlace Mode=2
SmartDeinterlace Treshold=10
SmartDeinterlace Denoise=1
SmartDeinterlace Blend=0
SmartDeinterlace Fast=1
Edit Avisynth Script file=0
Use CDMage=0
RunPerCDImage=0
RunPerCDImage Params=
RunFinal=0
RunFinal Params=
Automatic Shutdown=0
Originally posted by Bach
@fgm
I must be doing something wrong. Ocean's Eleven with the new RoBa method produced only 1 CD with an average bitrate of 848. Not good! I used the following settings:

Max: 2550, Min: 200, Avg. 2400, CD Size: 801, 4 pass, Image Quality Priority: 17,Q. Factor 5, Anti Noise: 2, Bias: 20
you're right. You are doing something wrong. It is dangerous to use Q.factor smaller than 20, if the maximum bitrate is not too hight. The risks of screwing up the encode is really ruge. And the reason is quite simple: "CCE handles Q.fac and maximum bitrate values in such way that is almost as if you ask CCE something like: "hey fella, show me the best quality you can acchieve (Q.factor), but pay attention: do not go above of this limit (max bitrate)." If Q.factor is too low CCE will assume that the quality worth more than compressibility. If the max_bitrate is too low, CCE will assume that, at some parts of the movie, the compressibility worth more than quality. As you can see, both low Q and low max have opposite aims, so that CCE may just screw thing up. Try to do the same encoding again using max and max_avr=5000 and you will see what I mean.


@ Holomatrix and clixomano

yes, I have tried with a NTSC chapter. Here in Brasil all DVD are NTSC. The beta version works fine.


@ Chickenman

"they may be something like..."

1loser
25th July 2002, 22:20
Originally posted by Bach
@ toffy

there are basicly 4 possible movie sources: film, video, telecined, hybrid of film and video. If you use "automatic" in DVD2AVI tab of DVD2SVCD, it will analize the movie.d2v and decide if it will use inverse telecine, force film or nothing. If forcefilm or IVTC were used, CCE must have zigzag and progressive checked. Otherwise, it must use them unchecked. If you select some deinterlace method, it is necessary to setup CCE as if you were encoding a film. So, even for a newbie, it is necessary at least to know how to setup CCE according to the source.
About your problem with the final file size: well, gigah72 said at the beginning of this thread, "i'm corious for the event if the roba result becomes bigger then the 'usual' result." You have just reached this case;). There are just 4 options to solve your problem: A)use a higher value of Q (maybe 40 or 50) to fit 2CDs,
b)increase the value of max and max average to 3000, to fit 3CDs (your player must be able to handle such bitrate);
c)let is as is (not a good choice);
d)DVD2SVCD could add a routine to verify if the calculated bitrate of the 1passVBR is higher than the maximum avr. If yes, use the bitrate calculated before the 1passVBR.


@ DVD2SVCD
It seems that, if you intend to support this method, it could be good to put it hidden in "very advanced stuff: use by your own risk".:)

This is my "first" DVD conversion. I've done about 60 avi to svcd conversions and half of those with the Robshot method. In first attempt at using the Robshot method I used 9800 for the bitrate because I didn't know the guide was for making a DVD-R (if that's what it's called). I found out the high bitrate was responsible for the problem I was having when playing in my standalone player. Hopefully I learned some things since than. I usually use the DVD2SVCD program ONLY to do the audio encoding and than I go into the task manager and close the program (I don't know of a better way to do that). I was getting pretty good results this way.

I use CinemaCraft 2.50, checksum patch , DVD2SVCD 1.0.9 build3.

I don't have a DVD player for my computer but once I discovered my APEX 3201 has the same IDE interface I decided to hooked it up to my computer to do this first rip. I used smart ripper and it took about 25 minutes to rip a 90 minute movie. I had a problem encoding this because it was interlaced and this is my first experience with that. I use fitCD to generate the avs script and I prefer to use "2 blocks overscan for TV" to better utilize bits. After looking through the forum posts I added the line "SmartDeinterlace(2,10,True,False,True)". The results, of course, were much better than without it.

I already created my first pass using the Robshot method with Q = 60, min 0, max 3500 (my apex can easily handle 5000, my Lasonic can handle over 7000). Since I already had the vaf file I didn't want to start over again. For the second pass I used Bias = 10, IQP = 20, anti-noise = 4, min = 0, avg = 2250, max = 3500, no sharpen, no temporal smooth, bicubicresize(0,0.80) (thinking the IQP of 20 would smooth out the picture a little from my normal setting of (5 to 15) and a higher bicubic would sharpen it a bit. Overall I was very happy with the results. In about 4 days I expect to do another rip using Q = 40.

Windows XP, 750 Duron with 512 SDRAM, 80G 5400 rpm drive. I was using a filesharing program at the same time and went into the task manager and set piority for CCE = "below normal" and the file sharing program to "high". I got an average speed about .36 which is slower than I usually get (.45 to .65) probably because of the SmartDeinterlace.

The quality was very good and the smartDeinterlace was good but NOT as good as I would have liked it to be. Is there a better deinterlacing method that doesn't make the file size very big?This method DIDN'T make the size bigger.

Is the DVD2SVCD program mentioned in this post a special revised version that will do the 2 step encoding process that is being talked about here? I d/l it but didn't install it. The file size was smaller than the one I was using, I guess because it doesn't include the other programs.

LoadPlugin("C:\Program Files\DVD2SVCD\MPEG2Dec\MPEG2DEC.dll")
mpeg2source("Croupier.d2v")
SmartDeinterlace(2,10,True,False,True)
BicubicResize(448,448,0,0.8,0,0,720,480)
AddBorders(16,16,16,16)
ResampleAudio(44100)

Holomatrix
25th July 2002, 23:03
$#!+ it worked :) Tried again with a NTSC chapter and it worked. (I was having trouble before - if you were wondering :))
(Mental note: the only changes I made was not leaving DVD2SVCD on the log tab (changed it to the conversion tab after start) and changed the Q to 20 (not 5))

CCE 2.62+Link2 settings:Q=20, min=300, max=2530, max avg=2230, progressive[x], zigzag[x], linear[], bias=20, iqp=17, anf=2, 1pass.

Does look good. :)

switu
26th July 2002, 01:31
hello everyone

I have to admitted it I finally did it.
It took me few times to get it right and I have something to tell to these guys who can't get it right. DON'T WORRY, YOU WILL GET IT

My first try was dvd2svcd, and I was following BACH's guide and no luck, right after the first pass dvd2svcd was stuck .The dvd I was trying to rip and convert was a PAL dvd and I'm in Canada so the system here is NTSC .I was thinking, that this might have something to do with it, so I try few more times and nothing.(just to be sure)
Yesterday, I was thinking (remember when BACH was explaining why you could not succeed with ROBA's method, :and the reason was one of the following:
a) I have edited the avs file;
b) I have changed the place where the d2v file was;
c) I have some codec misbehavior. This means that, in the pass of vaf creation, the avs file was read by CCE as yuv. In the second pass, CCE "think" it was RGB and try to do RGB->YUV.
What I did, maybe is crazy, but it was worth the shot, I formatted my HD and I did clean fresh install of Xp and it works. The first time I tried, it work for me no problem, this time I was encoding avi2svcd and it's a pal movie again.Tomorrow I will try dvd2svcd
GOOD LUCK TO EVERYBODY:D :D :D
Executing Cinema Craft Encoder.
StreamSectors: 834285788
AudioSectors: 625156
VideoPAPO: 12913848
ScanOffsetBytes: 1004
SeqAligningBytes: 63835
DVDBytes: 0
VideoEndHeader: 4
SubtitleSectors: 0
EmptySectors: 238.00
PictureSectors: 0.00
PureMPEGStream: 820681940.40
Seconds: 38.48
CalcMPEGStream: 820681940.40
Frames: 837
CDSize: 800.00
Number of CDs: 1
Cut point 796.00
Variable Settings:
Frames: 837
Anti Noise Filter: 2
Passes: 3
Image Quality: 19
VAF file creation: On
Video Encoding Mode: RoBa Multipass VBR (a mix between 1-pass and multipass encoding)
Min. bitrate: 300
Max. bitrate: 2530
Q. Factor: 25
Avg. Bitrate: 2230
Aspect Ratio: 16:9 (borders added, encoded as 4:3)

---AVS Begin---
LoadPlugin("C:\PROGRA~1\DVD2SVCD\MPEG2Dec\mpeg2dec.dll")
AVISource("C:\MOvies\Polskie\test.avi")
ConvertToYUY2()
BicubicResize(480,452,0,0.75)
TemporalSmoother(2,1)
Sharpen(0.10)
AddBorders(0,62,0,62)
ResampleAudio(44100)
----AVS End----

Closing program
CCE Max Speed: 0.720
Video Encoding finished.


Executing Cinema Craft Encoder.
StreamSectors: 834285788
AudioSectors: 625156
VideoPAPO: 12913848
ScanOffsetBytes: 1004
SeqAligningBytes: 63835
DVDBytes: 0
VideoEndHeader: 4
SubtitleSectors: 0
EmptySectors: 238.00
PictureSectors: 0.00
PureMPEGStream: 820681940.40
Seconds: 38.48
CalcMPEGStream: 820681940.40
Frames: 837
CDSize: 800.00
Number of CDs: 1
Cut point 796.00
Variable Settings:
Frames: 837
Anti Noise Filter: 2
Passes: 3
Image Quality: 19
VAF file creation: On
Video Encoding Mode: RoBa Multipass VBR (a mix between 1-pass and multipass encoding)
Min. bitrate: 300
Max. bitrate: 2530
Q. Factor: 25
Avg. Bitrate: 2230
Aspect Ratio: 16:9 (borders added, encoded as 4:3)

---AVS Begin---
LoadPlugin("C:\PROGRA~1\DVD2SVCD\MPEG2Dec\mpeg2dec.dll")
AVISource("C:\MOvies\Polskie\test.avi")
ConvertToYUY2()
BicubicResize(480,452,0,0.75)
TemporalSmoother(2,1)
Sharpen(0.10)
AddBorders(0,62,0,62)
ResampleAudio(44100)
----AVS End----

Closing program
CCE Max Speed: 0.750
Video Encoding finished.

Toffy
26th July 2002, 10:09
@ Bach,
many thanks for your information, it was very helpful.
My dvd-player cannot handle higher bitrates so I will play around with the value of Q and look whatīll happen.
It is funny but the films which need the highest bitrates are of the poorest quality (blured, noisy). So it is pointless to use more than 2 CDs. :D

Regards
Toffy

1loser
26th July 2002, 11:02
Originally posted by Toffy
@ Bach,
many thanks for your information, it was very helpful.
My dvd-player cannot handle higher bitrates so I will play around with the value of Q and look whatīll happen.
It is funny but the films which need the highest bitrates are of the poorest quality (blured, noisy). So it is pointless to use more than 2 CDs. :D

Regards
Toffy I know this is directed to bach but did he say anything about higher bitrates? I'm pretty sure he didn't. I mentioned it in my post as my personal preference but his modified robshot settings use the SVCD standard of max 2756 for audio and video combined. Please correct me if I'm wrong. Maybe you are confused because the robshot method was intended for making a DVD which has something like a 9000 to 9800 standard.

ChickenMan
26th July 2002, 11:38
I re-encoded the same movie (The Paper) with same settings as I posted before but with Progressive & Zigzag turned off.

Results were now similar, well within 95%, to my "normal" VBR 3 pass. A bit more grainy in places and more blurred when, for example, someone moves across screen quickly.

I'm having no probs what-so-ever with my cce 2.5 with crc patch. Will try a few more encodes of different types of movies in the coming weeks.

Toffy
26th July 2002, 15:58
@1loser
sorry, but I am pretty sure he did.
In his last post the paragraph directed to me. I quote:
" b)increase the value of max and max average to 3000, to fit 3CDs (your player must be able to handle such bitrate); "

The last two sentences in my post are related to the DVD-source I am using for test. Sorry, if this is misleading.

I donīt know the original robshot method because the link is broken, but I found a post where he stated that his method can be used for SVCDs, too.

To sum up, I am not sure about what you try to tell me. :confused:

Regards
Toffy

1loser
26th July 2002, 18:04
Originally posted by Toffy
@1loser
sorry, but I am pretty sure he did.
In his last post the paragraph directed to me. I quote:
" b)increase the value of max and max average to 3000, to fit 3CDs (your player must be able to handle such bitrate); "

The last two sentences in my post are related to the DVD-source I am using for test. Sorry, if this is misleading.

I donīt know the original robshot method because the link is broken, but I found a post where he stated that his method can be used for SVCDs, too.

To sum up, I am not sure about what you try to tell me. :confused:

Regards
Toffy Sorry, looks like you are correct about that. I don't have the original robshot document but I do have one that is based on it. I uploaded it to my homepage.

Article based on Robshot method to create a dvd-r (http://home.san.rr.com/oneloser/article.based.on.robshot.method.to.create.dvd-r.htm).

1loser
26th July 2002, 18:15
AVI2SVCD conversion using Robshot-Bach modification.

I definitely got my best results ever using these settings. Although it's a conversion and not a DVD rip the results were incredible. I've done 60 conversions and this is definitely the best. Usually I will convert from a 2 CD avi source to a 2 CD SVCD. By the quality of this conversion you would think it was a 2CD source. The source also happens to be of very HIGH quality. I plan on doing all my conversions and DVD rips with these settings.

My source was a 1 CD version of The Nutty Professor (Jerry Lewis version) The setting information is contained in the avs script. I like to keep it there for my records and just use a # sign infront of all the comments.

CinemaCraft 2.50, checksum patch , DVD2SVCD 1.0.9 build3. Windows XP, 750 Duron with 512 SDRAM, 80G 5400 rpm drive. Also using a filesharing program at the same time and went into the task manager and set piority for CCE = "below normal" and the file sharing program to "high". I got an average speed about .57

LoadPlugin("C:\Program Files\DVD2SVCD\MPEG2Dec\MPEG2DEC.dll")
AviSource("Nutty Professor.avi")
ConvertToYUY2()
BicubicResize(448,416,0,0.75,0,0,576,320)
#TemporalSmoother(2,2)
AddBorders(16,80,16,80)
#Trim(0,154510).FadeOut(150)
ResampleAudio(44100)
#PAL
#audio=160, source vbr 128 +/- 14
#fitCD 1947 bitrate
#1st pass, Q=30,min=0,max=3500,IQP=25,anti-noise=6
#2nd pass, min=0,avg=1950,max=3500,IQP=25,anti-noise=6,bias=10
#103 min total length
#CD1, 0 to 3164 sec, 794 mb's
#CD2, 3161 to 6176, 796 mb's
*********************************
title=Nutty Professor.avs
vid_out=1
vaf_out=1
aud_out=0
vid_file0=E:\AVI2SVCD E drive\Nutty Professor.mpv
vid_file1=E:\AVI2SVCD E drive\Nutty Professor.mpv
vaf_file=E:\AVI2SVCD E drive\Nutty Professor.vaf
aud_file=E:\AVI2SVCD E drive\Nutty Professor.mpa
file_focused=0
encode_mode=0
packet_size=4096
timecode=0x1000000
width=480
height=576
vmode=2
frame_rate_idx=3
cbr_brate=6000
opv_q_factor=30
opv_brate_min=0
opv_brate_max=3500
vbr_brate_avg=1950
vbr_brate_min=0
vbr_brate_max=3500
vbr_bias=10
vbr_pass=1
quality_prec=25
use_filter=1
filter_val=6
seq_endcode=1
dvd=0
half_width=0
half_height=0
fast_mode=0
progressive=1
alternate_scan=0
non_linear=0
top_first=1
lum_level=0
intra_dc_prec=-1
aspect_ratio=2
gop_m=3
gop_nm=5
gop_hdr=15
seq_hdr=1
all_closed_gop=0
fix_gop_length=0
mpeg1=0
mpeg1_cps=1
samples_per_sec=44100
stereo=2
brate_idx=7
crc=1

[file]
name=E:\AVI2SVCD E drive\Nutty Professor.avs
type=0
frame_first=0
frame_last=154510
encode_first=0
encode_last=154510

Cidici
27th July 2002, 14:40
hi guys!
im downloading the modified dvd2svcd version btw, before doin' some tests, i just wanna ask u this question :

which is the aim of this method ?
getting the same/better quality respect to the "canonical" n-pass method or getting somethin slightly worse but very fast ?

1loser
27th July 2002, 17:13
Originally posted by Cidici
hi guys!
i'm downloading the modified dvd2svcd versionI asked the question in my post (question was in blue) if this was a modified version of DVD2SVCD than would allow you to do the Robshot-bach modified method but I never got an answer. I guess from your post that it is.

Toffy
27th July 2002, 19:48
@1loser
I asked the question in my post (question was in blue) if this was a modified version of DVD2SVCD than would allow you to do the Robshot-bach modified method but I never got an answer. I guess from your post that it is.


Are you kidding?
Nearly the whole thread is about this new version.
Have a look on the first page of this thread in the middle you find it as attachment of a DVD2SVCD post.

Have much fun :D

Toffy

svcdentro
28th July 2002, 06:34
Originally posted by Bach
Originally posted by Cidici
hi guys!
which is the aim of this method ?
getting the same/better quality respect to the "canonical" n-pass method or getting somethin slightly worse but very fast ?
Neither one of both. The aim of it is to fix a minimum quality level and, done this, to be sure that all of your next encodings will have at least this quality. CCE handles the Q.factor so that it is a direct measure of the quality of the compression (read my first post in this thread). So, instead of a fixed range of average bitrate, we use a maximum value of Q.factor.

There are also two things to keep in mind:

1)the quality of the compression is not the same thing of your subjective quality. The quality of the compression is a measure of how close to the source the encoded file can be. However, if the source is plenty of artefacts (so, low subjective quality), a high quality compression will keep these artifacts as they are (thus, low subjective quality too). The worse thing is that these artefacts are bandwith lovers, so that a crappy source must be cleaned with avs filters before the encoding, otherwise the mpeg file will have a huge size.

2) most of times Q.factor between 30 and 40 already is good enough. However, since subjective quality is a personal thing, it would be better if you make a couple of tests with different Q.values until you find the best Q.factor for your personal quality level.

I guess it would be better if you read my first post again.


Just in case, i had the same problem with CCE using the RoBa option, after the first pass the program stops and shows bad data error or something, so i made a brand new wxp install and everything is fine since then, could be some old drivers or programs, who knows this things only happen to a little percentage of us and none knows how to fix them but now there are some clues....

1loser
28th July 2002, 10:36
If I use this Modified version of DVD2SVCD what bitrate setting will correspond to the average bitrate when using CCE 2.5 by itself for the second pass? When I use CCE WITHOUT using DVD2SVCD I can predict the final size by calculating the bitrate with fitCD and using it for the average but DVD2SVCD has MIN and MAX average. I'm not sure if either of these will give me a predictable size. Can the author of DVD2SVCD please reply?

vivaatloni
28th July 2002, 19:41
Here a assumption from me about this method and the question asked what the purpose of this method was: Better quality or smaller filesize (or both).

I peronally think that with this method you could expect the same results when you're encoding with CBR 2530 rate. Only the size will be a lot smaller.

Am I right here? When you use the same settings with CBR 2530 encoding then I get the same quality results but a bigger output file. (Didn't tested it though)

dvd2svcd
29th July 2002, 10:41
The idea with this method is like Normalization in audio. Your encoding quality will never be worse than ???? (depending on your offset Q value) and the big advantage is that it will fill up xx numbers of CDs needed to maintain that quality. So as Bach have said, a movie of 2 hours might fit snuggly onto 2 CDs maintaing the quality you would expect instead of 3 cds.

So, the number of discs used are not predictable, but all cds used will be filled to the max.

vivaatloni
29th July 2002, 17:53
But do you think that these settings (bias 10 q 25) also work with a CBR output? And what if I encoded a captured video 8 movie.

1loser
29th July 2002, 20:44
Originally posted by 1loser
Sorry, looks like you are correct about that.

Doom's article based on Robshot method to create a dvd-r. Getting the best out of CCE (http://www.doom9.org/mpg/cce-advanced.htm).

galo
30th July 2002, 16:12
Hi, i am trying the new roba method by i donīt get it to work
i got the message "is not a valid floating point value"
Can anybody could help me
This is the log of dvd2svc
Drive is harddisk, no need to authenticate - OK.
--------------------------------------------------------
- 7/29/2002 10:55:16 AM
- DVD to SVCD Conversion
- DVD2SVCD ver. 1.1.0 build 1 Pre 22
--------------------------------------------------------
Initializing
Initializing finished.

--------------------------------------------------------
- 7/29/2002 10:55:20 AM
- DVD2AVI
--------------------------------------------------------
Creating DVD2AVI INI file:
- C:\Program Files\DVD2SVCD\DVD2AVI\DVD2AVI.INI

Variable settings:
iDCT_Algorithm: 32-bit SSE MMX

Executing DVD2AVI.
Executing DVD2AVI. Commandline:
"C:\Program Files\DVD2SVCD\DVD2AVI\DVD2AVI.exe" -CS=2 -YR=1 -EXIT -OF=[C:\VCD3\DVD2AVI_Project_file] -IF=[D:\VCD\vts_04_1.vob,D:\VCD\vts_04_2.vob,D:\VCD\vts_04_3.vob,D:\VCD\vts_04_4.vob,D:\VCD\vts_04_5.vob]
Framerate: 29970
DVD2AVI processing done.

--------------------------------------------------------
- 7/29/2002 11:31:18 AM
- Free on drive C: 23290.88 mb
- AUDIO Extraction
--------------------------------------------------------
Found AC3 stream id: 0x82
Filename: C:\VCD3\Extracted_audio_1.ac3
Audio1 delay: 27 ms
Audio extraction finished.

--------------------------------------------------------
- 7/29/2002 12:11:40 PM
- Free on drive C: 23079.12 mb
- AUDIO conversion
--------------------------------------------------------

Converting Audio to MP2. Filename: C:\VCD3\Extracted_audio_1.ac3
Executing BeSweet. Commandline:
"C:\Program Files\DVD2SVCD\BeSweet\BeSweet.exe" -core( -input "C:\VCD3\Extracted_audio_1.ac3" -output "C:\VCD3\Encoded_audio_1.mp2" -logfile "C:\VCD3\Encoded_audio_1.log" ) -azid( -L -3db -c normal -s surround -g max ) -ota( -d 27 ) -2lame( -e -b 192 -m s )
Audio conversion of C:\VCD3\Extracted_audio_1.ac3 finished.

Audio conversion finished.

--------------------------------------------------------
- 7/29/2002 12:25:55 PM
- Free on drive C: 22973.24 mb
- Converting Pictures
--------------------------------------------------------
Converting: C:\Program Files\DVD2SVCD\DefaultChangeCD.bmp
Finished converting pictures
--------------------------------------------------------
- 7/29/2002 12:26:04 PM
- Free on drive C: 22972.45 mb
- Video Encoding using Cinema Craft
--------------------------------------------------------
- Editing AVS script file

Executing Cinema Craft Encoder.
StreamSectors: 1539589576
AudioSectors: 113336832
VideoPAPO: 22093416
ScanOffsetBytes: 166310
SeqAligningBytes: 10569950
DVDBytes: 0
VideoEndHeader: 8
SubtitleSectors: 0
EmptySectors: 238.00
PictureSectors: 600.00
PureMPEGStream: 1393423059.73
Seconds: 4659.36
CalcMPEGStream: 1393423059.73
Frames: 138592
CDSize: 740.00
Number of CDs: 2
Cut point 735.00
Variable Settings:
Frames: 138592
Anti Noise Filter: Off
Passes: 2
Image Quality: 17
VAF file creation: On
Video Encoding Mode: RoBa Multipass VBR (a mix between 1-pass and multipass encoding)
Min. bitrate: 300
Max. bitrate: 2530
Q. Factor: 30
Avg. Bitrate: 2230
Aspect Ratio: 16:9 (borders added, encoded as 4:3)

---AVS Begin---
LoadPlugin("C:\PROGRA~1\DVD2SVCD\SIMPLE~1\SIMPLE~1.DLL")
LoadPlugin("C:\PROGRA~1\DVD2SVCD\MPEG2Dec\mpeg2dec.dll")
mpeg2source("C:\VCD3\DVD2AV~1.D2V")
SimpleResize(480,360)
AddBorders(0,60,0,60)
ResampleAudio(44100)
----AVS End----

Closing program
CCE Max Speed: 0.460
Video Encoding finished.


Executing Cinema Craft Encoder.
StreamSectors: 833239988
AudioSectors: 112607096
VideoPAPO: 11162988
ScanOffsetBytes: 166310
SeqAligningBytes: 10569950
DVDBytes: 0
VideoEndHeader: 4
SubtitleSectors: 0
EmptySectors: 238.00
PictureSectors: 300.00
PureMPEGStream: 698733639.73
Seconds: 4629.36
CalcMPEGStream: 698733639.73
Frames: 138592
CDSize: 800.00
Number of CDs: 1
Cut point 795.00
StreamSectors: 1665085576
AudioSectors: 113336832
VideoPAPO: 24037416
ScanOffsetBytes: 166310
SeqAligningBytes: 10569950
DVDBytes: 0
VideoEndHeader: 8
SubtitleSectors: 0
EmptySectors: 238.00
PictureSectors: 600.00
PureMPEGStream: 1516975059.73
Seconds: 4659.36
CalcMPEGStream: 1516975059.73
Frames: 138592
CDSize: 800.00
Number of CDs: 2
Cut point 795.00
Variable Settings:
Frames: 138592
Anti Noise Filter: Off
Passes: 2
Image Quality: 17
VAF file creation: On
Video Encoding Mode: RoBa Multipass VBR (a mix between 1-pass and multipass encoding)
Min. bitrate: 300
Max. bitrate: 2530
Q. Factor: 30
Avg. Bitrate: 2230
Aspect Ratio: 16:9 (borders added, encoded as 4:3)

---AVS Begin---
LoadPlugin("C:\PROGRA~1\DVD2SVCD\SIMPLE~1\SIMPLE~1.DLL")
LoadPlugin("C:\PROGRA~1\DVD2SVCD\MPEG2Dec\mpeg2dec.dll")
mpeg2source("C:\VCD3\DVD2AV~1.D2V")
SimpleResize(480,360)
AddBorders(0,60,0,60)
ResampleAudio(44100)
----AVS End----

'06:3' is not a valid floating point value
:confused:

1loser
31st July 2002, 01:33
Is it possible to incorporate another change in DVD2SVCD for the robshot method that will speed encoding up. For my first pass I use a simple resize and NO filters to create the vaf file. My second pass may look like this:

LoadPlugin("C:\Program Files\DVD2SVCD\MPEG2Dec\MPEG2DEC.dll")
LoadPlugin("C:\Avisynth\temporalSoften2\TemporalSoften2.dll")
LoadPlugin("C:\Avisynth\TomsMoComp\Avisynth\TomsMoComp.dll")
LoadPlugin("C:\Avisynth\unfilter\UnFilter.dll")
mpeg2source("arista25.d2v")
ConvertToYUY2()
TomsMoComp(1,15,1)
BicubicResize(448,448,0.6,0.6,0,0,720,480)
UnFilter(40,40)
TemporalSoften2(2,5,5)
AddBorders(16,16,16,16)
ResampleAudio(44100)

In my opinion the vaf file will be the same whether the filters are added or not so why add them on the first pass.

Of course the experts here will probably disagree with that statement.

Bach's response to the last sentenceyou are right here. This statement is completelly, 100%, fully, wrong. The vaf file is a data bank about the input which will be encoded. The input IS the avs file. If you have two different avs files, you indeed have two different input and, as a result, you will have two different vaf files. Thus, it is IMPOSSIBLE to re-use the vaf file after you edit the avs file.

1loser
31st July 2002, 06:32
Originally posted by Bach
you are right here. This statement is completelly, 100%, fully, wrong. The vaf file is a data bank about the input which will be encoded. The input IS the avs file. If you have two different avs files, you indeed have two different input and, as a result, you will have two different vaf files. Thus, it is IMPOSSIBLE to re-use the vaf file after you edit the avs file. I just did 2 DVD to SVCD conversions using a different avs file for each pass and the quality was excellent. Infact it looks better than many 5 pass encodes that I've seen. I get the same size vaf file no matter what filter or resizing method I use. I used these scripts on my last encode and was very happy with the results.

First pass:
LoadPlugin("C:\Program Files\DVD2SVCD\MPEG2Dec\MPEG2DEC.dll")
LoadPlugin("C:\Program Files\DVD2SVCD\SimpleResize\SimpleResize.dll")
mpeg2source("arista25.d2v")
ConvertToYUY2()
SimpleResize(448,448)
AddBorders(16,16,16,16)
ResampleAudio(44100)

Second pass:
LoadPlugin("C:\Program Files\DVD2SVCD\MPEG2Dec\MPEG2DEC.dll")
LoadPlugin("C:\Avisynth\TomsMoComp\Avisynth\TomsMoComp.dll")
LoadPlugin("C:\Avisynth\unfilter\UnFilter.dll")
LoadPlugin("C:\Avisynth\temporalSoften2\TemporalSoften2.dll")
mpeg2source("arista25.d2v")
ConvertToYUY2()
TomsMoComp(1,15,1)
BicubicResize(448,448,0.6,0.6,0,0,720,480)
UnFilter(40,40)
TemporalSoften2(2,5,5)
AddBorders(16,16,16,16)
ResampleAudio(44100)