Changes of Revision 65

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