Commit Graph

11917 Commits

Author SHA1 Message Date
Moritz Bunkus
aa99dd50f5 MP4 reader: improve test for identical edit list entries
In #2306 a file was provided with an edit list consisting of two
identical entries that span the whole duration of the file as given by
the file headers. The difference to earlier provided files is that the
edits don't start at 0 but slightly later. Therefore a check for
"starting at 0" seems counterproductive.

Fixes #2306.
2018-05-17 11:47:58 +02:00
darealshinji
f26523ebbf don't make programs believe this was a Quake .pak file 2018-05-16 14:30:03 +00:00
Jan Mazurczyk
7cfe7cd221 translations: update Polish 2018-05-15 21:40:33 +02:00
Timofey Lisunov
51baac345a translations: update Russian 2018-05-15 21:40:14 +02:00
TMTisFree
ce7b754e1a translations: update French 2018-05-15 21:40:07 +02:00
Israel Lucas Torrijos
1358225c87 translations: update Spanish 2018-05-15 21:40:02 +02:00
Moritz Bunkus
54e9f3b3de Matroska reader: don't buffer more than 128 MB for audio/video tracks
Fixes #2304.
2018-05-14 14:59:07 +02:00
Moritz Bunkus
0b9b1228a3 GUI: mux: language detection: remove empty parts from ISO 639-1 regex
Empty ISO 639-1 codes led to `<ISO_639_1_CODES>` looking like
e.g. `de|en||nl`. That would also match an empty string. Therefore the
whole regex would match where it wasn't supposed to. An example:

File name: `This... is strange.[eng].srt`

With the default regex, the first `..` is what would be matched, the
capturing parenthesis would be empty, and therefore no language would
be detected.

Fixes #2298.
2018-05-12 21:07:02 +02:00
Moritz Bunkus
32bae9debb GUI: mux: actually use the "minimum playlist duration" setting
Fixes #2299.
2018-05-12 20:49:53 +02:00
Moritz Bunkus
6bf5240cfb NEWS.md, AUTHORS: updates 2018-05-12 20:26:23 +02:00
mkver
cc1d815e1b AVC/h.264 (framed): Remove empty NAL units
Inspired by FFmpeg ticket 7200.
2018-05-12 20:24:48 +02:00
mkver
7a35dc7495 extract: AVC/h.264: Skip zero length NAL units 2018-05-12 11:28:23 +00:00
Moritz Bunkus
f52f450b76 VobSub extractor: skip empty SPU packets
MP4Box doesn't like empty SPU packets and aborts with the message
"Corrupted data found in file…". As empty SPU packets serve no
purpose, just drop them during extraction.

Implements #2293.
2018-05-04 18:50:56 +02:00
Moritz Bunkus
e7d0e8c1b3 GUI: prefs: fix spelling error for "enable muxing tracks by type" setting
On Windows the setting names aren't case sensitive, but on other
systems they are. This means that writing something as `abcTheseTypes`
and reading it back as `abcThesetypes` won't work.

Fixes #2297.
2018-05-04 14:37:01 +02:00
Moritz Bunkus
9cfcd62888 AV1: avoid implicit narrowing conversion 2018-05-02 17:56:50 +02:00
Moritz Bunkus
1fa1c4c92d translations: update list of translatable strings; update German translation 2018-05-02 17:41:33 +02:00
Moritz Bunkus
2c2b513f2f NEWS.md: add note about AV1 bitstream format updates 2018-05-02 17:37:45 +02:00
Moritz Bunkus
7a808656a5 AV1: adjust key frame decision for framed content due to bitstream format changes 2018-05-02 17:31:15 +02:00
Moritz Bunkus
4204b1ccd0 AV1: support reading OBU files 2018-05-02 17:16:31 +02:00
Moritz Bunkus
42b5f13c6b AV1: require manual activation via --engage enable_av1; fail otherwise
Reason: the AV1 bitstream specification hasn't been finalized yet.
2018-05-02 16:13:48 +02:00
Moritz Bunkus
8ea159dc5c bump version number, set release code name 2018-05-02 14:54:31 +02:00
Moritz Bunkus
605183383f NEWS.md: reorder & reword elements for easier consumption 2018-05-02 14:36:52 +02:00
TMTisFree
8c4d17b13d translations: update French 2018-05-02 14:33:36 +02:00
Israel Lucas Torrijos
5a4547fed2 translations: update Spanish 2018-05-02 14:33:30 +02:00
Moritz Bunkus
2dd33027fd track statistics tags: don't write _STATISTICS_WRITING_DATE_UTC with --no-date
Fixes #2286.
2018-04-27 23:14:13 +02:00
Moritz Bunkus
e3f54fdbcb bit_writer_c: change put_bit() back to taking a bool
Taking an `int` was done due to clang-tidy's modernize checks
bemoaning the use of integers 0 and 1 instead of `true` and `false`
for Boolean parameters. However, that had the unintended consequence
of truncating values if the values given to the parameter is e.g. a
`uint64_t` for which a bit was tested with "value & (1 << shift)" —
which relied on implicit conversion to bool.
2018-04-27 14:42:14 +02:00
Danko
1bd172e342 translations: update Serbian Latin 2018-04-27 11:01:01 +02:00
Moritz Bunkus
8cc99f24d3 mkvextract: verify first element found is an EBML Head
`FindNextID` considers anything that looks like an ID to be valid. If
the resulting ID is neither a known global nor an element from the
passed context, a Dummy Element is returned instead.

Therefore mkvextract must verify that the element found is indeed an
EBM Head element in order to determine whether or not the source file
is actually a Matroska/WebM file.

Fixes #2281.
2018-04-26 12:51:57 +02:00
Moritz Bunkus
53da7a4268 NEWS.md: fix spelling 2018-04-26 09:51:34 +02:00
Moritz Bunkus
b4f52205ca refactoring: fix issues pointed out by clang-tidy's modernize checks 2018-04-24 21:20:23 +02:00
Moritz Bunkus
74008cb00c translations: update list of translatable strings 2018-04-24 19:10:49 +02:00
Moritz Bunkus
8d0d16855c NEWS.md: fix spelling 2018-04-24 18:42:01 +02:00
Moritz Bunkus
b7a53f345c Merge branch 'probe_by_ext' of gitlab.com:rawler/mkvtoolnix 2018-04-24 18:41:08 +02:00
Ulrik Mikaelsson
c2d771e4cf mkvmerge: format-detection: probe by file-extension first
Due to irregular signatures of probe-function, not all formats are supported
 - No text-formats
 - Some audio-formats (mp3, aac, ac3)
2018-04-24 12:47:58 +02:00
Moritz Bunkus
eea55d1afb memory_c: remove internal reference counting 2018-04-23 16:10:11 +02:00
Moritz Bunkus
2d745251c2 memory_c: make ctors private; provide borrow/take_ownership instead
The previous interface required an optional boolean parameter in order
to indicate whether a memory region passed to memory_c should be
managed by memory_c. That was confusing and easy to get wrong.
2018-04-23 16:10:11 +02:00
Moritz Bunkus
6d4ef51756 memory_c: refactor function & variable names 2018-04-23 16:10:11 +02:00
Moritz Bunkus
d317cb0dc6 GUI: preferences: rename "output" to "destination file name" 2018-04-21 22:38:56 +02:00
Moritz Bunkus
85e828d359 translations: update list of translatable strings 2018-04-21 18:15:49 +02:00
Dian Li
01ab5a449e translations: update Chinese Simplified 2018-04-21 18:15:18 +02:00
Burak Yavuz
65c14f3e06 translations: update Turkish 2018-04-21 18:15:11 +02:00
Timofey Lisunov
d45032aabd translations: update Russian 2018-04-21 18:15:05 +02:00
Potato
8bc603452f translations: update Korean 2018-04-21 18:14:59 +02:00
TMTisFree
b571228110 translations: update French 2018-04-21 18:14:43 +02:00
Israel Lucas Torrijos
4cd73f9e6a translations: update Spanish 2018-04-21 18:14:37 +02:00
Antoni Bella Pérez
2ceb7d97db translations: update Catalan 2018-04-21 18:14:31 +02:00
Moritz Bunkus
8d3d06e160 GUI: remove animation when adding or starting a multiplex job 2018-04-21 17:33:57 +02:00
Moritz Bunkus
9750eeda47 refactor "hacks" functions to namespace mtx::hacks 2018-04-21 17:22:04 +02:00
Moritz Bunkus
d102e7f21a update libEBML to v1.3.6, libMatroska to v1.4.9 2018-04-20 20:37:55 +02:00
Moritz Bunkus
6f46296c9b NEWS.md: mention new C++14 build requirements 2018-04-20 20:12:01 +02:00