Log in

View Full Version : tsMuxer Open Source


Pages : 1 2 3 4 [5] 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29

SeeMoreDigital
4th January 2020, 12:11
I tested several UHD-DV remuxes on my Sony X800M2 and the Sony crashed on all DV remuxes. UHD remuxes without DV plays the Sony without problems.How are you playing these Dolby Vision UHD re-muxes. Are you burning discs?

Michi
4th January 2020, 12:28
How are you playing these Dolby Vision UHD re-muxes. Are you burning discs?

I burn the remuxes on BD-RE 50

SeeMoreDigital
4th January 2020, 12:34
@SeeMoreDigital I thought having fixed this weeks ago. Have you tried to mux TrueHD+AC3 core with latest version ?To confirm...

THD with AC3 core works fine. This is what I see when I try to import a Dolby TrueHD elementary stream without core, which is what @filler56789 was asking about: -

https://i.ibb.co/g7qBHkj/sadly-yes.png


Cheers

outgoing
4th January 2020, 15:32
With the last build (nightly-2020-01-02--01-10-53) in some tests the bluray remux have the correct stn table, which was not the case with the penultimate build (nightly-2020-01-01--01-10-57). On the other hand, without being exhaustive, when I make a negative delay for syn for more than a 1000 ms (pe: -1234) in DTS-HDMA audios the final remux does not play well in the players. If I apply this delay with the eac3to it makes valid remux.

SeeMoreDigital
4th January 2020, 16:22
I've just tested '2020-01-04--01-10-41' with some Dolby Vision sources and sadly it's not able to create muxes that can be played with my OPPO :(

Michi
4th January 2020, 17:37
DV remuxes with the github version plays my Sony X800M2 without problems. I used Bluray-Folder for muxing and I have chapters.

Bandits
4th January 2020, 18:17
Request if someone can post a copy of a Meta file output from a UHD disc with DV, all tracks selected, chapters present, and output set to Blu-Ray folder.

I do not own any UHD disc's but I would like to see the new Meta file settings for UHD with DV.

xledentaldj
5th January 2020, 05:44
Fury UHD BDMV meta from MacOS
jan.5th nightly build:
https://mega.nz/#!QYpUQKzT!l2AcTzu30yNsTJ2gzPq5uAcivwUJkjur-4fkOZML39M

Ive noticed a my MacOS 10.13.6 tsmuxer GUI bug when trying to save as UHD BDMV folder it tries to save to a folder
location as a .ts file. Also if you use UHD BD iso
you get no option to create Volume Lable of movie
iso.

Bandits
5th January 2020, 07:01
Fury UHD BDMV meta from MacOS
jan.5th nightly build:
https://mega.nz/#!QYpUQKzT!l2AcTzu30yNsTJ2gzPq5uAcivwUJkjur-4fkOZML39M

Ive noticed a my MacOS 10.13.6 tsmuxer GUI bug when trying to save as UHD BDMV folder it tries to save to a folder
location as a .ts file. Also if you use UHD BD iso
you get no option to create Volume Lable of movie
iso.

That meta file doesn't seem to show Dolby Vision. Also the output options and video type seem strange for a UHD movie.

maxibon
5th January 2020, 13:32
Hi
I´ve tested latest build 2020-01-05--01-10-23 trying to replace audio and subtitles in a UHD Bluray folder but with no succes.
Audio is fine but subtitles disappear, chapters remain
Tested on Oppo 203

HaDiHo
5th January 2020, 13:33
Mkv to UHDIso (Player 0ppo203) now and then pixel errors in the film when changing chapters

https://s19.directupload.net/images/200105/8nmjgsrk.jpg

SeeMoreDigital
5th January 2020, 13:48
I've just tested the '2020-01-05--01-10-23 w64-nightly' build with some Dolby Vision sources and it's not able to create muxes that can be played with my OPPO...

xledentaldj
5th January 2020, 14:31
That meta file doesn't seem to show Dolby Vision. Also the output options and video type seem strange for a UHD movie.

Oops, I though Fury had DV, My Halloween does but once I add
the playlist, MacOS TsMuxer build spits up an error:

Assertion failed: (num<=Int_Bit), Function skipbits, file /_w/tsmuxer/tsmuxer/tsmuxerbitstream.h, line 119.

tymoxa
5th January 2020, 14:58
Mkv to UHDIso (Player 0ppo203) now and then pixel errors in the film when changing chapters

That's because NAL AUD was stripped when movie was muxed into mkv. Presence of NAL AUD is mandatory in UHD-BD. mkv>udh-bd is always bad idea without proper reconstructing nal-aud.

SeeMoreDigital
5th January 2020, 15:52
Mkv to UHDIso (Player 0ppo203) now and then pixel errors in the film when changing chapters
Out of interest, what application was used to create the .MKV file in the first place?

a5180007
5th January 2020, 17:14
Mkv to UHDIso (Player 0ppo203) now and then pixel errors in the film when changing chapters

@HaDiHo The hevc stream must repeat the AUD and SEI nals between each frame, plus VPS/SPS/PPS before each I-frame (which must be at the start of each chapter). If your stream has been mkv-muxed (or re-encoded) then it possibly does not follow these specs.

Edit: In the future, tsMuxer might include automatic inclusion of AUD nal if absent.

EDIT 2 : Chapters now work with UHD Bluray folder option in latest bintray build.

sandrino3867
5th January 2020, 21:34
I try to add srt. subtitle to UHD movie and i got this error: video-width, video-height and fps parameters MUST be provided for SRT tracks. TsMuxer w64-nightly-2020-01-05--01-10-23 can add subtitle to UHD Movie 4K and how ? Sorry for my bad english.

a5180007
5th January 2020, 22:40
I try to add srt. subtitle to UHD movie and i got this error: video-width, video-height and fps parameters MUST be provided for SRT tracks. TsMuxer w64-nightly-2020-01-05--01-10-23 can add subtitle to UHD Movie 4K and how ? Sorry for my bad english.

@sandrino3867 please cut the first 20MB of the m2ts with an hex editor (e.g. HxD), zip it with the srt, upload it somewhere and send me the link via PM.

MrVideo
6th January 2020, 03:28
Minor fixes for GUI:

1) The About doesn't show that the program has support for the HEVC codec.

2) Cannot correctly set the fps for 720p/59.94 HEVC elementary stream. Since the frame rate can't be found in a HEVC stream, the frame rate must be forced, but there is no option for 60000/1001.

MrVideo
6th January 2020, 05:11
How about adding a link in the first post to the bintray location of the nightly builds?

Emulgator
6th January 2020, 10:29
Just throwing this in here unrelated (not in time, but better to be not overlooked, since it was in a different thread).
Has probably been implemented already successfully, I guess...
It is pelican9's finding about the location of some DV relevant parameters:
https://forum.doom9.org/showthread.php?p=1889392#post1889392

HaDiHo
6th January 2020, 10:40
@HaDiHo The hevc stream must repeat the AUD and SEI nals between each frame, plus VPS/SPS/PPS before each I-frame (which must be at the start of each chapter). If your stream has been mkv-muxed (or re-encoded) then it possibly does not follow t.........

the pixel errors at the chapter ends are fixed ...
Thank you very much:thanks::)

justdan96
6th January 2020, 13:21
How about adding a link in the first post to the bintray location of the nightly builds?

That's a good idea, I'll get on that!

Richard1485
6th January 2020, 13:26
To whoever made the nightly build for Linux an AppImage and got the GUI working, massive thanks! It's great to be able to use tsMuxeR without installing 32-bit architecture and having to jump through various other hoops to get it working.

SeeMoreDigital
6th January 2020, 16:39
Just throwing this in here unrelated (not in time, but better to be not overlooked, since it was in a different thread).
Has probably been implemented already successfully, I guess...
It is pelican9's finding about the location of some DV relevant parameters:
https://forum.doom9.org/showthread.php?p=1889392#post1889392
Just-so-people know....

This version of TSmuxer GUI (http://www.mediafire.com/file/l4h3cky54u0v3t9/TsmuxeR_Dolby_Vision.rar/file) that ocean obtained from GitHub (on Thu 02 Jan 2020) works fine with Dolby Vision 4K UHD Blu-ray sources ;)

a5180007
6th January 2020, 21:05
Has probably been implemented already successfully, I guess... It is pelican9's finding about the location of some DV relevant parameters[/URL]

Yes DV has been implemented (successfully hopefully), many thanks to Pel and his BDEdit.
And a big thank also to tymoxa for his help in verifying the BD outputs.

I still need some help to work on the TS buffer management, as TsMuxer simply divides the PCR gap between two frames by the corresponding number of AV packets to calculate the Arrival Time Stamps.
I don't know if @drmpeg is still around...

turntoyou
6th January 2020, 21:54
I dont know what you are sometimes talking about, but a big big thank you all here working hard on tsmuxer to get it running with DV

:thanks:

FilipeAmadeuO
6th January 2020, 23:46
Dolby Vision integrated today on nightly versions.

SeeMoreDigital
7th January 2020, 10:26
Dolby Vision integrated today on nightly versions.Nice one :)

jdobbs
7th January 2020, 13:30
Yes DV has been implemented (successfully hopefully), many thanks to Pel and his BDEdit.
And a big thank also to tymoxa for his help in verifying the BD outputs.

I still need some help to work on the TS buffer management, as TsMuxer simply divides the PCR gap between two frames by the corresponding number of AV packets to calculate the Arrival Time Stamps.
I don't know if @drmpeg is still around...Have you looked at the source code for TSREMUX (https://github.com/antiochus/tsremux) to see how it does it?

HaDiHo
7th January 2020, 17:45
Dolby Vision integrated today on nightly versions.
MKV to ISO
Dolby Vision > Yes
Dolby Atmos > No

a5180007
7th January 2020, 20:55
MKV to ISO
Dolby Vision > Yes
Dolby Atmos > No

@HaDiHo this is because mkvtoolnix separates the thd and the ac3 streams. I doubt that TSmuxing standalone thd streams will be implemented any time soon.

filler56789
7th January 2020, 21:16
I doubt that TSmuxing standalone thd streams will be implemented any time soon.

Can't you (basically) just copy the "recipe" from ffmpeg? :confused:

SeeMoreDigital
7th January 2020, 22:12
@HaDiHo this is because mkvtoolnix separates the thd and the ac3 streams. I doubt that TSmuxing standalone thd streams will be implemented any time soon.Can't you (basically) just copy the "recipe" from ffmpeg? :confused:Agreed...

jdobbs
7th January 2020, 23:16
Here's a little information (https://forum.doom9.org/showthread.php?p=1895093#post1895093) I found interesting for those who like to play and push the envelope a little. The new TSMUXER versions make it possible. Warning, though, I've only tried it on a few sources and a single UHD-BD player -- so mileage may vary.

zeropc
7th January 2020, 23:25
Feedback from the nightly build nightly-2020-01-07--01-09-43

- You can't create a folder from tsMuxer
- macOS version doesn't work. When adding a file/playlist it shows an error message
https://imgur.com/iU1Km6i.png

- Feature Request: Add option to make a specific audio the default track and a specific subtitle track a forced track

MrVideo
8th January 2020, 03:25
- Feature Request: Add option to make a specific audio the default track
Can't you accomplish that by just changing the order within the list? Make it the first audio track after the video track.

justdan96
8th January 2020, 11:46
@zeropc: I can't see the screenshot but if you can create an Issue over at GitHub we can take a look.

I need to go through this thread and transfer over all the reported issues to GitHub at some point but if people can report via GitHub it would help me out!

zeropc
8th January 2020, 15:16
Can't you accomplish that by just changing the order within the list? Make it the first audio track after the video track.

Audio tracks yes, but not for forced subtitles

@zeropc: I can't see the screenshot but if you can create an Issue over at GitHub we can take a look.


Should work now

a5180007
8th January 2020, 21:36
Can't you (basically) just copy the "recipe" from ffmpeg? :confused:

Good idea, you could ask somebody from ffmpeg to do it.

As an alternative, Madshi gave the eac3to solution to interweave the TrueHD stream with its low-bitrate AC3 (eg 64k if you don't want to use it) counterpart in 2008:
http://forum.doom9.net/showthread.php?p=1177600#post1177600

SeeMoreDigital
8th January 2020, 22:24
I have a question regarding an .m2ts streams overhead.

Since the launch of the Blu-ray disc format, way back in mid 2006, has anybody found a way to reduce an .m2ts streams overhead for non disc based applications. Or is its design set in stone?


Cheers

a5180007
8th January 2020, 22:35
Since the launch of the Blu-ray disc format, way back in mid 2006, has anybody found a way to reduce an .m2ts streams overhead for non disc based applications. Or is its design set in stone?

Yes it is set in stone: at a minimum, on each 192-byte packet there is 8 to 10 bytes of time stamp/header. Plus 3 to 4 additional packets (PMT/PAT/PCR/NIT) at least every 100 ms. Plus sync to sector size, etc.

The main purpose of a transport stream (aimed at broadcasting) is to be error resilient, so there are tons of flags and timestamps along the stream.

SeeMoreDigital
8th January 2020, 23:20
The main purpose of a transport stream (aimed at broadcasting) is to be error resilient, so there are tons of flags and timestamps along the stream.Yep... I can understand why broadcast TV requires to very error resistant but I find it weird that the Blu-ray disc format and the more recent AVCHD camcorder format requires the same level of resilience...

filler56789
9th January 2020, 00:39
Yep... I can understand why broadcast TV requires to very error resistant but I find it weird that the Blu-ray disc format and the more recent AVCHD camcorder format requires the same level of resilience...

Probably the transport stream format was chosen not because of its "resilience" but because it can contain more than one program
(read: the secondary (P.I.P.) video feature).

a5180007
9th January 2020, 06:41
In the new nightly 09-01, the V3 option has been put in the Blu-ray tab option, as tsMuxer now switches automatically to V3 for HEVC. The manual V3 option can still be needed e.g. to mux AVC streams, to include the m2ts along with other V3 m2ts on a disk.

tymoxa
9th January 2020, 12:31
- Feature Request: Add option to make a specific audio the default track and a specific subtitle track a forced track

Actually, you can do it yourself in any HEX editor. Open MovieObject.bdmv, find 42 82 00 00 00 00 00 00 00 00 00 0A and insert next digits BEFORE 42 82 00 00 00 00 00 00 00 00 00 0A:

51 C0 00 01 80 01 C0 01 00 00 00 00
where:
1 - number of default audio track
1 - number of default subtitle track
C - all elements in selected PGS are shown. If you need to show only elements that marked with Forced="True" flag - you need to use 8 instead of C

Additionally it is needed to replace 03 80 00 00 05 for 03 80 00 00 06

But i agree that it would be more convinient to select needed default and forced tracks from gui or cli.

outgoing
9th January 2020, 21:48
Actually, you can do it yourself in any HEX editor. Open MovieObject.bdmv, find 42 82 00 00 00 00 00 00 00 00 00 0A and insert next digits BEFORE 42 82 00 00 00 00 00 00 00 00 00 0A:

51 C0 00 01 80 01 C0 01 00 00 00 00
where:
1 - number of default audio track
1 - number of default subtitle track
C - all elements in selected PGS are shown. If you need to show only elements that marked with Forced="True" flag - you need to use 8 instead of C

Additionally it is needed to replace 03 80 00 00 05 for 03 80 00 00 06

But i agree that it would be more convinient to select needed default and forced tracks from gui or cli.

Hi tymoxa, what you're explaining is also valid if it's a bluray java?

tymoxa
9th January 2020, 22:09
Hi tymoxa, what you're explaining is also valid if it's a bluray java?
No. It's only for remuxes made by tsmuxer.

outgoing
9th January 2020, 22:13
No. It's only for remuxes made by tsmuxer.

I thought maybe I could put it all together to make a menu bluray and keep that condition with the audio/subtitle. Thank you for the clarification.

a5180007
10th January 2020, 08:27
But i agree that it would be more convinient to select needed default and forced tracks from gui or cli.

Doesn't seem too difficult. I've put it as an enhancement issue on Github for the record.

Edit: the additional command can also be easily added on BDEdit.