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 248
View file
h264enc.spec
Added
@@ -0,0 +1,1000 @@ +# norootforbuild + +Name: h264enc +Version: 9.9.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 +* Sat Apr 12 2014 Grozdan Nikolov <neutrino8@gmail.com> 9.9.5 + * Improved resolution detection for Blu-rays + * Improved the nlq preset + * Don't call the audio_channels_decode_func when copying the audio as + audio is copied 1:1 thus we don't need to set any channels + * Insert the channels filter in case the user wishes to have 4 or 5 + audio channels when decoding higher or lower amount of channels + * Various small code improvements + +* Sat Apr 12 2014 Grozdan Nikolov <neutrino8@gmail.com> 9.9.4 + * Cosmetics: add an echo between the total found titles for Blu-ray and + the info about each title + * Cosmetics: remove double-quotes in empty echo's + * Display full seconds value for each found Blu-ray title + * Small code optimization to Blu-ray chapters info. Use a single variable + that holds the title we need to scan for chapters + * Warn and fallback to 8 channels in case user provides more than 8 channels + * Added support for PCM audio for subsequent audio tracks + +* Thu Apr 10 2014 Grozdan Nikolov <neutrino8@gmail.com> 9.9.3 + * Display the length in seconds and minutes for every found Blu-ray title + * Implemented basic chapters encoding support for Blu-rays + * Rewrote the code for subtitles imports for MKV/MP4/OGM + * For DVDs/BDs, set default channels value to 6 when using other than copy + for audio + +* Wed Apr 09 2014 Grozdan Nikolov <neutrino8@gmail.com> 9.9.2 + * Allow importing of mks (Matroska stream) subtitles into MKV. Such files + are usually created when dumping subs with the GUI version of mkvmerge + * Add -nosub when importing external subtitles into MKV/MP4/OGM to prevent + auto-loading of any embedded subs in the input file + * Use case statements to check the values of the $MAX_AMOUNT_AUD_TRACKS and + $MAX_AMOUNT_SUBS variables + * Auto-cropping was not possible when input is Blu-ray due to missing bd + param in the case statement + * Set default audio channels decode option to 6 when input is Blu-ray + +* Tue Apr 08 2014 Grozdan Nikolov <neutrino8@gmail.com> 9.9.1 + * Fixed not being able to calculate video bitrate for target file size + when input is Blu-ray, due to missing $demuxer variable when calling + MPlayer + * Fixed DVD scanning in the -scan option + * Support Blu-ray scanning in the -scan option + * Display in the -sc option if MEncoder has Blu-ray support + * Warn and exit if user chooses Blu-ray as input but MEncoder doesn't support it + * Placed the $device and $vid variables after the $MPLAYEROPTS one in order for + the custom MPlayer options not to possibly overwrite these variables + * Modified the get_devices_func() function to allow files/folders as input + so that a user can scan a DVD ISO or VIDEO_TS directory, not just discs + * Fixed the colorprim code. $device and $vid variables were missing when + calling MPlayer to get the resolution height + +* Mon Apr 07 2014 Grozdan Nikolov <neutrino8@gmail.com> 9.9.0 + * Initial, basic support for encoding from Blu-ray discs/ISOs/directories. + Requires MPlayer to be compiled with libbluray. As libbluray doesn't + support encrypted Blu-rays, it is not possible to encode such Blu-rays. + Encryption must first be stripped before encoding with h264enc + * Reduced some duplication in the audio code for the first track for MKV + * Adjusted the vbv_maxrate and vbv_bufsize for the bd40 and bdhq40 presets + to comply with the level limits + +* Sat Mar 29 2014 Grozdan Nikolov <neutrino8@gmail.com> 9.8.7 + * Merged the neroaac/fdkaac part of the MP4Box code as they're identical + * Use a case statement to decide between --bluray and --avchd for tsMuxeR + * A few more function renaming to carry the _func at the end + +* Fri Mar 28 2014 Grozdan Nikolov <neutrino8@gmail.com> 9.8.6 + * Fix a syntax error + +* 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
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
.