Commit Graph

14167 Commits

Author SHA1 Message Date
Moritz Bunkus
b7c35e5a0d
a script for extracting NALUs from h.265 bitstreams via hevc_dump 2021-03-23 19:48:53 +01:00
Moritz Bunkus
e16b146b70
hevc_dump: calculate & output frame checksums 2021-03-23 19:48:53 +01:00
Moritz Bunkus
3669c5bc58
checksums: add functions for returning results as a hex string 2021-03-23 19:48:53 +01:00
Moritz Bunkus
07eaeb0cda
cosmetics: alignment 2021-03-23 19:48:53 +01:00
Moritz Bunkus
e2a8be0831
mkvmerge, extract: HEVC: add hack for not normalizing parameter sets 2021-03-23 19:48:53 +01:00
Moritz Bunkus
e75e9c503e
mkvmerge: HEVC: normalize parameter set NALUs
Normalization means that each key frame is prefixed with exactly one
set of the currently active picture, sequence & video parameter sets.

Fixes #3034 and prevents the same class of issues where the parameter
sets required to decode do not match the ones in CodecPrivate but
aren't present in front of the key frames. This often happens when
appending files.
2021-03-23 19:48:53 +01:00
Moritz Bunkus
f617da2f14
hevc_dump: add support for NALUs-with-size-fields streams 2021-03-23 19:48:53 +01:00
Moritz Bunkus
e1c417cc4c
extract: HEVC: normalize parameter set NALUs
Normalization means that each key frame is prefixed with exactly one
set of the currently active picture, sequence & video parameter sets.
2021-03-23 19:48:53 +01:00
Moritz Bunkus
90e9d2feab
HEVC ES parser: optionally normalize VPS/SPS/PPS placement 2021-03-23 19:48:53 +01:00
Moritz Bunkus
e6c853ddf0
HEVC ES parser: remove duplicate code 2021-03-20 14:55:09 +01:00
Moritz Bunkus
709c61dbba
add MSIX packaging 2021-03-20 13:56:55 +01:00
Moritz Bunkus
9903d78310
configure: remove check for PRI[du]64 printf format specifiers
Those haven't been used in MKVToolNix for years now.
2021-03-20 13:15:44 +01:00
Moritz Bunkus
12284bf662
tests: prevent updating results if results contain 'failed' 2021-03-20 13:15:22 +01:00
Moritz Bunkus
889d3910ef
tests: fix chapter languages test due to dcfe41269 2021-03-20 13:13:50 +01:00
Moritz Bunkus
5f42b31006
extract: chapters: don't add ChapterLanguage elements if not present in file 2021-03-15 17:46:48 +01:00
Moritz Bunkus
dcfe41269a
GUI:: chapters: don't write mandatory elements set to their default value 2021-03-15 17:27:30 +01:00
Moritz Bunkus
cfe40fd261
propedit: chapters: don't write mandatory elements set to their default value 2021-03-15 17:27:30 +01:00
Moritz Bunkus
299808387f
propedit: tags: don't write mandatory elements set to their default value
See #3071.
2021-03-15 17:27:30 +01:00
Moritz Bunkus
0756105592
cosmetics: alignment 2021-03-15 17:27:30 +01:00
Moritz Bunkus
7b00448ba3
tags: don't set "target type" for track statistics tags 2021-03-15 17:27:30 +01:00
Moritz Bunkus
97e7e1f64c
move find_tag_for function to track_statistics_c
That class was the only user, and I plan to change its semantics
anyway.

Part of the fix of #3074.
2021-03-15 17:27:30 +01:00
Moritz Bunkus
43bf6ac093
src/common/track_statistics.cpp: remove "using namespace libmatroska" 2021-03-15 17:27:30 +01:00
Moritz Bunkus
5bdebfd9e6
chapters: don't write mandatory elements set to their default value 2021-03-15 17:27:30 +01:00
Moritz Bunkus
0ab096dcbe
tags: don't write mandatory elements set to their default value
See #3071.
2021-03-15 17:27:30 +01:00
Moritz Bunkus
9336c70c9c
function for removing mandatory elements set to their default value 2021-03-15 17:27:30 +01:00
Moritz Bunkus
f17d44b00b
man page translations: update list of translatable strings; update German translation 2021-03-14 21:33:27 +01:00
Moritz Bunkus
912937a733
translations: update list of translatable strings; update German translation 2021-03-14 21:31:54 +01:00
Kai Mao
4f9644c611
translations: update Chinese Traditional 2021-03-14 21:30:57 +01:00
Burak Yavuz
d7c5b5d938
translations: update Turkish 2021-03-14 21:30:50 +01:00
Timofey Lisunov
3c570f0630
translations: update Russian 2021-03-14 21:30:46 +01:00
Fúlvio Alves
79b015dd62
translations: update Brazilian Portuguese 2021-03-14 21:30:39 +01:00
Antoni Bella Pérez
69463d60c2
translations: update Catalan 2021-03-14 21:30:31 +01:00
Симеон Цветков
0ca32c10af
translations: update Bulgarian 2021-03-14 21:30:07 +01:00
Moritz Bunkus
49a3f71595
merge: tags: use spec-compliant "und" as default language simple tags
Part of the fix of #3071.
2021-03-14 21:08:27 +01:00
Moritz Bunkus
af9de19926
merge: tags parser: validate all <Simple> children of <Tag> elements
The prior algorithm wrongfully assumed that there's only ever one
`<Simple>` child for each `<Tag>` element.

Part of the fix of #3071.
2021-03-14 21:02:35 +01:00
Moritz Bunkus
6b4d524291
merge: tags: don't use "eng" as default language for simple tags
The effect is that track statistics tags will no longer have a
language set. This turns the effective language of track statistics
tags into "undetermiend" due to the default value of the legacy tag
language element.

Fixes #3073.
2021-03-14 20:45:18 +01:00
Moritz Bunkus
6c8dc38da4
GUI: chapters: prevent empty ChapterCountry elements being created
When the user clicks the `+` button for adding a new chapter name, the
name model must only add a `ChapterCountry` element if there's a
default country selected in the preferences.

Fixes #3072.
2021-03-14 20:33:51 +01:00
Moritz Bunkus
dd6d72f232
merge: tags: extend --disable-language-ietf to work on tags
Fixes #3070.
2021-03-14 20:16:58 +01:00
Moritz Bunkus
35825236ec
merge: don't write existing ChapLanguageIETF element with --disable-language-ietf
Existing elements read from Matroska or XML chapter files will no
longer be written if `--disable-language-ietf` is used.

Part of the fix of #3069.
2021-03-14 20:01:41 +01:00
Moritz Bunkus
c0cc43a541
merge: parse --disable-language-ietf before other chapter-handling code
Part of the fix of #3069.
2021-03-14 19:47:35 +01:00
Moritz Bunkus
ed191adb2f
tests: option :post_args for adding args at the end of the command line 2021-03-14 19:19:44 +01:00
Moritz Bunkus
488755d82b
update libEBML & libMatroska 2021-03-14 15:11:47 +01:00
Moritz Bunkus
5eb1658287
configure: remove check for vsscanf which isn't used anymore 2021-03-14 13:01:25 +01:00
Moritz Bunkus
76f7246087
build system: avoid warnings about files without symbols on macOS 2021-03-14 13:01:03 +01:00
Moritz Bunkus
4e717815c7
GUI: mux: derive track languages from file names case insensitively
Fixes #3068.
2021-03-13 00:12:02 +01:00
Moritz Bunkus
f51d56ae29
fmt: update to 7.1.3 2021-03-10 23:31:15 +01:00
Moritz Bunkus
0237579c88
info: normalize formatting of all floating point values
…even those using the default formatter.
2021-03-10 23:24:53 +01:00
Moritz Bunkus
730c9c4ceb
info: use proper regex for removing trailing decimal zeroes/decimal point
Older versions of `fmt` format floating point values with at least one
digit after the decimal point (e.g. "48000.0"). The existing regular
expression did handle that case correctly by removing ".0" and nothing
else.

Newer versions, on the other hand, output neither the decimal point
nor the 0 afterwards if the value's decimal part is 0. In that case
the existing regular expression would remove all leading 0 even though
there is no decimal point, leading to a wrong value (e.g. "48" for the
floating point value of 48000.0).
2021-03-10 23:04:34 +01:00
Moritz Bunkus
20b2092a5c
tests: add cases for mtx::regex::replace 2021-03-10 23:02:44 +01:00
Moritz Bunkus
32e5b313ec
GUI: mux: consider just-added tabs to be active
A check whether or not a tab is enabled isn't needed as tabs aren't
disabled anymore since v54. They were during file
identification. However, file identification is now done in the tool
class, not the tab class.

The result was that newly added tabs were disabled until control
returned to Qt. This in turn led to menu actions (and therefore
keyboard shortcuts) being disabled until the "enable menu actions"
function was triggered again, e.g. by opening the "multiplexer" menu
or by switch tools & back again.

Fixes #3051.
2021-03-10 12:55:08 +01:00