Tartz
13th August 2008, 21:24
Hi guys.
First of all, I’m totally new on this forum and an encoder newbie so excuse me for any mistakes.
I've done some research in x264 encoder and found out I needed to use MeGui or CLI.
Since I’m kind of a geek CLI had my preference.
I noticed the many steps it takes to start converting a video, so I created a batch.
This batch does the following things:
- Scan input file (location given in the commandline) and generates a stats file which contains all the video specifications, using Mplayer
- Calculate aspect ratio (using vars given in the commandline and stats file from Mplayer) and FPS
- Encode audio using Nero AcEnc
- Encode video using x264 and predefined parameters (2pass)
- Create Mp4box
- Output the video (location given in the command line)
This batch is very useful for people who want to automate their encoding.
Everything is in the .rar file except AviSynth.
This needs to be installed before the batch works.
The .bat file uses the following parameters:
b_encode.bat InputFilename+ext OutPutFilename SizeX SizeY
E.g.:
b_encode.bat input.avi my_output 800 600
All the input files need to be in the input folder.
Output goes to the output folder
I hope you guys find it useful too.
Download link:
http://rapidshare.com/files/137104844/Encoder.rar
I would also really appreciate some help in the x264 parameters.
I currently use the following code for all video's:
--bitrate 1200 --qcomp 7 --stats "temp/input.stats" --ref 6 --bframes 3 --b-pyramid --weightb --direct auto --filter 1:1 --analyse all --8x8dct --subme 6 --me umh --trellis 2 --progress --threads auto --no-psnr --no-ssim --thread-input --output "temp/video.264" "input.avs"
Which gives about 10 mb / minute files at high quality.
If anyone has some pointers in keeping this quality but with less MB's/minute it would be very appreciated.
First of all, I’m totally new on this forum and an encoder newbie so excuse me for any mistakes.
I've done some research in x264 encoder and found out I needed to use MeGui or CLI.
Since I’m kind of a geek CLI had my preference.
I noticed the many steps it takes to start converting a video, so I created a batch.
This batch does the following things:
- Scan input file (location given in the commandline) and generates a stats file which contains all the video specifications, using Mplayer
- Calculate aspect ratio (using vars given in the commandline and stats file from Mplayer) and FPS
- Encode audio using Nero AcEnc
- Encode video using x264 and predefined parameters (2pass)
- Create Mp4box
- Output the video (location given in the command line)
This batch is very useful for people who want to automate their encoding.
Everything is in the .rar file except AviSynth.
This needs to be installed before the batch works.
The .bat file uses the following parameters:
b_encode.bat InputFilename+ext OutPutFilename SizeX SizeY
E.g.:
b_encode.bat input.avi my_output 800 600
All the input files need to be in the input folder.
Output goes to the output folder
I hope you guys find it useful too.
Download link:
http://rapidshare.com/files/137104844/Encoder.rar
I would also really appreciate some help in the x264 parameters.
I currently use the following code for all video's:
--bitrate 1200 --qcomp 7 --stats "temp/input.stats" --ref 6 --bframes 3 --b-pyramid --weightb --direct auto --filter 1:1 --analyse all --8x8dct --subme 6 --me umh --trellis 2 --progress --threads auto --no-psnr --no-ssim --thread-input --output "temp/video.264" "input.avs"
Which gives about 10 mb / minute files at high quality.
If anyone has some pointers in keeping this quality but with less MB's/minute it would be very appreciated.