Changes of Revision 69

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