Moritz Bunkus
479e90b4b8
Stricter file type detection for MP4, AC3, AAC files
...
Fix for bug 574.
2010-10-31 10:52:04 +01:00
Moritz Bunkus
536c870f9c
Reverting "Intentional update"
...
Revert "Intentional update"
This reverts commit 4b70921fc5
.
2010-09-29 12:29:45 +02:00
Moritz Bunkus
7e91e15672
Merge remote branch 'origin/master'
2010-09-26 17:16:24 +02:00
Moritz Bunkus
4b70921fc5
Intentional update
2010-09-26 17:13:18 +02:00
Moritz Bunkus
39a62db954
Added a test case for merging chapter editions when appending
2010-09-19 23:50:15 +02:00
Moritz Bunkus
f0a7aacda0
Don't mistake track ID 0 for an audio track ID for AVIs
...
Fix for bug 558.
2010-09-19 11:21:02 +02:00
Moritz Bunkus
c79137a342
Don't use the default compression scheme if the CLI overrides it
2010-09-04 18:34:48 +02:00
Moritz Bunkus
302ebc5d13
Cosmetics
2010-09-01 23:02:38 +02:00
Moritz Bunkus
690e438281
Test case for mkvextract's exit code problem in 7da56bd
2010-09-01 23:02:33 +02:00
Moritz Bunkus
6ce57363f4
Detect key frame on IDR slice after non-IDR slice properly
2010-08-28 19:41:23 +02:00
Moritz Bunkus
e8cb69b122
Revert "Write attachments after the clusters"
...
This reverts commit b2408af990
.
Conflicts:
doc/man/po4a/po/nl.po
2010-08-26 10:53:34 +02:00
Moritz Bunkus
71c8a881ec
Handle 'fill one byte with void element' if the next element has max size length
...
kax_analyzer_c's code for handling a gap of one byte took the
following element, moved its header one byte to the front and rewrote
the size one byte bigger than before. This breaks if the following
element's size was already written with eight bytes. lavf creates such
files.
Fix for bug 536.
2010-08-24 20:24:54 +02:00
Moritz Bunkus
6a08ac3c25
Skip video tracks with width or height == 0
...
Fix for bug 538
2010-08-10 10:00:34 +02:00
Moritz Bunkus
34455fa79f
Always flush all packetizers
...
If --default-duration is used then the timecode factory applies
queueing. If the packetizer is not flushed then the timecode factory
is not flushed either. If the video frame does not end in a key frame
then the timecode factory will have frames left, and the packet queue
won't be empty resulting in lost frames.
2010-08-05 23:04:57 +02:00
Moritz Bunkus
8be02bab78
Intentional update due to recent translation updates
2010-07-29 19:08:09 +02:00
Moritz Bunkus
7411a50d03
Added a test case for compression handling
2010-07-28 12:20:34 +02:00
Moritz Bunkus
b31c6c28f8
Simply call ruby instead of ruby1.9
2010-07-27 15:55:37 +02:00
Moritz Bunkus
35b1bb1771
Fix DisplayWidth/Height values that are used for aspect ratio storage only
...
Some muxers (x264) only use the quotient of DisplayWidth/Height for
storing the aspect ratio and make the actual values very
small (e.g. 16x9 or 4x3). This is bad for demuxers that actually
follow the spec and use these values as the intended display
width/height in pixels.
So re-calculate sensible values for DisplayWidht & DisplayHeight based
on the values of PixelWidth & PixelHeight and the quotient
DisplayWidth / DisplayHeight.
2010-07-18 20:21:53 +02:00
Moritz Bunkus
a371c33157
Run tests ordered by the time they take (longest first)
...
Saves 20% in total execution time on a six core machine.
2010-07-18 12:27:17 +02:00
Moritz Bunkus
e04c86a492
Cosmetics, code refactoring
2010-07-18 11:54:20 +02:00
Moritz Bunkus
6fc34012b2
Intentional updates due to c56261ea
, ba9c82fc
and b2408af9
2010-07-12 18:01:58 +02:00
Moritz Bunkus
4608261eb5
Fix decision whether or not BITMAPINFOHEADER contains AVCC with or without NALUs
...
mpeg4::p10::avcc_to_nalus() always returns NALUs. Therefore the
decision whether or not to extract the NALU size length parameter from
the AVCC must not be based on this function's return value, but on the
structure of the data in the private data area of the BITMAPINFOHEADER
structure.
2010-07-06 22:42:34 +02:00
Moritz Bunkus
21cfbcc1c5
Test case for text files with mixed end-of-line markings
2010-07-06 09:09:19 +02:00
Moritz Bunkus
31cc795a5b
Don't write to non-free memory_c instances
...
Fix for bug 508.
2010-07-03 19:04:13 +02:00
Moritz Bunkus
dcb716961c
Fix nil.+ if a newly added test fails on its initial run
2010-06-29 13:39:22 +02:00
Moritz Bunkus
4a95a4ea34
Test case for h264 in NALUs in AVI
2010-06-29 13:38:52 +02:00
Moritz Bunkus
2109b51ec0
Start a new cluster before each key frame of a video track
...
Fixes bug 500 together with 89b533de.
2010-06-21 20:11:41 +02:00
Moritz Bunkus
1124df3851
Increase default cluster length to five seconds
2010-06-21 19:43:41 +02:00
Moritz Bunkus
812ee87d69
Always unlink temporary files
2010-06-19 12:38:55 +02:00
Moritz Bunkus
e11bf105a0
Use the PGS packetizers for PGS read from Matroska files
2010-06-18 17:58:31 +02:00
Moritz Bunkus
7f6c628ccf
Test case for PGS/SUP files
2010-06-18 12:24:21 +02:00
Moritz Bunkus
fd6fc9cd9c
Fix various bugs in run.rb after switch to multithreaded implementation
2010-06-18 12:24:12 +02:00
Moritz Bunkus
3e95747170
Uninterruptible message output
2010-06-18 09:10:05 +02:00
Moritz Bunkus
260c03bd2e
Detect number of threads to run automatically by number of processors present
2010-06-16 11:15:06 +02:00
Moritz Bunkus
07e0a4b29e
Parallel version of tests/run.rb activated by e.g. "-j2"
2010-06-16 00:26:19 +02:00
Moritz Bunkus
713f643218
Use header removal compression for MPEG 4 part 2 video tracks
2010-06-12 14:35:31 +02:00
Moritz Bunkus
1d484f202b
Intentional update due to 8c9d1cbf
2010-06-12 14:35:31 +02:00
Moritz Bunkus
3f71d3fafd
Use header removal compression for MP3 tracks
2010-06-12 14:34:58 +02:00
Moritz Bunkus
28f5d3d6e3
Use header removal compression for AC3 tracks
2010-06-12 14:34:57 +02:00
Moritz Bunkus
d22d331db6
Use header removal compression for DTS tracks
2010-06-12 14:34:57 +02:00
Moritz Bunkus
a912d2e3d5
Use header removal compression for Dirac tracks
2010-06-12 14:34:57 +02:00
Moritz Bunkus
ab68ac99d4
Missing 'default track flag' means '1' according to the specs
2010-06-07 19:33:01 +02:00
Moritz Bunkus
11df153af6
Intentional update
2010-06-03 14:29:53 +02:00
Moritz Bunkus
51790caf29
Added the Dutch translation to the test
2010-06-03 11:40:17 +02:00
Moritz Bunkus
8fb435e4d1
A test for Dirac elementary streams
2010-05-30 18:25:43 +02:00
Moritz Bunkus
d1b1826016
Removed support for extracting FLAC tracks into Ogg FLAC files
2010-05-28 17:17:26 +02:00
Moritz Bunkus
4143e1f37e
Intentional update due to shorted source file
2010-05-28 17:00:03 +02:00
Moritz Bunkus
4c72ed76fc
Intentional update due to shorted source file
2010-05-28 15:53:47 +02:00
Moritz Bunkus
c95f27a1f6
Support Ogg FLAC spec v1.1.1
...
Fix for bug 488.
2010-05-28 15:05:42 +02:00
Moritz Bunkus
9b9eb72679
Support for reading VP8 tracks from IVF files
2010-05-27 14:58:50 +02:00
Moritz Bunkus
9d34feb91e
Support for extracting VP8 tracks into IVF files
2010-05-27 14:32:40 +02:00
Moritz Bunkus
f35462ead1
Intentional update due to changes in libEBML
2010-05-26 12:48:52 +02:00
Moritz Bunkus
96d04a1862
Intentional update due to changes in libEBML
2010-05-25 23:00:15 +02:00
Moritz Bunkus
28e7673f51
mkvmerge/extract: Fixed handling of clusters with unknown size
2010-05-23 15:49:53 +02:00
Moritz Bunkus
0284dd6325
Intentional update
2010-05-23 13:18:37 +02:00
Moritz Bunkus
8bdfe028f0
Added Russian and Ukrainian translations to the interface language test
2010-05-22 21:43:42 +02:00
Moritz Bunkus
17e180370a
Pass found element from read_master() to calling function
...
Fixes handling of clusters with an unknown size.
2010-05-22 21:38:12 +02:00
Moritz Bunkus
5f14cede6f
Intentional update due to changes in libebml regarding unknown elements
...
Old tag ID
2010-05-22 20:46:33 +02:00
Moritz Bunkus
0275749999
Explicitely set subtitle charsets in tests
...
Due to the change to set the locale to UTF-8 in run.rb
2010-05-22 19:17:33 +02:00
Moritz Bunkus
5bd318428b
Cosmetics
2010-05-22 16:24:25 +02:00
Moritz Bunkus
938d313fee
Run tests with under a UTF-8 locale.
2010-05-22 16:24:17 +02:00
Moritz Bunkus
593e71e9d5
Don't write track header elements with default values
2010-05-19 14:49:58 +02:00
Moritz Bunkus
9a9f8d15cf
Don't put clusters into a meta seek element by default
2010-05-18 16:54:08 +02:00
Moritz Bunkus
407177705b
Fixed wrong EbmlID for 'video stereo mode'; libmatroska has the same fix
2010-05-09 16:54:40 +02:00
Moritz Bunkus
c53a825e11
Intentional update
2010-04-30 16:31:02 +02:00
Moritz Bunkus
0b858e973b
Intentional update
2010-04-29 21:33:06 +02:00
Moritz Bunkus
d3afc8525f
Test case for the fix for bug 486
2010-04-27 12:30:43 +02:00
Moritz Bunkus
f6dd2dbf76
Intentional update
2010-04-26 15:04:20 +02:00
Moritz Bunkus
594d0e9264
SSA/ASS: Add the "text" column specifier if it is missing in the "format" line
...
Fix for bug 483.
2010-04-11 18:16:05 +02:00
Moritz Bunkus
8f78d6174a
Intentional update
2010-04-09 21:40:03 +02:00
Moritz Bunkus
5c5225faa9
Always render the full EBML head
2010-04-07 17:11:33 +02:00
Moritz Bunkus
4d92439281
Added a test case for level 1 elements with size 0
2010-04-07 13:14:08 +02:00
Moritz Bunkus
72f24c04cc
Intentional update
2010-04-05 18:39:17 +02:00
Moritz Bunkus
8ef5c7d040
Intentional update due to translation updates
2010-04-05 18:39:17 +02:00
Moritz Bunkus
7e8b9d047d
Intentional update due to 0e0e9b3f
2010-03-29 22:10:31 +02:00
Moritz Bunkus
74e96a7353
Intentional update
2010-03-23 15:05:44 +01:00
Moritz Bunkus
d3139834ac
Intentional update due to usage of libebml from Subversion
2010-03-23 14:15:52 +01:00
Moritz Bunkus
9c7415c9df
Intentional update
2010-03-19 13:59:14 +01:00
Moritz Bunkus
dbad4117fb
Added support for Mac-style line endings in text files
2010-03-15 15:20:00 +01:00
Moritz Bunkus
2c6d6c9625
Write proper granulepos values for Vobis in Ogg
2010-02-26 11:42:22 +01:00
Moritz Bunkus
92182889be
Also read frames that aren't covered by edit lists
...
x264 creates edit list entries for some of the frames in a file. The
remaining frames (which are the vast majority) must be copied as well
but their timecodes don't need adjustment.
2010-02-18 20:11:42 +01:00
Moritz Bunkus
9f253d5d20
A test for the --version command line parameters.
2010-01-20 13:20:46 +01:00
Moritz Bunkus
f649ba5bab
Intentional update due to 5cf23031d6
.
2009-12-30 22:30:05 +01:00
Moritz Bunkus
2dfb1996c5
Reading chapters from MP4 files stored in tracks of subtype 'text'.
...
Fix for bug 454.
2009-12-30 22:20:14 +01:00
Moritz Bunkus
127f09ca0b
Handle negative timecodes in SRT files.
...
1. Parse timecode lines if their entries are negative.
2. Output a warning.
3. Adjust the timecodes to start at 00:00:00.000.
2009-12-26 22:05:00 +01:00
Moritz Bunkus
a57fa053f4
Don't drop zero-length frames in Theora video tracks.
...
Fix for bug 450.
2009-12-17 13:41:39 +01:00
Moritz Bunkus
4893a23867
Refactored the handling of the different sources of cropping and stereo mode information.
...
Now the order is the correct order: options on the command line trump
everything else; second is the source container; third place is the
bitstream.
2009-10-25 20:51:21 +01:00
Moritz Bunkus
285f66351e
Refactored the handling of the different sources of aspect ratio/display dimension information.
...
Now the order is the correct order: options on the command line trump
everything else; second is the source container; third place is the
bitstream.
2009-10-25 16:54:28 +01:00
Moritz Bunkus
ebd7025ea8
Added missing run for new test introduced in revision 51ca7838
.
2009-10-25 10:46:01 +01:00
Moritz Bunkus
51ca7838c0
Fixed the subtitle track selection for AVI input files.
2009-09-04 21:27:15 +02:00
Moritz Bunkus
3c4aaf6562
Intentional update due to libmatroska's fix to the EbmlID of the KaxTagDefault element.
2009-08-21 15:01:11 +02:00
Moritz Bunkus
93b28b41be
Added a test case for the interface language and the available translations.
2009-07-07 00:18:54 +02:00
Moritz Bunkus
2af042e683
Intentional update due to a0ce4daad2
.
2009-06-28 13:33:54 +02:00
Moritz Bunkus
8184da34ea
Intentional update due to 49a94614eb
2009-06-21 14:15:21 +02:00
Moritz Bunkus
fe4db5c991
Added a test case for native MPEG4 part 2 storage.
2009-06-20 16:31:51 +02:00
Moritz Bunkus
60c5e0b416
The class name of a test file class must contain the number as well.
2009-06-20 16:30:50 +02:00
Moritz Bunkus
5f7e0d4f9f
Automatically find the next free number for a test file.
2009-06-20 16:28:39 +02:00
Moritz Bunkus
149c920468
Use a single chapter edition UID for all chapters read from source containers which do not provide chapter edition UIDs themselves (OGM, MP4).
...
Partial fix for bug 397.
2009-06-14 15:41:08 +02:00
Moritz Bunkus
869988a6b4
Added a test for VC-1, TrueHD, EAC3 in EVO (MPEG program streams).
2009-06-06 22:10:25 +02:00
Moritz Bunkus
8139108c0f
Improved the control over which tags get copied from a source file to the output file
...
The old option --no-tags" was replaced with the new options
"--no-global-tags" which causes global tags not to be copied and
"--no-track-tags" which causes track specific tags to not be
copied. The new option "--track-tags" can be used to select tracks for
which tags will be copied. The default is still to copy all existing
tags.
2009-05-31 21:08:12 +02:00
Moritz Bunkus
7d31271f59
Include global and track specific tags in the identification output.
2009-05-31 14:24:22 +02:00
Moritz Bunkus
816ff6f8ac
Added test cases for MPEG-2 video handling, sequence header extraction etc.
2009-05-31 13:29:15 +02:00
Moritz Bunkus
260f876ab2
Intentional change due to 9de93e4c32
and 25817e32c0
.
2009-05-30 18:40:24 +02:00
Moritz Bunkus
be31e7925e
Include the number of chapters in a file in the identification output.
2009-05-29 11:31:12 +02:00
Moritz Bunkus
c68f41b435
Intentional change due to 8a072ba704
2009-05-10 18:59:08 +02:00
Moritz Bunkus
e820f7e390
Intentional updates due to c1f2d2d
.
2009-04-25 12:32:23 +02:00
Moritz Bunkus
1e3c269f66
Enabled the use of SimpleBlock elements by default.
...
The old hack "use_simpleblock" has been renamed to "no_simpleblock"
which will prohibit the use of SimpleBlock elements.
2009-04-13 16:30:52 +02:00
Moritz Bunkus
201c40e7b6
Added support for the "forced track" flag in mkvmerge. Fix for bug 128.
2009-04-11 14:04:51 +02:00
Moritz Bunkus
c9981c75e5
Changed the behaviour of removing the aspect ratio information from h.264 bitstreams to keeping it.
...
The new option "--engage remove_bitstream_ar_info" restores the previous behaviour.
2009-04-08 16:47:10 +02:00
Moritz Bunkus
2dec64c9e9
Added support for reading the track language form QuickTime/MP4 files.
2009-04-05 15:20:53 +02:00
Moritz Bunkus
62796a0962
Intentional update.
2009-04-05 14:54:11 +02:00
Moritz Bunkus
e2b5251a98
Added a test for the --attachments option
2009-02-28 19:17:33 +01:00
Moritz Bunkus
d3d5b880b6
Added an way for keeping temp files
2009-02-28 19:17:17 +01:00
Moritz Bunkus
988ea9cc58
Added support for copying attachments selectively
...
Attachments are now included in the output of --identify. They
can be selected just like the other track types. The option used
for them is -m / --attachments and disabled with -M / --no-attachments.
2009-02-16 20:06:10 +01:00
Moritz Bunkus
005fbb9550
Intentional update due to revision 4031.
2008-12-17 22:00:05 +00:00
Moritz Bunkus
95f1ba2c7f
Forgot to add the test case for Theora pixel aspect ratio handling.
2008-12-09 19:22:41 +00:00
Moritz Bunkus
479e6fef94
Added support for handling the pixel aspect ratio in Theora video tracks.
2008-12-05 16:59:10 +00:00
Moritz Bunkus
ba35e5bfcd
Allow timecodes in SRT files to be formatted not as strictly as before: there may be spaces between colons and digits, and numbers do not have to be exactly two or three digits long.
2008-12-02 14:17:03 +00:00
Moritz Bunkus
de1af373bd
Intentional update
2008-11-04 14:00:16 +00:00
Moritz Bunkus
6ce6d1698d
Intentional update (switched my test platform from 32bit to a 64bit Linux which sometimes has some subtle differences in float storage).
2008-11-01 10:52:13 +00:00
Moritz Bunkus
9246f1f845
Intentional update.
2008-10-05 09:38:43 +00:00
Moritz Bunkus
cf80ea72d5
New test for iconv Hebrew handling.
2008-10-04 19:38:07 +00:00
Moritz Bunkus
b5b15511f0
Intentional change due to the fix in revision 3917.
2008-09-20 18:03:11 +00:00
Moritz Bunkus
09ccdefada
Revision 3831 (the change to the "--delay" and "--sync" options) caused mkvmerge to no longer respect the delay caused by garbage at the beginning of MP3 and AC3 audio tracks in AVI files. The timecodes of such tracks are now delayed appropriately again. Fix for bug 300.
2008-09-13 16:55:10 +00:00
Moritz Bunkus
8897672a70
Fixed the frame type (key or non-key frame) detection for Theora tracks in Ogg files.
2008-09-12 11:01:09 +00:00
Moritz Bunkus
70865df821
Intentional update due to revision 3843.
2008-08-24 18:06:36 +00:00
Moritz Bunkus
da09f5af46
Intentional changes caused by revision 3831.
2008-08-20 19:06:19 +00:00
Moritz Bunkus
3fb8a8863d
Removed the "--delay" option. Changed the "--sync d,l/p" option: audio samples are not added. Instead only the timecodes are adjusted. The default for "p" has been changed from 1000 to 1 if it is left out. The "--sync" option works for all track types. Therefore mmg activates the "delay" and "stretch by" inputs no matter what track type is selected.
2008-08-20 19:04:10 +00:00
Moritz Bunkus
75c5d1b25d
Change in the hash due to the zlib stream handling fix in revision 3802.
2008-08-18 20:38:57 +00:00
Moritz Bunkus
4dd522775b
Fix for an assertion for OGM files with embedded chapters. Fix for bug 279.
2008-04-20 19:11:13 +00:00
Moritz Bunkus
da6bedc367
Fixed wrong timecodes for MP4 files that contain video tracks with B frames and edit lists. Fix for bug 277. Patch by Damiano Galassi (see AUTHORS).
2008-04-16 15:39:29 +00:00
Moritz Bunkus
8ed313f2d3
Added support for skipping ID3 tags in AC3 files.
2008-03-09 17:37:42 +00:00
Moritz Bunkus
a1962191ee
Added a test for DTS-HD.
2008-03-09 16:08:02 +00:00
Moritz Bunkus
4905caf963
Added support for AAC files with ID3 tags.
2008-03-09 16:02:08 +00:00
Moritz Bunkus
5b9eeb097b
Added support for AC3-in-WAV in ACM mode. Added test cases for AC3-in-WAV in both ACM and IEC 61937 mode. Refactored r_wav.cpp & r_wav.h to match my desired coding style.
2008-02-29 14:28:35 +00:00
Moritz Bunkus
ba82a4ae4f
Added a test case for AC3-in-MOV and tracks with constant sample size > 1.
2008-02-29 09:39:37 +00:00
Moritz Bunkus
516daee57b
Force a packetizer flush at the end of DTS and AC3 files.
2008-02-27 15:32:22 +00:00
Moritz Bunkus
ded5cc873e
Rewrite of the WAV reader. Fixed the handling of "fmt" chunks of unexpected length. Added support for handling WAV files with multiple data chunks.
2008-02-27 14:09:19 +00:00
Moritz Bunkus
b25973076b
File identification code unified. Fix for the wrong track type in r_ogm.cpp ("subtitle" instead of "subtitles").
2008-02-26 19:08:38 +00:00
Moritz Bunkus
8f12504a2b
Added support for AAC-in-AVI with CodecID 0x706d as created by mencoder. Fix for bug 266.
2008-02-23 16:51:06 +00:00
Moritz Bunkus
84867e220b
Intentional update after bugfix to OGM text subs handler.
2008-02-22 16:43:48 +00:00
Moritz Bunkus
ccd91ab84f
Rewrite of the OGM reader code.
2008-02-19 16:29:34 +00:00
Moritz Bunkus
6271265fb5
Added a test for MS_COMP type video from OGM files.
2007-12-23 10:22:49 +00:00
Moritz Bunkus
ab33e25049
Calculate the minimum and maximum cluster timecodes correctly. Only the cluster timecodes have changed for the reference test files however, as the relative block timecodes can be negative.
2007-10-17 21:12:57 +00:00
Moritz Bunkus
e00a819078
SRT files that contain coordinates in the timecode line are supported. The coordinates are discarded automatically (as S_TEXT/SRT doesn't support them), and a warning is shown.
2007-08-19 18:35:51 +00:00
Moritz Bunkus
c61b3b3582
Added a test for AVC/h.264 streams with changing SPS/PPS.
2007-08-15 19:35:32 +00:00
Moritz Bunkus
e88bb1aee5
Don't remove SPS and PPS NALUs from AVC/h.264 streams.
2007-08-15 17:59:22 +00:00
Moritz Bunkus
49a2aca3c9
More shell/Ruby compatibility fixes
2007-07-04 14:40:52 +00:00
Moritz Bunkus
d2b010988c
More shell compatibility fixes
2007-07-04 14:35:32 +00:00
Moritz Bunkus
b3d9434177
Compatibility fix.
2007-07-04 14:30:33 +00:00