462 Commits

Author SHA1 Message Date
jcdr428
54f59df53d
Get BT.2100/HDR10 info from VUI (#189)
Fixes #187.
2020-02-09 15:11:44 +01:00
Daniel Kamil Kozar
ec66ec3e42
Remove lambda due to compiler segfault on Win64 2020-02-09 10:16:04 +01:00
abakum
24c8a16c9b
Update COMPILING.md 2020-02-08 23:54:47 +03:00
abakum
4057d4e65b Update msys2.sh 2020-02-08 23:42:27 +03:00
abakum
d567d75969 Update msys2.sh 2020-02-08 23:41:06 +03:00
Daniel Kamil Kozar
e4790fd15c
Fix compilation on macOS 2020-02-08 20:59:38 +01:00
Daniel Kamil Kozar
31d39b60a7
Implement support for default audio and subtitle tracks when muxing to Blu-ray (#161)
Fixes #126.
2020-02-08 20:48:41 +01:00
Daniel Kamil Kozar
0035efb243 Detect UTF-8 in SRT files
Also, remove unused code in utf8Converter.cpp and remove the "sfDefault" from
the SourceFormat enum, whose meaning was platform-dependent anyway and did not
make sense anymore, as we now default to UTF-8 on non-Windows platforms anyway.
Processing falls back to the ACP on Windows to keep backwards compatibility.
2020-02-08 01:35:27 +01:00
abakum
8487deb4b8
Update COMPILING.md 2020-02-07 16:10:13 +03:00
abakum
eebfebc3f3
Create msys2.sh 2020-02-07 16:07:37 +03:00
Daniel Kamil Kozar
355151c7ea
Try using the active code page if conversion from UTF-8 fails (#181)
This makes the program compatible with meta files saved in ACP by older GUI
versions.
2020-02-06 22:38:54 +01:00
Dan Bryant
10690f1163 Merge branch 'default-and-forced-tracks' of https://github.com/xavery/tsMuxer into enhancement-documentation-updates 2020-02-05 21:50:13 +00:00
Dan Bryant
830eb15772 update changelog with _everything_ we've added since project opened, update bintray links and add to the credits section of the readme 2020-02-05 21:50:01 +00:00
Dan
6cc77d6e48
Merge pull request #178 from abakum/patch-1
Improve documentation for building MSYS2 GUI
2020-02-05 21:42:57 +00:00
Daniel Kamil Kozar
7cd9e00b03
Add check boxes to enable/disable setting the default tracks 2020-02-05 21:46:39 +01:00
Daniel Kamil Kozar
a60babad71
Add default track selection to GUI 2020-02-05 20:00:34 +01:00
Daniel Kamil Kozar
80add2cf25
Implement all/forced for subtitle tracks 2020-02-05 19:06:24 +01:00
Daniel Kamil Kozar
f45d928687
docs 2020-02-05 18:54:08 +01:00
Daniel Kamil Kozar
3e5322d6d7
set "forced" to true in the subtitle track by default 2020-02-05 18:30:13 +01:00
Daniel Kamil Kozar
2b29fa01bc
seek for default audio/sub stream and insert appropriate BD command 2020-02-05 18:30:12 +01:00
Daniel Kamil Kozar
842891cf6d
Actually add the meta parameter 2020-02-05 18:30:12 +01:00
Daniel Kamil Kozar
85dd00013d
boo 2020-02-05 18:30:12 +01:00
Daniel Kamil Kozar
c2344b53f2
wip 2020-02-05 18:30:12 +01:00
Daniel Kamil Kozar
c07faf356a
wip 2020-02-05 18:30:12 +01:00
Daniel Kamil Kozar
4d3fdf5018
wip 2020-02-05 18:30:12 +01:00
Daniel Kamil Kozar
6d381d6738 Use "standard" int main in Windows builds
Using WinMain is not necessary in order to get access to the "wide" command
line, and makes the MSVCRT skip all the initialisation steps needed for
"Console API" to work correctly, leading to the program having no output in
Windows console programs that use it - most notably, cmd.exe.
2020-02-05 16:31:02 +01:00
abakum
843ca0c19c
MSYS2 GUI 2020-02-05 13:15:50 +03:00
Daniel Kamil Kozar
92246c3367 Make the main binary a Unicode application on Windows
This commit uses "wide" (i.e. UTF-16) commandline arguments when launching the
program on Windows, and uses the "wide" Windows APIs when dealing with strings.
This makes it independent from the currently selected active code page on the
system, and hopefully fixes issues with "nonstandard" characters appearing in
file and directory paths.

Fixes #172.
2020-02-05 00:15:44 +01:00
jcdr428
9ffe337ed3
Bug: subtitle PIDs should start at 0x12A0 for HDR Part 2 (#176)
To avoid having negative PIDs : rather than keeping PID to 0x1200 when SDR is detected, the PID should be changed to 0x12A0 when HDR is detected.
2020-02-04 21:27:50 +01:00
jcdr428
4ed401b946
Bug: correct EAC3+AC3 core bitrate (#175) 2020-02-04 21:27:20 +01:00
abakum
2f20f31db3
Use MINGW_PACKAGE_PREFIX in MSYS2 instructions (#174) 2020-02-04 18:19:22 +01:00
jcdr428
b8d9788b04
Bug: "Secondary" box greyed out for DTS Express 24bit (#173) 2020-02-04 18:16:34 +01:00
jcdr428
7740bd5009
Subtitle PIDs must start at 0x12A0 for HDR (#171) 2020-02-02 21:17:21 +01:00
Dan
f504a0cb08
Merge pull request #169 from jcdr428/patch-5
Bug: Shorten filename when adding more than two files
2020-02-02 20:15:29 +00:00
jcdr428
3385348075
Update singleFileMuxer.cpp 2020-02-02 18:29:37 +02:00
jcdr428
63a9bcbc3b
Update singleFileMuxer.cpp 2020-01-31 15:13:15 +02:00
jcdr428
201dd9f60e
Update singleFileMuxer.cpp 2020-01-31 14:12:08 +02:00
jcdr428
6ccf0a0cc5
Update singleFileMuxer.cpp 2020-01-31 14:04:40 +02:00
jcdr428
1407b6c836
Shorten filename when adding more than two files
See eg https://forum.doom9.org/showthread.php?p=1897783#post1897783
2020-01-31 14:03:17 +02:00
Daniel Kamil Kozar
39bb82957f
Make GUI buildable with Qt 5.2.1 2020-01-27 23:08:15 +01:00
jcdr428
e58b4de12c Fix bad looking fonts in Linus 2020-01-26 20:34:32 +01:00
Dan
a4f5a77c58
Merge pull request #163 from jcdr428/patch-2
Remove 3d-plane info for 2D BD-ROM
2020-01-25 12:56:10 +00:00
jcdr428
daa8f9651d
No 3d-plane info for 2D BD-ROM
Fix  bug provoked by #159: 3d-plane information should show only for 3D BD-ROMs
2020-01-24 20:29:43 +02:00
jcdr428
0702a4b353 Detect audio delay in MKV (#160)
tsMuxer has the ability to detect audio delay for TS/M2TS/MPG/VOB/EVO sources, but not from MKV source. This patch adds ability to detect audio delay for MKV source.
Fixes #156.
2020-01-22 23:08:54 +01:00
jcdr428
2b3e3f148a Bug: 3d-plane not detected in specific cases (#159) 2020-01-21 21:28:43 +01:00
Daniel Kamil Kozar
7247736d84
Fix typos and grammar errors in readme and usage information (#153)
Fixes #59.
2020-01-21 21:16:39 +01:00
jcdr428
2ade73d546 Fix bug 3d-plane / PID part 2 (#157)
All pgStreams3D[pgTrackNum] (coming from clpi) must be changed to streamInfo (coming from mpls)
When 3d-plane is "FF", this means it is 'undefined' (i.e. 2D), not 'zero'.
2020-01-21 07:29:15 +01:00
Daniel Kamil Kozar
8cc357aad4 Remove all custom floating-point conversion functions
QString::toDouble (and ::toFloat) behaviour changed between Qt4 and Qt5 : in
the older version, the function tried to convert the string according to the
current locale and, if unsuccessful, fell back to parsing according to the "C"
locale.

In Qt5, the conversion is always performed in the "C" locale, which means that
all the shenanigans related to finding and replacing the decimal point are not
needed anymore, since the main tsMuxer binary always runs in the "C" locale due
to not calling setlocale() at all.

Also, if Qt 4.8 documentation is to be believed, all this code wasn't ever
needed in the first place, as the conversion function would've just used the
"C" locale after failing to convert the string due to a mismatch in the used
decimal point character - and thus succeeded.
2020-01-20 01:39:01 +01:00
jcdr428
1e365757f5 Fix GUI typos and update about tab (#148) 2020-01-19 23:26:01 +01:00
jcdr428
ed3aaf18d2 Maximize maxCLL and maxFALL in index.bdmv (#147)
MaxCLL and MaxFALL can vary in the stream. In which case, the value to be reported in index.bdmv is the maximum values read in the stream.
2020-01-19 23:25:30 +01:00