juGGaKNot
25th August 2008, 18:29
Hello
My footage comes from the game "Counter Strike 1.6", it is a 60 seconds clip at 1000 FPS uncompressed 768x432 ( 106.4 GB )
I work on it in vegas and render it at 40 FPS ( smart resample on to make 1000 FPS to 40 FPS by frame blending )
i get a 2.22 GB 40 FPS uncompressed AVI.
Now the problem :
If i render with no Video FX i can render at 2500 bitrate and get final ratefactor of 20.82
If i render at 7500 bitrate and get final ratefactor of 12.36
GOOD so far BUT if i use video FX i get this for the same 2.22 GB uncompressed file :
2500 final rate factor 31.13
and 7500 final rate factor 21.77 ( k but 55MB/S is huge, i want max 30 MB and all QP <25 )
So : what can i do ? less FX on the track is the only way ?
My settings : CLI
@echo off
set myaudio=audio
set mymovie=movie
set mypath=K:\@mkv
set myimputpath=K:\@mkv\Imput
set myoutputpath=K:\@mkv\Output
set myaudiobitrate=128
set myvideobitrate=2700
rmdir /S /Q %myimputpath%\temp
mkdir %myimputpath%\temp
if EXIST "%myoutputpath%\%mymovie%.mkv" del "%myoutputpath%\%mymovie%.mkv"
if EXIST "%myoutputpath%\%myaudio%.ogg" del "%myoutputpath%\%myaudio%.ogg"
cls
echo Are You Ready To Start ?
echo.
pause
echo.
cls
echo Encoding juGGaKNot's OGG Audio Track 1 And 2
echo.
"%mypath%\bin\ogg.exe" -b %myaudiobitrate% -o "%myoutputpath%\%myaudio%.ogg" "%myimputpath%\%myaudio%.wav"
echo.
echo Audio Done ! Video Next :
echo.
echo directShowSource("%myimputpath%\%mymovie%.avi") > "%myimputpath%\temp\%mymovie%.avs"
echo Crop(0,0,-0,-0) >> "%myimputpath%\temp\%mymovie%.avs"
echo spline64resize(1024,576) >> "%myimputpath%\temp\%mymovie%.avs"
echo ConvertToYV12() >> "%myimputpath%\temp\%mymovie%.avs"
echo Encoding juGGaKNot's x264 Pass 1/2
echo.
echo.
"%mypath%\bin\x264.exe" --pass 1 --bitrate %myvideobitrate% --stats "%myimputpath%\temp\%mymovie%.stats" --level 4.1 --ref 3 --mixed-refs --no-fast-pskip --bframes 3 --b-pyramid --b-rdo --bime --weightb --direct auto --filter -3,-3 --subme 6 --trellis 2 --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --me esa --merange 24 --threads auto --thread-input --sar 1:1 --cqmfile "%mypath%\bin\eqm_avc_hr.cfg" --progress --no-dct-decimate --no-psnr --no-ssim --output NUL "%myimputpath%\temp\%mymovie%.avs"
echo.
echo Encoding juGGaKNot's x264 Pass 2/2
echo.
"%mypath%\bin\x264.exe" --pass 2 --bitrate %myvideobitrate% --stats "%myimputpath%\temp\%mymovie%.stats" --level 4.1 --ref 3 --mixed-refs --no-fast-pskip --bframes 3 --b-pyramid --b-rdo --bime --weightb --direct auto --filter -3,-3 --subme 6 --trellis 2 --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --me esa --merange 24 --threads auto --thread-input --sar 1:1 --cqmfile "%mypath%\bin\eqm_avc_hr.cfg" --progress --no-dct-decimate --no-psnr --no-ssim --output "%myoutputpath%\%mymovie%.mkv" "%myimputpath%\temp\%mymovie%.avs"
I use x264 947 from x264.nl 962 KB
Is my configuration k ? i made it for DXVA but i can go to "maxed out quality" if i get less filesize
Second problem : MKVmuxtools
i got the mkvmerge.exe from MKVmuxtools to add to my bat, it works k for 25 FPS footage but i dont now how to set the bitrate, here is my mux line :
"mkvmerge.exe" -o %mypath%\%mymovie%.mkv "%mypath%\temp\%mymovie%.mkv" "%mypath%\temp\%mymovie%.m4a"
this line makes the "movie with sound" mkv but all at 25 FPS and i use 40 FPS
Thanks in advance.
My footage comes from the game "Counter Strike 1.6", it is a 60 seconds clip at 1000 FPS uncompressed 768x432 ( 106.4 GB )
I work on it in vegas and render it at 40 FPS ( smart resample on to make 1000 FPS to 40 FPS by frame blending )
i get a 2.22 GB 40 FPS uncompressed AVI.
Now the problem :
If i render with no Video FX i can render at 2500 bitrate and get final ratefactor of 20.82
If i render at 7500 bitrate and get final ratefactor of 12.36
GOOD so far BUT if i use video FX i get this for the same 2.22 GB uncompressed file :
2500 final rate factor 31.13
and 7500 final rate factor 21.77 ( k but 55MB/S is huge, i want max 30 MB and all QP <25 )
So : what can i do ? less FX on the track is the only way ?
My settings : CLI
@echo off
set myaudio=audio
set mymovie=movie
set mypath=K:\@mkv
set myimputpath=K:\@mkv\Imput
set myoutputpath=K:\@mkv\Output
set myaudiobitrate=128
set myvideobitrate=2700
rmdir /S /Q %myimputpath%\temp
mkdir %myimputpath%\temp
if EXIST "%myoutputpath%\%mymovie%.mkv" del "%myoutputpath%\%mymovie%.mkv"
if EXIST "%myoutputpath%\%myaudio%.ogg" del "%myoutputpath%\%myaudio%.ogg"
cls
echo Are You Ready To Start ?
echo.
pause
echo.
cls
echo Encoding juGGaKNot's OGG Audio Track 1 And 2
echo.
"%mypath%\bin\ogg.exe" -b %myaudiobitrate% -o "%myoutputpath%\%myaudio%.ogg" "%myimputpath%\%myaudio%.wav"
echo.
echo Audio Done ! Video Next :
echo.
echo directShowSource("%myimputpath%\%mymovie%.avi") > "%myimputpath%\temp\%mymovie%.avs"
echo Crop(0,0,-0,-0) >> "%myimputpath%\temp\%mymovie%.avs"
echo spline64resize(1024,576) >> "%myimputpath%\temp\%mymovie%.avs"
echo ConvertToYV12() >> "%myimputpath%\temp\%mymovie%.avs"
echo Encoding juGGaKNot's x264 Pass 1/2
echo.
echo.
"%mypath%\bin\x264.exe" --pass 1 --bitrate %myvideobitrate% --stats "%myimputpath%\temp\%mymovie%.stats" --level 4.1 --ref 3 --mixed-refs --no-fast-pskip --bframes 3 --b-pyramid --b-rdo --bime --weightb --direct auto --filter -3,-3 --subme 6 --trellis 2 --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --me esa --merange 24 --threads auto --thread-input --sar 1:1 --cqmfile "%mypath%\bin\eqm_avc_hr.cfg" --progress --no-dct-decimate --no-psnr --no-ssim --output NUL "%myimputpath%\temp\%mymovie%.avs"
echo.
echo Encoding juGGaKNot's x264 Pass 2/2
echo.
"%mypath%\bin\x264.exe" --pass 2 --bitrate %myvideobitrate% --stats "%myimputpath%\temp\%mymovie%.stats" --level 4.1 --ref 3 --mixed-refs --no-fast-pskip --bframes 3 --b-pyramid --b-rdo --bime --weightb --direct auto --filter -3,-3 --subme 6 --trellis 2 --partitions p8x8,b8x8,i4x4,i8x8 --8x8dct --me esa --merange 24 --threads auto --thread-input --sar 1:1 --cqmfile "%mypath%\bin\eqm_avc_hr.cfg" --progress --no-dct-decimate --no-psnr --no-ssim --output "%myoutputpath%\%mymovie%.mkv" "%myimputpath%\temp\%mymovie%.avs"
I use x264 947 from x264.nl 962 KB
Is my configuration k ? i made it for DXVA but i can go to "maxed out quality" if i get less filesize
Second problem : MKVmuxtools
i got the mkvmerge.exe from MKVmuxtools to add to my bat, it works k for 25 FPS footage but i dont now how to set the bitrate, here is my mux line :
"mkvmerge.exe" -o %mypath%\%mymovie%.mkv "%mypath%\temp\%mymovie%.mkv" "%mypath%\temp\%mymovie%.m4a"
this line makes the "movie with sound" mkv but all at 25 FPS and i use 40 FPS
Thanks in advance.