Log in

View Full Version : AviSynth 2.5 help


12thman115
30th November 2013, 02:02
Hello Everyone,

long story short I am trying to compress files sizes from 3.5-4.5 gigs down to 1 gig or less. I know it is possible to do so as I have watched these files and there is no loss of quality. So my question is can this be done using AviSynth 2.5 filters or a combination of both? below are my settings that I use so far. My quality is ok and my file size is about 1.3 gigs. Not looking for someone to tell me how to do it but point me in the right direction?


AviSynth script -

# Set DAR in encoder to 16 : 9. The following line is for automatic signalling
global MeGUI_darx = 16
global MeGUI_dary = 9
LoadPlugin("C:\Program Files (x86)\AviSynth 2.5\plugins\deblock.dll")
#deinterlace
#crop
#resize
LoadPlugin("C:\Program Files (x86)\megui\tools\avisynth_plugin\UnDot.dll")
Undot() # Minimal Noise
#deblock(quant=25,aOffset-boffset=25)
#DirectShowSource(Titel,fps=FpsZ)EnsureVBRMP3Sync()


Megui x264 settings -

program --preset veryslow --pass 2 --bitrate 4000 --stats ".stats" --deblock -1:-1 --qpmin 10 --qpmax 51 --psy-rd 1.0:0.06 --output "output" "input"

Keiyakusha
30th November 2013, 05:54
Avisynth has no direct impact on filesize. Resulting filesize is only defined by the x264 settings.
The only relation to avisynth here, is that if your source have some issues and you fix these issues with the help of avisynth - you may end up with a possibility to make lower size output files with just as good quality.
Of course in CRF mode, if you change the source (with the help of avisynth or whatever else) - resulting filesize may go up or down a bit. But this is not the way you control filesize, this is the way you fine-tune it at best. x264 settings is the way to go.

12thman115
14th December 2013, 18:07
Avisynth has no direct impact on filesize. Resulting filesize is only defined by the x264 settings.
The only relation to avisynth here, is that if your source have some issues and you fix these issues with the help of avisynth - you may end up with a possibility to make lower size output files with just as good quality.
Of course in CRF mode, if you change the source (with the help of avisynth or whatever else) - resulting filesize may go up or down a bit. But this is not the way you control filesize, this is the way you fine-tune it at best. x264 settings is the way to go.

Thank you for your help in this issue. I was able to get an encode to the file size and quality that I wanted. Sorry it took so long to reply!