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 163
View file
h264enc.spec
Added
@@ -0,0 +1,869 @@ +# norootforbuild + +Name: h264enc +Version: 9.7.4 +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 + + +%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 Matroska, 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 +* 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 + * Added support for encoding to 640 kbps AC3 audio + +* Tue Jul 02 2013 Grozdan Nikolov <neutrino8@gmail.com> 9.6.0 + * Fix audio TID for MKV when using neroAacEnc as encoder + +* Tue Jun 11 2013 Grozdan Nikolov <neutrino8@gmail.com> 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 + +* Tue Jun 11 2013 Grozdan Nikolov <neutrino8@gmail.com> 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 + +* Mon Jun 10 2013 Grozdan Nikolov <neutrino8@gmail.com> 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 + +* Sun Jun 09 2013 Grozdan Nikolov <neutrino8@gmail.com> 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 + +* Sat Jun 08 2013 Grozdan Nikolov <neutrino8@gmail.com> 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 + +* Fri Jun 07 2013 Grozdan Nikolov <neutrino8@gmail.com> 9.5.4 + * Improved the expand filter code + * Optimized the Blu-ray/AVCHD HQ presets for better quality + +* Wed May 29 2013 Grozdan Nikolov <neutrino8@gmail.com> 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 + +* Tue May 28 2013 Grozdan Nikolov <neutrino8@gmail.com> 9.5.2 + * Fix OGM muxing with AC3 audio + +* Tue May 28 2013 Grozdan Nikolov <neutrino8@gmail.com> 9.5.1 + * Use aften for AC3 audio encoding as MEncoder is currently broken. This bumps up the config + file version to 22 + +* Tue May 21 2013 Grozdan Nikolov <neutrino8@gmail.com> 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 + +* Thu Apr 11 2013 Grozdan Nikolov <neutrino8@gmail.com> 9.4.9 + * Use ffmpeg's MPEG12 decoder instead of the libmpeg12 one + +* Mon Oct 01 2012 Grozdan Nikolov <neutrino8@gmail.com> 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 +
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
.