423 Commits

Author SHA1 Message Date
Daniel Kamil Kozar
1d35df5b08
Try to fix default audio/subtitle track combo boxes' track descriptions (#342)
updateTracksComboBox() was called after the indices are updated, but before the
row being removed is actually removed from the trackLV structure. This caused
the new generated track descriptions to refer to invalid tracks.
2020-09-18 01:23:23 +02:00
Daniel Kamil Kozar
304cb687f1
Allow selecting multiple files also when clicking "join" (#341) 2020-09-18 00:19:53 +02:00
Daniel Kamil Kozar
92eac0434a
Make it possible to add multiple files when clicking "add" (#339) 2020-09-17 01:41:31 +02:00
Daniel Kamil Kozar
2a4489d060
Fix crashes when removing audio/subtitle tracks from the main window (#340)
Indices in both combo boxes must be updated, since an audio track index might
have changed when a subtitle track is removed and vice versa : there is only one
array which holds information about tracks that these combo boxes reference via
the data contained in their items' UserRoles.
2020-09-17 01:36:56 +02:00
jcdr428
c73fb1ef86
Precheck frame depth with multi-slice frames (#338)
The pre-check shall be done on the first slice of pictures only.
Plus the picture counter m_totalFrameNum is set back to zero after pre-check.
2020-09-15 22:59:11 +02:00
jcdr428
78cfc4c149
Precheck Frame Depth (#337)
tsMuxer currently sets back the DTS (Decoding Time Stamp) during the muxing if the frame depth (i.e. difference between encoded picture number and decoded picture number) is found >1.
This is wrong: the frame depth should be checked -and the DTS set back- before the muxing commences.

This commits solves this.
2020-09-12 22:43:57 +02:00
Daniel Kamil Kozar
bb3263f9fc
Revert "Detect tracks from longest playlist (#333)" (#334)
This reverts commit 1c7c911359ff418ecaadc09c49f9ae9e7e32889d.
2020-09-07 23:34:00 +02:00
jcdr428
1c7c911359
Detect tracks from longest playlist (#333)
tsMuxer currently detects the tracks from the first playlist (i.e. m2ts/clpi) of the mpls.
There can be cases where the subsequent playlists of the mpls contain additional audio/subtitle tracks.
This patch allows tsMuxer to detect the tracks from the playlist having the largest number of tracks.

Fixes #317.
2020-09-05 11:50:41 +02:00
Daniel Kamil Kozar
c139668355 Actually change loader entries in the copied libraries 2020-09-02 20:15:41 +02:00
Daniel Kamil Kozar
ba409fa8d2 Process dependent libraries recursively when preparing MacOS nightly package 2020-09-02 01:41:40 +02:00
jcdr428
99e193c3bf
Increase size of detect buffer (#330)
See issue #329 : when a track starts after the first 16 MB in the m2ts, it is not detected.
It is therefore proposed to increase the detect buffer (i.e. size of scanned chunk) to 64 MB.
2020-09-02 00:21:03 +02:00
jcdr428
20247206b8
Correct "General track options" layout (#327)
Correct the grid layout so that the data is neatly shown on the two rows.
Video layout has now the same height as audio and subs layouts.
2020-08-31 00:21:35 +02:00
Daniel Kamil Kozar
7888bc65d8 Rework library paths in the main binary of the Mac nightly build 2020-08-31 00:16:42 +02:00
Daniel Kamil Kozar
818f916e7c
Update French translation 2020-08-27 21:09:41 +02:00
Daniel Kamil Kozar
7c47d0dd2d
Add the French translation to qmake as well 2020-08-26 08:15:22 +02:00
Daniel Kamil Kozar
3f677ef439
Add French translation (#324)
All credit goes to FRtranslator.
2020-08-25 23:06:58 +02:00
jcdr428
637b6044b5
4K flag set in non-hdmv mode (#322)
The blurayStreamParams method is currently called only in hdmv mode, therefore the 4K flag is always off in non-hdmv mode.
This commit fixes this.
2020-08-24 22:28:06 +02:00
Daniel Kamil Kozar
d058a4d2cf
Don't use locale-aware conversion when creating split-size meta argument (#320) 2020-08-18 00:34:27 +02:00
kraigeric
f4eafaa6c2
Use memmove when buffers can overlap. (#319)
BluRay m2ts failure for linux 64-bit tsMuxeR

This bug was caused by using memcpy() in metaDemuxer.cpp with
overlapping buffers.  Use memmove() instead.  The other
changes were the result of a bench check of the sources.

This fixes (#316)

Co-authored-by: Craig Hadady <chadady@gmail.com>
2020-08-17 17:10:12 +02:00
Daniel Kamil Kozar
c61c00285d
Add .dtshd to the list of supported media file extensions (#315) 2020-07-21 21:13:38 +02:00
jcdr428
ad482fbab3
Reversion on m_lastDTS initialization (#314)
The previous patch #251 solved one issue with double HEVC tracks, but created various issues with other tracks e.g. https://forum.doom9.org/showthread.php?p=1918290#post1918290
This patch puts back initialization of m_lastDTS to 0. I'll work out an alternative way to solve the double HEVC track DTS issue.
2020-07-17 16:33:49 +02:00
Daniel Kamil Kozar
632b6e4c10
Always save settings when closing GUI (#310)
Fixes #257.
2020-07-02 00:10:49 +02:00
Daniel Kamil Kozar
bbcacde251
Implement reproducible ISO output (#309) 2020-07-01 23:09:26 +02:00
Daniel Kamil Kozar
61fe6ebbd7
Revert recent changes regarding directory separators (#308)
Some of these functions are called by the Bluray ISO image generation code which
always uses '/' as a directory separator.

Fixes #307.
2020-07-01 18:04:04 +02:00
Dan
d2c38c542f
Check for Invalid Characters in Output Filename (#274)
Fixes #268.
2020-06-26 23:33:50 +02:00
Daniel Kamil Kozar
0fa0738db8
Fix bad file type/extension in .meta save dialog (#305)
Fixes #304.
2020-06-24 20:00:28 +02:00
Dan Bryant
7901afa953 add OBS secrets to nightly GitHub action 2020-06-09 22:50:29 +01:00
Dan Bryant
0a47e84d72 update nightly script so new builds are triggered in OBS correctly 2020-06-09 22:45:15 +01:00
jcdr428
7b159f6482
Fix SingleFileMuxer::close (#300)
Regression on commit #277 : modification of SingleFileMuxer::close() is not necessary.

Fixes issue #299.
2020-05-08 21:11:53 +02:00
Daniel Kamil Kozar
e347781173
Fix location of the main binary in native macOS builds (#297) 2020-04-29 21:39:15 +02:00
Daniel Kamil Kozar
59f22eb481
Provide a script and workflow for building the project natively on MacOS (#145) 2020-04-28 23:49:48 +02:00
jcdr428
86fce382c0
Fix pixelRate type (#294)
Also fixes image width for dual track DV
2020-04-28 23:14:48 +02:00
Daniel Kamil Kozar
e790807650
Fix .dts extensions being mistakenly parsed by .ts file parser (#291)
This also probably fixes a lot of other issues introduced by my last changes to
METADemuxer. Fixes #290.
2020-04-27 19:11:05 +02:00
jcdr428
330bb477cc
Support for HDMV descriptors is now selectable at runtime (#282)
Fixes #273.
2020-04-26 01:03:47 +02:00
jcdr428
4bb16e0f5f
Fix skipbyte 4GB limit (#288)
The size of bytes to skip should be unsigned 64-bit integer.

Fixes #285.
2020-04-24 00:06:33 +02:00
Daniel Kamil Kozar
97d49e4d1e
Fix CLPI files not being read on non-Windows platforms (#281)
Fixes #166.
2020-04-18 17:33:16 +02:00
Daniel Kamil Kozar
f044a88c35
Fix the "About" tab being empty when the language is not set (#280)
Fixes #267.
2020-04-18 16:26:53 +02:00
Daniel Kamil Kozar
5d40242700
Make it possible to build the GUI for Windows XP (#227) 2020-04-18 15:09:44 +02:00
Dan
ac9b47cfe2
Merge pull request #275 from jcdr428/DV_HDMV_Descriptor
[bug] Reinstate HDMV Descriptor for DV track
2020-04-15 17:37:10 +01:00
Dan
e4cb3da4cb
Merge pull request #277 from jcdr428/patch-2
[bug] Fix wav length
2020-04-15 17:36:17 +01:00
Dan
f2c5ef0dec
Merge pull request #276 from jcdr428/patch-1
[bug] Fix Byte per Bloc info in Wav file
2020-04-15 17:35:22 +01:00
jcdr428
15bf15f4dc
Update singleFileMuxer.cpp 2020-04-11 17:27:32 +02:00
jcdr428
35ca0cd9d6
Fix wav length
See issue #272 .
2020-04-10 10:00:33 +02:00
jcdr428
5ab7361e77
Fix lpcm to wav Byte per Bloc info
waveFormatPCMEx->nBlockAlign = m_channels * waveFormatPCMEx->wBitsPerSample / 8;
            waveFormatPCMEx->wBitsPerSample = m_bitsPerSample == 20 ? 24 : m_bitsPerSample;

=> nBlockAlign is calculated with an incorrect wBitsPerSample value, as this wBitsPerSample value is defined on the next line only !
2020-04-08 21:03:15 +02:00
jcdr428
25fd55241d clang check 2020-04-07 21:32:17 +02:00
jcdr428
fb8537269e Reinstate HDMV Descriptor for DV track
Bluray Players do not read DV tracks withut the HDMV descriptor
2020-04-07 21:25:47 +02:00
Dan
f6ac3b148c
Merge pull request #269 from jcdr428/Simplify_profiles
[bug] Integration of old Dolby Vision profiles 2, 3 and 6
2020-04-06 11:29:02 +01:00
jcdr428
09b0ef7eb4 Fix DV cross-compatibility ID 2020-04-03 10:01:14 +02:00
jcdr428
666cb81f0d clang check 2020-04-01 00:06:58 +02:00
jcdr428
5ed3d6c528 Fix DV Level 2020-04-01 00:04:46 +02:00