View Full Version : Profile and encoding help!
nicco
4th September 2007, 12:35
Well....
I have a 1h 40min DV movie frameserved from premiere, i want to encode it with xvid via Megui. I want this movie to fit in a 700Mb CD-Rom
I use this Avs script:
LoadCplugin("C:\Programmi\AviSynth 2.5\plugins\yadif\Yadif.dll")
DirectShowSource("...\DVframeserved",fps=25,audio=false)
ConvertToYV12()
yadif(mode=0,order=0)
convolution3d(preset="movieLQ")
LanczosResize(640,512)
In Enc compressibility Test (i followed Xvid preset thread to perform the test) i have 20% as percentage result
My neewbie questions :p:
- Do i have to choose XviD '>30% comp. check'?
- What about bitrate? Default for this profile (like all others) is 700 (kbits/sec), do i have to change?
Ty for your help
TheRyuu
4th September 2007, 20:06
Choose the right profile you want to use (I don't like any of the preset ones, so I made my own based off of the buzzqw's extra slow one in automkv).
Than use the bitrate calc to calculate the needed bitrate, hit "apply" it it puts it in for you. Simple right?
nicco
4th September 2007, 21:23
here what i've done:
- load the above avs script in enc, and perform a compressibility test with 700000 Kbytes/sec as video file target- result was aprx 20%
- load the script in Megui and choose XviD '>30% comp. check profile
- use the bitrate calcuator which give me a 800 Kbit/sec for fitting my 1h 40min movie into 1-CD
http://img248.imageshack.us/img248/3319/untitled1ge1.jpg (http://imageshack.us)
Quite simple yeah!
Unfortunately final filesize is 1.1 Gb!....
What's wrong?
henryho_hk
5th September 2007, 04:36
">30% preset" is too big for your footage (20% result). Try a lower resolution like 640x480 and apply another denoiser after resizing. Actually, Enc's comp. test assume no b-frames in normal mode and max 1 consecutive b-frame in advanced mode, while the xvid presets use max 2 consecutive b-frames. It may affect your comp. test results too.
TheRyuu
5th September 2007, 08:15
What's wrong?
Use bframes.
And settings like this (this is based off of buzzqw's xvid extra slow, and I think combines a good quality of compression and quality, it's also slow)
-i -pass2 ".stats" -bitrate 950 -chigh 30 -clow 15 -overhead 0 -nopacked -vhqmode 4 -qpel -closed_gop -lumimasking -imax 16 -pmax 16 -max_bframes 3 -bvhq -bmax 16 -threads 2 -mkv
Of course, you would change the bitrate using the bitrate calc.
nicco
5th September 2007, 08:59
@henryho_hk
Try a lower resolution like 640x480 and
- resolution is 640x512 because source is 720x582 and i want to keep aspect ratio
apply another denoiser after resizing
- for example?
@wizboy11
Use bframes
- the profile i used has bframes, btw i'll try with your one
Ty
henryho_hk
5th September 2007, 16:05
PAL and NTSC DV are 720x 576 and 480 respectively. Why do you have a height of 582?
For denoisers, :search:
nicco
5th September 2007, 17:06
PAL and NTSC DV are 720x 576 and 480 respectively. Why do you have a height of 582?
my mistake resolution is OBVIOUSLY 720x576..
For denoisers, use search
i know denoiser filters (temporalsmooth, undot, deen, etc), i'm using convolution3d wich is afaik one of the best, i thought you would give me a suggestion, np
henryho_hk
6th September 2007, 08:22
It's not obvious. Both are 2-digit deviations. ^_^ If you wish to stay in 640x512, remember to specify PAL 4:3 as the PAR (pixel aspect ratio) during encoding so that the player would choose the right aspect ratio during playback (if supported). Otherwise, you can resize do spline36resize(640, 480, 8, 0, 702, 576) and leave the PAR at the 1:1 default.
I am really not that familiar with denoising (either removegrain for clean sources or fft3dfilter for dirty sources). I think you can find well explained answers in other posts.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.