View Full Version : tsMuxeR update for 3D blu-ray
mrjayviper
12th September 2017, 15:30
any suggestion on how to get this to working on Ubuntu 16.04?
I downloaded the tarball but it's looking for a library. I suppose it's missing other libraries.
A list of required libraries would be great. Thanks
geheim
12th October 2017, 07:17
Any chance to get an update for tsmuxer with UHD bluray support??
Midzuki
12th October 2017, 08:24
Any chance to get an update for tsmuxer with UHD bluray support??
Until the author (physic) is reborn from his own ashes, nope.
SeeMoreDigital
12th October 2017, 10:20
Until the author (physic) is reborn from his own ashes, nope.
Indeed... It's such a shame. I hope he's happy, well and okay...
hunesco
28th November 2017, 19:46
Hi, i am on Ubuntu 14.04
I open folder > BDMV > STREAM> Biggest file and TSMuxer load all tracks (video, audio and subs) but not recognize the language of audios and subtitles?
https://i.imgur.com/YgIYGJI.png
Someone can help me?
Ghitulescu
28th November 2017, 21:33
Load the associated MPLS instead.
PS: blurring some details may look suspicious to some people.
hunesco
28th November 2017, 23:38
Load the associated MPLS instead.
PS: blurring some details may look suspicious to some people.
Still with language field empty, as the pic above. :(
tks for reply.
Ghitulescu
29th November 2017, 15:59
Then it may be that there is no language descriptor, and the languages are selected from java, knowing the IDs.
hubblec4
7th December 2017, 22:27
Today I have installed a clean Linux Mint 18.3 and tsMuxeR(2.6.11) don't run anymore.
In Linux Mint 18.1 it works. To be sure I have installed a Linux Mint 18.2, and tsMuxeR also don't work.
Can someone confirm these?
no-one
5th January 2018, 16:22
Playlist.
I tried again with m2ts, and got the same error:
Reading buffer overflow. Possible container streams are not syncronized. Please, verify stream fps. File name:
you need to demux atmos audio. when you mux remove original and replace with demux file.
no-one
13th January 2018, 06:28
Do you have a problem with muxing m2ts HEVC? After process done when I play m2ts directly, it's stuttering and video/audio not sync.
Do you know how to fix it?
Yordan5
17th January 2018, 22:47
When tsMuxeR was created UHD was not around. It does not support HEVC hence, the stuttering.
spexman
18th January 2018, 05:03
tsMuxer does accept HEVC streams, so there is 'some' support.
That being said, any insight into solving the HEVC m2ts stutter issue would be greatly appreciated.
Thanks in advance.
SeeMoreDigital
18th January 2018, 10:42
That being said, any insight into solving the HEVC m2ts stutter issue would be greatly appreciated.
What's the maximum bit-rate and profile settings of your HEVC encodes?
I recently created some 10Mbps encodes using Main and High @ Level 4.0, which were muxed to .m2ts with TSmuxer and both my LG TV and Oppo play them fine...
spexman
18th January 2018, 13:52
Thank you for your insight!
The mkvs have an average bitrate of 20Mbps and the level is 5.1.
Are you saying that perhaps a lower bitrate and or a lower level would allow them to play without the stutter/sync issues?
Have you created higher bitrate/level .m2ts files that do play properly?
Thanks!
A.Fenderson
19th January 2018, 09:19
If your target playback device is UHD-BD player (or something with similar restrictions), perhaps check this thread (https://forum.doom9.org/showthread.php?t=175120).
no-one
19th January 2018, 10:45
If your target playback device is UHD-BD player (or something with similar restrictions), perhaps check this thread (https://forum.doom9.org/showthread.php?t=175120).
Yes, I know this. But the problem is m2ts.
tsmuxer can make m2ts but it's stuttering and video/audio not sync.
SeeMoreDigital
19th January 2018, 12:00
Yes, I know this. But the problem is m2ts.
tsmuxer can make m2ts but it's stuttering and video/audio not sync.What playback device are you using?
spexman
19th January 2018, 12:46
Sony UBP-X800
spexman
19th January 2018, 12:51
So, DVDFab UHD ripper, https://www.dvdfab.cn/uhd-ripper.htm?trackID=orderpage,navmenu, claims it can create compliant .m2ts streams, passthrough or encoded....so why can't we from an mkv?
no-one
19th January 2018, 14:22
What playback device are you using?
I use Zappiti 4k mini player for play m2ts (tsmuxer output) directly.
And use lg up970 for play uhd-bd (TSM2UHD output).
Both have same problem.
So, DVDFab UHD ripper, https://www.dvdfab.cn/uhd-ripper.htm...erpage,navmenu, claims it can create compliant .m2ts streams, passthrough or encoded....so why can't we from an mkv?
Yes, DVDFab can make it. But it can't to add sound that i want and it can add subtitle only srt file.
jdobbs
19th January 2018, 15:12
Sony UBP-X800That's the same player I have... and I can mux with TSMUXER and play back UHD fine. You just have to make sure the stream is UHD-BD compliant -- which means you almost always have to reencode it.
spexman
19th January 2018, 17:01
jdobbs, thank you for your comments...and your interesting program.
Having the same player, you will know then that mkvs with DTSHD will play just fine(smooth video, proper audio), even at level 5.1. But, with Atmos mkvs, the video will play smoothly, but the Atmos is not recongnized(though AC3 is).
Thus the need to remux Atmos mkvs to m2ts. Remuxing to m2ts with TsMuxer gives Atmos playback but video stutter and sync issues.
I tried your program and then tried to playback the m2ts stream only--again, the stutter/sync issues were present. I did NOT try to burn to disc and play as a UHD.
You mention that the stream needs to be BD compliant--are you saying that it is the level 5.1 that makes it non-compliant, even though level 5.1 does work in an mkv?
Your insight is appreciated.
von Suppé
20th January 2018, 12:28
Strange. I was never able to use tsMuxer and mux Atmos only stream within m2ts.
Try to embed an independent AC3 stream into your Atmos stream and then mux again.
I think it has something to do with legacy hardware support in BD specs.
Of course, your video has to be BD compliant too.
So, DVDFab UHD ripper, https://www.dvdfab.cn/uhd-ripper.htm?trackID=orderpage,navmenu, claims it can create compliant .m2ts streams, passthrough or encoded....so why can't we from an mkv?
I think because within mkv you can only put Atmos in one audiotrack. For legacy AC3 you have to add an extra track.
BD m2ts has Atmos (which is True-HD(2D) core + extra Atmos-data) and an embedded, independent AC3 stream within one track. So, the AC3 track is not a core in this case.
There is a good thread here https://forum.videohelp.com/threads/376387-Help-converting-burning-DolbyHD-7-1-Atmos-blu-rays-from-MKV#post2432963 for making atmos mkv work on m2ts. This thread was started for BD, not UHD BD, but my guess is it maybe work...
For your completion, DTS-HD/DTS:X is different in build-up. It has a legacy dts core (such you'll find on movie dvd's), and a second, dependent data-stream for DTS-HD (2D). The core plus that extra data makes the DTS-HD (2D) stream. For DTS:X, there is a third, dependent data-stream. The core plus the second plus the third make up for your (3D) DTS:X sound.
spexman
20th January 2018, 13:31
von Suppe, thank you for the information--I am aware of the way the 2 audio streams/formats differ. When one embeds the AC3 into the Atmos stream, and creates an HEVC/THD(with)Atmos+ac3 m2ts via tsMuxer, the audio plays fine, but the picture stutters and the audio is out of sync. A standard BD m2ts stream works just fine, but the UHD stream doesn't, unfortunately. The bottom line is, can we make an mkv with THD/Atmos+embedded ac3, or can we create a HEVC m2ts that work properly...so far, the answer is no to both.
von Suppé
20th January 2018, 13:53
I know that for FullHD BD I have to use version 2.6.9 because higher version should have timing-bugs.
Don't know where I read it but I understand one needs latest version for UHD support...
Maybe jdobbs can help out in his TSM2UHD thread.
r0lZ
20th January 2018, 15:01
I have noticed the time code bugs in the two latest versions, but AFAIK, they concern only the demuxing of the subtitle streams from a BD. I don't use tsMuxeR much for muxing, so I'm not sure, but AFAIK the two most recent versions work well for that job.
jdobbs
20th January 2018, 15:10
jdobbs, thank you for your comments...and your interesting program.
Having the same player, you will know then that mkvs with DTSHD will play just fine(smooth video, proper audio), even at level 5.1. But, with Atmos mkvs, the video will play smoothly, but the Atmos is not recongnized(though AC3 is).
Thus the need to remux Atmos mkvs to m2ts. Remuxing to m2ts with TsMuxer gives Atmos playback but video stutter and sync issues.
I tried your program and then tried to playback the m2ts stream only--again, the stutter/sync issues were present. I did NOT try to burn to disc and play as a UHD.
You mention that the stream needs to be BD compliant--are you saying that it is the level 5.1 that makes it non-compliant, even though level 5.1 does work in an mkv?
Your insight is appreciated.TSMUXER muxes HEVC using a start code that is the same as AVC. The BD standard uses a unique start code for HEVC. So all the headers in the video stream have to be updated as well as all the Program Map records. This applies only to the M2TS files in a BD structure, not MKV files. TSMUXER also uses incorrect values for the type and format of the video in the MPLS and CLPI files -- so that has to be updated. If the stream uses HDR, there also has to be an extension added to the MPLS. Finally, all the files (CLPI, MPLS, and the .BDMV files) have to be updated to show they comply with v3 of the BD standard (which supports UHD).
There are other requirements for HEVC in a BD structure as well, such as limits to GOP size, maximum bitrates, etc.
I don't believe Atmos support is required in a BD player -- if I recall correctly it is an extension that is optional. That's why a stream that contains Atmos must also contain a standard AC3 stream in the same mux. It could be the missing AC3 stream that is causing the confusion (even in the MKV) -- but that's just a guess.
Not sure if that answers your question. Let me know. As for level 5.1 -- every original disc I've seen uses 5.1.
Strigoyu
20th January 2018, 19:27
Hi, mates! I get some problems when trying to backup some of my Twilight Time & Eureka Blu-ray collection into custom Blu-rays (movie-only backup copies).
I try to remux the main movie with tsmuxer, but I get either a blurring image (Twilight Time), or a video/screen (some 2 minutes long) at the beginning (Eureka). Another strange (and interesting) case is that of Kino Lorber Blu-rays, very similar to that of Eureka, with a video of the company logo at the very beginning of the remuxed Blu-ray.
So, my question is, how can I get rid of that blurring image and of those boring videos at the beginning? I’m pretty sure it must be a kind of protection Eureka/Kino Lorber/Twilight Time use for their Blu-rays, and there has to be kind of a trick or something similar to remux the main movie properly, just as I do with other movies...
P.S.: I’ve also tried multiAVCHD with no remarkable good results, though...
von Suppé
21st January 2018, 13:33
Did you try the possibility to "Enable cutting" under the "Split & cut" tab? You'll need the start & end times.
Cedvano
28th February 2018, 11:25
Hi,
For differents reasons, I create my own tsmuxer.
I can mux and demux m2ts. But I would like to integrate more functionalities (like UHD).
UHD m2ts is different to HD m2ts ?
I don't think so, because it's a container.
Thanks
ad1mt
5th March 2018, 01:23
Hi,
I'm getting an error from txMuxer... see attachment.
If it will help, I can upload a small clip that produces the error.
Mark.
PS... I tried to create a small clip that will reproduce the error, but the clips always work ok. Now I think there might have been an error in the file (its from a TV broadcast stream).
winoni71
12th March 2018, 12:22
Hello,
I have hundreds of .ts file that I need to create, each of them are made of 1 video stream (for which I have to change the frame rate) and 2 audio streams (2 different languages).
Is there a way to automatize the process?
Or at least is there a way to make it so that the program automatically detects the languages of the audio files?
All the streams are in elementary form, not in containers.
Thank you.
cherishjoo
15th March 2018, 15:27
Is there a guide on how to use it for me?
Ghitulescu
16th March 2018, 11:54
Hello,
I have hundreds of .ts file that I need to create, each of them are made of 1 video stream (for which I have to change the frame rate) and 2 audio streams (2 different languages).
Is there a way to automatize the process?
Or at least is there a way to make it so that the program automatically detects the languages of the audio files?
All the streams are in elementary form, not in containers.
Thank you.
tsMuxer is a CLI software (command-line-interface) accepting parameters in the command line. So yes, it can be automatised.
Hart2hart
28th May 2018, 19:57
I've got a couple movies that were made for TV and have closing credits and opening right in the middle :-(
I've used tsmuxer to clip the first half and second half into two files. I am using the join feature and video and audio are good and in sync but the subtitles from the second half do not show. I extracted them and they are in the stream but the timing marks for them at the point of the join gets off by a large factor like its calculating them to be at a position that's off by the length of the second half. It takes the actual position adds some large time segment (looks like it might be the length of the second half) and then starts moving forward so from that point forward they are all off by the same large time segment.
Funny thing is each segment will play audio, video, and subtitles perfectly on their own. Problem is created by the join. Its either a bug or something to do with a time/frame boundary but beyond me without lots of research so hoping someone knows.
Anyone know how to correct this issue preferably with tsmuxer but know a few tools.
If you don't need a specific output format, I suggest to use mkvtoolnix to join the two halfs as one MKV. The subtitles should be in sync.
Richard1485
24th November 2018, 13:20
The Windows version is 2.6.12, but the latest version (https://www.videohelp.com/software/tsMuxeR) for Linux appears to be 2.6.11. Is there any chance of an update for Linux?
r0lZ
24th November 2018, 14:27
Do NOT use v2.6.11 or v2.6.12 as they have a big bug with the time codes of the subtitle streams of some BDs. AFAIK, v2.6.10 has never been released publicly, so the last known good version is v2.6.9, for Windows and Linux. However, even v2.6.9 has some bugs, notably the association of the subtitles with the 3D-Plane numbers, often wrong. (But this bug affects only the info and the remux of the 3D BDs.)
Richard1485
24th November 2018, 19:39
Yikes! That would have been good to know previously; I thought that the whole point of 2.6.12 was to fix some bugs... Apart from subtitles, is 2.6.12 all right? I used it to make a disc (without subtitles) the other day. Maybe the VideoHelp page should list 2.6.9 as the latest stable version.
r0lZ
25th November 2018, 00:11
Apart from subtitles, is 2.6.12 all right?Well, I use it almost only to demux 3DBDs (for my tool BD3D2MK3D), and I don't know if there are bugs in the muxer operation. The two bugs I have noticed are related to the subtitles, so you should be safe, but I repeat that I don't know if there are other bugs in the muxer part.
Richard1485
25th November 2018, 01:34
The two bugs I have noticed are related to the subtitles, so you should be safe, but I repeat that I don't know if there are other bugs in the muxer part.
Yes, I understand. Thanks for the info! It's a shame that the code was never released.
And I think that I've got 2.6.9 working on Linux. There were some error messages relating to the theming of the GUI, but it seems that they're all cosmetic.
Hart2hart
27th January 2019, 18:21
Does anyone know or have access to the author of TsMuxer? Could we do a GoFundMe campaign to bring him/her out of retirement to update it for HEVC 4K? It is such great software. Sad to see it become obsolete.
Sparktank
27th January 2019, 18:35
Does anyone know or have access to the author of TsMuxer?
I've tried here and on his development site where he comes from.
No response ever since, and that was back in... 2016? 2015???
It's a shame, because everyone who's ever touched this program has promised to upload the source but never did.
I think they wanted a very decent version before releasing the code, and weren't much into github as a repository.
Our only hope is to keep trying, and/or grab the last known source code and build (again) from there, with some kind soul willing to do so.
WSC4
24th March 2019, 07:51
With tsMuxeR, it has these options:
--cut-start Trim the beginning of the file.
--cut-end Trim the end of the file.
--split-duration Split output to several files.
Before I can put in these cut times, I need a video player that shows the accurate time of these TS files. I have tried MPlayer and FFplay and the timestamps are way out of sync.
r0lZ
24th March 2019, 10:47
IMO, the best way to see frame-accurate timestamps is to use Avisynth and the AvsPmod (http://avspmod.github.io) editor. You have to write a simple script with the Source command for your video file, then load it in AvsPmod, and you can see the exact timecodes. (Note that some Source filters, notably DirectShowSource, may not be perfectly accurate.)
SeeMoreDigital
24th March 2019, 13:11
With tsMuxeR, it has these options:
--cut-start Trim the beginning of the file.
--cut-end Trim the end of the file.
--split-duration Split output to several files.
Before I can put in these cut times, I need a video player that shows the accurate time of these TS files. I have tried MPlayer and FFplay and the timestamps are way out of sync.As I know nothing about Avisynth, in order to find the K/I frames I re-mux the video stream into the MKV container and feed the MKV file into VirtualDub2.
VirtualDub2 is able to display the frame types along with time codes... TSmuxer is able to cut very accurately using the saved time codes.
WSC4
26th March 2019, 03:21
Thanks for your help here. Yes, I downloaded VirtualDub2 and it is quite good. I did not need to re-mux to MKV as it loaded the TS video with H.264 AVC format no problem and you can see the time line in milliseconds.
Unfortunately, the problem now is tsMuxeR with the cuts. It can cut the start and cut the end. It does not seem to do multiple cuts. I put this in the meta file: --cut-start=39840ms --cut-end=79640ms --cut-start=160280ms --cut-end=199480ms. It did not work.
I found that VirtualDub2 can cut multiple but will not transcode H.264 AVC files. Any workaround or suggestions please?
SeeMoreDigital
26th March 2019, 10:35
Thanks for your help here. Yes, I downloaded VirtualDub2 and it is quite good. I did not need to re-mux to MKV as it loaded the TS video with H.264 AVC format no problem and you can see the time line in milliseconds.
Unfortunately, the problem now is tsMuxeR with the cuts. It can cut the start and cut the end. It does not seem to do multiple cuts. Multiple cuts are not possible with TSmuxer.
In order to remove the opening 'black screen' and 'interlude' in '2001 A Space Odyssey', I had to perform multiple cuts. I took quite a while. I performed the task in reverse order...
WSC4
30th March 2019, 04:54
Just an update and a correction:
I did not test VirtualDub2 properly with frame stepping froward and backwards. With the film paused, clicking the timeline anywhere showed a blotched screen heavily pixelated. The image of the frames is unreadable. Page up and Page down showed the same. I tried a number of TS videos and all did the same.
I then downloaded AvsPmod, installed it and ran the same TS videos. No problems. No blotchy, unreadable pixelated screens when clicking on the timeline or frame stepping forward or backwards.
I tested these videos with other players and no problems with the videos; no blotched pixelation.
What could the problem be with VirtualDub2?
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.