View Full Version : tsMuxer Open Source
ryrynz
24th November 2023, 06:08
On a more personal note, I'd be interested to know if the media player app in the 2022 (and 2023) Panasonic TV's supports playback of stereo/multi-channel FLAC, either as a .flac file or when muxed within the .mkv container with video...
Cheers. FLAC unsupported in MKV but works with stereo flac files. Multi-channel straight up froze the player and turned the TV off.
SeeMoreDigital
24th November 2023, 12:01
Cheers. FLAC unsupported in MKV but works with stereo flac files. Multi-channel straight up froze the player and turned the TV off.Thanks for doing this.
You'd think Panasonic would mention that their media player app is able to support 2-ch Flac within their TV's specifications.
By contrast, my 2016 LG televisions media player app can't play native flac files but it can play 2-ch and 6-ch flac when it's muxed within the .mkv container along with video - Neither of which is mentioned in the user manual :eek:
I'm one of those people who often uses my TV to play music files rather than switching on my amps and media streamer (OPPO)...
Balling
24th November 2023, 12:47
Hmmm... The APK file for what device?
APK file and nowadays Split "APKS" is what Android uses. As for what apk https://www.google.com/search?q=apk+for+android+sony+tvs+to+play+dolby+vision+profile+5
This one https://github.com/moneytoo/Player/releases
Or
https://emby.media/community/index.php?/topic/96083-sony-tv-app-dolby-vision/
ryrynz
25th November 2023, 06:16
Thanks for doing this.
You'd think Panasonic would mention that their media player app is able to support 2-ch Flac within their TV's specifications.
Yeah I was surprised, maybe it's a somewhat recent addition, the multichannel playback is hit and miss, 3 channel can sometimes work, 7.1 channel is a no go. Much prefer the Dolby picture overall, probably the majority of likely due to the picture profile the TV loads when playing it back.
Overrighter
24th December 2023, 14:17
Hello, Everybody!
I hope my post will be somewhat useful, coz I couldn't find out an answer as to how to make Sony UBP-X800M2 trigger Dolby Vision (DV) input when playing an original m2ts file from the BD 4k DV disk using a USB flashdrive. Long story short. I run the m2ts file though tsMuxeR GUI git-2c58285 ("tsMuxeR 2022-08-14 Nightly Portable Windows 64-bit") from m2ts into the same m2ts only de-clicking unnecessary audio tracks and, Bingo!, x800m2 indicates Dolby Vision as input, while for the non-modified file it indicates just HDR. It was Uncharted 4k uhd disk. tsMuxeR shows two video tracks: 4k and 1080p for both original m2ts and after remuxing. If I could feedback anything more for the purpose of developing this wonderful utility, please ask. I'll do my best.
Keep on using your lovely program for all this time! Recently figured out what is getting changed by the TSmuxer when I just "translate" ISO's m2ts into m2ts/ts on usb/lan folder for my sony Sony UBP-X800M2:
Original m2ts
Video #2
ID : 4117 (0x1015)
Menu ID : 1 (0x1)
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5.1@High
HDR format : SMPTE ST 2086, HDR10 compatible
Codec ID : 36
Duration : 1 h 45 min
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0 (Type 2)
Bit depth : 10 bits
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color primaries : Display P3
Mastering display luminance : min: 0.0050 cd/m2, max: 4000 cd/m2
m2ts recreated by TSmuxer
Video #2
ID : 4117 (0x1015)
Menu ID : 1 (0x1)
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5.1@High
HDR format : Dolby Vision, Version 1.0, dvhe.07.06, EL+RPU, Blu-ray compatible / SMPTE ST 2086, HDR10 compatible
Codec ID : 6
Duration : 1 h 45 min
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0 (Type 2)
Bit depth : 10 bits
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color primaries : Display P3
Mastering display luminance : min: 0.0050 cd/m2, max: 4000 cd/m2
For the first file DV is not trigger on the player even though it is triggered when played with physical Blu-ray disk. Second file triggers DV perfectly. So, please, never remove this change for "HDR format" info :D
SeeMoreDigital
24th December 2023, 15:10
For the first file DV is not trigger on the player even though it is triggered when played with physical Blu-ray disk. Second file triggers DV perfectly. So, please, never remove this change for "HDR format" info :D
Which git build are you using?
Overrighter
24th December 2023, 16:15
Which git build are you using?
Always used git-f254deb. Today tried git-72d4b4e for the newer avatar 4k uhd re-release with dolby vision (collector's edition) - worked perfectly as well.
deank
26th December 2023, 13:27
Well AFAIK PLEX supports what the TV supports internally and it cannot force support for a non-supported format.
PLEX is more practical than TVs internal app anyway, and I would be VERY happy if my C2 supported DV mkv in PLEX but it doesn't.
I recently added Dolby Vision support to my version of Movian for Android and it is perfect for testing DV/HDR10+/HDR/SDR, etc. in mkv/mp4/m2ts.
Since it can also tamper with the hevc bytestream you can remove/force DV/HDR10+ like some other apps do. I'm mentioning this only because it is about Android/AndroidTV and can be used to test your TV/receiver capabilities.
Just fwiw :) and happy holidays!
p.s. You can find Movian here if you want to test: movian.deanbg.com
Emulgator
27th December 2023, 17:43
Happy holidays, deank !
cogira
25th January 2024, 19:13
What means this msg from Tsmuxer?
"Tsmuxer finished with error code 1or I (it is not clear if 1 or I)
varekai
4th April 2024, 04:01
Thanks justdan96 for new update!
Nightly build from 2024-04-04-01-54-45 (https://github.com/justdan96/tsMuxer/releases/tag/nightly-2024-04-04-01-54-45#:~:text=Nightly%20build%20from%202024%2D04%2D04%2D01%2D54%2D45)
Much appreciated!
malimuc
26th May 2024, 17:52
After remuxing movie (Bob Marley- One Love 2024) with tsmuxer Gui (from 05.12.2024) Dolby Atmos sound is not synchronized with the movie and subtitles. The sound on the Bluray disc without remux works flawlessly! Has anyone else encountered this problem?
von Suppé
27th May 2024, 15:48
I don't know what you exactly imported in tsMuxer, but when importing the proper playlist (*.mpls file from BD's native PLAYLIST folder), IME certain issues can be avoided.
You can use BDInfo to see what mpls points to what m2ts file(s).
malimuc
27th May 2024, 18:04
I import 00001.mpls in tsmuxer gui. After remuxing movie (Bob Marley- One Love 2024) with tsmuxer Gui (from 05.12.2024) Dolby Atmos sound is not synchronized with the movie and subtitles.
The sound on the Bluray disc without remux works flawlessly! Has anyone else encountered this problem?
ocean
27th May 2024, 18:48
Hi malimuc, try this test to verify the problem, extract the tracks with DGDemux then remux them with tsMuxer, adding them following the initial Bluray scheme, finally test to see if you have synchrony with Atmos audio.
https://www.rationalqm.us/dgdemux/dgdemux.html
von Suppé
28th May 2024, 09:18
Yes, DGDemux is the best BD demuxer in my book too.
Also, when using tsMuxer to mux to BD (ISO or folder structure), type value 524280 in the "45 KHz clock" window (Blu-ray tab). It's said to be vital for a proper BD mux and it indeed proofed to be working for the BD remuxes I did.
If one is interested in reading about this, see https://forum.doom9.org/showthread.php?p=1916110#post1916110
malimuc
28th May 2024, 16:16
Hi malimuc, try this test to verify the problem, extract the tracks with DGDemux then remux them with tsMuxer, adding them following the initial Bluray scheme, finally test to see if you have synchrony with Atmos audio.
https://www.rationalqm.us/dgdemux/dgdemux.html
Thx ocean. Now working sound (Dolby Atmos) like a dream after remux.
Thanks man. If there were more people like you in the world, the world would be a much better.
ocean
28th May 2024, 16:59
Yes, DGDemux is the best BD demuxer in my book too.
Also, when using tsMuxer to mux to BD (ISO or folder structure), type value 524280 in the "45 KHz clock" window (Blu-ray tab). It's said to be vital for a proper BD mux and it indeed proofed to be working for the BD remuxes I did.
If one is interested in reading about this, see https://forum.doom9.org/showthread.php?p=1916110#post1916110
Thanks von Suppé, for the very interesting information.
tandi
18th November 2024, 22:05
hello, want to ask, why tsmuxer gui can't recognized it ?
Audio #1
ID : 2
Format : MLP FBA 16-ch
Format/Info : Meridian Lossless Packing FBA with 16-channel presentation
Commercial name : Dolby TrueHD with Dolby Atmos
Codec ID : A_TRUEHD
Duration : 2 h 1 min
Bit rate mode : Variable
Bit rate : 2 761 kb/s
Maximum bit rate : 4 044 kb/s
Channel(s) : 8 channels
Channel layout : L R C LFE Ls Rs Lb Rb
Sampling rate : 48.0 kHz
Frame rate : 1 200.000 FPS (40 SPF)
Bit depth : 24 bits
Compression mode : Lossless
Stream size : 2.35 GiB (7%)
Title : BTM TrueHD Atmos 7.1
Language : English
Default : Yes
Forced : Yes
Source : Universal Studios Blu-ray (2024)
Number of dynamic objects : 11
Bed channel count : 1 channel
Bed channel configuration : LFE
SeeMoreDigital
18th November 2024, 22:19
hello, want to ask, why tsmuxer gui can't recognized it ?
Audio #1
ID : 2
Format : MLP FBA 16-ch
Format/Info : Meridian Lossless Packing FBA with 16-channel presentation
Commercial name : Dolby TrueHD with Dolby Atmos
Codec ID : A_TRUEHD
Duration : 2 h 1 min
Bit rate mode : Variable
Bit rate : 2 761 kb/s
Maximum bit rate : 4 044 kb/s
Channel(s) : 8 channels
Channel layout : L R C LFE Ls Rs Lb Rb
Sampling rate : 48.0 kHz
Frame rate : 1 200.000 FPS (40 SPF)
Bit depth : 24 bits
Compression mode : Lossless
Stream size : 2.35 GiB (7%)
Title : BTM TrueHD Atmos 7.1
Language : English
Default : Yes
Forced : Yes
Source : Universal Studios Blu-ray (2024)
Number of dynamic objects : 11
Bed channel count : 1 channel
Bed channel configuration : LFE
Which version of TSmuxer GUI are you using? If its an old version it probably can't accept Dolby TrueHD streams that don't include a mandatory lossy Dolby Digital 'core' (companion) stream.
tandi
19th November 2024, 03:20
it's 2.6.12 , i try with another , it's same , not recognized
Audio #1
ID : 2
Format : MLP FBA 16-ch
Format/Info : Meridian Lossless Packing FBA with 16-channel presentation
Commercial name : Dolby TrueHD with Dolby Atmos
Codec ID : A_TRUEHD
Duration : 1 h 43 min
Bit rate mode : Variable
Maximum bit rate : 7 125 kb/s
Channel(s) : 8 channels
Channel layout : L R C LFE Ls Rs Lb Rb
Sampling rate : 48.0 kHz
Frame rate : 1 200.000 FPS (40 SPF)
Bit depth : 24 bits
Compression mode : Lossless
Language : English
Default : Yes
Forced : No
Number of dynamic objects : 11
Bed channel count : 1 channel
Bed channel configuration : LFE
SeeMoreDigital
19th November 2024, 10:34
You need to use the newer open source 'git builds'.
See post 1 in this topic for links.
tandi
20th November 2024, 08:24
thanks it work
justdan96
21st April 2025, 11:39
I thought I'd just call out to anyone active here that tsMuxer is no longer under active development. The final build is available from here: 2.7.0 (https://github.com/justdan96/tsMuxer/releases/tag/2.7.0)
jcdr428
22nd April 2025, 18:19
Hi @justdan96, thank you for all your work.
Hopefully there will be a volunteer to maintain a fork.
SeeMoreDigital
22nd April 2025, 18:40
Many thanks to everyone who took the time to bring this wonderfull application to this level.
Personally I can't think of any improvements that can be made to it.
Very nice work indeed ;)
varekai
23rd April 2025, 05:37
Hello justdan96!
Many thanks for all the work that you and everyone involved put into this outstanding one-of-its-kind software.
It is and will be indispensable to me and probably to many others for many, many years to come.
Thank you!
Best regards,
varekai
Emulgator
23rd April 2025, 12:37
Many thanks from me too to all involved for all that effort.
Where would be be without...
tebasuna51
23rd April 2025, 17:40
Many thanks justdan96 for your work!
outgoing
24th April 2025, 06:18
Another one that adds to the thanks for all the great work done to provide us with this indispensable tool. Hopefully it can be continued in its development by others.
Thank you very much justdan96 and all the team that invested so many hours in the development!
glc650
24th April 2025, 23:05
The final build fails to open for me on macOS 15.4.1:
"tsMuxerGUI.app" is damaged and can't be opened. You should move it to the Trash.
Selur
27th April 2025, 13:29
@glc650: both command line and gui work fine here. Did you call:
xattr -rc "Path to ssMuxeRGUI.app"
to remove all those quarantine flags macOS adds when the source isn't registered/paying?
(Apples habit of telling the user something is broken, when the problem is a flag it itself added is the reason, is hilarious in a bad way.)
glc650
27th April 2025, 21:52
@glc650: both command line and gui work fine here. Did you call:
xattr -rc "Path to ssMuxeRGUI.app"
to remove all those quarantine flags macOS adds when the source isn't registered/paying?
(Apples habit of telling the user something is broken, when the problem is a flag it itself added is the reason, is hilarious in a bad way.)Never had to do that before but that did the trick, thanks.
qyot27
28th April 2025, 03:26
@glc650: both command line and gui work fine here. Did you call:
xattr -rc "Path to ssMuxeRGUI.app"
to remove all those quarantine flags macOS adds when the source isn't registered/paying?
(Apples habit of telling the user something is broken, when the problem is a flag it itself added is the reason, is hilarious in a bad way.)
Wow. That would have definitely spared a lot of time messing around with Gatekeeper while prepping the latest AviSynth+ release.
It's even worse (https://forward-in-code.blogspot.com/2024/11/sequoia-and-downloads.html):
If you unpack a tar archive which has this attribute, all the unpacked files inherit the attribute. If an unpacked file is an executable and you try to execute it, you get the message ‘Operation not permitted’ and the execution fails.
So it's good to know that there is indeed a way of fixing downloaded stuff without having to suggest users disable part of the OS' security. That's just a bad look, even if the feature in question is more frustrating than helpful for anyone that knows what they're doing.
The funniest part is that aparently curl bypasses it entirely, because it doesn't set the attribute; web browsers do, but a literal downloading application does not (although I wonder how long until Apple starts shipping a custom version which does).
Lucius Snow
25th July 2025, 11:50
Hi all,
I have this error "TRUE-HD stream (track 3): bad frame detected at position... Resync stream." when trying to mux a Dolby TrueHD MLP to make a Blu-Ray. Any ideas?
Thanks.
EDIT: The old version from 2014 doesn't display theses errors. Why?
MrVideo
27th July 2025, 04:58
Does it have a core AC3. tsMuxer doesn't support coreless Dolby TrueHD
Lucius Snow
27th July 2025, 21:41
Yes, it does.
MrVideo
31st July 2025, 01:43
Then there might be a bug, which isn't going to get fixed any time soon.
DanDare1983
5th October 2025, 18:15
I know tsmuxer isn't being updated anymore but I have a couple of simple questions hopefully someone can answer. Firstly when I add a blu-ray playlist with multiple m2ts files (seamless branched discs) when I check the resulting stream folder I only see one m2ts instead of 2 or 3. I understand that when m2ts files are joined together audio frames need to be dropped in order for the m2ts files to sync up? Does tsmuxer do this? Also I like to create a simple main movie of my blu-rays, does tsmuxer do this perfectly fine or is there any additional setting i need to check. I know that when I add an m2ts file and not a mpls tsmuxer creates chapters if I don't check the 'no chapters tab'. Finally i've noticed that when I add a movie with dolby atmos the atmos track is out of sync, to get round this I use the embedded ac3 core which is fine. Is this a known problem or is it just me? Thanks again
taurusus
5th October 2025, 22:31
Hi DanDare1983 tsmuxer can create only one m2ts file, it is not necessary to separate audio from video, it can assemble with all audio and subtitles and I did not notice any desynchronization in the Atmos track.
DanDare1983
6th October 2025, 15:26
@taurusus when you have multiple m2ts files you will get overlapping frames. Tools like eac3to and DGdemux will reduce frames in order for the m2ts files to sync up. In regards to the Atmos TrueHD track I ran it through DGdemux and the resulting audio file was in perfect sync with the video so it's obviously done something because it's now in perfect sync.
ocean
6th October 2025, 21:30
with dolby atmos the atmos track is out of sync, to get round this I use the embedded ac3 core which is fine. Is this a known problem or is it just me? Thanks again
Hi DanDare1983, I'm only replying to you about the Atmos track for seamless branched discs:
https://forum.doom9.org/showthread.php?p=2022510#post2022510
DanDare1983
6th October 2025, 21:55
Hi Ocean, just checked the link and I can confirm that by extracting the 'full' truehd track with dgdemux and adding it to tsmuxer it works fine. Just a quick question if you can help....I see options such as "Do not change SEI and VUI data" and the box "Continually insert SPS/PPS" both unchecked. Do I need to check these? I'm not sure what they're actually for?
ocean
6th October 2025, 22:16
Supplemental enhancement information (SEI) and video usability information (VUI):
https://forum.doom9.org/showthread.php?p=1209880#post1209880
Hellboy.
7th October 2025, 18:31
DanDare1983
What version of tsMuxer are you using? I don't see any sync problem.
DanDare1983
8th October 2025, 08:37
Hellboy
I'm using the latest 2.7.0 release. Its weird because i tried another blu-ray folder with TrueHD Dolby atmos and that one worked fine. I've also just realised that tsMuxer is no longer being developed and that the latest 2.70 release is final. Thats a shame as i think its a handy tool to have.
Hellboy.
8th October 2025, 21:12
Maybe the disk have a delay in the audio and tsMuxer doesn't see it.
DanDare1983
9th October 2025, 12:48
The actual disk in question was actually fine when i run it through dvdfab so i don't know whats wrong with it. Do you know how well the latrst version deals with UHD 4K disks? I'd like to make a simple main movie into Blu-ray folder with them too.
Columbo
9th October 2025, 16:18
Regarding your async with THD Atmos, something in the process has to correct for the gaps between the M2TS files. When you used DGDemux, it did so. Perhaps your process is using tools that don't support gaps correction for THD, which can be tricky.
DanDare1983
9th October 2025, 16:59
Hey Columbo, the disc in question only had one m2ts file and not multiple m2ts files. I can understand sync issues with movies with multiple m2ts but not one. I knew by running the THD file through dgdemux the audio would be fine. Which did confuse me was that other THD tracks work fine so i'm not sure whats going on. Whilst wer'e on the subject of multiple m2ts files and gap correction, does tsMuxer work well with them kind of discs (seamless branched discs)? I've been leaving them for the time being and focusing primarily on discs with one m2ts file.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.