Log in

View Full Version : TSM2UHD Discussion and Bug Reporting


Pages : 1 2 3 [4]

SeeMoreDigital
21st December 2018, 16:33
That's very encouraging work :)

Lucius Snow
21st December 2018, 19:12
I've just made a test on a HDR mastering display, the OSD of the UBP-X700 says it's still SDR. It's odd because the TSM2UHD logs detected the HDR flag.
It has finally worked after the firmware upgrade of the player!

EDIT : What I have noticed is that HDR flag appears in the OSD of the Sony player only if Dolby Vision is enabled in the config menu. Why is that?

Here is my logs:

========Job Started========
[15:04:54] Scanning source for UHD attributes...
- UHD and HDR attributes collected.
- Scan completed.
[15:04:54] Checking/Adjusting MPLS file...
- Found HEVC stream...
-- Type marker adjusted to UHD-BD HEVC...
-- Format marker adjusted to 2160p...
-- Version marker adjusted to be 0300...
[15:04:54] Checking/Adjusting CLPI file...
- Found HEVC stream...
-- Type marker adjusted to UHD-BD HEVC...
-- Format marker adjusted to 2160p...
-- Version marker adjusted to be 0300...
[15:04:54] Checking/Adjusting BDMV files...
- Added UHD-BD extension...
- Checked/Updated version in Index file...
- Checked/Updated version in MovieObject file...
[15:04:54] Checking/Adjusting M2TS file...
[15:04:58] TSMUXER TO UHD - SUCCESS
=========Job Ended=========

EDIT2: And the displayed colours are not good at all then. Can you confirm the Sony's OSD should mention "HDR" without Dolby Vision enabled?

EDIT3 : If I take 00000.m2ts file out from the Blu-Ray folder and copy it to a USB key that I plug in, the Sony player detects it as HDR and displays properly the colours. With "Dolby Vision" disabled. So it looks like a TSM2UHD bug during the patch?

Cesarleeds
25th December 2018, 20:08
Thought I'd post an update on the BD-RB's UHD-BD processing.

I've completed and tested the HEVC muxing routines and all is well. BD-RB corrects the TSMUXER M2TS for HEVC output and replaces the MPLS and CLPI files (corrupt due to TSMUXERs HEVC muxing issue) with those internally generated by BD-RB. The output works perfectly on my Sony UHD player.

Now I am making modifications to the import routines so they will also correct for TSMUXERs actions. It's not as easy as you may think, since I still need TSMUXER to combine multi-part playlists during import and to mux the other (non-hevc) streams. I've also done research on how BDs handle DolbyVision streams. An extra video track containing the DolbyVision data is muxed as a separate stream into the M2TS file. Since TSMUXER has no awareness of that stream (it thinks it's just another secondary video) I have to go back through my code and make changes so that it can be integrated properly into output. I'm not sure how long that will take -- but I don't expect it to be extensive.

All in all things are moving along -- albeit slowly. I may get a version out for testing in the next few days, but at the latest I'll get it out by EOY.

Hey jdobbs, thanks so much for your work.

I´ve been a long time tsmuxer user, our bluray market in Spain is quite abandoned, so i learnt how to create my own custom blurays which i´ve been doing, as i said, during many years.

The UHD market is even worst, we don´t even get the Disney movies (no Star Wars, no Marvel) or things like John Wick, Valerian or The Fifth Element, so my mind couldn´t stop thinking about custom uhd movies, and that is how i end up here, in this forum and in this thread.

I´ll be looking forward for your tool, and yet again, thanks so much for your work.

ocean
26th December 2018, 13:00
Happy holidays to all, the first titles were released with HDR10+, change two bit-level flags in clpi, generally it is 4608, now there is 4736:

"ProgramInfo": {
"reserved_for_word_align": 0,
"program_sequence": [
{
"SPN_program_sequence_start": 0,
"program_map_PID": 256,
"reserved01": 0,
"stream_in_ps": [
{
"stream_PID": 4113,
"stream_coding_type": "H.265",
"video_format": "2160p",
"frame_rate": "23.976",
"aspect_ratio": "16:9",
"reserved01": 0,
"cc_flag": 0,
"reserved02": 4736,
"ISRC": {
"country_code": "",
"copyright_holder": "",
"recording_year": "",
"recording_number": "" ""

decimal
4736

hex
0X1280

binary
0001 0010 1000 0000

and mpls main:

pid": 4113,
"stream_coding_type": "H.265",
"video_format": "2160p",
"frame_rate": "23.976",
"reserved_uhd": 18,
"reserved01": 16384

jdobbs
28th December 2018, 16:58
@ocean: Thanks.

zizux
3rd January 2019, 17:47
First of all thank your work, some of us hope you get the program out as soon as possible so we can use it.
I have a doubt. I use scenarist but when you generate a file that enters a bd50, with some movies there are problems since they have a higher bitrate than what the disc supports and the program doesn´t automatically calculate it.
Could your program do it?


Regards.

UHD 4 Everyone
3rd January 2019, 22:56
First of all thank your work, some of us hope you get the program out as soon as possible so we can use it.
I have a doubt. I use scenarist but when you generate a file that enters a bd50, with some movies there are problems since they have a higher bitrate than what the disc supports and the program doesn´t automatically calculate it.
Could your program do it?


Regards.

I haven’t used scenarist since I’m not freaking rich. But I believe it takes whatever you give it as far as input media goes. Otherwise, it costs enough that it should be able to control what Bitrate you will render to. JDobbs program does not re-encode. TSM2UHD only parses through streams and modifies certain flags and other info to reflect UHD BD “compliance”

Have you reached out to their support for assistance, you pay enough for the software that you should be able to contact them and they will walk you through it.

jdobbs
4th January 2019, 15:14
I haven’t used scenarist since I’m not freaking rich. But I believe it takes whatever you give it as far as input media goes. Otherwise, it costs enough that it should be able to control what Bitrate you will render to. JDobbs program does not re-encode. TSM2UHD only parses through streams and modifies certain flags and other info to reflect UHD BD “compliance”

Have you reached out to their support for assistance, you pay enough for the software that you should be able to contact them and they will walk you through it.There is a 32 bit value in the CLPI file called TS_recording_rate. On the UHD discs I've looked at it is set to 109 Mbps (which is the maximum for a 66GB or 100GB disc). For most standard 50GB (or 25GB) discs used for UHD the maximum should be 64 Mbps (and 48 Mbps when used for non-UHD). It wouldn't surprise me if Scenarist always sets it to 109 (since almost all commercial discs are 66/100GB and Scenarist is used commercially).

TSM2UHD doesn't change that value, since TSMUXER doesn't set it that high. But, now that I think about it, it probably should be set to 64 Mbps since many people who are reencoding might use a higher maximum bitrate than they would on a standard 1080p BD.

If anyone is going to try and change it manually -- please note that the value is actually stored as bytes per second.

Lucius Snow
15th January 2019, 18:47
Afaik UHD requires UDF 2.60, 2.50 is for standard BD's.

Some news... Scenarist UHD builds UDF 2.50 image.

rpareja
8th March 2019, 15:35
First of all, i apologize for my ignorance.

I've been a BD Rebuilder fan for a long time and just until a couple of weeks ago I am entering the 4K HDR world (new 4K UHD HDR+ TV, new 4K HDMI cables and new 4K A/V Receiver).
Yesterday I read about this program TSM2UHD.

I have some 4K UHD HDR movies with a mkv format and I want to create a blu-ray structure for each one using TSMUXER.
I AM NOT planning to burn them and use a standalone player, but I am thinking of playing the blu-ray folder structure movie using PowerDVD on my 4K laptop and connect it to my A/V Receiver with an 4K HDMI cable to watch them.

When I load the mkv file on TSMUXER, it reports the correct information about resolution, audio, etc. of each track and seems to process everything correctly creating the blu-ray folder structure.

The questions I have are:
1) Does the process of creating the structure using TSMUXER is the correct approach I need?
2) Do I still need to process each movie folder (that were created with tsmuxer) using TSM2UHD?
3) Does TSMUXER loses something (in the video or audio that were used as input) during the process of creating the folder structure or it creates everything as it was?
4) Is this step using TSM2UHD to correct some information is only needed if I plan to burn the movie on a disc and play them in a standalone player?

Thanks for any help,

RPareja

ocean
8th March 2019, 22:30
I have some 4K UHD HDR movies with a mkv format and I want to create a blu-ray structure for each one using TSMUXER.
I AM NOT planning to burn them and use a standalone player, but I am thinking of playing the blu-ray folder structure movie using PowerDVD on my 4K laptop and connect it to my A/V Receiver with an 4K HDMI cable to watch them.


Hi rpareja, I do not know the specifications of your laptop, but PowerDVD requires certain features to read Blu-Ray structure 4K HDR, SGX feature etc..:
https://www.cyberlink.com/support/product-faq-content.do?id=19144&prodId=1&prodVerId=1326&CategoryId=-1&keyword=

rpareja
8th March 2019, 23:49
Hi rpareja, I do not know the specifications of your laptop, but PowerDVD requires certain features to read Blu-Ray structure 4K HDR, SGX feature etc..:
https://www.cyberlink.com/support/product-faq-content.do?id=19144&prodId=1&prodVerId=1326&CategoryId=-1&keyword=

Thanks Ocean,

There is no problem at all with PowerDVD, because the laptop is an i9 8th Generation Dell with 4k Display and full 4K blu-ray structures are being played fine.

I am just worried about the directory structure generated by TSMUXER.
- Should I run TSM2UDH after processing the mkv file and create the blu-ray structure?
- Or if not planning to burn the results from TSMUXER to a physical disc, I should not worry about running this utility?

Thanks!

ocean
9th March 2019, 00:55
- Should I run TSM2UDH after processing the mkv file and create the blu-ray structure?
- Or if not planning to burn the results from TSMUXER to a physical disc, I should not worry about running this utility?

Yes, you need to run TSM2UDH after processing the mkv file, and creating the blu-ray structure, read first post of jdobbs:
http://forum.doom9.org/showthread.php?t=175120

rpareja
9th March 2019, 06:09
Thanks again Ocean.

I was trying to be clear about this program and my doubts were precisely because of the comment on the first post (the bold part):

"The purpose of this software is to examine the output of TSMUXER v 2.6.12 and make changes that are required in order to make that structure readable and compatible with a standard UHD-BD standalone player."

I thought that a standalone player was considered to be a physical 4K blu-ray player and that if I never plan to use one, maybe there was no need to run this software.
I don't know if software like PowerDVD, VLC Player, etc. are also considered to be standalone players.

Again, :thanks:

ocean
10th March 2019, 00:38
"The purpose of this software is to examine the output of TSMUXER v 2.6.12 and make changes that are required in order to make that structure readable and compatible with a standard UHD-BD standalone player."

Yes, but then if you always read from the first post:
"When TSMUXER v2.6.12 was created there was still much that hadn't been decided in the UHD-BD standard".
This applies to both physical Blu-Ray and folder structure, it is necessary to always use after TSM2UHD, to be compatible with UHD-BD specifications.

I don't know if software like PowerDVD, VLC Player, etc. are also considered to be standalone players.

PowerDVD is the only certified to read Blu-Ray UHD on pc, but there are other software for pc, dvdfab player, MPC-BE also paired with madVR, etc.

rpareja
10th March 2019, 02:42
Yes, but then if you always read from the first post:
"When TSMUXER v2.6.12 was created there was still much that hadn't been decided in the UHD-BD standard".
This applies to both physical Blu-Ray and folder structure, it is necessary to always use after TSM2UHD, to be compatible with UHD-BD specifications.



I missed that extremely important part!!!
Now I understand the concept better, thank you very much OCEAN!!

spexman
1st August 2019, 03:20
Thread has been quiet for a long time....any progress on a new version to deal with the stutter issues? Thank you!

Yordan5
1st August 2019, 21:14
Thread has been quiet for a long time....any progress on a new version to deal with the stutter issues? Thank you!

https://forum.doom9.org/showthread.php?p=1880778#post1880778

jdobbs
1st August 2019, 21:15
Thread has been quiet for a long time....any progress on a new version to deal with the stutter issues? Thank you!I'll take a look at transporting the code I wrote for BD Rebuilder into TSM2UHD.

spexman
3rd August 2019, 02:29
Thank you very much jdobbs...if you could do that and provide me with that new version of TSM2UHD, I will get on experimenting with it and report back, generally, and especially in terms of the sync issues.....much appreciated!

spexman
7th October 2019, 21:33
I have been following the BD-RB thread and appreciate all the work you are doing to perfect it....any chance you could post the TSM2UHD current portion? Many thanks!

jdobbs
7th October 2019, 22:18
I have been following the BD-RB thread and appreciate all the work you are doing to perfect it....any chance you could post the TSM2UHD current portion? Many thanks!Once I get it working reliably in BD Rebuilder, I'll transport the new code to TSM2UHD.

spexman
11th October 2019, 12:34
Fantastic, thank you very much!

tebasuna51
20th October 2019, 10:55
@jdobbs

I'm never interested in rebuild DVD's, and is the first time I see this subforum because a link (https://forum.doom9.org/showthread.php?p=1887940#post1887940) in (HD) DVD & Blu-ray authoring subforum.

I see here threads like: TSM2UHD Discussion..., BD Rebuilder... and others related with Blu-ray authoring and tsMuxeR than surprise me.
Maybe we can change the name of this subforum to DVD & BD Rebuilder

jdobbs
20th October 2019, 17:30
@jdobbs

I'm never interested in rebuild DVD's, and is the first time I see this subforum because a link (https://forum.doom9.org/showthread.php?p=1887940#post1887940) in (HD) DVD & Blu-ray authoring subforum.

I see here threads like: TSM2UHD Discussion..., BD Rebuilder... and others related with Blu-ray authoring and tsMuxeR than surprise me.
Maybe we can change the name of this subforum to DVD & BD RebuilderThat works for me... but I'm not even sure how to change the title.

Ch3vr0n
20th October 2019, 20:01
You're the boss of this section, log into the forum admin side (if you can), or ask your boss to do it for you :-P

Sent from my Pixel 3 XL using Tapatalk

jdobbs
20th October 2019, 22:35
Hell... I don't even know who the boss is... I'm just a moderator because Doom9 asked me. So I (semi) moderate.

tebasuna51
21st October 2019, 02:03
That works for me... but I'm not even sure how to change the title.

Maybe we need a Admin. Asked in Moderator Chat.

SeeMoreDigital
21st October 2019, 09:29
It's probably time to refresh the names of 'all' the forums sub-sections :eek:

tebasuna51
23rd October 2019, 10:50
Swede change the title, many thanks.

Ch3vr0n
23rd October 2019, 17:17
Meh B comes before D, should be BD & DVD rebuilder [emoji14]

Sent from my Pixel 3 XL using Tapatalk

Subbat
11th November 2019, 18:56
Any chance you can make this work from command line without the gui?

Hi, I am interested too by cli usage. Any chance ?
Thanks.

SuperFist
14th November 2019, 00:33
I have never got this software (v1.12) to work when attempting to use the UHD folder within CloneBD (v1.2.4.0).

CloneBD always throws this error...

CloneBD had a slight problem and therefore created a file with analysis information at...

fits79
7th June 2020, 04:24
So this is the continue of tsmuxer program?
Or is the new tsmuxer that support truehd e.t.c. the old tsmuxer doesn't???

Please explain what exactly is that?

SeeMoreDigital
7th June 2020, 10:38
So this is the continue of tsmuxer program?
Or is the new tsmuxer that support truehd e.t.c. the old tsmuxer doesn't???

Please explain what exactly is that?
Currently, all 'transport' muxing applications require Dolby TrueHD audio streams to also contain an embedded Dolby Digital core (ie: two streams in one).

If you try to import a Dolby TrueHD audio streams without an embedded Dolby Digital core, the stream will be rejected.... It's as simple as that!

Sufficed to say... If you have some Dolby TrueHD audio streams without an embedded Dolby Digital core, they've most likely originated from an .MKV contained 're-muxed' source.

jdobbs
10th June 2020, 23:03
Currently, all 'transport' muxing applications require Dolby TrueHD audio streams to also contain an embedded Dolby Digital core (ie: two streams in one). Just to add... that they do it for good reason. It violates the BD standard if there isn't a DD core included.

tebasuna51
11th June 2020, 19:31
Of course, but there are a workaround, we can create a valid track with:

eac3to input.thd output.thd+ac3

BTW I don't know if TSM2UHD is needed now with tsMuxeR 2.6.16, now tsMuxeR is Open Source (https://forum.doom9.org/showthread.php?p=1879321) and there are many improvements (https://github.com/justdan96/tsMuxer/blob/master/CHANGELOG.md)

Also there are a future enhancement (https://github.com/justdan96/tsMuxer/issues/270) to improve the thd mux

jdobbs
11th June 2020, 21:46
Of course, but there are a workaround, we can create a valid track with:

eac3to input.thd output.thd+ac3

BTW I don't know if TSM2UHD is needed now with tsMuxeR 2.6.16, now tsMuxeR is Open Source (https://forum.doom9.org/showthread.php?p=1879321) and there are many improvements (https://github.com/justdan96/tsMuxer/blob/master/CHANGELOG.md)

Also there are a future enhancement (https://github.com/justdan96/tsMuxer/issues/270) to improve the thd muxExactly. TSM2UHD serves no purpose anymore. It was only created to make the version of TSMUXER that did not support UHD do so. The newer version of TSMUXER makes it obsolete.

SuperFist
4th April 2025, 17:41
Of course, but there are a workaround, we can create a valid track with:

eac3to input.thd output.thd+ac3

BTW I don't know if TSM2UHD is needed now with tsMuxeR 2.6.16, now tsMuxeR is Open Source (https://forum.doom9.org/showthread.php?p=1879321) and there are many improvements (https://github.com/justdan96/tsMuxer/blob/master/CHANGELOG.md)

Also there are a future enhancement (https://github.com/justdan96/tsMuxer/issues/270) to improve the thd mux
Exactly. TSM2UHD serves no purpose anymore. It was only created to make the version of TSMUXER that did not support UHD do so. The newer version of TSMUXER makes it obsolete.

Pray tell, where is this unicorn-like tsMuxeR 2.6.16 that I can't seem to find even on Github?

Unless it's basically the latest nightly from here:

https://github.com/justdan96/tsMuxer/releases/tag/nightly-2024-06-06-02-00-53

tebasuna51
4th April 2025, 19:30
@SuperFist, use tle latest nightly build, my post is 5 years old.