362 Commits

Author SHA1 Message Date
Dan
ee6aaebec4
Merge pull request #238 from abakum/patch-7
use "make release" for Msys2 build script
2020-03-28 17:46:48 +00:00
Dan
d894f37711
Merge pull request #264 from jcdr428/patch-2
[bug] Fix DV profile for single track from Blu-ray
2020-03-28 17:45:38 +00:00
Dan
fd234e60b4
Merge pull request #263 from jcdr428/Fix_Subtitle_Delay
[bug] Fix Subtitle Delay when concatenating M2ts
2020-03-28 17:44:41 +00:00
Dan
9557cfaba6
Merge pull request #260 from jcdr428/patch-1
[bug] Fix num_applicable_ops_minus1 size
2020-03-28 17:43:03 +00:00
jcdr428
19adfe01b1
[bug] Fix DV profile for single track from Blu-ray
Members of Mkvforum are using a tool to create single DV tracks from double-track Blu-rays.
Although backward compatible with HDR10 or SDR, these single track DVs are not profile 8 compliant and should be profile 5.
2020-03-28 15:28:01 +02:00
jcdr428
5b4ae7d663 Fix Subtitle Delay when concatenating M2ts
tsMuxer currently calculates the length of each m2ts relative to the last PTS.
The length of the m2ts should be calculated relative to the last video PTS, as there can be some audio/subtitle tracks longer than the video track.
2020-03-28 14:28:19 +02:00
jcdr428
b65f638b7a
[bug] Fix num_applicable_ops_minus1 size 2020-03-26 16:05:56 +02:00
abakum
c6860175f5
make release instead make 2020-03-25 14:19:38 +03:00
Dan
04fc2f1cb8
Merge pull request #255 from jcdr428/patch-1
[bug] SEI nal does not always end by 0x80
2020-03-24 12:05:17 +00:00
jcdr428
2327f3cf20
[bug] SEI nal does not always end by 0x80
In the rare case where the SEI payload is not byte aligned, the nal does not end with 1000 0000.
Fixes issue #252 .
2020-03-23 21:40:37 +02:00
Dan
eaf35b4a4b
Merge pull request #254 from jcdr428/patch-4
For double video track, DV EL stream type = 0x06
2020-03-22 20:10:43 +00:00
Dan
1d4ac18e56
Merge pull request #251 from jcdr428/patch-1
Fix initializing lastDTS
2020-03-22 20:09:20 +00:00
jcdr428
286ccfebb2
clang check 2020-03-22 22:06:12 +02:00
Dan
ea5aaed213
Merge pull request #253 from jcdr428/patch-3
[Bug] prevent bitstream exception in hevc.cpp
2020-03-22 20:06:12 +00:00
Dan
9ba13389a8
Merge pull request #249 from jcdr428/patch-2
[bug] MP4 If no moof, return at first mdat
2020-03-22 20:04:49 +00:00
jcdr428
08ee53353e
For double video track, DV EL stream type = 0x06
As per 3.1.3.1 of DolbyVisionProfilesLevels_v1_3_2_2019_09_16.pdf, for the secondary Dolby Vision PID carrying the EL and RPU substream, "the value of stream_type shall be set to 0x06 (indicating PES packets containing private data)."
2020-03-22 22:01:44 +02:00
jcdr428
a4c47081da
[Bug] prevent bitstream exception in hevc.cpp
HDR10+ metadata is transmitted in the hevc stream via SEI nal with payloadType=4 'User data registered by Recommendation ITU-T T.35 SEI message syntax'. However the SEI 4 can have other uses, e.g. a single byte T.35 country code.

This fix prevents bitstream exception std::exception when SEI payloadSize is too short.
2020-03-22 21:12:37 +02:00
Dan
3def0c5547
Merge pull request #250 from jcdr428/Correct_DV_Profile_4
previous to this all Single Track Double Layer files were treated as Single Track Single Layer files and now we can properly handle those cases
2020-03-22 16:54:39 +00:00
jcdr428
c5cba97021
Fix initializing lastDTS
Currently, tsMuxer muxes the first two frames of the first video track before muxing any other track.
This is due to metaDemuxer.cpp line 98 'minDts = streamInfo.m_lastDTS;', with m_lastDTS being initialized at zero.

The first video packet pts is set to 0, the first dts is set back by one frame.
The lastDTS value must be initialized below the value of the first DTS.
2020-03-21 22:13:55 +02:00
jcdr428
6b653cbadc Correct DV Profile 4
DV Profile 4 is single track double layer
DV Profile 7 is double track double layer
2020-03-20 19:19:36 +02:00
jcdr428
f17cbf3909
clang check 2020-03-20 12:13:10 +02:00
jcdr428
5f0d175591
[bug] MP4 If no moof, return at first mdat
Bug created by #205 .
If no moof atom met, stop atom parsing as soon as an mdat data atom is found.
2020-03-20 12:10:53 +02:00
Dan
5e71110206
Merge pull request #248 from jcdr428/patch-1
Set HDR flags only if HEVC stream has been detected
2020-03-18 18:33:52 +00:00
jcdr428
b8310f5bb2
Update hevcStreamReader.cpp
Set hdr flags only if hevc stream (i.e. sps, pps, vps) has been detected.
2020-03-18 20:00:28 +02:00
Dan Bryant
cfa580ec4f avoid error with overnight OBS rebuild 2020-03-15 17:51:44 +00:00
Dan
226bab56f8
Merge pull request #245 from jcdr428/mpeg_descriptors
Correct MPEG-2 stream HDMV TS descriptors
2020-03-15 17:50:17 +00:00
Dan
30509b299d
Merge pull request #246 from jcdr428/EAC3_Descriptor
Ensure correct descriptors for pure EAC3 and also for AC3/EAC3 hybrid
2020-03-15 17:48:42 +00:00
Dan
20e9eeb648
Merge pull request #242 from jcdr428/patch-1
Fix to #206 so that video streams always come first in the stream list
2020-03-15 17:47:07 +00:00
Dan
21572f6f58
Merge pull request #243 from jcdr428/Non_Blu-ray_Dolby_Vision
In non-Bluray mode (TS or M2TS), when Dolby Vision is detected, include the 'DoVi' Registration Descriptor and the Dolby Vision video descriptor.
2020-03-15 17:46:29 +00:00
jcdr428
9384e6d665 clang check 2020-03-14 23:39:50 +02:00
jcdr428
8bc3ec1467 Correct AC3 descriptor
tsMuxer muxes Bluray "hybrid" AC3/EAC3 with HDMV descriptors. This patch adds the ATSC descriptor for pure (no AC3) EAC3 tracks.
2020-03-14 23:33:04 +02:00
jcdr428
fd2f5910df clang check 2020-03-13 23:36:44 +02:00
jcdr428
b7526c85ee Correct MPEG Descriptors
The TS Descriptors were not returned ('return 0') in the getTSDescriptor function.

The patch fixes the HDMV TS Descriptors.
2020-03-13 21:17:48 +02:00
jcdr428
11fcb24857
Solve endless loop on end when muxing to Blu-ray (#244)
The bluray movie always loops instead of stopping after reading.

Solution given by staina, cf. https://forum.doom9.org/showthread.php?p=1899665#post1899665
2020-03-13 19:21:09 +01:00
jcdr428
51670c7246 Correct ac3StreamReader 2020-03-13 13:31:20 +02:00
jcdr428
c10d0b8481 clang check 2020-03-13 13:17:38 +02:00
jcdr428
77e77f83ba Remove unused m_hdrBuffer 2020-03-13 12:57:22 +02:00
jcdr428
ffb6af0f78 Non-bluray Dolby Vision 2020-03-13 12:45:33 +02:00
jcdr428
d652b6e9a3
cland check 2020-03-12 22:09:55 +02:00
jcdr428
84ee12d48c
Video streams must come first
Fix to #206 so that video streams always come first in the stream list.
2020-03-12 22:06:09 +02:00
abakum
ae95ae87ca
cp tsMuxerGUI bin/
On mingw32 tsMuxerGUI is going to build/debug/ and on mingw64 now in build/
2020-03-09 21:46:25 +03:00
abakum
eecf6b0c00
Russian translation for transparency and downconvert (#237) 2020-03-09 16:05:51 +01:00
Daniel Kamil Kozar
91e095569d Translations update 2020-03-09 11:16:44 +01:00
abakum
29afe533ff
Russian translation of the file selection dialog (#235) 2020-03-09 11:14:37 +01:00
Daniel Kamil Kozar
99b467933a
Add a GUI option for adjusting PIP transparency (#234) 2020-03-07 18:09:24 +01:00
Dan Bryant
c5b3eab8d0 correct typos in nightly upload script 2020-03-06 11:06:57 +00:00
Daniel Kamil Kozar
2cf8661b97
Fix translated strings appearing in the metafile (#233) 2020-03-06 00:20:05 +01:00
Dan
680391580b
Merge pull request #206 from stanionascu/keep-track-order
When a file with multiple video tracks is added (e.g. with Dolby Vision), tsMuxer swaps the order of the video tracks in the output.
This change, prevents such behavior and maintains the order of the inserted tracks.
2020-03-05 11:39:36 +00:00
Dan
3f423ec697
Merge pull request #184 from abakum/abakum-msys2
create an msys2 rebuild script that people can use
2020-03-05 11:30:40 +00:00
Dan
61d7945425
Merge pull request #228 from abakum/patch-5
Сhanged address of test file
2020-03-05 11:29:43 +00:00