Commit Graph

13679 Commits

Author SHA1 Message Date
Moritz Bunkus
124747122f
man page translations: add Bulgarian to po4a configuration
Fixes #3014.
2021-01-30 19:24:01 +01:00
Moritz Bunkus
65118e86af
bump version number, set release codename 2021-01-30 16:07:57 +01:00
Moritz Bunkus
f1821ce868
Rakefile: always build bluray_dump for Windows
The "populate_installer_dir.sh" script relies on it having been built.
2021-01-30 15:48:42 +01:00
Moritz Bunkus
c815093699
tests: update due to c648cc945d 2021-01-30 15:48:42 +01:00
Tom Yan
c648cc945d
mpeg1_2_video_packetizer_c: add CodecState only when a different header is found
There is no point in storing the same sequence header in both CodecPrivate and a
CodecState.
2021-01-30 15:41:37 +01:00
Tom Yan
b5445999eb
MPEG 1/2: Eliminate the usage of M2VParser.GetRealSequenceHeader()
The mpeg 1/2 video packetizer already does the job of setting private data.
Besides, the function does not seem to return a sequence header reliably,
which is why the private data is malformed even when the packetizer calls
it before it calls remove_stuffing_bytes_and_handle_sequence_headers().
(Maybe that is why there is the remark "BE VERY CAREFUL WITH THIS CALL".)
2021-01-30 15:35:44 +01:00
Moritz Bunkus
9d5e71ac9e
update NEWS for 779eb615b4 2021-01-30 15:07:10 +01:00
Moritz Bunkus
2f30ab48a7
tests: update results due to 779eb615b4 2021-01-30 15:04:19 +01:00
Tom Yan
1f3106515d
mkvextract: fix container name for MPEG 1/2 video elementary streams 2021-01-30 13:51:20 +01:00
Tom Yan
985ecec01e
cosmetics: fix variable names & comments & remove duplicate code 2021-01-30 13:50:28 +01:00
Tom Yan
779eb615b4
mpeg1_2_video_packetizer_c: fix private data
remove_stuffing_bytes_and_handle_sequence_headers() sets private data with a
malformed sequence header as it takes in all kinds of extensions, while only
the extensions of the sequence (i.e. before a pic / gop) should be included
(which is why ffmpeg complains about a "pic cod ext after 0").
2021-01-30 13:49:59 +01:00
Moritz Bunkus
495952cd76
NEWS: re-order entries for easier consumption 2021-01-30 13:42:35 +01:00
Hulen Wang
303b6e7c51
translations: update Chinese Traditional 2021-01-30 13:35:16 +01:00
Burak Yavuz
f41e97481d
translations: update Turkish 2021-01-30 13:34:30 +01:00
Andrei Stepanov
339696cc18
man page translations: update Russian 2021-01-30 13:34:18 +01:00
Andrei Stepanov
937e7269a5
translations: update Russian 2021-01-30 13:34:11 +01:00
Roberto Boriotti
6f4372a9b9
translations: update Italian 2021-01-30 13:34:00 +01:00
TMTisFree
612b4ea14a
man page translations: update French 2021-01-30 13:33:52 +01:00
TMTisFree
98520a9316
translations: update French 2021-01-30 13:33:45 +01:00
Pavel Rehak
e6b798d672
translations: update Czech 2021-01-30 13:33:36 +01:00
Симеон Цветков
b1768e2db3
translations: update Bulgarian 2021-01-30 13:33:19 +01:00
Moritz Bunkus
7cc96e1056
GUI: base "save as" auto file name suggestion on source file names
Which file name they're based on depends on the tool & situation:

• For multiplex settings the destination file name is used if set,
  otherwise the first source file's file name.
• For saving info tool output the name of the file currently open in
  the info tool is used.
• For saving attachments in the header editor the attachment's name is
  used.

Implements #3012.
2021-01-30 13:13:16 +01:00
Moritz Bunkus
dd6c45793b
GUI: mux: use right-most match for deriving track languages from file names
Exmaples:

• `La.vie.en.rose.(fr).avi` — French (`fr`) instead of English (`en`)
• `The.man.with.the.golden.gun[ger].srt` — German (`ger`) instead of
  Mandingo (`man`)

Implements #3013.
2021-01-30 12:17:34 +01:00
Moritz Bunkus
8b5866198d
man page translations: update list of translatable strings; update German translation 2021-01-27 16:06:10 +01:00
Moritz Bunkus
99dd41dc99
translations: update list of translatable strings; update German translation 2021-01-27 16:05:03 +01:00
Moritz Bunkus
d66a081f2a
GUI, man pages: adjust description of --forced-flag
Fixes #3010.
2021-01-27 16:03:12 +01:00
Симеон Цветков
c682afe8fe
man page translations: update Bulgarian 2021-01-27 16:02:57 +01:00
Симеон Цветков
f3f88fe0a7
translations: update Bulgarian 2021-01-27 16:02:47 +01:00
Antoni Bella Pérez
64fb09a573
translations: update Catalan 2021-01-27 16:01:19 +01:00
Moritz Bunkus
69de6b73e0
table formatter: fix compilation on platforms where size_t isn't 64-bit 2021-01-26 20:24:19 +01:00
Moritz Bunkus
b0986ba9ff
BCP 47: use emplace_back for initialization of ISO 15924 script list
It's much faster than using the initializer lists. See previous commits
for more details.
2021-01-26 14:53:31 +01:00
Moritz Bunkus
5d04e5bfd5
BCP 47: use emplace_back for initialization of ISO 3166 region list
It's much faster than using the initializer lists. See previous commits
for more details.
2021-01-26 14:53:31 +01:00
Moritz Bunkus
11584c416a
BCP 47: use emplace_back for initialization of IANA language subtag registries
It's much faster than using the initializer lists. See previous commit
for more details.
2021-01-26 14:53:31 +01:00
Moritz Bunkus
5276839f16
BCP 47: use emplace_back for initialization of ISO 639 language list
It's much faster than using the initializer lists. Here's the result
from a micro benchmark I ran:

2021-01-25T23:49:20+01:00
Running ./bench.g++
Run on (8 X 4500 MHz CPU s)
CPU Caches:
  L1 Data 32 KiB (x4)
  L1 Instruction 32 KiB (x4)
  L2 Unified 256 KiB (x4)
  L3 Unified 8192 KiB (x1)
Load Average: 1.08, 0.72, 0.60
-------------------------------------------------------------
Benchmark                   Time             CPU   Iterations
-------------------------------------------------------------
BM_InitializerList      59667 ns        59625 ns        70526
BM_EmplaceBack          24515 ns        24497 ns       176817
BM_EmplaceBack2         16970 ns        16961 ns       247652
BM_PushBack             52831 ns        52796 ns        79202
BM_PushBack2            52858 ns        52823 ns        79004

The five benchmarks were:

• BM_InitializerList — the old way with initializer lists. Basically
  the same code currently being replaced.

• BM_EmplaceBack — Reserving space & adding each entry with
  g_languages.emplace_back(). A constructor was added to language_t
  struct taking the std::strings as const references (std::string
  const &), assigning them to the member variables normally.

• BM_EmplaceBack2 — Reserving space & adding each entry with
  g_languages.emplace_back(). A constructor was added to language_t
  struct taking the std::strings as rvalue references (std::string &&)
  assigning them to the member variables using std::move().

• BM_PushBack — Reserving space & adding each entry with
  g_languages.push_back(). A constructor was added to language_t
  struct taking the std::strings as const references (std::string
  const &), assigning them to the member variables normally.

• BM_PushBack2 — Reserving space & adding each entry with
  g_languages.push_back(). A constructor was added to language_t
  struct taking the std::strings as rvalue references (std::string &&)
  assigning them to the member variables using std::move().
2021-01-26 14:53:30 +01:00
Moritz Bunkus
373a327fb1
BCP 47: use table formatter for outputting list of languages 2021-01-26 14:53:30 +01:00
Moritz Bunkus
16185c6084
table formatter: formatting tabular data as a string 2021-01-26 14:53:30 +01:00
Moritz Bunkus
68a38909d4
BCP 47: ISO 639 code list: include bool to say if part of ISO 639-2
Part of #3007.
2021-01-26 14:53:30 +01:00
Moritz Bunkus
ed309582ce
BCP 47: various lists: cosmetics (remove superfluous space at end of row) 2021-01-26 14:53:30 +01:00
Moritz Bunkus
cd3a592f6e
BCP 47: rename get_iso639_alpha_3_code_or to get get_iso639_2_alpha_3_code_or
Preparation for implementing support for ISO 639-3 codes.

Part of #3007.
2021-01-26 14:53:30 +01:00
Симеон Цветков
174c8254ec Update org.bunkus.mkvtoolnix-gui.appdata.xml: WebM MimeTypes 2021-01-26 11:34:54 +00:00
Симеон Цветков
c2d0e2bd40 Update org.bunkus.mkvtoolnix-gui.desktop: added WebM MimeTypes 2021-01-26 11:33:01 +00:00
Симеон Цветков
5dbdab01a2 Update org.bunkus.mkvtoolnix-gui.desktop: added BG translation 2021-01-26 11:02:23 +00:00
Симеон Цветков
2e7765f3eb Update org.bunkus.mkvtoolnix-gui.desktop: added MimeType "video/x-matroska-3d"
as defined in the Matroska Specification: https://www.matroska.org/technical/notes.html
2021-01-26 10:57:45 +00:00
Симеон Цветков
5beb663322 Update org.bunkus.mkvtoolnix-gui.xml: BG and FR translation 2021-01-26 10:54:12 +00:00
Симеон Цветков
c097f3ee4e Update org.bunkus.mkvtoolnix-gui.appdata.xml: added mimetype "video/x-matroska-3d"
as defined in the Matroska Specification: https://www.matroska.org/technical/notes.html
2021-01-26 10:43:19 +00:00
Moritz Bunkus
6a0c222341
Merge branch 'patch-4' of https://gitlab.com/moni33/mkvtoolnix 2021-01-24 13:57:04 +01:00
Moritz Bunkus
9c7c759cbc
AUTHORS: add Tom Yan 2021-01-24 13:55:00 +01:00
Moritz Bunkus
a7bfe57de8
NEWS: add entry for fixing wrong default duration header for MPEG 1/2 video 2021-01-24 13:54:30 +01:00
Moritz Bunkus
c345f738e5
tests: update results for revision 7bcbf50a85 2021-01-24 13:53:51 +01:00
Moritz Bunkus
81f81bb674
Merge branch 'mpeg12' of https://gitlab.com/tomty89/mkvtoolnix 2021-01-24 13:31:14 +01:00