View Full Version : smartLabs tsMuxeR: Transport Stream muxer
73ChargerFan
10th June 2009, 02:13
Why? I don't think blank hd-dvds are being made anymore.
setarip_old
10th June 2009, 02:51
@73ChargerFan
Hi!
1) There are plenty of resources still available (Do a Googlesearch for "Blank HD DVD")
2) For those of us with the great Toshiba HD-DVD players (I say great because they include fantastic standard DVD upconverting quality) or other HD-DVD players, it would then be a small matter to use a program such as BD Rebuilder or AVCHDCoder to compress our BluRay discs to fit on DVD9s and then convert them to HD-DVD format, as well as ripping our HD-DVDs, converting to BluRay, compressing, and then re-converting to HD-DVD (Not really a lot of work, just a lot of words ;>} )
[)370|\|470!2
12th June 2009, 21:27
I don't think supporting dead formats would be a good practice. Just an opinion however.
piratburner
13th June 2009, 11:36
Hi !
I have a lot of m2ts files, NOW I want to make a BD structure for these , Can I have a "default" structure made from TsMuxer ( From the first muxed movie) and use this for all of my other movies (m2ts files) ?
The playlist are named 00000.mpls in the structure and then I want to take my m2ts files an copy this to the structure STREAM folder and named this to 00000.m2ts
In this case I can save a lot of tine to skip the TsMuxer to make a BD for all of my m2ts files :-)
Is this a BAD idea ?
Reason is that Tvix play BD structure better than just a m2ts file.
EDIT
Just done my first test..... And it don't work :-(
Is there a tool perhaps that can fix this, or do I need to make new BD structure for each movie (m2ts file) using TsMuxer ?
I tried CLIPINF_Editor_v0.05.exe and BDEdit without no luck.
deank
13th June 2009, 14:05
There is no tool that will make it for you. You can't simply replace files in BD structure.
I can suggest you to try multiAVCHD and see if it will work for you. You'll get all m2ts files in one structure in one pass and your Tvix will see them as separate titles (I guess).
Dean
setarip_old
13th June 2009, 19:31
@piratburner
Hi!I have a lot of m2ts files, NOW I want to make a BD structure for theseThis is, at least to me, confusing.
Why would you have bothered to first create .M2Ts files from your original BluRay discs, and now look to re-convert them to BluRay "packages", rather than initially simply backing up (or compressing and backing up) your original BluRay discs?
scott1256ca
15th June 2009, 18:40
@piratburner
If I understand what you are trying to do, you could convert each of your m2ts files to individual AVCHD, then use multiAVCHD to make a single AVCHD out of several of them.
turbojet
15th June 2009, 19:20
mpls TIME_IN bug/workaround (http://forums.sagetv.com/forums/showthread.php?t=41722) I wonder if this affects some other hardware/software.
I looked at the playlists of 6 retail BD's and all had a TIME_IN of 00:00:02.000 according to readmpls.
deank
15th June 2009, 20:14
Yes, it affects players which are messed up and not programmed properly.
mpls start time can be 00:35:00 if you like... it is not a bug - it is related to what is inside these m2ts files.
turbojet
15th June 2009, 21:59
Is it like the dvd start timecode option in CCE?
I know by default CCE has it set to 01:00:00.000 and it's needed for internal pulldown but some software, like scenarist has issues with this start timecode. Whereas retails and HCenc start at 00:00:00:000. Could problems like this arise with BD muxing?
I checked some of the calibration disks over on avsforum and found these TIME_IN were used:
TSMuxer 00:10:00.000
Sonic 00:10:00.000
Arcsoft 00:00:00.975
Deluxe 00:00:11.651
So much for consistency but that's not uncommon in BD/DTV world.
deank
16th June 2009, 09:15
I posted this back in April: (http://forum.doom9.org/showthread.php?p=1277240#post1277240)
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).
***
Late edit: using tools that change PTS values in mpls files (without taking care of clpi and m2ts files, referred by the playlist) will certainly break/cause lockups/problems with the 'new'/patched structure. That's why you can't simply *blank* or replace m2ts files... but as some other user said here (http://forum.doom9.org/showthread.php?t=147750), it is a "piece of cake"... "LOL"... people just like to talk....
G_M_C
16th June 2009, 14:26
Is Roman on a well deserved holiday ? He's not been seen here in a month;
12th May 2009 00:34
Or is he secretly working on a new and vastly improved version of tsMuxeR ?
turbojet
16th June 2009, 21:04
If someone knew exactly what to keep from mpls files that point to multiple m2ts files blanking the current way is a fairly simple but also a very timely task replacing mpls, clpi, m2ts with 'blank' ones. Software could make this replacing vastly easier.
Last thing I read from roman76r was they were working on vobsub input support.
Ryu77
17th June 2009, 14:15
Roman, small feature request...
This is one that you probably think why the hell am I asking, but I would really like to see the "add blank playlist for cropped video" option disabled by default. I really think that is the sort of non standard option that should be enabled if the user desires. Default options should be those centered around the creation of standard Blu-ray/AVCHD discs...
Unless it autodetects if the video is cropped and only adds a blank playlist/m2ts if tsMuxeR detects a video with non compliant resolution.
Can anybody clarify this?
SurroundBoy
18th June 2009, 06:25
Is there ANY way at all to have Tsmuxer NOT merge your files into one big M2TS file for BD/AVCHD Structure? I want to retain the separate playlists making an extras only disc.
aygie
25th June 2009, 17:26
I hope someone can help me with this, everytime i try and mux a MKV file to M2TS with subs i get this message "Can't convert source text to UTF-32. Invalid chars sequence."
How can i fix it? I've tried converting the .srt file to UTF-16 and -32, it muxes the files but the subs aren't there when i play the file.
Any ideas?
:thanks:
xeniste
25th June 2009, 19:30
Roman, why, if I cut comercials and join then the satellite recorded file parts, TSMuxer gives me a perfect .ts file, but when compiling a BD or an AVCHD strucuture, I aleays have sound/image desync after the cutting/joining point ?
setarip_old
25th June 2009, 20:58
@aygie
Hi!everytime i try and mux a MKV file to M2TS with subs i get this message "Can't convert source text to UTF-32. Invalid chars sequence"...I've tried converting the .srt file to UTF-16 and -32...What was the format of the subtitles in your original source material (Presumably a BluRay disc)- and what software and procedures did you use to extract and convert them?
Did you visually review the .SRT file that you created, to determine which characters are problematic?
aygie
26th June 2009, 22:15
@aygie
Hi!What was the format of the subtitles in your original source material (Presumably a BluRay disc)- and what software and procedures did you use to extract and convert them?
Did you visually review the .SRT file that you created, to determine which characters are problematic?
Hi! Sorry, i would have replied sooner but i didn't get an subscription email.
Yes original subs from a BD (not ripped by me though) I've gone through the .srt and its all fine, it happens on all mkv's with subs that i try and convert to m2ts (for the PS3). Any ideas?
Thanks again.
setarip_old
27th June 2009, 01:43
@aygieYes original subs from a BD (not ripped by me though)OOPS!
it happens on all mkv's with subs that i try and convert to m2ts (for the PS3).Were all of these other MKVs also not ripped by you?
If so, there's no way (or reason) for any member to speculate what might be wrong...
aygie
27th June 2009, 10:04
@aygieOOPS!
Were all of these other MKVs also not ripped by you?
If so, there's no way (or reason) for any member to speculate what might be wrong...
My bad, sorry didn't realise. Thanks for the help though, i appreciate it. :thanks:
Guest
27th June 2009, 14:23
@aygie
Please re-read our forum rules, especially rule 6. We cannot assist you with illegitimately obtained copyrighted material. Also, you cannot post subs in their entirety. Further violations will lead to strikes.
http://forum.doom9.org/forum-rules.htm
aygie
27th June 2009, 17:30
@aygie
Please re-read our forum rules, especially rule 6. We cannot assist you with illegitimately obtained copyrighted material. Also, you cannot post subs in their entirety. Further violations will lead to strikes.
http://forum.doom9.org/forum-rules.htm
Sorry guys totally didn't realise. My bad.
raymondtrudeau
2nd July 2009, 09:15
i use anydvd and tsmuxer to get the main movie itself and save as a blue ray structure..is there a way to keep the original chapters instead of having them every 10 min? thanks
setarip_old
2nd July 2009, 10:02
@raymondtrudeau
If instead of "AnyDVD HD" you use (presently freeware) "MakeMKV" to rip the main movie of a BluRay and then load the MKV file into "tsMuxeR", you'll see that "tsMuxeR" has also received the actual chapter times...
deank
2nd July 2009, 10:39
If you are comfortable with command line prompt, you can use:
tsmuxer.exe path_to_decrypted_copy\BDMV\PLAYLIST\00000.mpls|find "Marks:"
Just replace 00000.mpls with the playlist for the main movie.
and you'll get:
Marks: 00:00:00.000 00:09:52.000 00:19:44.000 00:29:36.000 00:39:28.000
Marks: 00:49:20.000 00:59:12.000 01:09:04.000 01:18:56.000 01:28:48.000
Marks: 01:38:40.000 01:48:32.000
Marks: 01:58:24.000
Capsbackup
2nd July 2009, 17:08
i use anydvd and tsmuxer to get the main movie itself and save as a blue ray structure..is there a way to keep the original chapters instead of having them every 10 min? thanks
If you use BDInfo first on the original Bluray folders, it will tell you the corresponding .mpls file that is for the movie you want. Then just load that .mpls file into tsMuxeR, and the chapter files and all audio and subs will be included.
maldino800
4th July 2009, 12:21
Hi. Thank you for this easy to use application. One thing that hasn't worked for me from the beginning though, is the addition of non-western subtitles, specifically, Arabic. I can add the srt file fine and it gives no error message but when I play the AVCHD, I get weird text, it looks arabic, but certainly not the text that is in the original srt file.
For some reason it works in MKV2VOB and I know it is using Tsmuxer as its backend. The author has said all his application does in order to allow arabic text to display correctly, is to convert it to utf-8. What I have done, is used MKV2VOB to add the srt into an AVCHD, demuxed the SUP file with Tsmuxer, then add the newly exported sup file into AVCHD by Tsmuxer. THIS WORKS.
So what I did, was convert the srt to utf-8 first, then add it into Tsmuxer to make an AVCHD. This still gives me weird characters so I don't know how the author of MKV2VOB has solved it.
To be honest, I would much rather use Tsmuxer as it allows multiple streams, supports VC-1 and MPEG2; all of which MKV2VOB does not support.
I hope I have explained the problem well and am happy to assist in anything you need.
Thanks!
Same problem,,can any one help us please??
rapscallion
7th July 2009, 21:08
I was muxing a h.264 stream, (to a *.m2ts) and at about the 74% progress point I received a single error :
H264 warn: Unexpected pic_order_cnt_lsb value 1. FrameNum: 131596 slice type: I_TYPE
The muxing completed successfully but I am just curious what this error means and how/if it affects the video ? Thanks
mikelebron
9th July 2009, 02:42
Question, I have a quad core machine, 4 GB Windows 7 64 bit... I noticed that when remuxing to a m2ts (HD video + HD Audio) the system is just about not responsive BUT I noticed that CPU, memory, etc. is barely being used, in addition, IF I try to multi task I get audio clipping from the end resulted m2ts...
Any ideas why? If this is normal please let me know..
I have a dual Quad Core, 16 GB of RAM, also running Windows 7 x64. While it is a little more machine than yours, I notice no slowdown at all during a mux. Unlike on my 1st gen, single core Macbook under OS X--that thing crawls when muxing. But neither system presents corrupted audio when finished.
You're right about the RAM and CPU use. tsMuxeR is entirely disk bound on any higher-end system. If you're having trouble, and ending up with corrupted files, I'd check out your disk.
JeffBDVS
19th July 2009, 21:59
I can't get tsMuxeR to recognize more than one angle in a multi-angle BD playlist. eac3to finds the files that make up each angle of the playlist, but tsMuxeR does not. Reference disc: Star Trek TOS Season 1.
Workaround: using the file lists from eac3to, manually add the files that make up each angle of the playlist.
-Jeff
st0niMah0ni
22nd July 2009, 09:21
Version 1.8.4(b) - Windows
http://www.smlabs.net/tsMuxer/tsMuxeR_1.8.4(b).zip
Link is dead? I allways get 404 error.
Underground78
22nd July 2009, 09:23
You have a newer version : http://www.smlabs.net/tsMuxer/tsMuxeR_1.10.6.zip ...
rapscallion
22nd July 2009, 17:46
I'm muxing a DTheater HD movie source, in order to create an AVCHD DVD9.
The framerate of the movie is 29.970 fps. I understand that the supported framerates for avchd are 24,30 and 60fps.
There is an option in Tsmuxer to change the frame rate to 24 fps. Is there any reason I should do that, or will 29.970 play just fine on a stand alone BD player? (will changing it also cause audio sync problems?)
deank
22nd July 2009, 18:24
29.970 is supported in AVCHD. 99% of the available (NTSC) HD camcoders record video with this framerate, so you should have no troubles. 24p is more trouble.
rapscallion
22nd July 2009, 19:57
Thanks Dean. I asked because all of the BD discs I have are 23.976 fps and this was the first source I've come across with the higher frame rate. Wanted to be sure before I spent hrs re encoding.
I was having some problems moving DVHS files to Bluray discs. Some of the files play just fine on my PC (using VLC) but Nero has problems when I try to create the Bluray images. Someone at Nero suggested remuxing the file to try and eliminate any possible frame errors.
I noticed two problems:
1) An off the air HDTV program has no audio after remuxing.
Here is the command line output displayed by the GUI:
MUXOPT --no-pcr-on-video-pid --vbr --vbv-len=500
#V_MPEG-2, "C:\HD Movies\AgassiSamp.ts", fps=29.970, track=33
V_MPEG-2, "C:\HD Movies\AgassiSamp.ts", fps=29.970, track=17
SmartLabs tsMuxeR. Version 1.10.1(b) http://www.smlabs.net
MPEG-2 stream does not contain fps field. Muxing fps=29.97
Decoding MPEG2 stream (track 1): Profile: Main@4. Resolution: 1920:1080i. Frame rate: 29.97
2) When I tried the same process with another file (movie recorded from DirecTV onto DVHS) it had sound. Unfortunately there were audio synchronization issues so I deleted the file. Can the remux process do anything about lip sync issues?
deank
24th July 2009, 08:06
Your 1) shows that there is no audio track described in the .meta file, which means the tsMuxeR does not detect and process it. You should have
V_MPEG-2,.....
A_MP3,.... / A_AC3... or something else for audio track
When you load your .ts in tsMuxeR GUI don't you get "Some tracks are not recognized" message?
2) If your audio is not AC3 but MPEG (A_MP3 in the meta) then it is possible to get audio sync problems. If the delay is constant then you can use timeshift=XXXms to correct positive/negative audio delay.
I did see the "some tracks are not recognized" message.
How can I fix that?
mikelebron
25th July 2009, 13:35
Any release notes?
You have a newer version : http://www.smlabs.net/tsMuxer/tsMuxeR_1.10.6.zip ...
deank
26th July 2009, 08:29
I did see the "some tracks are not recognized" message.
How can I fix that?
You need to find a way to demux both the audio and video streams from the problematic .ts file and then remux them back with tsMuxeR.
Can you post the information, reported by mediainfo.exe (CLI)?
jj666
26th July 2009, 11:36
I'm normally having to run my Dreambox captures through TSREMUX before TSMUXER will touch them (EAC3TO usually reports junk at the start of the .ts).
Cheers,
-jj-
You need to find a way to demux both the audio and video streams from the problematic .ts file and then remux them back with tsMuxeR.
Can you post the information, reported by mediainfo.exe (CLI)?
General
ID : 1A9
Complete name : C:\HD Movies\AgassiSamp.ts
Format : MPEG-TS
File size : 20.7 GiB
Duration : 3h 4mn
Start time : UTC 2002-09-08 20:41:05
End time : UTC 2002-09-08 23:45:44
Overall bit rate : 16.0 Mbps
Audio #1
ID : 20 (0x14)
Menu ID : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Duration : 3h 4mn
Bit rate mode : Constant
Bit rate : 256 Kbps
Channel(s) : 2 channels
Channel positions : L R
Sampling rate : 48.0 KHz
Video delay : -161ms
Stream size : 338 MiB (2%)
Audio #2
ID : 36 (0x24)
Menu ID : 2 (0x2)
Format : AC-3
Format/Info : Audio Coding 3
Duration : 3h 4mn
Bit rate mode : Constant
Bit rate : 192 Kbps
Channel(s) : 2 channels
Channel positions : L R
Sampling rate : 48.0 KHz
Video delay : -52s 168ms
Stream size : 254 MiB (1%)
deank
26th July 2009, 18:05
Strange... no video track detected by mediainfo, but 2 audio tracks.
Try to load your .ts file in hdtv2mpeg:
http://www.deanbg.com/public/HDTVtoMPEG2.exe and see what will happen.
I deleted the video track info because I thought it was irrelevant and took up too much space in the message.
ID : 1A9
Complete name : C:\HD Movies\AgassiSamp.ts
Format : MPEG-TS
File size : 20.7 GiB
Duration : 3h 4mn
Start time : UTC 2002-09-08 20:41:05
End time : UTC 2002-09-08 23:45:44
Overall bit rate : 16.0 Mbps
Video #1
ID : 17 (0x11)
Menu ID : 1 (0x1)
Format : MPEG Video
Format version : Version 2
Format profile : Main@High
Format settings, Matrix : Default
Duration : 3h 4mn
Bit rate mode : Variable
Nominal bit rate : 45.0 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16/9
Frame rate : 29.970 fps
Standard : Component
Colorimetry : 4:2:0
Scan type : Interlaced
Scan order : Top Field First
Bits/(Pixel*Frame) : 0.724
Video #2
ID : 33 (0x21)
Menu ID : 2 (0x2)
Format : MPEG Video
Format version : Version 2
Format profile : Main@Main
Format settings, Matrix : Default
Duration : 3h 4mn
Bit rate mode : Variable
Nominal bit rate : 15.0 Mbps
Width : 704 pixels
Height : 480 pixels
Display aspect ratio : 4/3
Frame rate : 29.970 fps
Colorimetry : 4:2:0
Bits/(Pixel*Frame) : 1.481
deank
26th July 2009, 23:53
Well... it is relevant :) Try with the tool I posted above. If it doesn't help you - try with multiAVCHD or tsRemuX.
That looks a lot like the tool I used to delete commercials from my original file. It is currently churning away on the latest version of the file, so lets see what happens.
k-c-ksum
31st July 2009, 21:04
is it possible to force subtitle on by default with tsmuxer?
Lincoln Burrows
3rd August 2009, 07:55
I am having problems with M2TS files here. At first, I thought it was only one, but it's all of them (no matter if I choose BDisc or M2TS as outputs).
The problem is related to the internal source filter from MPC-HC. When enabled (MPEG PS/TS/PVA), the modified file is very fast, and if the source filter is disabled (and the transform filters are doing the job along with Haali Media Splitter), changing subtitles will crash the player. But the original file is fine, for both video and subtitles.
It seems that a broken file was generated by TSMuxer. I seriously doubt this is MPC's fault.
My steps:
1) Using TsMuxer, I am removing unwanted tracks from the movie. All subtitles are still there.
2) I am leaving these options enabled (I tried to disable the first two, but nothing changed):
"Add picture timing info"
"Continually insert SPS/PPS"
Then, it's selected on the General tab, "Mux VBR" (by default)
All other options were not modified:
http://img14.imageshack.us/img14/3869/screenghp.th.png (http://img14.imageshack.us/img14/3869/screenghp.png)
Click on this image to see resized on another tab/window
What I am missing here?
Original file specs (00001.m2ts) (MediaInfo):
Click here (http://wd20eads.001webs.com/test.txt)
Modified/broken file specs (MediaInfo):
Click here (http://wd20eads.001webs.com/brokenwithoutunwantedtracks.txt)
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.