h264enc Скрипт shell script который кодирует DVDs в формат H.264 используя MEncoder.
0.080 MB|License: GPL
h264enc is a shell script which encodes video files or DVDs to the H.264 format using MEncoder. The script is targeted primarily at power users who like to tweak their settings in order to achieve best possible quality
The script supports virtually all options of the libx264 library and has further support for 1-pass, 2-pass, 3-pass and fixed-quant encoding modes, 11 different software scalers, DVD cropping, interlaced encoding, deinterlacing of video content, setting output frame rate value, various audio codecs (MP2, MP3, AC3, AAC, PCM, ADPCM), file splitting, and more....
There's a man page which provides further info on the h264enc script. To access it after installation, open a console and type "man h264enc" without the quotes.
Note: instead of typing 'n' every time you don't want to use a specific option, you can just hit enter. I also suggest to read the x264 part of the MPlayer man page so you
can get more familiar with what a specific option does as most of the x264 options supported by this script may have a huge impact on quality/encoding speed.
To obtain best performance, I suggest to download MPlayer and the libx264 library and compile them yourself. You should use the appropriate CFLAGS at compilation time to optimize the code for your hardware architecture (example: CFLAGS="-O3 march=athlon-xp mtune=athlon-xp -finline-functions -freorder-blocks -fexpensive-optimizations")
For more info on the MPEG compression, read the 'README.encoding' file
Here are some key features of "h264enc":
· Support for 1-pass, 2-pass, 3-pass and fixed-quant encoding
· Support for DVD and video files
· Support for deinterlacing DVDs/video files with a user selectable deinterlacing filter
· Support for interlaced encoding
· Support for cropping DVDs (removing the black borders)
· Support for inclusion of a DVD subtitle
· Support for deblocking/deringing of video files with a user tunable deblocking filter
· Support for denoising DVDs with a high-quality user tunable denoise filter
· Support for 11 different software scalers
· Support for different audio codecs [MP2, MP3, AC3, AAC, PCM, ADPCM or COPY]
· Support for resampling the audio [MP2, MP3, AC3, AAC, ADPCM and PCM only]
· Support for using more than 2 audio channels [AC3 only]
· Support for normalizing the audio volume [MP2, AC3, AAC, ADPCM and PCM only]
· Support for splitting the final file using 'avisplit' from 'transcode'
Options
-1p Encode the DVD/video file in one pass mode
-2p Encode the DVD/video file in two pass mode
-3p Enocde the DVD/video file in three pass mode
-fq Encode the DVD/video file in fixed quant mode
-v Display version of this script and exit
--help Display this help and exit
Requirements:
· MPlayer >= 1.0rc1
· libx264
· LAME (if you choose to encode the audio source to MP3)
Installation
Just run the 'install' script as root, or copy the h264enc script to a valid path (eg /home/your_username/bin)
Note: this only applies if you have downloaded the compressed 'h264enc.tar.gz' package, not the RPM one.
What's New in This Release:
· Small menu enhancements to the FPS settings
· Fixed wrong explanation for the temporal denoiser
· Removed support for the Sonic and SonicLS audio codecs since they are experimental and far from complete for daily use
· Updated the man page