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 308
View file
h264enc.spec
Added
@@ -0,0 +1,1202 @@ +# norootforbuild + +Name: h264enc +Version: 10.1.1 +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 +* 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 + +* Wed Apr 23 2014 Grozdan Nikolov <neutrino8@gmail.com> 10.0.2 + * Bugfix: in case user chooses audio copy, the metadata info for tagging + always defaulted to "Stereo". Fix this by running MPlayer to detect + the proper amount of channels + +* Tue Apr 22 2014 Grozdan Nikolov <neutrino8@gmail.com> 10.0.1 + * Bugfix: wrong var used, $chanuse instead of $chandec, for setting + the decode channels + * Only call the video_subtitles_scale_func() function if the user + actually provides an external sub for hardcoding + +* Thu Apr 17 2014 Grozdan Nikolov <neutrino8@gmail.com> 10.0.0 + * Allow the video_subtitles_align_func() function for mks matroska + subtitles + * Display the warning message in red for when something goes wrong + when importing/hardcoding subs. Do the same for when checking + support for a sub format for MKV/MP4/OGM + * Added support for subtitles for Blu-ray encodings. Note that only + hardcoding of external sub or importing of external subs into the + MKV/MP4/OGM containers is supported + * Removed some duplication by placing the code for hardcoding an + external sub or importing external subs into its own + video_subtitles_option_func() function + * Increased the rc_lookahead value for the ehq, uhq and ihq presets + to 80, 90 and 100, respectively + * When copying audio and using some of the portable device presets, + also add the -mc 0 -msglevel demuxer=-1 options to MEncoder + * More code optimizations and minor fixes + +* Wed Apr 16 2014 Grozdan Nikolov <neutrino8@gmail.com> 9.9.8 + * Use proper extensions when copying the audio as MP4Box has a + problem with recognizing the .raw extension + * Renamed the named pipe from audio.wav to audio.pipe. Also + placed it in a variable to reduce some minor duplication + * Added support for subtitle scaling for when hardcoding an + external sub or hardcoding an embedded one. Requested by + lib3rty1 from the the Doom9.org forum + * Added --no-chapters option to mkvmerge for when encoding + with neroAacEnc in order not to auto-copy chapters info + from the container + * Instead of defaulting to 0 kbps if we can't detect the audio + bitrate when copying audio and needing to calculate the video + bitrate for a target file size , ask the user to provide it + in case he knows it or can figure it out + * Set the default exponent strategy value for AC-3 to 16 + * Placed frequently used MPlayer options into a single variable, + $MPOPTS, in order not to write them over and over again when + we need them. These options are not used everywhere as + sometimes we need other specific ones when detecting something + * Improved priority level checks for regular users if the PRIORITY + variable is set in the config file + * Bugfix: audio resampling was not possible for Blu-rays due to + missing bd param in the case statement + * Merge the Blu-ray output code with that of the file/vcd as it's + identical + * Some minor code optimizations
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
.