Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > General > Linux, Mac OS X, & Co

Reply
 
Thread Tools Search this Thread Display Modes
Old 9th February 2008, 10:03   #1  |  Link
froggy1
ffx264/ffhevc author
 
froggy1's Avatar
 
Join Date: May 2007
Location: Belgium
Posts: 1,369
h264enc for Linux

h264enc is a rather advanced shell script which can help you to encode video files or DVDs to the H.264 video format. It has built-in quality presets (34 so far), supports a lot of video (pre/postprocessing) filters and a few audio filters as well. Further it supports 9 different audio codecs and has a (limited) batch encoding capability. Muxing is also supported for the MKV, MP4 and OGM containers. h264enc by default outputs to AVI and then remuxes it to the chosen container. h264enc heavely relies on MEncoder and MPlayer as it uses both to do the whole setup/encoding

at http://h264enc.sourceforge.net is a FAQ about h264enc, so if anyone is interested, just go put up some coffee and read it through

h264enc is also available from my openSUSE build service repo

http://download.opensuse.org/reposit...me:/microchip8

Last edited by froggy1; 26th April 2009 at 22:44.
froggy1 is offline   Reply With Quote
Old 9th February 2008, 16:35   #2  |  Link
Henrikx
Registered User
 
Henrikx's Avatar
 
Join Date: Aug 2005
Location: Germany
Posts: 306
Cool.
THX.
Simple translation and presentation.
http://www.movie2digital.de/thread.p...e7d#post467704
Henrikx is offline   Reply With Quote
Old 9th February 2008, 16:38   #3  |  Link
froggy1
ffx264/ffhevc author
 
froggy1's Avatar
 
Join Date: May 2007
Location: Belgium
Posts: 1,369
thanks for the German translation
froggy1 is offline   Reply With Quote
Old 9th February 2008, 17:51   #4  |  Link
Henrikx
Registered User
 
Henrikx's Avatar
 
Join Date: Aug 2005
Location: Germany
Posts: 306
Presentation by Ubuntuusers.de too...
http://forum.ubuntuusers.de/topic/15...220571#1220571
Henrikx is offline   Reply With Quote
Old 9th February 2008, 20:38   #5  |  Link
Adub
Fighting spam with a fish
 
Adub's Avatar
 
Join Date: Sep 2005
Posts: 2,685
The only problem is, if you make one mistake, you have to start all over again.
__________________
FAQs:Bond's AVC/H.264 FAQ
Site:Adubvideo
Adub is offline   Reply With Quote
Old 9th February 2008, 20:45   #6  |  Link
froggy1
ffx264/ffhevc author
 
froggy1's Avatar
 
Join Date: May 2007
Location: Belgium
Posts: 1,369
Quote:
Originally Posted by Merlin7777 View Post
The only problem is, if you make one mistake, you have to start all over again.
then don't make a mistake and keep awake :P ... seriously, i've never made a mistake with it, especially when using the presets
froggy1 is offline   Reply With Quote
Old 10th February 2008, 05:43   #7  |  Link
Adub
Fighting spam with a fish
 
Adub's Avatar
 
Join Date: Sep 2005
Posts: 2,685
No, I mean when entering the values. If you are not experienced with the script, and you enter a wrong value, you end up having to start all over again.
__________________
FAQs:Bond's AVC/H.264 FAQ
Site:Adubvideo
Adub is offline   Reply With Quote
Old 10th February 2008, 06:15   #8  |  Link
froggy1
ffx264/ffhevc author
 
froggy1's Avatar
 
Join Date: May 2007
Location: Belgium
Posts: 1,369
yes this is true, but after some time one gets used to it. I think this is the same with all scripts that operate like h264enc, especially those that offer a variety of options
froggy1 is offline   Reply With Quote
Old 16th February 2008, 10:54   #9  |  Link
froggy1
ffx264/ffhevc author
 
froggy1's Avatar
 
Join Date: May 2007
Location: Belgium
Posts: 1,369
ChangeLog for version 8.1.8

Code:
- Export testing condition to the batch file for the output of MEncoder 
and for the output directory as well 
- Changed FPS naming for Silent Speed to Silent Film 
- Added support for automatic brightness/contrast control 
- Bugfix: Only ask for deletion of the AVI file if the user has chosen 
to remux it to one of the supported containers 
- Removed duplicate $quiet variable in the video_deinterlace_func() 
function when deinterlacing with a frame doubler 
- Modified the -iso option to use 'pv' for DVD ISO dumping instead of 
'dd'. 'pv' provides us with a nice progress bar which is useful as 
it takes a long time to dump a DVD, so the user can follow the 
progress. 'dd' provides no such thing. 
- Updated the -iso option to support dual-layer DVD discs (~8.54 GB) 
- Added support for setting the subtitle alignment 
- Added support for setting the subtitle Gaussian variance strength 
when hardcoding subtitles into the movie 
- Use $IDXFILE variable for the MP4SUB and MKVSUB variables 
- Tweaks to the HD presets. Increased VBV buffer size to 14475 and 
set keyint to 14 and keyint_min to 2 for the SD/HD presets. Also 
increased b-frames usage from 3 to 6 
- Various small code improvements 
- Updated the man page
froggy1 is offline   Reply With Quote
Old 18th February 2008, 14:39   #10  |  Link
froggy1
ffx264/ffhevc author
 
froggy1's Avatar
 
Join Date: May 2007
Location: Belgium
Posts: 1,369
ChangeLog for version 8.1.9

Code:
- Updated the DVD chapters code to support the latest SVN version
  of MPlayer/MEncoder
- Small improvements to the cropping code
- Fall back to 'dd' for ISO dumps if 'pv' is not available on
  the user's system
- Set default noise pattern to be Luma + temporal instead of Luma & Chroma + temporal
- Added support for the lossless format of the Sonic audio codec
- Added the X-Men 3 matrix, Q matrix, Q2 matrix, Soulhunter V1
  matrix, Soulhunter V2 matrix, MP4Guy's low bitrate matrix, Audionut
  high bitrate matrix and Audionut general matrix to the package.
  Thanks to Audionut, MP4Guy and Soulhunter
- Bugfix: the ivtc/telecine process should check for the $deintfilter
  variable instead of the $deintfps one. ivtc/telecine is mutually
  exclusive with deinterlacing
- Improvements to the MP4 muxing part when exporting the options to
  the batch file. From now on, the FPS needed for MP4Box is directly
  taken from the AVI file. This approach is much more reliable and the
  user no longer needs to edit the FPS value for MP4Box when exporting
  the options of NTSC content to the batch file.
- Added one Anime high-quality preset (anihq)
- Updated the presets_keyint_func() function
- Added support for the Tfields deinterlacer @ original frame speed
  and Tfields + fast/medium/slow/slowest Mcdeint @ original frame speed
- Replaced a few 'if' conditionals with 'case' conditionals
- Updated the README.matrices file
- Typo fixes
- Updated the man page
froggy1 is offline   Reply With Quote
Old 18th February 2008, 14:59   #11  |  Link
Henrikx
Registered User
 
Henrikx's Avatar
 
Join Date: Aug 2005
Location: Germany
Posts: 306
Good news!
Henrikx is offline   Reply With Quote
Old 20th February 2008, 10:16   #12  |  Link
froggy1
ffx264/ffhevc author
 
froggy1's Avatar
 
Join Date: May 2007
Location: Belgium
Posts: 1,369
Mainly a bugfix/code clean up release. ChangeLog for 8.2.0
Code:
- Fixed a bug in the deint_custom_fps_func() function. Variable
  deintfsp for NTSC @ 59.94 fps should be deintfps
- Fixed a bug in option 8 of the $dfilter variable which was
  using a invalid underscore. Should be -field-dominance 1
  instead of -field_dominance 1
- Clean ups of old commented out code
- Reordered the deinterlacing menu. Separated the normal
  deinterlacers from the frame doubling ones
- Small improvements to the audio_channels_func() function
- Renamed variable $ss to $softscale
- Added two iPod Classic presets for iPods that support
  only H.264 @ Level 1.3 (icvp and ichqvp)
- Updated the README.h264enc file
- Updated the man page
froggy1 is offline   Reply With Quote
Old 24th February 2008, 11:45   #13  |  Link
froggy1
ffx264/ffhevc author
 
froggy1's Avatar
 
Join Date: May 2007
Location: Belgium
Posts: 1,369
ChangeLog for version 8.2.1

Code:
- Removed the 'user defined' option from the deint_custom_fps_func()
  function as it can confuse users who don't really know what to
  enter there
- Added support for different audio resampling modes
- Added support for the 'lavcresample' audio resample filter
- Made the audio_resample_func() function to be menu driven
- Converted the MKV/MP4/OGM code to base its decision on
  variable $audiocodec instead of variable $audcodec. Makes
  the code less complicated
- Updated the 'preset.cfg' file. Custom presets now support
  the following additional options: ratetol, vbv_maxrate, vbv_bufsize,
  vbv_init and cqm and me_prepass
- Preparations for the motion estimation prepass patch
- Added support for automatic detection of the video aspect
- Don't continue if MEncoder exits with a non-zero status
- Added two Black & White/Gray presets for BW movies (bw and bwhq)
- Small improvements to the custom_matrix_func() function
- Small improvements to the DVD titles scanning code
- Small improvements to the check_diskspace_func() function. Patch
  by Gunter Ohrner
- Updated the -sc option
- Variable renamings and clean ups
- Updated the man page
froggy1 is offline   Reply With Quote
Old 27th February 2008, 10:44   #14  |  Link
froggy1
ffx264/ffhevc author
 
froggy1's Avatar
 
Join Date: May 2007
Location: Belgium
Posts: 1,369
ChangeLog for version 8.2.2
Code:
- Added support for calculating the video bitrate when encoding with
  the NOSOUND audio option
- Added support for calculating the video bitrate when using the
  PCM audio codec
- Converted the code for the bicubic software scaler parameters to
  be menu driven
- Added one 'Insane High Quality' preset (ihq) which uses the
  Hadamard-based motion estimation algorithm
- Enabled AAC audio support for the Matroska container. Please
  upgrade your mkvtoolnix to the latest SVN version!
- Notify the user that the frame rate will change when using the
  inverse telecine/telecine filters
- Clean ups in the MP4 muxing code
- Improvements to the batch exporting code
- Updated the man page
froggy1 is offline   Reply With Quote
Old 27th February 2008, 11:37   #15  |  Link
Henrikx
Registered User
 
Henrikx's Avatar
 
Join Date: Aug 2005
Location: Germany
Posts: 306

redirected automatically
Henrikx is offline   Reply With Quote
Old 29th February 2008, 10:47   #16  |  Link
froggy1
ffx264/ffhevc author
 
froggy1's Avatar
 
Join Date: May 2007
Location: Belgium
Posts: 1,369
ChangeLog for version 8.2.3
Code:
- Added support for doing 60p -> 30p, 60p -> 24p and 50p -> 25p
  FPS conversion. Useful for HD content that runs at 59.94 or 50 fps.
  This option is mutually exclusive with interlacing and frame doubling
  deinterlacing filters
- Added two Nokia S60 presets (nkvp and nkhqvp). Thanks to Matteo
  Croce (mp4tools) for the device info
- Colorized automatic actions/info/menus
- Fixed a small bug in the manual codec configuration where calculating
  of the keyint_min value fails
- Updated the man page
froggy1 is offline   Reply With Quote
Old 1st March 2008, 10:41   #17  |  Link
froggy1
ffx264/ffhevc author
 
froggy1's Avatar
 
Join Date: May 2007
Location: Belgium
Posts: 1,369
ChangeLog for version 8.2.4
Code:
- Bugfix: forgot to add tinterlace before the detc filter for
  60p -> 24p FPS conversion
- Removed the '-p help' option as it is not very useful. --help
  displays everything one needs to know
- Added more 60p -> 24p FPS conversion filters and set default
  filter to framestep=2,filmdint=fast=0 which gives the best
  results
- Disabled colorspace conversion when interlacing, telecining or
  when doing FPS conversion as some of the filters (most?) don't
  like it. Also disabled colorspace conversion for the Nokia S60
  presets
- Made the script to use unique temporary directories to store
  the config/parsing files. That way, one can run multiple
  instances of h264enc at the same time without interference
- Modified the batch exporting code to work with unique
  directories
- Updated the man page
froggy1 is offline   Reply With Quote
Old 1st March 2008, 10:51   #18  |  Link
buzzqw
HDConvertToX author
 
Join Date: Nov 2003
Location: Cesena,Italy
Posts: 6,552
i will greedly study these scripts (just to start making some other guis )when i will move to linux!

and i hope to move soon!

thanks froggy1

BHH
__________________
HDConvertToX: your tool for BD backup
MultiX264: The quick gui for x264
AutoMen: The Mencoder GUI
AutoWebM: supporting WebM/VP8
buzzqw is offline   Reply With Quote
Old 1st March 2008, 10:56   #19  |  Link
froggy1
ffx264/ffhevc author
 
froggy1's Avatar
 
Join Date: May 2007
Location: Belgium
Posts: 1,369
Quote:
Originally Posted by buzzqw View Post
i will greedly study these scripts (just to start making some other guis )when i will move to linux!

and i hope to move soon!

thanks froggy1

BHH
you don't have to completely move to Linux, just dual-boot with Windows or run Linux inside a virtual machine in Windows... but it's true, if you want to get the full potential of Linux, then run it on its own
froggy1 is offline   Reply With Quote
Old 1st March 2008, 13:40   #20  |  Link
Henrikx
Registered User
 
Henrikx's Avatar
 
Join Date: Aug 2005
Location: Germany
Posts: 306
Quote:
Originally Posted by buzzqw View Post
i will greedly study these scripts (just to start making some other guis )when i will move to linux!

and i hope to move soon!
Good news!! Very good news.
Henrikx is offline   Reply With Quote
Reply

Tags
h264enc, ipod, mencoder, ps3, xbox360

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:49.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2017, vBulletin Solutions Inc.