Projects
Multimedia
h264enc
Sign Up
Log In
Username
Password
We truncated the diff of some files because they were too big. If you want to see the full diff for every file,
click here
.
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 210
View file
h264enc.spec
Added
@@ -0,0 +1,931 @@ +# norootforbuild + +Name: h264enc +Version: 9.8.5 +Release: 1 + +License: GPL-2.0+ +Group: Productivity/Multimedia/Video/Editors and Convertors +Summary: An advanced CLI shell script for MEncoder +URL: http://h264enc.sourceforge.net/ + +Source0: %{name}-%{version}.tar.gz + +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch + +Requires: findutils gpac bc gawk lsdvd nano ogmtools vorbis-tools opus-tools flac aften dcaenc mailx faac MPlayer mkvtoolnix pv + + +%description +h264enc is an advanced and powerful interactive menu-driven shell script written +for the GNU/Linux operating system which can help you to encode a DVD, a video file, +a directory with video files or a (S)VCD to the H.264/MPEG-4 Part 10/AVC video format +using the MEncoder encoder from the MPlayer project and the libx264 library. It supports +muxing the final encode from AVI to MKV, from AVI to OGM, from AVI to TS and from +AVI to the MP4 container. + + +%prep +%setup -q -n %{name}-%{version} + +%build + +%install +%__mkdir -p %{buildroot}/%{_docdir}/%{name}/matrices + +# binary +%__install -D -m 755 %{name} %{buildroot}/%{_bindir}/%{name} + +# man +gzip -9 man/%{name}.1 +%__install -D -m 644 man/%{name}.1.gz %{buildroot}/%{_mandir}/man1/%{name}.1.gz + +# doc +%__install -m 644 doc/* %{buildroot}/%{_docdir}/%{name} +%__install -m 644 matrices/* %{buildroot}/%{_docdir}/%{name}/matrices + + +%clean +rm -rf "%{buildroot}" + + +%files +%defattr(-,root,root) +%{_bindir}/%{name} +%{_mandir}/man1/%{name}.1.gz +%{_docdir}/%{name} + + +%changelog +* Fri Mar 28 2014 Grozdan Nikolov <neutrino8@gmail.com> 9.8.5 + * Use a single variable for keyint for the Blu-ray/AVCHD presets. Reduces a bit of duplication + * Reduced some duplication in the check_audio_codec_func() function by moving some of + the error messages into a new audio_codec_exit_func() function + * Allow muxing to TS when using neroAacEnc and/or FDKAAC in LC-AAC mode + * Merged the NEROAAC/FDKAAC parts in the mkvmerge code as they're identical, thus we + reduce a bit of duplication + * Updated the man page + +* Mon Mar 24 2014 Grozdan Nikolov <neutrino8@gmail.com> 9.8.4 + * Add audio encoder info to the MKV global tags + * Renamed the mencoder_opts() function to mencoder_opts_func() for consistency reasons + * Fixed subtitles metadata info in the MKV global tags + +* Sun Mar 23 2014 Grozdan Nikolov <neutrino8@gmail.com> 9.8.3 + * Bugfix: If using nosound and dumping subsequent subs, the audio option + for MEncoder was set to -ao null which is not recognized by MEncoder. + Change it to -nosound instead + +* Sat Mar 22 2014 Grozdan Nikolov <neutrino8@gmail.com> 9.8.2 + * Bugfix: for subsequent audio tracks, when using neroAacEnc as encoder, + the value of --aac-is-sbr used for HE-AAC by mkvmerge was set to 1:1. It + should be 0:1 + * Use the AACTYPE variable instead of the aacprof variable to check which + type of AAC the user wants in the neroaac_audio_func() function + * In VBR mode for audio encoders that support it, indicate which values + result in better quality, ie based on the encoder a lower value results + in higher quality or the reverse + +* Fri Mar 21 2014 Grozdan Nikolov <neutrino8@gmail.com> 9.8.1 + * Set the default crop rounding value to 4 for more accurate cropping + * Initial support for the FDK AAC audio encoder. Requires latest git from + https://github.com/mstorsjo/fdk-aac/commits/read-streamed-wav + +* Thu Feb 13 2014 Grozdan Nikolov <neutrino8@gmail.com> 9.8.0 + * Bugfix: dumping subs did not work when input is a VIDEO_TS DVD folder. + Patch by Harry Gunnarsson + +* Sun Feb 02 2014 Grozdan Nikolov <neutrino8@gmail.com> 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 + +* Sat Jan 18 2014 Grozdan Nikolov <neutrino8@gmail.com> 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 + +* Fri Jan 03 2014 Grozdan Nikolov <neutrino8@gmail.com> 9.7.7 + * Allow relative paths when storing options to the batchfile + * Updated copyright dates + +* Fri Nov 15 2013 Grozdan Nikolov <neutrino8@gmail.com> 9.7.6 + * Allow importing of PGS subtitles into the MKV container + * Improved chapters file handling for MKV/MP4/OGM when input is file + +* Fri Nov 08 2013 Grozdan Nikolov <neutrino8@gmail.com> 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 + +* Sat Nov 02 2013 Grozdan Nikolov <neutrino8@gmail.com> 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 + +* Fri Nov 01 2013 Grozdan Nikolov <neutrino8@gmail.com> 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 + +* Thu Oct 31 2013 Grozdan Nikolov <neutrino8@gmail.com> 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 + +* Wed Oct 30 2013 Grozdan Nikolov <neutrino8@gmail.com> 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 + +* Tue Oct 29 2013 Grozdan Nikolov <neutrino8@gmail.com> 9.7.0 + * Fix copying of subsequent audio tracks + +* Tue Oct 29 2013 Grozdan Nikolov <neutrino8@gmail.com> 9.6.9 + * Various bugfixes for multi-track audio support + +* Tue Oct 29 2013 Grozdan Nikolov <neutrino8@gmail.com> 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. + +* Mon Oct 28 2013 Grozdan Nikolov <neutrino8@gmail.com> 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 + +* Mon Oct 28 2013 Grozdan Nikolov <neutrino8@gmail.com> 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 + +* Sun Oct 27 2013 Grozdan Nikolov <neutrino8@gmail.com> 9.6.5 + * Bugfix: codec detection for 2nd and 3rd audio track from DVDs did not work correctly + +* Sat Oct 26 2013 Grozdan Nikolov <neutrino8@gmail.com> 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 + +* Wed Oct 23 2013 Grozdan Nikolov <neutrino8@gmail.com> 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 + +* Tue Oct 22 2013 Grozdan Nikolov <neutrino8@gmail.com> 9.6.2 + * Added -readtoeof 1 option to the aften AC3 encoder. This ignores WAV header signaling + and fixes encoding from a named pipe + +* Sun Oct 20 2013 Grozdan Nikolov <neutrino8@gmail.com> 9.6.1
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.