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 4th September 2015, 13:21   #1  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,856
ffx264 & ffhevc for Linux/BSD

I wrote two small, simple and basic shell scripts for Linux. I did it because I encountered a few video remuxes (from my own Blu-rays) that I couldn't encode with my h264enc script so I turned to ffmpeg which was able to handle them.

ffhevc & ffx264 won't be anything big and professional like h264enc. I intend to keep them both basic and with the options I most often use so stuff like many audio/video filters, different input sources, etc, etc won't be added, unless I really need them on a frequent basis in the future.

However, if you need something and are willing to implement it, I accept patches.

ffx264: https://sourceforge.net/projects/ffx264/

ffhevc: https://sourceforge.net/projects/ffhevc/
__________________
ffx264 || ffhevc || ffxvid || microenc

Last edited by microchip8; 28th October 2019 at 19:06. Reason: update title
microchip8 is offline   Reply With Quote
Old 5th September 2015, 13:11   #2  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,856
ChangeLog for ffhevc 1.3
Quote:
* Added support for copying a single subtitle. Note that this is only supported when output container is set to mkv (default)
* Changed var OUTPUT in the config file to OUTDIR. Also changed internal var OUT to OUTPUT
* Updated the README file
ChangeLog for ffx264 1.5
Quote:
* Added support for copying a single subtitle. Note that this is only supported when output container is set to mkv (default)
* Changed var OUTPUT in the config file to OUTDIR. Also changed internal var OUT to OUTPUT
* Updated the README file
__________________
ffx264 || ffhevc || ffxvid || microenc
microchip8 is offline   Reply With Quote
Old 5th September 2015, 17:39   #3  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,856
ChangeLog for ffhevc 1.4
Quote:
* Implemented support for virtually an unlimited audio track encodings
* Ask for AC-3 bitrate instead of setting it in the config file
* Updated the README file
ChangeLog for ffx264 1.6
Quote:
* Implemented support for virtually an unlimited audio track encodings
* Ask for AC-3 bitrate instead of setting it in the config file
* Updated the README file
__________________
ffx264 || ffhevc || ffxvid || microenc
microchip8 is offline   Reply With Quote
Old 6th September 2015, 00:10   #4  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,856
ChangeLog for ffhevc 1.5
Quote:
* Bugfix: dB was missing after the value of the audio volume filter
* Be a bit more consistent with the audio variables
* Added support for encoding to AAC audio
* Use eval instead of seq for the for audio loops as seq is Linux-specific
* Added an ASCII art banner
* Export encoding params to a shell script and source it for encoding
* Place the libx265 params in the config file for easy modifications
* Made auto-cropping optional. It can be disabled in the config file
* Made the SUBS var in the config file consistent with the ones that accept "y" or "n" as value
* Added support for specifying the audio language metadata
* Automatically add the title of the content based on provided output name
* Automatically add the audio codec name metadata
* Updated the README file
ChangeLog for ffx264 1.7
Quote:
* Bugfix: dB was missing after the value of the audio volume filter
* Be a bit more consistent with the audio variables
* Added support for encoding to AAC audio
* Use eval instead of seq for the for audio loops as seq is Linux-specific
* Added an ASCII art banner
* Export encoding params to a shell script and source it for encoding
* Place the libx264 params in the config file for easy modifications
* Made auto-cropping optional. It can be disabled in the config file
* Made the SUBS var in the config file consistent with the ones that accept "y" or "n" as value
* Added support for specifying the audio language metadata
* Automatically add the title of the content based on provided output name
* Automatically add the audio codec name metadata
* Updated the README file
__________________
ffx264 || ffhevc || ffxvid || microenc
microchip8 is offline   Reply With Quote
Old 6th September 2015, 11:22   #5  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,856
ChangeLog for ffhevc 1.6
Quote:
* Added support for setting the genre and year metadata
* Added support for virtually an unlimited amount of subtitles copy
* Colorized the banner
* Cosmetics
* Updated the README file
ChangeLog for ffx264 1.8
Quote:
* Added support for setting the genre and year metadata
* Added support for virtually an unlimited amount of subtitles copy
* Colorized the banner
* Cosmetics
* Updated the README file
__________________
ffx264 || ffhevc || ffxvid || microenc
microchip8 is offline   Reply With Quote
Old 7th September 2015, 15:37   #6  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,856
ChangeLog for ffhevc 1.7 and ffx264 1.9
Quote:
* Bugfix: the specified channels to decode wasn't honored due to missing 'a' in the -ac option
* Added support for encoding to DTS audio
* Reduced some duplication in the audio code
* More cosmetics
* Updated the README file
__________________
ffx264 || ffhevc || ffxvid || microenc
microchip8 is offline   Reply With Quote
Old 8th September 2015, 09:29   #7  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,856
ChangeLog for ffhevc 1.8 and ffx264 2.0
Quote:
* Enabled subs copy for other containers than mkv
* Some tweaks in the audio code
* Updated the README file
__________________
ffx264 || ffhevc || ffxvid || microenc
microchip8 is offline   Reply With Quote
Old 9th September 2015, 14:18   #8  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,856
ChangeLog for ffhevc 1.9 and ffx264 2.1
Quote:
* Removed the $ in the index of array variables
* Use an if conditional instead of case to check for DTS audio and to check which audio codec has been selected
* Support setting the paths to mplayer/ffmpeg/ffprobe in the config file
* Support setting the language metadata for subs copy
* Fixed a small issue in the subtitles code
__________________
ffx264 || ffhevc || ffxvid || microenc
microchip8 is offline   Reply With Quote
Old 10th September 2015, 14:37   #9  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,856
ChangeLog for ffhevc 2.0 and ffx264 2.2
Quote:
* Tweaks to the audio code
* Somehow I removed the chapters option. Add it back
__________________
ffx264 || ffhevc || ffxvid || microenc
microchip8 is offline   Reply With Quote
Old 11th September 2015, 13:25   #10  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,856
ChangeLog for ffhevc 2.1 and ffx264 2.3
Quote:
* Update to the default libx264/libx265 encoding params
__________________
ffx264 || ffhevc || ffxvid || microenc
microchip8 is offline   Reply With Quote
Old 12th September 2015, 19:56   #11  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,856
ChangeLog for ffhevc 2.2 and ffx264 2.4
Quote:
* Added audio channel layout mappings
__________________
ffx264 || ffhevc || ffxvid || microenc
microchip8 is offline   Reply With Quote
Old 13th September 2015, 09:46   #12  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,856
ChangeLog for ffhevc 2.3 and ffx264 2.5
Quote:
* Added support for scaling
* Updated the README file
__________________
ffx264 || ffhevc || ffxvid || microenc
microchip8 is offline   Reply With Quote
Old 14th September 2015, 19:22   #13  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,856
ChangeLog for ffhevc 2.4.0 and ffx264 2.6.0
Quote:
* Fixed an issue where -vf was added despite not using any filters
__________________
ffx264 || ffhevc || ffxvid || microenc
microchip8 is offline   Reply With Quote
Old 15th September 2015, 10:14   #14  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,856
ChangeLog for ffhevc 2.4.1 and ffx264 2.6.1
Quote:
* Added support for deinterlacing
* Updated the README file
__________________
ffx264 || ffhevc || ffxvid || microenc
microchip8 is offline   Reply With Quote
Old 17th September 2015, 10:06   #15  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,856
ChangeLog for ffhevc 2.4.2 and ffx264 2.6.2
Quote:
* Small update to the channel layout mappings
__________________
ffx264 || ffhevc || ffxvid || microenc
microchip8 is offline   Reply With Quote
Old 18th September 2015, 06:48   #16  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,856
ChangeLog for ffhevc 2.4.3 and ffx264 2.6.3
Quote:
* Removed the workaround for DTS audio since we always use "5.1(side)" for 6 channels output
* Support setting the MAX_AUD_TRKS and MAX_SUBS variables in the config file to "auto". When set to "auto", it will ask for as many as detected audio tracks/subtitles
__________________
ffx264 || ffhevc || ffxvid || microenc
microchip8 is offline   Reply With Quote
Old 19th September 2015, 08:51   #17  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,856
ChangeLog for ffhevc 2.4.4 and ffx264 2.6.4
Quote:
* Added support for encoding to MP3, Vorbis, FLAC and Opus audio
* Do some sanity checks for AC3/DTS channels
* Updated the README file
__________________
ffx264 || ffhevc || ffxvid || microenc
microchip8 is offline   Reply With Quote
Old 4th October 2015, 12:28   #18  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,856
ChangeLog for ffhevc 2.4.5 and ffx264 2.6.5
Quote:
* Removed a test condition in the mp3 code that is not really needed
* Cosmetics in the audio code
* Added a counter
__________________
ffx264 || ffhevc || ffxvid || microenc
microchip8 is offline   Reply With Quote
Old 31st October 2015, 13:54   #19  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,856
ChangeLog for ffhevc 2.4.6 and ffx264 2.6.6
Quote:
* Added support for audio resampling
__________________
ffx264 || ffhevc || ffxvid || microenc
microchip8 is offline   Reply With Quote
Old 2nd November 2015, 18:06   #20  |  Link
microchip8
ffx264/ffhevc author
 
microchip8's Avatar
 
Join Date: May 2007
Location: /dev/video0
Posts: 1,856
ChangeLog for ffhevc 2.4.7 and ffx264 2.6.7
Quote:
* Use -filter:a:id aresample instead of -ar:a:id
__________________
ffx264 || ffhevc || ffxvid || microenc
microchip8 is offline   Reply With Quote
Reply

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 01:45.


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