Changes of Revision 312
h264enc.spec
Added
x
1
2
+# norootforbuild
3
+
4
+Name: h264enc
5
+Version: 10.1.2
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://h264enc.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 vorbis-tools opus-tools flac aften dcaenc mailx faac MPlayer mkvtoolnix pv
19
+
20
+
21
+%description
22
+h264enc is an advanced and powerful interactive menu-driven shell script written
23
+for the GNU/Linux operating system which can help you to encode a DVD, a video file,
24
+a directory with video files or a (S)VCD to the H.264/MPEG-4 Part 10/AVC video format
25
+using the MEncoder encoder from the MPlayer project and the libx264 library. It supports
26
+muxing the final encode from AVI to MKV, from AVI to OGM, from AVI to TS 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
+%__mkdir -p %{buildroot}/%{_docdir}/%{name}/matrices
37
+
38
+# binary
39
+%__install -D -m 755 %{name} %{buildroot}/%{_bindir}/%{name}
40
+
41
+# man
42
+gzip -9 man/%{name}.1
43
+%__install -D -m 644 man/%{name}.1.gz %{buildroot}/%{_mandir}/man1/%{name}.1.gz
44
+
45
+# doc
46
+%__install -m 644 doc/* %{buildroot}/%{_docdir}/%{name}
47
+%__install -m 644 matrices/* %{buildroot}/%{_docdir}/%{name}/matrices
48
+
49
+
50
+%clean
51
+rm -rf "%{buildroot}"
52
+
53
+
54
+%files
55
+%defattr(-,root,root)
56
+%{_bindir}/%{name}
57
+%{_mandir}/man1/%{name}.1.gz
58
+%{_docdir}/%{name}
59
+
60
+
61
+%changelog
62
+* Fri Jun 20 2014 Grozdan Nikolov <neutrino8@gmail.com> 10.1.2
63
+ * Fix a possible problem when detecting audio tracks when input is file
64
+ or blu-ray. We only grep for the generic word 'audio' which could result
65
+ in also printing lines that are not audio tracks but somehow carry the
66
+ 'audio' word in their tags. Fix it by using 'awk' before 'grep' to
67
+ only print the fourth column where lavf reports what type of track it is
68
+ * Set default DTS bitrate to 755 kbps. Also check if we don't exceed the
69
+ highest legal bitrate of 1509 kbps
70
+ * Due to a bug in the dcaenc encoder, floating-point WAV files get
71
+ wrongly interpreted as 32-bit integer ones. Work around this by adding
72
+ the format=s16le filter
73
+ * The 1536 kbps bitrate reported by MPlayer on some DTS files is technically
74
+ 1509 kbps, if we have to be accurate. Account for this by substracting
75
+ 27 kbps from the reported bitrate. Do the same for the reported 768 kbps
76
+ bitrate which is actually 755 kbps
77
+ * Report the kHz in addition to the Hz when displaying audio info for
78
+ found tracks
79
+ * When remuxing to MKV/MP4/OGM, instead of checking if a file is created
80
+ to make a decision if it was successful or not, use return codes from
81
+ the remuxing applications. Should be more reliable in telling the user
82
+ if it really succeeded or not. Unfortunately tsMuxeR doesn't return
83
+ anything so there's no other way than checking if there's an
84
+ output file.
85
+ * Lowered the scale factor in the calcbits() function from 3 to 2.
86
+ Also use | instead of @ as delimiter
87
+ * Tune a bit the subq values of the ani & anihq presets. Also turn on
88
+ trellis on all decisions (trellis=2) for the anihq preset
89
+
90
+* Thu Jun 19 2014 Grozdan Nikolov <neutrino8@gmail.com> 10.1.1
91
+ * Added support for the internal lavc AC-3 audio encoder. Now one
92
+ can choose between the lavc encoder (default) and the aften encoder.
93
+ The lavc encoder is set to default as aften has seen very little
94
+ development in the past years and is not as good as the lavc one
95
+ which is actively developed by the ffmpeg devs
96
+ * Fine-tune the volume filter by setting it to 4 after some tests
97
+ * Delete the file stored in the $AUDINFO variable
98
+ * When storing the MKV global tags while operating in batch mode,
99
+ test the variable $DIRTAGS for not being empty
100
+ * Cosmetics: add a few echo's at specific places to separate the
101
+ cmd lines in the batch file for better readability. Also add
102
+ a comment block for the start of the MKV, MP4, TS and/or OGM muxing
103
+ * Bugfix in the MKV/MP4 tags: do not add channel info when using MP3.
104
+ If we add channel info, it could result in "MP3 5.1" being added
105
+ to the audio tags, which is obviously wrong as MP3 only supports
106
+ stereo and mono channels
107
+ * Opus supports sampling rates from 8 kHz to 48 kHz. Support this
108
+ in the resampling code
109
+
110
+* Wed Jun 18 2014 Grozdan Nikolov <neutrino8@gmail.com> 10.1.0
111
+ * When scanning for audio tracks when input is file or blu-ray,
112
+ rename DCA (as reported by lavf) to DTS to not confuse the user.
113
+ Also rename AC3 to AC-3 for consistency
114
+ * In case audio encoder is fdkaac, add to the MKV tags the audio
115
+ format used (eg, Signed 16-bit little endian)
116
+ * When dumping chapters from files, use the file extension .chaps
117
+ for MKV. Also test to see if there's already a chapters file with
118
+ the same name and rename it to <filename>.chaps.old
119
+ * aac-enc name in the MKV tags is not very descriptive, so add
120
+ (fdkaac) to it
121
+ * Cosmetics
122
+
123
+* Tue Jun 17 2014 Grozdan Nikolov <neutrino8@gmail.com> 10.0.9
124
+ * Bugfix: only call audio filters on subsequent tracks when running MPlayer
125
+ to decode since for the first track we already pass these filters to
126
+ MEncoder, thus if we also use them when running MPlayer we'll get a
127
+ double effect
128
+ * Add a ^ (caret) at the beginning of grep when trying to get the [lavf]
129
+ text to make sure we only grep the correct instances
130
+ * Set default CRF/QP value to 19 and for bitrate based encodes to 2000 kbps
131
+ * For the volume audio filter, set the default value to 3 as 5 is a bit high
132
+
133
+* Mon Jun 16 2014 Grozdan Nikolov <neutrino8@gmail.com> 10.0.8
134
+ * New method to detect and display audio info when input is file or blu-ray.
135
+ In comparison to the previous basic method, the new one will display
136
+ for each found audio track the codec, channels, language, bitrate and
137
+ sample rate info. It does take slightly longer to detect in case there
138
+ are many audio tracks, but it is more descriptive and accurate
139
+
140
+* Sun Jun 15 2014 Grozdan Nikolov <neutrino8@gmail.com> 10.0.7
141
+ * Use an if instead of a case when dumping chapters from files
142
+ * Also export chapter extraction commands to the batch file
143
+ * Display mkvextract availability when using the sanity check option (-sc)
144
+ * Add the path and name to the comment block of the batch file. Makes
145
+ it easy to focus on the comment block to know for which file the
146
+ commands are instead of needing to inspect the code itself to find
147
+ out
148
+
149
+* Wed Jun 11 2014 Grozdan Nikolov <neutrino8@gmail.com> 10.0.6
150
+ * Added support for dumping chapters info from MKV/MP4 input files
151
+ This updates the config file version to 30 as mkvextract is needed
152
+ * Made the audiofmt variable an array variable
153
+ * Moved asking for sample encoding before asking to inspect or save the
154
+ options to a file
155
+
156
+* Sat May 24 2014 Grozdan Nikolov <neutrino8@gmail.com> 10.0.5
157
+ * Fixed the detect_fps_func() function for detecting the NTSC type
158
+ * Lowered the spugauss (variance param for gauss subtitle scaling)
159
+ from 0.7 to 0.4 as 0.7 does too much blurring in my opinion
160
+
161
+* Thu May 22 2014 Grozdan Nikolov <neutrino8@gmail.com> 10.0.4
162
+ * Bugfix: $demuxer var was missing in the AUDCH array var which resulted
163
+ in incorrect channel info being added to the tags when copying audio.
164
+ DVD input was not affected by this bug, but file/dir/bd input was as
165
+ they all use the $demuxer var
166
+
167
+* Sat Apr 26 2014 Grozdan Nikolov <neutrino8@gmail.com> 10.0.3
168
+ * Removed unused $AUDFIFO variable
169
+ * Small bugfix: audio language for metadata tagging wasn't added to the global
170
+ tags for MKV when input is Blu-ray due to missing 'bd' param in the case
171
+ statement
172
+
173
+* Wed Apr 23 2014 Grozdan Nikolov <neutrino8@gmail.com> 10.0.2
174
+ * Bugfix: in case user chooses audio copy, the metadata info for tagging
175
+ always defaulted to "Stereo". Fix this by running MPlayer to detect
176
+ the proper amount of channels
177
+
178
+* Tue Apr 22 2014 Grozdan Nikolov <neutrino8@gmail.com> 10.0.1
179
+ * Bugfix: wrong var used, $chanuse instead of $chandec, for setting
180
+ the decode channels
181
+ * Only call the video_subtitles_scale_func() function if the user
182
+ actually provides an external sub for hardcoding
183
+
184
+* Thu Apr 17 2014 Grozdan Nikolov <neutrino8@gmail.com> 10.0.0
185
+ * Allow the video_subtitles_align_func() function for mks matroska
186
+ subtitles
187
+ * Display the warning message in red for when something goes wrong
188
+ when importing/hardcoding subs. Do the same for when checking
189
+ support for a sub format for MKV/MP4/OGM
190
+ * Added support for subtitles for Blu-ray encodings. Note that only
191
+ hardcoding of external sub or importing of external subs into the
192
+ MKV/MP4/OGM containers is supported
193
+ * Removed some duplication by placing the code for hardcoding an
194
+ external sub or importing external subs into its own
195
+ video_subtitles_option_func() function
196
+ * Increased the rc_lookahead value for the ehq, uhq and ihq presets
197
+ to 80, 90 and 100, respectively
198
+ * When copying audio and using some of the portable device presets,
199
+ also add the -mc 0 -msglevel demuxer=-1 options to MEncoder
200
+ * More code optimizations and minor fixes
201
+
202
+* Wed Apr 16 2014 Grozdan Nikolov <neutrino8@gmail.com> 9.9.8
203
+ * Use proper extensions when copying the audio as MP4Box has a
204
+ problem with recognizing the .raw extension
205
+ * Renamed the named pipe from audio.wav to audio.pipe. Also
206
+ placed it in a variable to reduce some minor duplication
207
+ * Added support for subtitle scaling for when hardcoding an
208
+ external sub or hardcoding an embedded one. Requested by
209
+ lib3rty1 from the the Doom9.org forum
210
+ * Added --no-chapters option to mkvmerge for when encoding
211
+ with neroAacEnc in order not to auto-copy chapters info
212
+ from the container
213
+ * Instead of defaulting to 0 kbps if we can't detect the audio
214
+ bitrate when copying audio and needing to calculate the video
215
+ bitrate for a target file size , ask the user to provide it
216
+ in case he knows it or can figure it out
217
+ * Set the default exponent strategy value for AC-3 to 16
218
+ * Placed frequently used MPlayer options into a single variable,
219
+ $MPOPTS, in order not to write them over and over again when
220
+ we need them. These options are not used everywhere as
221
+ sometimes we need other specific ones when detecting something
222
+ * Improved priority level checks for regular users if the PRIORITY
223
+ variable is set in the config file
224
+ * Bugfix: audio resampling was not possible for Blu-rays due to
225
+ missing bd param in the case statement
226
+ * Merge the Blu-ray output code with that of the file/vcd as it's
227
+ identical
228
+ * Some minor code optimizations
229
+
230
+* Tue Apr 15 2014 Grozdan Nikolov <neutrino8@gmail.com> 9.9.7
231
+ * Allow the channels filter for the portable device presets
232
+ * Reorder the audio filters positions
233
+ * Placed the $MENCOPTS variable in front in MEncoder in order
234
+ for it to not overwrite the options already set
235
+ * For AC-3 audio, default to 384 kbps instead of 192 kbps and
236
+ default to "Film Standard" as DRC profile
237
+ * For MP3 audio, default to 192 kbps instead of 128 kbps when
238
+ doing CBR encodes and to "standard" when using a preset
239
+ * For NEROAAC and FDKAAC, default to 128 kbps instead of 96 kbps
240
+ when using LC-AAC mode
241
+ * Better wording in what the Output option does in the
242
+ audio_channels_decode_func() function
243
+ * Modification to the audio_codec_exit_func() function. Use this
244
+ function also to exit in case of an unsupported audio codec.
245
+ By using this function, some repeatability is removed
246
+ * Fixed a bug in the PCM audio code for the calculation of video
247
+ bitrate for a target file size. Variable $AUDIO_BITRATE
248
+ should be an array variable instead of a normal one
249
+ * Added support for Blu-ray angle encoding
250
+ * Reduced some duplication by placing the message into a single
251
+ variable when we exit in case an audio encoder is missing
252
+ * MEncoder currently has issues with copying audio. Work it
253
+ around by using -mc 0 -msglevel demuxer=-1 options which disable
254
+ its automatic A/V sync. With this, MEncoder may report 0 or some
255
+ large random number on some files for the audio but one can safely
256
+ ignore it. Audio is still being copied
257
+ * If the user chooses audio copy and selects to remux the encode
258
+ to MKV, the global tags did not contain the audio encoder string.
259
+ Fix this by adding "Unknown (Stream Copy)" since we don't know
260
+ which program was used to encode the audio
261
+ * In case we try to copy AAC audio from the input, we need to pass
262
+ the correct format to MEncoder or it will error out. Thus, use
263
+ -fafmttag 0x706d if we detect AAC
264
+ * Fixed a bug where copying AAC audio as as subsequent track
265
+ did not result in that track being added when remuxing to MP4
266
+ due to a missing ffaac param in the case statement
267
+ * When doing video bitrate calculations for a target file size and
268
+ copying the audio, try to better detect the audio bitrate. If we
269
+ can't detect it or it's reported as 0 kbps, default to 0 kbps
270
+ * Small improvements and cleanups here and there
271
+
272
+* Sun Apr 13 2014 Grozdan Nikolov <neutrino8@gmail.com> 9.9.6
273
+ * Rewrote the audio_channels_decode_func() function. It is now
274
+ possible to output channels different that the decoded
275
+ channels amount. Note that this filter is very basic which
276
+ means it will output silent channels if the decoded channels
277
+ are less than the output channels
278
+ * Added chanfilter variable to the aac_hev2_func() function
279
+ * Support all supported channels in the PCM bitrate code for
280
+ target file size calculation
281
+ * Removed channels variable for MEncoder when copying audio
282
+ for subsequent tracks as it has no effect
283
+ * Display an informative message if the user has set a default
284
+ audio codec in the config file. Also check if we support it
285
+ or print an error message and exit
286
+ * Updated the channels metadata info code due to changes in the
287
+ audio_channels_decode_func() function
288
+ * Modifications to the audio_filters_func() and audio_filters_var_func()
289
+ functions
290
+ * Some small code cleanups
291
+
292
+* Sat Apr 12 2014 Grozdan Nikolov <neutrino8@gmail.com> 9.9.5
293
+ * Improved resolution detection for Blu-rays
294
+ * Improved the nlq preset
295
+ * Don't call the audio_channels_decode_func when copying the audio as
296
+ audio is copied 1:1 thus we don't need to set any channels
297
+ * Insert the channels filter in case the user wishes to have 4 or 5
298
+ audio channels when decoding higher or lower amount of channels
299
+ * Various small code improvements
300
+
301
+* Sat Apr 12 2014 Grozdan Nikolov <neutrino8@gmail.com> 9.9.4
302
+ * Cosmetics: add an echo between the total found titles for Blu-ray and
303
+ the info about each title
304
+ * Cosmetics: remove double-quotes in empty echo's
305
+ * Display full seconds value for each found Blu-ray title
306
+ * Small code optimization to Blu-ray chapters info. Use a single variable
307
+ that holds the title we need to scan for chapters
308
+ * Warn and fallback to 8 channels in case user provides more than 8 channels
309
+ * Added support for PCM audio for subsequent audio tracks
310
+
311
+* Thu Apr 10 2014 Grozdan Nikolov <neutrino8@gmail.com> 9.9.3
312
+ * Display the length in seconds and minutes for every found Blu-ray title
313
+ * Implemented basic chapters encoding support for Blu-rays
314
+ * Rewrote the code for subtitles imports for MKV/MP4/OGM
315
+ * For DVDs/BDs, set default channels value to 6 when using other than copy
316
+ for audio
317
+
318
+* Wed Apr 09 2014 Grozdan Nikolov <neutrino8@gmail.com> 9.9.2
319
+ * Allow importing of mks (Matroska stream) subtitles into MKV. Such files
320
+ are usually created when dumping subs with the GUI version of mkvmerge
321
+ * Add -nosub when importing external subtitles into MKV/MP4/OGM to prevent
322
+ auto-loading of any embedded subs in the input file
323
+ * Use case statements to check the values of the $MAX_AMOUNT_AUD_TRACKS and
324
+ $MAX_AMOUNT_SUBS variables
325
+ * Auto-cropping was not possible when input is Blu-ray due to missing bd
326
+ param in the case statement
327
+ * Set default audio channels decode option to 6 when input is Blu-ray
328
+
329
+* Tue Apr 08 2014 Grozdan Nikolov <neutrino8@gmail.com> 9.9.1
330
+ * Fixed not being able to calculate video bitrate for target file size
331
+ when input is Blu-ray, due to missing $demuxer variable when calling
332
+ MPlayer
333
+ * Fixed DVD scanning in the -scan option
334
+ * Support Blu-ray scanning in the -scan option
335
+ * Display in the -sc option if MEncoder has Blu-ray support
336
+ * Warn and exit if user chooses Blu-ray as input but MEncoder doesn't support it
337
+ * Placed the $device and $vid variables after the $MPLAYEROPTS one in order for
338
+ the custom MPlayer options not to possibly overwrite these variables
339
+ * Modified the get_devices_func() function to allow files/folders as input
340
+ so that a user can scan a DVD ISO or VIDEO_TS directory, not just discs
341
+ * Fixed the colorprim code. $device and $vid variables were missing when
342
+ calling MPlayer to get the resolution height
343
+
344
+* Mon Apr 07 2014 Grozdan Nikolov <neutrino8@gmail.com> 9.9.0
345
+ * Initial, basic support for encoding from Blu-ray discs/ISOs/directories.
346
+ Requires MPlayer to be compiled with libbluray. As libbluray doesn't
347
+ support encrypted Blu-rays, it is not possible to encode such Blu-rays.
348
+ Encryption must first be stripped before encoding with h264enc
349
+ * Reduced some duplication in the audio code for the first track for MKV
350
+ * Adjusted the vbv_maxrate and vbv_bufsize for the bd40 and bdhq40 presets
351
+ to comply with the level limits
352
+
353
+* Sat Mar 29 2014 Grozdan Nikolov <neutrino8@gmail.com> 9.8.7
354
+ * Merged the neroaac/fdkaac part of the MP4Box code as they're identical
355
+ * Use a case statement to decide between --bluray and --avchd for tsMuxeR
356
+ * A few more function renaming to carry the _func at the end
357
+
358
+* Fri Mar 28 2014 Grozdan Nikolov <neutrino8@gmail.com> 9.8.6
359
+ * Fix a syntax error
360
+
361
+* Fri Mar 28 2014 Grozdan Nikolov <neutrino8@gmail.com> 9.8.5
362
+ * Use a single variable for keyint for the Blu-ray/AVCHD presets. Reduces a bit of duplication
363
+ * Reduced some duplication in the check_audio_codec_func() function by moving some of
364
+ the error messages into a new audio_codec_exit_func() function
365
+ * Allow muxing to TS when using neroAacEnc and/or FDKAAC in LC-AAC mode
366
+ * Merged the NEROAAC/FDKAAC parts in the mkvmerge code as they're identical, thus we
367
+ reduce a bit of duplication
368
+ * Updated the man page
369
+
370
+* Mon Mar 24 2014 Grozdan Nikolov <neutrino8@gmail.com> 9.8.4
371
+ * Add audio encoder info to the MKV global tags
372
+ * Renamed the mencoder_opts() function to mencoder_opts_func() for consistency reasons
373
+ * Fixed subtitles metadata info in the MKV global tags
374
+
375
+* Sun Mar 23 2014 Grozdan Nikolov <neutrino8@gmail.com> 9.8.3
376
+ * Bugfix: If using nosound and dumping subsequent subs, the audio option
377
+ for MEncoder was set to -ao null which is not recognized by MEncoder.
378
+ Change it to -nosound instead
379
+
380
+* Sat Mar 22 2014 Grozdan Nikolov <neutrino8@gmail.com> 9.8.2
381
+ * Bugfix: for subsequent audio tracks, when using neroAacEnc as encoder,
382
+ the value of --aac-is-sbr used for HE-AAC by mkvmerge was set to 1:1. It
383
+ should be 0:1
384
+ * Use the AACTYPE variable instead of the aacprof variable to check which
385
+ type of AAC the user wants in the neroaac_audio_func() function
386
+ * In VBR mode for audio encoders that support it, indicate which values
387
+ result in better quality, ie based on the encoder a lower value results
388
+ in higher quality or the reverse
389
+
390
+* Fri Mar 21 2014 Grozdan Nikolov <neutrino8@gmail.com> 9.8.1
391
+ * Set the default crop rounding value to 4 for more accurate cropping
392
+ * Initial support for the FDK AAC audio encoder. Requires latest git from
393
+ https://github.com/mstorsjo/fdk-aac/commits/read-streamed-wav
394
+
395
+* Thu Feb 13 2014 Grozdan Nikolov <neutrino8@gmail.com> 9.8.0
396
+ * Bugfix: dumping subs did not work when input is a VIDEO_TS DVD folder.
397
+ Patch by Harry Gunnarsson
398
+
399
+* Sun Feb 02 2014 Grozdan Nikolov <neutrino8@gmail.com> 9.7.9
400
+ * Added support for hardcoding embedded subtitles in files
401
+ * Use -nosub for hadrcoding an external subtitle to prevent
402
+ auto-loading of any embedded subtitles in the input
403
+ * Use -ao null instead of -nosound
404
+
405
+* Sat Jan 18 2014 Grozdan Nikolov <neutrino8@gmail.com> 9.7.8
406
+ * New variable in the config file, DELETE_AVI_AFTER_REMUX, to automatically delete
407
+ the AVI file after remuxing. This updates the config file version to 27
408
+ * Renamed the 480 and 576 params of the colorprim_func() function to ntsc and pal
409
+
410
+* Fri Jan 03 2014 Grozdan Nikolov <neutrino8@gmail.com> 9.7.7
411
+ * Allow relative paths when storing options to the batchfile
412
+ * Updated copyright dates
413
+
414
+* Fri Nov 15 2013 Grozdan Nikolov <neutrino8@gmail.com> 9.7.6
415
+ * Allow importing of PGS subtitles into the MKV container
416
+ * Improved chapters file handling for MKV/MP4/OGM when input is file
417
+
418
+* Fri Nov 08 2013 Grozdan Nikolov <neutrino8@gmail.com> 9.7.5
419
+ * Added support for importing a chapters file for MKV/MP4/OGM when input is file
420
+ * Added support for setting the audio language code for MKV/MP4/OGM/TS when input is file
421
+ * Added support for setting the subtitle language code when importing subs into MKV/MP4/OGM
422
+
423
+* Sat Nov 02 2013 Grozdan Nikolov <neutrino8@gmail.com> 9.7.4
424
+ * Fixed copying of E-AC-3 audio
425
+ * Set default value for 3D frame packing to 3 (side by side)
426
+ * Moved some audio selection code into the new set_audio_codec_func() function.
427
+ Reduces some code duplication and removes the default_audio_codec_func() function
428
+
429
+* Fri Nov 01 2013 Grozdan Nikolov <neutrino8@gmail.com> 9.7.3
430
+ * Merged the file and dvd audio detection/selection code
431
+ * Merged the audio code for the first and subsequent tracks
432
+ * Set a default audio ID based on input (ie, 0 for file and 128 for DVD)
433
+ * Use -demuxer lavf for file and dir input
434
+ * Small improvements to the subtitles code
435
+ * Renamed the -help switch to -h
436
+ * Improved the way audio tracks information is presented to the user
437
+ * Make destination dir if it doesn't exist for saving to the batchfile
438
+ * Updated the man page
439
+
440
+* Thu Oct 31 2013 Grozdan Nikolov <neutrino8@gmail.com> 9.7.2
441
+ * Fixed exporting of the NERORMAUD variable to the batch file
442
+ * Implemented support for virtually an infinite amount of subtitles. This introduces a new
443
+ variable, MAX_AMOUNT_SUBS, to the config file where the user can set the amount of subtitles
444
+ he/she wants h264enc to support
445
+ * Added output name to the message of the mail notification feature
446
+ * Fixed the nosound audio option
447
+ * Renamed the rmtemp() function to exit_func()
448
+ * Return proper exit codes. 0 on success, 1 on error and 2 on user interrupt
449
+
450
+* Wed Oct 30 2013 Grozdan Nikolov <neutrino8@gmail.com> 9.7.1
451
+ * Enabled multi-channel support for Opus audio
452
+ * Moved the MKV audio filters metadata after the audio codec/language metadata
453
+ * Fixed copy and pcm audio encoding
454
+ * If user chooses PCM for subsequent audio tracks, don't error out but just skip the track
455
+ * Some minor clean-ups
456
+
457
+* Tue Oct 29 2013 Grozdan Nikolov <neutrino8@gmail.com> 9.7.0
458
+ * Fix copying of subsequent audio tracks
459
+
460
+* Tue Oct 29 2013 Grozdan Nikolov <neutrino8@gmail.com> 9.6.9
461
+ * Various bugfixes for multi-track audio support
462
+
463
+* Tue Oct 29 2013 Grozdan Nikolov <neutrino8@gmail.com> 9.6.8
464
+ * Added -demuxer lavf for more reliable detection of audio streams in file input mode
465
+ * Implemented virtually infinite support for the amount of audio tracks. This introduces
466
+ a new variable in the config file, MAX_AMOUNT_AUD_TRACKS, where the user can specify
467
+ how many audio tracks he/she wants h264enc to support.
468
+
469
+* Mon Oct 28 2013 Grozdan Nikolov <neutrino8@gmail.com> 9.6.7
470
+ * Implemented support for 2nd and 3rd audio track when using "file" as input
471
+ * Bugfix: when using Opus audio, calculating target file size was not possible
472
+ * Added support for setting the AC-3 Exponent strategy search size
473
+ * Allow applying an LFE filter to the AC-3 audio
474
+ * Improved aften and opusenc options passing
475
+
476
+* Mon Oct 28 2013 Grozdan Nikolov <neutrino8@gmail.com> 9.6.6
477
+ * Added support for the Opus audio codec. Requires opusenc and a recent version of
478
+ mkvtoolnix with support for Opus
479
+ * Updated the man page
480
+
481
+* Sun Oct 27 2013 Grozdan Nikolov <neutrino8@gmail.com> 9.6.5
482
+ * Bugfix: codec detection for 2nd and 3rd audio track from DVDs did not work correctly
483
+
484
+* Sat Oct 26 2013 Grozdan Nikolov <neutrino8@gmail.com> 9.6.4
485
+ * Restrict the AVCHD presets to AC-3 and COPY audio
486
+ * Update the audio selection for the Blu-ray presets. DTS audio was supported but it
487
+ wasn't displayed in the selection
488
+ * Renamed function track_echo_func() to audio_track_echo_func() for consistency
489
+
490
+* Wed Oct 23 2013 Grozdan Nikolov <neutrino8@gmail.com> 9.6.3
491
+ * Added support for setting the Dynamic Range Compression (DRC) profile for AC-3 audio
492
+ * Renamed aften $AC3 variable to $AC3ENC
493
+ * Use AC-3 instead of AC3 naming in metadata info
494
+
495
+* Tue Oct 22 2013 Grozdan Nikolov <neutrino8@gmail.com> 9.6.2
496
+ * Added -readtoeof 1 option to the aften AC3 encoder. This ignores WAV header signaling
497
+ and fixes encoding from a named pipe
498
+
499
+* Sun Oct 20 2013 Grozdan Nikolov <neutrino8@gmail.com> 9.6.1
500
+ * Added support for encoding to 640 kbps AC3 audio
501
+
502
+* Tue Jul 02 2013 Grozdan Nikolov <neutrino8@gmail.com> 9.6.0
503
+ * Fix audio TID for MKV when using neroAacEnc as encoder
504
+
505
+* Tue Jun 11 2013 Grozdan Nikolov <neutrino8@gmail.com> 9.5.9
506
+ * Set correct color prims, transfers and matrix coeffs for Blu-ray/AVCHD SD resolutions
507
+ * Removed space between two questions
508
+ * Removed the sd* and hd* presets. They are useless
509
+ * Updated the man page
510
+
511
+* Tue Jun 11 2013 Grozdan Nikolov <neutrino8@gmail.com> 9.5.8
512
+ * Set VBV maxrate to 18k and VBV bufsize to 17k for the AVCHD presets
513
+ * Added support for frame packing for 3D video
514
+ * Add fake_interlaced to the AVCHD presets
515
+
516
+* Mon Jun 10 2013 Grozdan Nikolov <neutrino8@gmail.com> 9.5.7
517
+ * Add fake_interlaced flag to 25fps/29.970fps content when using the Blu-ray presets. It allows
518
+ to encode progressive 25p and 30p content but flags it as interlaced for Blu-ray compliance
519
+
520
+* Sun Jun 09 2013 Grozdan Nikolov <neutrino8@gmail.com> 9.5.6
521
+ * Add rc_lookahead to the Blu-ray/AVCHD presets
522
+ * When input is file, detect and display info about audio codec, channels, sample rate and bitrate
523
+
524
+* Sat Jun 08 2013 Grozdan Nikolov <neutrino8@gmail.com> 9.5.5
525
+ * Enable weightp for the Blu-ray/AVCHD HQ presets. In order to have a broader compatibility
526
+ with older Blu-ray players (mostly ones with buggy MediaTek chips), weightp is set to 1 and not 2
527
+ * Set VBV maxrate to 40000 and VBV buffer to 30000 for the Blu-ray presets
528
+ * Set color primaries, transfer characteristics and matrix coeffs to bt709 for the Blu-ray/AVCHD presets
529
+ * Set default position of the expand filter to after the scale filter
530
+
531
+* Fri Jun 07 2013 Grozdan Nikolov <neutrino8@gmail.com> 9.5.4
532
+ * Improved the expand filter code
533
+ * Optimized the Blu-ray/AVCHD HQ presets for better quality
534
+
535
+* Wed May 29 2013 Grozdan Nikolov <neutrino8@gmail.com> 9.5.3
536
+ * Removed workarounds for older MP4Box versions. As of this release, only gpac 0.5.0 and higher
537
+ is supported. SVN version is highly recommended, though
538
+ * Improved AC3 and MP3 audio handling
539
+ * Removed turbo option. It is no longer needed
540
+ * When using AC3 audio, language TID for MKV was set to 1. It should be 0
541
+
542
+* Tue May 28 2013 Grozdan Nikolov <neutrino8@gmail.com> 9.5.2
543
+ * Fix OGM muxing with AC3 audio
544
+
545
+* Tue May 28 2013 Grozdan Nikolov <neutrino8@gmail.com> 9.5.1
546
+ * Use aften for AC3 audio encoding as MEncoder is currently broken. This bumps up the config
547
+ file version to 22
548
+
549
+* Tue May 21 2013 Grozdan Nikolov <neutrino8@gmail.com> 9.5.0
550
+ * Bugfix: add missing 384 kbps option for AC3 audio
551
+ * Notify the user when we first create the config file
552
+ * SAR is Sample Aspect Ratio, not Storage Aspect Ratio. Corrected this mistake
553
+
554
+* Thu Apr 11 2013 Grozdan Nikolov <neutrino8@gmail.com> 9.4.9
555
+ * Use ffmpeg's MPEG12 decoder instead of the libmpeg12 one
556
+
557
+* Mon Oct 01 2012 Grozdan Nikolov <neutrino8@gmail.com> 9.4.8
558
+ * Added bluray_compat=1 parameter to the Blu-ray and AVCHD presets
559
+ * Use 'true' instead of 'false' where appropriate
560
+ * Updated the man page
561
+
562
+* Wed Sep 26 2012 Grozdan Nikolov <neutrino8@gmail.com> 9.4.7
563
+ * Change bad default bitrate value in DTS audio encoding to 384kbps.
564
+
565
+* Mon Apr 16 2012 Grozdan Nikolov <neutrino8@gmail.com> 9.4.6
566
+ * Bugfix: FAAC encoding was using wrong language TID in mkvmerge. Should be 0 instead of 1 as
567
+ we no longer encapsulate AAC in MP4
568
+ * Removed --no-chapters mkvmerge option for FAAC encoding. It's no longer needed as we no longer
569
+ store the AAC audio in MP4 container
570
+
571
+* Sat Apr 07 2012 Grozdan Nikolov <neutrino8@gmail.com> 9.4.5
572
+ * Don't require FAAC to be compiled with MP4 container support (the -w option). Some distro's
573
+ do not compile FAAC with MP4 support so play it safe and assume FAAC isn't compiled with
574
+ MP4 support
575
+
576
+* Tue Feb 21 2012 Grozdan Nikolov <neutrino8@gmail.com> 9.4.4
577
+ * Only 'sed' mbtree for multi-pass mode
578
+ * Don't append "- chapter [id]" to output file when encoding only specific chapters
579
+
580
+* Tue Jan 03 2012 Grozdan Nikolov <neutrino8@gmail.com> 9.4.3
581
+ * Use -vc dummy in MPlayer in the audio code. Seems to work better on some files
582
+
583
+* Sun Jan 01 2012 Grozdan Nikolov <neutrino8@gmail.com> 9.4.2
584
+ * Use a separate variable in config file for setting the default CRF or QP value (DEFAULT_VID_CRFQP).
585
+ This bumps the config file version to 21
586
+ * Renamed the DEFOUTPUT, DEFPATH and DEFBATCHDIR variables to DEFAULT_OUTPUT, DEFAULT_PATH and
587
+ DEFAULT_BATCHDIR
588
+ * Be slightly more portable by using #!/usr/bin/env bash instead of #!/bin/bash shebang
589
+ * Replaced some if conditionals in the -sc option by using 'test' directly
590
+ * Added an option for passing additional MEncoder parameters. Useful for when the user wants to
591
+ use something like -mc 0 -noskip, for example
592
+ * Added support for encoding to DTS audio through the dcaenc encoder which can be found at
593
+ http://aepatrakov.narod.ru/dcaenc/
594
+ * Minor changes to the video_delogo_func() function. Use $sourcetype, $device, $vid and
595
+ $MPLAYEROPTS variables. Also use -nosound in MPlayer
596
+ * Improved the mkvtags file. Escape special characters like &, <, > and " in the Title field
597
+
598
+* Mon Oct 10 2011 Grozdan Nikolov <neutrino8@gmail.com> 9.4.1
599
+ * Introduced two new variables in the config file, DEFAULT_VID_BITRATE and DEFAULT_AUD_CODEC.
600
+ The first one sets the default video bitrate or CRF/QP value while the second one can
601
+ be used to set a default audio codec. This change updates the config file to version 20
602
+ * Fixed a typo in man page
603
+
604
+* Sun Aug 20 2011 Grozdan Nikolov <neutrino8@gmail.com> 9.4.0
605
+ * Disable mbtree in multipass mode to prevent segfaulting MEncoder due to differences in
606
+ frames amount in the passlog file. Disabling mbtree reduces quality but saves us a crash
607
+ in MEncoder
608
+ * Notify the user that the script does not support AAC in AVI anymore. Also exit if user
609
+ has not selected any of the other supported containers
610
+
611
+* Mon Aug 08 2011 Grozdan Nikolov <neutrino8@gmail.com> 9.3.9
612
+ * Bugfix: selecting the x264 internal denoiser does nothing due to missing $nr variable
613
+ in the MEncoder options
614
+
615
+* Sat Jul 23 2011 Grozdan Nikolov <neutrino8@gmail.com> 9.3.8
616
+ * Update the mq, nq, hq, vhq, ehq, uhq and ihq presets. Increase subme by 1. For the ihq
617
+ preset, this means that it uses subme 11 now which requires latest x264 from git
618
+
619
+* Sun May 15 2011 Grozdan Nikolov <neutrino8@gmail.com> 9.3.7
620
+ * Removed the ssim and psnr options from the presets. Should only be used for benchmarking
621
+
622
+* Sun Apr 04 2011 Grozdan Nikolov <neutrino8@gmail.com> 9.3.6
623
+ * Fixed the subtitles function which got broken when the get_selection_func()
624
+ function got introduced
625
+
626
+* Tue Mar 29 2011 Grozdan Nikolov <neutrino8@gmail.com> 9.3.5
627
+ * Added support for setting the crop rounding value
628
+
629
+* Wed Mar 09 2011 Grozdan Nikolov <neutrino8@gmail.com> 9.3.4
630
+ * Fix option 4 and 5 of the video_deblock_func() function. Wrong vars used
631
+
632
+* Mon Feb 21 2011 Grozdan Nikolov <neutrino8@gmail.com> 9.3.3
633
+ * Fixed a bug in directory batch mode were wrong conditional was used to check
634
+ for the DEFOUTPUT variable
635
+ * Display which file is currently being processed in batch mode
636
+ * Check only for files while in batch mode
637
+ * Do not exit if user types an incorrect answer to y/n questions. Instead, ask
638
+ the question again. Patch by Jan-Hendrik Peters and friends
639
+
640
+* Sat Jan 08 2011 Grozdan Nikolov <neutrino8@gmail.com> 9.3.2
641
+ * Use -demuxer lavf when trying to get the video length for bitrate calculation
642
+ for a target file size. Should be more reliable on M2TS/TS files
643
+ * Add support for the delogo filter. Patch by Haiko Michelfeit <haiko AT zsyndikat DOT org>
644
+ Config file version is bumped to 19
645
+ * Updated copyright dates
646
+
647
+* Sun Dec 05 2010 Grozdan Nikolov <neutrino8@gmail.com> 9.3.1
648
+ * Fix for the custom preset (cp) option
649
+
650
+* Fri Nov 26 2010 Grozdan Nikolov <neutrino8@gmail.com> 9.3.0
651
+ * Remove double $HOME variable in the -scan option
652
+
653
+* Fri Oct 29 2010 Grozdan Nikolov <neutrino8@gmail.com> 9.2.9
654
+ * Fix typo in the backup_file_func(): exisiting -> existing
655
+ * Workaround multichan FAAC encoding. FAAC somehow does not like multichan PCM from
656
+ MPlayer but it does if one treats it as raw using -P in FAAC. Nero/FLAC/Vorbis have
657
+ no issues, though. Go figure
658
+ * Added support for setting subtitle codepage during hardcoding of external subs
659
+ * Added support for the audio equalizer filter. This updates the config file version
660
+ to 18
661
+ * Removed 'time' requirement
662
+
663
+* Thu Sep 16 2010 Grozdan Nikolov <neutrino8@gmail.com> 9.2.8
664
+ * Workaround mencoder stupidity. With recent versions of mencoder that have subs
665
+ enabled by default (who came up with that great idea?), in case the user selects
666
+ to dump a sub for importing into mkv/mp4, during multipass encoding the first sub
667
+ will always get hardcoded due to missing -nosub option in the 2nd and 3rd pass code.
668
+ This is only valid for multipass encodes so people using one pass modes (-1p, -qp or -crf)
669
+ are safe.
670
+
671
+* Wed Sep 15 2010 Grozdan Nikolov <neutrino8@gmail.com> 9.2.7
672
+ * Small update to the -scan option. Just check if input file is there, regardless if
673
+ user provides the full path or not
674
+ * Enable trellis in some presets that use CAVLC
675
+
676
+* Mon Aug 23 2010 Grozdan Nikolov <neutrino8@gmail.com> 9.2.6
677
+ * Fixed a syntax error in the iphq preset
678
+
679
+* Sun Aug 22 2010 Grozdan Nikolov <neutrino8@gmail.com> 9.2.5
680
+ * Update QuickTime & iPhone presets. Patch by gongloo
681
+
682
+* Wed Jul 21 2010 Grozdan Nikolov <neutrino8@gmail.com> 9.2.4
683
+ * Typo fix in the display_quality_preset_func(); verslow -> veryslow. As this is an
684
+ informative function, it does not affect the encoding configuration
685
+ * Force -nosub option in case subtitles are skipped. This is to prevent auto-loading
686
+ of subs
687
+
688
+* Fri Jun 25 2010 Grozdan Nikolov <neutrino8@gmail.com> 9.2.3
689
+ * Added support for x264's preset, tune and profile options. This adds two additional
690
+ optional args [-t (for tune) and -pf (for profile)] which can only be used with an
691
+ x264 preset, not with the built-in script presets. If used with those, these args
692
+ will be ignored.
693
+ Examples on how to use x264 presets (which is also explained in the -help option)
694
+ h264enc -crf -p slow
695
+ h264enc -crf -p slow -t film
696
+ h264enc -crf -p slow -pf main
697
+ h264enc -crf -p slow -t film -pf high
698
+ One can also switch the -t and -pf options, eg: h264enc -crf -p slow -pf high -t film
699
+ * Updated the man page
700
+
701
+* Sat May 15 2010 Grozdan Nikolov <neutrino8@gmail.com> 9.2.2
702
+ * Small bugfix in the get_devices_func() function; script exits when user hits enter
703
+ to accept default device
704
+ * Remove AVI menu entry as supported container when using FAAC for audio encoding
705
+
706
+* Thu Apr 29 2010 Grozdan Nikolov <neutrino8@gmail.com> 9.2.1
707
+ * Reworked a bit the audio channels decode/output function. This function also got
708
+ renamed from audio_channels_func() to audio_channels_decode_func()
709
+ * Added support for the audio channels filter which can be used to add/remove/route channels
710
+ This updates the config file to version 17 and adds variable ALLOW_AUD_CHANNELS
711
+ * Bugfix: audio filters were not inserted when doing 1-pass encodes
712
+
713
+* Sat Apr 24 2010 Grozdan Nikolov <neutrino8@gmail.com> 9.2.0
714
+ * Switch to using external FAAC encoder to work around an issue in mkvmerge where
715
+ it flags AAC audio taken from an AVI as being Main profile regardless if LC profile
716
+ is used for encoding or not. Problem noticed & reported by benpro. This updates the
717
+ config file to version 16 and requires FAAC to be installed.
718
+ * Same small cleanups
719
+ * Updated the man page
720
+
721
+* Sun Mar 28 2010 Grozdan Nikolov <neutrino8@gmail.com> 9.1.9
722
+ * Replaced sed with awk for checking available disk space. Should work better on
723
+ FreeBSD systems. Patch by ennob from doom9
724
+ * Updated interlace options and presets to support the latest x264 from git. Note
725
+ that due to these changes, h264enc's presets are incompatible with older x264
726
+ versions so please upgrade to latest x264 from git!
727
+ * Small update to the preset.cfg file
728
+
729
+* Thu Mar 18 2010 Grozdan Nikolov <neutrino8@gmail.com> 9.1.8
730
+ * Small bugfix: keyint and keyint_min weren't passed on to MEncoder when using some
731
+ presets
732
+
733
+* Tue Mar 16 2010 Grozdan Nikolov <neutrino8@gmail.com> 9.1.7
734
+ * Space escaped some previously missed variables
735
+ * Use one variable in the presets (x264params) for all MEncoder x264 encoding options.
736
+ Reduces some code and simplifies things a bit
737
+ * Updated the preset.cfg file to support the "one variable for all x264 encoder opts"
738
+ Note: those using custom preset files for encoding should read the preset.cfg file
739
+ in the doc dir and adapt their existing preset files to be compatible with the
740
+ changes. Previous older custom presets written by users will not work with this and
741
+ future versions of h264enc!
742
+
743
+* Thu Feb 18 2010 Grozdan Nikolov <neutrino8@gmail.com> 9.1.6
744
+ * Added new veriable 'DEFOUTPUT' to the config file which can be used to set a default
745
+ output directory. This updates the config to version 15
746
+ * Modified the set_output_filename_func() function to support the above variable.
747
+ - If the DEFOUTPUT variable is empty, user can either provide just the output
748
+ name for the encode (in this case the script assumes $HOME as output dir), or
749
+ the full path and output name, which in this case the script will create the
750
+ output dir if it's not present or will do a write test when the dir is present
751
+ to see if it's writable by the user. If creation of output dir or the write test
752
+ fails, the script exits with a notice.
753
+ - If the DEFOUTPUT variable contains a custom output dir, the script will test for
754
+ it and create it if it's not present. If creation fails, the script exits with a
755
+ notice. If the dir is present, the script will do a write test to see if the
756
+ custom dir is writable. If not, the script exits with a notice.
757
+ - The DEFOUTPUT variable can be overwritten on the command line. This means that if
758
+ user has set a custom output dir in the DEFOUTPUT variable but provides a path when
759
+ asked on the command line, that path will be used instead of the one in the DEFOUTPUT
760
+ variable. The script then will either check and create the provided output dir on
761
+ the command line (if that dir is not present) or will do a write test if the dir
762
+ is present. Upon failure of creation or write test, the script exits with a notice.
763
+ If no path is provided on the command line but only the output name for the encode,
764
+ the script will use the one set in the DEFOUTPUT variable.
765
+
766
+* Sat Jan 30 2010 Grozdan Nikolov <neutrino8@gmail.com> 9.1.5
767
+ * Reduced duplication in the audio encode exporting code by moving it inside functions
768
+ * Reduced duplication in the MKV/MP4/TS/OGM exporting code by moving it inside functions
769
+ * Reduced duplication in the code that prints some information before encoding starts
770
+ * Various minor code improvements
771
+
772
+* Thu Jan 21 2010 Grozdan Nikolov <neutrino8@gmail.com> 9.1.4
773
+ * Set default H.264 level to 'auto' and also accept integer numbers as levels in addition
774
+ to accepting fixed point ones, ie both 41 and 4.1 are now accepted as valid levels
775
+ * Renamed the rmconf() function to rmtemp()
776
+ * Moved creation of temp dir, the interrupt_func() and rmtemp() functions at the beginning
777
+ of the script
778
+ * Fixed a bug in the DVD part of the -scan option where lsdvd doesn't get a valid device
779
+ passed. Bug was introduced due to changes in the new get_devices_func() function
780
+ * Reduced duplication in the mencoder_opts() function
781
+ * Various small code improvements
782
+
783
+* Tue Jan 19 2010 Grozdan Nikolov <neutrino8@gmail.com> 9.1.3
784
+ * Made the TEMPDIR variable escape spaces in directory names
785
+ * Small update to the mkvtags_func() function
786
+ * Removed the -a52drc option for AC3 encoding
787
+ * Added new x264 intra_refresh option to the script and the preset.cfg file
788
+ * Added two new variables, DVD_DEVICE and CDROM_DEVICE, to the config file where user
789
+ can set a default block device to encode from. This updates the config file to version 14
790
+ * Merged the get_dvd_devices_func() and get_vcd_devices_func() functions into a new one
791
+ called get_devices_func()
792
+
793
+* Wed Dec 23 2009 Grozdan Nikolov <neutrino8@gmail.com>
794
+ * Fixed a severe bug that can cause in some cases severe data loss when using a
795
+ custom temp directory. It manifests itself when using a 'top' directory as custom
796
+ temp directory such as a partition mount point or even the user's home directory.
797
+ In such cases, the top directory will be deleted upon script termination or when encoding
798
+ finishes, resulting in possible massive data loss due to rm -rf $TEMPDIR if TEMPDIR was
799
+ set to, for example, /home/username or points to a mount point or another directory that
800
+ may be important to the user.
801
+ From now on, always use a job<pid> directory inside the one set in the TEMPDIR variable
802
+ so it'll only delete the job<pid> directory and not its parent one, minimizing possibility
803
+ of a data loss disaster
804
+ * Set nomixed_refs for the iphq/iphhq presets
805
+
806
+* Thu Dec 10 2009 Grozdan Nikolov <neutrino8@gmail.com>
807
+ * Disabled weightp for the AppleTV presets
808
+ * Added new option sliced_threads present in latest x264 from git
809
+ * Enabled b_pyramid for some presets that use mbtree as it now works with mbtree
810
+ * Updated the preset.cfg file. Added sliced_threads option
811
+ * Changed all video ALLOW_* variables in the config file to ALLOW_VID_*
812
+ * When using dd to dump a DVD to an ISO, use options noerror,sync and a bs size of 2048
813
+ * Added support for sending mails. This requires the 'mailx' program and a valid .mailrc
814
+ file in the home directory. Mail notification can be enabled in the config file of
815
+ h264enc which also offers an example of a gmail setting for .mailrc
816
+ * Bumped config file version to 13
817
+ * Updated copyright dates
818
+
819
+* Mon Nov 09 2009 Grozdan Nikolov <neutrino8@gmail.com>
820
+ * Implemented a simple telecine detector for NTSC DVDs. Currently it's a dumb solution
821
+ which can't distinguish between hard telecine and interlacing but it's enough to
822
+ detect soft telecine and mixed progressive/telecine content which is more common
823
+ * Simplified the FPS detection code
824
+ * Update to all presets: added new weightp x264 option. This requires latest x264
825
+ revision from git
826
+ * Updated the preset.cfg file. Added weightp option
827
+ * Small general code improvements and cosmetics
828
+
829
+* Wed Nov 04 2009 Grozdan Nikolov <neutrino8@gmail.com>
830
+ * Replaced a few if conditionals with case statements in the neroaac_audio_func() function
831
+ * Sed a comma at the end of resolution detection in case we're dealing with TS files. The
832
+ default TS demuxer in MPlayer has a comma at the end of the resolution info which results
833
+ in errorneous behavior in the bc calculation
834
+ * Simplified the resolution detection code
835
+ * Some small cleanups
836
+
837
+* Mon Oct 19 2009 Grozdan Nikolov <neutrino8@gmail.com>
838
+ * Force stereo audio for Nero HE-AACv2 as it doesn't support anything else, thus
839
+ it results in failure if user tries to encode with more than two channels. This
840
+ updates the audio_channels_func() function and also adds a small new independent
841
+ one called neroaac_hev2_func() which only sets the channels to two if the channels
842
+ array variables are empty, as is the case when the user did not set the channels
843
+ * Small improvements to the ABR/VBR default audio bitrates for the neroAacEnc encoder.
844
+ Base the default bitrates on the chosen AAC profile, i.e. if user chooses HE-AACv1,
845
+ default bitrate will be 55 kbps or in case of quality-based VBR encoding a value of
846
+ 0.22. For LC-AAC and HE-AACv2, default bitrates and quality values will be 96 kbps
847
+ or 0.35 and 25 kbps or 0.11, respectively. Note that this assumes the input audio is
848
+ stereo so if it's anything else than that, it's up to the user to decide on bitrates
849
+ or quality values
850
+ * Set default to a capital letter in questions where one needs to answer with y or n
851
+ * Update to all presets: updated the b_pyramid option to use the new args none/strict/normal
852
+ present in latest x264 revision. Note that this requires both latest MPlayer from SVN
853
+ and latest x264 revision from git
854
+ * Small b_pyramid update to the preset.cfg file
855
+
856
+* Sat Oct 17 2009 Grozdan Nikolov <neutrino8@gmail.com>
857
+ * Added new function video_subtitles_align_func() for subtitle alignment control.
858
+ Requested by blaz on doom9.org forum.
859
+ * Added new x264 option 'constrained_intra' to the preset.cfg file.
860
+ * Added detection of VFR content (1000 fps as reported by MPlayer).
861
+ * Added X264_VERSION and MKVMERGE_VERSION entries to the mkvtags_func() function.
862
+ * Simplified a bit the audio exporting code for the first track.
863
+
864
+* Thu Sep 24 2009 Grozdan Nikolov <neutrino8@gmail.com>
865
+ * MP3 (MPEG1 Layer 3) only supports sample frequencies of 32, 44.1 and 48 kHz
866
+ so restrict to those only in the audio_resample_func() function
867
+ * Set default for the pp7 deblocker to 3
868
+ * Fixed example typo in the DVD chapters code
869
+ * Insert the ilpack filter before the scaler to correctly align chroma channels
870
+ when preserving interlacing
871
+ * Added AUDIO_CODEC_TRACK[1|2|3], AUDIO_LANGUAGE_TRACK[1|2|3] and H264ENC_PARAMETERS
872
+ entries to the mkvtags_func() function
873
+ * Enabled adaptive transform for the AppleTV HQ preset (atvhq)
874
+ * Improved checking the availability of block devices
875
+ * Added option 'global_header' to the preset.cfg file
876
+
877
+* Wed Sep 16 2009 Grozdan Nikolov <neutrino8@gmail.com>
878
+ * Small bugfix: setting the H.264 level for the fghq preset wasn't possible
879
+ * Small bugfix: the counter in set_output_filename_func() didn't increase itself
880
+ * Added SOURCE, VIDEO_FILTERS, AUDIO_FILTERS_TRACK[1|2|3], ENCODER and X264_PARAMETERS
881
+ entries to the mkvtags_func() function
882
+
883
+* Mon Sep 14 2009 Grozdan Nikolov <neutrino8@gmail.com>
884
+ * Use only lowercase words in all case statements that deal with the input source
885
+ * Some small improvements to the exit info in the audio code
886
+ * Placed the -passlogfile option inside the PASSLOG variable
887
+ * Set psy_rd to 0.3 for the Anime presets
888
+ * Allow setting the H.264 level for the PC presets to "auto" so libx264 will
889
+ decide itself which level to use based on options and resolution used
890
+ * Added support for 2-pass Nero AAC audio encoding. Note that 2-pass is only
891
+ supported by ABR/CBR encoding and ensures that the output quality is constant
892
+ (like VBR) while also ensuring that a specified output bitrate is achieved
893
+ (like CBR). Requested by punlo on doom9.org
894
+
895
+* Sun Sep 06 2009 Grozdan Nikolov <neutrino8@gmail.com>
896
+ * Fixed a typo in the man page, MEnocder -> MEncoder
897
+ * Small improvement to how the MKV XML tagging file gets exported. Also improved
898
+ the XML formatting and added COMMENT string with text "Tagged by h264enc $version"
899
+ * Added comment tag for MP4 and OGM with the same text as above
900
+ * Small update to the video_deinterlace_func() function's menu
901
+ * Add comment header with dates to batch files
902
+
903
+* Fri Sep 04 2009 Grozdan Nikolov <neutrino8@gmail.com>
904
+ * Added new option sync_lookahead available in latest x264 git and updated the
905
+ preset.cfg file
906
+ * Added support for the noise video filter. This change updates the config file
907
+ to version 12. Also, encoding priority now defaults to a nice value of 10 in
908
+ the config file
909
+ * Moved out the code which checks and backups/renames a file if it has the same
910
+ name as the output provided by the user to a separate function called
911
+ backup_file_func() and also improved it so that if there's already an existing
912
+ backup file, the new one will increase its count number by one thus there's no
913
+ more overwriting being done anymore. The same thing applies to existing chapter
914
+ files and DVD subs
915
+ * Added support for Year and Genre metadata tagging for the MKV/MP4/OGM containers.
916
+ For MKV, the genre and year is set globally using an automatically generated XML
917
+ file. MP4 uses the iTunes tagging and OGM the comment space
918
+ * Updated the man page
919
+
920
+* Tue Sep 01 2009 Grozdan Nikolov <neutrino8@gmail.com>
921
+ * Simplified the audio_channels_func() function a bit
922
+ * Merged the QP and CRF settings
923
+ * Increased rc_lookahead a bit for the ehq, uhq and ihq presets
924
+ * Improved detection of DVD audio language codes. We now specifically grep for the
925
+ language word and then print the 2nd positional which gives us the language code.
926
+ It works more reliably if the DVD does not report its language code for the audio track(s)
927
+ so if this is the case, we fall back to undefined language. The previous code fails in
928
+ such cases due to the printing of the 8th positional which will print the "aid:" part when
929
+ there's no language code after the "language:" word, resulting in MKV/MP4 muxing failures.
930
+ Reported by WalterK from doom9.org
931
+ * Moved the code that deals with DVD subs/cover files/metadata info/chapters and external
932
+ subs for the MP4 container before its audio code
933
+ * Added slicing to the Blu-ray and AVCHD presets. It increases compliancy with the Blu-ray
934
+ specs. Slicing is only available in the latest x264 from git so please upgrade if you
935
+ intend to use the Blu-ray/AVCHD presets
936
+ * Added new options 'slices', 'slice_max_size' and 'slice_max_mbs' to the preset.cfg file
937
+ * Fixed chapters import for the OGM container. Missing '@' before the chapters input file
938
+ results in the file not being imported
939
+ * Added support for audio language metadata info for the OGM container
940
+ * Small improvements to how chapters information is added to the output file name
941
+
942
+* Sat Aug 15 2009 Grozdan Nikolov <neutrino8@gmail.com>
943
+ * Renamed presets f9 and f9hq to fl and flhq
944
+ * Added new preset 'fghq' specifically optimized for preserving film grain
945
+ * Removed duplicate videofilters variable. This removes the check for the tfields filter
946
+ as now deinterlacing will always be done after cropping (which also speeds up things a bit)
947
+ so the crop filter will never complain about crop area being outside of the original if
948
+ tfields is used. It also reduces filters maintenance a bit
949
+ * Turn soft-clipping on in the volume audio filter
950
+ * Use aq_mode=1 for presets that have mbtree enabled as it usually does better on fades than
951
+ aq_mode=2
952
+ * Updated the man page
953
+
954
+* Tue Aug 11 2009 Grozdan Nikolov <neutrino8@gmail.com>
955
+ * Reduced the amount of if conditional iterations for setting the scaler interlace variable
956
+ * Print full path of the output file(s) at the end of encoding
957
+ * 10L: forgot to enable MB tree for the anihq preset
958
+ * Replaced variable CONFIGDIR with TEMPDIR. This change updates the config file to version 11
959
+ * Fixed some spacings issues by moving around some echo's
960
+ * Simplified the sample encoding code. Reduced some code duplication
961
+ * Upped psy_rd from 0.6 to 0.8
962
+
963
+* Fri Aug 07 2009 Grozdan Nikolov <neutrino8@gmail.com>
964
+ * Added support for the audio panning filter. This change also updates the config file
965
+ to version 10
966
+ * Simplifications to the audio_filters_func() and audio_filters_var_func() functions
967
+ * Moved the audio filters functions after the audio codec ones
968
+ * Fixed a bug in the audio_channels_func() function for the AAC codec. If user just
969
+ hits return to accept the default AAC codec, the channels function was not called
970
+ due to missing "" in the first case statement of that function
971
+ * Enabled MB tree (macroblock tree ratecontrol) for the high quality presets and disabled
972
+ b_pyramid for presets that have mbtree enabled as it currently doesn't support it. Note that
973
+ mbtree produces a large passlog file when ran in 2-pass mode but can increase quality anywhere
974
+ between 2-70%, depending on the content. mbtree is only available in latest x264 git so
975
+ please upgrade
976
+ * Added new options mbtree, rc_lookahead and nopsy to the preset.cfg file
977
+
978
+* Sat Aug 01 2009 Grozdan Nikolov <neutrino8@gmail.com>
979
+ * Added new option -mfr which calculates the maximum allowed frame references within DPB
980
+ (Decoded Picture Buffer) limits for different H.264 levels and resolutions
981
+ * Call the track_echo_func() function inside the select_audio_codec_func() one. Removes
982
+ pointless duplication
983
+ * Don't call mplayer twice in the 2nd/3rd audio track code just to get the audio codec.
984
+ Also removed a pointless case statement
985
+ * Allow users to set the H.264 level when using the standard PC presets
986
+ * Fixed a few typos in the preset.cfg file
987
+ * Updated the man page
988
+
989
+* Thu Jul 30 2009 Grozdan Nikolov <neutrino8@gmail.com>
990
+ * Increased subq to 10 (QP-RD) for the IHQ preset. Requires latest x264 from git. Also
991
+ lowered frameref from 16 to 8 and bframes from 10 to 7
992
+ * Add example on how to encode only specific DVD chapters. Some people keep bugging me
993
+ about this while it's actually very simple
994
+
995
+* Fri Jul 24 2009 Grozdan Nikolov <neutrino8@gmail.com>
996
+ * Switched to the new Auto-variance AQ (aq_mode=2) for all presets. This requires latest x264
997
+ revision from git so please upgrade!
998
+ * Decreased frame references for all iPod presets to 1 and increased subq to 8 for the HQ iPod
999
+ presets
1000
+ * Minor improvments to the set_output_filename_func() function
1001
+ * Merged the audio code of the portable device presets. Moderately reduces code duplication in
1002
+ the audio functions calling code
1003
+ * Added two new presets (ag1 and ag1hq) for Android G1 devices. This brings the total presets
1004
+ count to 60
1005
+ * Added support for the new gradfun debanding video filter. Although mostly recommended for playback
1006
+ due to the fact that encoding tends to bring back banding, it can be useful to deband input
1007
+ sources which show pretty bad and very noticable banding effects before passing the content
1008
+ to the encoder. The gradfun filter is only available in MPlayer SVN. This also adds a new
1009
+ variable ALLOW_DEBAND to the config file where one can enable or disable this filter
1010
+ * Added a small while loop to the video_crop_func() function which will keep asking the user for
1011
+ new crop values until he's satisfied with them. Patch by elektronaut from Doom9.org
1012
+ * Added a new variable PRIORITY to the config file which can be used to set a global priority
1013
+ nice value for the encoding process. The values one can use are between (and including)
1014
+ -20 and 19. However, if the script detects that the variable has a negative nice value
1015
+ set and the script is being executed with regular user privileges, it will print a notice
1016
+ and exit. This change updates the config file to version 9
1017
+ * Updated the man page
1018
+
1019
+* Wed Jul 08 2009 Grozdan Nikolov <neutrino8@gmail.com>
1020
+ * Added detection for E-AC3 audio for stream copy and updated the MKV/TS muxing code to support it
1021
+ * Added new option -spr which calculates the Storage and Pixel Aspect Ratios (SAR/PAR) for various
1022
+ resolutions
1023
+ * Display the amount of chapters each DVD title has when scanning for titles
1024
+ * Display total pixels, SAR and PAR when scanning a file/vcd with the -scan option
1025
+ * Added --no-chapters mkvmerge option for audio files encoded by neroAacEnc so that chapters
1026
+ won't be copied over to the MKVs from these files
1027
+ * Small update to the install script
1028
+ * Updated the man page. Fix some small cosmetic issues, patch by Alessio Treglia
1029
+
1030
+* Wed Jul 01 2009 Grozdan Nikolov <neutrino8@gmail.com>
1031
+ * Fallback to undefined audio language in the AUDLANG[$i] variables if we detect unknown language
1032
+ from MPlayer's output
1033
+ * Added support for bitrate-based ABR Vorbis encoding in addition to quality-based VBR. ABR mode
1034
+ in Vorbis resembles quality-based VBR except the encoder averages a given nominal bitrate
1035
+ * Updated the Vorbis part of the video bitrate calculation code
1036
+ * Added new function ratio_and_pixels_func() which calculates and displays the Storage Aspect Ratio (SAR),
1037
+ Pixel Aspect Ratio (PAR) and total pixels from resolution
1038
+ * Bugfix for track 1 in the internal audio encoding code. If using aacplusenc to encode audio, the case
1039
+ statement had a wrong selection value (aac++ instead of aac+) resulting in displaying a failed message
1040
+ and forcing an exit even though the encoding may have succeeded
1041
+ * Simplifications to the internal audio encoding code which reduce code duplication
1042
+ * Small fixes to the video bitrate calculation code
1043
+ * Small tuning to the Blu-ray/AVCHD presets
1044
+ * Small cleanups
1045
+
1046
+* Fri Jun 26 2009 Grozdan Nikolov <neutrino8@gmail.com>
1047
+ * Set default audio codec for the Blu-ray/AVCHD presets to AC3
1048
+ * Bugfix to the OGM muxing code. Second/third track were ignored when one selects AC3 audio
1049
+ * Added keyint, keyint_min, nr and interlaced variables to the custom preset skeleton file 'preset.cfg'
1050
+ * Moved the AACTYPE variable to the neroaac_audio_func() function and updated the specific parts
1051
+ that use it in the MKV/MP4 muxing code
1052
+ * Do not automatically detect audio sample rate in directory batch encoding mode. Only do it
1053
+ for single file/dvd/vcd encodings as in batch mode, detection will only print the sample rate of
1054
+ the first file but not the other files in the directory so this can mislead the user in thinking
1055
+ that all files in the directory have the sample rate reported by the script. It is possible to
1056
+ implement sample rate detection for all files but since we don't know how many files are in
1057
+ the directory, I do not want the user to see a full screen with sample rate info of each file if
1058
+ he deals with a directory with a few hundreds or more files in it
1059
+ * Disallow autocropping, if enabled in the config file, for directory batch encodings
1060
+ * Small reordering to the MP4 muxing code
1061
+ * Small update to the install script
1062
+ * Updated the man page
1063
+
1064
+* Wed Jun 24 2009 Grozdan Nikolov <neutrino8@gmail.com>
1065
+ * Removed audio filters for the 1st pass in 2-pass encoding and for the 1st & 2nd pass of
1066
+ a 3-pass encoding. They are useless here and it's something I've overlooked for a long
1067
+ time. Thanks to Mat Kanner for noticing and reporting
1068
+ * Some small changes to the way we pass FPS to MP4Box
1069
+ * Added support for MP4 hinting for RTP/RTSP sessions
1070
+ * Simplifications to the external subs importing code. Also fixed a bug in the MP4 subs
1071
+ importing code; missing -add option in the MP4SUBS variable will make MP4Box fail
1072
+ * Merged the MKV tagging code with the muxing one
1073
+ * Added support for detection of WMA audio for stream copy
1074
+ * Added support for per track audio codecs for DVD encodings. The user can now select
1075
+ if he wishes for each track a different audio codec. Mixing audio stream copy with
1076
+ compression codecs is also possible
1077
+ * Updated all relevant audio functions to support per track audio codecs
1078
+ * Updated the bitrate calculation code to support per track audio codecs
1079
+ * Updated the container muxing code to support the above audio changes
1080
+
1081
+* Mon Jun 22 2009 Grozdan Nikolov <neutrino8@gmail.com>
1082
+ * Small improvement to the MKV/MP4 tagging code: support audio tagging of single file
1083
+ encodes with audio stream copy
1084
+ * Use array variables ${SUBFILE[2] and ${SUBFILE[3] instead of ${OUTPUT%.*}_sub2
1085
+ and ${OUTPUT%.*}_sub3 when dumping the second/third DVD subtitles
1086
+ * Simplified the MKV cover art importing code
1087
+ * Small improvements to video bitrate calculation with audio stream copy
1088
+ * Use only one named pipe for all tracks when encoding to neroAAC/AAC+/Vorbis/FLAC
1089
+ * Major audio code restructuring and partial rewrite. Converted virtually all audio
1090
+ code variables to array variables. This allows for easy extensibility and much less
1091
+ code duplication. It's very easy now to add as much audio tracks as one may want to the
1092
+ code with very little changes/updates needed to the containers code. Also the current
1093
+ changes may allow very easily to support different audio codecs per track in the future
1094
+ * Added support for a third DVD audio track
1095
+ * Updated the video bitrate calculation for target size to support the above audio changes
1096
+ * Converted most of the variables in the video_subtitles_func() function to arrays. This
1097
+ moderately reduces some code duplication
1098
+ * Updated the container muxing/tagging code to support the above audio changes
1099
+ * Use external flac encoder to encode to FLAC audio as doing it through mencoder is terribly
1100
+ broken. This updates the config file to version 8 and adds the 'flac' encoder as dependency
1101
+ * Set the default resampling filter to lavcresample as the other one gives problems when
1102
+ encoding to FLAC audio and resampling
1103
+
1104
+* Wed Jun 19 2009 Grozdan Nikolov <neutrino8@gmail.com>
1105
+ * Simplifications to the MKV tagging code which reduces some code duplication
1106
+ * Bugfix: FAAC acodec2 variable has wrong mpeg value. Must be mpeg=4 instead of mpeg4.
1107
+ This results in failure in encoding of the second audio track when one selects
1108
+ FAAC as encoder
1109
+ * Bugfix: FLAC audio was ignored for the second track due to missing value in the selection
1110
+ of the case statement
1111
+ * Added support for tagging of MKV files when doing a directory batch encoding
1112
+ * Replaced the IMPSUB1, IMPSUB2 and IMPSUB3 variables, used to import subs when input type
1113
+ is file/directory/vcd, by array variables EXTSUB[1], EXTSUB[2] and EXTSUB[3]. This allows
1114
+ for less code duplication as these array variables are shared by all input types (including DVD)
1115
+ and thus we only need to do a small loop and add their values if not empty to the
1116
+ MKVSUBS, MP4SUBS and OGMSUBS variables
1117
+ * Use as temp directory $HOME/.h264enc/job<PID>
1118
+ * Added new function audio_stream_copy_func() which will print a warning that audio stream copy
1119
+ in directory batch encoding mode is not recommended unless the user is certain that the files
1120
+ have a supported audio codec by the MKV/MP4/OGM/TS containers
1121
+ * Group audio filters under a submenu similar to how the video filters are grouped
1122
+ * Some small cleanups
1123
+
1124
+* Wed Jun 17 2009 Grozdan Nikolov <neutrino8@gmail.com>
1125
+ * Added support for per track audio bitrate for DVD encodings
1126
+ * Added support for per track audio normalization and volume adjustments for DVD encodings.
1127
+ Updated functions audio_volnorm_func() and audio_volume_func()
1128
+ * Added support for per track audio resampling for DVD encodings. Updated functions
1129
+ audio_resample_filters_func() and audio_resample_func()
1130
+ * Updated the video bitrate calculation code to support the above audio changes
1131
+ * Bugfix for the qt/bd/avchd presets: audio filters were not called for these presets
1132
+ * Added support for per track AAC profile settings (LC/HE/HEv2) when using the
1133
+ neroAacEnc audio encoder
1134
+ * Small modifications to the MKV/MP4 tagging and muxing code to support the
1135
+ per track neroAacEnc AAC profiles. This also includes optimizations to the way
1136
+ the tagging code handles different AAC profiles. If LC profile is chosen, audio will
1137
+ be tagged as LC-AAC (along with channels info). For HE and HEv2, audio will be tagged
1138
+ as HE-AACv1 and HE-AACv2 (along with channels info) respectively
1139
+ * Moved the MKV tagging code inside the MKV muxing code
1140
+ * Converted the EXTSUB1, EXTSUB2 and EXTSUB3 variables, used to import external DVD subs,
1141
+ to arrays so we can easily check different files for their file extensions
1142
+ * Only allow SRT subs as import into OGM. If another subs format is provided, the
1143
+ subs will be skipped. For MP4, do not allow ASS/SSA subs since it's not supported yet
1144
+ by MP4Box. For MKV, do not allow SUP and TTXT subs
1145
+
1146
+* Mon Jun 15 2009 Grozdan Nikolov <neutrino8@gmail.com>
1147
+ * Update to the video_subtitles_func() function: for DVD encodings, added support
1148
+ for importing up to three external subtitles into MKV/MP4/OGM. Also added
1149
+ support for hardcoding an external subtitle into the movie
1150
+ * Updated the MKV/MP4/OGM muxing code to support imports of external subtitles
1151
+ * Increased Psy RD from 0.5 to 0.6 for some presets
1152
+ * If dumping of the second and/or third DVD subtitle fails and user has selected to
1153
+ import the subs into MKV/MP4, force an exit since container conversion will fail as
1154
+ the muxing programs will complain about the missing subs. If no container conversion
1155
+ is chosen or user has chosen not to import the subs and dumping of subs fails, just
1156
+ continue since there's nothing critical in this case
1157
+ * Use mplayer -really-quiet option instead of redirection to /dev/null when dumping
1158
+ audio to a named pipe for neroAAC/Vorbis/AAC+ encoding
1159
+ * Some small updates to the man page
1160
+ * Updated the AUTHORS file
1161
+
1162
+* Fri Jun 12 2009 Grozdan Nikolov <neutrino8@gmail.com>
1163
+ * Replaced the --noaudio mkvmerge option with -A due to recent options changes
1164
+ in mkvmerge version 2.9.5. -A also works for older versions so nothing breaks here
1165
+ * Removed the check_outfile_func() function as its code has been added to the
1166
+ set_output_filename_func() function, which also has been improved
1167
+ * Added support for FLAC audio in MKV
1168
+ * Removed some code duplication in the MKV metadata tagging code
1169
+
1170
+* Tue Jun 09 2009 Grozdan Nikolov <neutrino8@gmail.com>
1171
+ * Added support for adding jpeg/png cover art files to MKV/MP4
1172
+ * Added audio language meta-info for MP4 and TS files
1173
+ * Improved audio language meta-info for MKV files. This also adds metadata
1174
+ info for the second audio track
1175
+ * Fixed a small bug: the --aac-is-sbr mkvmerge parameter should be set to 0:1
1176
+ for the second audio track when using aacplusenc as encoder
1177
+
1178
+* Mon Jun 08 2009 Grozdan Nikolov <neutrino8@gmail.com>
1179
+ * Add iTunes video title name to MP4 files
1180
+
1181
+* Sun May 24 2009 Grozdan Nikolov <neutrino8@gmail.com>
1182
+ * Use the same name for the log file as the output file name
1183
+ * Force using the libmpeg2 decoder when encoding DVDs/VCDs (works slightly better in specific
1184
+ cases compared to ffmpeg2)
1185
+ * Added support for IVTC 59.940 -> 23.976 fps
1186
+ * Some small code cosmetics
1187
+
1188
+* Tue May 12 2009 Grozdan Nikolov <neutrino8@gmail.com>
1189
+ * Added deinterlace combinations of Yadif + linear blend, linear interpolation, cubic
1190
+ interpolation, median deint, ffmpeg deint and lowpass 5
1191
+ * Cosmetics to the help menu
1192
+ * Added global audio function audio_filters_func() for calling the resample, volume
1193
+ normalizing and volume filters
1194
+ * Added 16 new variables to the config file for enabling/disabling of specific audio/video
1195
+ filters and containers: ALLOW_FPS_CONVERSION, ALLOW_SCALER_TUNING, ALLOW_DSIZE,
1196
+ ALLOW_EXPAND, ALLOW_COLORSPACE, ALLOW_ASPECT, ALLOW_AUD_RESAMPLE, ALLOW_AUD_NORMALIZE,
1197
+ ALLOW_AUD_VOLUME, ALLOW_MKV_MUXING, ALLOW_MP4_MUXING, ALLOW_TS_MUXING, ALLOW_OGM_MUXING,
1198
+ ALLOW_SAMPLE_ENCODING, ALLOW_SCAN_MULTIPLE_VIDSTREAMS and ALLOW_SCAN_MULTIPLE_AUDSTREAMS,
1199
+ the last two are only effective on file and directory batch encodings
1200
+ * Updated the man page
1201
+
1202
+* Thu May 7 2009 Grozdan Nikolov <neutrino8@gmail.com>
1203
+ * Automatically add the shebang line to batch files and make them executable
1204
+ * Added new variable ALLOW_AUTOCROP to the config file which allows the user to enable or
1205
+ disable automatic cropping
1206
+ * Added MP3 presets and updated target file size code to support them (requested by Rogério Brito)
1207
+ * Some minor adjustments to the hq, vhq, ehq, uhq and ihq presets; decrease b-frames by one
1208
+
1209
+* Wed Apr 29 2009 Grozdan Nikolov <neutrino8@gmail.com>
1210
+ - Small bugfix: video filters variables in the config file were not respected when one
1211
+ chooses to encode VCDs.
1212
+ - Add video title meta-data for MKV and OGM when doing directory batch encodings
1213
+
1214
+* Tue Apr 28 2009 Grozdan Nikolov <neutrino8@gmail.com>
1215
+ * Optimize some variables by replacing piping to sed with VARIABLE1="${VARIABLE2%.*}.ext"
1216
+ * Move out the built-in -loop 1 mplayer option to the config file's MPLAYEROPTS variable
1217
+ * Add support for enabling/disabling specific pre/postprocessing filters in the config file.
1218
+ This adds 7 new variables to the config file where the user can either enable to ask
1219
+ questions about a specific filter or disable a specific variable, thus skipping
1220
+ questions about the filter
1221
+ * Moved the video filters code to a new function called video_filters_func(). This also
1222
+ reduces a bit of code duplication
1223
+ * Add a new option -e which allows the user to edit the config file directly from within the
1224
+ terminal. This adds a new variable EDITOR to the config file where the user can set his
1225
+ preferred text editor (defaults to nano)
1226
+ * Silence possible dvdxchap warnings
1227
+ * Updated the man page
1228
+
1229
+* Thu Apr 26 2009 Grozdan Nikolov <neutrino8@gmail.com>
1230
+ * Bugfix: missing 's' in the sed expression of the MP4OUT variable. This results in
1231
+ missing output file and will fail when one tries to remux to mp4
1232