View Full Version : smartLabs tsMuxeR: Transport Stream muxer
herrde
22nd April 2009, 12:58
Hi,
this question is not that easy, at least not for me... maybe Dean or Roman can explain this better...
As far as I know, demuxing "True-HD" has never been a problem at all. It's muxing True-HD tracks that causes (or caused?) problems... I am not sure if tsmuxer in its latest version can mux True-HD now... but I would be thankful too if somebody could shed some light on this...
Best,
Gero
pleinlesyeux
22nd April 2009, 14:18
Yes I have zero problem muxing true HD with tsmuxer.
odin24
22nd April 2009, 16:37
Thanks for your help above...
I had actually tried that in the meantime and found that selecting AVCHD was the answer. It is actually version 1.8.35b and onwards that uses the correct Blu-ray output (instead of AVCHD)... My curiousity lead me to testing different versions of tsMuxeR to discern where the exact changover occured. :p
More info that was helpful to me regarding this topic.
http://forum.doom9.org/showthread.php?t=146339
Furiousflea
23rd April 2009, 11:58
I'm trying to do a test to see if the Sony BDP-S550 can play PIP tracks on DVD5\9\BD25 by using BD-Rebuilder to compress the video to a stupidly low level for the main movie only. Then extracting the AC3 audio tracks seperately and compressing them again. Then remuxing back into the m2ts.
By doing so I have managed to get resident evil full disc to fit on a DVD9 but the trouble is that the resulting m2ts isn't getting output correctly by tsmuxer 1.9.9.
The PIP track is "track 1" and the main video track is "track 2", in the original m2ts. But when I save my newly created m2ts and load it back to check it's got the correctly mapped streams in the right order...
The main video track is now "track 1" and the PIP track is "track 2"
Result = no video is played when I go to start main movie, I believe due to this incorrect swapping of tracks.
rebkell
23rd April 2009, 15:50
Something I've always wondered about tsmuxer is why the PTS stamps for the audio and video streams start at the 10 minute mark?
deank
23rd April 2009, 16:16
No one said that PTS is the real-time value of when things appear on screen. There is also a DTS stamp which in combination with PTS makes things work.
Here is more if you need to know about PTS:
PTS (presentation time stamp) -- Presentation times shall be related to decoding times as follows:
The PTS is a 33 bit number coded in three separate fields. It indicates the time of presentation, tpn(k), in the
system target decoder of a presentation unit k of elementary stream n. The value of PTS is specified in units of
the period of the system clock frequency divided by 300 (yielding 90 kHz). The presentation time is derived
from the PTS according to equation below.
PTS( k) = ((system clock frequency * tpn ( k)) DIV 300 ) % 2^33
where clock freq should be ~ 27000000 (+/- 800).
rebkell
23rd April 2009, 16:29
No one said that PTS is the real-time value of when things appear on screen. There is also a DTS stamp which in combination with PTS makes things work.
Here is more if you need to know about PTS:
where clock freq should be ~ 27000000 (+/- 800).
I only wondered why it starts at the 600 second mark, most streams I've seen start pretty close to 0, I wasn't saying it was wrong, just wondered why?
tekmobile
23rd April 2009, 18:46
I'm trying to do a test to see if the Sony BDP-S550 can play PIP tracks on DVD5\9\BD25 by using BD-Rebuilder to compress the video to a stupidly low level for the main movie only. Then extracting the AC3 audio tracks seperately and compressing them again. Then remuxing back into the m2ts.
By doing so I have managed to get resident evil full disc to fit on a DVD9 but the trouble is that the resulting m2ts isn't getting output correctly by tsmuxer 1.9.9.
The PIP track is "track 1" and the main video track is "track 2", in the original m2ts. But when I save my newly created m2ts and load it back to check it's got the correctly mapped streams in the right order...
The main video track is now "track 1" and the PIP track is "track 2"
Result = no video is played when I go to start main movie, I believe due to this incorrect swapping of tracks.
Have you told TsMuxer that the PiP video track is secondary via the command line version or are you just doing everything from the gui
Furiousflea
23rd April 2009, 19:03
Have you told TsMuxer that the PiP video track is secondary via the command line version or are you just doing everything from the gui
ooooh, naughty me. I hadn't even tried the command line. Thanks for the pointer will give that a shot :)
Underground78
23rd April 2009, 21:13
@roman76r
I have a m2ts that TsMuxer does not load correctly. It gives this message :
http://g.imagehost.org/t/0592/error_2.jpg (http://g.imagehost.org/view/0592/error_2)
Here a sample of the file (http://www.mediafire.com/?sharekey=2a2137fa62794d120f83d91f6dff7c382c754dd767f357b1c95965eaa7bc68bc), I hope it could help.
Thanks a lot for your work !
fifteen
24th April 2009, 01:48
Question about chapter locations:
How do I avoid rounding errors for the exact location of chapters:
for instance, if a video is encoded at exactly 24 fps.
each frame is
41.666666666666666666666666666667 ms long
when setting chapter locations, if I know the frame count of the IDR frame, do I round up/down when calculating the chapter time for the desired format of 00:00:00.000
are chapter locations for bluray in fact set at frames or in a time count like tsmuxer wants it?
for example, for a a single frame would the chapter point be
00:00:00.041
or
00:00:00.042
Am I making sense?
frank
24th April 2009, 12:48
Some times it is necessary to set the color of subtitle stream to a different one from white because of hard coded white subs.
The color table of GUI is mismatched. If you want to set yellow then tsMuxeR GUI only sets the green component!
0x0000ff00 instead of 0x0000ffff
AFAIK the problem exists since the layout change of GUI in version 1.8.30.
deank
24th April 2009, 13:36
are chapter locations for bluray in fact set at frames or in a time count like tsmuxer wants it?
Chapter locations are set in PTS format (time) and allow about 2 packet entry points per millisecond.
I think the difference between 00.001 and 00.002 is exactly 2 192byte (if consecutive and video only) packets in the m2ts stream.
For the most precise entry point you need to know which is the closest packet with IDR. I don't think 1 millisecond off makes much difference
To avoid rounding with large frame numbers, don't start with ms per frame but, let's say you need a chapter mark at 1h 31m 16s 450 (or frame 131435 with 24fps)
1*3600 + 31*60 + 16 + 0.450 = 5476.45s = frame# 131435
so going backwards:
frame 131435 / 24fps = 5476.45th second = /3600 = 1hr ... 1876.458s/60 = 31m ... 0.274306/60 = 16sec... ~450-455ms
and you'll get max 2-3ms difference which is just 4-5 m2ts packets.
turbojet
24th April 2009, 17:53
Since 1.9.8 bluray output writes the nav command 'Move GPR 0, 0' twice in movieobject.bdmv. Is this intentional?
b66pak
24th April 2009, 18:04
the format flags in .srt are respected in the latest builds?
<b>bold</b> sould be displayed as bold
<i>italic</i> sould be displayed as italic
_
regisso
24th April 2009, 21:49
I never tried bold but italic works fine.
pleinlesyeux
26th April 2009, 15:27
Hi.
I have a question.
A BD where the main movie is 00000.m2ts
I demux it (ac3to). I change subtitle position (BDsup2sub). I remux it with every audio and subtitle channel that were on the original 00000.m2ts but i swap the existing subtitles with the one I created.
I remux using 00000.m2ts as a name and replace it in the original BD structure.
The BD would boot, show me the menu, but wouldn't play the main movie.
Does anybody knows why ? Is there a way to do that ?
What software can I analyse and modify .m2ts with ?
Thank you.
laserfan
26th April 2009, 15:59
Leaving the .m2ts alone, you should try replacing the .mpls (PLAYLIST) and .clpi (CLIPINF) in the original BD structure with the ones that tsMuxeR made. I think OTTOMH that tsmuxer would have made 00000.xxxx filenames, so you shouldn't have to edit those, but if not a simple hex editor may show the way.
roman76r
26th April 2009, 21:55
I almost finish MP4/MOV support in tsMuxeR.
Now I have tested codecs:
- AVC video
- AAC audio
- AC3 audio
- text subtitles
Also I have fix problem with AAC in MKV container.
Now this version is needed in addition testing with more codecs.
While new version has alpha status:
www.smlabs.net/tsMuxer/tsMuxeR_1.10.0(a).zip
cullinan
27th April 2009, 01:00
i almost finish mp4/mov support in tsmuxer.
Now i have tested codecs:
- avc video
- aac audio
- ac3 audio
- text subtitles
also i have fix problem with aac in mkv container.
Now this version is needed in addition testing with more codecs.
While new version has alpha status:
www.smlabs.net/tsmuxer/tsmuxer_1.10.0(a).zip
спасибо тебе огромное!!!...
rica
27th April 2009, 01:49
спасибо тебе огромное!!!...
Pardon me? Where am i?
SeeMoreDigital
27th April 2009, 08:46
I almost finish MP4/MOV support in tsMuxeR.
Now I have tested codecs:
- AVC video
- AAC audio
- AC3 audio
- text subtitles
Also I have fix problem with AAC in MKV container.
Now this version is needed in addition testing with more codecs.
While new version has alpha status:
www.smlabs.net/tsMuxer/tsMuxeR_1.10.0(a).zipGreat work Roman...
So far I've tested: _
AVC with AAC in MP4
AVC with AAC in MOV
AVC with AC3 in MP4
AVC with AC3 in MOV
AVC with AAC and AC3 in MP4
AVC with AAC and AC3 in MOV
All working well. Nice to see the "stream" level signalling is kept in-tact too :)
[)370|\|470!2
27th April 2009, 14:54
Pardon me? Where am i?
Lost in translation, haven't you, eh? :D
roman76r
27th April 2009, 15:50
Underground78
I have a m2ts that TsMuxer does not load correctly. It gives this message
It is TS file, but the file extensing is M2TS. It is wrong. Try to rename file and try again.
rica
Pardon me? Where am i?
It is Russian. :)
SeeMoreDigital
Tnaks for tests. Also I have tested MP3 codec in MP4 and MOV and test working too.
Underground78
27th April 2009, 16:05
Underground78
It is TS file, but the file extensing is M2TS. It is wrong. Try to rename file and try again.
Yes, you are right ! It seems that my hauppauge hd pvr does not use the good extension. Is it possible to make TsMuxer detecting this automatically ?
roman76r
27th April 2009, 16:10
Is it possible to make TsMuxer detecting this automatically ?
Yes it is possible. Now ts Muxer can automatically detect M2TS files renamed to TS. So need a similar function for TS files renamed to M2TS.
rapscallion
27th April 2009, 16:22
спасибо тебе огромное!!!...
English :Thanks a lot
mariner
27th April 2009, 16:22
Greetings Roman. This is splendid.
Here are some 1920x1080/60P H264/AAC .mp4 samples for your testing.
http://www.sanyo-dsc.com/products/lineup/dmx_hd2000/img/sample/movie_sample_hd2000_01.zip
http://ckworks.sakura.ne.jp/data/xacti_hd2000_dogsample20090207_1_mp4.zip
http://88.191.20.67/video/akiba/SANYO_HD2000_1920x1080_60fps.zip
Thanks and best regards.
Greetings Roman. Many thanks for adding the new features.
This is the error message generated:
SmartLabs tsMuxeR. Version 1.10.0(a) http://www.smlabs.net
Decoding H264 stream (track 1): Profile: High@4.2 Resolution: 1920:1080p Frame
rate: 59.9401
H.264 stream does not contain fps field. Muxing fps=59.9401
H264 bitstream changed: insert nal unit delimiters
H264 bitstream changed: insert pict timing and buffering period SEI units
Decoding AAC stream (track 2): Sample Rate: 48KHz Channels: 2
H264 bitstream changed: insert SPS/PPS units
Processed 1040 video frames
Creation of Blu-ray playlist
Unsupported media type 15 for AVCHD/Blu-ray muxing
Many thanks and best regards.
deank
27th April 2009, 16:27
@mariner: You can't use AAC audio for AVCHD/Blu-ray output. It is not a supported codec.
спасибо тебе огромное!!!...
or just "Thanks a lot!" :) or "Огромно благодаря" :) in Bulgarian.
mariner
27th April 2009, 16:58
Greetings Dean.
Roman has added support for AAC audio in the latest version, and this feature tested well according to SMD.
As I did not find any check box for AAC to AC3 conversion , is this to be done automatically?
Underground78
27th April 2009, 17:00
Yes it is possible. Now ts Muxer can automatically detect M2TS files renamed to TS. So need a similar function for TS files renamed to M2TS.
Oki, thanks a lot ! :)
deank
27th April 2009, 17:04
Greetings Dean.
Roman has added support for AAC audio in the latest version, and this feature tested well according to SMD.
As I did not find any check box for AAC to AC3 conversion , is this to be done automatically?
Yes, he added support for muxing to TS/M2TS but it can't be used in bluray. SMD's tests were with files, not structures. I doubt tsmuxer will convert the audio - it is a muxer, not convertor.
mariner
27th April 2009, 17:08
Yes, he added support for muxing to TS/M2TS but it can't be used in bluray. SMD's tests were with files, not structures. I doubt tsmuxer will convert the audio - it is a muxer, not convertor.
Thanks for clarifying Dean.
Does media type 15 refer to AAC audio?
SeeMoreDigital
27th April 2009, 18:47
Yes, he added support for muxing to TS/M2TS but it can't be used in bluray. SMD's tests were with files, not structures. I doubt tsmuxer will convert the audio - it is a muxer, not convertor.Yep that's correct ;)
That said, although the AVCHD SD card specification supports just AC3 and LPCM audio, I'd be willing to see if MP3 or AAC can be made to work :eek:
Mtz
27th April 2009, 21:07
Request: posibility to add many files when using the "Join" feature, not only one by one. If I want to join 50 files, will be a hard manual work.
Another thing: I made a small test with M2TS containing 1 SUP. Added another SUP and one SRT file. When Playing in MPCHC, the exported M2TS showed only 2 subtitles (the SUP subtiles) and not the third made from SRT.
enjoy,
Mtz
fifteen
28th April 2009, 01:54
joined m2ts files (AVC/PCM audio) don't seem to play properly in VLC 1.00 git. If,however they are joined and put into Bluray structure they can be played back fine.
I find it it curious that the individual m2ts files play fine on their own. But when they are joined VLC 1.00 git doesn't play them back properly.
Can someone explain? At first, I thought it must but be a player issue, but that version VLC never has a problem with unjoined M2ts. My shot in the dark : Is there header information that is not being created properly when joining files?
drpaulng
28th April 2009, 06:24
ROMAN:
When importing a movie.mp4 containing AAC, an error message pops up with tsMuxeR GUI 1.10.0(a):
Error: moov atom not found
Please...
SeeMoreDigital
28th April 2009, 09:31
ROMAN:
When importing a movie.mp4 containing AAC, an error message pops up with tsMuxeR GUI 1.10.0(a):
Error: moov atom not found
Please...Try re-muxing your .MP4 with YAMB.
roman76r
28th April 2009, 10:11
drpaulng
Error: moov atom not found
Can you send me short example of this file? First several Mb is enought.
deank
28th April 2009, 10:15
Roman,
can you take a look at this post (http://forum.doom9.org/showpost.php?p=1275156&postcount=3350) few pages back?
Mtz
28th April 2009, 11:31
drpaulng
Can you send me short example of this file? First several Mb is enought.
I'm not drpaulng but I have a sample file with this error: http://uploaded.to/file/uvvcio
enjoy,
Mtz
drpaulng
28th April 2009, 12:06
drpaulng
Can you send me short example of this file? First several Mb is enought.
SENT THROUGH http://www.smlabs.net SUPPORT EMAIL
Thank you in advance
roman76r
28th April 2009, 13:33
deank
TsMuxer detect fps from H.264 stream.
In last update with MP4 support, I've also add detecting fps from MP4 container because many AVC streams in MP4 does not contains fps field in video stream. Seemingly mediaInfo can detect fps from TS/M2TS container too.
deank
28th April 2009, 13:47
The problem is the following:
1) Use input MKV for example (or m2ts)
2) tsMuxeR detects properly fps and creates m2ts file
FPS of the file created in step 2) is no longer recognized by tsMuxeR. I'm trying to manually set the FPS but tsMuxer will not accept it and will not set it in the output stream.
3) I need to be able to reprocess the m2ts from step 2) to create another m2ts for example.
Lacix
28th April 2009, 13:50
If I use formatted subtitles in srt format the result is not formatted.
E.g. I see in the result :
<I>Blabblablbla ... </I>
Am I making some mistakes or are Italic/Bold formating parts in srt not supported ?
btw. Thx for the great product. I'm making easily PS3 compatible AVCHD disks with it.
deank
28th April 2009, 14:06
Try to make them <i> and </i> - lower case, not <I></I>
ultratoto14
28th April 2009, 14:33
@Roman
I've got a problem when joining 2 m2ts file (h264+ac3) with audio delay each, the joined file is out of sync.
Amour
28th April 2009, 19:12
Hello,
I'm new using this software. I was looking for a solution to play my movies with freeplayer, and I was adviced to look here. Unfortunatly, whenever I try to open an .mkv file with tsMuxeR GUI 1.8.4, I always get the following error message:
Some tracks not recognized. This tracks was ignored.
Here is my list of ignored tracks:
* video V_REAL/RV40
* audio A_VORBIS
* audio A_AAC/MPEG4/LC/SBR (some of them)
* subtitles S_TEXT/ASS
* subtitles S_VOBSUB
As 100% of my .mkv files will use at least one of those, that makes 0% of them usable with tsMuxeR. At most it will find 1 audio xor 1 subtitles, but never multiple audio or a combination of audio&subtitles. When the file is RV40+VORBIS+VOBSUB, not a single track is recognized.
Also, the drag&drop doesn't work to add a file to tsMuxeR.
mrr19121970
28th April 2009, 19:15
tsMuxeR GUI 1.8.4
:rolleyes: what about older versions ?
http://forum.doom9.org/showthread.php?p=1278505#post1278505
roman76r
28th April 2009, 22:34
Amour
- AAC codec supported in the latest versions.
- subtitles S_TEXT/ASS and subtitles S_VOBSUB probably will be supported in future.
- V_REAL/RV40 and A_VORBIS can't be supported for TS
Lacix
If I use formatted subtitles in srt format the result is not formatted
I fix it. Now tsMuxeR recognize <i>, <I> and <italic> (in any case), similar changes for <b> (<B>, <bold>) and <u> (<U>, <underline>) tags.
Also, muxer supports <strike> and <font [color=[0x|#]xxxx] [size=[+|-]xx] [name="xxxxx"] > tags for text formatting.
New version is here:
www.smlabs.net/tsMuxer/tsMuxeR_1.10.1(b).zip
Mtz
I've fix this error - version 1.10.1(b) can open your MP4 example. But both codecs H.263 and ADPCM are not supported.
deank
I can't reproduce your problem. Can your send me short sample?
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.