![]() |
Quote:
-kwag |
|
Quote:
http://forum.doom9.org/showthread.ph...threadid=56451 :!: |
Phil
me again(you know,now i call you for "everything" in dvd2svcd) :lol: my source: Resolution (fps):480x480 (29,970 fps) Total Frames: 56417 Total Time : 00:31:22 desired final size = 290mb d2s see my movie as aspect radio 4:3(no borders, encoded as 4:3) in conversation tab. then i change the adjust in ^source_ana=true to "false" cos my source is fullscreen (not anamorphic)... i see the movie on powerdvd and in d2s preview to get the aspect radio. when d2s end the encode i got erroneous aspect radio... big black borders on top and botton! :? the size of files: Encoded_video_TMPGEnc_NTSC_FS1.mpv = 232mb Encoded_Audio_1_FS1.mp2 = 35,9mb d2s give 303 final size when end the job! if i mux in bbmpeg the Encoded_video_TMPGEnc_NTSC_FS1.mpv with the Encoded_Audio_1_FS1.mp2 :arrow: i got the correct aspect radio :!: (like the preview in d2s or in powerdvd using the vobs), and the final size is 282mb! 8O what is wrong, or better, i did something wrong? (if i did) do you need the log, the svcdinfo or full script to read? thanks in advance! :) |
Quote:
If you can give me the logs, it will be better. (and the script also, as aI changed it a lot since the last one I gave to you). |
ok Phil,this is log file with the old script that i encode:
WNASPI32.DLL 4.6.0.1021 WNASPI32.DLL 4.6.0.1021 -------------------------------------------------------- - 22/06/03 12:01:44 - DVD to SVCD Conversion - DVD2SVCD ver. 1.1.3 build 3 BETA 7 -------------------------------------------------------- Initializing Initializing finished. -------------------------------------------------------- - 22/06/03 12:01:47 - Free on drive D: 10352.78 mb - Internal rip -------------------------------------------------------- Preparing vobfiles to be ripped: - D:\convert\Tok480x480\kvcd-svcd\Vts_01_1.vob - D:\convert\Tok480x480\kvcd-svcd\Vts_01_2.vob - D:\convert\Tok480x480\kvcd-svcd\Vts_01_3.vob Ripping: D:\convert\Tok480x480\kvcd-svcd\Vts_01_1.vob Ripping: D:\convert\Tok480x480\kvcd-svcd\Vts_01_2.vob Analyzing DVD2AVI Project file Force Film NOT activated! Framerate: 29970 Ripping finished. Speed: 11654 -------------------------------------------------------- - 22/06/03 12:04:38 - DVD2AVI -------------------------------------------------------- Creating DVD2AVI INI file: - C:\DVD2SVCD1\DVD2AVI\DVD2AVI.INI Variable settings: iDCT_Algorithm: 32-bit SSE MMX Executing DVD2AVI. Executing DVD2AVI. Commandline: "C:\DVD2SVCD1\DVD2AVI\Dvd2avi.exe" -CS=2 -YR=1 -EXIT -OF=[D:\La Luna\RobaTest\DVD2AVI_Project_file] -IF=[D:\La Luna\RobaTest\Vts_01_1.vob,D:\La Luna\RobaTest\Vts_01_2.vob] Analyzing DVD2AVI Project file Force Film NOT activated! Framerate: 29970 DVD2AVI processing done. -------------------------------------------------------- - 22/06/03 12:05:45 - Free on drive D: 8417.47 mb - Frameselection -------------------------------------------------------- Frameselection 1: 0 - 56416 -------------------------------------------------------- - 22/06/03 12:15:23 - DVD to SVCD Conversion - DVD2SVCD ver. 1.1.3 build 3 BETA 7 -------------------------------------------------------- Initializing Initializing finished. -------------------------------------------------------- - 22/06/03 12:15:25 - Free on drive D: 8417.44 mb - Crash Recovery - Restarting from: Subtitle Extraction Saving Subtitles ini file -------------------------------------------------------- - 22/06/03 12:15:28 - Free on drive D: 8417.44 mb - AUDIO Extraction -------------------------------------------------------- Found AC3 stream id: 0x81 Filename: D:\La Luna\RobaTest\Extracted_audio_1.ac3 -------------------------------------------------------- - 22/06/03 12:16:20 - DVD to SVCD Conversion - DVD2SVCD ver. 1.1.3 build 3 BETA 7 -------------------------------------------------------- Initializing Initializing finished. -------------------------------------------------------- - 22/06/03 12:16:21 - Free on drive D: 8383.25 mb - Crash Recovery - Restarting from: Audio Extraction -------------------------------------------------------- - 22/06/03 12:16:22 - Free on drive D: 8383.25 mb - AUDIO Extraction -------------------------------------------------------- Found AC3 stream id: 0x81 Filename: D:\La Luna\RobaTest\Extracted_audio_1.ac3 -------------------------------------------------------- - 22/06/03 12:16:50 - DVD to SVCD Conversion - DVD2SVCD ver. 1.1.3 build 3 BETA 7 -------------------------------------------------------- Initializing Initializing finished. -------------------------------------------------------- - 22/06/03 12:17:17 - Free on drive D: 8402.50 mb - Crash Recovery - Restarting from: Audio Extraction -------------------------------------------------------- - 22/06/03 12:17:18 - Free on drive D: 8402.50 mb - AUDIO Extraction -------------------------------------------------------- Found AC3 stream id: 0x81 Filename: D:\La Luna\RobaTest\Extracted_audio_1.ac3 Audio1 delay: -67 ms Analyzing DVD2AVI Project file Force Film NOT activated! Framerate: 29970 Audio extraction finished. -------------------------------------------------------- - 22/06/03 12:18:52 - Free on drive D: 8307.50 mb - AUDIO conversion -------------------------------------------------------- Encoding Audio. Filename: D:\La Luna\RobaTest\Extracted_audio_1.ac3 Executing BeSweet. Commandline: "C:\DVD2SVCD1\BeSweet\BeSweet.exe" -core( -input "D:\La Luna\RobaTest\Extracted_audio_1.ac3" -output "D:\LALUNA~1\ROBATEST\Encoded_audio_1_FS1.mp2" -logfile "D:\LALUNA~1\ROBATEST\Encoded_audio_1_FS1.log" ) -azid( -L -3db -c normal -s surround -g max ) -ota( -d -67 ) -shibatch( --rate 44100 ) -2lame( -e -b 160 -m d ) -split( -start 0 -end 1882.41574908242 ) Audio conversion of D:\La Luna\RobaTest\Extracted_audio_1.ac3 finished. -------------------------------------------------------- -------------------------------------------------------- - 29/06/03 14:58:45 - DVD to SVCD Conversion - DVD2SVCD ver. 1.1.3 build 3 BETA 7 -------------------------------------------------------- Initializing Initializing finished. -------------------------------------------------------- - 29/06/03 14:59:55 - Free on drive D: 7290.22 mb - Crash Recovery - Restarting from: Video encoding -------------------------------------------------------- - 29/06/03 14:59:56 - Free on drive D: 7290.22 mb - Video Encoding using TMPGEnc -------------------------------------------------------- - Editing AVS script file - Encoding Test Clip D:\La Luna\RobaTest\AviSynth_Script_file_FS1_CQ_TEST.avs Executing TMPGEnc. Commandline: "C:\Arquivos de programas\TMPGEnc\TMPGEnc.exe" "D:\La Luna\RobaTest\TMPGEnc_Project_file.tpr" /Encode /Close Video Encoding finished. - Encoding Test Clip D:\La Luna\RobaTest\AviSynth_Script_file_FS1_CQ_TEST.avs Wanted: 257852815 (251809kb) Predicted: 206932305 (202082kb) Using CQ Value: 60.00 Calculated next CQ Value: 67.11 Executing TMPGEnc. Commandline: "C:\Arquivos de programas\TMPGEnc\TMPGEnc.exe" "D:\La Luna\RobaTest\TMPGEnc_Project_file.tpr" /Encode /Close Video Encoding finished. - Encoding Test Clip D:\La Luna\RobaTest\AviSynth_Script_file_FS1_CQ_TEST.avs Wanted: 257852815 (251809kb) Predicted: 261723185 (255589kb) Using CQ Value: 67.11 Calculated next CQ Value: 66.50 Executing TMPGEnc. Commandline: "C:\Arquivos de programas\TMPGEnc\TMPGEnc.exe" "D:\La Luna\RobaTest\TMPGEnc_Project_file.tpr" /Encode /Close Video Encoding finished. - Encoding Test Clip D:\La Luna\RobaTest\AviSynth_Script_file_FS1_CQ_TEST.avs Wanted: 257852815 (251809kb) Predicted: 250028541 (244168kb) Using CQ Value: 66.50 Calculated next CQ Value: 67.10 Executing TMPGEnc. Commandline: "C:\Arquivos de programas\TMPGEnc\TMPGEnc.exe" "D:\La Luna\RobaTest\TMPGEnc_Project_file.tpr" /Encode /Close Video Encoding finished. - Encoding Test Clip D:\La Luna\RobaTest\AviSynth_Script_file_FS1_CQ_TEST.avs Wanted: 257852815 (251809kb) Predicted: 261930852 (255792kb) Using CQ Value: 67.10 Calculated next CQ Value: 66.47 Executing TMPGEnc. Commandline: "C:\Arquivos de programas\TMPGEnc\TMPGEnc.exe" "D:\La Luna\RobaTest\TMPGEnc_Project_file.tpr" /Encode /Close Video Encoding finished. - Encoding Test Clip D:\La Luna\RobaTest\AviSynth_Script_file_FS1_CQ_TEST.avs Wanted: 257852815 (251809kb) Predicted: 249204911 (243364kb) Using CQ Value: 66.47 Calculated next CQ Value: 67.07 Executing TMPGEnc. Commandline: "C:\Arquivos de programas\TMPGEnc\TMPGEnc.exe" "D:\La Luna\RobaTest\TMPGEnc_Project_file.tpr" /Encode /Close Video Encoding finished. - Encoding Test Clip D:\La Luna\RobaTest\AviSynth_Script_file_FS1_CQ_TEST.avs Wanted: 257852815 (251809kb) Predicted: 261394909 (255268kb) Using CQ Value: 67.07 Calculated next CQ Value: 66.52 Executing TMPGEnc. Commandline: "C:\Arquivos de programas\TMPGEnc\TMPGEnc.exe" "D:\La Luna\RobaTest\TMPGEnc_Project_file.tpr" /Encode /Close Video Encoding finished. - Encoding Test Clip D:\La Luna\RobaTest\AviSynth_Script_file_FS1_CQ_TEST.avs Wanted: 257852815 (251809kb) Predicted: 250358657 (244491kb) Using CQ Value: 66.52 Calculated next CQ Value: 66.82 Executing TMPGEnc. Commandline: "C:\Arquivos de programas\TMPGEnc\TMPGEnc.exe" "D:\La Luna\RobaTest\TMPGEnc_Project_file.tpr" /Encode /Close Video Encoding finished. - Encoding Test Clip D:\La Luna\RobaTest\AviSynth_Script_file_FS1_CQ_TEST.avs Wanted: 257852815 (251809kb) Predicted: 256680163 (250664kb) Using CQ Value: 66.82 Final CQ Value: 66.82 - Encoding D:\La Luna\RobaTest\AviSynth_Script_file_FS1.AVS StreamSectors: 300927788 AudioSectors: 38301844 VideoPAPO: 4068216 ScanOffsetBytes: 10919 SeqAligningBytes: 693990 DVDBytes: 0 VideoEndHeader: 4 SubtitleSectors: 0 EmptySectors: 238.00 PictureSectors: 0.00 PureMPEGStream: 257852814.82 Seconds: 1889.45 CalcMPEGStream: 257852814.82 Frames: 56417 CDSize: 290.00 Number of CDs: 1 Cut point 286.00 Using CQ Value: 64.14 Aspect Ratio: 4:3 (No borders, encoded as 4:3) ---AVS Begin--- LoadPlugin("C:\FILTER~1\MPEG2D~1.DLL") mpeg2source("D:\LALUNA~1\ROBATEST\DVD2AV~2.D2V") FieldDeinterlace() MaxTreshold=1.50 nf=0 undot() Limiter() asharp(2,4) GripCrop(480,480,overscan=1,source_anamorphic=fals e) GripSize(resizer="BicubicResize") STMedianFilter(8,32,0,0) MergeChroma(blur(1.50)) MergeLuma(blur(0.2)) ScriptClip("nf=YDifferenceToNext()"+chr(13)+"nf>2? unfilter(-(fmin(round((nf/0.5)),100)),-(fmin(round((nf/0.5)),100))):TemporalSoften(4,round(2/nf)*2,round(2/nf)*50,1,2)") GripBorders() Limiter() function fmin(float f1,float f2){return(f1<f2)?f1:f2} Trim(0,56416) ----AVS End---- Executing TMPGEnc. Commandline: "C:\Arquivos de programas\TMPGEnc\TMPGEnc.exe" "D:\La Luna\RobaTest\TMPGEnc_Project_file.tpr" /Encode /Close Video Encoding finished. -------------------------------------------------------- - 29/06/03 17:00:52 - Free on drive D: 7400.81 mb - Converting Pictures from ES to PS -------------------------------------------------------- Saving bbMPEG settings: C:\DVD2SVCD1\bbMPEG\default.ini -------------------------------------------------------- - 29/06/03 17:00:54 - Free on drive D: 7400.81 mb - Converting Pictures from ES to PS -------------------------------------------------------- Saving bbMPEG settings: C:\DVD2SVCD1\bbMPEG\default.ini -------------------------------------------------------- - 29/06/03 17:00:57 - Free on drive D: 7400.81 mb - Converting Pictures from ES to PS -------------------------------------------------------- Saving bbMPEG settings: C:\DVD2SVCD1\bbMPEG\default.ini -------------------------------------------------------- - 29/06/03 17:00:59 - Free on drive D: 7400.81 mb - Multiplexing and cutting -------------------------------------------------------- Saving bbMPEG settings: C:\DVD2SVCD1\bbMPEG\default.ini Offset in Seconds: 0 Executing bbMPEG. Variable Settings: Movie offset: 0 seconds Cut point: 286 mb Executing RunbbMPEG. Commandline: "C:\DVD2SVCD1\bbMPEG\RunbbMPEG.exe" "D:\La Luna\RobaTest\bbMPEG_Muxed_File_FS1.mpg" Multiplexing and cutting finished. CD-Image creation finished. -------------------------------------------------------- - 29/06/03 17:02:04 - Free on drive D: 7097.72 mb - SVCD Creation finished! -------------------------------------------------------- :!: |
Phil,
..like i wrote in pm for you: "sometimes,when i use the preview in d2s with the new script, the height change when i click in "new frame" under preview video. another click and got another height..the width change too but just a little." it happen in the old and in this new script too,just the same in preview. [AVISYNTH_New252] 0=FieldDeinterlace() 1=MaxTreshold=^max_threshold 2=nf=0 3=undot() 4=Limiter() 5=asharp(2,4) 6=GripCrop(^TargeitHeight,^TargetWidth,overscan=^o verscan,source_anamorphic=^source_ana) 7=GripSize(resizer="BicubicResize") 8=STMedianFilter(^stm1,^stm2,0,0) 9=MergeChroma(blur(^max_threshold)) 10=MergeLuma(blur(0.2)) 11=ScriptClip("nf=round(YDifferenceToNext()+1)"+ch r(13)+"nf>=2?unfilter(-(fmin(nf*2,100)),-(fmin(nf*2,100))):TemporalSoften(4,round(1/nf),round(3/nf),0,2)") 12=GripBorders() 13=Limiter() 14=function fmin(int f1,int f2){return(f1<f2)?f1:f2} ^max_threshold=1.50 ^TargeitHeight=480 ^overscan=1 ^source_ana=false ^stm1=8 ^stm2=32 ?unfilter= ?f1= "my" changes are cool or lame? :?: |
Quote:
You said that when you see preview into DVD2SVCD, the ratio is correct but the encoded MPEG as big borders ? Right ? It's the first time I see that ! As your other problem : I _nerver_ had this ! Perhaps that GripCrop that have a problem with your movie ! Did you test to encode the film with the standard "bicubic resize" or "Bilinear resize" proposed in the frameserver tab of D2S ? (I know, the image won't be nice and thj file will be huge, but it's just a test :-)) |
Quote:
1=MaxTreshold=^max_threshold -> remove this line, it's useless (and re-number all the other lines, of course) 6=GripCrop(^TargeitHeight,^TargetWidth,overscan=^o verscan,source_anamorphic=^source_ana) -> change to 6=GripCrop(^TargetHeight,^TargetWidth,overscan=^overscan,source_anamorphic =^source_ana) ^TargeitHeight=480 -> remove |
Quote:
i did another script changing the griptfit to bicubic for tests. when i change in the frameserver tab to the script with bicubic, i don't see any problem! i can tick the "new frame" thousands times and the preview stay perfect. changing back to the gripfit script, after some previews the height and width change with differents sizes for each click! 8O sometimes is perfect, but just another click and it change again. :roll: this is only using gripfit, with another resize it works ok! will gripfit give errors in final file? can i stay using gripfit or change? :? what do you think Phil :?: thank you :!: :) see the next post with the new script after your recomendations. :wink: |
:!: new script after changes:
[AVISYNTH_New252] 0=FieldDeinterlace() 1=nf=0 2=undot() 3=Limiter() 4=asharp(2,4) 5=GripCrop(^TargetHeight,^TargetWidth,overscan=^ov erscan,source_anamorphic=^source_ana) 6=GripSize(resizer="BicubicResize") 7=STMedianFilter(^stm1,^stm2,0,0) 8=MergeChroma(blur(^max_threshold)) 9=MergeLuma(blur(0.2)) 10=ScriptClip("nf=YDifferenceToNext()"+chr(13)+"nf >=2?unfilter(-(fmin(round(nf)*2,100)),-(fmin(round(nf)*2,100))):TemporalSoften(4,round(1/nf),round(3/nf),0,2)") 11=GripBorders() 12=Limiter() 13=function fmin(int f1,int f2){return(f1<f2)?f1:f2} ^overscan=1 ^source_ana=false ^stm1=8 ^stm2=32 ^max_threshold=1.50 ok :?: |
Quote:
PS: your script is ok. |
great Phil.
8) :D thank you very much...for all(atention,recomendations,changes...all) :sun: then i stay using the script posted :!: |
not sure if this thread is out dated now or what but its been helping me all night 8O but now i gotta go to work and have run in to a problem i cant work out im currently trying to incorporate Semi Auto Crop And Resize v1.06 (link to it in this thread somewhere) and motion adaptive filtering i seem to have worked out most kinks from the script but the one i cant get rid of is when i click preview it seems to hang on dvd2avi
Code:
[AVISYNTH_SemiAutoCropAndResize_With_MAF] |
success ! ;P
well after much hair tearing out i seem to have succedded at last lol
Code:
[AVISYNTH_SemiAutoCropAndResize_With_MAF]Code:
22=SwitchThreshold = (Width<=352) ? 4 : (Width<=480) ? 3 : 2 |
Does anyone know the link for Semi Auto Crop And Resize v1.06?
|
Quote:
:!: |
THX i will add this to my guide...
|
Site design, images and content © 2002-2026 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2026 Jelsoft Enterprises Ltd.