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 328
View file
h264enc.spec
Added
@@ -0,0 +1,1258 @@ +# norootforbuild + +Name: h264enc +Version: 10.1.6 +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 +* 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 + * Fine-tune the volume filter by setting it to 4 after some tests + * Delete the file stored in the $AUDINFO variable + * When storing the MKV global tags while operating in batch mode, + test the variable $DIRTAGS for not being empty + * Cosmetics: add a few echo's at specific places to separate the + cmd lines in the batch file for better readability. Also add + a comment block for the start of the MKV, MP4, TS and/or OGM muxing + * Bugfix in the MKV/MP4 tags: do not add channel info when using MP3. + If we add channel info, it could result in "MP3 5.1" being added + to the audio tags, which is obviously wrong as MP3 only supports + stereo and mono channels + * Opus supports sampling rates from 8 kHz to 48 kHz. Support this + in the resampling code + +* Wed Jun 18 2014 Grozdan Nikolov <neutrino8@gmail.com> 10.1.0 + * When scanning for audio tracks when input is file or blu-ray, + rename DCA (as reported by lavf) to DTS to not confuse the user. + Also rename AC3 to AC-3 for consistency + * In case audio encoder is fdkaac, add to the MKV tags the audio + format used (eg, Signed 16-bit little endian) + * When dumping chapters from files, use the file extension .chaps + for MKV. Also test to see if there's already a chapters file with + the same name and rename it to <filename>.chaps.old + * aac-enc name in the MKV tags is not very descriptive, so add + (fdkaac) to it + * Cosmetics + +* Tue Jun 17 2014 Grozdan Nikolov <neutrino8@gmail.com> 10.0.9 + * Bugfix: only call audio filters on subsequent tracks when running MPlayer + to decode since for the first track we already pass these filters to + MEncoder, thus if we also use them when running MPlayer we'll get a + double effect + * Add a ^ (caret) at the beginning of grep when trying to get the [lavf] + text to make sure we only grep the correct instances + * Set default CRF/QP value to 19 and for bitrate based encodes to 2000 kbps + * For the volume audio filter, set the default value to 3 as 5 is a bit high + +* Mon Jun 16 2014 Grozdan Nikolov <neutrino8@gmail.com> 10.0.8 + * New method to detect and display audio info when input is file or blu-ray. + In comparison to the previous basic method, the new one will display + for each found audio track the codec, channels, language, bitrate and + sample rate info. It does take slightly longer to detect in case there + are many audio tracks, but it is more descriptive and accurate + +* Sun Jun 15 2014 Grozdan Nikolov <neutrino8@gmail.com> 10.0.7 + * Use an if instead of a case when dumping chapters from files + * Also export chapter extraction commands to the batch file + * Display mkvextract availability when using the sanity check option (-sc) + * Add the path and name to the comment block of the batch file. Makes + it easy to focus on the comment block to know for which file the + commands are instead of needing to inspect the code itself to find + out + +* Wed Jun 11 2014 Grozdan Nikolov <neutrino8@gmail.com> 10.0.6 + * Added support for dumping chapters info from MKV/MP4 input files + This updates the config file version to 30 as mkvextract is needed + * Made the audiofmt variable an array variable + * Moved asking for sample encoding before asking to inspect or save the + options to a file + +* Sat May 24 2014 Grozdan Nikolov <neutrino8@gmail.com> 10.0.5 + * Fixed the detect_fps_func() function for detecting the NTSC type + * Lowered the spugauss (variance param for gauss subtitle scaling) + from 0.7 to 0.4 as 0.7 does too much blurring in my opinion + +* Thu May 22 2014 Grozdan Nikolov <neutrino8@gmail.com> 10.0.4 + * Bugfix: $demuxer var was missing in the AUDCH array var which resulted + in incorrect channel info being added to the tags when copying audio. + DVD input was not affected by this bug, but file/dir/bd input was as + they all use the $demuxer var + +* Sat Apr 26 2014 Grozdan Nikolov <neutrino8@gmail.com> 10.0.3 + * Removed unused $AUDFIFO variable + * Small bugfix: audio language for metadata tagging wasn't added to the global + tags for MKV when input is Blu-ray due to missing 'bd' param in the case + statement +
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
.