Changes of Revision 73

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