View Full Version : h264enc for Linux
Pages :
1
2
3
4
5
6
7
8
9
10
11
12
[
13]
14
15
Goga777
28th March 2012, 19:07
for me more logical will be "-h" and "--help", not "-help". Of course it is up to you
microchip8
28th March 2012, 19:53
for me more logical will be "-h" and "--help", not "-help". Of course it is up to you
if it really bothers you, you can always modify the script and add --help to the case statement :P
mdoyounos
6th April 2012, 07:07
Have a lot of trouble in Linux
Goga777
7th April 2012, 11:06
everything is fine under linux & h264enc
microchip8
7th April 2012, 16:01
ChangeLog for version 9.4.5
* Don't require FAAC to be compiled with MP4 container support (the -w option).
Some distro's do not compile FAAC with MP4 support so play it safe and assume FAAC isn't compiled with MP4 support
microchip8
16th April 2012, 21:47
ChangeLog for version 9.4.6
* Bugfix: FAAC encoding was using wrong language TID in mkvmerge. Should be 0 instead of 1 as we no longer encapsulate AAC in MP4
* Removed --no-chapters mkvmerge option for FAAC encoding. It's no longer needed as we no longer store the AAC audio in MP4 container
lib3rty1
7th May 2012, 22:03
Hi,
I got latest version of h264enc but I got error like
Starting to encode in: 5 4 3 2 1
MEncoder SVN-r1.0~rc3+svn20090426-4.4.3 (C) 2000-2009 MPlayer Team
-nosub is not an MEncoder option
Exiting... (error parsing command line)
-> MEncoder has exited with a non-zero value!
-> Exiting in function: mencoder_exit()
I use
h264enc -2p -p flhq
any idea how to fix it ?
microchip8
7th May 2012, 22:07
Please upgrade your MPlayer. It's 3 years old for God's sake!
lib3rty1
7th May 2012, 23:24
ok, now it does work perfect ;-)
I have question.
When I use -2p -p flhq I got about 3 fps and when I use other options a got a lot more fps and better speed of conversion.
Do you know why it might be like that ?
microchip8
8th May 2012, 10:01
I don't really know. You need to provide more info like what CPU you have and which are those other options you're running
lib3rty1
8th May 2012, 16:04
OK so other option is
h264enc -2p -hq
I am using VPS on OpenVZ 40 GB SSD 8 GB MEM and 4x2 GHz CPU
I have question about subs.
If I am adding subtitles to include in a time to use coding. In what kind of way I add coding ?
I mean like: UTF8 or utf8
microchip8
11th May 2012, 22:21
I don't know why you get low speeds, but make sure all your CPUs are maxed out by the encoding. This should be done automatically as h264enc uses threads=0 which tells libx264 to use all CPUs you throw at it
I don't understand your second question, can you be more clear?
microchip8
26th September 2012, 20:01
ChangeLog for version 9.4.7
* Change bad default bitrate value in DTS audio encoding to 384kbps.
microchip8
1st October 2012, 20:16
ChangeLog for version 9.4.8
* Added bluray_compat=1 parameter to the Blu-ray and AVCHD presets
* Use 'true' instead of 'false' where appropriate
* Updated the man page
lib3rty1
4th February 2013, 20:23
hi again
I have new question....
what should I do to have polish letters in encodes. I mean like ź, ż, ć as i don`t have them only empty fields
microchip8
10th February 2013, 14:12
hi again
I have new question....
what should I do to have polish letters in encodes. I mean like ź, ż, ć as i don`t have them only empty fields
No idea, really :/
microchip8
11th April 2013, 15:07
ChangeLog for version 9.4.9
* Use ffmpeg's MPEG12 decoder instead of the libmpeg12 one
microchip8
21st May 2013, 11:41
ChangeLog for version 9.5.0
* Bugfix: add missing 384 kbps option for AC3 audio
* Notify the user when we first create the config file
* SAR is Sample Aspect Ratio, not Storage Aspect Ratio. Corrected this mistake
microchip8
28th May 2013, 00:48
ChangeLog for version 9.5.1
* Use aften for AC3 audio encoding as MEncoder is currently broken. This bumps up the config file version to 22
microchip8
28th May 2013, 11:38
ChangeLog for version 9.5.2
* Fix OGM muxing with AC3 audio
microchip8
29th May 2013, 08:41
ChangeLog for version 9.5.3
* Removed workarounds for older MP4Box versions. As of this release, only gpac 0.5.0 and higher is supported.
SVN version is highly recommended, though
* Improved AC3 and MP3 audio handling
* Removed turbo option. It is no longer needed
* When using AC3 audio, language TID for MKV was set to 1. It should be 0
microchip8
7th June 2013, 19:15
ChangeLog for version 9.5.4
* Improved the expand filter code
* Optimized the Blu-ray/AVCHD HQ presets for better quality
microchip8
8th June 2013, 00:09
ChangeLog for version 9.5.5
* Enable weightp for the Blu-ray/AVCHD HQ presets. In order to have a broader compatibility with older Blu-ray players
(mostly ones with buggy MediaTek chips), weightp is set to 1 and not 2
* Set VBV maxrate to 40000 and VBV buffer to 30000 for the Blu-ray presets
* Set color primaries, transfer characteristics and matrix coeffs to bt709 for the Blu-ray/AVCHD presets
* Set default position of the expand filter to after the scale filter
microchip8
9th June 2013, 09:30
ChangeLog for version 9.5.6
* Add rc_lookahead to the Blu-ray/AVCHD presets
* When input is file, detect and display info about audio codec, channels, sample rate and bitrate
microchip8
10th June 2013, 18:39
ChangeLog for version 9.5.7
* Add fake_interlaced flag to 25fps/29.970fps content when using the Blu-ray presets. It allows to encode progressive 25p and 30p
content but flags it as interlaced for Blu-ray compliance
microchip8
11th June 2013, 10:22
ChangeLog for version 9.5.8
* Set VBV maxrate to 18k and VBV bufsize to 17k for the AVCHD presets
* Added support for frame packing for 3D video
* Add fake_interlaced to the AVCHD presets
microchip8
11th June 2013, 18:04
ChangeLog for version 9.5.9
* Set correct color prims, transfers and matrix coeffs for Blu-ray/AVCHD SD resolutions
* Removed space between two questions
* Removed the sd* and hd* presets. They are useless
* Updated the man page
microchip8
2nd July 2013, 10:19
ChangeLog for version 9.6.0
* Fix audio TID for MKV when using neroAacEnc as encoder
Achajr
29th July 2013, 16:53
For I encode with 2 audios, what I have to do, because when I am in part:
Specify the Audio Stream ID [default is 0]
s'me the option to track one, not me the option to track 2.
What do I do?
microchip8
29th July 2013, 17:20
you can only encode multiple audio streams when encoding from DVDs. I haven't added support for this when encoding from file
microchip8
20th October 2013, 20:45
ChangeLog for version 9.6.1
* Added support for encoding to 640 kbps AC3 audio
microchip8
22nd October 2013, 15:13
ChangeLog for version 9.6.2
* Added -readtoeof 1 option to the aften AC3 encoder. This ignores WAV header signaling and fixes encoding from a named pipe
microchip8
23rd October 2013, 09:54
ChangeLog for version 9.6.3
* Added support for setting the Dynamic Range Compression (DRC) profile for AC-3 audio
* Renamed aften $AC3 variable to $AC3ENC
* Use AC-3 instead of AC3 naming in metadata info
microchip8
26th October 2013, 22:26
ChangeLog for version 9.6.4
* Restrict the AVCHD presets to AC-3 and COPY audio
* Update the audio selection for the Blu-ray presets. DTS audio was supported but it wasn't displayed in the selection
* Renamed function track_echo_func() to audio_track_echo_func() for consistency
microchip8
27th October 2013, 21:37
ChangeLog for version 9.6.5
* Bugfix: codec detection for 2nd and 3rd audio track from DVDs did not work correctly
microchip8
28th October 2013, 13:22
ChangeLog for version 9.6.6
* Added support for the Opus audio codec. Requires opusenc and a recent version of mkvtoolnix with support for Opus
* Updated the man page
microchip8
28th October 2013, 22:30
ChangeLog for version 9.6.7
* Implemented support for 2nd and 3rd audio track when using "file" as input
* Bugfix: when using Opus audio, calculating target file size was not possible
* Added support for setting the AC-3 Exponent strategy search size
* Allow applying an LFE filter to the AC-3 audio
* Improved aften and opusenc options passing
microchip8
29th October 2013, 01:38
ChangeLog for version 9.6.8
* Added -demuxer lavf for more reliable detection of audio streams in file input mode
* Implemented virtually infinite support for the amount of audio tracks. This introduces a new variable in
the config file, MAX_AMOUNT_AUD_TRACKS, where the user can specify how many audio tracks he/she wants h264enc to support.
microchip8
29th October 2013, 04:43
ChangeLog for version 9.6.9
* Various bugfixes for multi-track audio support
microchip8
29th October 2013, 14:27
ChangeLog for version 9.7.0
* Fix copying of subsequent audio tracks
microchip8
30th October 2013, 09:54
ChangeLog for version 9.7.1
* Enabled multi-channel support for Opus audio
* Moved the MKV audio filters metadata after the audio codec/language metadata
* Fixed copy and pcm audio encoding
* If user chooses PCM for subsequent audio tracks, don't error out but just skip the track
* Some minor clean-ups
microchip8
31st October 2013, 13:06
ChangeLog for version 9.7.2
* Fixed exporting of the NERORMAUD variable to the batch file
* Implemented support for virtually an infinite amount of subtitles. This introduces a new variable,
MAX_AMOUNT_SUBS, to the config file where the user can set the amount of subtitles he/she wants h264enc to support
* Added output name to the message of the mail notification feature
* Fixed the nosound audio option
* renamed the rmtemp() function to exit_func()
* Return proper exit codes. 0 on success, 1 on error and 2 on user interrupt
microchip8
1st November 2013, 07:30
ChangeLog for version 9.7.3
* Merged the file and dvd audio detection/selection code
* Merged the audio code for the first and subsequent tracks
* Set a default audio ID based on input (ie, 0 for file and 128 for DVD)
* Use -demuxer lavf for file and dir input
* Small improvements to the subtitles code
* Renamed the -help switch to -h
* Improved the way audio tracks information is presented to the user
* Make destination dir if it doesn't exist for saving to the batchfile
* Updated the man page
microchip8
2nd November 2013, 19:36
ChangeLog for version 9.7.4
* Fixed copying of E-AC-3 audio
* Set default value for 3D frame packing to 3 (side by side)
* Moved some audio selection code into the new set_audio_codec_func() function.
Reduces some code duplication and removes the default_audio_codec_func() function
microchip8
8th November 2013, 15:02
ChangeLog for version 9.7.5
* Added support for importing a chapters file for MKV/MP4/OGM when input is file
* Added support for setting the audio language code for MKV/MP4/OGM/TS when input is file
* Added support for setting the subtitle language code when importing subs into MKV/MP4/OGM
microchip8
15th November 2013, 13:12
ChangeLog for 9.7.6
* Allow importing of PGS subtitles into the MKV container
* Improved chapters file handling for MKV/MP4/OGM when input is file
microchip8
3rd January 2014, 23:09
ChangeLog for version 9.7.7
* Allow relative paths when storing options to the batchfile
* Updated copyright dates
microchip8
18th January 2014, 19:59
ChangeLog for version 9.7.8
* New variable in the config file, DELETE_AVI_AFTER_REMUX, to automatically delete the AVI file after remuxing. This updates the config file version to 27
* Renamed the 480 and 576 params of the colorprim_func() function to ntsc and pal
microchip8
2nd February 2014, 21:18
ChangeLog for version 9.7.9
* Added support for hardcoding embedded subtitles in files
* Use -nosub for hadrcoding an external subtitle to prevent auto-loading of any embedded subtitles in the input
* Use -ao null instead of -nosound
Selur
4th February 2014, 19:43
Use -ao null instead of -nosound
Shouldn't they do different things?
"-ao null" = should dump the audio output to null, but still do audio processing (scanning for audio streams)
"-nosound" = disable all audio processing
since '-ao null' is an mplayer only option, don't you also use mencoder?
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.