824 Commits

Author SHA1 Message Date
jcdr428
2f0fdbf326 Add Atmos detection 2022-02-26 12:42:15 +01:00
jcdr428
f4fa419129 Change m_m2tsDelayBlocks back to std::vector 2022-02-20 20:25:01 +01:00
jcdr428
acde33a56a Add language tag in demued file name
Fixes #550
2022-01-29 21:28:42 +01:00
jcdr428
8ff001a010 Add distinction between .thd and .ac3+thd demux 2022-01-29 21:08:03 +01:00
jcdr428
6c8e72e6bf Always take language tag from clpi
When language tag is present in both clpi and m2ts, tsMuxer currently default to m2ts.
With this commit, tsMuxer defaults to clpi.
2022-01-25 21:02:48 +01:00
jcdr428
6d6bdff0e1 Allow muxing of pure EAC3 in Blu-rays 2022-01-23 19:16:29 +01:00
jcdr428
4c6660833b Matroska UID is 64-bit 2022-01-23 18:56:40 +01:00
jcdr428
0ccf21968a if(MSVC) add_definitions(-D_CRT_SECURE_NO_WARNINGS)
To prevent compiler warnings on the unsafe/deprecated methods strcpy, strncpy, gmtime, localtime...
gcc does not accept the safe _s method alternatives.
2022-01-23 18:13:00 +01:00
jcdr428
839e3b055f Clang format check 2022-01-23 17:50:18 +01:00
jcdr428
76e97d2370 Change std::map insert(std::make_pair( to direct assignment
Much clearer to read and debug.
2022-01-23 17:48:19 +01:00
jcdr428
93e21e6324 AVC/HEVC/VVC serialize()/deserialize() are not virtual 2022-01-23 13:49:44 +01:00
jcdr428
518151ea21 Change nanoClockToPts() and ptsToNanoClock() to static inline 2022-01-23 13:15:02 +01:00
jcdr428
bd5804b9c1 Function FOUR_CC moved to lpcmStreamReader.cpp
FOUR_CC is used by lpcmStreamReader only
2022-01-23 12:41:01 +01:00
jcdr428
62a086439a
Add Clang Format Check on push 2022-01-23 11:55:01 +01:00
jcdr428
ab7f68ec76
Merge pull request #548 from jcdr428/master
Remove unused variables
2022-01-23 11:44:33 +01:00
jcdr428
8bbf6a4c4c Clang format check 2022-01-23 11:43:32 +01:00
jcdr428
f3c1d034c6 Remove unused variables
Also:
Add parentheses to clarify precedence of && over ||
Put class members initialization in the same order as declaration
2022-01-23 11:25:30 +01:00
jcdr428
122ac882d2 Fix initialization in the same order as declaration
Plus remove few unused variables.
2022-01-22 22:32:51 +01:00
jcdr428
eb0694107b Allocate HEVC m_slice at initialization 2022-01-22 20:59:37 +01:00
jcdr428
97ed057dc4 Fix memory leak in VVC
Plus vps nal is not compulsory in VVC: not a condition for isSuffix()
2022-01-22 20:42:44 +01:00
jcdr428
49f43aa280 Add m_slice to ~HEVCStreamReader()
Plus: fix SPS initialization in the same order as declaration
2022-01-22 20:31:07 +01:00
jcdr428
16ec154ea1 Fix hevc memory leak
A, HevcSliceHeader member with a new dynamic variable m_nalBuffer is created every time the intDecodeNal method is called.

This commit fixes the leak.
2022-01-22 19:34:40 +01:00
jcdr428
495a3c7881 [bug] Add hevc delta_idx variable
When stRpsIdx == num_short_term_ref_pic_sets, delta_idx must be read from the stream.

Plus removal of struct ShortTermRPS, not needed.
2022-01-22 18:02:37 +01:00
jcdr428
04f604e64a Move hevc variable cpb_cnt_minus1 to local 2022-01-22 11:46:30 +01:00
jcdr428
a91b437bfb Fix MLP stream info 2022-01-21 21:34:47 +01:00
jcdr428
e2b56c8055
Merge pull request #547 from jcdr428/master
Add pure TrueHD codec

Add mlpCodec and mlpStreamReader classes
Transfer MLP/TrueHD part from ac3Codec to mlpCodec
2022-01-21 17:11:59 +01:00
jcdr428
6fdf694a16 Clang format check 2022-01-21 17:09:50 +01:00
jcdr428
be59064694 Add pure TrueHD codec 2022-01-21 16:56:37 +01:00
jcdr428
1233211abc
Merge pull request #546 from jcdr428/master
Deallocate file memory + clang format check
2022-01-20 23:01:54 +01:00
jcdr428
7271126273 Clang format check 2022-01-20 22:59:38 +01:00
jcdr428
fc3c668097 Clang format check 2022-01-20 22:52:26 +01:00
jcdr428
94387a101d Deallocate file memory 2022-01-20 22:23:33 +01:00
Dan
a8602cd90f
add MacOS native to COMPILING.md 2022-01-18 22:18:07 +00:00
Dan
3770f63421
update build script for MacOS to be more portable 2022-01-18 09:59:31 +00:00
jcdr428
938eefbc6c Add switch default to prevent compiler warning 2022-01-15 00:20:22 +01:00
jcdr428
6575bbb7a0
Update hevcStreamReader.cpp 2022-01-14 18:19:19 +01:00
Daniel Kamil Kozar
61f0b0ca8e s/UHD/HEVC/ 2022-01-12 19:12:58 +01:00
Daniel Kamil Kozar
0c38aaf3a8 Bintray is no more 2022-01-12 19:03:03 +01:00
Daniel Kamil Kozar
8b509c05d9 Update README.md 2022-01-12 19:00:56 +01:00
Daniel Kamil Kozar
177169a4f8 Hopefully fix linking errors caused by freetype dependencies 2022-01-12 18:54:17 +01:00
Daniel Kamil Kozar
1d478daf7e
Use static freetype from Homebrew in MacOS native builds (#496) 2022-01-12 12:39:40 +01:00
jcdr428
e654d6331f Group PES stream_id in an enum 2022-01-11 21:48:51 +01:00
jcdr428
0c2f34f29a Group TS descriptors under one single enum 2022-01-11 19:19:30 +01:00
jcdr428
3b5e847b21 Remove unused variables in tsPacket
Also use same order for class members definition and initialization.
2022-01-11 01:50:50 +01:00
jcdr428
53f39657b8 Simplify names of enum class members
The member name is now always prefixed with the class name so can be shortened without risk of confusion / mixing.
2022-01-10 23:24:54 +01:00
jcdr428
38eac9b673 Simplify names of enum IOContextTrackType members 2022-01-10 22:26:21 +01:00
jcdr428
ab2e101732 Add VVC demuxing from MOV/MP4 2022-01-09 22:36:57 +01:00
jcdr428
93a07e89e9 Clean tsPacket.cpp 2022-01-09 21:19:01 +01:00
jcdr428
440546be5b Add ParsedH266TrackData class in Mastroska
Also change the #define CODEC_ID to constexpr.
2022-01-09 18:49:54 +01:00
jcdr428
d753ed9014 Add default in switch to prevent Mac compiler warnings 2022-01-09 17:57:20 +01:00