-
11th April 2008, 21:48
#1
Citizen
x264 rendring, hva slags dokument?
Hei. De som har rendret i videocodecen x264 før vet hva jeg snakker om :]
Jeg har tidligere brukt det til å rendre i kvaliteten 1280x720, men nå skal jeg rendre en film i 1280x1024! Hva slags endringer må jeg gjøre i "makemp4.bat" da?
Det jeg har nå ser sånn ut:
@echo off
:-------------------
: See http://wiki.meaz.org/index.php?title=Codecs:x264 for latest info
:-------------------
:START
:-------------------
: Start Configuration
:-------------------
: You need to export your movie as an avi with a filename.
: You need to export your movie sound as a wav with the same filename.
: Set the filename you will use on here.
set mymovie=ja
:-------------------
:set the path to your files here (no \ at the end)
:-------------------
set mypath=C:\x264
:-------------------
:set the audio bitrate to use here
:-------------------
set myabitrate=192
:-------------------
:set the video bitrate to use here
:-------------------
set myvbitrate=5000
:-------------------
:set the video frame rate you used here
:-------------------
set myfps=30
:-------------------
:End Configuration
:-------------------
mkdir %mypath%\temp
cls
echo AVISource("%mypath%\%mymovie%.avi") > "%mypath%\%mymovie%.avs"
echo Crop(0,0,-0,-0) >> "%mypath%\%mymovie%.avs"
echo ConvertToYV12() >> "%mypath%\%mymovie%.avs"
echo ======Encoding AAC audio======
"bin\faac.exe" -b %myabitrate% -o "%mypath%\temp\%mymovie%.m4a" "%mypath%\%mymovie%.wav"
echo ==============================
echo.
echo ======= x264 pass 1/3 ========
"bin\x264.exe" -p 1 --bitrate %myvbitrate% --ref 3 --bframes 3 --subme 6 --weightb --analyse all --8x8dct --qpmin 4 --qpstep 6 --merange 24 --me umh --progress --no-psnr --stats "temp\x264.stats" --output NUL "%mymovie%.avs"
echo ==============================
echo.
echo ======= x264 pass 2/3 ========
"bin\x264.exe" -p 3 --bitrate %myvbitrate% --ref 3 --bframes 3 --subme 6 --weightb --analyse all --8x8dct --qpmin 4 --qpstep 6 --merange 24 --me umh --progress --no-psnr --stats "temp\x264.stats" --output NUL "%mymovie%.avs"
echo ==============================
echo.
echo ======= x264 pass 3/3 ========
"bin\x264.exe" -p 2 --bitrate %myvbitrate% --ref 3 --bframes 3 --subme 6 --weightb --analyse all --8x8dct --qpmin 4 --qpstep 6 --merange 24 --me umh --progress --no-psnr --stats "temp\x264.stats" --output "temp\%mymovie%.264" "%mymovie%.avs"
echo ==============================
echo.
echo === Muxing Audio and Video ===
"bin\mp4box" -new -add "%mypath%\temp\%mymovie%.264#video" -add "%mypath%\temp\%mymovie%.m4a#audio" -fps %myfps% "%mypath%\%mymovie%.mp4"
echo ==============================
echo.
if EXIST "%mypath%\%mymovie%.mp4" rmdir /S /Q temp
del "%mypath%\%mymovie%.avs"
:END
echo If you have any errors, you haven't edited makemp4.bat correctly!!!
echo Otherwise the video is now done and can be found with the filename:
echo %mymovie%.mp4
echo.
pause
Hva må jeg endre på?
Takker for evt. svar
Regler for innlegg
- Du kan ikke starte nye tråder
- Du kan ikke svare på innlegg / tråder
- Du kan ikke laste opp vedlegg
- Du kan ikke redigere meldingene dine
-
Forumregler
Bokmerker