Changes of Revision 61

xvidenc.spec Added
x
 
1
@@ -0,0 +1,560 @@
2
+# norootforbuild
3
+
4
+Name:      xvidenc
5
+Version:   8.5.5
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
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
+* Fri Nov 01 2013 Grozdan Nikolov <neutrino8@gmail.com> 8.5.5
63
+   * Merged the file and dvd audio detection/selection code
64
+   * Merged the audio code for the first track with the code for subsequent tracks
65
+   * Set a default audio ID based on input (ie, 0 for file and 128 for DVD)
66
+   * Small improvements to the subtitles code
67
+   * Use -demuxer lavf for file and dir encodings
68
+   * Renamed the -help switch to -h
69
+   * Improved the way audio tracks information is presented to the user
70
+   * Make destination dir if it doesn't exist for saving to the batchfile
71
+   * Updated the man page
72
+   
73
+* Thu Oct 31 2013 Grozdan Nikolov <neutrino8@gmail.com> 8.5.4
74
+   * Implemented support for virtually an infinite amount of subtitles. This introduces a new
75
+     variable, MAX_AMOUNT_SUBS, to the config file where the user can set the amount of subtitles
76
+     he/she wants the script to support
77
+   * Added output name to the message of the mail notification feature
78
+   * Fixed the nosound audio option
79
+   * Renamed the rmtemp() function to exit_func()
80
+   * Return proper exit codes. 0 on success, 1 on error and 2 on user interrupt
81
+   
82
+* Wed Oct 30 2013 Grozdan Nikolov <neutrino8@gmail.com> 8.5.3
83
+   * Added -demuxer lavf for more reliable detection of audio streams in file input mode
84
+   * Implemented virtually infinite support for the amount of audio tracks. This introduces
85
+     a new variable in the config file, MAX_AMOUNT_AUD_TRACKS, where the user can specify
86
+     how many audio tracks he/she wants the script to support.
87
+   * Enabled multi-channel support for Opus audio
88
+   * Moved the MKV audio filters metadata after the audio codec/language metadata
89
+   * Fixed copy and pcm audio encoding
90
+   * If user chooses PCM for subsequent audio tracks, don't error out but just skip the track
91
+   * Some minor clean-ups
92
+   
93
+* Tue Oct 29 2013 Grozdan Nikolov <neutrino8@gmail.com> 8.5.2
94
+   * Added support for the Opus audio codec. Requires opusenc and a recent version of
95
+     mkvtoolnix with support for Opus
96
+   * Renamed track_echo_func() to audio_track_echo_func() for consistency
97
+   * Added support for setting the AC-3 Exponent strategy search size
98
+   * Allow applying an LFE low-pass filter for AC-3 audio
99
+   * Improved aften options passing
100
+   * Updated the man page
101
+   
102
+* Mon Oct 28 2013 Grozdan Nikolov <neutrino8@gmail.com> 8.5.1
103
+   * Bugfix: codec detection for 2nd and 3rd audio track from DVDs did not work correctly
104
+   * Updated the man page
105
+   
106
+* Thu Oct 24 2013 Grozdan Nikolov <neutrino8@gmail.com> 8.5.0
107
+   * Allow encoding of 640 kbps AC-3 audio
108
+   * Detect and display audio codec info when input is file
109
+   * Added support for setting the Dynamic Range Compression (DRC) profile for AC-3 audio
110
+   * Fixed AC-3 audio encoding by adding -readtoeof 1 which ignores WAV header signaling
111
+   * Renamed aften $AC3 var to $AC3ENC
112
+   * Use AC-3 instead of AC3 in metadata info
113
+   
114
+* Mon Sep 02 2013 Grozdan Nikolov <neutrino8@gmail.com> 8.4.9
115
+   * Fix audio TID for MKV when using neroAacEnc as encoder
116
+   
117
+* Wed May 29 2013 Grozdan Nikolov <neutrino8@gmail.com> 8.4.8
118
+   * Removed workarounds for older MP4Box versions. As of this release, only gpac 0.5.0 and higher
119
+     are supported. SVN version is highly recommended, though
120
+   * When using AC3 audio, language TID for MKV was set to 1. It should be 0
121
+   
122
+* Tue May 28 2013 Grozdan Nikolov <neutrino8@gmail.com> 8.4.7
123
+   * Use aften for AC3 audio encoding as MEncoder is currently broken. This updates the config
124
+     file version to 18
125
+     
126
+* Wed May 22 2013 Grozdan Nikolov <neutrino8@gmail.com> 8.4.6
127
+   * Bugfix: add missing 384 kbps option for AC3 audio
128
+   * Notify the user when we first create the config file
129
+   * SAR is Sample Aspect Ratio, not Storage Aspect Ratio. Corrected this mistake
130
+   
131
+* Thu Apr 11 2013 Grozdan Nikolov <neutrino8@gmail.com> 8.4.5
132
+   * Use ffmpeg's MPEG12 decoder instead of the libmpeg12 one
133
+   * Updated the man page
134
+   
135
+* Thu Sep 27 2012 Grozdan Nikolov <neutrino8@gmail.com> 8.4.4
136
+   * Don't append '- chapter [id]' to output filename when user encodes only specific DVD chapters
137
+   * Change bad default bitrate value in DTS audio encoding to 384kbps.
138
+   
139
+* Mon Jan 02 2012 Grozdan Nikolov <neutrino8@gmail.com> 8.4.3
140
+   * Added support for setting the default video bitrate/quantizer and default audio codec
141
+     in the config file, which introduces three new variables; DEFAULT_VID_BITRATE,
142
+     DEFAULT_VID_QTZR and DEFAULT_AUD_CODEC. This bumps the config file version to 17
143
+   * Renamed variables DEFOUTPUT, DEFPATH and DEFBATCHDIR to DEFAULT_OUTPUT, DEFAULT_PATH
144
+     and DEFAULT_BATCHDIR
145
+   * Replaced some if conditionals in the -sc option by using 'test' directly
146
+   * Added an option to pass additional parameters to MEncoder. Useful if user wants to pass options
147
+     such as -mc 0 -noskip
148
+   * Added support for encoding to DTS audio through the dcaenc encoder which can be found
149
+     at: http://aepatrakov.narod.ru/dcaenc/
150
+   * Minor changes to the video_delogo_func() function. Use $sourcetype, $device, $vid and
151
+     $MPLAYEROPTS variables. Also use -nosound in MPlayer
152
+   * Improved the mkvtags file. Escape special characters like &, <, > and " in the Title field
153
+   * Use -vo dummy in MPlayer in the audio code. Seems to work better for some files
154
+   
155
+* Tue Mar 29 2011 Grozdan Nikolov <neutrino8@gmail.com> 8.4.2
156
+   * Added support for setting the crop rounding value
157
+   
158
+* Mon Mar 07 2011 Grozdan Nikolov <neutrino8@gmail.com> 8.4.1
159
+   * Fixed a bug in directory batch mode were wrong conditional was used to check
160
+     for the DEFOUTPUT variable
161
+   * Display which file is currently being processed in batch mode
162
+   * Check only for files while in batch mode
163
+   * Fixed the video_deblock_func() function. Wrong vars used
164
+   
165
+* Mon Jan 31 2011 Grozdan Nikolov <neutrino8@gmail.com> 8.4.0
166
+   * Use -demuxer lavf when trying to get the video length for bitrate calculation
167
+     for a target file size. Should be more reliable on M2TS/TS files
168
+   * Added support for the delogo filter and bumped config file version to 16
169
+   * Updated copyright dates
170
+   
171
+* Fri Nov 26 2010 Grozdan Nikolov <neutrino8@gmail.com> 8.3.9
172
+   * Remove double $HOME variable in the -scan option
173
+   
174
+* Fri Oct 29 2010 Grozdan Nikolov <neutrino8@gmail.com> 8.3.8
175
+   * Added support for setting subtitle codepage during hardcoding of external subs
176
+   * Added support for the audio equalizer filter. This updates the config file version
177
+     to 15
178
+   * Removed 'time' requirement
179
+   
180
+* Wed Sep 22 2010 Grozdan Nikolov <neutrino8@gmail.com> 8.3.7
181
+   * Workaround mencoder stupidity. With recent versions of mencoder that have subs
182
+     enabled by default (who came up with that great idea?), in case the user selects
183
+     to dump a sub for importing into mkv/mp4, during multipass encoding the first sub
184
+     will always get hardcoded due to missing -nosub option in the 2nd and 3rd pass code.
185
+     This is only valid for multipass encodes so people using one pass modes (-1p or -fq)
186
+     are safe.
187
+   * Small update to the -scan option. Just check if input file is there, regardless if
188
+     user provides the full path or not
189
+     
190
+* Sat Aug 07 2010 Grozdan Nikolov <neutrino8@gmail.com> 8.3.6
191
+   * Add -nosub to prevent auto-loading of subs
192
+   
193
+* Sat May 15 2010 Grozdan Nikolov <neutrino8@gmail.com> 8.3.5
194
+   * Small bugfix in the get_devices_func() function; script exits when user hits enter
195
+     to accept default device
196
+   * Updated the man page
197
+   
198
+* Wed May 05 2010 Grozdan Nikolov <neutrino8@gmail.com> 8.3.4
199
+   * Reworked a bit the audio channels decode/output function. This function also got
200
+     renamed from audio_channels_func() to audio_channels_decode_func()
201