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 25th February 2020, 20:23   #441  |  Link
a5180007
Registered User
 
Join Date: Jun 2014
Location: Marrakech, Morocco
Posts: 253
Quote:
Originally Posted by Bandits View Post
Is there a reason the Dolby Vision tracks are placed as number 1 and the main video tracks are number 2? The PID's are correct, main 4113 and Dolby Vision 4117, but I would think that they would open in the correct order. I understand they can be reordered but shouldn't the default be the correct order or does the order even matter if a PID is used?
@Bandits after checking: the order of the video tracks is correct in the created clpi and m2ts descriptors: so no need to reverse or change anything in the meta file.
a5180007 is offline   Reply With Quote
Old 25th February 2020, 21:18   #442  |  Link
FilipeAmadeuO
Registered User
 
Join Date: Aug 2002
Location: Portugal
Posts: 340
Quote:
Originally Posted by a5180007 View Post
@Bandits after checking: the order of the video tracks is correct in the created clpi and m2ts descriptors: so no need to reverse or change anything in the meta file.
I think the problem is only cosmetics on meta file. But why not make it with the right order ?
FilipeAmadeuO is offline   Reply With Quote
Old 26th February 2020, 00:23   #443  |  Link
Bandits
Registered User
 
Join Date: Feb 2015
Posts: 50
Quote:
Originally Posted by a5180007 View Post
@Bandits after checking: the order of the video tracks is correct in the created clpi and m2ts descriptors: so no need to reverse or change anything in the meta file.
Quote:
Originally Posted by FilipeAmadeuO View Post
I think the problem is only cosmetics on meta file. But why not make it with the right order ?
That's why I was asking if it really mattered.

Would this:

V_MPEGH/ISO/HEVC, "U:\BDMV\PLAYLIST\00089.mpls", track=4117
V_MPEGH/ISO/HEVC, "U:\BDMV\PLAYLIST\00089.mpls", track=4113
A_DTS, "U:\BDMV\PLAYLIST\00089.mpls", timeshift=18ms, track=4352, lang=eng
A_AC3, "U:\BDMV\PLAYLIST\00089.mpls", track=4353, lang=eng
A_AC3, "U:\BDMV\PLAYLIST\00089.mpls", track=4354, lang=fra
A_AC3, "U:\BDMV\PLAYLIST\00089.mpls", track=4355, lang=deu

create the same disc as this:

A_AC3, "U:\BDMV\PLAYLIST\00089.mpls", track=4354, lang=fra
A_AC3, "U:\BDMV\PLAYLIST\00089.mpls", track=4355, lang=deu
V_MPEGH/ISO/HEVC, "U:\BDMV\PLAYLIST\00089.mpls", track=4117
A_DTS, "U:\BDMV\PLAYLIST\00089.mpls", timeshift=18ms, track=4352, lang=eng
A_AC3, "U:\BDMV\PLAYLIST\00089.mpls", track=4353, lang=eng
V_MPEGH/ISO/HEVC, "U:\BDMV\PLAYLIST\00089.mpls", track=4113

solely based on PID's.

If it does then it really doesn't matter. But I would think the PID order would make the order of the track list numbers. Even Mediainfo calls the Dolby Vision track ID 4117 track number 2. tsMuxer always makes it number 1.
__________________
Blu-Ray Ripper 0.112c/0.21a
Bandits is offline   Reply With Quote
Old 26th February 2020, 06:19   #444  |  Link
a5180007
Registered User
 
Join Date: Jun 2014
Location: Marrakech, Morocco
Posts: 253
@Bandits tsMuxer adds each video track at beginning of the list, and the other tracks at the end. It then attributes the new PIDs and sorts the list in the order of these new PIDs.

In your example the video tracks would have the same order (because DV tracks are attributed PID 0x1015+), but not the audio tracks.

First scenario will give:
Quote:
V_MPEGH/ISO/HEVC, "U:\BDMV\PLAYLIST\00089.mpls", track=4113
V_MPEGH/ISO/HEVC, "U:\BDMV\PLAYLIST\00089.mpls", track=4117
A_DTS, "U:\BDMV\PLAYLIST\00089.mpls", timeshift=18ms, track=4352, lang=eng
A_AC3, "U:\BDMV\PLAYLIST\00089.mpls", track=4353, lang=eng
A_AC3, "U:\BDMV\PLAYLIST\00089.mpls", track=4354, lang=fra
A_AC3, "U:\BDMV\PLAYLIST\00089.mpls", track=4355, lang=deu
Second scenario will give:
Quote:
V_MPEGH/ISO/HEVC, "U:\BDMV\PLAYLIST\00089.mpls", track=4113
V_MPEGH/ISO/HEVC, "U:\BDMV\PLAYLIST\00089.mpls", track=4117
A_AC3, "U:\BDMV\PLAYLIST\00089.mpls", track=4352, lang=fra
A_AC3, "U:\BDMV\PLAYLIST\00089.mpls", track=4353, lang=deu
A_DTS, "U:\BDMV\PLAYLIST\00089.mpls", timeshift=18ms, track=4354, lang=eng
A_AC3, "U:\BDMV\PLAYLIST\00089.mpls", track=4355, lang=eng

Last edited by a5180007; 26th February 2020 at 06:30.
a5180007 is offline   Reply With Quote
Old 26th February 2020, 10:01   #445  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,248
Quote:
Originally Posted by a5180007 View Post
Ok, I found the problem and submitted the patch.

It will allow to read fragmented mp4 such as this one, which tsMuxer currently cannot read.
Just-so-you-know...

I managed to use the 'w64-nightly [2020-02-25--01-10-33]' build to create a .ts stream which worked okay with my OPPO.


Cheers
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
SeeMoreDigital is offline   Reply With Quote
Old 27th February 2020, 20:52   #446  |  Link
a5180007
Registered User
 
Join Date: Jun 2014
Location: Marrakech, Morocco
Posts: 253
@imhh11 @SeeMoreDigital I need to reintroduce part of the HDMV descriptors in the mpeg-ts, as there does not seem to be any adequate descriptor for the PGS subtitles and they are not detected anymore.

Could you please test this build and tell me whether Dolby Vision is detected by your player and the subtitles are working ?
a5180007 is offline   Reply With Quote
Old 27th February 2020, 22:02   #447  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,248
Quote:
Originally Posted by a5180007 View Post
@imhh11 @SeeMoreDigital I need to reintroduce part of the HDMV descriptors in the mpeg-ts, as there does not seem to be any adequate descriptor for the PGS subtitles and they are not detected anymore.

Could you please test this build and tell me whether Dolby Vision is detected by your player and the subtitles are working ?
I'm on my way out in a few minutes but if all goes well I should be able to test in the morning if I have the time...


Cheers
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
SeeMoreDigital is offline   Reply With Quote
Old 28th February 2020, 01:34   #448  |  Link
imhh11
Registered User
 
Join Date: Jul 2016
Posts: 171
Quote:
Originally Posted by a5180007 View Post
@imhh11 @SeeMoreDigital I need to reintroduce part of the HDMV descriptors in the mpeg-ts, as there does not seem to be any adequate descriptor for the PGS subtitles and they are not detected anymore.

Could you please test this build and tell me whether Dolby Vision is detected by your player and the subtitles are working ?

Everything work on my end with the x700 using that build. Subtitles, DV, Atmos.
But everything (subs included) was already working with nightly-2020-02-23--01-10-39.zip

Also, fast-forwarding works like a charm. MP4 DV always instantly freeze my player when I F-F. plus it looks identical to the MP4 dual layer DV. see: https://slow.pics/c/V994dhhF so this is really a lossless DV remux.

file not supported on the OLED C8 though.

Thank You so much

Last edited by imhh11; 28th February 2020 at 02:15.
imhh11 is offline   Reply With Quote
Old 28th February 2020, 08:45   #449  |  Link
a5180007
Registered User
 
Join Date: Jun 2014
Location: Marrakech, Morocco
Posts: 253
Quote:
Originally Posted by imhh11 View Post
Everything work on my end with the x700 using that build. Subtitles, DV, Atmos.
But everything (subs included) was already working with nightly-2020-02-23--01-10-39.zip
@imhh11 thanks for the report. With 2020-02-23--01-10-39 the PGS do not work anymore in ffmpeg players (mplayer, vlc, hpc...) hence the reason for changing. Plus detection of MP4 has been fixed.

Edit:are .m2ts DV (non bluray mode) also working on the x700 ?

Quote:
Originally Posted by imhh11 View Post
file not supported on the OLED C8 though.
Do you have a sample of .ts with PGS, working on your LG C8, that I can analyse ?

Last edited by a5180007; 28th February 2020 at 09:23.
a5180007 is offline   Reply With Quote
Old 28th February 2020, 10:55   #450  |  Link
a5180007
Registered User
 
Join Date: Jun 2014
Location: Marrakech, Morocco
Posts: 253
Quote:
Originally Posted by r0lZ View Post
As far as I know, there are at least 2 bugs related to the subtitles in the demux function:

As noted in the other thread, v2.6.11 and v2.6.12 produce often wrong timecodes when demuxing a 3D bluray. (I don't know if that bug affects also the 2D blurays.) Unfortunately, I don't remember what BD is a good example of the problem. V2.6.9 is the last version without that bug, so if you have the sources of that version, it should be easy to find the origin of the bug.
@r0lZ Thanks for providing the buggy sample ! One-line patch for fixing the bug submitted https://github.com/justdan96/tsMuxer/pull/213

The bug appears when joining m2ts (either via mpls or manually) which have different start times/first PTS -which is rare but does happen: tsMuxer was taking into consideration the start time of the first file only.

Edit: the other bug related to 3d-planes has already been fixed.

Last edited by a5180007; 28th February 2020 at 11:13.
a5180007 is offline   Reply With Quote
Old 28th February 2020, 18:20   #451  |  Link
imhh11
Registered User
 
Join Date: Jul 2016
Posts: 171
Quote:
Originally Posted by a5180007 View Post
@imhh11 thanks for the report. With 2020-02-23--01-10-39 the PGS do not work anymore in ffmpeg players (mplayer, vlc, hpc...) hence the reason for changing. Plus detection of MP4 has been fixed.

Edit:are .m2ts DV (non bluray mode) also working on the x700 ?



Do you have a sample of .ts with PGS, working on your LG C8, that I can analyse ?
I did not try m2ts but I will.

here's a DV TS sample that wont play on my C8.

https://drive.google.com/file/d/19dh...ew?usp=sharing


I'll try to find one that works.

Last edited by imhh11; 28th February 2020 at 18:25.
imhh11 is offline   Reply With Quote
Old 29th February 2020, 06:35   #452  |  Link
a5180007
Registered User
 
Join Date: Jun 2014
Location: Marrakech, Morocco
Posts: 253
Quote:
Originally Posted by varekai View Post
I know tsMuxer can mux to a sup from srt but is has a bug with italics.
If I remember right it has it an all earlier verions aswell including the tsMuxerGUI-Nightly-2020-02-05--01-09-49.
Look at these two screendumps:
https://imgur.com/a/OiZA8F8
@varekai Bug should be solved. Please try latest bintray build.
a5180007 is offline   Reply With Quote
Old 29th February 2020, 10:27   #453  |  Link
r0lZ
PgcEdit daemon
 
r0lZ's Avatar
 
Join Date: Jul 2003
Posts: 7,483
Quote:
Originally Posted by a5180007 View Post
@r0lZ Thanks for providing the buggy sample ! One-line patch for fixing the bug submitted https://github.com/justdan96/tsMuxer/pull/213

The bug appears when joining m2ts (either via mpls or manually) which have different start times/first PTS -which is rare but does happen: tsMuxer was taking into consideration the start time of the first file only.

Edit: the other bug related to 3d-planes has already been fixed.
Thanks for the fix !

And credits for providing the sample should go to Nico8583. He has been able to remember what BD caused that problem, and he gave me the sample. I was just an intermediary.
__________________
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
Old 29th February 2020, 10:39   #454  |  Link
Nico8583
Registered User
 
Join Date: Jan 2010
Location: France
Posts: 851
Quote:
Originally Posted by r0lZ View Post
Thanks for the fix !

And credits for providing the sample should go to Nico8583. He has been able to remember what BD caused that problem, and he gave me the sample. I was just an intermediary.
You're welcome I'm happy to see tsMuxeR development is back, it's a good news ! Thanks for the work
Nico8583 is offline   Reply With Quote
Old 29th February 2020, 13:16   #455  |  Link
varekai
Registered User
 
varekai's Avatar
 
Join Date: Jul 2006
Posts: 539
Quote:
Originally Posted by a5180007 View Post
@varekai Bug should be solved. Please try latest bintray build.
Wow! Excellent!
I got mad respect for all your hard work on this essential tool!!
How could we do without tsMuxer?!
Thank you so much!

Here 2 new screendumps:
https://imgur.com/a/8380z3Y
As you can see there is a small paragraph space formatting difference between easySUP and tsMuxer.
Font used with tsMuxer is Segoe UI Normal Size 58 Bottom of screen 163.
With easySUP it's size 78 and bottom 152.
The .srt used is set to encoding UTF-8-BOM.

This small formatting difference is only noticeable when comparing the two screendumps.
When watching a video I probably won't notice this.

Best regards,
varekai
varekai is offline   Reply With Quote
Old 29th February 2020, 14:00   #456  |  Link
baker99uk
Registered User
 
Join Date: Jan 2010
Posts: 34
Excellent work, I can now play Dual Layer rips of my Dolby Vision disks on my X700. Single Layer works on the shield plex app too, without Atmos unfortunately though. If tsmuxer could support Truehd without an ac3 core I think Atmos would also work on the shield, fingers crossed that can get added soon (or plex add ac3 core support).

Thanks again for all your hard work.
baker99uk is offline   Reply With Quote
Old 29th February 2020, 14:21   #457  |  Link
cogira
Banned
 
Join Date: Feb 2020
Location: Usa
Posts: 45
Latest build w64-nightly-2020-02-29--01-11-32 tsmuxer crashes when tryng to load DV mp4 files (either single layer or double layer)
cogira is offline   Reply With Quote
Old 29th February 2020, 14:25   #458  |  Link
mattmarsden
Registered User
 
Join Date: Jan 2006
Posts: 25
Any chance of allowing thd without embedded ac3? Plex doesnt seem to like thd with embedded ac3.
mattmarsden is offline   Reply With Quote
Old 29th February 2020, 14:40   #459  |  Link
a5180007
Registered User
 
Join Date: Jun 2014
Location: Marrakech, Morocco
Posts: 253
Quote:
Originally Posted by cogira View Post
Latest build w64-nightly-2020-02-29--01-11-32 tsmuxer crashes when tryng to load DV mp4 files (either single layer or double layer)
@cogira I've tried (on W64) the four MP4 samples from https://developer.dolby.com/tools-me...ision-streams/, they all work. Where can I find your sample ?

Edit: same for the five MP4 samples from https://www.demolandia.net/4k-video-...on/page-1.html

Last edited by a5180007; 29th February 2020 at 15:08.
a5180007 is offline   Reply With Quote
Old 29th February 2020, 15:18   #460  |  Link
a5180007
Registered User
 
Join Date: Jun 2014
Location: Marrakech, Morocco
Posts: 253
Quote:
Originally Posted by SeeMoreDigital View Post
I'm on my way out in a few minutes but if all goes well I should be able to test in the morning if I have the time...
@SeeMoreDigital any chance you test the build ? I'd like to push the fix.

Anybody has a mpeg-ts sample with PGS working directly on a tv ?

Last edited by a5180007; 29th February 2020 at 16:40.
a5180007 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 13:42.


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