h264enc is a shell script which encodes video files or DVDs to the H.264 format using MEncoder.
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
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
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.
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'
Requirements:
· MPlayer
· LAME
· libx264
What's New in This Release:
· Fallback to undefined audio language in the AUDLANG[$i] variables if we detect unknown language from MPlayer's output
· Added support for bitrate-based ABR Vorbis encoding in addition to quality-based VBR. ABR mode in Vorbis resembles quality-based VBR except the encoder averages a given nominal bitrate
· Updated the Vorbis part of the video bitrate calculation code
· Added new function ratio_and_pixels_func() which calculates and displays the Storage Aspect Ratio (SAR), Pixel Aspect Ratio (PAR) and total pixels from resolution
· Bugfix for track 1 in the internal audio encoding code. If using aacplusenc to encode audio, the case statement had a wrong selection value (aac++ instead of aac+) resulting in displaying a failed message and forcing an exit even though the encoding may have succeeded
· Simplifications to the internal audio encoding code which reduce code duplication
· Small fixes to the video bitrate calculation code
· Small tuning to the Blu-ray/AVCHD presets
· Small cleanups
link : http://linux.softpedia.com/progDownl...oad-22549.html
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
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
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.
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'
Requirements:
· MPlayer
· LAME
· libx264
What's New in This Release:
· Fallback to undefined audio language in the AUDLANG[$i] variables if we detect unknown language from MPlayer's output
· Added support for bitrate-based ABR Vorbis encoding in addition to quality-based VBR. ABR mode in Vorbis resembles quality-based VBR except the encoder averages a given nominal bitrate
· Updated the Vorbis part of the video bitrate calculation code
· Added new function ratio_and_pixels_func() which calculates and displays the Storage Aspect Ratio (SAR), Pixel Aspect Ratio (PAR) and total pixels from resolution
· Bugfix for track 1 in the internal audio encoding code. If using aacplusenc to encode audio, the case statement had a wrong selection value (aac++ instead of aac+) resulting in displaying a failed message and forcing an exit even though the encoding may have succeeded
· Simplifications to the internal audio encoding code which reduce code duplication
· Small fixes to the video bitrate calculation code
· Small tuning to the Blu-ray/AVCHD presets
· Small cleanups
link : http://linux.softpedia.com/progDownl...oad-22549.html