PDA

View Full Version : smartLabs tsMuxeR: Transport Stream muxer


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 [17]

chompy
18th August 2010, 13:55
Can this be cured by changing the .meta file to include

, timeshift=10ms

after the down-to-dts statement?

Thanks, but nope, it doesn't help at all, still DTS-HD StreamPlayer crashes and eac3to says that last DTS frame is incomplete.

I still hasn't been able to test Clown_BD BD Copier, but looking at the .bat and .meta files it creates I don't have little hope as the downconversion to DTS core is exactly the same I've done, but until I test it, I cannot assure it.

mrr19121970
18th August 2010, 17:21
I ran the original through eac3to:

eac3to v3.18
command line: "D:\TVIX\Clown_BD\eac3to_old\eac3to.exe" "M:\BDMV\STREAM\00052.m2ts" 3:"E:\HELIUM_D1_GBR\1_3_audio.dts" -progressnumbers
------------------------------------------------------------------------------
M2TS, 2 video tracks, 9 audio tracks, 7 subtitle tracks, 0:00:19, 24p /1.001
1: h264/AVC, 1080p24 /1.001 (16:9)
2: h264/AVC, 480p24 /1.001 (20:11)
3: DTS Master Audio, English, 5.1 channels, 24 bits, 48khz
(core: DTS-ES, 5.1 channels, 24 bits, 1509kbps, 48khz)
4: AC3 Surround, English, 2.0 channels, 320kbps, 48khz
5: DTS-ES, French, 5.1 channels, 24 bits, 1509kbps, 48khz
6: DTS-ES, Dutch, 5.1 channels, 24 bits, 1509kbps, 48khz
7: AC3 EX, Hungarian, 5.1 channels, 640kbps, 48khz
8: AC3 EX, Dutch, 5.1 channels, 640kbps, 48khz
9: AC3 Surround, English, 2.0 channels, 192kbps, 48khz
10: AC3 Surround, French, 2.0 channels, 192kbps, 48khz
11: AC3 Surround, Dutch, 2.0 channels, 192kbps, 48khz
12: Subtitle (PGS), English
13: Subtitle (PGS), English
14: Subtitle (PGS), French
15: Subtitle (PGS), Dutch
16: Subtitle (PGS), Hungarian
17: Subtitle (PGS), Hungarian
18: Subtitle (PGS), English
[a03] Extracting audio track number 3...
[a03] Creating file "E:\HELIUM_D1_GBR\1_3_audio.dts"...
Video track 1 contains 456 frames.
Video track 2 contains 457 frames.
eac3to processing took 1 second.
Done.

and the tsMuxerR Core:

eac3to v3.18
command line: "D:\TVIX\Clown_BD\eac3to_old\eac3to.exe" "S:\BDMV\STREAM\00052.m2ts" 2:"E:\HELIUM_D1_GBR\1_2_audio.dts" -progressnumbers
------------------------------------------------------------------------------
M2TS, 1 video track, 9 audio tracks, 7 subtitle tracks, 0:00:19, 24p /1.001
1: h264/AVC, 1080p24 /1.001 (16:9)
2: DTS-ES, English, 5.1 channels, 24 bits, 1509kbps, 48khz
3: AC3, English, 2.0 channels, 96kbps, 48khz
4: AC3, French, 2.0 channels, 96kbps, 48khz
5: AC3, Dutch, 2.0 channels, 96kbps, 48khz
6: AC3, Hungarian, 2.0 channels, 96kbps, 48khz
7: AC3, Dutch, 2.0 channels, 96kbps, 48khz
8: AC3, English, 2.0 channels, 96kbps, 48khz
9: AC3, French, 2.0 channels, 96kbps, 48khz
10: AC3, Dutch, 2.0 channels, 96kbps, 48khz
11: Subtitle (PGS), English
12: Subtitle (PGS), English
13: Subtitle (PGS), French
14: Subtitle (PGS), Dutch
15: Subtitle (PGS), Hungarian
16: Subtitle (PGS), Hungarian
17: Subtitle (PGS), English
[a02] Extracting audio track number 2...
[a02] Creating file "E:\HELIUM_D1_GBR\1_2_audio.dts"...
[a02] The last DTS frame is incomplete and thus gets skipped. <WARNING>
Video track 1 contains 456 frames.
eac3to processing took 1 second.
Done.


So it is a tsMuxeR issue. On the UK version of UP there is no noticable gap.

chompy
18th August 2010, 18:31
In Spanish edition there isn't this warning:

eac3to v3.24
command line: e:\install\bluray\eac3to\eac3to 00052.m2ts 3: d:\dts_hd.dts -core
------------------------------------------------------------------------------
M2TS, 2 video tracks, 9 audio tracks, 12 subtitle tracks, 0:00:19, 24p /1.001
1: h264/AVC, 1080p24 /1.001 (16:9)
2: h264/AVC, 480p24 /1.001 (20:11)
3: DTS Master Audio, English, 5.1 channels, 24 bits, 48kHz
(core: DTS-ES, 5.1 channels, 24 bits, 1509kbps, 48kHz)
4: DTS-ES, Spanish, 5.1 channels, 24 bits, 1509kbps, 48kHz
5: AC3 EX, Portuguese, 5.1 channels, 640kbps, 48kHz
6: AC3 EX, Hebrew, 5.1 channels, 640kbps, 48kHz
7: AC3 EX, Romanian, 5.1 channels, 640kbps, 48kHz
8: AC3 EX, Croatian, 5.1 channels, 640kbps, 48kHz
9: AC3 Surround, English, 2.0 channels, 192kbps, 48kHz
10: AC3 Surround, Spanish, 2.0 channels, 192kbps, 48kHz
11: AC3 Surround, Portuguese, 2.0 channels, 192kbps, 48kHz
12: Subtitle (PGS), English
13: Subtitle (PGS), English
14: Subtitle (PGS), Spanish
15: Subtitle (PGS), Portuguese
16: Subtitle (PGS), Hebrew
17: Subtitle (PGS), Romanian
18: Subtitle (PGS), Croatian
19: Subtitle (PGS), Portuguese
20: Subtitle (PGS), Hebrew
21: Subtitle (PGS), Romanian
22: Subtitle (PGS), Croatian
23: Subtitle (PGS), English
[a03] Extracting audio track number 3...
[a03] Extracting DTS core...
[a03] Creating file "d:\dts_hd.dts"...
Video track 1 contains 456 frames.
Video track 2 contains 457 frames.
eac3to processing took 1 second.
Done.

Could you compare the wavs from eac3to DTS core and tsMuxeR DTS core?

Greetings

EDIT: I see that your copy doesn't have English DTS-HD, it only has DTS core (it neither has PiP)... Is it the original source or has it been precessed with tsMuxeR (Clown_BD Copier, BD-Rebuilder, MultiAVCHD...)? If the original it's already only DTS, then there's no downconversion done.
In the spanish edition the audio gap is noticed between 00055.m2ts (or 00056.m2ts if selected the alternate playlist) and 00058.m2ts

mrr19121970
18th August 2010, 18:52
You're right I demuxed the wrong file. I've now corrected the original post.

The eac3to DTS Core is 3,595,444 bytes and the TSM core is 3,593,432 bytes the files are identical upto 0x36d408 where the TSM core ends. So the extra is only in the eac3to core.

mrr19121970
18th August 2010, 19:06
I'm now confused.

Demux original DTS core with tsMuxeR (3,597,896 bytes) is the identicle to the Demuxed down-to-dts version created with tsMuxeR in the 1st place.

Recapping

tsMuxeR CORE demuxed with eac3to = (3,593,432 bytes)
Original CORE demuxed with eac3to = (3,595,444 bytes)

Here are the 3 files http://clownbd.com/HELIUM_D1_GBR.zip

chompy
18th August 2010, 19:16
I think that original tsMuxerR Core is larger because TsMuxeR demuxes one frame more than eac3to: while eac3to uses the number of frames of the main video track (which is correctly related with the DTS track we are demuxing), tsMuxeR uses the larger number of frames that the PiP has (one more frame in UP) then I don't know what happens in this extra frame, but something wrong for sure as the resulting DTS core is corrupted.

mrr19121970
18th August 2010, 20:01
Same problem with down-to-ac3. This one does not have a PIP.

eac3to v3.24
command line: "D:\TVIX\Clown_BD\eac3to\eac3to.exe" "E:\SHREK_THE_THIRD_EN" 1) 4: "F:\SHREK\Audio_4_English.AC3" -progressnumbers -LOG="F:\SHREK\LOGS\eac3to_PASS3_LOG.LOG"
------------------------------------------------------------------------------
M2TS, 1 video track, 8 audio tracks, 10 subtitle tracks, 1:32:46, 24p /1.001
1: Chapters, 18 chapters
2: VC-1, 1080p24 /1.001 (16:9)
3: AC3, German, 2.0 channels, 96kbps, 48kHz
4: AC3, English, 5.1 channels, 640kbps, 48kHz
5: AC3, Spanish, 2.0 channels, 96kbps, 48kHz
6: AC3, French, 2.0 channels, 96kbps, 48kHz
7: AC3, Italian, 2.0 channels, 96kbps, 48kHz
8: AC3, Dutch, 2.0 channels, 96kbps, 48kHz
9: AC3, Portuguese, 2.0 channels, 96kbps, 48kHz
10: AC3, Turkish, 2.0 channels, 96kbps, 48kHz
11: Subtitle (PGS), German
12: Subtitle (PGS), English
13: Subtitle (PGS), English
14: Subtitle (PGS), Spanish
15: Subtitle (PGS), French
16: Subtitle (PGS), Italian
17: Subtitle (PGS), Dutch
18: Subtitle (PGS), Portuguese
19: Subtitle (PGS), Turkish
20: Subtitle (PGS), English
[a04] Extracting audio track number 4...
[a04] Creating file "F:\SHREK\Audio_4_English.AC3"...
[a04] The last (E-)AC3 frame is incomplete and thus gets skipped. <WARNING>
Video track 2 contains 133453 frames.
eac3to processing took 2 minutes, 20 seconds.
Done.

mrr19121970
18th August 2010, 20:05
Original UP demuxed with eac3to

eac3to v3.24
command line: "D:\TVIX\Clown_BD\eac3to\eac3to.exe" "M:\BDMV\STREAM\00052.m2ts" 1: "F:\UP\Video_1.*" 3: "F:\UP\Audio_3_English.DTS" -progressnumbers -LOG="F:\UP\LOGS\eac3to_PASS3_LOG.LOG"
------------------------------------------------------------------------------
M2TS, 2 video tracks, 9 audio tracks, 7 subtitle tracks, 24p /1.001
1: h264/AVC, 1080p24 /1.001 (16:9)
2: h264/AVC, 480p24 /1.001 (20:11)
3: DTS Master Audio, English, 5.1 channels, 24 bits, 48kHz
(core: DTS-ES, 5.1 channels, 24 bits, 1509kbps, 48kHz)
4: AC3 Surround, English, 2.0 channels, 320kbps, 48kHz
5: DTS-ES, French, 5.1 channels, 24 bits, 1509kbps, 48kHz
6: DTS-ES, Dutch, 5.1 channels, 24 bits, 1509kbps, 48kHz
7: AC3 EX, Hungarian, 5.1 channels, 640kbps, 48kHz
8: AC3 EX, Dutch, 5.1 channels, 640kbps, 48kHz
9: AC3 Surround, English, 2.0 channels, 192kbps, 48kHz
10: AC3 Surround, French, 2.0 channels, 192kbps, 48kHz
11: AC3 Surround, Dutch, 2.0 channels, 192kbps, 48kHz
12: Subtitle (PGS), English
13: Subtitle (PGS), English
14: Subtitle (PGS), French
15: Subtitle (PGS), Dutch
16: Subtitle (PGS), Hungarian
17: Subtitle (PGS), Hungarian
18: Subtitle (PGS), English
[v01] Extracting video track number 1...
[a03] Extracting audio track number 3...
[v01] Creating file "F:\UP\Video_1.h264"...
[a03] Creating file "F:\UP\Audio_3_English.DTS"...
[a03] [0:00:19] The source file seems to be damaged (sync byte missing). <WARNING>
[v01] [0:00:19] The source file seems to be damaged (sync byte missing). <WARNING>
Video track 1 contains 456 frames.
Video track 2 contains 457 frames.
eac3to processing took 1 second.
Done.

chompy
18th August 2010, 20:35
Yes, Gladiator neither has PiP, and the number of frames are the same in eac3to and in tsMuxeR, but DTS core's last frame from tsMuxeR is corrupted while last from eac3to is OK.

mrr19121970
19th August 2010, 07:16
I mailled tsmuxer@smartlabs.tv, I've never got a reply from them in the past. Lets hope they consider the bug worthy of fixing.

tebasuna51
19th August 2010, 10:11
Also wav output from PCM tracks have bugs (repported to smartlabs) when extract with tsMuxeR.
Use tsMuxeR to mux and eac3to to extract.

chompy
20th August 2010, 18:39
Use tsMuxeR to mux and eac3to to extract.

Well, that's not true 100%... If I demux audio + video (H264) with eac3to, then I'll still have the gap in English audio stream, but now, I'll also have the gap in Spanish audio stream. :confused:

So what has finally worked (both audio streams without gaps) is:
1) Demux video + audio streams not downconverted with tsMuxeR.
2) Demux audio streams downconverted with eac3to.
3) Mux all files with tsMuxeR.
4) Enjoy my perfect seamless branching backup :)

I don't know why but it seams that video streams demuxed with eac3to have some problems: they are smaller than their tsMuxeR demuxed equivalents and cannot be opened with Adobe Premiere, while the same video demuxed by tsMuxeR is read prefectly.

Greetings

IanD
30th August 2010, 05:20
I'm having a peculiar issue with TsMuxer: to fit a 2:30:20 movie only onto a BD-R, I need to trim off some of the end credits to a total duration of 2:27:00, so I'm using ClownBD to extract the elementary streams, then TsMuxer manually in a later step to set the end cut point. However, if I set the cut point to 147 minutes or even 8840 seconds, I get the same duration of 2:22:59 which is a little too short as I lose the very last few seconds of the movie before the end credits start. There is no chapter point at the start of the end credits: the last one happens a few minutes before the cut point occurs.

I have tried using a split point, but it creates a structure with two m2ts and doesn't reduce it down, so cut seems to be the best option.

If I insert no cut point, I get the full movie, but it is about 300MB too large to fit on a BD-R.

Can anyone suggest why I'm getting a fixed cut point that differs from what I am entering in TsMuxer? Is TsMuxer implementing some automatic setting when cut is activated, that provides a conservative result for a 25GB BD-R and can this be overridden?

laserfan
30th August 2010, 17:47
Can anyone suggest why I'm getting a fixed cut point that differs from what I am entering in TsMuxer? Is TsMuxer implementing some automatic setting when cut is activated, that provides a conservative result for a 25GB BD-R and can this be overridden?I would guess/assume/expect? that tsMuxer can only use I-frames as cut points which could account for the problem.

If you had re-encoded the BD with x264 then you could look-in the .stats file to find an appropriate I- or i-frame and then calculate your seconds (actually, you want to use milliseconds) from that. I forget exactly but maybe you want to use as -cut-end= the ms of the last i-frame plus 42.

I'm not sure how you'd ID the i-frames if you've not re-encoded, tho someone here will know. If not, certainly a Pass 1-only with x264 oughta work.

Capsbackup
31st August 2010, 02:12
@IanD;
You could also try TSSplitter, but you might have the same issue described above.
http://www.ffprojects.net/tssplitter/tssplitter.htm
Also, you could try DGSplit.
http://neuron2.net/mine.html#tools

laserfan
31st August 2010, 16:39
I have used tsMuxer to trim its output both front-and-back, and it works spectacularly well; you just have to pick the perfect ms numbers for cut-start and cut-end. I dunno tssplitter but I think DGsplit cuts w/o concern for GOPs.

BTW cutting the front-off is tricky if you have chapter marks; you need to assert a new "first frame" since frame 0 gets cut. But if you do it right the resulting output works perfectly, Chapters, and of course Audio and Subtitles (in perfect sync).

coolalibaba
24th September 2010, 12:00
anyone updated PS3 to 3.50 firmware? Looks now PS3 doesn't refresh the area out of the actual content. So if you re-mux NC(such as 1920X800) video with srt subtitles to AVCHD, as subtitles is usually displayed out of the video conten area(at the bottom), you won't be able to see the subtitles now.

deank
24th September 2010, 12:09
Did you try with AVCHD which previously worked? If so - that's sad news, along with all the restrictions in this 3.50 firmware (like no more unlicensed USB devices/controllers). :mad:

coolalibaba
24th September 2010, 15:36
No, I didn't test others as I don't have other video sources currently. A work around is to adjust the position of subtitles to make it in the video content.

setarip_old
25th September 2010, 05:18
Sounds like the PS3 is gradually DEvolving into a game and "proper" video playback machine...

titof
1st October 2010, 23:54
Hi every body

I try the tsmuxer with High definition ts files (ok in VLC player). But impossible to mux them into a new ts file (no change)
The error is 10737414676

I'm using win7. Do you know this problem ?
Thanks

LostChild1
9th October 2010, 22:52
Hi,

I used to use TsMuxeR for everything, and it always went without a hitch. But ever since re-installing openSUSE 11.3, I get the following error on many files:

tsMuxeR: ../vodTransport/src/matroskaParser.cpp:134: virtual void vodcore::ParsedH264TrackData::extractData(vodcore::AVPacket*, uint8_t*, int): Assertion `curPos == end' failed.
Can't detect stream type.

Any idea what is causing this? I've tried installing any libraries I can think of, but it's not something I've ever had a problem with in the past. mkvmerge can tell me all the info about the files no problem, so I don't understand what tsMuxeR is complaining about.

Thanks for the help. :) Also of note: I run a 64-bit system, but I have, what I believe to be, the proper 32-bit libraries installed.

arrgh
18th October 2010, 19:05
Anybody an idea if it would be possible to remux 3D Blurays with tsmuxer?

stevensf
18th October 2010, 20:26
I have a movie with more than 32 subs and tsmuxer demux only 32 subs. anybody knows how I can demux the 48 subs of my movie ?

shon3i
18th October 2010, 20:51
Try with eac3to.

stevensf
18th October 2010, 21:54
Try with eac3to.

tx for the help but eac3to support only 32 subs as the others programs :(

Midzuki
18th October 2010, 23:43
^

What about xport ???

chompy
19th October 2010, 08:26
@ stevensf:

Take a look here: http://forum.doom9.org/showthread.php?t=146501

If I'm not wrong, the maximum subs per m2ts is 32, and if there are more, then they are in a different m2ts contining only those subtitles (use BDedit to know in which m2ts they are).

stevensf
19th October 2010, 10:35
@ stevensf:

Take a look here: http://forum.doom9.org/showthread.php?t=146501

If I'm not wrong, the maximum subs per m2ts is 32, and if there are more, then they are in a different m2ts contining only those subtitles (use BDedit to know in which m2ts they are).

ok tx :)

GRKNGLR
28th October 2010, 12:29
Hi,
Will there be a new version of TsMuxer?

Version: 1.10.6
Released: 20090511

Lincoln Burrows
28th October 2010, 15:43
I am confused, why is TsMuxer listed with versions 1.10.6 and 1.8.4?

kaid
3rd November 2010, 14:57
Field testing report: Just checked out a self-encoded AVCHD and Bluray (with Big Buck Bunny! ;-) muxed with TSmuxer at the local electronics store on various BD players... They worked in every single player I tested (Pioneer, PS3, Sony, Philips, Samsung), only one would just play the AVCHD for some reason: The Sharp one (sorry, didn't write down the model, but it's the current one!). It simply refused to load the Verbatim BD-RE with the same Video (muxed to Bluray, not AVCHD though!)

The clerk said that this player is known to be very picky about the stuff it plays!...

Ghitulescu
3rd November 2010, 15:21
Field testing report: Just checked out a self-encoded AVCHD and Bluray (with Big Buck Bunny! ;-) muxed with TSmuxer at the local electronics store on various BD players... They worked in every single player I tested (Pioneer, PS3, Sony, Philips, Samsung), only one would just play the AVCHD for some reason: The Sharp one (sorry, didn't write down the model, but it's the current one!). It simply refused to load the Verbatim BD-RE with the same Video (muxed to Bluray, not AVCHD though!)

The clerk said that this player is known to be very picky about the stuff it plays!...

He's false, the Sharps don't play anything that's not original. With the latest FW update, the Sharps were able to read BD-Rs.

mikeathome
10th November 2010, 20:44
Hi,
this is a huge thread so excuse me if I repeat something!

I backed up a Music BR (Rush - Beyond The Lighted Stage) the other day. It contains 1 playlist for the main title and another for the 'Making Of this Film'.

So I load the playlist into TSMuxer and deselect unwanted streams. So far so good works with both playlists.

I re-encode the video and mux back together with MKVmerger and the 'Making Of' starts in-sync and is of sync every time a different chapter/section (following the original playlist) is played. Strange, some are in sync but 90% are off by up-to 500ms.

I wonder if TSMuxer is correcting individual .m2ts audio delays during the join?

Has this been investigated before?
The seamless branching titles should link together w/o delays, shouldn't they? And indeed, the main title is perfectly in-sync although it was split over some 20 individual parts as well.

Will eac3to be able to fix this? If yes I'll re-run it but want to avoid because I probably have to re-encode (10+ hours).

mike

mrr19121970
11th November 2010, 13:20
I wonder if TSMuxer is correcting individual .m2ts audio delays during the join?

No, this is a well known issue.

Has this been investigated before?
The seamless branching titles should link together w/o delays, shouldn't they? And indeed, the main title is perfectly in-sync although it was split over some 20 individual parts as well.

tsMuxeR seems to be in a very long a deep dormant phase, and we should assume that the bugs will not be corrected.

Will eac3to be able to fix this? If yes I'll re-run it but want to avoid because I probably have to re-encode (10+ hours).

mike

Yes, eac3to will do this for you. I'm not sure why you need 10 hours though.

Check out Clown_BD (GUI for eac3to & tsMuxeR) it will probably help you in what you are trying to acheive.

mikeathome
11th November 2010, 14:07
Thank you mrr19121970!

That was very valuable information for me. I will change my procedure than and use eac3to.

The re-encode of the video on my CoreDuo would take long time. If I only have to correct the audio delays I might go along w/o the need to do this.

I'll check, I know I want an I7 but the old one just don't die ;)

mike

rapscallion
6th December 2010, 22:21
First time I ran into this. Demuxing an LPCM sound track, from Pearl Harbor, and the result was 3 separate wav tracks instead of 1.

2 @ 1 h 22m and 1 @ 17m (movie is 3h 3 m)

Any idea why this happened ?

jdobbs
6th December 2010, 23:03
First time I ran into this. Demuxing an LPCM sound track, from Pearl Harbor, and the result was 3 separate wav tracks instead of 1.

2 @ 1 h 22m and 1 @ 17m (movie is 3h 3 m)

Any idea why this happened ?You probably hit the size limit for the .WAV file. From the TSMUXER readme:

- PCM audio are saved as WAV files. Also automatically splitting into several files, if the size of WAV file exceeds 4Gb.

rapscallion
6th December 2010, 23:39
You probably hit the size limit for the .WAV file. From the TSMUXER readme:

- PCM audio are saved as WAV files. Also automatically splitting into several files, if the size of WAV file exceeds 4Gb.
Thanks jdobbs! wasn't aware of that limit. (my readme is in Russian and I never bothered to translate it)

I sure did go way over 4gb, more like 9gb total ! So, conversely, no way to remux back into 1 file along with the video ?

Just curious, not what I plan on doing. I'l save to 6 wavs, via eac3to, and then encode into DTS MA.

mrr19121970
7th December 2010, 12:32
You need to use eac3to to create a 64bit WAV (W64), and then you can remux.

From memory isn't Pearl Harbour in 2 .m2ts files? If so you're best off demuxing with eac3to anyway to fix any gaps or overlays that might result in an uplayable or out of sync title.

coolalibaba
8th December 2010, 09:28
what is the difference between the normal wav(.wav) and 64bit wav(w64)?

mrr19121970
8th December 2010, 10:18
what is the difference between the normal wav(.wav) and 64bit wav(w64)?

One has a 4gb limit due to 32bit addressing, the other doesn't.

coolalibaba
9th December 2010, 05:29
One has a 4gb limit due to 32bit addressing, the other doesn't.

thanks!

jdobbs
9th December 2010, 06:15
Thanks jdobbs! wasn't aware of that limit. (my readme is in Russian and I never bothered to translate it)

I sure did go way over 4gb, more like 9gb total ! So, conversely, no way to remux back into 1 file along with the video ?

Just curious, not what I plan on doing. I'l save to 6 wavs, via eac3to, and then encode into DTS MA. You should be able to remux them with the video into an M2TS using TSMUXER. Just an FYI: If you look in the stickys for this subforum you'll find an English translation of the TSMUXER readme.

sylvain07
15th December 2010, 17:10
hi
I have a problem with tsmuxer and the movie inception in bluray.
are the video and audio tracks cutting,
how to make?

rapscallion
15th December 2010, 17:21
Just an FYI: If you look in the stickys for this subforum you'll find an English translation of the TSMUXER readme.
I guess I didn't see the forest for the trees :thanks:

Question: For the first time, when demuxing *.mt2s stream, The DTS MA audio track (and the other 4 audio tracks) has Delay in ms automatically set to -8. (I demuxed the video/audio tracks separately)

Is that an info only display or does it do something?

I remuxed the exact same tracks without entering any delay and the display didn't show any delay.
Is it really gone/fixed or do I need to enter -8 ?

Edit : I entered -8 and the resulting file now displays as a +3 audio delay.

Selur
28th December 2010, 20:16
1. can anyone reproduce the following:
When muxing raw streams tsmuxer ignores the timeshift parameter, which results in asynch output.
When opening the muxed output, setting the timeshift again and saving, output is synch.
stumbled over this, here: http://forum.doom9.org/showthread.php?p=1467000#post1467000
2. is tsMuxeR still developed? and so is it worth to mail smartLabs or should I better look for an alternative?
(send an email to tsmuxer at smartlabs.tv hoping ... )

Cu Selur

TEB
29th December 2010, 16:59
hei. Not to derail this thread, but we will soon have an opensource TS muxer that will do most if not all and more that TSmuxer does:
http://forum.doom9.org/showthread.php?t=158765

setarip_old
29th December 2010, 19:27
@TEB

Is there a Windows executable version available now?

coolalibaba
31st December 2010, 10:08
hei. Not to derail this thread, but we will soon have an opensource TS muxer that will do most if not all and more that TSmuxer does:
http://forum.doom9.org/showthread.php?t=158765
uhoo, I've been expecting this for a long time as the developing of tsmuxer is actually dead.

Jtacdf
14th January 2011, 16:08
Remuxing my blu-ray to bdmv using tsmuxer gui 1.10.6 causes some issue with chapter seeking. Comparing it with an mkv produced by the same raw files, both timestamps are accurate but the bdmv will produce a incorrect picture. e.g. seeking to 00:09:53.009 on pirates of the caribbean - dead man's chest, mkv will show a correct picture but the bdmv will not show the same. Any way to solve this issue?

setarip_old
15th January 2011, 01:17
@Jtacdf

Hi!

Instead of loading the "movie only" .M2TS file(s) into tsMuxeR, load the applicable .MPLS file. Doing so will automatically load the same chapter settings as those of the original Blu-ray disc...

Jtacdf
15th January 2011, 01:59
Well. I always remux my movies from a mpls. While the chapters timestamps for bdmv and mkv are identical, the picture they seek to are not.

The first link is from a mkv. The picture it seeks to is the same as the blu-ray

http://i197.photobucket.com/albums/aa315/Jtacdf/Untitled.jpg

The second is from a bdmv. The picture it seeks to is different from the blu-ray.

http://i197.photobucket.com/albums/aa315/Jtacdf/Untitled2.jpg

setarip_old
16th January 2011, 05:25
I guess you didn't notice that the TOTAL number of chapters differs between the two varieties (29 versus 28)...

quartex
18th January 2011, 01:16
hi

SmartLabs tsMuxeR. Version 1.10.6 http://www.smlabs.net
Decoding H264 stream (track 1): Profile: High@4.1 Resolution: 1920:1080p Frame
H.264 muxing fps not set. Get fps from stream.
H.264 stream does not contain fps field. Muxing fps=23.976
0.0% complete
Decoding DTS-HD stream (track 2): Bitrate: 1536Kbps core + MLP data.Sample Rate
: 48KHz Channels: 5.1 (DTS Master Audio)
Decoding PGS stream (track 3): Resolution: 1920:1080 Frame rate: 23.976
Decoding PGS stream (track 4): Resolution: 1920:1080 Frame rate: 23.976
Decoding PGS stream (track 5): Resolution: 1920:1080 Frame rate: 23.976
0.1% complete
B-pyramid level 1 detected. Shift DTS to 2 frames
100.0% complete
Processed 145873 video frames
100.0% complete
Creation of Blu-ray playlist
Creation of Blu-ray stream info and seek index
Mux successful complete.
Muxing time: 39 min 8 sec


B-pyramid level 1 detected. Shift DTS to 2 frames
What does this mean? bad frames??

rapscallion
18th January 2011, 02:00
hi


B-pyramid level 1 detected. Shift DTS to 2 frames
What does this mean? bad frames??
No, completely normal.

jdobbs
18th January 2011, 06:03
B-pyramid level 1 detected. Shift DTS to 2 frames
What does this mean? bad frames?? No. DTS is the Decoding Time Stamp. DTS is the point where decoding begins -- as opposed to the Presentation Time Stamp (PTS), which is when the picture is displayed. I believe it is saying that since it sees B Pyramid, it is setting the DTS earlier.

quartex
18th January 2011, 09:43
No. DTS is the Decoding Time Stamp. DTS is the point where decoding begins -- as opposed to the Presentation Time Stamp (PTS), which is when the picture is displayed. I believe it is saying that since it sees B Pyramid, it is setting the DTS earlier.


Sorry, just to be sure. You replied 'no' to rapscallion that said it's completely normal. Did you mean it's not related to bad frames?
Thanks again

jdobbs
18th January 2011, 15:42
Whoops. I should have been quoting you rather than rapscallion. He is, of course, correct. I've editd my post.

curtis_mccauley
19th February 2011, 20:59
I could just be very stupid today, so be gentle if I have totally missed something.

I went looking for tsMuxeR to download, after rebuilding my system. The smartLabs website no longer seems to have a active download link for tsMuxeR. I know that sites like afterdawn.com or videohelp.com show that they have copies, but I do not know how trustworthy they are.

Is there an authoritative site for downloading tsMuxerR, in its various incarnations, i.e., Windows and Linux? If I remember correctly there are two versions for Linux, one with Qt Libs built into the executable. What is the URL?

If there is no longer an authoritative source online, does anyone have MD5 or SHA-1 hashes for these files?

Thanks!

rapscallion
19th February 2011, 21:24
I know that sites like afterdawn.com or videohelp.com show that they have copies, but I do not know how trustworthy they are.
Completely trustworthy !

mariner
21st February 2011, 08:52
http://www.smlabs.net/tsMuxer/tsMuxeR_1.10.6.zip

rapscallion
21st February 2011, 17:13
Link doesn't work, as mentioned by curtis.

Brazil2
21st February 2011, 18:07
http://www.videohelp.com/tools/tsMuxeR

mariner
21st February 2011, 19:06
Thanks for the working link.

Lincoln Burrows
25th February 2011, 02:02
For the record: this is the first time after I used TSMuxer + MKVToolnix that a movie is having audio sync problems.

I tested with the movie "Capricorn One" (1978) and used TSMuxer to select the correspondent .m2ts file from the movie.

There were 3 audio tracks and one subtitle track: Czech (audio/subtitle), English DD 2.0 and 5.1 (only the last two were actually selected).

Then I used MKVMerge to join those files. I even updated my codecs and nothing. Audio sync problems using all kinds of players.

After that I tried with MakeMKV and converted the original m2ts into Matroska again (and this time with chapters, TSMuxer doesn't select them when demuxing the m2ts). No more problems!

I selected that MKV created by MakeMKV and changed the name of audio tracks to something more than 2/0 (English DD 2.0) and it remains the same thing (I thought MKVToolnix was doing something as well).

Any idea what happened?

tebasuna51
25th February 2011, 10:55
You lose the delay in audio tracks.
Try extract the audio tracks with eac3to (from m2ts or mkv created by MakeMKV).

Lincoln Burrows
26th February 2011, 17:22
The point is: this never happened before. Not until now...

And it happened again with another title: They Live (1988), this time with DTS-HD MA 5.1, DD 5.1 and DD 2.0 (audio commentary track)...

The reason I didn't used MakeMKV in the first place was because sometimes extracting things from there made the videos show me macroblocks for less than a second while jumping time (don't know why, and it wasn't some codec or player problem). I thought this was due to chapters embedded in the file, but it can be something MakeMKV is not doing right. So I tried the combination TSMuxer + Mkvmerge.

latet
27th February 2011, 01:23
Hello,

I've trying to join 20-30 .mts files (not edited camera dumps) into one big .m2ts file using TSMuxer 1.10.6.

There is a problem with the a/v sync in the output .m2ts file. The longer the file, the worse sync can be noticed (it's ok at the beginning and the worst near the end).

This is the info of one of the files being joined:


General
ID : 0 (0x0)
Complete name : F:\00041.MTS
Format : BDAV
Format/Info : Blu-ray Video
File size : 163 MiB
Duration : 1mn 20s
Overall bit rate : 17.1 Mbps
Maximum Overall bit rate : 18.0 Mbps

Video
ID : 4113 (0x1011)
Menu ID : 1 (0x1)
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.0
Format settings, CABAC : Yes
Format settings, ReFrames : 2 frames
Format settings, GOP : M=1, N=26
Codec ID : 27
Duration : 1mn 19s
Bit rate mode : Variable
Bit rate : 16.2 Mbps
Maximum bit rate : 16.0 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 25.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Top Field First
Bits/(Pixel*Frame) : 0.312
Stream size : 154 MiB (94%)

Audio
ID : 4352 (0x1100)
Menu ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Codec ID : 129
Duration : 1mn 20s
Bit rate mode : Constant
Bit rate : 256 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Delay relative to video : -80ms
Stream size : 2.44 MiB (1%)

Text
ID : 4608 (0x1200)
Menu ID : 1 (0x1)
Format : PGS
Codec ID : 144
Duration : 1mn 19s
Delay relative to video : -80ms


And this is the log of the output m2ts file:


General
ID : 1 (0x1)
Complete name : F:\00000.m2ts
Format : BDAV
Format/Info : Blu-ray Video
File size : 2.29 GiB
Duration : 19mn 24s
Overall bit rate : 16.9 Mbps
Maximum Overall bit rate : 35.5 Mbps

Video
ID : 4113 (0x1011)
Menu ID : 1 (0x1)
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.0
Format settings, CABAC : Yes
Format settings, ReFrames : 2 frames
Format settings, GOP : M=1, N=26
Codec ID : 27
Duration : 19mn 24s
Bit rate mode : Variable
Bit rate : 15.9 Mbps
Maximum bit rate : 16.0 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 25.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Top Field First
Bits/(Pixel*Frame) : 0.307
Stream size : 2.16 GiB (94%)

Audio
ID : 4352 (0x1100)
Menu ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Codec ID : 129
Duration : 19mn 24s
Bit rate mode : Constant
Bit rate : 256 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 35.5 MiB (2%)


Yes, I did notice Delay relative to video : -80ms in the source files, but setting the delay option in TSMuxeR did not help at all.

Thanks,

latet

thomascat
13th April 2011, 13:36
Hi,

I used to use TsMuxeR for everything, and it always went without a hitch. But ever since re-installing openSUSE 11.3, I get the following error on many files:

tsMuxeR: ../vodTransport/src/matroskaParser.cpp:134: virtual void vodcore::ParsedH264TrackData::extractData(vodcore::AVPacket*, uint8_t*, int): Assertion `curPos == end' failed.

Can't detect stream type.

Any idea what is causing this? I've tried installing any libraries I can think of, but it's not something I've ever had a problem with in the past. mkvmerge can tell me all the info about the files no problem, so I don't understand what tsMuxeR is complaining about.

Thanks for the help. :) Also of note: I run a 64-bit system, but I have, what I believe to be, the proper 32-bit libraries installed.

I had this same problem and found this solution (for mkvmerge, not sure how to fix this with tsMuxer):

Go to File -> Options -> Disable header removal compression for audio and video tracks by default

Caleb37
23rd April 2011, 02:49
I know this thread is almost extinct, but hopefully someone may have a solution to this problem. I had it in the past but can't remember how it was resolved. When I click on the Start muxing button, I get a pop up window that states: Can't create temporary meta file "C:\Documents_and_Settings\User_Name\Local_Settings\Temp\tsMuxeR_.meta"

Anyone, any thoughts or ideas on how I can fix this. It's the first time I'm running this program on my OS. WinXP SP3 TSMuxer latest 1.10.6

Just so you know I went through all 204 pages before posting this question. I've also posted it on other sites, but no luck with this one.

Caleb37:thanks:

kerman
15th May 2011, 01:52
Hello,

I've trying to join 20-30 .mts files (not edited camera dumps) into one big .m2ts file using TSMuxer 1.10.6.

There is a problem with the a/v sync in the output .m2ts file. The longer the file, the worse sync can be noticed (it's ok at the beginning and the worst near the end).

This is the info of one of the files being joined:


General
ID : 0 (0x0)
Complete name : F:\00041.MTS
Format : BDAV
Format/Info : Blu-ray Video
File size : 163 MiB
Duration : 1mn 20s
Overall bit rate : 17.1 Mbps
Maximum Overall bit rate : 18.0 Mbps

Video
ID : 4113 (0x1011)
Menu ID : 1 (0x1)
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.0
Format settings, CABAC : Yes
Format settings, ReFrames : 2 frames
Format settings, GOP : M=1, N=26
Codec ID : 27
Duration : 1mn 19s
Bit rate mode : Variable
Bit rate : 16.2 Mbps
Maximum bit rate : 16.0 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 25.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Top Field First
Bits/(Pixel*Frame) : 0.312
Stream size : 154 MiB (94%)

Audio
ID : 4352 (0x1100)
Menu ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Codec ID : 129
Duration : 1mn 20s
Bit rate mode : Constant
Bit rate : 256 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Delay relative to video : -80ms
Stream size : 2.44 MiB (1%)

Text
ID : 4608 (0x1200)
Menu ID : 1 (0x1)
Format : PGS
Codec ID : 144
Duration : 1mn 19s
Delay relative to video : -80ms


And this is the log of the output m2ts file:


General
ID : 1 (0x1)
Complete name : F:\00000.m2ts
Format : BDAV
Format/Info : Blu-ray Video
File size : 2.29 GiB
Duration : 19mn 24s
Overall bit rate : 16.9 Mbps
Maximum Overall bit rate : 35.5 Mbps

Video
ID : 4113 (0x1011)
Menu ID : 1 (0x1)
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.0
Format settings, CABAC : Yes
Format settings, ReFrames : 2 frames
Format settings, GOP : M=1, N=26
Codec ID : 27
Duration : 19mn 24s
Bit rate mode : Variable
Bit rate : 15.9 Mbps
Maximum bit rate : 16.0 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 25.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Top Field First
Bits/(Pixel*Frame) : 0.307
Stream size : 2.16 GiB (94%)

Audio
ID : 4352 (0x1100)
Menu ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Codec ID : 129
Duration : 19mn 24s
Bit rate mode : Constant
Bit rate : 256 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 35.5 MiB (2%)


Yes, I did notice Delay relative to video : -80ms in the source files, but setting the delay option in TSMuxeR did not help at all.

Same problem here. Anyone?

xpro
1st June 2011, 21:08
Same problem here. Anyone?

I've also struggled with this a couple of years! ;)

I found a solution: Demux with eac3to and then mux with tsMuxeR.

I have one problem left to solve, the text (PGS) ain't properly demuxed/remuxed so I loose the text from the original MTS files (the text is the date/time stamp of the movie produced in my Sony HDR-CX305 AVCHD cam).

Regards, Tobias

Lincoln Burrows
21st June 2011, 18:18
I have tried to convert the movie "No Country For Old Men" selecting the main m2ts from BDMV/STREAM folder and TSMuxer wasn't able to demux the LPCM English stream. It only created two parts from the same track, both in WAV format and with 4 GB for the first, and 1,89 GB the second. I was planning on creating a single matroska using MKVTOOLNIX with those files.

What happened? TSMuxer can't recognize properly LPCM streams?

http://i.imgur.com/igOTw.png

Note: I am using NTFS for all Hard Drives.

I will try using MAKEMKV now...

rapscallion
21st June 2011, 18:47
It's a Tsmuxer limitaion of 4gb size wavs, from LPCM tracks.

Use eac3to to demux to full size wavs.

rapscallion
13th July 2011, 21:03
Here's first for me.

I'm muxing an *.264 and DTS-MA track to Blu-ray. The
progress bar stops at 93% but says "completed"

The resulting m2ts stream is smaller than than the combo of the 2 input files.
Anyone know what's going on here, as I've never seen this before and I mux a lot of bd's?

setarip_old
13th July 2011, 21:25
@rapscallion

Hi!

Sounds like you may have inadvertently set something under the "Split & Cut" tab...

rapscallion
13th July 2011, 21:38
@rapscallion

Hi!

Sounds like you may have inadvertently set something under the "Split & Cut tab...
Hi setarip, hope your summer's going well !!

No, that's the first thing that I checked. I also rebooted, just in case. (20.1 gb m2ts/2.6gb dtsma)

Then, I tried the original demuxed *.m2ts @ ~28gb and the demuxed *.dtsma @2.6gb and interestingly, exactly the same result....bar stopped at 93% , "tsmuxer successfully finished" and stream smaller than the inputs.

This is the retail BD of Romancing the Stone.

laserfan
13th July 2011, 22:20
Do you have a .sup in the mix/mux there somewhere? Try it without, just in case it is corrupt.

rapscallion
13th July 2011, 22:26
Nope, just the video and audio tracks.

I reencoded with Megui and demuxed the audio via eac3to, but I don't think they're the problem.
I've never had a mux end at less than 100%, unless I was doing a cut/split.

setarip_old
14th July 2011, 04:30
"tsmuxer successfully finished" and stream smaller than the inputs. And if you load the re-muxed file into tsMuxer, is the audiostream still identified as "DTSMA"?

rapscallion
14th July 2011, 16:43
And if you load the re-muxed file into tsMuxer, is the audiostream still identified as "DTSMA"?
Yes it is, and by Mediainfo. BTW, this is not a big deal because it appears to be a one time thing, so I'm not going to persue it any more. If there had been a simple solution, because someone had seen it before, that would have been great.

Thanks to the 3 of you for the reponses !

rapscallion
15th July 2011, 22:41
Update: I played the movie, and chapter jumped, in TMT, and discovered that the audio disappeared, 38 min into the movie.

It still indicated that DTS-HD was playing, but no sound whatsoever. Apparently eac3to was the culprit and didn't extract the track properly, but with no errors in the log.

The files size was the same when I extracted it again and it played just fine. Just wanted to let you all know that tsmuxer did it's job properly.

laserfan
16th July 2011, 01:26
Update: I played the movie, and chapter jumped, in TMT, and discovered that the audio disappeared, 38 min into the movie.... Just wanted to let you all know that tsmuxer did it's job properly.
Oh but I disagree! You said earlier that "tsmuxer successfully finished" and obviously it did not.

Yours was a bad audiotrack I guess, while my suggestion was because I've seen problems with corrupt subtitles. And in my case too tsmuxer had not complained about anything--I was left to puzzle-out the solution thru trial-and-error and eventually a hunch.

Not good, but I don't like to look a gift horse (freeware) in the mouth either!

rapscallion
16th July 2011, 02:56
Yes, successfully finished, but at 93%, so it processed the audio track as it stood, no?

quartex
18th July 2011, 13:11
I often use cutting function with tsmuxer (--cut-start and --cut-end) to fit main movie on BD-25
I noticed that with some movies --cut-end does not work like expected. I mean, if I set for example --cut-end=60s, it will cut a lot more than 60s.
When this happen, if I exclude subs then tsmuxer cut like expected.
Still with some movies excluding subs does not work like workaround
any hints why this happen?

Selur
18th July 2011, 13:14
any hints why this happen?
-> position of idr-/key- frames

quartex
18th July 2011, 13:29
-> position of idr-/key- frames

is there a way to fix it?

Selur
18th July 2011, 13:34
It's not a bug, but a format limitation. So what you need is a tools that splits at the positions you want by reencoding the GOP at the split position. :)

quartex
18th July 2011, 13:37
It's not a bug, but a format limitation. So what you need is a tools that splits at the positions you want by reencoding the GOP at the split position. :)

sound a bit complicated.. or not?

Selur
18th July 2011, 13:41
Don't know a freeware tool for the job, but Smart Cutter (http://www.fame-ring.com/products.html) might be one of the tools able to do this.

quartex
18th July 2011, 13:46
Don't know a freeware tool for the job, but Smart Cutter (http://www.fame-ring.com/products.html) might be one of the tools able to do this.


thanks. changing the subject me and other people are experiencing a very strange issue with Sunshine BD. Maybe you have any idea.
It's a problem with pioneer player.

http://forum.slysoft.com/showthread.php?t=28352

in short:
using the Clown gui and related programs I can create a bd back up of Sunshine with a DTS audio track and it plays fine on PS3 and Samsung. However, putting the same disk in my Pioneer player and I get a juddery non stable picture.
(I see flashes in the video, pixels and it's jerky). audio is fine, subs are fine.
Look a weird issue, I suspect is something related to remuxing?

laserfan
18th July 2011, 13:50
If you're re-encoding with x264 then you can assert I-frames at your favored cut-points using -qpfile. If you're not re-encoding, then you can use a tool like DGIndex to find the IDR frames so you know exactly where to place your --cut-start and --cut-end points.

Selur
20th July 2011, 07:54
@laserfan: does using a --cut-start and --cut-end point for for you? I just ran into a problem yesterday, that when adding --cut-start to the .meta file (I use tsmuxer through the command line to extract audio) the audio extracted was always 0Byte. :(
(leaving out the --cut-start and only use --cut-end everything worked fine,..)
-> did some further testing problem seems to be an audio only problem

Cu Selur

zoog
21st July 2011, 13:28
I hope somebody can help with a (simple) question about tsMuxeR. I've googled and browsed a few forums without any luck.

I want to mux multiple .mkv files, put them in a big 'waiting line', and simply output every file as a .ts file (instead of combining them). tsMuxeR always outputs all the input files into a single file. I know you can split based on time etc. but I just need to split based on different input filename. This way I can easily let the PC mux complete video seasons, without any user input.

I've been searching like mad but I just can't find a way to do that. Maybe I'm really missing something :confused:

laserfan
21st July 2011, 14:23
@laserfan: does using a --cut-start and --cut-end point for for you? I just ran into a problem yesterday, that when adding --cut-start to the .meta file (I use tsmuxer through the command line to extract audio) the audio extracted was always 0Byte.
Sorry I don't follow you--you're using it to extract? I've never done that--I always use eac3to for demuxing and then sometimes use cut-start and end for trimming front and/or back when muxing to BDMV.

jdobbs
21st July 2011, 14:50
I hope somebody can help with a (simple) question about tsMuxeR. I've googled and browsed a few forums without any luck.

I want to mux multiple .mkv files, put them in a big 'waiting line', and simply output every file as a .ts file (instead of combining them). tsMuxeR always outputs all the input files into a single file. I know you can split based on time etc. but I just need to split based on different input filename. This way I can easily let the PC mux complete video seasons, without any user input.

I've been searching like mad but I just can't find a way to do that. Maybe I'm really missing something :confused: Create .meta files and then run multiple jobs from a batch file (without the GUI).

anuswara
17th August 2011, 17:12
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 ;)

jdobbs
17th August 2011, 17:50
You can just look at the PTS for the first audio packet. Then subtract it from the PTS of the video to get delay. It takes a little skill, though.

Doesn't TSMUXER already do this?

laserfan
17th August 2011, 18:07
You can just look at the PTS... It takes a little skill, though.
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:

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?

BassPig
23rd January 2012, 07:54
I found another problem with the BD I made this evening using tsMuxer, this time to fuse a Dolby Surround file with the associated video stream (that Encore demoted to stereo, hence why I'm using tsMuxer to replace the defective audio): although the discs play ok if you simply put them in the player and watch from start to end, any attempt to navigate via chapter advance, or fast forward, results in playback freezing for about a minute, before resuming playback. The disc images I made in Encore that I did NOT touch with tsMuxer, fast forward and chapter advance like a normal commercial BD, with barely any lag. Uh-oh. Houston, I think we have a problem here...

Edit:
Apparently it's just the 640kbps Dolby surround track that causes this. Fusion with the 512kbps Dolby surround track is okay. I guess not a problem with the muxing, but a problem with Blu-ray player being able to handle 640kbps ac3 file.

craftech
27th January 2012, 19:27
I am trying to mux to .m2ts an .m2v file edited in Sony Vegas with an .ac3 file edited in Vegas. TsMuxer handles it just fine if I leave it at VBR default settings.

However, the original renders were 1920 x 1080 / 60i m2v at a CBR of 21,000 kbps. I want to keep it that way.

But when I change the VRR in TsMuxer to a CBR of 21,000 kbps and try to mux, it gives continuous VBV Buffer Overflow errors until finally terminating the mux indicating too many overflow errors. Tried to mux to .ts and same thing occurs.

I have tried more than 10 different settings for VBV buffer size and all cause the same problem.

Anyone have a solution?

I am using tsMuxer version 1.10.6

Someone posted the same problem on VideoHelp under the download for TsMuxer

I get buffer overflow errors when trying to mux cbr--Ive changed the bit rate and changed the vbv buffer size and still getting the error--But for vbr muxing, this program rocks!

No one had an answer.

http://www.videohelp.com/tools/tsMuxeR

Thanks,

John

Capsbackup
28th January 2012, 00:34
I am trying to mux to .m2ts an .m2v file edited in Sony Vegas with an .ac3 file edited in Vegas. TsMuxer handles it just fine if I leave it at VBR default settings.


If you are using tsMuxeR to mux a file that has been edited with any program, why does it matter what the setting is? :confused: Whatever the files properties were encoded at are what they are! tsMuxeR is only muxing them. ;)
Header information will not necessarily change a files compliance.

craftech
28th January 2012, 05:10
If you are using tsMuxeR to mux a file that has been edited with any program, why does it matter what the setting is? :confused: Whatever the files properties were encoded at are what they are! tsMuxeR is only muxing them. ;)
Header information will not necessarily change a files compliance.

I tried that and when I tested the file it was indeed VBR and not CBR as was the m2v that I muxed with the ac3. TsMuxer indeed muxed the m2ts as a VBR. When I brought the file into DVD Architect to author it, DVDA wanted to recompress the m2ts file because it didn't meet the project properties parameters I specified which were CBR.

And why the buffer overflow to the point of termination if I choose CBR in TsMuxer if those settings don't mean anything?

John

Ghitulescu
31st January 2012, 11:49
What happens when the chapters list (say every 5 minutes) doesn't fit with the actual position of I-frames? Will it go to the next one, to the nearest one, or ignore it?

laserfan
31st January 2012, 14:27
IME most players will find and display the nearest PREVIOUS I-frame.

rapscallion
15th April 2012, 20:22
Wow, kind of quiet here the last few months.

Tsmuxer always works fine for me except for a strange mux today. Blu-ray mux with a h264 @ 19.8 gb + DTS-HD @ 2.9gb
Tsmuxer states completed successfully however at 87%, not 100%. The resulting mux is only 20.8gb when it should be closer to 23gb.

The movie plays completely but I'm wondering why the lower % and smaller file size ??

jdobbs
16th April 2012, 02:03
What happens when the chapters list (say every 5 minutes) doesn't fit with the actual position of I-frames? Will it go to the next one, to the nearest one, or ignore it? I think it depends on the player -- but it will have to go to an I-Frame (either before or after). The thing you have to watch carefullly is when you use large GOPs, because sometimes the nearest I-Frame might be as much as 10 seconds away.

Ulf
19th April 2012, 13:03
When executing tsMuxer in cmd line mode, is there any way to capture what tsMuxer writes to stdout?

Command line:

tsMuxeR.exe "C:\out\MUXOPT.meta" "C:\out"


Info written to stdout:

SmartLabs tsMuxeR. Version 1.10.6 http://www.smlabs.net
Decoding H264 stream (track 1): Profile: High@4.2 Resolution: 1920:1080p Frame rate: 50
H.264 stream does not contain fps field. Muxing fps=50
0.3% complete
Decoding AC3 stream (track 2): Bitrate: 256Kbps Sample Rate: 48KHz Channels: 2
Processed 720 video frames
100.0% complete
Demux complete.
Demuxing time: 0 sec


I want to write this information to a file.

I have tried the following:

tsMuxeR.exe "C:\out\MUXOPT.meta" "C:\out" > "C:\out\info.txt"


but redirection doesn't work (and neither does demuxing in this case).

Midzuki
19th April 2012, 16:36
When executing tsMuxer in cmd line mode, is there any way to capture what tsMuxer writes to stdout?

We still are allowed to select and copy the text that is written on the CLI window...

but redirection doesn't work (and neither does demuxing in this case).

Probably that's a limitation which comes from the source-code itself :(

setarip_old
19th April 2012, 18:47
@rapscallion

Hi! Blu-ray mux with a h264 @ 19.8 gb + DTS-HD @ 2.9gb
Tsmuxer states completed successfully however at 87%, not 100%. The resulting mux is only 20.8gb when it should be closer to 23gb.

The movie plays completely but I'm wondering why the lower % and smaller file size ?? Is it possible that you selected to use only the core of the DTS audio?

Ulf
19th April 2012, 21:40
We still are allowed to select and copy the text that is written on the CLI window...


That's quite obvious. Exactly what I have done. The question how to capture the information to a file. I'm trying to automate a process where I need info on the number of video frames processed.

tebasuna51
20th April 2012, 11:16
I have tried the following:

tsMuxeR.exe "C:\out\MUXOPT.meta" "C:\out" > "C:\out\info.txt"

but redirection doesn't work (and neither does demuxing in this case).
Works for me, demux and info.txt (XP SP3)

idbirch2
23rd April 2012, 15:35
If you're writing a script and trying to capture TSMuxer output, you could also attach to the STDOUT stream of cmd.exe to read the current output. I wrote an AutoIt script a while ago to remux MKV into TS which does just that which may serve as a good example: http://pastebin.com/EM6Y3q54. Lines 424 - 443 show the method of launching a TSMuxer command and monitoring the output.

quartex
25th April 2012, 16:49
scenario: output BD using original usa video and foreign audio tracks and subs.
I noticed that sometimes subtitles don't work wells. In some points they didn't show and after some seconds I see them at super fast speed.
Usually using eac3to to demux sup and then remux using tsmuxer fix this issue. But recently I experienced this problem adding subtitles demuxed with eac3to too.
Anyone know why this happens? thanks

laz305
26th April 2012, 02:44
I had tsmuxer installed with mkv2vob and it was crashing when trying to use multiAVCHD. Will this one solve that problem for me?

EDIT: nm I was not ripping my BD first lol

Ulf
1st May 2012, 13:50
Works for me, demux and info.txt (XP SP3)

You are quite right. I was using "%~dp1" in a script for the output folder. That translates to:


tsMuxeR.exe "C:\out\MUXOPT.meta" "C:\out\" > "C:\out\info.txt"


which doesn't work.

rapscallion
7th May 2012, 22:17
@rapscallion

Hi! Is it possible that you selected to use only the core of the DTS audio?
Hey setarip, I never got a mail re your resonse, so I'm seeing your post for the first time today. No, I didn't do just the core, but if I had, tsmuxer should complete at 100%, not 87%.

The frame count was a match to Megui's log @ 157,725 frames and I've muxed this probably 5 times already with the exact same result. So very puzzled.

I don't see anything in megui's log that would indicate a cause either (video only).

Edit: just out of curiousity, I muxed, to Blu-ray, just the video and it completed @ 100% and the same file size as the video and audio mux. So, it appears that there's something funky with the DTS-HD track that I extracted via eac3to. I'll try demuxing the audio via tsmuxer and see what happens.

Edit_1: Yes, that was it. demuxed the audio via Tsmuxer and then muxed with the video and all was 100%. Weird.

Ghitulescu
9th May 2012, 08:30
I am stuck again on the same problem.

I had several episodes I want to put on a single BD instead of several DVDs. It appears that no matter what I do, I either go into one problem or in another.

This case is in theory simple. All streams have a 0ms delay. Yet after muxing to M2TS the delay is set to -80ms and indeed one can sense it on HW players but also on PC.

http://desmond.imageshack.us/Himg440/scaled.php?server=440&filename=tsmuxer1.png&res=landing
Muxing with 0ms delay. Apparently everything went ok, because ....

http://desmond.imageshack.us/Himg819/scaled.php?server=819&filename=tsmuxer2.png&res=landing
Reloading again the muxed file in tsmuxergui, it falsely indicate a 0ms delay, because one can sense it during play, and of course
http://desmond.imageshack.us/Himg17/scaled.php?server=17&filename=mediainfo1.png&res=landing
the exact value is mentioned by MediaInfo.


Now this is not all. As I mentioned here (http://forum.doom9.org/showthread.php?p=1573323#post1573323), it appears that in case where the delay is not 0ms but eg a positive value, the muxing procedure subtracts 80ms (or adds said -80ms, as above) from the real delay (sort of 460ms -> 380ms) and the audio is wrongly placed.

Ghitulescu
9th May 2012, 13:25
Why does tsmuxer (used with tsmuxergui) insists in rescaling my subtitles?

Is there any hidden setting I am not aware of?

Reverting to an older version, 1.9.9, appears to cure this symptom, both in "as primary video" and in "720x576" modi.

I am not expecting that the developers will somehow remember this software (tomorrow it be be 5 years since its last update :)), but at least I hope for an explanation or a good manufacturing practice.

SeeMoreDigital
9th May 2012, 16:34
Reverting to an older version, 1.9.9, appears to cure this symptom, both in "as primary video" and in "720x576" modi.

I am not expecting that the developers will somehow remember this software (tomorrow it be be 5 years since its last update :)), but at least I hope for an explanation or a good manufacturing practice.Actually, version 1.10.6 was released on Monday 11 May 2009 ;)

sreemv
2nd June 2012, 06:46
Any idea why tsmuxer crashes on various/several mkvs with no header stripping - on windows 7 64bit - even the cli version gives the same crash message "tsmuxer.exe stopped working"

http://73.imagebam.com/download/m5ocyWqeFfHJ18FNZcfcqQ/19355/193547494/tsmuxer-crash.JPG

Here is the mediainfo on the .x264 freshly enccoded via vdub:

http://64.imagebam.com/download/skKptIfuhsmEcaeLzvcRFw/19355/193549162/mediainfo-x264.JPG

Any help is appreciated!

tebasuna51
2nd June 2012, 11:53
¿mkvs?
Seems a AVI 36.7 GB with h264 video.

Try remux before to mkv wiht MkvMerge.

And Level 5.0 can be also other problem, use Level 4.1

sreemv
2nd June 2012, 19:45
Yes, figured it out by experimenting - exactly what you suggested - used mkvmerge to write mkv then in tsmuxer changed the level to 4.1 and all went well! Thanks!

rapscallion
13th July 2012, 21:35
Yes, figured it out by experimenting - exactly what you suggested - used mkvmerge to write mkv then in tsmuxer changed the level to 4.1 and all went well! Thanks!
You do realize that it doesn't actually change the level to 4.1, but tells the player that's what the level is ?
Which is not a problem.

rapscallion
13th July 2012, 21:42
As you all probably know, versions since 1.8.4b can't display subs in any color, other than white, without a greenish cast/tint.

You can, however, use v 1.8.4b (available here: Click (http://www.videohelp.com/tools/tsMuxeR/old-versions)) and substitute the executable from v 1.10.6 (tsmuxer.exe). This way all the updates in 1.10.6 are working with the older simplified gui.

ramicio
26th July 2012, 13:53
Is there ANY program out there that doesn't remove overlaps? I thought I could get around it by not using eac3to, but now I see that tsmuxer is doing the same thing, which is royally SCREWING UP the audio. I don't believe overlap is a problem, and most of the time when these programs "fix" this overlap, it ends up messing up the audio. The studios obviously know what they are doing, and I doubt the set-top box players just skip audio samples, so why should these programs act any differently?

jdobbs
26th July 2012, 14:59
Is there ANY program out there that doesn't remove overlaps? I thought I could get around it by not using eac3to, but now I see that tsmuxer is doing the same thing, which is royally SCREWING UP the audio. I don't believe overlap is a problem, and most of the time when these programs "fix" this overlap, it ends up messing up the audio. The studios obviously know what they are doing, and I doubt the set-top box players just skip audio samples, so why should these programs act any differently?

??? As I understand it an "overlap" indicates redundant/repetitive audio packets that exist in two different streams (that are being combined). So I guess I don't understand how removing it is "royally SCREWING UP the audio"... I can tell you assuredly that failing to remove it can do so.

Please explain how the audio is being negatively affected.

ramicio
26th July 2012, 15:02
To me, it seems like an overlap is when the audio is longer than how these programs calculate the video duration. When this happens I can hear parts of a song skip forward as if a fraction of a second is missing from it. There are a bunch of titles I've copied to my hard drive that get screwed up from this overlap removal because it will do it before it decodes the audio, so it can screw up things like .dtshd which eac3to itself is not one bit aware of, and needs a 3rd party codec to decode. If you are simply ripping a .dtshd track, it's not going to even bother looking at the audio data, it just does a demux, so it is NOT aware of redundant audio data. It introduces corruption of the audio. I can't be any more descriptive than that.

jdobbs
26th July 2012, 16:16
I think you have a misunderstanding of what "overlap" is... if it isn't redundant, it isn't overlap. I can tell you that the most likely way eac3to or tsmuxer decides when something is overlapped is when you have two packets falling within with the same presentation time stamp (PTS) range... indicating it is a repeat. A program doesn't have to decode the audio in order to look at the packet or frame headers.

iSeries
26th July 2012, 16:19
To me, it seems like an overlap is when the audio is longer than how these programs calculate the video duration. When this happens I can hear parts of a song skip forward as if a fraction of a second is missing from it. There are a bunch of titles I've copied to my hard drive that get screwed up from this overlap removal because it will do it before it decodes the audio, so it can screw up things like .dtshd which eac3to itself is not one bit aware of, and needs a 3rd party codec to decode. If you are simply ripping a .dtshd track, it's not going to even bother looking at the audio data, it just does a demux, so it is NOT aware of redundant audio data. It introduces corruption of the audio. I can't be any more descriptive than that.

If eac3to sees audio overlaps when decoding it runs a second pass on the audio track to remove them after calculating where the overlaps occur. It doesn't remove the overlaps before decoding the audio.

ramicio
26th July 2012, 16:22
Except that the data, in reality, is not redundant. If I decode each m2ts's audio to individual mono WAVs, join those WAVs on end, I get zero corruption. If I let whatever program do its thing of joining stuff at the m2ts level where it does this asinine overlap correction, things get screwed up. In this example the non-corrupt hand-made file is 14,335 samples longer. Later I shall test if it has sync issues. If any of these programs at least gave how many samples it's chopping off, and of which part, it would be easy to do this by hand, but they only report in ms, and you don't know if it's chopping the end of one file or the beginning of the other.

ramicio
26th July 2012, 16:22
If eac3to sees audio overlaps when decoding it runs a second pass on the audio track to remove them after calculating where the overlaps occur. It doesn't remove the overlaps before decoding it.

It does it on tracks it's not even decoding, but simply demuxing.

Jar4ek
18th December 2012, 17:26
Hi can you update the link. Because the link is not working.

rapscallion
18th December 2012, 18:55
Wow, 1 post in 2 1/2 years. What link is it that you want?

If it's for the latest ver of Tsmuxer : http://www.digital-digest.com/software/download.php?sid=1666&ssid=0&did=1

mariner
16th February 2013, 09:38
Greetings.

1. Having problem muxing 6-channel 640kbps ac3 audio track with a tineshift greater than 4935ms. Muxing goes smoothly, but TsmuxeR can't pick up the audio track when reading the new m2ts file, and mediainfo reports completely wrong info.

Have not tested the BD in a set top player, but the m2ts clip seems to play fine on a PC.

Is this a known issue?

2. Can someone kindly explain the use of connection_condition as mentioned in the readme.txt? I don't see it in the meta file when remuxing a seamless branching BD.

http://forum.doom9.org/showthread.php?p=1209880#post1209880

Many thanks and best regards.

Ghitulescu
19th February 2013, 13:07
Log excerpt:SmartLabs tsMuxeR. Version 1.10.6 http://www.smlabs.net
MPEG-2 stream does not contain fps field. Muxing fps=25
Decoding MPEG2 stream (track 4): Profile: Main@8. Resolution: 720:576i. Frame rate: 25
Decoding PGS stream (track 5): Resolution: 720:576 Frame rate: 25
Change PGS resolution from 720:576 to 720:480. Scaling method: Bilinear interpolation
Decoding AC3 stream (track 1): Bitrate: 192Kbps Sample Rate: 48KHz Channels: 2
Why on hell is tsMuxer rescaling to NTSC (720:480) on its own volition when nothing in-there requests this?
I had this issue also with other parameters - how can one change these "default" settings?
And also why it changes the fps by demuxing?
Decoding PGS stream (track 1): Resolution: 720:480 Frame rate: 25
Change FPS from 25 to 23.976 for PGS stream #1

mariner
19th February 2013, 16:20
Seems a tsMuxeR problem not related with Delaycut or eac3to.

But you can use Delaycut or eac3to to avoid the problem.
When you add a delay here to a ac3 track, silent phisycal frames are added to the ac3 and you don't need add timeshift in audio/video containers.

If you need a delay >4935ms for a ac3 track in m2ts container, first use:

eac3to track.ac3 new_track.ac3 +4960ms

and you can now add the new_track to tsMuxeR without timeshift.

Thanks for the kind reply, tebasuna51.

I've remuxed those with timeshift >4935ms. Should I do the same for the rest?

Is tsMuxeR's timeshift parameter robust?

Nico8583
27th February 2013, 21:03
Hi :)
I have questions about TsMuxer. I think is used by BD-RB to reauthor Blu ray ?
I would like to create a Blu ray structure with 1 M2TS file (or 264 or other), 1 (or 2) audio file (AC3, DTS...) and 1 (or 2) subtitle file.
- What type of files are necessary to create a Blu ray structure ? M2TS, AC3, DTS, DTSHD, SUP, SRT... ?
- How can I make to start default 1 track ? For example, I have 2 subtitles tracks and I would like to start track 2 with the movie
Thanks !

setarip_old
9th March 2013, 23:07
@Nico8583

Hi!

tsMuxeR will accept many different formats for input. From the examples you listed, AT LEAST all of the following can be used to "ADD" via tsMuxeR to create a Blu-ray structure:"ADD" M2TS, "ADD" AC3 (or DTS) and "ADD" one or more .SUPs.

jdobbs
9th March 2013, 23:39
Hi :)
I have questions about TsMuxer. I think is used by BD-RB to reauthor Blu ray ?
I would like to create a Blu ray structure with 1 M2TS file (or 264 or other), 1 (or 2) audio file (AC3, DTS...) and 1 (or 2) subtitle file.
- What type of files are necessary to create a Blu ray structure ? M2TS, AC3, DTS, DTSHD, SUP, SRT... ?
- How can I make to start default 1 track ? For example, I have 2 subtitles tracks and I would like to start track 2 with the movie
Thanks ! You can't turn a sub on by default in TSMUXER. You'd have to edit the output with BDEDIT and add commands that turn the subtitle on in MovieObject.bdmv. It's probably best to do it in FirstPlay just before the jump to the title.

The MovieObject.bdmv output from TSMuxer can be a little confusing -- there are commands that do nothing... I think they just copied the binary image from some other disc and edited it to make it work. But it's not bad if you go in knowing that it's that way.

If you have it in an M2TS, MKV, or MP4 file, why wouldn't you just do this with BD Rebuilder? It does all the work for you -- and makes sure it is compliant.

titof
10th April 2013, 13:20
Hi,
Thanks for TSmuxer I used for a long time.
I've a question : do you plan to mux H265 into TS ?
It seems to be a major evolution

regards

SeeMoreDigital
10th April 2013, 14:27
Hi,
Thanks for TSmuxer I used for a long time.
I've a question : do you plan to mux H265 into TS ?
It seems to be a major evolution

regardsSadly the TSmuxer developer (http://forum.doom9.org/member.php?u=143149) has not been active on this forum since 11th May 2009 @ 23:34....

ccsoon
9th May 2013, 00:47
Hello,

I have something strange going on..
I just want to change the audio and the subtitles off the m2ts file. So i changed it..
I put it back in the correct folder, recode de playlist, clipinf, so that the Blu-ray player knows what kind audio or subtitle it is.

But now when i'm trying to press " play movie " just nothing happens.. i press "info" on the remote to see what it play's.. it said 51sec.. and the movie is approx. 1h30

And the strange thing is that i did exactly the same thing with another movie and that works just fine..
I tried many many time's, i add someting a removed something and nothing helps.. i don't know what to do..
The menu is adjust the playlist is adjust, the commands are changed.

But one thing, when i do nothing with the movie, add or remove something with TSmuxer it still works, because i want remove something from the playlist.. and that work but when i'm adding or remove something it crashed..

Aaargh... xD

LigH
5th June 2013, 08:51
There is an issue just reported by Selur in the german doom9/Gleitz board (http://forum.gleitz.info/showthread.php?46405-Untertitel-aus-Bluray-extrahieren-nicht-immer-so-einfach):

Extracting streams (specifically subtitles) from Blu-ray playlists with a lot of smaller file segments (in the mentioned case, 45 M2TS pieces) may exceed the maximum of 270 characters per canonical file name supported by Windows, due to the concatenating file naming convention: %05d[+%05d[...]].track_%d.sup

Will roman76r get this report here, or is there a better location to report this problem? ... Hmm, last activity: 2009. Probably not here.

jdobbs
5th June 2013, 13:17
There is an issue just reported by Selur in the german doom9/Gleitz board (http://forum.gleitz.info/showthread.php?46405-Untertitel-aus-Bluray-extrahieren-nicht-immer-so-einfach):

Extracting streams (specifically subtitles) from Blu-ray playlists with a lot of smaller file segments (in the mentioned case, 45 M2TS pieces) may exceed the maximum of 270 characters per canonical file name supported by Windows, due to the concatenating file naming convention: %05d[+%05d[...]].track_%d.sup

Will roman76r get this report here, or is there a better location to report this problem? ... Hmm, last activity: 2009. Probably not here.That issue has been around for a long time. When that happens, you have to get around it by remuxing first to a single M2TS and then extracting from that. "Toy Story 3" is an example of that problem.

maxmercy
10th July 2013, 18:54
I recently tried to mux a BD with TSMuxer which used .h264 video and .w64 6.1 channel audio. TSMuxer muxed in 7.0 audio (no LFE channel). Has anyone else had this problem?

JSS

benjyv
22nd April 2014, 11:53
I know how to extract chapter.txt from a BD or more precisely from a MPLS file.
But from a .ts file? how can I extract chapters? :helpful:
What soft should I use?
or better, what script is required?

Thx!:thanks:

Ghitulescu
22nd April 2014, 13:42
Extracting streams (specifically subtitles) from Blu-ray playlists with a lot of smaller file segments (in the mentioned case, 45 M2TS pieces) may exceed the maximum of 270 characters per canonical file name supported by Windows, due to the concatenating file naming convention: %05d[+%05d[...]].track_%d.sup
Thi8s limitation is a system one, it can't be solved.
It may be however solved if one does not use a CLI tool but a GUI (not a GUI for a CLI tool).

LigH
22nd April 2014, 13:51
Or by introducing a different syntax (e.g. a parameter which accepts a text file listing the segments, instead of a concatenated parameter; some archivers used the @ to flag that list file).

Ghitulescu
22nd April 2014, 15:37
Or by introducing a different syntax (e.g. a parameter which accepts a text file listing the segments, instead of a concatenated parameter; some archivers used the @ to flag that list file).
Exactly. I think that chapter list may also benefit from this shortcut.

jdobbs
22nd April 2014, 18:06
Or by introducing a different syntax (e.g. a parameter which accepts a text file listing the segments, instead of a concatenated parameter; some archivers used the @ to flag that list file).Not sure if I missed something so if this doesn't apply to your specific issue ignore it. But in the latest version of TSMUXER you can get around the long filename (caused by concatenated files) by opening the MPLS file rather than the components. The output will use the name of the MPLS rather than the long concatenated filename.

rapscallion
22nd April 2014, 22:06
I know how to extract chapter.txt from a BD or more precisely from a MPLS file.
But from a .ts file? how can I extract chapters? :helpful:
What soft should I use?
or better, what script is required?

Thx!:thanks:
*.ts files don't contain chapters. MKV containers do but not ts files by themselves. MPLS is required.

LigH
23rd April 2014, 07:29
Thanks, jdobbs, this is probably the solution Selur already enjoys; and Ghitulescu just wiped dust off a post from June 2013.

VideoFanatic
3rd October 2014, 22:57
Below is my existing script which uses MKVMerge (http://www.videohelp.com/tools/MKVtoolnix) to remux the AC3 and h264 as shown in the underlined section below to an MKV.

Could you please tell me what script I should use to use TSMuxer (http://www.videohelp.com/tools/tsMuxeR) to Mux to TS instead?

"X:\Portable Installations\MKV Toolnix\mkvextract.exe" --ui-language en tracks %1 0:"video.h264" 1:"gain0.m4a"

"X:\Portable Installations\ffmpeg\bin\ffmpeg.exe" -i "gain0.m4a" -vn -c:a copy -absf aac_adtstoasc "gain.m4a"

"X:\Portable Installations\AAC Gain 1.9\aacgain" -r -k -m 0 gain.m4a

"X:\Portable Installations\ffmpeg\bin\ffmpeg.exe" -i gain.m4a -map 0:0 -vn -c:a copy "%~d1%~p1%~n1.aac" -map 0:0 -vn -c:a ac3 -b:a 128k "output.ac3"

"X:\Portable Installations\MKV Toolnix\mkvmerge.exe" -o "%~d1%~p1%~n1.AC3.mkv" "--forced-track" "0:no" "-d" "0" "-A" "-S" "-T" "--no-global-tags" "--no-chapters" "(" "video.h264" ")" "--language" "0:eng" "--forced-track" "0:no" "-a" "0" "-D" "-S" "-T" "--no-global-tags" "--no-chapters" "(" "output.ac3" ")" "--track-order" "0:0,1:0"

del gain.m4a
del gain0.m4a
del video.h264
del output.ac3

"X:\Daves Folder\Sounds\VideoRedo Completed Sound Short.WAV"

pause

djonline
17th January 2015, 17:26
Why not simple allow to select multiple files in GUI after pressing JOIN button ?
Please fix this.
Also please make JOIN button active even without any files, I user want simple to join many files and don't want to select 'main' file.

SeeMoreDigital
17th January 2015, 17:48
Why not simple allow to select multiple files in GUI after pressing JOIN button ?
Please fix this.
Also please make JOIN button active even without any files, I user want simple to join many files and don't want to select 'main' file.Just in-case you missed it. The most up-to date discussions for TSmuxer can be found here: http://forum.doom9.org/showthread.php?t=168539. That said, its developer (physic) has not been active on this forum for over a year!

Music Fan
12th October 2018, 18:49
Hi,
how to create an ini file for tsMuxeR ? I mean, what's his structure ?
In the "release_notes" file, we can read "if file tsMuxerGUI.ini found, UI will switch settings to an ini file instead of registry (you can create empty ini file at the beginning)".

I'd like to set "Do not change SEI and VUI data" as default instead of "Insert SEI and VUI data if absent".