View Full Version : smartLabs tsMuxeR: Transport Stream muxer
Midzuki
17th August 2011, 18:47
Hi.
it is a way (regardless of the file type or source files) to get the delay (ms) for tsmuxergui or only through a lot attemps? thanks.
this calculation des not work:
totalframes - fps = length (seconds)
video lenght - audio lenght = delay for tsmuxer. no.
may be a formula? I guess this formula does not exist ;)
IF you were dealing with "100%-sure" constant-framerate video and constant-frame-duration audio, then quite probably your formula should work. BUT, considering your source-files are raw VC-1 streams and containerless .WMAs :eek: , and quite probably they were created (before being demuxed by someone else) through evil tools like Windows Movie Maker or Windows Media Encoder, I'm afraid there will be no easy recipe for solving your current problem. :)
jdobbs
17th August 2011, 19:45
And a utility/tool of some sort? Or do you just use a Hex Editor? I've googled "presentation time stamp" and it's unclear to me how these are identified. :confused:
I could write one easy enough -- but TSMUXER already does it. Just open up an M2TS, click on the audio stream, and it will tell you the delay. Of course in most cases it is 0 ms.
tedybear
18th September 2011, 07:08
why are all downloads dead?
Midzuki
18th September 2011, 07:53
why are all downloads dead?
Because all of their builds are belong to Baldrick :)
http://www.videohelp.com/tools/tsMuxeR/old-versions#download
JoeH
27th September 2011, 14:16
Hmmm... so with the original links dead is this now officially abandonware, or is there still hope for future developments?
idbirch2
27th September 2011, 14:49
What is it you want it to do that it doesn't already? Taking into account the name of the program is TSMuxer.
coolalibaba
8th October 2011, 05:15
What is it you want it to do that it doesn't already? Taking into account the name of the program is TSMuxer.
simply these are what I wanted but it don't have:
1. the settings can be saved
2. be compatible with mkv generated by newer version of mkvtoonix.
Chumbo
8th October 2011, 14:42
Ability to add TrueHD elementary audio tracks would be nice too.
JoeH
9th October 2011, 14:41
Like coolalibala, I also want the ability to save my settings, or create "profiles" of settings. For example, there are two basic profiles I use for subtitles, neither of which correspond to the default settings.
Either way, the question of whether TSMuxer is now abandonware is a valid one. Even great programs begin to give problems over time (as technologies evolve) if they are not updated.
brakeb
12th October 2011, 23:50
Question: I'm ripping Harry Potter 7 Part 1 blu-ray. I added the 00200.mpls file to tsmuxer, and about 60 files get added to the queue. I attempt to demux just the video, and I get an "tsmuxer finished with an error code of -2"
I think that it might be the filename is too long. Why does tsmuxer put such long, and confusing filenames? is there a way for me to make my own filename through the GUI? The only thing I can think of doing now is to use some kind of 'cat' to combine the filenames, but I can't do that easily...
any ideas...?
jdobbs
13th October 2011, 01:32
Question: I'm ripping Harry Potter 7 Part 1 blu-ray. I added the 00200.mpls file to tsmuxer, and about 60 files get added to the queue. I attempt to demux just the video, and I get an "tsmuxer finished with an error code of -2"
I think that it might be the filename is too long. Why does tsmuxer put such long, and confusing filenames? is there a way for me to make my own filename through the GUI? The only thing I can think of doing now is to use some kind of 'cat' to combine the filenames, but I can't do that easily...
any ideas...? I've had that problem before. There's a workaround. Just mux to TS, M2TS, Blu-Ray or AVCHD format (instead of demuxing), and then demux from there. It'll result in a single file for each stream you select that way.
brakeb
13th October 2011, 01:43
I've had that problem before. There's a workaround. Just mux to TS, M2TS, Blu-Ray or AVCHD format (instead of demuxing), and then demux from there. It'll result in a single file for each stream you select that way.
I will give that a try... the only other thing I see is that the timestamps are off on the mpls file...
example:
++ G:\BDMV\STREAM\00088.m2ts (00:01:12.489)
++ G:\BDMV\STREAM\00011.m2ts (00:01:54.405)
++ G:\BDMV\STREAM\00089.m2ts (00:10:52.067)
++ G:\BDMV\STREAM\00119.m2ts (00:00:40.372)
++ G:\BDMV\STREAM\00018.m2ts (00:01:10.153)
etc...
I had BDinfo look at everything, and it's the longest group of files by 20 minutes at least... but will everything still work with all the timestamps hosed up like that?
brakeb
13th October 2011, 01:56
I've had that problem before. There's a workaround. Just mux to TS, M2TS, Blu-Ray or AVCHD format (instead of demuxing), and then demux from there. It'll result in a single file for each stream you select that way.
Which one is the best? Should I just mux video only?
I did the AVCHD, and it appears to be working, with no issues so far... thanks for the assist.
It sucks that I had to use windows to get this done... I've been trying for the longest time to mux blu-ray video in *unix (openbsd specifically)...
But with the help of AnyDVDHD, tsmuxer, BDSup2Sub, and Mkvmerge, I've been able to do several blu-rays (Lion King, Avatar, Wall-E...
Tsmuxer is awesome!
jdobbs
13th October 2011, 02:02
I had BDinfo look at everything, and it's the longest group of files by 20 minutes at least... but will everything still work with all the timestamps hosed up like that? I've never had a problem doing it this way -- and I've done some pretty large ones.Which one is the best? Should I just mux video only?
I did the AVCHD, and it appears to be working, with no issues so far... thanks for the assist.
It sucks that I had to use windows to get this done... I've been trying for the longest time to mux blu-ray video in *unix (openbsd specifically)...
But with the help of AnyDVDHD, tsmuxer, BDSup2Sub, and Mkvmerge, I've been able to do several blu-rays (Lion King, Avatar, Wall-E...
Tsmuxer is awesome! I don't think it will make a difference whether you do video-only or any combination of streams.
AVCHD should be fine, it just creates some accompanying files/folders that you might just throw away.
brakeb
13th October 2011, 03:27
Thanks for your help... I must have spent 4 hours today trying to solve this issue...
jdobbs
13th October 2011, 05:10
Thanks for your help... I must have spent 4 hours today trying to solve this issue...So I assume it all worked out. Great.
brakeb
14th October 2011, 00:11
not really... I muxed harry potter 7 p1, into one file (1080p, 720p, DTS, and 2 PGS) and the file is only 27 GB. When I got done, the 1080p video was around 12-15 GB, the 720p was 800MB, and when I tried playing either one (without sound) in VLC, the screen was black... this is the first time this has occurred in any of the blu-rays I've ripped. All the others showed something before they stopped playing (slow processor). The weird thing was, the audio I ripped (DTS) I played it in VLC, and there was an introduction by Jason Isaacs (Lucius Malfoy) talking about the "Mega Movie Experience"... since that wasn't the right audio (it was the only one available for selection) I am attempting to mux, demux the second largest m2ts file and see if that is any different...
chompy
14th October 2011, 08:15
not really... I muxed harry potter 7 p1, into one file (1080p, 720p, DTS, and 2 PGS) and the file is only 27 GB. When I got done, the 1080p video was around 12-15 GB, the 720p was 800MB, and when I tried playing either one (without sound) in VLC, the screen was black... this is the first time this has occurred in any of the blu-rays I've ripped. All the others showed something before they stopped playing (slow processor). The weird thing was, the audio I ripped (DTS) I played it in VLC, and there was an introduction by Jason Isaacs (Lucius Malfoy) talking about the "Mega Movie Experience"... since that wasn't the right audio (it was the only one available for selection) I am attempting to mux, demux the second largest m2ts file and see if that is any different...
My advice: forget tsMuxeR for demuxing purposes and use eac3to instead.
Greetings
madhatter300871
14th October 2011, 14:09
I agree. I use eac3to and it just works.
On a side note, I demux everything I want, re-encode to x264 and then remux into mkv. I get fantastic quality video that I genuinely cannot distinguish from the original. I only watch my backups now and keep my blu-rays safe and untouched. Sad isn't it !!
brakeb
14th October 2011, 14:36
So another program that yanks video/audio/PGS? This is getting ridiculous...
so, this 'eac3to' is teh new hotness? I'll give it a try when I get home.
Thanks...
jdobbs
14th October 2011, 14:48
So another program that yanks video/audio/PGS? This is getting ridiculous...
so, this 'eac3to' is teh new hotness? I'll give it a try when I get home.
Thanks... eac3to is good software. But I've done well over a thousand (yes I said thousand) blu-ray demuxes in testing for BD-Rebuilder -- and I've never found a single Region One disc that couldn't be demuxed using TSMUXER. I have to wonder how any other package could do better than 100%.
But... to each his/her own.
laserfan
14th October 2011, 15:27
I'm surprised at this--I thought only eac3to handled those programs with many multiple m2ts files (I'm blanking on the terminology atm) whereby there are gaps in the audio that eac3to needs a 2nd pass to fix. tsMuxeR handles those too? I didn't know that.
jdobbs
14th October 2011, 19:33
I'm surprised at this--I thought only eac3to handled those programs with many multiple m2ts files (I'm blanking on the terminology atm) whereby there are gaps in the audio that eac3to needs a 2nd pass to fix. tsMuxeR handles those too? I didn't know that. I assume what you're referring to is the fact that in multipart playlists there can be overlapping audio frames. So you can't just demux the streams individually and then append them together. If you use the MPLS for input rather than individual M2TS files, TSMUXER corrects them.
The only real problem I've seen is the longer-than-legal filenames TSMUXER tries to use on demuxing that forces you to output to an intermediate M2TS when the source path is exceptionally long or there are a lot of parts.
setarip_old
14th October 2011, 21:27
@laserfan
Hi!
If I remember correctly, tsMuxer has been capable of processing Blu-rays based on .MPLS playlists, rather than simply joining .M2TS files, before eac3to made its initial appearance - and is used by other programs, such as BD-RB, multiAVCHD and others ;>}
tebasuna51
15th October 2011, 03:01
tsMuxer have bugs extracting PCM to WAV files and I found also bugs (corrupt frames) extracting AC3 files. The same job made by eac3to works fine.
jdobbs
15th October 2011, 04:55
tsMuxer have bugs extracting PCM to WAV files and I found also bugs (corrupt frames) extracting AC3 files. The same job made by eac3to works fine.Well... as I said, it has never failed for me.
But I can't speak for your experience, only mine.
tebasuna51
15th October 2011, 10:10
I don't say than eac3to is perfect, sometimes also fails.
My recommended workflow is use first eac3to to demux, if there are problems try with tsMuxeR.
brakeb
16th October 2011, 01:12
I don't say than eac3to is perfect, sometimes also fails.
My recommended workflow is use first eac3to to demux, if there are problems try with tsMuxeR.
Well, in this case, eac3to did fail... Harry Potter 7 Part 1's subtitles and audio pulls just fine, but the 264 files (720 and 1080) just don't play. In VLC, they won't play, and in windows media player, Just a black screen... I'm beginning to think that the AnyDVD HD failed to remove the protections on the image I created. I may try to pull it again...
setarip_old
16th October 2011, 03:08
@brakeb
Hi!
Are you trying to join 1080 video with 720 video?
JoeH
16th October 2011, 08:17
You can also try the HD Streams Extractor in MeGUI (which uses EAC3TO but has a great front-end).
xekon
19th October 2011, 05:49
I just learned that tsmuxer can perform trim/cuts.
I would like to use this feature to trim an srt file, and output a new srt file that has been trimmed with correct/adjusted timecodes.
I was able to cut the .srt file using tsMuxeR GUI, but the output was .sup.
Is it possible to cut and output .srt, or does tsmuxer only support converting srt to .sup?
Also if tsmuxer only converts to .sup, but you happen to know of a program/script that can trim an srt file, please let me know. (hoping tsMuxer can do it because I can use the commandline app via batch files.)
Capsbackup
19th October 2011, 15:06
I just learned that tsmuxer can perform trim/cuts.
I would like to use this feature to trim an srt file, and output a new srt file that has been trimmed with correct/adjusted timecodes.
I was able to cut the .srt file using tsMuxeR GUI, but the output was .sup.
Is it possible to cut and output .srt, or does tsmuxer only support converting srt to .sup?
Also if tsmuxer only converts to .sup, but you happen to know of a program/script that can trim an srt file, please let me know. (hoping tsMuxer can do it because I can use the commandline app via batch files.)
Check out Subtitle Workshop, it does what you ask. :)
http://www.videohelp.com/tools/Subtitle-Workshop
Jolly Roger
26th October 2011, 01:39
I was muxing H264 stream to M2TS and at about 70% progress point I received an error:
H264 warn: Unexpected pic_order_cnt_lsb value 1. FrameNum: 65535 slice type: I_TYPE
Muxing completed successfully at 100% but I am just curious what this error means and how it affects the video? Would you please explain me this single error.
Thanks you very much.
wlee
4th November 2011, 04:06
in the GUI, Input tab, tracks can be deselected or removed, is there any difference between two?
jdobbs
4th November 2011, 05:32
I was muxing H264 stream to M2TS and at about 70% progress point I received an error:
Muxing completed successfully at 100% but I am just curious what this error means and how it affects the video? Would you please explain me this single error.
Thanks you very much. I'd say there is something suspicious about that frame number -- as it is exactly the maximum value that you can fit in a 16 bit integer.
Thunderbolt8
5th November 2011, 03:30
is the latest version still 1.10.6 as to be found on videohelp?
rapscallion
5th November 2011, 03:47
Yes it is.
Thunderbolt8
6th November 2011, 21:10
can tsmuxer recognize TextST files in blu-rays and demux / convert them to .sup?
DVD Logic
21st November 2011, 11:34
Hi everybody,
we are developers of BD Muxer (EasyBD) and we have problems with B-pyramids in x264. If anybody have technical info please send us to support@dvd-logic.com
Thanks,
Valery Koval.
svcdprayer
8th December 2011, 11:36
Ive tried to remux bd m2ts with srt, however on mpc-hc subtitles are not displayed even though i can select them, on media tank player that i own tvix hd n1 caffe subtitles are not available at all.
how can i fix this? i would like to have srt embedded in remuxed m2ts. no matter what i select bd or m2ts mux the results are the same.
Ive also tried multiavchd to do the same task for me but no joy
thanks!
setarip_old
9th December 2011, 06:25
@svcdprayer
Hi! Ive also tried multiavchdSelect "Hard encode first external subtitle track (transparent)" twice (You'll see what I mean)
HanSooloo
9th December 2011, 14:50
Have an M2TS file from a Bluray disc. I would like to use the command line tsMuxeR tool on Linux to remove the English subtitle track and save it as a .sup file. I setup a .meta file to help.
But I am not getting the subtitle file, instead it creates a directory with the same name.
What am I doing wrong?
file.meta file:
MUXOPT --no-pcr-on-video-pid --new-audio-pes --demux --vbr --vbv-len=500
S_HDMV/PGS, "00501.m2ts", track=4608, lang=eng
Command line:
./tsMuxeR file.meta 00501.sup
Resultant files:
root@127.0.0.1:/Folder/BDMV/STREAM# ls -lrtd *.sup
drwx------ 2 root root 3 Dec 8 21:29 00501_track4621.sup/
root@127.0.0.1:/Folder/BDMV/STREAM#
jdobbs
9th December 2011, 14:59
Don't give the .SUP file name as output in the command line -- give it an output folder name. TSMUXER will name the .SUP itself based on the source name and track ID. It has to do that since the demuxing function can result in more than one output file.
HanSooloo
9th December 2011, 16:13
Don't give the .SUP file name as output in the command line -- give it an output folder name. TSMUXER will name the .SUP itself based on the source name and track ID. It has to do that since the demuxing function can result in more than one output file.
That did the trick.
However, the output looks like it's just a suffix, i.e., .track_4608.sup
Any way to prefix it with the M2TS file name, e.g., 00501.track_4608.sup?
root@127.0.0.1:/Folder/BDMV/STREAM# ls -la sup
drwxr-xr-x 2 root root 3 Dec 9 09:33 ./
drwxr-xr-x 3 nobody smbusers 74 Dec 9 09:32 ../
-rw-r----- 1 root root 37305563 Dec 9 09:42 .track_4608.sup
jdobbs
9th December 2011, 17:05
That did the trick.
However, the output looks like it's just a suffix, i.e., .track_4608.sup
Any way to prefix it with the M2TS file name, e.g., 00501.track_4608.sup?
root@127.0.0.1:/Folder/BDMV/STREAM# ls -la sup
drwxr-xr-x 2 root root 3 Dec 9 09:33 ./
drwxr-xr-x 3 nobody smbusers 74 Dec 9 09:32 ../
-rw-r----- 1 root root 37305563 Dec 9 09:42 .track_4608.sup
It always does when I use it -- but I''m on a windows machine. Here's an example of a meta file I've used:MUXOPT --no-pcr-on-video-pid --new-audio-pes --demux --vbr --vbv-len=500
V_MPEG4/ISO/AVC, "00018.m2ts", fps=23.976
A_DTS, "00018.M2TS", down-to-dts, track=4352, lang=eng
S_HDMV/PGS, "00018.M2TS",fps=23.976, track=4608,lang=eng
S_HDMV/PGS, "00018.M2TS",fps=23.976, track=4609,lang=spaWith this command line:d:\tsmuxer\tsmuxer.exe 00018.meta d:\output
Capsbackup
9th December 2011, 19:56
That did the trick.
However, the output looks like it's just a suffix, i.e., .track_4608.sup
Any way to prefix it with the M2TS file name, e.g., 00501.track_4608.sup?
Now that you have successfully demuxed the file you can rename it to whatever you like! ;)
ralphclark
8th January 2012, 06:15
I know people have been asking for this for years, but I would really like to see tsMuxeR gain the capability to mux DVB subtitles into .M2TS (from a .srt file).
My HD player doesn't recognize PGS-formatted subtitle streams and there doesn't seem to be anything out there that can create a .M2TS file with a "DVB subtitle" track. If tsMuxeR could do it, it would enable a complete end-to-end solution for transcoding video to play on HD recorders.
BassPig
23rd January 2012, 05:12
I love this program! It saved my bacon when my authoring system decided to stop allowing me to produce multichannel BD-Rs. Now I just strip in the Dolby AC3 multichannel after building the disc image. But that got me thinking.. BD supports up to 8 channels of LPCM. So why not mux in multichannel LPCM instead of lossy Dolby ac3? But here's my problem.. tsMuxer accepts the LPCM just fine and muxes it beautifully.. but when I burn the disc and pop it into my Oppo BDP-83, the player thinks it's "1/1 Dolby" and won't play any audio--disc is silent. Any idea what I might be doing wrong?
IanD
23rd January 2012, 05:41
I love this program! It saved my bacon when my authoring system decided to stop allowing me to produce multichannel BD-Rs. Now I just strip in the Dolby AC3 multichannel after building the disc image. But that got me thinking.. BD supports up to 8 channels of LPCM. So why not mux in multichannel LPCM instead of lossy Dolby ac3? But here's my problem.. tsMuxer accepts the LPCM just fine and muxes it beautifully.. but when I burn the disc and pop it into my Oppo BDP-83, the player thinks it's "1/1 Dolby" and won't play any audio--disc is silent. Any idea what I might be doing wrong?
Firstly, LPCM on Bluray is not in standard channel order, so if you want it to be correct when burnt to a disc, you need to re-arrange the channels if you have created LPCM from DD, DTS etc.
LPCM files over 4GB can cause muxing issues I believe: IIRC, creating them as w64 gets around this issue.
Eac3to can decode most things to LPCM and can perform channel re-ordering and output as w64 in one go: it might be your best option before muxing with TsMuxer.
LPCM is very space hungry compared to the lossy and lossless audio codecs, so don't be surprised at 6GB just for audio for a movie.
BassPig
23rd January 2012, 06:11
My test file was under 2GB, less than 20 minute program. The channel order is L,R,C,SW,LS,RS. The audio originates from a MOTU896, whose files go into Adobe Premiere CS3 to make the main program. From there, I make a multichannel PCM file with the above channel assignments, and then remux it with tsMuxer.
Lately, I'm wondering if it's a little endian problem.. some info I looked up said that Blu-ray is Big endian, so my little endian PCM might be the problem?
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.