533 Commits

Author SHA1 Message Date
jcdr428
a6335b1091 Clang check 2021-12-29 11:08:20 +01:00
jcdr428
65b3d3e168 Fix reading of FPS in SPS
Fraunhofer vvenc 1.3 now includes addition of FPS in SPS nal units.
2021-12-29 10:49:58 +01:00
jcdr428
2448c36f80
Merge pull request #512 from jcdr428/fix_buffer_overflow
Fix Buffer Overflow
Fixes #509
2021-12-21 23:00:15 +01:00
jcdr428
3763dd3475 Fix Buffer Overflow
Fixes issue #509.
2021-12-21 22:57:23 +01:00
jcdr428
435f15224c
Merge pull request #511 from jcdr428/Fix_overflow
[bug] Fix integer overflow
2021-12-21 20:54:13 +01:00
jcdr428
f6c5c61823 [bug] Fix integer overflow
Fixes issue #510.
2021-12-21 20:52:16 +01:00
jcdr428
380cca33a2
Merge pull request #508 from jcdr428/jcdr-DelayRounding
[Bug] Fix delay rounding
2021-12-19 21:27:00 +01:00
jcdr428
90dacd9b6f [Bug] Fix delay rounding
When delay is negative, the integer truncating needs to be done after adding -0.5, not +0.5.
2021-12-19 21:04:29 +01:00
jcdr428
7d5879617e
Merge pull request #504 from jcdr428/UDF2.5_UniqueID
UDF2.5 UniqueID
2021-12-11 18:44:12 +01:00
jcdr428
6e384b13bd Clang check 2021-12-11 18:37:44 +01:00
jcdr428
f940e9adcb UDF2.5 UniqueID
Fixes Files and Directories UniqueID in Extended File Entry and in File Identifier Descriptor.
2021-12-11 18:28:33 +01:00
jcdr428
26789666af
Merge pull request #501 from jcdr428/jcdr-UDFnamedStream
UDF2.50 Named Stream flags
2021-12-08 22:41:50 +01:00
jcdr428
81244d31df Clang check 2021-12-08 22:37:28 +01:00
jcdr428
f44fee6429 UDF2.50 Named Stream flags
For Named Stream "*UDF Unique ID Mapping Data", icbtag stream flag shall be set to 1.
2021-12-08 22:27:24 +01:00
jcdr428
281d87fd32
Merge pull request #500 from justdan96/jcdr428-udf2.5_ICBTag_StreamFlag
[bug] UDF 2.50 SystemStreamDirectory FileType flag
2021-12-08 08:45:05 +01:00
jcdr428
5a35837246
[bug] UDF 2.50 SystemStreamDirectory FileType flag
SystemStreamDirectory FileType flag in ICBTag must have "stream" flag set to one, as per ECMA-167 4/14.6.
2021-12-08 08:39:30 +01:00
jcdr428
0f9a29524f
[bug] Fix previous commit
Change curpos to curPos...
2021-12-08 07:26:40 +01:00
jcdr428
aeb5802970
[bug] Fix string size in UDF2.5 FID
File or directory names in Field Identifier Descriptors are not fixed size, therefore the string size byte does not need to be added at the end of the string.
This is fixed by omitting one byte before padding with zero bytes.
2021-12-07 22:41:02 +01:00
jcdr428
27b6dfd096
Merge pull request #492 from justdan96/apple-filesystem-no-ifdef
Remove #ifdef apple in order to use std::filesystem
2021-12-04 10:38:39 +01:00
Daniel Kamil Kozar
88316ec3e9
Cleanup CMakeLists.txt a bit and add coverage builds (#493)
Add TSMUXER_COVERAGE which will result in building binaries with coverage information when set to true.
Move MSVC flag utf-8 from tsMuxerGUI to the general CMakeLists.txt as there is no reason not to enable it globally.
Replace NOT MSVC with checking if the build is for Linux : the effect is the same, but the intent is clearer.
Restructure the platform-specific conditions for building tsMuxerGUI.
Bind the XP build to windows-2019 hosts as windows-2022 includes Visual Studio 2022 which dropped XP support.
Don't install zlib via homebrew in macos in order to avoid conflicts with the system-provided one.
2021-11-14 02:06:30 +01:00
Daniel Kamil Kozar
c483756b42
Split directory.cpp into unix/win32 parts (#491)
directory.cpp was essentially two implementations in one, separated with ifdefs. It's cleaner to just have two separate files, seeing how CMakeLists.txt for libmediation needs to check the platform it's running on and add the appropriate file implementation anyway.

This commit splits this file into two and extracts common code parts to directory_priv.h.
2021-11-12 18:16:15 +01:00
Dan
c2de3db345
Qt6 Readiness (#470)
Make it possible to build GUI with Qt 6 while keeping compatibility with 5.6.3.
2021-11-12 18:15:19 +01:00
Daniel Kamil Kozar
932763968b remove #ifdef apple in order to use std::__fs 2021-11-12 01:18:25 +01:00
Daniel Kamil Kozar
eabd0f2168
Use -D_FILE_OFFSET_BITS=64 instead of offset-width-specific functions (#488)
It looks like MacOS 11 removes the *64 functions, which have really been useless since 10.5 as off_t has been defined as 64-bit wide since that version.

_FILE_OFFSET_BITS is added and defined to 64 in case somebody wanted to compile tsMuxer as i386 and still have support for >2GB files.
2021-11-08 17:40:45 +01:00
Daniel Kamil Kozar
3abba3f9a0
Handle potential sysctl failures in build_macos_native.sh more gracefully (#487) 2021-11-06 16:37:42 +01:00
Dan Bryant
184bc0e783 label Mac Native GitHub action differently 2021-11-05 17:43:04 +00:00
jcdr428
48a45fecc0
Correct VVC_DESCRIPTOR_TAG
= 57 as per table 2-45 of ISO/IEC 13818-1:2021 made public yesterday.
2021-11-05 14:27:19 +01:00
jcdr428
720269ad9f
Correct STREAM_TYPE_VIDEO_H266
= 0x33 as per ISO/IEC 13818-1:2021 made public on 04-Nov-21.
2021-11-05 14:24:12 +01:00
Daniel Kamil Kozar
0a162cce0d
Use the model-view approach for handling font settings (#485)
This change moves all code related to handling font settings from TsMuxerWindow to its own model. The widget handling the data is now just an ordinary QTableView.

This does away with storing everything as strings inside a QTableWidget, which means that functions using font data to generate metafile or other kinds of output use QFont objects directly.
2021-11-01 17:29:50 +01:00
Daniel Kamil Kozar
1a1b771e14
Remove default font settings from UI XML (#484)
This causes these strings to be set when retranslateUi is called, possibly overwriting the proper ones loaded from the settings.

Fixes #482 .
2021-11-01 16:24:51 +01:00
jcdr428
8d7d35573a
Merge pull request #481 from justdan96/jcdr428-patch-2
[bug] Case when gci_num_reserved_bits > 32
2021-10-19 12:58:10 +01:00
jcdr428
5b8fdee725
Update vvc.cpp 2021-10-19 12:56:33 +01:00
jcdr428
7a227e4120
Merge pull request #480 from justdan96/jcdr428-patch-1
[bug] hdrSize should be uint64_t
2021-10-19 12:26:16 +01:00
jcdr428
007bb548a5
Update dtsStreamReader.cpp 2021-10-19 12:24:44 +01:00
jcdr428
f78f6f3bc3
Merge pull request #479 from AugJujube/master
fix issue 475
2021-10-19 08:59:45 +01:00
AugJujube
488a0cbdbf fix issue 475
fix a heap-buffer-overflow issue
2021-10-19 14:27:18 +08:00
jcdr428
c6a0277be6
Merge pull request #473 from jcdr428/master
[Bug] Correct stream_id

Fixes #460 .
2021-10-12 10:39:57 +01:00
jcdr428
1e34f97db1 [Bug] Correct stream_id
PES stream_id should be 0xE1 for HEVC, and 0xE0 for AVC / MPEG-2.
2021-10-11 21:09:24 +01:00
jcdr428
75e7943bb8
Merge pull request #472 from jcdr428/master
[Bug] Incorrect handling of H264 NALS
2021-10-11 20:36:55 +01:00
jcdr428
2ad378138e [Bug] Incorrect handling of H264 NALS 2021-10-09 18:05:07 +01:00
jcdr428
149fd8b569
Merge pull request #466 from jcdr428/Symlink
Symlink
2021-09-22 21:58:19 +00:00
jcdr428
4b8c36b013
Update textSubtitlesRenderFT.cpp 2021-09-22 22:47:50 +01:00
jcdr428
1d50191c0a Allow symlink font paths 2021-09-22 22:42:23 +01:00
jcdr428
d5f5a4c455
Merge pull request #465 from jcdr428/MacOS10.15
Upgrade to MacOS 10.15
2021-09-22 21:09:35 +00:00
jcdr428
09eff0d97c Upgrade to MacOS 10.15 2021-09-22 22:07:03 +01:00
jcdr428
9de04d349c
Merge pull request #464 from jcdr428/master
Upgrade to c++17
2021-09-22 20:52:48 +00:00
jcdr428
83a6cae62a Upgrade to c++17
Add #define WIN32_LEAN_AND_MEAN to avoid conflict between new c++17 std::byte and windows.h byte type.
2021-09-22 21:33:14 +01:00
jcdr428
be47e56772
Merge pull request #461 from jcdr428/jcdr428-FixMacFonts
Fix Font updates for Mac
2021-09-19 16:13:20 +00:00
jcdr428
c592a8ff4d
Fix Font updates for Mac
See issue #459: 
There are 3 places on macOS where fonts are located:
/System/Library/Fonts contains system fonts. That folder usually remains untouched.
/Library/Fonts contains additional fonts and fonts installed by different apps. User can install fonts to that folder. There is an Arial Unicode.ttf font in that folder.
~/Library/Fonts/ is usually empty by default. User can install fonts to that folder.
2021-09-19 17:05:03 +01:00
jcdr428
8474c6b01d
Correct STREAM_TYPE_VIDEO_H266 to 0x32
As per "ISO/IEC 13818-1:2019/DAmd 2 - Carriage of VVC in MPEG-2 Systems":
In 2.4.4.9, in Table 2-34, Stream type assignments, replace the following line:
0x32-0x7E ITU-T Rec. H.222.0 | ISO/IEC 13818-1 Reserved
with:
0x32 VVC video stream or an VVC temporal video sub-bitstream conforming to one or more profiles defined in Annex A of Rec. ITU-T H.26X | ISO/IEC 23090-3
2021-09-08 22:43:53 +01:00