Changes of Revision 77

xvidenc.spec Added
x
 
1
@@ -0,0 +1,581 @@
2
+# norootforbuild
3
+
4
+Name:      xvidenc
5
+Version:   8.5.9
6
+Release:   1
7
+
8
+License:   GPL-2.0+
9
+Group:     Productivity/Multimedia/Video/Editors and Convertors
10
+Summary:   An advanced CLI shell script for MEncoder
11
+URL:       http://xvidenc.sourceforge.net/
12
+
13
+Source0:        %{name}-%{version}.tar.gz
14
+
15
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
16
+BuildArch: noarch
17
+
18
+Requires:       findutils gpac bc gawk lsdvd nano ogmtools aften vorbis-tools opus-tools mailx MPlayer mkvtoolnix pv
19
+
20
+
21
+%description
22
+xvidenc is an advanced and powerful interactive menu-driven shell script
23
+written for the GNU/Linux operating system which can help you to encode
24
+a DVD, a (S)VCD or a regular video file to the MPEG-4 SP/ASP format using
25
+the MEncoder encoder from the MPlayer project and the Xvid library. It supports
26
+muxing the final encode from AVI to Matroska, from AVI to OGM and from
27
+AVI to the MP4 container.
28
+
29
+
30
+%prep
31
+%setup -q -n %{name}-%{version}
32
+
33
+%build
34
+
35
+%install
36
+# binary
37
+%__install -D -m 755 %{name} %{buildroot}/%{_bindir}/%{name}
38
+
39
+# man
40
+gzip -9 man/%{name}.1
41
+%__install -D -m 644 man/%{name}.1.gz %{buildroot}/%{_mandir}/man1/%{name}.1.gz
42
+
43
+# docs
44
+%__mkdir -p %{buildroot}/%{_docdir}/%{name}/matrices/Jawor{1,2}CD
45
+%__install -m 644 doc/* %{buildroot}/%{_docdir}/%{name}
46
+%__install -m 644 matrices/Jawor1CD/* %{buildroot}/%{_docdir}/%{name}/matrices/Jawor1CD
47
+%__install -m 644 matrices/Jawor2CD/* %{buildroot}/%{_docdir}/%{name}/matrices/Jawor2CD
48
+
49
+
50
+%clean
51
+rm -rf "%{buildroot}"
52
+
53
+
54
+%files
55
+%defattr(-,root,root)
56
+%{_bindir}/%{name}
57
+%{_docdir}/%{name}
58
+%{_mandir}/man1/%{name}.1.gz
59
+
60
+
61
+%changelog
62
+* Mon Apr 21 2014 Grozdan Nikolov <neutrino8@gmail.com> 8.5.9
63
+   * Add -nosub option to prevent auto-loading of embedded subs
64
+   * Bugfix: copying audio for subsequent tracks and remuxing to MP4
65
+     resulted in the tracks not being added due to missing ffaac
66
+     param in the case statement
67
+     
68
+* Sun Dec 15 2013 Grozdan Nikolov <neutrino8@gmail.com> 8.5.8
69
+   * Bugfix: copying of audio stream was set to pcm. Should be copy
70
+   * Allow relative paths when storing the batchfile
71
+   
72
+* Mon Nov 11 2013 Grozdan Nikolov <neutrino8@gmail.com> 8.5.7
73
+   * Allow importing of PGS subtitles into the MKV container
74
+   * Added support for importing a chapters file for MKV/MP4/OGM when input is file
75
+   * Added support for setting the audio language code for MKV/MP4/OGM when input is file
76
+   * Added support for setting the subtitle language code when importing subs into MKV/MP4/OGM
77
+   
78
+* Sun Nov 03 2013 Grozdan Nikolov <neutrino8@gmail.com> 8.5.6
79
+   * Placed the $demuxer variable higher. Fixes audio detection for file input
80
+   * Moved some audio selection code into a new set_audio_codec_func() function.
81
+     Reduces some code duplication and removes the default_audio_codec_func() function
82
+     
83
+* Fri Nov 01 2013 Grozdan Nikolov <neutrino8@gmail.com> 8.5.5
84
+   * Merged the file and dvd audio detection/selection code
85
+   * Merged the audio code for the first track with the code for subsequent tracks
86
+   * Set a default audio ID based on input (ie, 0 for file and 128 for DVD)
87
+   * Small improvements to the subtitles code
88
+   * Use -demuxer lavf for file and dir encodings
89
+   * Renamed the -help switch to -h
90
+   * Improved the way audio tracks information is presented to the user
91
+   * Make destination dir if it doesn't exist for saving to the batchfile
92
+   * Updated the man page
93
+   
94
+* Thu Oct 31 2013 Grozdan Nikolov <neutrino8@gmail.com> 8.5.4
95
+   * Implemented support for virtually an infinite amount of subtitles. This introduces a new
96
+     variable, MAX_AMOUNT_SUBS, to the config file where the user can set the amount of subtitles
97
+     he/she wants the script to support
98
+   * Added output name to the message of the mail notification feature
99
+   * Fixed the nosound audio option
100
+   * Renamed the rmtemp() function to exit_func()
101
+   * Return proper exit codes. 0 on success, 1 on error and 2 on user interrupt
102
+   
103
+* Wed Oct 30 2013 Grozdan Nikolov <neutrino8@gmail.com> 8.5.3
104
+   * Added -demuxer lavf for more reliable detection of audio streams in file input mode
105
+   * Implemented virtually infinite support for the amount of audio tracks. This introduces
106
+     a new variable in the config file, MAX_AMOUNT_AUD_TRACKS, where the user can specify
107
+     how many audio tracks he/she wants the script to support.
108
+   * Enabled multi-channel support for Opus audio
109
+   * Moved the MKV audio filters metadata after the audio codec/language metadata
110
+   * Fixed copy and pcm audio encoding
111
+   * If user chooses PCM for subsequent audio tracks, don't error out but just skip the track
112
+   * Some minor clean-ups
113
+   
114
+* Tue Oct 29 2013 Grozdan Nikolov <neutrino8@gmail.com> 8.5.2
115
+   * Added support for the Opus audio codec. Requires opusenc and a recent version of
116
+     mkvtoolnix with support for Opus
117
+   * Renamed track_echo_func() to audio_track_echo_func() for consistency
118
+   * Added support for setting the AC-3 Exponent strategy search size
119
+   * Allow applying an LFE low-pass filter for AC-3 audio
120
+   * Improved aften options passing
121
+   * Updated the man page
122
+   
123
+* Mon Oct 28 2013 Grozdan Nikolov <neutrino8@gmail.com> 8.5.1
124
+   * Bugfix: codec detection for 2nd and 3rd audio track from DVDs did not work correctly
125
+   * Updated the man page
126
+   
127
+* Thu Oct 24 2013 Grozdan Nikolov <neutrino8@gmail.com> 8.5.0
128
+   * Allow encoding of 640 kbps AC-3 audio
129
+   * Detect and display audio codec info when input is file
130
+   * Added support for setting the Dynamic Range Compression (DRC) profile for AC-3 audio
131
+   * Fixed AC-3 audio encoding by adding -readtoeof 1 which ignores WAV header signaling
132
+   * Renamed aften $AC3 var to $AC3ENC
133
+   * Use AC-3 instead of AC3 in metadata info
134
+   
135
+* Mon Sep 02 2013 Grozdan Nikolov <neutrino8@gmail.com> 8.4.9
136
+   * Fix audio TID for MKV when using neroAacEnc as encoder
137
+   
138
+* Wed May 29 2013 Grozdan Nikolov <neutrino8@gmail.com> 8.4.8
139
+   * Removed workarounds for older MP4Box versions. As of this release, only gpac 0.5.0 and higher
140
+     are supported. SVN version is highly recommended, though
141
+   * When using AC3 audio, language TID for MKV was set to 1. It should be 0
142
+   
143
+* Tue May 28 2013 Grozdan Nikolov <neutrino8@gmail.com> 8.4.7
144
+   * Use aften for AC3 audio encoding as MEncoder is currently broken. This updates the config
145
+     file version to 18
146
+     
147
+* Wed May 22 2013 Grozdan Nikolov <neutrino8@gmail.com> 8.4.6
148
+   * Bugfix: add missing 384 kbps option for AC3 audio
149
+   * Notify the user when we first create the config file
150
+   * SAR is Sample Aspect Ratio, not Storage Aspect Ratio. Corrected this mistake
151
+   
152
+* Thu Apr 11 2013 Grozdan Nikolov <neutrino8@gmail.com> 8.4.5
153
+   * Use ffmpeg's MPEG12 decoder instead of the libmpeg12 one
154
+   * Updated the man page
155
+   
156
+* Thu Sep 27 2012 Grozdan Nikolov <neutrino8@gmail.com> 8.4.4
157
+   * Don't append '- chapter [id]' to output filename when user encodes only specific DVD chapters
158
+   * Change bad default bitrate value in DTS audio encoding to 384kbps.
159
+   
160
+* Mon Jan 02 2012 Grozdan Nikolov <neutrino8@gmail.com> 8.4.3
161
+   * Added support for setting the default video bitrate/quantizer and default audio codec
162
+     in the config file, which introduces three new variables; DEFAULT_VID_BITRATE,
163
+     DEFAULT_VID_QTZR and DEFAULT_AUD_CODEC. This bumps the config file version to 17
164
+   * Renamed variables DEFOUTPUT, DEFPATH and DEFBATCHDIR to DEFAULT_OUTPUT, DEFAULT_PATH
165
+     and DEFAULT_BATCHDIR
166
+   * Replaced some if conditionals in the -sc option by using 'test' directly
167
+   * Added an option to pass additional parameters to MEncoder. Useful if user wants to pass options
168
+     such as -mc 0 -noskip
169
+   * Added support for encoding to DTS audio through the dcaenc encoder which can be found
170
+     at: http://aepatrakov.narod.ru/dcaenc/
171
+   * Minor changes to the video_delogo_func() function. Use $sourcetype, $device, $vid and
172
+     $MPLAYEROPTS variables. Also use -nosound in MPlayer
173
+   * Improved the mkvtags file. Escape special characters like &, <, > and " in the Title field
174
+   * Use -vo dummy in MPlayer in the audio code. Seems to work better for some files
175
+   
176
+* Tue Mar 29 2011 Grozdan Nikolov <neutrino8@gmail.com> 8.4.2
177
+   * Added support for setting the crop rounding value
178
+   
179
+* Mon Mar 07 2011 Grozdan Nikolov <neutrino8@gmail.com> 8.4.1
180
+   * Fixed a bug in directory batch mode were wrong conditional was used to check
181
+     for the DEFOUTPUT variable
182
+   * Display which file is currently being processed in batch mode
183
+   * Check only for files while in batch mode
184
+   * Fixed the video_deblock_func() function. Wrong vars used
185
+   
186
+* Mon Jan 31 2011 Grozdan Nikolov <neutrino8@gmail.com> 8.4.0
187
+   * Use -demuxer lavf when trying to get the video length for bitrate calculation
188
+     for a target file size. Should be more reliable on M2TS/TS files
189
+   * Added support for the delogo filter and bumped config file version to 16
190
+   * Updated copyright dates
191
+   
192
+* Fri Nov 26 2010 Grozdan Nikolov <neutrino8@gmail.com> 8.3.9
193
+   * Remove double $HOME variable in the -scan option
194
+   
195
+* Fri Oct 29 2010 Grozdan Nikolov <neutrino8@gmail.com> 8.3.8
196
+   * Added support for setting subtitle codepage during hardcoding of external subs
197
+   * Added support for the audio equalizer filter. This updates the config file version
198
+     to 15
199
+   * Removed 'time' requirement
200
+   
201