View Full Version : smartLabs tsMuxeR: Transport Stream muxer
Joniii
5th February 2008, 20:31
@Roman
Do you have any plans for (L)PCM support?
moshmothma
5th February 2008, 22:43
Recently tried muxing two movies from HDDVD that contained H264 and DD+. I demuxed the evo with evodemux and muxed with tsmuxer 1.210. The muxing worked fine but playback was seriously out of sync.
Ok, there is no problem here. Manually setting framerate and delay and I was able to perfectly go from evo to ts! I got framerate and delay from eac3to.
Hoping to see:
1. English documentation
2. LPCM support soon!
Thanks for a great tool!
lexor
6th February 2008, 01:31
Hoping to see:
1. English documentation
You seriously need a documentation for this? Well, OK.
Note, I don't actually use it in command line, I just translated the readme.txt, so if things are crashing or stuff doesn't work... not my fault!
How to use the muxer from the command line:
Create a file with extension ".meta" (without the quotes). Inside the meta file list all the files which you wish to mux to TS.
Meta File Format:
<Codec Name>, <File Name>, <Additional Options>
Additional options are delimeted by a commas. Above and from here on after <> are merely present for readability of this documentation and must not be included in actual files/command lines.
Sample Meta file content:
V_MPEG4/ISO/AVC, D:\media\test\stream.h264, fps=25
A_AC3, D:\media\test\stream.ac3, timeshift=-10000ms
In the above example an audio track in AC3 format and a video stream in H264 format are muxed.
Additional Parameters:
fps - Specifies the fps of the video stream (see example above). If fps parameter is not set its will be read from the video stream
level - Changes the value of the level setting in H264 stream (eg. you can change profile High@5.1 to High@4.1)
timeshift - This parameter is for audio streams. It allows to set the delay, which can be positive or negative. To specify delay in milliseconds add "ms" (no quotes) at the end of the value, alternatively add "s" to specify the delay in seconds. Positive value shifts the audio forward, negative shifts the audio backwards.
down-to-dts - Available only for DTS-HD stream. Downmixes DTS-HD to standard DTS
down-to-ac3 - Availale only for True-HD with AC3 core (commonly found on Blu-ray discs). Downmixs to standard AC3
track - Starting with version 0.9.96 it is possible to link to streams in different containers (i.e. non-elemetary streams). The value of this option is the track number (in the source container) of the stream you wish to mux. The following containers are supported:
- TS/M2TS
- EVO/VOB/MPG
- MKV
To get the track numbers of various streams in one of the supported containers use the following command: tsMuxer <file name>
To start the muxer use the following command line: tsMuxer <name of the .meta input file> <name of the TS output file>
Nomenclature of codecs in meta files:
V_MPEG4/ISO/AVC - H264
V_MS/VFW/WVC1 - VC1
V_MPEG-2 - MPEG2
A_AC3 - DD (AC3) / DD+ (E-AC3) / True HD (True-HD only available for streams that also contain AC3 core)
A_AAC - AAC
A_DTS - DTS / DTS-HD
A_MP3 - MPEG audio layer 1/2/3
WARNING: Do not start extraneous filters (codecs) while tsMuxer is running. <--- (translator's note) no clue what that's supposed to mean, I'm assuming don't try to playback the files tsMuxer is working on.
survivant001
6th February 2008, 12:11
I can't download files from your website
http://www.smlabs.net/tsMuxer/current_release.zip
file not found
jamos
6th February 2008, 15:44
I can't download files from your website
http://www.smlabs.net/tsMuxer/current_release.zip
file not found
they may have taken it down but you can get it still here by clicking mirror
http://www.videohelp.com/tools/tsMuxeR
I feel that 1.2.10 is a alpha, hopefully there is a new beta coming out.
survivant001
6th February 2008, 16:03
they may have taken it down but you can get it still here by clicking mirror
http://www.videohelp.com/tools/tsMuxeR
I feel that 1.2.10 is a alpha, hopefully there is a new beta coming out.
thanks
maybe that's why that version is not release on this thread
DonCarlos
6th February 2008, 17:09
Hi,
I use Tsmuxer (and some other programs) to convert my HDDVDs to Blurays. It works realy good, but there is one thing it don't understand. All the video streams from HDDVDs the Tsmuxer sees as 1080i and not 1080p. If I put a Bluray file in it it says it is 1080p. That is the case with all HDDVDs I own. And with Vc-1 and the other codecs. Is this a bug in Tsmuxer or is it becuase of my HDDVD files?Is there a other way to check if it is 1080p or1080i?
Thanks
LOGiC
6th February 2008, 17:49
@Roman
Do you see any chance to include an automatic cutting function for the next releases, which cuts .ts as well as .m2ts at given points, i.e. DVD5 4450MB or something like that. This tool is brilliant and that would round it up.
Thanks in advance.
Andy.
dirkr
6th February 2008, 18:32
Does anybody know a program how I could see what audio delay the dts.audio from a m2ts file has so that I can mux a new audio file in sync to it?
Thanks
PS: Regarding TSMuxer (1.2.10): Converting evo to ts shows always 29,97 fps instead of 23,9...fps so I choose the fps manually. The file runs in sync after that but the 24p detection from my projector or my media player ? doesn't work anymore.... BUT all is ok with running on 60Hz (3:2 pulldown). Any ideas?
gav1577
6th February 2008, 18:54
Is anyone aware that audio stream info disappears after build 1.2.0
when checking with mediainfo:)
kurt
6th February 2008, 19:10
Does anybody know a program how I could see what audio delay the dts.audio from a m2ts file has so that I can mux a new audio file in sync to it?
Thanks
PS: Regarding TSMuxer (1.2.10): Converting evo to ts shows always 29,97 fps instead of 23,9...fps so I choose the fps manually. The file runs in sync after that but the 24p detection from my projector or my media player ? doesn't work anymore.... BUT all is ok with running on 60Hz (3:2 pulldown). Any ideas?
same problem here on my popcorn hour, dirkr. Does your evo file contain a vc-1 stream as well? me is bitching around with that Spartan movie :D
1080p23/24 modus stuttering. with 60 hz everything is fine :confused:
dirkr
6th February 2008, 20:00
same problem here on my popcorn hour, dirkr. Does your evo file contain a vc-1 stream as well? me is bitching around with that Spartan movie :D
1080p23/24 modus stuttering. with 60 hz everything is fine :confused:
Found spartan as blu-ray so it fixed everything for me regarding this movie :) .
My file is silver surfing......
Creator1
6th February 2008, 20:21
Roman, tsMuxeR doesn't detect some DTS streams. If you convert TrueHD to DTS with EAC3TO, then try to open it with tsMuxeR, it says cant detect file. Here is a DTS sample (DTS, 5.1 channels, 0:01:07, 24 bits, 1536kbit/s, 48khz), I hope it helps fixing it.
300.dts (http://www.netikka.net/enclave/300.dts)
Joniii, I had the same problem but I don't think the problem is with tsMuxeR. Try to play your DTS elementary stream in powerDVD. If it does not work correctly, the dts file is not correct. eac3to was able to recognize my "weird" dts file but not powerdvd and it crashed when played back in media player classic (using ffdshow).
Be sure to use the latest version of eac3to and get version 1.0.23 of Surcode DVD DTS (not .21). I am unsure if this helped but I redid the DTS file from the TrueHD track after getting the latest eac3to and 1.0.23 of surcode and the dts file is now correct and recognized by every program.
Guys I must be dreaming!!
I have on my HDD a demux of the Top Gun HD-DVD (which I own but want to sell my xbox HD-DVD drive as I'm broke)
(Video.mpv which is AVC 29.976fps h.264 and audio.ac3 which I made from eac3to from the DD+ file)
are you telling me I can now mux these two files into something which will work on the PS3?
I tried to mux a 29.97 AVC file with a DTS track that I did and the sound was out of sync completely when played back as a BLURAY disc in powerdvd (the structure was generated by tsremux as usual). I think you really need to go to 23.976 to get correct playback with sound, etc. Besides, if you want to be on the safe side, you should go to 23.976 as it is the only way to be blu-ray compliant and so to make your file playable in all blu-ray players.
theblind
7th February 2008, 00:58
Hi !
Hi,
I use Tsmuxer (and some other programs) to convert my HDDVDs to Blurays. It works realy good, but there is one thing it don't understand. All the video streams from HDDVDs the Tsmuxer sees as 1080i and not 1080p. If I put a Bluray file in it it says it is 1080p. That is the case with all HDDVDs I own. And with Vc-1 and the other codecs. Is this a bug in Tsmuxer or is it becuase of my HDDVD files?Is there a other way to check if it is 1080p or1080i?
Thanks
in this case: I have a projector that can only show max. 1080i. So I have setup my PS3 to max. 1080i. The HD-DVDs with VC-1 codec convert to BluRay stutter (video, audio works fine) on the PS3 with 1080i output. I think, the VC-1 header must clean to 24p and 1080p.
Cu.
DonCarlos
8th February 2008, 19:06
Hi !
in this case: I have a projector that can only show max. 1080i. So I have setup my PS3 to max. 1080i. The HD-DVDs with VC-1 codec convert to BluRay stutter (video, audio works fine) on the PS3 with 1080i output. I think, the VC-1 header must clean to 24p and 1080p.
Cu.
So is it my fault or what is the case. On the cover of the HDDVDs is always1080p mentioned. If I open one stream with tsmuxer than it says it is 1080i. I converted some HDDVD to blu ray now. I didn't burn one now, but the ISO of them work perfect on the PC in perfect sync. I just wondered about this 1080i.(I am new to this sorry if I ask sutupid questions)What would I have to to that I would get 1080p?
Creator1
8th February 2008, 19:18
So is it my fault or what is the case. On the cover of the HDDVDs is always1080p mentioned. If I open one stream with tsmuxer than it says it is 1080i. I converted some HDDVD to blu ray now. I didn't burn one now, but the ISO of them work perfect on the PC in perfect sync. I just wondered about this 1080i.(I am new to this sorry if I ask sutupid questions)What would I have to to that I would get 1080p?
The streams in the HD-DVD standard are encoded in 1080i/29,97fps with 3:2 pulldown. The HD-DVD players can then playback the movies on a 60Hz TV using that information. To playback in 24p, the HD-DVD players do "reverse pulldown" to go back to 23.976fps progressive.
The streams in the Blu-Ray standard are encoded in 1080p/23.976fps without 3:2 pulldown. The Blu-Ray players can then playback movies on a 60Hz TV by applying 3:2 pulldown "on the fly". To playback in 24p, the blu-ray player have nothing to do but to playback the stream at it's 23.976fps encoded form.
At least, that is what I can understand from both formats being different as they are. If I am mistaken then someone will correct me here. :)
DoomBot
8th February 2008, 20:13
All HD-DVDs are encoded in 1080p not 1080i
DonCarlos
8th February 2008, 20:37
Ok and what can I do to get the streams to 23.973fps in 1080p? With tsmuxer I get the 23.973 but not the 1080p?
DonCarlos
8th February 2008, 20:49
By the way. I have the HDDVD Troy. If I rip the EVOs to the harddisk and open them with tsmuxer it also says that it is encoded in 1080i. So I think Creator1 is right the movies are encoded in 1080i and the player does the job for 1080p.
kurt
8th February 2008, 21:38
maybe someone can clear things up - it would be much appreciated :)
I just opened the original evo file ("300",vc-1) with mediainfo and it also reports 30 fps interlaced :confused:
General #0
Complete name : F:\Movies\HD\300\source\xxx.EVO
Format : MPEG-2 Program
Format/Family : MPEG-2
File size : 8.61 GiB
PlayTime : 55mn 37s
Bit rate : 22 Mbps
Video #0
Codec : VC-1
Codec profile : Advanced@3
PlayTime : 55mn 37s
Bit rate : 19 Mbps
Width : 1920 pixels
Height : 1080 pixels
Display Aspect ratio : 16/9
Frame rate : 30.000 fps
Chroma : 4:2:0
Interlacement : Interlaced
on the other hand evodemux (0.627 b7) says it is 23,976 hz
Opening file xxx.EVO
Reading...
File size: 8811 Mbytes.
VOB number 0 contains 2 video , 4 audio and 5 subpicture streams.
PTM of first video frame = 6E19147E
PTM of last video frame = 800035FA
Duration = 0:55:37.334
VC-1 video stream 0 found!
First PTS = 2E19147E (+35791394ms)
Substream id = 55
Profile = Advanced
Level = 3
Chroma Format = 4:2:0
Size = 1920x1080
Display size = 1920x1080
Aspect ratio = 1:1 (square samples)
Frame Rate = 23,976 (24000/1001)
so, which one I have to trust?
theblind
8th February 2008, 22:19
Hi !
Both :D
In the header of the videostream: 1080i + 30p.
but the videostream is 1080p + 24p.
Why ? :confused:
I think: in the beginning of HD-DVD, Toshiba concept was: 1080i and 60 hz and the header helps the old Thosiba Hardware to convert.
Cu.
kurt
8th February 2008, 22:39
ah, ok. I read about these old hd-dvd players on wikipedia... :)
do you think it would be possible to remove/change that header somehow during muxingprocess? I guess it messes things up on my popcorn hour...
dirkr
8th February 2008, 23:08
@roman76r:
Muxed two evo files together but after muxing the merged file stops at the end of part 1.
Took a look with TSRemux on it...it shows two vc1 streams and 2 dts streams in this one file!
Anything wrong with the muxing option?
Regards,
Dirk
Atak_Snajpera
9th February 2008, 01:47
Muxed to evo files together but after muxing the merged file stops at the end of part 1.
If you mux two audio streams what do get have? (rhetorical question ;)
Audio1
Audio2
or Audio1+Audio2 ????
Guest
9th February 2008, 02:11
In a correct transport file you would have two programs and each elementary stream would have its own PID.
But this muxer apparently does not support multiple programs, nor bitrate padding, nor PID setting, etc. So it is not useful for creating multiple program streams for broadcasting.
That's why I asked for the source code -- a reasonable request since the program claims to be released under GPL! I wanted to see if the design was suitable for extending it with those desirable features.
But it appears that Roman is taking a holiday. :(
jamos
9th February 2008, 07:19
But it appears that Roman is taking a holiday. :(
A Roman Holiday? sorry just had to go there..:p
jamos
9th February 2008, 07:21
In a correct transport file you would have two programs and each elementary stream would have its own PID.
But this muxer apparently does not support multiple programs, nor bitrate padding, nor PID setting, etc. So it is not useful for creating multiple program streams for broadcasting.
That's why I asked for the source code -- a reasonable request since the program claims to be released under GPL! I wanted to see if the design was suitable for extending it with those desirable features.
But it appears that Roman is taking a holiday. :(
Also setting avc lvl to 4.1 does not work(have to use h264info).
DTS streams do not work unless you remux them again with tsremux I think this started after release 1.2.
Auto PPS every picture does not work ie picture structure (have to use h264info).
jamos
9th February 2008, 07:27
same problem here on my popcorn hour, dirkr. Does your evo file contain a vc-1 stream as well? me is bitching around with that Spartan movie :D
1080p23/24 modus stuttering. with 60 hz everything is fine :confused:
ptscalc will tell you audio delays to use in a transport stream. google it.
kurt
9th February 2008, 07:39
ptscalc will tell you audio delays to use in a transport stream. google it.
thx, but I don't have an audio issue. It's only about the videostream which stutters after remuxing the evobs to ts (fps is manually set to 23,976)...
yonta
9th February 2008, 10:40
@roman76r:
Muxed to evo files together but after muxing the merged file stops at the end of part 1.
Took a look with TSRemux on it...it shows two vc1 streams and 2 dts streams in this one file!
Anything wrong with the muxing option?
Regards,
Dirk
If you want to join the 2 files, add the 1st one and append the 2nd one.
dirkr
9th February 2008, 23:48
If you want to join the 2 files, add the 1st one and append the 2nd one.
I will try "append" next time. Thanks for the tip
n0mag!c
11th February 2008, 08:47
By the way. I have the HDDVD Troy. If I rip the EVOs to the harddisk and open them with tsmuxer it also says that it is encoded in 1080i. So I think Creator1 is right the movies are encoded in 1080i and the player does the job for 1080p.
as doombot says, the movies were encoded in 1080p, but then, as creator1 says, 3:2 pulldown flags on the video stream were set to satisfy HD-DVD standard. but any programme, when "see" 29,97 fps video stream call it "interlaced" anyway.
n0mag!c
11th February 2008, 09:26
i've spend a lot of time trying tsmuxer and I must say: it works INCORRECT with mpeg2 video stream, though with H264 it's OK. when muxing 24fps or 25 fps HD or even SD video (with average bitrate of 6-12 mb/s), resulting stream can't play smoothly. with haali splitter on PC, and AVCHD on PS3. first I blame PS3 that it can't read video with high bitrates, but then I test PS3 with "casino royale" bluray converted to AVCHD with tsremux, and PS3 play this test AVCHD flawlessly showing bitrate from 20 to 34 mb/s. then i noticed, that video plays non-smooth on PC also (it's easy to find, when you know, what exactly you are looking for). but the essence of this incorrect work with mpeg2 video stream is shown when muxing 29,97 fps video. video frames is constantly jumping and audio is totally out of sync.
jamos
11th February 2008, 15:37
I hope roman is still working on this great product...:eek:
Atak_Snajpera
11th February 2008, 17:57
I hope roman is still working on this great product...
I bet He is working on BluRay structure with subtitles :)
DonCarlos
12th February 2008, 00:03
as doombot says, the movies were encoded in 1080p, but then, as creator1 says, 3:2 pulldown flags on the video stream were set to satisfy HD-DVD standard. but any programme, when "see" 29,97 fps video stream call it "interlaced" anyway.
Ok I understand that so far. But is there a way to get this pulldown away?Will tsmuxerbe able of doing that?Because I would like to get just a stream of 23.973fps and 1080p. I read the thread about vc1conv and tried this programm but that just made the fps to 23.973 but the 1080i stays(I already can do this with tsmuxer). Sorry if these are noob questins but I am really new to this whole stuff. I just want to convert my HDDVDs to Blu ray the most easiest way with 1080p picture and completly audio sync. By the way the audio isn't the problem.
Zow
12th February 2008, 01:00
I bet He is working on BluRay structure with subtitles :)
From your mouth to Roman's ears:-)
I have to ask a perhaps really stupid question:
I have been waiting for subtitles implementation. I assume it would mean that when I rip a Blu-Ray title to my drive as a .ts file (or .m2ts,) I'll be able to play it from the drive, with subtitles.
But, I also would like to shring the file size a bit. I've been ripping all my DVDs to H.264 MKVs, and have been very happy with the result. I'd like to be able to do the same with my BR/HD-DVD titles - shrink them to about 4-6GBs per title (drive space is cheap, but not that cheap.) I just HATE having to deal with disks.
If I can get the main title, plus selected audio, plus subtitles to a .ts or .m2ts file with smartLabs tsMuxeR, would I then be able to import this file to something like AutoMKV or RipBot, and convert to a H.264 MKV?
n0mag!c
12th February 2008, 10:22
Ok I understand that so far. But is there a way to get this pulldown away?Will tsmuxerbe able of doing that?Because I would like to get just a stream of 23.973fps and 1080p. I read the thread about vc1conv and tried this programm but that just made the fps to 23.973 but the 1080i stays(I already can do this with tsmuxer). Sorry if these are noob questins but I am really new to this whole stuff. I just want to convert my HDDVDs to Blu ray the most easiest way with 1080p picture and completly audio sync. By the way the audio isn't the problem.
you miss the whole idea! no matter, how programme calls video stream "i" or "p". if it's been coded progressive, it remains such regardless to 3:2 pulldown flags. the flags are just flags. movies transferred from celluloid always have progressive structure. videos from cameras are interlaced.
dirkr
12th February 2008, 18:51
i've spend a lot of time trying tsmuxer and I must say: it works INCORRECT with mpeg2 video stream,
it works CORRECT! Muxed 2 movies today and both are in sync!
Thnaks again to roman76r for this great and "easy to use tool"
[)370|\|470!2
12th February 2008, 21:32
@all,
maybe I can beg for your help again. I was testing a lot around with TSMuxer and the program is great. Unfortunately on the cutting side there seem to be a lack of good programs. I tried to remux my Ratatouille Blu-Ray as new .m2ts for testing purposes only and the filed was played very well. The problems start when trying to split it. I have tested with H264TSCutter, which accepts M2ts as input file. But this one goes back to .ts then. Using HDBDSplit makes some of the 4,5GB big disks stutter like hell. These can't be played. PowerDVD is doing some kind of diashow and MPC has issues with Tearing, which is very strange. Using EVR-Renderer normally doesn't bring even one line to my display, when playing this files I got heavy tearing. For having the graphics card acceleration (ATI HD 2600 XT) I really would prefer staying at .m2ts. But are there any tips for me how to successfully split a big file to several parts ? Thanks in advance.
http://forum.doom9.org/showpost.php?p=1094458&postcount=133
The only workaround would be to split a file before using tsmuxer. Personally, i wouldn't use it at all, it sux. Plain and simple.
jamos
12th February 2008, 23:20
http://forum.doom9.org/showpost.php?p=1094458&postcount=133
The only workaround would be to split a file before using tsmuxer. Personally, i wouldn't use it at all, it sux. Plain and simple.
just use H264TSCutter to ts then tsremux to mux the ts back into a m2ts.
Guest
13th February 2008, 00:53
Personally, i wouldn't use it at all, it sux. Plain and simple. Let's show a little patience and respect for the author. This tool is in early development.
Creator1
13th February 2008, 01:45
Hi !
Both :D
In the header of the videostream: 1080i + 30p.
but the videostream is 1080p + 24p.
Why ? :confused:
I think: in the beginning of HD-DVD, Toshiba concept was: 1080i and 60 hz and the header helps the old Thosiba Hardware to convert.
Cu.
That would make sense and explain why you can use VC-1 files from HD-DVD directly with Scenarist BDA and all works fine. The file might be encoded in 24p but there are 3:2 pulldown flags present. Maybe blu-ray simply ignore those flags during playback or scenarist removes them during muxing.
LOGiC
13th February 2008, 10:31
@Roman
I have one more question or feature request, but I don't know if this is possible. I know that it is open source, but do you think it would be possible to add x264 to .ts or .m2ts muxing ability ? That would be great but due to the high amound of different variations it could be possible. This feature surely would rock.
Thanks in advance.
zeroprobe
13th February 2008, 11:32
http://forum.doom9.org/showpost.php?p=1094458&postcount=133
The only workaround would be to split a file before using tsmuxer. Personally, i wouldn't use it at all, it sux. Plain and simple.
You add nothing to the topic. Please go away, this tool works great on the PS3.
theblind
13th February 2008, 12:39
Hi !
That would make sense and explain why you can use VC-1 files from HD-DVD directly with Scenarist BDA and all works fine. The file might be encoded in 24p but there are 3:2 pulldown flags present. Maybe blu-ray simply ignore those flags during playback or scenarist removes them during muxing.
I think: the PS3 have a forced output in the 1080p 24p option. It ignore the 1080i flag. But if the PS3 must play 1080i, the stream stutter.
Cu.
n0mag!c
13th February 2008, 14:12
it works CORRECT! Muxed 2 movies today and both are in sync!
the movies were 1080p 23.976fps MPEG-2?
Do you watching movies on PC? 'cause it's a little bit hard to see muxing bug on PC. but when watching movie on TV with enabled feature like philips' DNM (digital natural motion) then the bug is obvious - playback stutters.
I use "tsremux" and burn AVCHD disks then watch it on PS3. when I don't use "tsmuxer" and use original TS stream captured from digital tuner or M2TS from bluray, then movies plays correct. Also movies with H.264 video (VC-1 I didn't test yet) plays correct after beeing muxed with "tsmuxer".
Hope Roman fix this problem, or maybe author of "tsremux" will add correct support for .mkv files. And then I can use "mkvmerge" instead of "tsmuxer".
phigment
13th February 2008, 18:09
@roman76r
Can you release the source code?
I would like that as well. It would be nice to have a linux port of this tool!
Bigmango
13th February 2008, 19:17
It would be nice to have a linux port of this tool!
+1000000
adalbertoma
15th February 2008, 23:02
This is a great software and looks even more promising if subtitles and blu-ray output is implemented.
Any other word from the author? Right now it seems to me that he has quit working on this...
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.