295 Commits

Author SHA1 Message Date
Dan
df9ad26325
Merge pull request #232 from justdan96/bug-update-paths-in-MXE-rebuild-scripts
update paths in MXE rebuild scripts
2020-03-05 11:28:05 +00:00
Dan Bryant
5b2837f96c the output path for tsMuxerGUI changed recently, so the Bash scripts for generating the tsMuxerGUI builds automatically have to be updated 2020-03-05 11:22:39 +00:00
Dan
fe3807c836
Merge pull request #230 from justdan96/bug-fix-filename-truncation
Fix Filename Truncation on Dot
2020-03-05 11:21:12 +00:00
Daniel Kamil Kozar
b4a5668234
Fix broken ISO labels when using non-ASCII characters (#222)
This commit fixes the broken ISO labels when using characters outside of the character set supported by ISO-8859-1. Every dstring written to the UDF headers is now inspected whether it can use the limited encoding or if it's necessary to encode it as 16-bit. This has the advantage of leaving all the dstrings which don't need 16-bit encoding, like folder and file names, without any modification in the file structure.
2020-03-04 17:26:15 +01:00
Dan Bryant
4aefb5cbdb clang-format 2020-03-04 15:26:30 +00:00
Dan Bryant
8db03e4821 ensure that when we extract the filename it won't stop on the first period encountered 2020-03-04 15:19:50 +00:00
Dan
39ddf3cc6a
Merge pull request #229 from justdan96/bug-fix-OBS-trigger
fix the OBS nightly rebuild
2020-03-04 13:29:25 +00:00
Dan Bryant
0061f6925d fix the OBS nightly rebuild 2020-03-04 13:26:02 +00:00
Daniel Kamil Kozar
4b8c084082
Simplify TsMuxerWindow::myPlaySound (#226)
It turns out that playing sound files available as application resources is as simple as using QSoundEffect with a qrc URL. This saves us from all the shenanigans previously done in order to save the resource to a file just to be able to pass it to a QSound object.
2020-03-03 21:57:01 +01:00
Dan
fda04c13f3
Merge pull request #224 from abakum/patch-5
correct some of the punctuation in the Russian translation file
2020-03-02 18:10:02 +00:00
abakum
d7d8d9df36
punctuation 2020-03-02 02:03:43 +03:00
Daniel Kamil Kozar
f0fc108959 Include about_ru.html in the resource file 2020-03-01 23:28:15 +01:00
abakum
cf69822e36
Create about_ru.html (#223) 2020-03-01 23:23:07 +01:00
Daniel Kamil Kozar
ce05c5d4d1
Move the contents of the "about" tab to an external file and other GUI improvements (#221)
The contents of the UI tab were saved as inline HTML in the UI file for TsMuxerWindow. Making them translatable would've exported the content to .ts files, which means that translators would have to put up with not only HTML, but HTML with XML escaping applied into it.
Moving the content to an external file seems like a best approach in this case. The content of the file is loaded in the appropriate language when switching languages. The HTML files themselves are included as resources at build time.
2020-03-01 19:32:53 +01:00
abakum
2c60a1976a
Update Russian translation (#220) 2020-03-01 19:07:39 +01:00
Daniel Kamil Kozar
9670fd6b19
Remove all usages of std::wstring (#219)
This commit erases all usages of std::wstring from the face of the project and reduces wchar_t usages to the necessary minimum, mostly for interoperability with WinAPI functions. UTF-8 encoded std::strings are used in place of std::wstring objects, and code which must operate on actual characters instead of the bytes which might represent a character has been modified in order to work properly - mostly the subtitle renderer and reader classes.
2020-03-01 01:14:57 +01:00
Daniel Kamil Kozar
d9a90f44f3
Enable translation in GUI (#218)
This change brings translation support to the tsMuxeR GUI. We have a Russian translation available so far, thanks to @abakum. The last selected translation is saved in the settings file and restored at the application's next startup. The currently used language is selectable by a combo box in the lower left corner of the window.
2020-03-01 00:35:31 +01:00
abakum
c7c3d8906d
Create a Russian translation (#217) 2020-02-29 21:31:38 +01:00
Daniel Kamil Kozar
96ac3233fd
Add a translation file for the GUI, mark (un)translatable content properly (#196) 2020-02-28 18:43:23 +01:00
jcdr428
ebb88d2fdf
Support for m4v files
m4v files have the same structure as mp4 - the only change is the filename extension.
2020-02-28 18:29:28 +01:00
jcdr428
5bd9570920
Fix incorrect subtitle space in Windows (#216)
The font space between regular and italics is incorrect, simply because the pen object was not passed to the GetBounds object.
2020-02-28 18:21:10 +01:00
Dan
b4c2cabf88
Merge pull request #213 from jcdr428/patch-4
fix subtitle timestamps when joining m2ts files together
2020-02-28 11:54:21 +00:00
Dan Bryant
63421ecb91 correct typo in changelog 2020-02-28 11:34:57 +00:00
jcdr428
d29dc05b4d
[bug]Fix incorrect subtitle timestamp
When joining several m2ts together (either in a mpls or manually), tsMuxer takes into consideration the start-time of the first file only.
This results in an incorrect subtitle start time when the m2ts don't all have the same start-time.

This simple fix solves this bug.
2020-02-28 11:40:32 +02:00
jcdr428
fcaf4cbead
Fix reading MP4 (bug from #205) (#207)
After #205, tsMuxer is reading over the end of the mp4 file, which results in erratic behavior -Visual Studio build works correctly, but cmake build does not.
This fix allows to stop the reading of the mp4 file at the last atom, before end of file.
2020-02-27 22:21:22 +01:00
Daniel Kamil Kozar
1bead15c8f
Don't use POSIX APIs in Windows builds (#212)
The POSIX compatibility layer provided by the Microsoft C Runtime Library
treats its string arguments as if they were passed to the A-family of WinAPI
functions, which means that they undergo conversion to the ACP before being
passed to the actual WinAPI call. Passing UTF-8 encoded strings could have
never really worked.
2020-02-27 22:20:36 +01:00
Daniel Kamil Kozar
e9d438bbbc Typo - one zero too much 2020-02-27 19:21:10 +01:00
Daniel Kamil Kozar
344f701046 Add information about using the Windows console 2020-02-27 19:19:53 +01:00
Daniel Kamil Kozar
d03456564a
Fix encoding errors when dealing with SSIF files (#211) 2020-02-27 18:46:52 +01:00
Dan
d817a09292
Merge pull request #199 from justdan96/enhancement-documentation-updates
Update Changelog, Update Readme and Add Contributors
2020-02-24 15:29:47 +00:00
Dan Bryant
c186e57b54 update information for OBS builds 2020-02-24 15:27:33 +00:00
jcdr428
1d9d603389
Reading fragmented MP4 (#205)
This patch allows tsMuxer to extract the chunks from the moof (movie fragments) atoms.
2020-02-23 15:43:32 +01:00
jcdr428
11f852a23d
Correct Descriptors for TS files (#203)
M2TS files use HDMV descriptors.
TS files have to use different descriptors.
Plus addition of Dolby Vision descriptor for TS files.
2020-02-22 21:37:41 +01:00
Dan
894c3c2862
Merge pull request #200 from jcdr428/patch-2
Add Dolby Vision fourCC codes
2020-02-22 08:54:13 +00:00
jcdr428
a664fdc017
Fix garbled subtitles when using Freetype
Fixes #190
2020-02-21 18:23:41 +01:00
jcdr428
a0424a89bd
Add Dolby Vision fourCC codes
The Dolby Vision MP4 files have the fourCC dvav  / dva1 (AVC), or dvhe / dvh1 (HEVC).

MP4 DV Samples: https://developer.dolby.com/tools-media/sample-media/video-streams/dolby-vision-streams/
2020-02-21 15:14:35 +02:00
Dan Bryant
626c0f1f60 add Roman's forum name 2020-02-21 12:20:55 +00:00
Dan Bryant
2d86e19f7f merge latest into branch 2020-02-21 12:17:50 +00:00
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
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
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