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 364
View file
h264enc.spec
Added
@@ -0,0 +1,1335 @@ +# norootforbuild + +Name: h264enc +Version: 10.2.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 +* Tue Sep 16 2014 Grozdan Nikolov <neutrino8@gmail.com> 10.2.5 + * Set the -cache option needed for BD input in a single variable inside the + code for BD input. Reduces detection time of resolution/audio codecs if + input is not BD since the -cache option won't be used for such inputs + * Make some words uppercase in the crop function to ease the focus on them + * Reduced some dumplication by placing the chapters examples text into its + own chapters_example_func() function + +* Mon Sep 15 2014 Grozdan Nikolov <neutrino8@gmail.com> 10.2.4 + * Fix Blu-ray input: -demuxer lavf is used by default for BD input as it provides + extra info for audio detection. The problem is that -demuxer lavf forces + MPlayer to read the whole(!) BD even when -frames 0 or 1 is used as option. + This fix works around the problem by using the -cache option which seems + to make -demuxer lavf behave as it should. Thanks to Andy Furnis on the + MPlayer mailing list for providing the workaround + +* Sun Sep 14 2014 Grozdan Nikolov <neutrino8@gmail.com> 10.2.3 + * Add back checking for aften in the sanity check (-sc) option + * Support disabling of MKV global tags. Bumps up the config file version to 32 + * Use -frames 0 to workaround possible problems when detecting audio bitrates + +* Sun Aug 17 2014 Grozdan Nikolov <neutrino8@gmail.com> 10.2.2 + * Merge the eac3 and truehd part in the case statement as they're identical + * Rename MP3FLOAT as reported by MPlayer to MP3 and EAC3 to E-AC-3 + * Since we now set -nosound when copying a TrueHD track, it is no longer + necessary to modify the text files for encoding, so remove the sed part + +* Fri Aug 15 2014 Grozdan Nikolov <neutrino8@gmail.com> 10.2.1 + * Support copying Dolby TrueHD audio into the MKV container + * When detecting audio, change the TRUEHD reported by MPlayer to Dolby TrueHD + +* Fri Jul 04 2014 Grozdan Nikolov <neutrino8@gmail.com> 10.2.0 + * We currently try to auto-detect resolutions and fps in order to set + the fake interlaced option and color prims/transfers/matrices when + using the Blu-ray/AVCHD presets. The problem is that this auto-detection + cannot be made very reliable and there's a high chance it will misdetect + something. Make it simple instead and ask the user if to set the prims + and/or fake interlaced options + * Tune the Blu-ray/AVCHD high-quality presets for better quality + * Both the aften and lavc encoders for AC-3 audio share the same bitrate + code. Move it out of the encoder functions to a new ac3_bitrate_func() + function to reduce some duplication + * Removed some commented out code + * In addition to reporting file sizes in MiB after encoding finishes, also + report them in GiB + +* Wed Jul 02 2014 Grozdan Nikolov <neutrino8@gmail.com> 10.1.9 + * Add -noskip to where -mc 0 is used + * Document the exit values used by the exit_func() function + * Made the sed syntax consistent + * Currently, we calculate the ratio and pixels in two places. One for + when we don't scale and one for when we scale. Merge the code into + the ratio_and_pixels_func() function to reduce some duplication + * When printing info on files/bd, increase the -channels to 8 + * Tune the higher quality presets and the anime ones by tweaking + the adaptive quants, psy and inloop deblocker for better quality + * Bugfix: in case we skip the audio channels filter when the + provided channels is higher than 6, the array var audchannels + was not reset + +* Tue Jul 01 2014 Grozdan Nikolov <neutrino8@gmail.com> 10.1.8 + * Fix syntax error in the ratio_and_pixels_func() function + +* Mon Jun 30 2014 Grozdan Nikolov <neutrino8@gmail.com> 10.1.7 + * Renamed the variable priority_level to nicelevel + * Be more clear about the language code the user may use by mentioning + that it's used for tagging + * Be more clear on the channels filter by stating it is very basic and + it will create empty channels in case the output channels are higher + than the input ones + * Add a 0 to the counter_func() function + * mkvmerge version 7.0.0 and higher automatically adds statistics tags + to the created file. Offer an option in the config file to disable + this. Updates the config file version to 31 + * Add a note to the skeleton presets.cfg file that one must start the + params with a : (colon) + +* Sun Jun 29 2014 Grozdan Nikolov <neutrino8@gmail.com> 10.1.6 + * Add -mc 0, after some testing, for when encoding to E-AC-3 audio + * A lot of the supported audio codecs do not support more than 6 + channels so limit the channels to a maximum of 6 + * If aften is missing and user has selected it as encoder to use, fall + back to the lavc encoder instead of exiting + +* Wed Jun 25 2014 Grozdan Nikolov <neutrino8@gmail.com> 10.1.5 + * Updated the info on audio codecs supported by containers + * Updated the set_audio_codec_func() function + * Set the default IVTC filter to filmdint + * Accept floating point values for CRF/QP ratecontrol in the config file + +* Tue Jun 24 2014 Grozdan Nikolov <neutrino8@gmail.com> 10.1.4 + * Removed -mc 0 when encoding to E-AC-3 audio. It is not needed after + some tests and A/V sync will be better in some cases + * Use a case statement instead of an if conditional when checking if audio + encoder is fkdaac or dcaenc in order to insert the format filter + * Encode to AAC through MEncoder instead of using faac directly + * Renamed the aac_audio_func() function to faac_audio_func(). Also + renamed the $MENCIN var to $MENCINPUT + +* Mon Jun 23 2014 Grozdan Nikolov <neutrino8@gmail.com> 10.1.3 + * Set the DRC profile for Aften to none + * Allow the volume filter to be used even if the volnorm one is used + * Added support for setting the DRC when using lavc for AC-3 + * Added support for encoding to E-AC-3 audio through lavc + +* Fri Jun 20 2014 Grozdan Nikolov <neutrino8@gmail.com> 10.1.2 + * Fix a possible problem when detecting audio tracks when input is file + or blu-ray. We only grep for the generic word 'audio' which could result + in also printing lines that are not audio tracks but somehow carry the + 'audio' word in their tags. Fix it by using 'awk' before 'grep' to + only print the fourth column where lavf reports what type of track it is + * Set default DTS bitrate to 755 kbps. Also check if we don't exceed the + highest legal bitrate of 1509 kbps + * Due to a bug in the dcaenc encoder, floating-point WAV files get + wrongly interpreted as 32-bit integer ones. Work around this by adding + the format=s16le filter + * The 1536 kbps bitrate reported by MPlayer on some DTS files is technically + 1509 kbps, if we have to be accurate. Account for this by substracting + 27 kbps from the reported bitrate. Do the same for the reported 768 kbps + bitrate which is actually 755 kbps + * Report the kHz in addition to the Hz when displaying audio info for + found tracks + * When remuxing to MKV/MP4/OGM, instead of checking if a file is created + to make a decision if it was successful or not, use return codes from + the remuxing applications. Should be more reliable in telling the user + if it really succeeded or not. Unfortunately tsMuxeR doesn't return + anything so there's no other way than checking if there's an + output file. + * Lowered the scale factor in the calcbits() function from 3 to 2. + Also use | instead of @ as delimiter + * Tune a bit the subq values of the ani & anihq presets. Also turn on + trellis on all decisions (trellis=2) for the anihq preset + +* Thu Jun 19 2014 Grozdan Nikolov <neutrino8@gmail.com> 10.1.1 + * Added support for the internal lavc AC-3 audio encoder. Now one + can choose between the lavc encoder (default) and the aften encoder. + The lavc encoder is set to default as aften has seen very little + development in the past years and is not as good as the lavc one + which is actively developed by the ffmpeg devs
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
.