Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > (HD) DVD, Blu-ray & (S)VCD > (HD) DVD & Blu-ray authoring

Reply
 
Thread Tools Search this Thread Display Modes
Old 27th November 2019, 17:56   #101  |  Link
a5180007
Registered User
 
Join Date: Jun 2014
Location: Marrakech, Morocco
Posts: 253
Hi justdan96, could you please hold to 2.6.15 as I will keep on submitting commits over the week-end for the additional UHD formats/fps.
Can anybody share the ExtensionData formatting info (Jdobbs ? Pelican ?) for HDR10+, Dolby Vision and SL-HDR so that we can incorporate it into .clpi/.mpls/.bdmv as required.

Last edited by a5180007; 29th November 2019 at 12:09.
a5180007 is offline   Reply With Quote
Old 28th November 2019, 14:06   #102  |  Link
justdan96
Registered User
 
Join Date: Jun 2019
Location: UK
Posts: 49
Sure, we still have some things to sort out before the point release anyway so I don't mind holding off for a bit.
justdan96 is offline   Reply With Quote
Old 28th November 2019, 18:28   #103  |  Link
Hart2hart
Registered User
 
Join Date: Aug 2016
Posts: 12
tsMuxer Open Source

I can see you guys are busy over at GitHub!
Before I dive in two questions:

o Do you think any of the custom libraries you replaced with standard version would have included custom versions of named functions?

o Is there a module/object interaction diagram or would it be simpler to just pull all source into an ide like visual studio and let it build one?

Thanks!

Last edited by Hart2hart; 28th November 2019 at 19:07.
Hart2hart is offline   Reply With Quote
Old 28th November 2019, 20:34   #104  |  Link
jdobbs
Moderator
 
Join Date: Oct 2001
Posts: 20,975
Quote:
Originally Posted by a5180007 View Post
Hi justdan96, could you please hold to 2.6.15 as I will keep on submitting commits over the week-end for the additional UHD formats/fps.
Can anybody share the ExtensionData formatting info (Jddobs ? Pelican ?) for HDR10+, Dolby Vision and SL-HDR so that we can incorporate it into .clpi/.mpls/.bdmv as required.
Here's what I found for the MPLS extension based on looking at a number of original discs:

Code:
00 00 00 38	Length of ExtensionData() 
00 00 00 18 	Data block start address
00 00 00 01	24 bits reserved followed by number_of_ext_data_entries (1)
00 03 00 05 	ID1 (0x3) and ID2 (0x5) of the extension
00 00 00 18 	ext_data_start_address
00 00 00 24 	ext_data_length
00 00 00 20	length of following data (?)
01 00 00 00 
10 00 00 00
HDR_DATA	24 bytes

Example of HDR_DATA:
33 C2 86 C4	Master Display=G(13250,34500)
1D 4C 0B B8		       B(7500,3000)
84 D0 3E 80		       R(34000,16000)
3D 13 40 42		       WP(15635,16450)
0F A0 00 32		       L(40000000,50) = Mastering display luminance:  min: 0.0050 cd/m2, max: 4000 cd/m2 = 4000/50
07 8D 02 C5		       cll=1933,709
Note that the luminance is stored using factors of 10,000 (min * 10,000 and max / 10,000) -- I don't know why. I would assume so they can fit in a 16 bit integer.

Dolby seems to use the same extension, not sure about SL-HDR.

Here is the extension for index.bdmv

Code:
00 00 00 20	Length of ExtensionData()
00 00 00 18 	Data block start address
00 00 00 01	24 bits reserved followed by number_of_ext_data_entries (1)
00 03 00 01 	ID1 (0x3) and ID2 (0x1) of the extension
00 00 00 18	ext_data_start_address
00 00 00 0C 	ext_data_length
00 00 00 08	I think this is length of following info
21 00 03 00	upper nibble of first byte is disc type (0x2 = BD25/50), not sure about 0x03*
00 00 00 00	seems to be reserved...

*Made a correction to the index.bdmv extension data.  I'd put a value of 0x20 at offset 24, and it should have been 0x21

[12/13/2019]
Please note also that for UHD the version_number of the .index, clpi, and MPLS files have to be set to "0300" instead of "0200". In addition the video_format variable in the CLPI's ProgramInfo() table must be set to 0x8 for 2160p. Currently TSMUXER sets it to 0x6 (1080p). The stream_coding_type must be set to 0x24 for HEVC.

In order to do dolby vision, TSMUXER will have to be modified so the stream id for the dolby vision extension stream is set to 4117 and an additional entry for dolby vision must be added to the STN_table()

*Made a correction to the index.bdmv extension data. I'd put a value of 0x20 at offset 24, and it should have been 0x21
[Dec 13, 2019]
__________________
Help with development of new apps: Donations.
Website: www.jdobbs.net

Last edited by jdobbs; 13th December 2019 at 17:09.
jdobbs is offline   Reply With Quote
Old 28th November 2019, 21:13   #105  |  Link
justdan96
Registered User
 
Join Date: Jun 2019
Location: UK
Posts: 49
Quote:
Originally Posted by Hart2hart View Post
o Do you think any of the custom libraries you replaced with standard version would have included custom versions of named functions?
I'm not too sure actually - but I did pick out the pull requests where the replacements were made so you should be able to check it yourself:
https://github.com/justdan96/tsMuxer...a15072f17cf780
https://github.com/justdan96/tsMuxer...0d75cc53add9cc
https://github.com/justdan96/tsMuxer...9ace39b8fc6cf1

Quote:
Originally Posted by Hart2hart View Post
o Is there a module/object interaction diagram or would it be simpler to just pull all source into an ide like visual studio and let it build one?
There isn't a diagram currently. I just had a quick search around and it looks like maybe Doxygen can be used together with Graphviz to generate one. Something for me to think about!
justdan96 is offline   Reply With Quote
Old 29th November 2019, 12:34   #106  |  Link
a5180007
Registered User
 
Join Date: Jun 2014
Location: Marrakech, Morocco
Posts: 253
@jdobbs thanks, this HDR metadata info is exactly what I was looking for!

Current progress:
- The patch for changing BD version to 0300 has already been merged in the master;
- The patch for setting coding_type to 0x24 has also already been merged in the master;
- I've just submitted the patch for setting video_format to 8 for UHD;
- Also bugs were corrected for frame size limitation, and for MP4/AAC and EAC3 bitrates and channels.

@justdan96 tsMuxeR should now be able to author UHD but without HDR.
The HDR modifs in .clpi, .mpls and .bdmv will require a bit of time, first I need to understand how to extract the HDR metadata info from the HEVC SEI.
Let's say HDR (excl. Dolby Vision) will be my objective for 2.6.17...

Last edited by a5180007; 29th November 2019 at 14:01.
a5180007 is offline   Reply With Quote
Old 30th November 2019, 19:13   #107  |  Link
staina
Registered User
 
Join Date: Feb 2013
Posts: 67
Where it is possible download new version for Windows?
How is far full support UHD Bluray including HDR, Dolby Vision, Dolby Atmos?
Is already fixed loaded 3D - plane at 3D Bluray?

Thank for answer. Staina
staina is offline   Reply With Quote
Old 30th November 2019, 19:16   #108  |  Link
Video Dude
Senior Member
 
Join Date: Apr 2004
Posts: 1,054
Hopefully there will be a reconsideration and 32 bit binaries can be built. One main way to capture transport streams from hardware is the 1394 firewire port. There are no Windows 64 bit drivers that work. Using a Windows 32 bit version is a must. Users don't want to capture on 1 PC and then transfer to stream to a second machine to mux.

Last edited by Video Dude; 30th November 2019 at 19:23.
Video Dude is offline   Reply With Quote
Old 30th November 2019, 20:02   #109  |  Link
filler56789
SuperVirus
 
filler56789's Avatar
 
Join Date: Jun 2012
Location: Antarctic Japan
Posts: 1,351
Quote:
Originally Posted by Video Dude View Post
Hopefully there will be a reconsideration and 32 bit binaries can be built.
32-bit binaries CAN be built. The problem is, justdan96 simply doesn't care about them. Also, his workflow became *nix-centric, which means even the Windows builds of tsMuxeR now require a posix-threaded compiler.

Last edited by filler56789; 30th November 2019 at 20:02. Reason: clarity
filler56789 is offline   Reply With Quote
Old 30th November 2019, 22:52   #110  |  Link
a5180007
Registered User
 
Join Date: Jun 2014
Location: Marrakech, Morocco
Posts: 253
@xavery @justdan96 under Windows/MSVC I can't remove #include "stdafx.h" from textSubtitles.cpp without having 171 errors (!!), see file:
Error.Log.txt

Any alternative to get rid of stdafx.h ?

Edit : found the solution: actually the "rarely-used stuff from Windows headers" is still required i.e. we need to add #define WIN32_LEAN_AND_MEAN in textSubtitles.h

Last edited by a5180007; 30th November 2019 at 23:38.
a5180007 is offline   Reply With Quote
Old 2nd December 2019, 14:10   #111  |  Link
Richard1485
Guest
 
Posts: n/a
Quote:
Originally Posted by justdan96 View Post
Additionally I've taken a close look at tsMuxerGUI and there aren't any actual code dependencies on tsMuxer - so a drop-in replacement could be created.
That would be useful. On Linux, I found that the GUI worked fine but threw a series of errors upon first use, most of which seemed to relate to cosmetic aspects of the interface. (At the time, I was using 2.6.9 for reasons outlined earlier in the thread.)
  Reply With Quote
Old 2nd December 2019, 16:16   #112  |  Link
justdan96
Registered User
 
Join Date: Jun 2019
Location: UK
Posts: 49
I didn't think there would be much demand for 32-bit binaries, it does look like the demand is there so I'm pretty sure it would be easy enough to set up in CMake and I can just create a separate build.

Latest (64-bit) binaries for the CLI are available on GitHub, I'm still working on getting the GUI created automatically but I now know how I'll get tsMuxerGUI builds made for Linux and Windows so it's just MacOS where I need to do some more experimenting.

Also I moved house over the weekend so things may be a bit slower the next couple of weeks while I get broadband set up.
justdan96 is offline   Reply With Quote
Old 3rd December 2019, 12:16   #113  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,379
Hi justdan96

Very nice to see this project is going on. Could you tell me where I can download the latest version?
hubblec4 is offline   Reply With Quote
Old 3rd December 2019, 21:03   #114  |  Link
filler56789
SuperVirus
 
filler56789's Avatar
 
Join Date: Jun 2012
Location: Antarctic Japan
Posts: 1,351
Quote:
Originally Posted by hubblec4 View Post
Could you tell me where I can download the latest version?
From my Mediafire folder:

http://www.mediafire.com/file/4nlp9a...15.b-.rar/file
filler56789 is offline   Reply With Quote
Old 3rd December 2019, 23:03   #115  |  Link
justdan96
Registered User
 
Join Date: Jun 2019
Location: UK
Posts: 49
Quote:
Originally Posted by hubblec4 View Post
Hi justdan96

Very nice to see this project is going on. Could you tell me where I can download the latest version?
Official binaries are available on GitHub, take a look at the readme for more details!

https://github.com/justdan96/tsMuxer
justdan96 is offline   Reply With Quote
Old 3rd December 2019, 23:09   #116  |  Link
filler56789
SuperVirus
 
filler56789's Avatar
 
Join Date: Jun 2012
Location: Antarctic Japan
Posts: 1,351
Quote:
Originally Posted by justdan96 View Post
Official binaries are available on GitHub, take a look at the readme for more details!

https://github.com/justdan96/tsMuxer
Evidently justdan96 ignores the fact that not everybody has /wants-to-create a GitHub account.

Quote:
To download the pre-compiled binaries head over to the following URL (YOU MUST BE LOGGED IN)
filler56789 is offline   Reply With Quote
Old 3rd December 2019, 23:25   #117  |  Link
FilipeAmadeuO
Registered User
 
Join Date: Aug 2002
Location: Portugal
Posts: 340
Quote:
Originally Posted by filler56789 View Post
Evidently justdan96 ignores the fact that not everybody has /wants-to-create a GitHub account.
I must say that i do agree
Any chance to download binary without sign in to GitHub ?
FilipeAmadeuO is offline   Reply With Quote
Old 4th December 2019, 12:03   #118  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,379
Quote:
Originally Posted by justdan96 View Post
Official binaries are available on GitHub, take a look at the readme for more details!

https://github.com/justdan96/tsMuxer
Was not so easy to find, but I found it. It seems there is a tsMuxer.exe only at the moment, right?

I'm mostly interested in demuxing. How good works the new tsMuxeR?

Seamless branching disc's supported? Remove/Skip identical frames?
I had read that the last old rev of tsMuxeR has issues with subtitle streams, this issues are fixed?

E-AC3 EX support?
hubblec4 is offline   Reply With Quote
Old 4th December 2019, 19:43   #119  |  Link
Video Dude
Senior Member
 
Join Date: Apr 2004
Posts: 1,054
Quote:
Originally Posted by justdan96 View Post
I didn't think there would be much demand for 32-bit binaries, it does look like the demand is there so I'm pretty sure it would be easy enough to set up in CMake and I can just create a separate build.
Thank you justdan96. Much appreciated.
Video Dude is offline   Reply With Quote
Old 5th December 2019, 10:54   #120  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,469
Quote:
Originally Posted by hubblec4 View Post
I'm mostly interested in demuxing. How good works the new tsMuxeR?
I have just tried it to demux a few 3D DBs (not UHD), and it seems to work correctly.
Quote:
Originally Posted by hubblec4 View Post
Seamless branching disc's supported? Remove/Skip identical frames?
I suppose that the code that does that in the original version has not been modified, so I guess it's OK.
Quote:
Originally Posted by hubblec4 View Post
I had read that the last old rev of tsMuxeR has issues with subtitle streams, this issues are fixed?
Unfortunately, that bug has been added in v2.6.10 or v2.6.11, and I suppose that the latest closed source version (v2.6.12) has been used as the basis for the open source development. So, I suppose that the bug is still present. Unfortunately, that bug happens only in some relatively rare cases, and I don't remember what BD has caused it, so I have been unable to check if the bug is still present. I will try to find a good example and report it here, but that may take some time. Currently, if you want to be sure, I suggest to use v2.6.9 (although it has other bugs with the 3D-planes, not important for a 2D BD, but that should be fixed too). Or, use the new version and verify carefully the subtitles timings. If you find an example of bad timings, report it yourself, to help the developers.
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
BD3D2MK3D A tool to convert 3D blu-rays to SBS, T&B or FS MKV
r0lZ is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 21:29.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.