Venom_IL
3rd September 2004, 14:42
major edit - the following doesn't happen when i use LanczosResize but it does happen with bilinear.. strange because there doesn't seem to be a meaningful difference in the avs script in avisynth.ini:
[AVISYNTH_LanczosResize]
0=Import(!RoBaConditional.avs)
1=LanczosResize(^TargetWidth,^TargetHeight)
2=AddBorders(^BorderLeft,^BorderTop,^BorderRight,^BorderBottom)
!RoBaConditional.avs=C:\Programs\DVD2SVCD\Tylo\RoBaConditional.avs
[AVISYNTH_BilinearResize]
0=Import(!RoBaConditional.avs)
1=BilinearResize(^TargetWidth,^TargetHeight)
2=AddBorders(0,^BorderTop,0,^BorderBottom)
!RoBaConditional.avs=C:\Programs\DVD2SVCD\Tylo\RoBaConditional.avs
:confused: :confused: :confused:
in any case the problem when using bilinear is the following-
a picture that's supposed to look like this
http://members.lycos.co.uk/tvcaptures/original.jpg
looks like this
http://members.lycos.co.uk/tvcaptures/distorted.jpg
happened 3 times in a row (batch gone to waste :p ) since i updated D2S from 1.2.2 B1 to 1.2.2 B3 and avisynth from 2.5.4 to 2.5.5 so I guess that's the cause
Preview looks fine, when I open the avs file in media player it also looks fine
it's not the conditional filters as well (i checked unfiltered.mpv)
I have eclCCE 1.81 and CCE trial 2.67.00.23
relevant part of dvd2svcd log:
--------------------------------------------------------
- 03/09/2004 15:35:12
- Free on drive F: 18322.31 mb
- Video Encoding using Cinema Craft
--------------------------------------------------------
Executing Cinema Craft Encoder.
StreamSectors: 1667869728
AudioSectors: 169621788
VideoPAPO: 23208660
ScanOffsetBytes: 179192
SeqAligningBytes: 11388673
DVDBytes: 0
VideoEndHeader: 8
SubtitleSectors: 0
EmptySectors: 238.00
PictureSectors: 1.00
PureMPEGStream: 1463471407.07
Seconds: 5977.08
CalcMPEGStream: 1463471407.07
Frames: 149327
CDSize: 800.00
Number of CDs: 2
Cut point 795.00
Variable Settings:
Frames: 149327
Anti Noise Filter: Off
Passes: 5
Image Quality: 17
VAF file creation: On
Video Encoding Mode: One Pass VBR
Q. Factor: 36
Min. bitrate: 300
Max. bitrate: 1958
Aspect Ratio: 4:3 (No borders, encoded as 4:3)
---AVS Begin---
LoadPlugin("C:\Programs\DVD2SVCD\AVISYN~1.5PL\Mpeg2dec\MPEG2D~1.DLL")
AVISource("G:\DOWNLO~1\LOONEY~2.AVI",audio=false)
ConvertToYUY2()
Import("C:\Programs\DVD2SVCD\Tylo\RoBaConditional.avs")
BilinearResize(360,576)
----AVS End----
d2sroba log (i stopped it after the first Q test encode since it already was distorted):
--------------------------------------------------------
D2SRoBa v3.60, by Tylo
--------------------------------------------------------
- WIN_XP - AutoIt 3.0.101.0
- 2004-09-03 15:32:52
--------------------------------------------------------
- Output type : SVCD
- CD size : 800
- Number of CD's : auto (max 32)
- Threshold Q : 36
- Sample size : 1.0%
- Adjust estimated : 1.2%
- Cond. sizing pass : Yes (Transcode if opv sz > 0.0% oversize, and Q <= 40)
(Encode if opv sz < 2.5% undersize, or Q > 40)
- Cond. filtering : If configured, and estim. oversize for Num CDs-1 is below 25%
- Audio after video : Yes (9% of video, min 160 kbps)
- Adjust max br : Yes (total: 2754, max avg offset: 300 kbps)
- Run mode : Normal
--------------------------------------------------------
- Waiting for CCE window ...
- Detected a CCE encode window
- Detected the movie encode window - shutting down
--------------------------------------------------------
- 2004-09-03 15:36:23
- Project dir: F:\DVD2SVCD\tmpdjksf\
- Avisynth setup: BilinearResize
- Configured cond. filter: C:\Programs\DVD2SVCD\Tylo\RoBaConditional.avs
- D2S ver. 1.2.2.3, CCE ver. 2.67.0.23
--------------------------------------------------------
- Movie length : 01:39:33 (149327 frames, 25 fps)
- D2S audio select : 224 + 0 kbps
- D2S video calc. : 1958 kbps, 2 CDs
- Select ranges : every 1500, select 15 frames
- Sample frames : 1500
--------------------------------------------------------
Calculations:
- 1 CD: video_br=923 (923) audio_br=160+0 video_sz=689144105 fill=100% cbr=0
- 2 CD: video_br=1990 (1990) audio_br=192+0 video_sz=1485803650 fill=100% cbr=0
- 3 CD: video_br=2530 (3057) audio_br=224+0 video_sz=1888986550 fill=84% cbr=1
--------------------------------------------------------
Computing target number of CDs:
- Sample max br : 2562 (adjusted for 2 CDs)
- Sample enc. Q=36 : 2399 kbps, err=?%, size=1791445357, sample sz=17995192
- Estim. oversize : 20.6% for 2 CDs
Conditional filter test:
- Sample enc. Q=36 :
:thanks: in advance
[AVISYNTH_LanczosResize]
0=Import(!RoBaConditional.avs)
1=LanczosResize(^TargetWidth,^TargetHeight)
2=AddBorders(^BorderLeft,^BorderTop,^BorderRight,^BorderBottom)
!RoBaConditional.avs=C:\Programs\DVD2SVCD\Tylo\RoBaConditional.avs
[AVISYNTH_BilinearResize]
0=Import(!RoBaConditional.avs)
1=BilinearResize(^TargetWidth,^TargetHeight)
2=AddBorders(0,^BorderTop,0,^BorderBottom)
!RoBaConditional.avs=C:\Programs\DVD2SVCD\Tylo\RoBaConditional.avs
:confused: :confused: :confused:
in any case the problem when using bilinear is the following-
a picture that's supposed to look like this
http://members.lycos.co.uk/tvcaptures/original.jpg
looks like this
http://members.lycos.co.uk/tvcaptures/distorted.jpg
happened 3 times in a row (batch gone to waste :p ) since i updated D2S from 1.2.2 B1 to 1.2.2 B3 and avisynth from 2.5.4 to 2.5.5 so I guess that's the cause
Preview looks fine, when I open the avs file in media player it also looks fine
it's not the conditional filters as well (i checked unfiltered.mpv)
I have eclCCE 1.81 and CCE trial 2.67.00.23
relevant part of dvd2svcd log:
--------------------------------------------------------
- 03/09/2004 15:35:12
- Free on drive F: 18322.31 mb
- Video Encoding using Cinema Craft
--------------------------------------------------------
Executing Cinema Craft Encoder.
StreamSectors: 1667869728
AudioSectors: 169621788
VideoPAPO: 23208660
ScanOffsetBytes: 179192
SeqAligningBytes: 11388673
DVDBytes: 0
VideoEndHeader: 8
SubtitleSectors: 0
EmptySectors: 238.00
PictureSectors: 1.00
PureMPEGStream: 1463471407.07
Seconds: 5977.08
CalcMPEGStream: 1463471407.07
Frames: 149327
CDSize: 800.00
Number of CDs: 2
Cut point 795.00
Variable Settings:
Frames: 149327
Anti Noise Filter: Off
Passes: 5
Image Quality: 17
VAF file creation: On
Video Encoding Mode: One Pass VBR
Q. Factor: 36
Min. bitrate: 300
Max. bitrate: 1958
Aspect Ratio: 4:3 (No borders, encoded as 4:3)
---AVS Begin---
LoadPlugin("C:\Programs\DVD2SVCD\AVISYN~1.5PL\Mpeg2dec\MPEG2D~1.DLL")
AVISource("G:\DOWNLO~1\LOONEY~2.AVI",audio=false)
ConvertToYUY2()
Import("C:\Programs\DVD2SVCD\Tylo\RoBaConditional.avs")
BilinearResize(360,576)
----AVS End----
d2sroba log (i stopped it after the first Q test encode since it already was distorted):
--------------------------------------------------------
D2SRoBa v3.60, by Tylo
--------------------------------------------------------
- WIN_XP - AutoIt 3.0.101.0
- 2004-09-03 15:32:52
--------------------------------------------------------
- Output type : SVCD
- CD size : 800
- Number of CD's : auto (max 32)
- Threshold Q : 36
- Sample size : 1.0%
- Adjust estimated : 1.2%
- Cond. sizing pass : Yes (Transcode if opv sz > 0.0% oversize, and Q <= 40)
(Encode if opv sz < 2.5% undersize, or Q > 40)
- Cond. filtering : If configured, and estim. oversize for Num CDs-1 is below 25%
- Audio after video : Yes (9% of video, min 160 kbps)
- Adjust max br : Yes (total: 2754, max avg offset: 300 kbps)
- Run mode : Normal
--------------------------------------------------------
- Waiting for CCE window ...
- Detected a CCE encode window
- Detected the movie encode window - shutting down
--------------------------------------------------------
- 2004-09-03 15:36:23
- Project dir: F:\DVD2SVCD\tmpdjksf\
- Avisynth setup: BilinearResize
- Configured cond. filter: C:\Programs\DVD2SVCD\Tylo\RoBaConditional.avs
- D2S ver. 1.2.2.3, CCE ver. 2.67.0.23
--------------------------------------------------------
- Movie length : 01:39:33 (149327 frames, 25 fps)
- D2S audio select : 224 + 0 kbps
- D2S video calc. : 1958 kbps, 2 CDs
- Select ranges : every 1500, select 15 frames
- Sample frames : 1500
--------------------------------------------------------
Calculations:
- 1 CD: video_br=923 (923) audio_br=160+0 video_sz=689144105 fill=100% cbr=0
- 2 CD: video_br=1990 (1990) audio_br=192+0 video_sz=1485803650 fill=100% cbr=0
- 3 CD: video_br=2530 (3057) audio_br=224+0 video_sz=1888986550 fill=84% cbr=1
--------------------------------------------------------
Computing target number of CDs:
- Sample max br : 2562 (adjusted for 2 CDs)
- Sample enc. Q=36 : 2399 kbps, err=?%, size=1791445357, sample sz=17995192
- Estim. oversize : 20.6% for 2 CDs
Conditional filter test:
- Sample enc. Q=36 :
:thanks: in advance