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 91
View file
h264enc.spec
Added
@@ -0,0 +1,768 @@ +# norootforbuild + +Name: h264enc +Version: 9.5.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: coreutils, findutils, gpac, bc, gawk, lsdvd, nano, ogmtools, vorbis-tools, flac, aften, 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 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 + +* Wed Sep 26 2012 Grozdan Nikolov <neutrino8@gmail.com> 9.4.7 + * Change bad default bitrate value in DTS audio encoding to 384kbps. + +* Mon Apr 16 2012 Grozdan Nikolov <neutrino8@gmail.com> 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 + +* Sat Apr 07 2012 Grozdan Nikolov <neutrino8@gmail.com> 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 + +* Tue Feb 21 2012 Grozdan Nikolov <neutrino8@gmail.com> 9.4.4 + * Only 'sed' mbtree for multi-pass mode + * Don't append "- chapter [id]" to output file when encoding only specific chapters + +* Tue Jan 03 2012 Grozdan Nikolov <neutrino8@gmail.com> 9.4.3 + * Use -vc dummy in MPlayer in the audio code. Seems to work better on some files + +* Sun Jan 01 2012 Grozdan Nikolov <neutrino8@gmail.com> 9.4.2 + * Use a separate variable in config file for setting the default CRF or QP value (DEFAULT_VID_CRFQP). + This bumps the config file version to 21 + * Renamed the DEFOUTPUT, DEFPATH and DEFBATCHDIR variables to DEFAULT_OUTPUT, DEFAULT_PATH and + DEFAULT_BATCHDIR + * Be slightly more portable by using #!/usr/bin/env bash instead of #!/bin/bash shebang + * Replaced some if conditionals in the -sc option by using 'test' directly + * Added an option for passing additional MEncoder parameters. Useful for when the user wants to + use something like -mc 0 -noskip, for example + * Added support for encoding to DTS audio through the dcaenc encoder which can be found at + http://aepatrakov.narod.ru/dcaenc/ + * Minor changes to the video_delogo_func() function. Use $sourcetype, $device, $vid and + $MPLAYEROPTS variables. Also use -nosound in MPlayer + * Improved the mkvtags file. Escape special characters like &, <, > and " in the Title field + +* Mon Oct 10 2011 Grozdan Nikolov <neutrino8@gmail.com> 9.4.1 + * Introduced two new variables in the config file, DEFAULT_VID_BITRATE and DEFAULT_AUD_CODEC. + The first one sets the default video bitrate or CRF/QP value while the second one can + be used to set a default audio codec. This change updates the config file to version 20 + * Fixed a typo in man page + +* Sun Aug 20 2011 Grozdan Nikolov <neutrino8@gmail.com> 9.4.0 + * Disable mbtree in multipass mode to prevent segfaulting MEncoder due to differences in + frames amount in the passlog file. Disabling mbtree reduces quality but saves us a crash + in MEncoder + * Notify the user that the script does not support AAC in AVI anymore. Also exit if user + has not selected any of the other supported containers + +* Mon Aug 08 2011 Grozdan Nikolov <neutrino8@gmail.com> 9.3.9 + * Bugfix: selecting the x264 internal denoiser does nothing due to missing $nr variable + in the MEncoder options + +* Sat Jul 23 2011 Grozdan Nikolov <neutrino8@gmail.com> 9.3.8 + * Update the mq, nq, hq, vhq, ehq, uhq and ihq presets. Increase subme by 1. For the ihq + preset, this means that it uses subme 11 now which requires latest x264 from git + +* Sun May 15 2011 Grozdan Nikolov <neutrino8@gmail.com> 9.3.7 + * Removed the ssim and psnr options from the presets. Should only be used for benchmarking + +* Sun Apr 04 2011 Grozdan Nikolov <neutrino8@gmail.com> 9.3.6 + * Fixed the subtitles function which got broken when the get_selection_func() + function got introduced + +* Tue Mar 29 2011 Grozdan Nikolov <neutrino8@gmail.com> 9.3.5 + * Added support for setting the crop rounding value + +* Wed Mar 09 2011 Grozdan Nikolov <neutrino8@gmail.com> 9.3.4 + * Fix option 4 and 5 of the video_deblock_func() function. Wrong vars used + +* Mon Feb 21 2011 Grozdan Nikolov <neutrino8@gmail.com> 9.3.3 + * Fixed a bug in directory batch mode were wrong conditional was used to check + for the DEFOUTPUT variable + * Display which file is currently being processed in batch mode + * Check only for files while in batch mode + * Do not exit if user types an incorrect answer to y/n questions. Instead, ask + the question again. Patch by Jan-Hendrik Peters and friends + +* Sat Jan 08 2011 Grozdan Nikolov <neutrino8@gmail.com> 9.3.2 + * Use -demuxer lavf when trying to get the video length for bitrate calculation + for a target file size. Should be more reliable on M2TS/TS files + * Add support for the delogo filter. Patch by Haiko Michelfeit <haiko AT zsyndikat DOT org> + Config file version is bumped to 19 + * Updated copyright dates + +* Sun Dec 05 2010 Grozdan Nikolov <neutrino8@gmail.com> 9.3.1 + * Fix for the custom preset (cp) option + +* Fri Nov 26 2010 Grozdan Nikolov <neutrino8@gmail.com> 9.3.0 + * Remove double $HOME variable in the -scan option + +* Fri Oct 29 2010 Grozdan Nikolov <neutrino8@gmail.com> 9.2.9 + * Fix typo in the backup_file_func(): exisiting -> existing + * Workaround multichan FAAC encoding. FAAC somehow does not like multichan PCM from + MPlayer but it does if one treats it as raw using -P in FAAC. Nero/FLAC/Vorbis have + no issues, though. Go figure + * Added support for setting subtitle codepage during hardcoding of external subs + * Added support for the audio equalizer filter. This updates the config file version + to 18 + * Removed 'time' requirement +
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
.