View Full Version : TsRemux v0.21.2: Transport Stream De/Re-muxer
Luvpeaceguru
30th January 2008, 17:10
I am seeing very strange behaviour on this disk. Having ripped with AnyDVDHD, I get the error in the attached file when I go for any of the key 3x 8.5GB m2ts files:
And I'm getting exactly the same on Hotel Babylon Disk 2.
Anyone have any ideas???
jamos
31st January 2008, 02:42
getting divide by zero error when converting any ts or m2ts file to bd structure. Anyone else getting this? happens with ver. .18 and .19.
Ok found the issue: was the source mkv elementary streams had no pps. after running them through h264info with pps enabled for every picture then muxing them into a m2ts with tsmuxer the files processed fine with tsremux and gave me a correct BD Structure.
jamos
31st January 2008, 02:44
And I'm getting exactly the same on Hotel Babylon Disk 2.
Anyone have any ideas???
anydvd has been known to corrupt m2ts files I think the latest versions fixes the issues. there is a m2ts fix program out there but do not know the name.
B4tm4n
31st January 2008, 21:50
This was posted over at www.abhdtv.net by Pate.
Hello!
I promised to write a simple guide how to hex-edit the files that result from running TSRemux and outputting to Blu-Ray format so that you get subtitles to show.
I have only tested the result with PowerDVD and with a single subtitle track, so YMMV when using a stand-alone player and/or several subtitle tracks. This should work as a starting point for experimenting, though.
You will need a hex editor, I use "HHD Software Free Hex Editor" (typing that to Google should get you the right place if you don't yet have a hex editor). This free editor can only handle very small files, but luckily that's all you need for this operation.
Step 1: Run TSRemux, and select the video stream, audio stream you wish to keep, and the subtitle stream you wish to keep. Set output to Blu-Ray, and let TSRemux do it's magic.
Step 2: Go to the BDMV\PLAYLIST directory, there should be a file called 00000.mpls. Open this with a hex editor, and you should see something like the following (without the yellow highlighted boxes.
http://memweb.newsguy.com/~paalto/Playlist.gif
Step 3: Replace the HEX values 00 90 with 12 00 on a row that shows a language code. This is the PID value of the subtitle track, which TSRemux erroneously leaves at 0090 when it should be 1200.
Step 4: Replace the HEX value 91 (stream type "Interactive Graphics") with 90 (stream type "Presentation Graphics") for this subtitle stream. The following 3 characters after the stream type is the language code of the subtitle, change this to the actual subtitle language if necessary.
My theory is the the author of TSRemux left a small bug in the code, when the code should replace the stream type 91 with 90, it erroneously overwrites the PID 1200 with 0090.
After this the subtitles should in fact work in PowerDVD, however, if the language code does not match the language code in BDMV\CLIPINF\00001.clpi, PowerDVD will show the subtitle language as "Undefined".
Step 5: Thus, hex-edit the BDMV\CLIPINF\00001.clpi file as well, changing the language on the row that shows 12 00 (PID) and 90 (stream type) to be the same as in the playlist.
http://memweb.newsguy.com/~paalto/Clipinf.gif
Step 6: All done, enjoy your remuxed Blu-Ray with subtitles!
Pate
tymoxa
31st January 2008, 23:29
Here (http://www.mediafire.com/?elt2mmdejmj) is a 2 BDMV folders (without *.m2ts) that was generated by scenarist and tsremux.
I've made a small h264 clip with 2 ac3 tracks and authored them in scenarist. The result is perfectly play by PowerDVD 7.3.3304. Then i remux *.m2ts in TSremux keeping all streams. In result - video play without sound (in playlist according to Bdedit was left only 1 audio track, but in clipinf - there is 2).
Maybe someone knows what tsremux doing wrong?
Or, maybe author look at these BDMV?
jamos
1st February 2008, 02:30
Here (http://www.mediafire.com/?elt2mmdejmj) is a 2 BDMV folders (without *.m2ts) that was generated by scenarist and tsremux.
I've made a small h264 clip with 2 ac3 tracks and authored them in scenarist. The result is perfectly play by PowerDVD 7.3.3304. Then i remux *.m2ts in TSremux keeping all streams. In result - video play without sound (in playlist according to Bdedit was left only 1 audio track, but in clipinf - there is 2).
Maybe someone knows what tsremux doing wrong?
Or, maybe author look at these BDMV?
I always have to uncheck the bypass audio alignment to get the audio to work using TSRemux to output to bluray.
jamos
1st February 2008, 02:35
This was posted over at www.abhdtv.net by Pate.
nice find! hopefully TSremux will fix this!
tymoxa
1st February 2008, 22:11
jamos
yep, that helps... but again, only 1 audio track after remux in blu-ray (according to playlist file and BD-P1400) and 2 audio tracks in reality (in *.m2ts file i mean).
with same test clip, but made in scenarist (h264+2*ac3) and burned on DVD+RW (i.e. AVCHD), i've got playback with 2 audio tracks and bd-p1400 lets me select audio track what i want to hear.
chiefj1254
4th February 2008, 06:52
I constantly get a green bar across the bottom of my videos when outputting to blu-ray structure and burning AVCHD for PS3. From the feedback I've read so far, it's because my source mkvs are non-standard video formats. Is there any way to add a feature in a future version to "pad" the video with black on top and bottom when converting to blu-ray so the video format appears as standard? This would solve a lot of people's problems, I imagine.
Either way, great tool and thanks for what you've given us so far!
Bigmango
4th February 2008, 13:09
I constantly get a green bar across the bottom of my videos when outputting to blu-ray structure and burning AVCHD for PS3. From the feedback I've read so far, it's because my source mkvs are non-standard video formats. Is there any way to add a feature in a future version to "pad" the video with black on top and bottom when converting to blu-ray so the video format appears as standard? This would solve a lot of people's problems, I imagine.
Either way, great tool and thanks for what you've given us so far!
This is caused by the removal of the balck borders prior to re-encoding the movie.
You need to put the movie back to a standard resolution, and add the black borders to keep the aspect ratio. You can do this with avisynth.
I. ex: your file is 1280x588, you need to set it back to 1280x720:
aviSource("C:\yourfile.avi", audio=true)
Lanczos4Resize(1280,720).addborders(0,66,0,66)
Save this script with a .avs extention and use it as source in your encoding app (yes you need to encode the file again).
chewdogg10
5th February 2008, 00:18
I have a Panny BD30K that will play all my discs authored with ULead, CyberLink, and Roxio, but the files are transcoded and lose quite a bit of quality. I tried writing the Blu Ray structure from tsReMuxer, but it won't play. Does anyone know how to get tsReMuxer BD structure to play in a set-top?
chewdogg10
5th February 2008, 03:46
Do I need to use BDEdit in order to get the Blu Ray Structure output from tsRemuxer to work? When I throw it in the set-top, it says BD on the display, changes to PLAY and then sits on 00:00 and sits at a black screen with "Reading..." on the screen.
Thanks for any help!
Chew
dmz01
5th February 2008, 15:29
I will fix the bug that Pate discovered and explained above in the next version of TsRemux.
Thanks!
jamos
5th February 2008, 16:23
jamos
yep, that helps... but again, only 1 audio track after remux in blu-ray (according to playlist file and BD-P1400) and 2 audio tracks in reality (in *.m2ts file i mean).
with same test clip, but made in scenarist (h264+2*ac3) and burned on DVD+RW (i.e. AVCHD), i've got playback with 2 audio tracks and bd-p1400 lets me select audio track what i want to hear.
what settings do you use to get the h264 extracted from a mkv file to work in scenarist, I am assuming your reencoding it with x264? I have had issues getting the file to load in the data part of HDMV with just setting the avc lvl to 4.1 with h264info. it creates the mui ok.
dirkr
5th February 2008, 16:24
I will fix the bug that Pate discovered and explained above in the next version of TsRemux.
Thanks!
Please fix evo bug from version 19 too and implement dts-hd downconvert to dts!!
A HUGE THANK YOU!
jamos
5th February 2008, 16:25
I will fix the bug that Pate discovered and explained above in the next version of TsRemux.
Thanks!
Looking forward to it thanks man!
XolocoTuxmaster
5th February 2008, 16:32
I will fix the bug that Pate discovered and explained above in the next version of TsRemux.
Thanks!
Great!!
It would be perfect if you fix the multiaudio track one
Ranguvar
5th February 2008, 21:41
Any hope for VC-1 demuxing? Doesn't work with current version, at least for me.
Thanks :D
Chumbo
6th February 2008, 01:30
Any hope for VC-1 demuxing? Doesn't work with current version, at least for me.
Thanks :D
Use eac3to or graphedt with the Dump filter.
Ranguvar
6th February 2008, 01:44
Use eac3to or graphedt with the Dump filter.
No, I need to actually demultiplex the VC-1 video out, not dump, which results in uncompressed video.
Ranguvar
6th February 2008, 01:48
Never mind... it feels like working today :D
jamos
6th February 2008, 03:16
This is caused by the removal of the balck borders prior to re-encoding the movie.
You need to put the movie back to a standard resolution, and add the black borders to keep the aspect ratio. You can do this with avisynth.
I. ex: your file is 1280x588, you need to set it back to 1280x720:
aviSource("C:\yourfile.avi", audio=true)
Lanczos4Resize(1280,720).addborders(0,66,0,66)
Save this script with a .avs extention and use it as source in your encoding app (yes you need to encode the file again).
how would this work with mkv sources use directshow?
also dont you mean
aviSource("C:\yourfile.avi", audio=true)
Lanczos4Resize(1280,588).addborders(0,66,0,66)
because 588+66+66=720
Hunstad
6th February 2008, 20:34
Don't resize, only AddBorders(0,66,0,66)
jamos
7th February 2008, 02:05
Don't resize, only AddBorders(0,66,0,66)
I had to resize also myself because my original was 1080p cropped.
sure wish some of these programs like megui could read the mkv and set the settings exactly like they were when original mkv was created (ie lose no quality and not gain space). If i use lossless the video gets ridiculausly big like 60 gig. I am using the HD Fast profile and it seems to work good but my size is still bigger than the mkv at 1080p was.
DVFreak
7th February 2008, 10:44
i have the Problem about an Rebuild Evo from HDDVD (Rebuild Evos with Evodemux).
The Rebuilded Evo where 2 Evos merged with evodemux i have load in Tsremux to Build an m2ts Stream Tsremux give me an Error at the Half with "Buffer Overflow" and "Sync Error"
I Think this is an Problem while 2 Evos merged in one, and at the Point or Break where the 2 Evos merged TsRemux find other Infos in the Evo Stream.
I Hope the Author understand me :)
tulkar
8th February 2008, 14:50
Well , I have get working tsremuxed streams with 2 audios and 2 subs, more details about how to modify hex mlps here:
An example
http://img233.imageshack.us/img233/1681/samplefn3.jpg
If you take a look to the shaped bytes in colors, every long shape is a stream
Use this table to better understanding
http://img169.imageshack.us/img169/7866/tablasbk5.jpg
With a sample structure like that, you can always change the video type from VC1 to Avc or mpeg2 , also audio type (AC3, DTS) , and language,use your imagination, remember also to pair the cliplist file.
jamos
8th February 2008, 15:08
Well , I have get working tsremuxed streams with 2 audios and 2 subs, more details about how to modify hex mlps here:
An example
http://img233.imageshack.us/img233/1681/samplefn3.jpg
If you take a look to the shaped bytes in colors, every long shape is a stream
Use this table to better understanding
http://img169.imageshack.us/img169/7866/tablasbk5.jpg
With a sample structure like that, you can always change the video type from VC1 to Avc or mpeg2 , also audio type (AC3, DTS) , and language,use your imagination, remember also to pair the cliplist file.
Great Info Tulkar hopefully they will add this to TSRemux so we can have multiple audio and subtitles and correct stream header info.
so if I am reading your example correctly the video would be VC1 1080p 23.976fps
audio: DTS spanish and second audio DTS english.
A spanish and A english subtitle.
yes please post about the mlps file too.
tulkar
8th February 2008, 15:35
Audios are Ac3 both of them, code 81 look in the table , 05 81 , the 05 is the lenght in bytes of the stream information, so;
05 81 61 73 70 71
5bytes Ac3 fps and frecuency char(s) char(p) char(a)
So is an Ac3 tagged like spanish
dmz01
8th February 2008, 20:42
New version 0.20:
Fixed EVO/VOB/MPG file handling
Fixed MPLS generation from above (big thanks to all contributors)
Added DTS HD to DTS in blu-ray streams
To Do: language selection for subtitles/audio streams as opposed to setting them all to english.
As usual for any issues, especially crashes a small sample is very much appreciated.
dirkr
8th February 2008, 22:50
Let me be the first to say:
THANK YOU! for hearing the wishes of us all.
maya
8th February 2008, 23:05
New version 0.20:
Fixed EVO/VOB/MPG file handling
Fixed MPLS generation from above (big thanks to all contributors)
Added DTS HD to DTS in blu-ray streams
To Do: language selection for subtitles/audio streams as opposed to setting them all to english.
As usual for any issues, especially crashes a small sample is very much appreciated.
Just wanted to say thanks as well.
The1n
9th February 2008, 01:32
Thank you for a great program dmz01.
jamos
9th February 2008, 07:34
Audios are Ac3 both of them, code 81 look in the table , 05 81 , the 05 is the lenght in bytes of the stream information, so;
05 81 61 73 70 71
5bytes Ac3 fps and frecuency char(s) char(p) char(a)
So is an Ac3 tagged like spanish
you are correct I got the wrong column.
jamos
9th February 2008, 07:37
New version 0.20:
Fixed EVO/VOB/MPG file handling
Fixed MPLS generation from above (big thanks to all contributors)
Added DTS HD to DTS in blu-ray streams
To Do: language selection for subtitles/audio streams as opposed to setting them all to english.
As usual for any issues, especially crashes a small sample is very much appreciated.
nice DMZ is there any current way to load raw h264 streams and audio streams? I would love just to use this program from extracted mkvs. currently i have to use tsmuxer to remux them into a m2ts file. tsmuxer has some bugs currently.
thanks!
yaksplat
9th February 2008, 14:48
What is the process of going from evo files to an mpeg-2?
I used the new version of HD-dvd decrypter to rip the evo files. Then i used HD-DVD EVO demux to join the evo files with the streams that I wanted. Then I used TSremux to mux it into a TS.
I then tried using videoredo to convert the ts into an mpg but it said that there was no mpeg2 stream available.
Sorry I'm new to this.
Thanks
arrgh
9th February 2008, 15:40
@dmz01
really great !! Thanks
theblind
9th February 2008, 15:55
Hi !
What is the process of going from evo files to an mpeg-2?
I used the new version of HD-dvd decrypter to rip the evo files. Then i used HD-DVD EVO demux to join the evo files with the streams that I wanted. Then I used TSremux to mux it into a TS.
I then tried using videoredo to convert the ts into an mpg but it said that there was no mpeg2 stream available.
Sorry I'm new to this.
Thanks
I didn't know any HD-DVD with mpeg2hd videostream. The most of the HD-DVD have VC-1, some mpeg4 avc...
Cu.
yaksplat
9th February 2008, 16:03
I didn't know any HD-DVD with mpeg2hd videostream. The most of the HD-DVD have VC-1, some mpeg4 avc...
Like I said, I'm new at this. I'm trying to end up with a DVR-MS file for media center streaming to an extender, which I typically rip a dvd -> vob -> ->mpg -> dvr-ms.
Any recommendations?
Jim
dmz01
9th February 2008, 18:12
nice DMZ is there any current way to load raw h264 streams and audio streams? I would love just to use this program from extracted mkvs. currently i have to use tsmuxer to remux them into a m2ts file. tsmuxer has some bugs currently.
thanks!
Muxing is a lot harder than remuxing. In muxing, you have to generate all the appropriate timestamps so that video plays at the correct rate, doesn't slow down, doesn't speed up, stays in sync with audio and the packets are intertwined correctly so that none of the buffers overflow. In remuxing, I have a very easy job, I don't have to worry about all this, since the timestamps are already there and the packets are in correct intertwined order. :) I applaud Roman for writing a true muxer (which is what you need for what you want to do. :)) Give him some time. He has my source code. He'll get there.
dirkr
9th February 2008, 23:53
Hi !
I didn't know any HD-DVD with mpeg2hd videostream. The most of the HD-DVD have VC-1, some mpeg4 avc...
Cu.
Resident Evil HD-DVD (EUR) is a mpeg2-stream. Wondered by myself for 7 weeks....
jamos
9th February 2008, 23:54
Muxing is a lot harder than remuxing. In muxing, you have to generate all the appropriate timestamps so that video plays at the correct rate, doesn't slow down, doesn't speed up, stays in sync with audio and the packets are intertwined correctly so that none of the buffers overflow. In remuxing, I have a very easy job, I don't have to worry about all this, since the timestamps are already there and the packets are in correct intertwined order. :) I applaud Roman for writing a true muxer (which is what you need for what you want to do. :)) Give him some time. He has my source code. He'll get there.
cool deal..maybe combine your two programs for a one click solution guess I could write a gui front end to do that.
maya
9th February 2008, 23:58
Can anyone tell me why HD MA will sometimes be converted to DTS ES and then others to regular DTS 2 channel when using the newest version of tsremux? For example, X-MEN 3 converts to DTS ES and Planet of the Apes converts to 2 channel DTS
DanielCardenas
10th February 2008, 00:37
TSRemux v20 crashes when loading a vob file. v0.0.16 works though. Also works if I uncheck "Use async I/O". :-)
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at TsRemux.TsRemux.EnableCbxMlp()
at TsRemux.TsRemux.backgroundWorker2_RunWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e)
at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
at System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(Object arg)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
TsRemux
Assembly Version: 0.0.20.0
Win32 Version: 0.0.20.0
CodeBase: file:///E:/downloads/low/tsremux/tsremux_080209.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
dmz01
10th February 2008, 05:18
Can anyone tell me why HD MA will sometimes be converted to DTS ES and then others to regular DTS 2 channel when using the newest version of tsremux? For example, X-MEN 3 converts to DTS ES and Planet of the Apes converts to 2 channel DTS
Because there is no conversion. I only extract the core stream, whatever that maybe. Same is true for TrueHD to AC3 extraction. The decision on how much to put into the core stream is up to the original authors.
dmz01
10th February 2008, 05:21
I would need a small sample to fix this.
TSRemux v20 crashes when loading a vob file. v0.0.16 works though. Also works if I uncheck "Use async I/O". :-)
PleXuS
10th February 2008, 05:59
from what i read it still not possible to import subtittle to bluray structure with no subtitles?
where are the subtitles stored in bluray structure?
in the m2ts files?
best regards,
PleXuS
jamos
10th February 2008, 07:25
from what i read it still not possible to import subtittle to bluray structure with no subtitles?
where are the subtitles stored in bluray structure?
in the m2ts files?
best regards,
PleXuS
I think you mean tsmuxer not this program it supports subtitles if they are muxed in the m2ts. Tsmuxer currently does not support subtitles.
jamos
10th February 2008, 15:48
With TSremux .20 I am having issues with bluray. with .19 I do not have the issues. After I remux a m2ts to bluray using .20 the resulting structure will play in powerdvd or standalone
bd players but does not have audio (yes I unchecked bypass audio align). in .19 it does work in standalone players and powerdvd with audio with the Same Source. This could be just because of Tsmuxer not properly setting the dts audio correctly. I will just have to use .19 for these sources.
maya
11th February 2008, 04:21
Because there is no conversion. I only extract the core stream, whatever that maybe. Same is true for TrueHD to AC3 extraction. The decision on how much to put into the core stream is up to the original authors.
Thanks again.
dmz01
11th February 2008, 06:14
With TSremux .20 I am having issues with bluray. with .19 I do not have the issues. After I remux a m2ts to bluray using .20 the resulting structure will play in powerdvd or standalone
bd players but does not have audio (yes I unchecked bypass audio align). in .19 it does work in standalone players and powerdvd with audio with the Same Source. This could be just because of Tsmuxer not properly setting the dts audio correctly. I will just have to use .19 for these sources.
Can you provide a few seconds sample of your source?
n0mag!c
11th February 2008, 09:54
I have a Panny BD30K that will play all my discs authored with ULead, CyberLink, and Roxio, but the files are transcoded and lose quite a bit of quality. I tried writing the Blu Ray structure from tsReMuxer, but it won't play. Does anyone know how to get tsReMuxer BD structure to play in a set-top?
are sure that you burn bluray structure from tsremux as UDF2.50?
P.S. i'd like to buy this BD30 player, so can you please answer me, do it have "variable zoom" function as panasonic's dvd-players?
Atak_Snajpera
11th February 2008, 17:59
P.S. i'd like to buy this BD30 player, so can you please answer me, do it have "variable zoom" function as panasonic's dvd-players?
Instead of some crapy bluray player buy PS3. 399euro and you have very good console as well :)
Bigmango
11th February 2008, 18:45
Instead of some crapy bluray player buy PS3. 399euro and you have very good console as well :)
Yep I second that, its one of the best if not the best blu-ray player, the only future proof player with no limit on firmware updates it will support the BD 2.0 specs when they come out. It's also the best dvd upscaller and a nice media center :)
Thunderbolt8
11th February 2008, 19:04
does someone know exactly whats the current status on seamless branching movies with audio delay regarding .mkv remuxing (not with tsremux .mkv funtions, but mkvmerge etc.)? when you demux video & audio with xport from the .m2ts file, which was created by joining all the single files with copy /b, there will be a bit too much audio e.g. on average ~2.5ms for LPCM tracks or ~16ms for eac3 tracks for each joined .m2ts file (which can add up depending on their number). does someone know whether this would be the same when the with copy /b joined file is processed with tsremux 1st?
Rectal Prolapse
11th February 2008, 22:26
Thunderbolt8, I asked drmpeg (in PM) about the seamless branching issue. I hope he gets back to me about it one day.
My question is: Is the additional audio packet at the end of each m2ts segment repeated in the next audio segment? If so, is there a way to detect this additional audio packet and delete it, or does the audio need to be re-encoded?
hkazemi
12th February 2008, 07:41
Having been inspired by Pelican9's and DrMpeg's work, I decided to write a transport stream re-muxer similar in functionality to EvoDemux. Some of the features currently implemented:
Ability to demux elementary streams as well as subtitle streams compatible with SUPreader (right click the selected stream with the mouse)
Current Version 0.20
Hi dmz01,
First, thanks for working on this tool! Here are a few questions/notes/observations/suggestions:
1.) Does TsRemux include or get periodically updated to include all of the demuxing fixes that are added to xport.exe?
(According to http://www.w6rz.net/ , xport was "Updated 11/25/2007 - current version is 1.00" ).
2.) Is TsRemux at least as robust at demuxing .ts as xport?
(This is important for handling potentially broken broadcast ATSC streams, and I'd like to use whichever tool is a better ATSC stream demuxer in my scripts.)
3.) Can TsRemux functionally replace xport (i.e. does TsRemux have all of xport's features) (assuming a command line version of TsRemux is created)?
4.) How about TsRemux vs Evodemux ... is there anything Evodemux can do that TsRemux cannot?
5.) Have you considered adding GaveUp's AC3 bitrate header fixing code (from AC3 Cutter) as an AC3 processing option? This changing of the bitrate headers is important for maintaining sync when transcoding broadcast ATSC streams that switch between multiple different AC3 bitrates all in the same program. A common example is 384 kbps 5.1 AC3 for the main program and 192 kbps 2.0 stereo AC3 for the commercials. The source code for the last version (AC3 Cutter 0.3) is available in the zip file package:
http://forum.doom9.org/showthread.php?t=92325&page=2
http://www.64k.it/andres/data/a/AC3_Cutter_v0.3.zip
6.) Any thoughts about a command line version? This has been requested several times:
http://forum.doom9.org/showthread.php?p=1091937&highlight=command+line#post1091937
http://forum.doom9.org/showthread.php?p=1077931&highlight=command+line#post1077931
http://forum.doom9.org/showthread.php?p=1070483&highlight=command+line#post1070483
http://forum.doom9.org/showthread.php?p=1012089&highlight=command+line#post1012089
http://forum.doom9.org/showthread.php?p=1008821&highlight=command+line#post1008821
http://forum.doom9.org/showthread.php?p=1001708&highlight=command+line#post1001708
If anyone is thinking of creating a command line wrapper for TsRemux, let me suggest the GPL open source tool AutoHotKey from http://www.autohotkey.com/. For Linux users, it works fine under WINE per http://appdb.winehq.org/objectManager.php?sClass=version&iId=8043.
n0mag!c
12th February 2008, 08:19
Instead of some crapy bluray player buy PS3. 399euro and you have very good console as well :)
i've already bought PS3. :) and I was disappointed that it didn't upscale DVD's to 1080i/p, as my good old dvd-player does. so I'm still looking for UNcrapy bluray player to replace dvd-player. :)
Bigmango
12th February 2008, 09:24
i've already bought PS3. :) and I was disappointed that it didn't upscale DVD's to 1080i/p, as my good old dvd-player does. so I'm still looking for UNcrapy bluray player to replace dvd-player. :)
My PS3 upscalles DVDs perfectly to 1080p on my TV, and the same goes for all the people I know who have 1080p TVs.
Furthermore, the PS3 has been reported all over the web to be the best DVD upscaller; it outputs a better upscalling quality than other upscalling DVD players. Due to its cell processor it has more power for picture quality processing.
But of course for DVD upscalling to actually take place you need to enable 2 things in the PS3 settings:
- DVD upscalling (under DVD options)
- and 1080p (under supported screen sizes)
My guess is that you haven't enabled "DVD upscalling" :rolleyes:
dmz01
12th February 2008, 15:44
Answers: :)
Hi dmz01,
First, thanks for working on this tool! Here are a few questions/notes/observations/suggestions:
1.) Does TsRemux include or get periodically updated to include all of the demuxing fixes that are added to xport.exe?
(According to http://www.w6rz.net/ , xport was "Updated 11/25/2007 - current version is 1.00" ).
It doesn't since it was written from scratch and not from that code base.
2.) Is TsRemux at least as robust at demuxing .ts as xport?
(This is important for handling potentially broken broadcast ATSC streams, and I'd like to use whichever tool is a better ATSC stream demuxer in my scripts.)
It can tolerate some issues. I believe xport is better.
3.) Can TsRemux functionally replace xport (i.e. does TsRemux have all of xport's features) (assuming a command line version of TsRemux is created)?
I don't think so. Ron (DrMpeg, Dr1394 etc.) has a lot more experience in this area, and I'm but a newbie, so his product will be more stable - as the versions indicate. :)
4.) How about TsRemux vs Evodemux ... is there anything Evodemux can do that TsRemux cannot?
Yes - remux MPEG2 program streams (EVO, VOB, etc.)
5.) Have you considered adding GaveUp's AC3 bitrate header fixing code (from AC3 Cutter) as an AC3 processing option? This changing of the bitrate headers is important for maintaining sync when transcoding broadcast ATSC streams that switch between multiple different AC3 bitrates all in the same program. A common example is 384 kbps 5.1 AC3 for the main program and 192 kbps 2.0 stereo AC3 for the commercials. The source code for the last version (AC3 Cutter 0.3) is available in the zip file package:
http://forum.doom9.org/showthread.php?t=92325&page=2
http://www.64k.it/andres/data/a/AC3_Cutter_v0.3.zip
I could if there is a demand, or someone else can add that too.
6.) Any thoughts about a command line version? This has been requested several times:
http://forum.doom9.org/showthread.php?p=1091937&highlight=command+line#post1091937
http://forum.doom9.org/showthread.php?p=1077931&highlight=command+line#post1077931
http://forum.doom9.org/showthread.php?p=1070483&highlight=command+line#post1070483
http://forum.doom9.org/showthread.php?p=1012089&highlight=command+line#post1012089
http://forum.doom9.org/showthread.php?p=1008821&highlight=command+line#post1008821
http://forum.doom9.org/showthread.php?p=1001708&highlight=command+line#post1001708
If anyone is thinking of creating a command line wrapper for TsRemux, let me suggest the GPL open source tool AutoHotKey from http://www.autohotkey.com/. For Linux users, it works fine under WINE per http://appdb.winehq.org/objectManager.php?sClass=version&iId=8043.
It's on a to do list, are you volunteering? :D
jamos
12th February 2008, 18:24
i've already bought PS3. :) and I was disappointed that it didn't upscale DVD's to 1080i/p, as my good old dvd-player does. so I'm still looking for UNcrapy bluray player to replace dvd-player. :)
my ps3 upscales my dvds to 1080 do you have the 60 gig version?
jamos
12th February 2008, 18:26
i've already bought PS3. :) and I was disappointed that it didn't upscale DVD's to 1080i/p, as my good old dvd-player does. so I'm still looking for UNcrapy bluray player to replace dvd-player. :)
best bd player out there currently is the SONY BDP-S500, I have it. It supports dts-hd and true hd as well as AVCHD. it upscales dvds also.
jamos
12th February 2008, 18:28
.
But of course for DVD upscalling to actually take place you need to enable 2 things in the PS3 settings:
- DVD upscalling (under DVD options)
- and 1080p (under supported screen sizes)
My guess is that you haven't enabled "DVD upscalling" :rolleyes:
it upscales to 720p and 1080i as well too.
Atak_Snajpera
12th February 2008, 19:54
It's on a to do list, are you volunteering?
I have a better idea. Command line app only for BluRay structure.
e.g.
BlurayStructure.exe "video.m2ts" "c:\bluray"
That's all we need :)
hkazemi
12th February 2008, 20:12
Answers: :)
It doesn't since it was written from scratch and not from that code base.
That's what I wasn't clear on...if TsRemux was a code derivative of xport and/or Evodemux, or instead a derivative just in spirit and ability. You've clarified it as the second (which is fine).
I'm hoping that someone will be able to combine the best of all these tools into an uber .ts handling tool. Presently, corrupt stream handling capabilities are being incrementally added to various tools, whereas a fix-them-all stream handling tool would be wonderful. (If wizziwig/mwilczyn changes his mind on releasing the source code to mpeg2repair, that would probably become a important part of the combined code.)
Re: xport vs tsremux handling of damaged .ts streams
It can tolerate some issues. I believe xport is better.
Re: AC3 bitrate header fixing
I could if there is a demand, or someone else can add that too.
Re: command line version
It's on a to do list, are you volunteering? :D
AutoHotKey is the tool I would use to create a command line wrapper for any app. Since you said xport is probably a more robust demuxer (and I'm looking for the most robust tools for broadcast ATSC content), I don't think I need to create a wrapper at this point. In fact I feel a wrapper is not the right way to do it anyway, since the TsRemux source code is available from you...real command line access is the way to go. It's good to know that this is on a to do list. :)
Have you given any thought to what license, if any, that you're releasing your tools under? Should they be considered to be public domain, GPL, Creative Commons (some version), BSD, etc? I didn't see anything about its license status posted anywhere (or in the source code). Some coders sensitive to this issue may be concerned about re-using your code without knowing the license type.
If you haven't given it much thought, my suggestion is to pick a GPL or GPL-compatible license, like many other open source tools have done. This page has a list of compatible and incompatible licenses: http://www.gnu.org/philosophy/license-list.html One of my reasons for suggesting a GPL or GPL-compatible license is to make it a possibility to use the code in other GPL video projects that handle .ts streams, including MythTV with a digital tuner.
Thanks for all your contributions!
n0mag!c
13th February 2008, 10:58
But of course for DVD upscalling to actually take place you need to enable 2 things in the PS3 settings:
- DVD upscalling (under DVD options)
- and 1080p (under supported screen sizes)
My guess is that you haven't enabled "DVD upscalling" :rolleyes:
when I bought PS3 week ago, I went through ALL menu settings. Yesterday read you message, thought what a lamer I am, and walk through all menu items again but didn't find such a menu item "DVD upscaling". :eek:
I have 60Gb european PS3 v1.52 and 1080i tv connected via hdmi. please help me find this magic menu item! :)
Jamos says that PS3 can upscale to 720p and 1080i too.
zeroprobe
13th February 2008, 11:30
when I bought PS3 week ago, I went through ALL menu settings. Yesterday read you message, thought what a lamer I am, and walk through all menu items again but didn't find such a menu item "DVD upscaling". :eek:
I have 60Gb european PS3 v1.52 and 1080i tv connected via hdmi. please help me find this magic menu item! :)
Jamos says that PS3 can upscale to 720p and 1080i too.
Upgrade your firmware were on 2.1 now.
Bigmango
13th February 2008, 16:42
please help me find this magic menu item! :)
It's in the settings menu, under Blu-ray/DVD settings.
But as zeroprobe says, your old firware probably doesn't have this option, you need to update it. You are missing several features that are available in the newer firmware (divx playback and more).
n0mag!c
13th February 2008, 19:50
Upgrade your firmware were on 2.1 now.
yes! that was it! thanks a lot! a lot features were added in 2.10 firmware! including 'DVD-upscale'! continuing to test new version 'tsremux' on PS3...
Thunderbolt8
14th February 2008, 15:28
Thunderbolt8, I asked drmpeg (in PM) about the seamless branching issue. I hope he gets back to me about it one day.
My question is: Is the additional audio packet at the end of each m2ts segment repeated in the next audio segment? If so, is there a way to detect this additional audio packet and delete it, or does the audio need to be re-encoded?
im not sure whether its repeated, at least it would be so small you wont notice it when watching. im not that much familiar with the technical side of this :S I only know there is too much audio and therefore the video needs to be slowed down accordingly.
Rectal Prolapse
14th February 2008, 19:10
Depends on the audio format - if it is AC3, you will be off by an AC3 frame - 32 milliseconds, per segment! That is a lot! :O
For LPCM it is almost negligible - which explains why I didn't have any issues with audio sync when playing Ratatouille as I was using the LPCM track. :)
WarlordBB
17th February 2008, 19:53
Pardom me for being "the noob" - I just used TSremux for the first time. I processed an R5000 recording off my Dish STB of a movie on StarzHD. The orginal file was 18GB (2 hours and change).
I used TSremux with all default options and just trimmed the beginning and ending few minutes.
The resulting file plays exactly as the original (minus the trimmed sections) - same PQ and audio, however, the file size is 3.8GB.
I haven't watched the entire thing from beginning to end yet but this is not was I was expecting.
I thought TSremux was just a way to "fix" some issues, easily trim beg/end, and in some cases (like moving to a Blu-ray structure) restructure the resulting output.
How did it shrink my filesize 14GB?
I'm not complaining, I just don't quite understand.
Sad that I'm a professional programmer by trade but when it comes to this video stuff I feel like a nooblet. :)
jamos
17th February 2008, 20:11
One thing I have noticed is the BD format remux has issues with ff/rw recorded to disk AVCHD or BD. It seems to pause after a bit and you have to stop/start to get it to play again. It happens with all my h264 sources so sending a source to you wouldn't matter. Using commercial remux software I do not have this issue with the same h264 sources (ie ff/rw work fine).
jamos
17th February 2008, 20:14
Pardom me for being "the noob" - I just used TSremux for the first time. I processed an R5000 recording off my Dish STB of a movie on StarzHD. The orginal file was 18GB (2 hours and change).
I used TSremux with all default options and just trimmed the beginning and ending few minutes.
The resulting file plays exactly as the original (minus the trimmed sections) - same PQ and audio, however, the file size is 3.8GB.
I haven't watched the entire thing from beginning to end yet but this is not was I was expecting.
I thought TSremux was just a way to "fix" some issues, easily trim beg/end, and in some cases (like moving to a Blu-ray structure) restructure the resulting output.
How did it shrink my filesize 14GB?
I'm not complaining, I just don't quite understand.
Sad that I'm a professional programmer by trade but when it comes to this video stuff I feel like a nooblet. :)
well if your original container was mpeg2 source (ie vob, etc.) mpeg4 significantly reduces size compared to a mpeg2.
Exiton
20th February 2008, 04:52
Hey guys,
I love the GUI of TsRemux compared to Xport, but whenever I try to process a Lossless PCM elementry stream (Blu-Ray) from TsRemux, eac3to cannot read it. The process I use is right clicking on the audio and choosing the elementary stream. When I input the same stream demuxed by Xport, it picks it up fine. I tried a PES stream as well, but got the same error in eac3to. Is there something I'm doing wrong?
Thanks
nekrosoft13
20th February 2008, 22:37
great tool thanks!!
dmz01
20th February 2008, 23:17
Source code released under GPL
dmz
jamos
21st February 2008, 00:56
Source code released under GPL
dmz
nice! you still going to work on this correct?
dmz01
21st February 2008, 02:04
Yes. and now people can officially help me as well. Their names will simply be added to the copyright :)
Chumbo
21st February 2008, 04:29
Source code released under GPL
dmz
Nice. Have you considered hosting the project at codeplex.com? It'd be easier for other developers to get in on the fun and collaborate. :) Just an idea.
Gujs
21st February 2008, 08:28
Hello,
I have a problem with loading TS file made with mediacoder. I get this error:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at TsRemux.TsRemux.EnableCbxMlp()
at TsRemux.TsRemux.backgroundWorker2_RunWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e)
at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
at System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(Object arg)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
TsRemux
Assembly Version: 0.0.20.0
Win32 Version: 0.0.20.0
CodeBase: file:///C:/Share/Video/Editor/TSRemux/tsremux.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
If you want I can upload it to some place to take a look. It has 35MB of size.
dmz01
21st February 2008, 22:44
Hello,
I have a problem with loading TS file made with mediacoder.
If you want I can upload it to some place to take a look. It has 35MB of size.
Yes please do
Pelican9
21st February 2008, 23:05
Is the subtitle stream inmux work in TsRemux?
I cannot try myself, because I'm not home and no any BD stuff in my laptop. I'm just curious, because I've just finished the BD stream export in SUPread.
dmz01
22nd February 2008, 03:50
I didn't test it fully. It should, but I'm sure there are bugs.
lance79
22nd February 2008, 07:04
U can remux a stream tht already has a .sup file in it.U cant add a supread .sup to an existing m2ts without subtitles.
Gives me errors like, no valid input format... Would be great if this could be fixed.
Pelican9
22nd February 2008, 08:42
U can remux a stream tht already has a .sup file in it.U cant add a supread .sup to an existing m2ts without subtitles.
Gives me errors like, no valid input format... Would be great if this could be fixed.
And what about to change an existing subtitle stream to a new one made by SUPread?
lance79
22nd February 2008, 10:11
When i load a sup into supread(0.47b4) it doesnt extract the new sup.It says it does but there is no file in selected output folder.Also i cant select blu-ray output, only hd-dvd.
And what about to change an existing subtitle stream to a new one made by SUPread?
wgc_
22nd February 2008, 10:16
Thank you!!!!!!!!!!!!!
Gujs
22nd February 2008, 12:25
Yes please do
I uploaded it to http://www.zshare.net/download/7952802dad5905/
Pelican9
22nd February 2008, 17:42
When i load a sup into supread(0.47b4) it doesnt extract the new sup.It says it does but there is no file in selected output folder.Also i cant select blu-ray output, only hd-dvd.
You have to delete the registry keys of SUPread manually.
It's in HKEY_CURRENT_USER/Software/Pelican Software/HDSUP
You can delete the whole folder.
lance79
22nd February 2008, 18:27
Okay Supread works now, but tsremux still doesnt accept it.
You have to delete the registry keys of SUPread manually.
It's in HKEY_CURRENT_USER/Software/Pelican Software/HDSUP
You can delete the whole folder.
survivant001
22nd February 2008, 18:53
there is another way to add subtitle in m2ts ?
dmz01
22nd February 2008, 21:13
I uploaded it to http://www.zshare.net/download/7952802dad5905/
Loads and works fine here. What's the exact issue you see?
lance79
22nd February 2008, 22:23
Yeah, u can use Subtitle Workshop 4 to create scenarist subtitle format and mux with it.Its possible to generate from srt this way
there is another way to add subtitle in m2ts ?
jamos
23rd February 2008, 15:51
Yeah, u can use Subtitle Workshop 4 to create scenarist subtitle format and mux with it.Its possible to generate from srt this way
can you explain this, would love to get subtitles working for my guide.
lance79
23rd February 2008, 20:31
Its explained by XolocoTuxmaster in a earlyer thread.I could not get sync correct with that version of Subtitle Workshop but they say problems are fixed in latest(beta 2), haven't tested myself.
http://forum.doom9.org/showthread.php?p=1095653#post1095653
I think u can skip this part:
SUP:
Quote:
1. Use Supread's option 'Save bitmaps' to get the .png and .scn-sst files
2. Use the .scn-sst to create the .bdn (Sorry, I don't know the details)
can you explain this, would love to get subtitles working for my guide.
Pelican9
23rd February 2008, 23:49
Its explained by XolocoTuxmaster in a earlyer thread.I could not get sync correct with that version of Subtitle Workshop but they say problems are fixed in latest(beta 2), haven't tested myself.
http://forum.doom9.org/showthread.php?p=1095653#post1095653
I think u can skip this part:
SUP:
Quote:
1. Use Supread's option 'Save bitmaps' to get the .png and .scn-sst files
2. Use the .scn-sst to create the .bdn (Sorry, I don't know the details)
The newest version (0.49b) of SUPread can export BDN directly...
jamos
24th February 2008, 01:17
The newest version (0.49b) of SUPread can export BDN directly...
nice is the link in your sig ver. .49b??
lance79
24th February 2008, 07:13
Output to BDN when inporting sup seams to work but i cant load srt files with this version.
On load it gives me error:
abc.png not found!
You cannot import .srt files without it.
How hard is it to let supread create sup from bdn or srt directly?
The newest version (0.49b) of SUPread can export BDN directly...
Pelican9
24th February 2008, 08:30
Output to BDN when inporting sup seams to work but i cant load srt files with this version.
On load it gives me error:
abc.png not found!
You cannot import .srt files without it.
How hard is it to let supread create sup from bdn or srt directly?
You can download abc.png (http://pel.hu/down/abc.png) from my site. (RTM :))
As I wrote in SUPread's topic:
You can do the following now:
Import HD DVD subtitle stream -> export .srt subtitle
Import HD DVD subtitle stream -> export BD subtitle stream
Import HD DVD subtitle stream -> export bitmaps (BMP, PNG)
Import BD subtitle stream -> export .srt subtitle
Import BD subtitle stream -> export bitmaps (BMP, PNG)
Import BD subtitle stream -> export HD DVD subtitle stream
Import .srt subtitle -> export BD subtitle stream
Import .srt subtitle -> export bitmaps (BMP, PNG)
Import .srt subtitle -> export HD DVD subtitle stream
You can do also BD to BD or HD DVD to HD DVD but it doesn't make sense.
If you enable Scenarist export in Options, it creates subtitles.scn-sst and subtitles.bdn.xml also during bitmap saving.
I didn't understand exactly what other function do you need.
lance79
24th February 2008, 14:37
Well looks like all functions are there now, thanks alot for the work u put in.
You can download abc.png (http://pel.hu/down/abc.png) from my site. (RTM :))
As I wrote in SUPread's topic:
If you enable Scenarist export in Options, it creates subtitles.scn-sst and subtitles.bdn.xml also during bitmap saving.
I didn't understand exactly what other function do you need.
n0mag!c
24th February 2008, 19:19
http://img233.imageshack.us/img233/1681/samplefn3.jpg
here is my guess (I fugure that comparing two outputs from tsRemux with different "chapter lenght" output):
After color painted data we can see chapters info:
from C6: 00 00 00 9C - length of next data block
from CA: 00 0B - chapters count, and then all chapters data:
00 01 00 00 01 9B FC C0 FF FF 00 00 00 00
00 01 00 00 02 FB 2F 76 FF FF 00 00 00 00
00 01 00 00 04 74 EE 83 FF FF 00 00 00 00
00 01 00 00 06 45 E9 71 FF FF 00 00 00 00
...
Could anyone explain, how can I generate that kind of data from frame number or from timestamp?
musicman2311
24th February 2008, 23:02
Hi there - great work - is there a similar info available for the playlist and/or the main files in the directory (*.bdmv) ?
I still wonder to do this - create a menu with 2 or more small clips (mimimize encode time).
Create single video clips with e.g. Tsremux
replace single clips into the menue structre and replace 'dummy clips' with desired ones.
why ?
because all authoring software I know (I use Nero 8 mainly) does only do smart recode for AVCHD.
Anything else it tries to recode. For example several episodes of TV shows I have on several DVDs. These originals are of course compliant but might not fill the Blu ray disc completely.
Nero 8 for instance tries to fill it or at list recode it no matter how i set bitrates.
understanding this files structure better might be the solution.
Any help is greatly appreciated
kabanero
24th February 2008, 23:35
Hi there - great work - is there a similar info available for the playlist and/or the main files in the directory (*.bdmv) ?
I still wonder to do this - create a menu with 2 or more small clips (mimimize encode time).
Create single video clips with e.g. Tsremux
replace single clips into the menue structre and replace 'dummy clips' with desired ones.
why ?
because all authoring software I know (I use Nero 8 mainly) does only do smart recode for AVCHD.
Anything else it tries to recode. For example several episodes of TV shows I have on several DVDs. These originals are of course compliant but might not fill the Blu ray disc completely.
Nero 8 for instance tries to fill it or at list recode it no matter how i set bitrates.
understanding this files structure better might be the solution.
Any help is greatly appreciated
musicman,
Check my guide:
How to author MPEG-2 to AVCHD on DVD5 using Ulead DVD MovieFactory 6+ with HD pack without re-encoding MPEG-2 to AVC.
You can find PDF filde attached to my post:
http://www.avsforum.com/avs-vb/showthread.php?p=13065746#post13065746
musicman2311
25th February 2008, 02:18
kabanero,
seems to me you whatever you load into making blu ray ends up being 1 file, which you swap.
how about with several files which you create as seperate menu items (movie objects).
blu ray would create 00000.m2ts, 00001.m2ts and so on.
I have a lot of like 1 sec clips from my HD cam to create this structure under AVCHD.
now i want to seperately create movies from say 3 dvds. TSremux makes them all under the same file names.
I now want to apply your trick, but i guess some hex editing has to be done rather than just renaming files.
any idea or experience ? Thanks !
avchd with menue
kabanero
25th February 2008, 03:11
kabanero,
seems to me you whatever you load into making blu ray ends up being 1 file, which you swap.
how about with several files which you create as seperate menu items (movie objects).
blu ray would create 00000.m2ts, 00001.m2ts and so on.
I have a lot of like 1 sec clips from my HD cam to create this structure under AVCHD.
now i want to seperately create movies from say 3 dvds. TSremux makes them all under the same file names.
I now want to apply your trick, but i guess some hex editing has to be done rather than just renaming files.
any idea or experience ? Thanks !
avchd with menue
musicman,
I used my guide to test your scenario. I loaded two video files into MF6+. Applied the same method from my guide to each file.
So now I get:
1. Main menu with HOME, PLAY, Video 1, Video 2 buttons.
2. Menu for Video 1 with HOME, PLAY, Chapter 1, Chapter 2 buttons
3. Menu for Video 2 with HOME, PLAY, Chapter 1, Chapter 2 buttons
I have following files in the STREAM folder:
00000.m2ts
00001.m2ts
00002.m2ts,
00003.m2ts
00004.m2ts
where 00000.m2ts and 00001.m2ts are different video files.
Works like a charm. No hex editing required.
Plays perfectly on PS3.
musicman2311
25th February 2008, 14:01
musicman,
I used my guide to test your scenario. I loaded two video files into MF6+. Applied the same method from my guide to each file.
So now I get:
1. Main menu with HOME, PLAY, Video 1, Video 2 buttons.
2. Menu for Video 1 with HOME, PLAY, Chapter 1, Chapter 2 buttons
3. Menu for Video 2 with HOME, PLAY, Chapter 1, Chapter 2 buttons
I have following files in the STREAM folder:
00000.m2ts
00001.m2ts
00002.m2ts,
00003.m2ts
00004.m2ts
where 00000.m2ts and 00001.m2ts are different video files.
Works like a charm. No hex editing required.
Plays perfectly on PS3.
thanks i will try
arrgh
26th February 2008, 21:29
Hi,
above metioned BR don't work (1080p@24 with PowerDVD 7.3.3730; ISO-file with Imageburn 2.4 and UDF 2.5) after remuxing with version .20 (false colors and blocks; after a few seconds it freezes and crashes).
Sunshine is a mpeg4-AVC. The outcome is independant, whether you use the DTS-core of the DTS-HD or just use the DD-sound for the remux.
X-Men3 has the same constallation, but does work...
kurt
26th February 2008, 21:38
it's called bd+
jamos
27th February 2008, 03:51
it's called bd+
newest version of anydvd removes that protection i think
woah!
27th February 2008, 04:39
newest version of anydvd removes that protection i think
nope...
jamos
27th February 2008, 14:03
nope...
damn! well they should..:mad:
B4tm4n
27th February 2008, 15:16
damn! well they should..:mad:
Now that HD-DVD is dead they might spend more time in to disabling BD+, heres hoping.:)
Sebasd5
28th February 2008, 05:43
I just downloaded this app and it's great. What would make it even greater is the possibility of adding at least basic menus to select different tracks when using the Blu-Ray option, like for example if I have two episodes of a sitcom that I transferred from my DVR which depending on the channel can be small enough to fit two on one DVD, then a way to choose which track to play would be great. Do you have any plans for that?
Sebasd5
1st March 2008, 02:04
I've got a question regarding the Blu-Ray part of the program. I have several files from TV shows transferred from my cable DVR using Apple's AVCCap software. Then I open them on VideoRedo Plus and cut the parts I don't want, and save it as a TS. Since I started playing with TS Remux a few days ago I did a test with a few different shows selecting the Blu-Ray option, and then burning the rendered folders and files using Nero, UDF 2.50 or 2.60. So far I've burned only to DVD+RWs to test, and they play fine in my Blu-Ray player (Sony BDP-S300) but what doesn't work at all is the fast forward or reverse search. I can enter a timecode with the number buttons and it will go to it, but trying to go back or forward a few seconds results in the video being frozen at the current playing time and it stays there until I press play again.
Does anybody have any ideas on this? I tried different shows from different networks, and it happens in all of them.
nekowhizz
6th March 2008, 09:54
I've been using TSremux to rebuild a number of Blu-Rays, however I'm having problems with the following movies, where I load them in PowerDVD and it freezes after a few seconds.
The thing they all have in common is TrueHD, and it seems to be the cause behind the problem, as when I choose a different audio track, or to extract the DD core, the problem goes away.
The Reaping VC1 TrueHD
The Brave One VC1 TrueHD
TMNT VC1 TrueHD
Almost Famous AVC TrueHD
Spider-Man AVC TrueHD
Life of Brian AVC TrueHD
As I go through more discs I'll add the problematic ones to the list.
Many thanks for a truly wonderful program, I just wish someone would do the same for HD-DVD!
Chumbo
6th March 2008, 16:12
...Many thanks for a truly wonderful program, I just wish someone would do the same for HD-DVD!
You mean like EVOdemux?
nekowhizz
6th March 2008, 19:01
Well EVOdemux goes most of the way, but it doesn't rebuild the hd-dvd structure for the remuxed .evo, which is what I would like.
Though saying that HD-DVD doesn't require much slimming down, as they are usually short on extra audio and subtitles, and extras are very easy to delete.
Also, and rather strangely, I have found that when you use TSremux to convert the EVO's to Blu-Ray, the end result seems to always be bigger than the original HD-DVD... anyone know why that is? And this is after I have processed the evo's with EVOdemux to remove the unwanted extras. :confused:
Oh and if anyone knows how to remux a pcm track and a video file together, without compressing the resulting file, I would be extremely appreciative if you could share your knowledge in this dark art :) As I've looked at how to do it, and tried with many, many tools, but nothing seems to work.
:thanks:
hollydoc
6th March 2008, 19:36
Also, and rather strangely, I have found that when you use TSremux to convert the EVO's to Blu-Ray, the end result seems to always be bigger than the original HD-DVD... anyone know why that is?
M2TS - 192 byte packets
evo - 188 byte packets
hollydoc
bibikul
7th March 2008, 11:22
error "is not a valid Win 32 application" when I start tsremux on windows xp 64 and 32. what I have to do? i have .net frame 1.1, 2, 3 and 3.5.
BLKMGK
8th March 2008, 23:46
Which windows 64? App fired up fine for me on Vista 64.
lordvader1982
13th March 2008, 12:49
Hey all.
I've got a question. I've been using tsremuxer to remux my HD-DVD collection into ts files, for playback on my tvix 6500. Now, though the files playback fine, it seems that their framerate is being set to 29.97 fps, rather than 23.97 (meaning the 6500 outputs a 60Hz signal rather than 24Hz), which I assume is on the original disc.
Have I missed a step here ?
I'll appreciate any advice :)
kurt
13th March 2008, 12:57
@ lordvader1982: use vc1conv to remove the pulldown flag and then mux again. It works on the popcorn hour like a charm, so it should work on the tvix as well :)
n0mag!c
13th March 2008, 16:09
for playback on my tvix 6500. Now, though the files playback fine, it seems that their framerate is being set to 29.97 fps, rather than 23.97
Most customer's TVsets don't support 24fps input. Also most customers players (including tvix) don't support 24fps output. It's because NTSC standard defines 30fps broadcasting. But most customer's TVsets can do inverse telecine. For more information you can read http://en.wikipedia.org/wiki/Telecine
kurt
13th March 2008, 18:03
I think the tvix support 24 fps output actually.... but it is true - if you don't have a tv which supports 24hz natively yo have to go with 1080p60 ...
lordvader1982
14th March 2008, 06:35
The tvix does output 24Hz, and my tv does accept it.
I just remuxed a file with kurt's advice, so I'll try it when I get home tonight.
n0mag!c
14th March 2008, 09:34
The tvix does output 24Hz, and my tv does accept it.
Can you tell what model your TV is? And if you suppose that it can handle 24fps input (via HDMI?) then at which physical rate it shows movie?
48Hz (double frames)? 72Hz (triple frames)? Or it does 2:3 pulldown itself and sets 60Hz rate?
Have you really seen info from your TV about its current mode other then 1920x1080@60Hz or 1920x1080@50Hz? (I mean after "@")
Diodato
14th March 2008, 13:50
The 6500 starting from firmware 1.1.44 supports 24fps (drop frame and not). The problem lies that till now the frame rate is not detected in any of the Transport Stream files. If you select Info from the menu during play, you can see that Tvix reports 0fps. In such cases Tvix will play with the frame rate that matches your TV native (if you have selected auto EDID) or frame rate that you have set manualy in the Tvix setup.
Frame rate detection works fine for the matroska container.
My Samsung, when Tvix detects and plays the 23.97 files, reports @24. How the LCD panel is driven for the 23.97fps (2:2, 2:3, 3:3 pulldown etc) is up to the TV model. Although Samsung does not want to make an official statement, my 46N87 accepts 24fps and does 2:3 pulldown to drive the panel - judging from the judder.
n0mag!c
14th March 2008, 16:29
my 46N87 accepts 24fps and does 2:3 pulldown to drive the panel - judging from the judder.
so picture quality is equal in both playing mode on your TV?
My point is - 24p playback on TVs is pointless:
- TVs without additional frame interpolation do 2:3 pulldown itself
- on TVs with additional frame interpolation (like Philips DNM) you don't care about input, 'cause they can do inverse telecine (mine samsung 40M71 can't do inverse telecine on hard-telecined material - like some promo-dvds)
Diodato
14th March 2008, 17:47
so picture quality is equal in both playing mode on your TV?Ha, didn't think about actually comparing such two situations. Will check and post back.
My point is - 24p playback on TVs is pointless:
- TVs without additional frame interpolation do 2:3 pulldown itself
- on TVs with additional frame interpolation (like Philips DNM) you don't care about input, 'cause they can do inverse telecine (mine samsung 40M71 can't do inverse telecine on hard-telecined material - like some promo-dvds)I don't think pointless if the panel truelly does 2:2 or 3:3 pulldown.
lordvader1982
15th March 2008, 01:44
The 6500 starting from firmware 1.1.44 supports 24fps (drop frame and not). The problem lies that till now the frame rate is not detected in any of the Transport Stream files. If you select Info from the menu during play, you can see that Tvix reports 0fps. In such cases Tvix will play with the frame rate that matches your TV native (if you have selected auto EDID) or frame rate that you have set manualy in the Tvix setup.
Frame rate detection works fine for the matroska container.
My Samsung, when Tvix detects and plays the 23.97 files, reports @24. How the LCD panel is driven for the 23.97fps (2:2, 2:3, 3:3 pulldown etc) is up to the TV model. Although Samsung does not want to make an official statement, my 46N87 accepts 24fps and does 2:3 pulldown to drive the panel - judging from the judder.
That is EXACTLY the problem I'm having !!! I have a Samsung 1080p plasma, and the file does appear as having 0fps ...
I guess that's a bug with the tvix ?
For the time being then, I'll run my ts files at 60Hz, as I can't imagine what sort of trickery is performed to convert 24Hz to 50Hz (I'm pretty sure no consumer hardware does realtime PAL speedup !)
(oh, and my TV is a P91FDX, Australian model, equivalent to the 5084)
mkanet
17th March 2008, 23:44
Is there a software similar (and small) like this (that remuxs/edits blu-ray format files) with a working video preview window? It would be nice if there was something like VideoRedo that supported Blu-ray files.
Adub
18th March 2008, 21:29
This is a muxing tool. Why do you need a preview window? Eye candy?
mkanet
18th March 2008, 21:43
This tool also edits/crops out scenes. The "Trim Beginning / Trim End" features don't have anything to do with muxing. It's hard to know where to trim if you can't see it.
This is a muxing tool. Why do you need a preview window? Eye candy?
maya
19th March 2008, 04:29
What I did a couple months ago:
1) Ripped Ratatouille BD
2) Joined the main movie files using tssplitter
3) Used tsremux to keep only the video and dolby digital streams
4) Burned the file to a BD-RE as a data disc-played it several times in my PS3 without problems
2 days ago:
1) Put in my backup data BD-RE of Ratatouille in my PS3 and audio and video were out of sync and vido was studdering.
2) Tried streaming the file to my PS3 from my PC-same result as with the BD-RE backup
3) Tried streaming the file to my Tvix 6500-same result
4) Re-ripped the movie from the original and used tssplitter to join the main files, and used tsremux to keep only the video and DD audio streams.
5) Was able to stream to both the PS3 and to my Tvix without any problems
Today:
Same problem again-studdering and audio and video out of sync when streaming to either the PS3 or Tvix 6500.
I saw in another post that someone tried running it through tsremux twice and everything worked-I tried that and still have the same problem.
Doe anyone have any idea what I can do to get this to work again? Should I turn off the "I/O" sync on tsremux, or would that not do anything. Thanks in advance for any ideas at all.
--------------------------------------------------------------------------------
jamos
20th March 2008, 00:21
What I did a couple months ago:
1) Ripped Ratatouille BD
2) Joined the main movie files using tssplitter
3) Used tsremux to keep only the video and dolby digital streams
4) Burned the file to a BD-RE as a data disc-played it several times in my PS3 without problems
2 days ago:
1) Put in my backup data BD-RE of Ratatouille in my PS3 and audio and video were out of sync and vido was studdering.
2) Tried streaming the file to my PS3 from my PC-same result as with the BD-RE backup
3) Tried streaming the file to my Tvix 6500-same result
4) Re-ripped the movie from the original and used tssplitter to join the main files, and used tsremux to keep only the video and DD audio streams.
5) Was able to stream to both the PS3 and to my Tvix without any problems
Today:
Same problem again-studdering and audio and video out of sync when streaming to either the PS3 or Tvix 6500.
I saw in another post that someone tried running it through tsremux twice and everything worked-I tried that and still have the same problem.
Doe anyone have any idea what I can do to get this to work again? Should I turn off the "I/O" sync on tsremux, or would that not do anything. Thanks in advance for any ideas at all.
--------------------------------------------------------------------------------
Are you streaming wirelessly or hardwired? there is no way a file can play correct one time then not correct another time using the same file, unless you have either changed fw on the ps3, are wirelessly streaming and have interference (most likely cause for wireless streaming), or the disc you burned has not been burned well..ie your getting PIF errors that the player cannot fix (suggest you use good media like verbatim). One other obvious cause would be there's something wrong with your PS3. Have you tried TSmuxer it seems to work better for me with the ps3.
jamos
20th March 2008, 00:27
This tool also edits/crops out scenes. The "Trim Beginning / Trim End" features don't have anything to do with muxing. It's hard to know where to trim if you can't see it.
I use h264TS_Cutter it works well with trimming but you have to use a .ts or .m2ts file for it, and yes it would be nice to have it all in one tool. most likely it looks as if tsmuxer is going to replace this program (basically it does all the features now) as the source code of TSremux was given to Roman so you may want to ask Roman for that feature in TSmuxer.
mkanet
21st March 2008, 05:52
Jamos h264TS_Cutter looks perfect. However, I have no idea why I can't select frame-level accuracy for cut in/ cut out points. It seems to skip MANY frames when I fast forward/rewind to select cut points. I have tried playing with every configuration setting possible. I was so desperate I posted on their all German forum. But I'm not too optimistic I'll get any help there.
Is it dependent of any of my system's 3rd party directshow filters? I'm using Vista.
I'm willing to even make a modest paypal donation to anyone who can help me get a simple solution like this working with a preview window.
I use h264TS_Cutter it works well with trimming but you have to use a .ts or .m2ts file for it, and yes it would be nice to have it all in one tool. most likely it looks as if tsmuxer is going to replace this program (basically it does all the features now) as the source code of TSremux was given to Roman so you may want to ask Roman for that feature in TSmuxer.
Frodo
22nd March 2008, 12:00
I have a problem with tsremux0.0.20.
I tried to remux a m2ts-file with several languages, AVC video stream and several subpictures streams to a Blu Ray with AVC stream, 2 AC3 audio streams, 1 DTS stream and 2 subpicture streams.
After remuxing i tried to play the new "Blu Ray" with Power DVD. All works fine but when i choose the DTS track there is no audio playback. The information window in PDVD also shows no audio bitrate for DTS.
If i remux only the DTS audio stream and the video stream all works fine. Where is the problem. Can anyone help me??
Encoder888
23rd March 2008, 07:02
Hi,
I have a question, which I'm sure has been asked many times already, but I just didn't feel like reading thru all the posts, so I apologize for that.
So, I used TSSplitter to join together a BD movie, which uses seamless branching, and then used TSRemux to mux it properly. However, the final size of the fixed m2ts turned out to be 3GB smaller than the original and I was just wondering why that is. I did check all the boxes and retained all the features from the original, the length of both is the same, so why the difference in size... ? Please, let me know what may be causing this. Thank you.
The1n
23rd March 2008, 13:42
Hi,
I have a question, which I'm sure has been asked many times already, but I just didn't feel like reading thru all the posts, so I apologize for that.
So, I used TSSplitter to join together a BD movie, which uses seamless branching, and then used TSRemux to mux it properly. However, the final size of the fixed m2ts turned out to be 3GB smaller than the original and I was just wondering why that is. I did check all the boxes and retained all the features from the original, the length of both is the same, so why the difference in size... ? Please, let me know what may be causing this. Thank you.
Try TsMuxer instead , there you can append all those files and remux in one go.
The1n
wutang01
25th March 2008, 05:07
For some reason, I'm starting to get this problem on both my desktop and laptop.
I'm trying to convert a VOB to Blu-ray ... and it use to work.
I select all the settings and press Remux.
The Remux Progress timer starts from about 02:xx:xx, gradually goes down then jumps to 01:46:23, then after awhile jumps to 09:09:29.
It always happens now. I don't understand why. Is anyone experiencing this?
My desktop is running Vista Ultimate 64-bit SP1, and my laptop is running Vista Ultimate 32-bit (no SP1 though).
Thanks in advance!~
digitlman
25th March 2008, 18:45
Sounds like a problem with your PS3? have you gotten a software update that could have effected it?
What I did a couple months ago:
1) Ripped Ratatouille BD
2) Joined the main movie files using tssplitter
3) Used tsremux to keep only the video and dolby digital streams
4) Burned the file to a BD-RE as a data disc-played it several times in my PS3 without problems
2 days ago:
1) Put in my backup data BD-RE of Ratatouille in my PS3 and audio and video were out of sync and vido was studdering.
2) Tried streaming the file to my PS3 from my PC-same result as with the BD-RE backup
3) Tried streaming the file to my Tvix 6500-same result
4) Re-ripped the movie from the original and used tssplitter to join the main files, and used tsremux to keep only the video and DD audio streams.
5) Was able to stream to both the PS3 and to my Tvix without any problems
Today:
Same problem again-studdering and audio and video out of sync when streaming to either the PS3 or Tvix 6500.
I saw in another post that someone tried running it through tsremux twice and everything worked-I tried that and still have the same problem.
Doe anyone have any idea what I can do to get this to work again? Should I turn off the "I/O" sync on tsremux, or would that not do anything. Thanks in advance for any ideas at all.
--------------------------------------------------------------------------------
cpelliott
3rd April 2008, 08:28
I'm getting a crash on v0.0.20. It happens after I select an m2ts source file. The source file is the output from tsmuxer appending m2ts files. Here is the exception text:
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at TsRemux.TsRemux.EnableCbxMlp()
at TsRemux.TsRemux.backgroundWorker2_RunWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e)
at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
at System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(Object arg)
n0mag!c
3rd April 2008, 09:14
Same problem again-studdering and audio and video out of sync when streaming to either the PS3 or Tvix 6500.
I saw in another post that someone tried running it through tsremux twice and everything worked-I tried that and still have the same problem.
Thanks in advance for any ideas at all.
Is video stream in H.264 format? Try running twice through TsMuxer, not TsRemux.
maya
4th April 2008, 00:31
Is video stream in H.264 format? Try running twice through TsMuxer, not TsRemux.
Yes, AVC codec. I will give it a shot with close encounters and report back.
datman
4th April 2008, 22:30
Great program. I'm new at blu-ray back-ups. Your program has for the most part worked great.:thanks:
I have had a few problems on a few movies the true hd track is not compatible and the back-up will not play. It will start and in a few seconds it freezes. PDVD 3319a is locked up and have to force closing it. tsmuxergui would say there is an incompatible file when I tried to run it, which turned out to be the true hd track. On I am Legend I reprocessed it this time keeping 2 audio tracks truehd and DD. The movie still stalls on truehd and will play with DD
I'm not sure if you have seen this probem before.
also I played "I am Legend" with showtime It seemed to play longer but the audio cuts out and back in, then after a few moments it stops playing and locks up. As with 3319a the movie plays fine with DD+ track.
the other film I had this problem with is 300hd. Perhaps ripping to an ISO file is the way to go. I'm not there yet. I like remuxing and keeping only what I want. I need to save as much HDD space as I can. My wife is mad because I am spending so much money on these BD movies and computer crap (her words)
datman
5th April 2008, 05:59
I figured out part of my problem. You guys may already know this. On I am Legend there are 2 complete versions. I was joining them together and make a 3+ hour backup. I remuxed it again with TsRemux but it still crashed at the same spot about 7-8 mins in. On 300 I"m not sure why the uncompressed track would work. Someone said the is a problem when converting to blu-ray.
I was able to use tsmuxerGUI on I am Legend and get the truehd track to work.
mpiper
11th April 2008, 21:00
Is there any chance of adding the ability to add EVO as an output to the remuxer?
I'm looking for a program that can take an mp4 or MKV and convert to an EVO. This program has all the basic features for that action, so I am hoping it would be relatively easy to add this functionality.
Thanks!
datman
16th April 2008, 01:27
I am still having a few problems. Matrix 2 & 3 the MLP track is not compatable. The same with 300. All other movies have worked fine. I always choose the best quality options. I think I have remuxed other MLP audio track films with no problems
emufan
18th April 2008, 06:20
the last problem,the language code zho (or others)have changed to eng..
dirkr
18th April 2008, 09:53
Is it possible to integrate a cropping function (or Header change) to change 1088 files to 1080 files?!
Would be great. The reason for that is....by playing a 1088 file on a 1080display the scaling chip of the player would scale against and I loose detail and sharpness....
BigTony
18th April 2008, 18:13
I've been using version 0.19 with great results, but I've come across a problem. If the BR has a DTS-HD soundtrack, and I remux it along with the video track, the result is burned to a BR-RE disc, the video plays fine, but there is no sound?
Trying to playback with PDVD it has the soundtrack listed at DTA-HD but no bitrate is displayed and no sound is heard.
Is this a problem, i.e will I have to convert the DTS-HD soundtrack to DTS, or does version .20 fix this?
Cheers
BT
A great piece of software!
spacecat56
19th April 2008, 00:20
Having been inspired by Pelican9's and DrMpeg's work, I decided to write a transport stream re-muxer ...
dmz, Thank You for writing this program and for making exe and source available. I first tried it for ts188>m2ts and was able to get files to play nicely on PS3 - a very happy result. Then, I wanted to use tsremux0020 to remux some MPEG2 mixed program streams files (.mpg). But every time I tried to open one it failed with an exception dialog (System.NullReferenceException: ...at TsRemux.TsRemux.EnableCbxMlp() etc.). After poking around in the source code and debugger for a while I found that this problem resulted from code trying to allocate an IO buffer of about 72MB when processing files of this variety. That was a simple fix: just take off the "<< 2" (which is the same as "* 4") at what was line 463 in TsToPes.cs. With that fix the program would process the files OK.
But, it seemed somewhat slow, compared to other muxes and to its own processing of TS files. I dug into that and found that the code was processing PS files byte-by-byte; and I found two relatively simple optimizations (don't call System.ArrayCopy in the TsIo.Read() function if the caller requested a single byte, and process in bigger chunks in the EvoPesFile.GetNextPesPackets() function, after the point where it has found a length ). In my testing these speeded up remuxing from mpg to m2ts by a factor of about 2.5 to about 3.6 (depending on which machine I was testing on), making it comparable to the speed of ts>>m2ts remux, with output files exactly identical to the output from before I made these changes.
I also thought it would be really handy to be able to run TsRemux from the command line, so I added that capability. If you start with no arguments it runs as before, with arguments it runs in command mode. For an explanation of the arguments just run it with one (e.g. tsremux00201 ?) and since the minimum useful args count is 2, it lists the usage and quits. On WinXP it attaches the command window as its console; this doesn't work on Win2k, so in that case it opens a console-like window instead.
To help compare remux times accurately, I changed it when running in windowed mode to display the elapsed time in the Remux Progress textbox when the remux is done (command mode reports times for begin and end). Finally, I changed the open output UI to use a directory picker dialog, rather than a file open dialog, if you have selected Blu-Ray as the output option.
As you have published the tsremux source code under GPL, of course my own contributions are GPL also. I invite you to take them up in a future release. I offer them here "in the hope that they will be useful" but "without warranty of any kind".
I will attach a zip file with the modified source and the exe that I built from it in VS2005 Express... I guess it's up to forum admin when that actually may show up here.
Again, thanks dmz for the fine work in developing tsremux, and extra thanks for publishing the source,
"spacecat56"
MD5 checksum for the zip file:
A4BFE01E509C255C238EDF4CBE535382 - TsRemux0.20.01.zip
MD5 checksum for the exe (included in the zip file):
37167F14638A3DB7200DC4FDC4FA5682 - tsremux00201.exe
PS I actually used VS2008X to debug the original exception - unlike VS2005X, it works properly with breakpoints etc. in multi-threaded programs.
maya
19th April 2008, 16:03
I've been using version 0.19 with great results, but I've come across a problem. If the BR has a DTS-HD soundtrack, and I remux it along with the video track, the result is burned to a BR-RE disc, the video plays fine, but there is no sound?
Trying to playback with PDVD it has the soundtrack listed at DTA-HD but no bitrate is displayed and no sound is heard.
Is this a problem, i.e will I have to convert the DTS-HD soundtrack to DTS, or does version .20 fix this?
Cheers
BT
A great piece of software!
For DTS-MA titles I have just used tsremux 2.0 to extract the core DTS stream and then burned the output BDMV folder to a blank blu ray disc. It's just DTS audio, but at least the process works well.
mpgxsvcd
3rd May 2008, 04:21
I tried to cut the Chris Botti disk down to just the track with Sting in it. I set the beginning point to 19 minutes and the end point to 25 minutes. However, the resultant file started at 19 minutes and went all the way through the rest of the disc. Is there anyway to reliably cut a disc down to one scene with this program?
I also have problems with DTS-MA sound.
I try to remux .m2ts file with MPEG2 video and DTS-MA (or if it is DTS-HD) to a .ts file. I do click the "extract DTS core" option.
I would like the file to be playable on my Tvix 5000, but I always get only video. MediaInfo also says that there is no audio track at all.
Here's a sample of what I try to convert.
http://rapidshare.com/files/112574564/00002.TSSplit.1.m2ts.html
Any help would be appreciated.
br
Jofa
SeeMoreDigital
4th May 2008, 23:10
I also have problems with DTS-MA sound.
I try to remux .m2ts file with MPEG2 video and DTS-MA (or if it is DTS-HD) to a .ts file. I do click the "extract DTS core" option.
I would like the file to be playable on my Tvix 5000, but I always get only video. MediaInfo also says that there is no audio track at all. According to MediaInfo 0.7.6.5BETA, the DTS track is there: -eneral
ID : 1
Complete name : T:\Other Peoples Test Files\MPEG-2+DTS.ts
Format : MPEG-TS
File size : 65.3 MiB
Video
ID : 4113 (0x1011)
MenuID/String : 1 (0x1)
Format : MPEG Video
Format profile : Main@High
Format settings, Matrix : Standard
Bit rate mode : CBR
Bit rate : 38.0 Mbps
Nominal bit rate : 38.0 Mbps
Width : 1920 pixels
Height : 1080 pixels
Display aspect ratio : 16/9
Frame rate : 23.976 fps
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.764
Audio
ID : 4352 (0x1100)
MenuID/String : 1 (0x1)
Format : DTS
Format/Info : Digital Theater Systems
Bit rate : 1536 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Surround: L R, LFE
Sampling rate : 48.0 KHz
Resolution : 24 bits
Cheers
According to MediaInfo 0.7.6.5BETA, the DTS track is there: -
Ok, just to double check:
Is your output from MediaInfo from the resulting .ts file after remuxing the file I posted?
(I'm guessing yes).
Then what the #Ī%&! am I doing wrong?
Is it purely stupidity by the user (I.e. me)?
Could it depend on some installed or not installed codec?
Am I missing some external tool?
Do you do something other than:
- load the file into TsRemux
- Select an output file
- Select "extract DTS..."
- Select the Video track and the DTS-HD audio track
- Select "TS" for output format.
- Press "Remux" and wait.
I have also tried this with numerous other tools(for example tsMuxeR and tsConverter) but always with the same result.
I also upgraded MediaInfo a few weeks back, but I don't have exact version number now.
Confused....
/Jofa
ByeByeBluRay
5th May 2008, 09:42
No, you're not the only one. I have a bunch of Blu-Ray disks that I can't put on my media server because they only have DTS audio.
Whatever I do, the output from TsRemux is a file that both PowerDVD and Nero Showtime show as having only video.
:-(
SeeMoreDigital
5th May 2008, 16:54
Ok, just to double check:
Is your output from MediaInfo from the resulting .ts file after remuxing the file I posted?
(I'm guessing yes).Yes it was.... However, this is what MediaInfo 0.7.6.5BETA reports about your uploaded source: -
General
ID : 0
Complete name : C:T:\Other Peoples Test Files\00002.TSSplit.1.m2ts
Format : BDAV
Format/Info : BluRay Video
File size : 80.0 MiB
Video
ID : 4113 (0x1011)
MenuID/String : 1 (0x1)
Format : MPEG Video
Format profile : Main@High
Format settings, Matrix : Standard
Bit rate mode : CBR
Bit rate : 38.0 Mbps
Nominal bit rate : 38.0 Mbps
Width : 1920 pixels
Height : 1080 pixels
Display aspect ratio : 16/9
Frame rate : 23.976 fps
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.764
Audio #1
ID : 4352 (0x1100)
MenuID/String : 1 (0x1)
Format : DTS-HD
Format/Info : Digital Theater Systems
Channel(s) : 6 channels
Channel positions : Front: L C R, Surround: L R, LFE
Sampling rate : 48.0 KHz
Resolution : 24 bits
Audio #2
ID : 4353 (0x1101)
MenuID/String : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Bit rate mode : CBR
Bit rate : 448 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Rear: L R, LFE
Sampling rate : 48.0 KHz
Audio #3
ID : 4354 (0x1102)
MenuID/String : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Bit rate mode : CBR
Bit rate : 448 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Rear: L R, LFE
Sampling rate : 48.0 KHz
Audio #4
ID : 4355 (0x1103)
MenuID/String : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Bit rate mode : CBR
Bit rate : 224 Kbps
Channel(s) : 2 channels
Channel positions : L R
Sampling rate : 48.0 KHz
Audio #5
ID : 4356 (0x1104)
MenuID/String : 1 (0x1)
Format : AC-3
Format/Info : Audio Coding 3
Bit rate mode : CBR
Bit rate : 224 Kbps
Channel(s) : 2 channels
Channel positions : L R
Sampling rate : 48.0 KHz
As you can see, the DTS-HD audio stream is displayed.
Yes it was.... However, this is what MediaInfo 0.7.6.5BETA...
Hmm,
I guess I would have to get it from the SVN repository and compile it myself. I can only find 0.7.6.4 and it does not report the DTS track...:confused:
Do you know that it's just the MediaInfo version that does the difference, or could it depending on installed codecs?
Does tsRemux depend on installed filters and codecs?
Does MediaInfo do that?
In case of that anyone does that can you give me a hint on what I'm missing on my system?
Otherwise I guess I just have to wait for the upcoming MediaInfo version.
All versions of MediaInfo I've tried so far also displays all Audio tracks in the original file ok.
/Jofa
SeeMoreDigital
5th May 2008, 17:53
Here's were you can obtain MediaInfo 0.7.6.5BETA: -
http://www.mediafire.com/?gda31fknezd
But please report any problems with it here: -
http://forum.doom9.org/showthread.php?t=96516&page=16
Cheers
Thank's!
"Unfortunately" 0.7.6.5BETA did show exactly the same thing on my system as on yours. I.e. the DTS audio is now indicated properly.
"Unfortunately", since that means that there is less hope of getting these files playable by my Tvix 5000 without reencode.
:(
Thank's for the help!
/Jofa
SeeMoreDigital
5th May 2008, 18:37
"Unfortunately", since that means that there is less hope of getting these files playable by my Tvix 5000 without reencode.Just to let you know... I'm able to play the re-muxed files containing DTS and DTS-HD using my Ziova CS615 (test unit).
Yes, thank's.
I've heard they play well on several Sigma EM8635/34 based players. I'm not to eager to buy one yet however...
/jofa
mpgxsvcd
5th May 2008, 19:23
I tried to cut the Chris Botti disk down to just the track with Sting in it. I set the beginning point to 19 minutes and the end point to 25 minutes. However, the resultant file started at 19 minutes and went all the way through the rest of the disc. Is there anyway to reliably cut a disc down to one scene with this program?
Any help on this?
...more on MPEG2 and DTS .TS files.
Here is a sample with MPEG-2 video an DTS audio, that the Tvix 5000 can play. http://www.sendspace.com/file/cgwxdt
MediaInfo 0.7.6.4 (i.e. not necessary to have the latest greatest) shows the DTS track ok also.
Would it be possible to add an option to TsMuxer to change the video and/or audio PIDs (?) to these values in order to get a file with the same structure as this, from a .m2ts MPEG-2 DTS-HD file?
Anyone with more knowledge on this is very welcome to correct me. Is it the "PIDs" that is the problem? Or is it MenuID or...???
Anyway the MPEG-2 + DTS info as it is shown in SeeMoreDigitals post above is not playable (for me). And the sample file in this post is. Which MediaInfo reports as:
General #0
ID : 1
Complete name : K:\The.Lord.Of.The.Rings.The.Two.Towers.Extended.Edition.DTS.1080p\The.Lord.Of.The.Rings.The.Two.Towers.1080p.disc01.ts
Format : MPEG-2 Transport
Format/Family : MPEG-2
File size : 4.30 GiB
PlayTime : 35mn 49s
Bit rate : 17.2 Mbps
Video #0
ID : 17 (0x11)
MenuID/String : 1 (0x1)
Codec : MPEG-2 Video
Codec/Family : MPEG-V
Codec profile : Main@High
Codec settings, Matrix : Standard
PlayTime : 35mn 49s
Bit rate mode : CBR
Bit rate : 15.3 Mbps
Nominal bit rate : 15.0 Mbps
Width : 1920 pixels
Height : 1088 pixels
Display Aspect ratio : 16/9
Frame rate : 23.976 fps
Standard : NTSC
Chroma : 4:2:0
Interlacement : Progressive
Bits/(Pixel*Frame) : 0.299
Writing library : Jan 27 2006
Audio #0
ID : 20 (0x14)
MenuID/String : 1 (0x1)
Codec : DTS
Bit rate : 768 Kbps
Sampling rate : 48.0 KHz
Resolution : 24 bits
Language : English
Audio #1
ID : 21 (0x15)
MenuID/String : 1 (0x1)
Codec : AC3
Bit rate mode : CBR
Bit rate : 448 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Rear: L R, LFE
Sampling rate : 48.0 KHz
Language : English
Any info or solution to this would be much appreciated. What would need to be changed?
br
Jofa
Jofa,
I normally use TSMuxer to convert DTS-HD to DTS (or TrueHD to AC3) at the point when I remux the .m2ts from bluray to .ts and remove excess audio. These files play back fine on Tvix 5100SH.
-jj-
Jofa,
I normally use TSMuxer to convert DTS-HD to DTS (or TrueHD to AC3) at the point when I remux the .m2ts from bluray to .ts and remove excess audio. These files play back fine on Tvix 5100SH.
-jj-
Ok,
have you tried to remux and play the sample I posted a few posts back. (The one with DTS-HD)?
Which tsMuxeR version do you use?
I have tried tsMuxer to do the same but have so far not been able to play the result.
/Jofa
NanoBot
8th May 2008, 15:08
Posting deleted by the author. I accidentally posted in the wrong thread because I was confused about TsRemux and tsMuxeR.
NanoBot
Ok,
have you tried to remux and play the sample I posted a few posts back. (The one with DTS-HD)?
Which tsMuxeR version do you use?
I have tried tsMuxer to do the same but have so far not been able to play the result.
/Jofa
Remuxed to .m2ts with TSMuxer 1.84 once with DTS-HD converted to DTS and then again original file untouched. All three files (including the original) played back fine on the 5100-SH.
Cheers,
-jj-
dmz01
20th May 2008, 05:37
New version 0.21.1 - new features by spacecat56 - command line capability and performance fixes. In addition this is a bug fix release where a lot of crashes have been fixed.
mirror: http://maxupload.com/4DBF4453
dmz01
20th May 2008, 15:01
New version 0.21.2 - there was a bug in spacecat56 code that would break processing of M2TS input files. This bug exists in both spacecat65's version of TsRemux and 0.21.1 official version. For M2TS input please use 0.21.2. No other fixes or changes.
dorati
20th May 2008, 15:31
Thanks.
Please verify the Link to your Source Code (GPL).
It is linked to TsRemuxSrc0.20.zip (20.02.2008)
mirror: http://maxupload.com/0580B79D
Momber
20th May 2008, 20:05
Yet another mirror: http://www.sendspace.com/file/8i8u4j
@dmz01:
Hello there! Nice to see you back.
I was beginning to worry you might have abandoned this fine project.
Are you ready to listen to bug reports and/or feature requests?
S.
dmz01
21st May 2008, 01:56
Source code link updated.
I'm always ready to listen to bug reports. But I do need small samples for that reproduce the problem. In terms of new features I welcome the requests, but for now I have limited time resources for those.
hotinfo
21st May 2008, 02:36
Thanks a lot!
SuperGoof
21st May 2008, 04:49
@dmz01:
If possible, can you please change the default server, where you put the executable file and the source code as well. For a second day in a row, the server gives me a message saying "All download slots assigned to your country are currently in use" and asks me to download and install some "Megaupload toolbar", which I don't want to have on my computer at all. Of course there are several mirrors for the executable file, but I would like to have a look at the source code as well. Thanks!
pattana
21st May 2008, 05:34
THank you for great app.
Momber
21st May 2008, 09:01
I'm always ready to listen to bug reports. But I do need small samples for that reproduce the problem. In terms of new features I welcome the requests, but for now I have limited time resources for those.
I understand. No worries.
So here are some features/fixes that would interest me personally:
- Display the language and bitrate information of the various audio streams contained in an EVO or m2ts that is being added to a project.
- When muxing to BluRay with more than one audio stream, all the languages are tagged "English". It would be great to have a pulldown menu to assign other language codes to the audio streams.
- Accept elementary streams as input
- Subtitles from HD DVD (PGS) are muxed to BluRay, but they cannot be displayed by PowerDVD. A format conversion seems to be required. And yes, being able to change the position of those PGS would be great also.
- Removing the end-of-file flags from m2ts files joined with copy /b appears to work only when output = m2ts is selected, not when muxing directly to BluRay. In that context, having an "append" function in Tsremux would save a lot of time, too.
- Add ability to remove flags interlaced = 1 and pulldown = 1 from HD DVD video streams and (automatically) change fps from 29.97 to 23.976 in those cases. I believe the standalone tools that do this (vc1conv and h264info) are open source and could be integrated into Tsremux.
I do appreciate that there are other tools out there (not too far away from this thread actually) that have some or all of those features already but regardless, I think integrating them into Tsremux would make it an even more useful helper.
TIA!
S.
Tnx for the great tool, it does everything i hoped for.
I have one little question.
I use the tool mainly for demuxing m2ts bluray files. I was wondering if the languages of the audio and subtitle tracks can be found anywhere.
At this time its showed as ... stream #X, i was wondering if I could find the right languages somewhere on the bluray disc (just like I can with the IFO files from a DVD).
cutadel
26th May 2008, 12:17
Unfortunately the Panasonic BD30 does not play PAL based Bluray structures on DVD created with TSRemux from H.264 TS/M2TS-files. Investigating the possible reason i found, that framerates written in the Playlist and Clipinf files are NTSC based (e.g. 29,67 instead 25 fps) and therefore contradicting with the PAL-Video in the Stream folder.
Anybody the same problem and what should i do to solve it (TsMuxer does not apply for another reason) ?
Is there a PAL-version of TSRemux or the possibility to edit the created bluray-structure ?
MBoufleur
27th May 2008, 18:11
Indeed, thanks for the great app!
I used it to demux some files from a new standard and I found some minor issues here (http://forum.doom9.org/showthread.php?p=1142347#post1142347).
zeropc
29th May 2008, 09:58
i have problem with a joined movie...
after i joined the movie with copy /b cmd i imported it into tsremux and exported it so that the joining gaps getting fixed. after that i imported the new file in tsmuxer which says that the dts-hd master audio is gone. there is only the core left in the stream. i haven't selected the option to output only the core in tsremux. just to make sure, i re-did it and double checked that the option for core export was not selected and still i get only the dts core in the final file.
any ideas what that could be and how to fix it?
ByeByeBluRay
29th May 2008, 15:28
i have problem with a joined movie...
after i joined the movie with copy /b cmd i imported it into tsremux and exported it so that the joining gaps getting fixed. after that i imported the new file in tsmuxer which says that the dts-hd master audio is gone. there is only the core left in the stream. i haven't selected the option to output only the core in tsremux. just to make sure, i re-did it and double checked that the option for core export was not selected and still i get only the dts core in the final file.
any ideas what that could be and how to fix it?
Why not just join it using TsMuxer? I've done a few now and have had no join problems at all (unlike with TsRemux)
zeropc
29th May 2008, 20:31
i was told that the joining option in tsmuxer isn't perfect yet. that's why i tried tsremux for this task.
Momber
30th May 2008, 12:00
after that i imported the new file in tsmuxer which says that the dts-hd master audio is gone. there is only the core left in the stream.
That may just be a bug in tsMuxeR. What about file sizes? If the dts-HD information was dumped somehow, the output file would be considerably smaller than the input file.... do you still have 'em both to compare?
What if you re-import the processed file into TsRemux (instead of tsMuxeR) - does it, too, report only regular dts?
S.
Momber
30th May 2008, 12:01
i was told that the joining option in tsmuxer isn't perfect yet.
That's true imho.
S.
Source code link updated.
I'm always ready to listen to bug reports. But I do need small samples for that reproduce the problem. In terms of new features I welcome the requests, but for now I have limited time resources for those.
dmz01 first off fantastic app thanks for the time and effort you put into it, Now a request would it be at all possible for you to add a Split/Cut file feature similar to the one in Tsmuxer.
Thanks again:)
73ChargerFan
31st May 2008, 05:06
That's true imho.
S.
I've been using eac3to to join those horrendous branching BD disks, and the results are spectacular.
zeropc
31st May 2008, 15:46
That may just be a bug in tsMuxeR. What about file sizes? If the dts-HD information was dumped somehow, the output file would be considerably smaller than the input file.... do you still have 'em both to compare?
What if you re-import the processed file into TsRemux (instead of tsMuxeR) - does it, too, report only regular dts?
S.
the filesize is alot smaller after running it through tsremux, which is understandable as it kicks out the hd audio data. tsmuxer reads it then as dts core. when i re-imported the new file in to tsremux, it does say dts hd master hd (weird) but when i demux this stream, i only got the core file. i demuxed the dts hd master audio from the original file and it's about 2 - 3gb bigger, depending on the movie and channel setup (5.1, 6.1, 7.1).
it seams to me that there is a bug in tsremux regarding this particular problem. i can't confirm this on every film because i mainly use tsmuxer but these branching films i use tsremux. maybe they are the problem?
Momber
1st June 2008, 10:07
the filesize is alot smaller after running it through tsremux
Well, there is your proof. You found a bug!
i mainly use tsmuxer but these branching films i use tsremux. maybe they are the problem?
Perhaps.
I agree with 73chargerfan that you should probably consider using eac3to for those seamless branching titles. It can detect and remove audio overlaps in the individual segments, too, which is very useful.
S.
rumpumpel1
1st June 2008, 10:39
thanks for this really nice tool.
Finally I found a tool, which makes a single seekable file from several VOB files
containing multiple audio tracks. Just the subtitles are missing.
So I would like to ask if there are any plans to support the subtitle tracks inside a VOB ?
Schmendrick
3rd June 2008, 19:43
@dmz01: First thank you for your great tool.
One suggestion I like to make is that it seems to be important to only burn the BDMZ-folder without the anyway empty CERTIFICATE-folder using UDF 2.50 onto a DVD+-R/RW. This has been suggested by Volker Zota in issue No.9 of the german c't-magazine. I found out that this is correct. A remuxed recording from a BBC HD-satellite transmission could be played perfectly on bluray standalone players of Samsung, Philips and Pioneer. A Sharp bluray-player just complained "incompatible media" an rejected the disc. These were the only four bluray players I have tested.
Schmendrick
titof
5th June 2008, 03:28
New version 0.21.1 - new features by spacecat56 - command line capability and performance fixes. In addition this is a bug fix release where a lot of crashes have been fixed.
Hello,
How can we use this command line ?
I would like to do a batch with tsremux and I think the command line is the best way, but I didn't find any information...
Thanks
CiNcH
5th June 2008, 07:21
Do you guys know the format of the m2ts 4-byte timecode and what each byte represents?
drmpeg
5th June 2008, 08:32
Do you guys know the format of the m2ts 4-byte timecode and what each byte represents?
It's 2 bits of copy control and then 30 bits of arrival timestamp (based on the same 27 MHz clock that's used for the Transport Stream PCR).
Ron
CiNcH
5th June 2008, 09:22
It's 2 bits of copy control and then 30 bits of arrival timestamp (based on the same 27 MHz clock that's used for the Transport Stream PCR).
Thanks. Do you also have some more information (bit-wise) on the arrival timestamp to be able to use it within an application?
drmpeg
5th June 2008, 09:53
Thanks. Do you also have some more information (bit-wise) on the arrival timestamp to be able to use it within an application?
Like so:
byte 1 byte 2 byte 3 byte 4
[7 6] [5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0]
2 bits 30 bits
CiNcH
5th June 2008, 09:58
That was actually clear with your first post already ;) .
PCR within TS for example consists of 42 bit, devided into 33 bits PCR_base (90 khz precision) and 9 bit PCR_extension (extended 27 MHz precision). What about ATS? Need some more info about those 30 bits..
drmpeg
5th June 2008, 12:21
That was actually clear with your first post already ;) .
PCR within TS for example consists of 42 bit, divided into 33 bits PCR_base (90 khz precision) and 9 bit PCR_extension (extended 27 MHz precision). What about ATS? Need some more info about those 30 bits..
It's a 30 bit unsigned integer representing the 27 MHz clock. In other words, it's the lower 30 bits of the 27 MHz normalized PCR. By 27 MHz normalized PCR, I mean:
(PCR_base * 300) + PCR_ext
If you look at the arrival_time_stamp of a packet containing a PCR, you'll see that they are very close to the same value.
Ron
CiNcH
5th June 2008, 12:43
Hmmm...
2^30 - 1 = 1073741823
For 27 MHz this means 1073741823 / 27000000 = 40 seconds
Guess a film is longer than that...
drmpeg
5th June 2008, 12:51
Hmmm...
2^30 - 1 = 1073741823
For 27 MHz this means 1073741823 / 27000000 = 40 seconds
Guess a film is longer than that...
It's more than enough precision for it's intended purpose (which is to transform the variable rate TS back into a fixed rate TS).
Ron
Schmendrick
6th June 2008, 15:17
Hi Ron,
isn't the ISO13818-1 paper which neuron2 has available here:
http://neuron2.net/library/mpeg2/iso13818-1.pdf
the right paper to look for the standard definition of the timestamps?!
On page 49 in table 2-17 of chapter 2.4.3.6 "PES Packet" where the content of a PES-packet is defined
a definition of the PTS-timestamp is included.
This is at least the reference which so far I have used successfully to calculate the
time delay of audio-tracks relative to video-tracks included in satellite DVB-TS-streams.
Schmendrick
drmpeg
7th June 2008, 00:29
Hi Ron,
isn't the ISO13818-1 paper which neuron2 has available here:
http://neuron2.net/library/mpeg2/iso13818-1.pdf
the right paper to look for the standard definition of the timestamps?!
On page 49 in table 2-17 of chapter 2.4.3.6 "PES Packet" where the content of a PES-packet is defined
a definition of the PTS-timestamp is included.
This is at least the reference which so far I have used successfully to calculate the
time delay of audio-tracks relative to video-tracks included in satellite DVB-TS-streams.
Schmendrick
No, the arrival_time_stamp is not part of ISO13818-1. It's new for HDMV (.m2ts files) and defined in the Blu-ray specification (and I guess the AVCHD specification, but I've never seen that one).
Ron
jangai
13th June 2008, 07:44
Hello,
Newbie for TsRemux v0.21.2...
All files I have downloaded (even a previous release) don't want to load under Windows XP with same msg :
"Application has not succeed to correctly initialize (0xc0000135) Clic OK to stop"
No special stuff on this computer... I don't understand... Something missed ???
:thanks:
B4tm4n
13th June 2008, 12:21
Hello,
Newbie for TsRemux v0.21.2...
All files I have downloaded (even a previous release) don't want to load under Windows XP with same msg :
"Application has not succeed to correctly initialize (0xc0000135) Clic OK to stop"
No special stuff on this computer... I don't understand... Something missed ???
:thanks:
You need .net from windows installed, I think version 2 at least ( I think ).
jangai
13th June 2008, 18:53
You need .net from windows installed, I think version 2 at least ( I think ).
Hmmm ! Yes... It's a brand new PC for software and... .Net has been forgotten !
Thank you... :)
hollydoc
23rd June 2008, 15:06
i have a question about the "bypass audio alignment" feature.
What does this mean in detail??
Hollydoc
v.0.0.21.2
When I load my mpeg program stream files recorded from a Nebula DigiTV card & software, the DVB(UK) subtitles are correctly detected as "Presentation Graphics Stream # 32".
So far so good.
After remuxing to TS or M2TS format, neither VLC nor VideoRedoTVS see the subtitles.
Can anyone help with this?
psme
13th July 2008, 10:56
Thanks for the great tools! :)
I have a question and wonder if TSRemux can help...
My PC plays all those TS clips, but my standalone media player plays some TS clips with picture, but no audio. I found that all the clips with both correct picture and sound, TSRemux gives the info:
- MPEG2 Video Stream # xx
- MPEG2 Audio Stream # xx
But those problem clips play with only picture, but NO audio (standalone media player), TSRemux will show the clip as:
- MPEG2 Video Stream # xx
- Unknown Stream of type 15
PC software player seems don't care the issue and decode the audio fine. In most case the audio is AAC.
Can TSRemux remux/redefine the "Unknown Stream of type 15" stream back to "MPEG2 Audio Stream # xx", so that my standalone media player can play the clip property? If TSRemux can not do this, is there other software to use? Thanks in advance!
regards,
Li On
Schmendrick
13th July 2008, 14:44
Like you correctly have found out these ts-clip are clip containing AAC-audio streams which TsRemux so far is unable to detect and handle properly. If you want a ts-clip which is playable by your standalone media player this media player also has to be able to decode the audio track. If it apparently is unable to decode AAC-audio streams you will have to reencode them into a decodable format which is possible:
Gdsmux included within the Haali-splitter package is able to remux theses MPEG2 and AAC-video clips into .mkv-files from which then you can extract the elementary video and audio streams with MKVExtractGUI. Then you can renencode the AAC-file into an AC3-file and then use Tsmuxer to mux this AC3-file with the demuxed MPEG2-file to produce a ts-file which should be playable in your standalone media player. A synchronization offset between the video and audio track however might be an issue to be solved.
Schmendrick
psme
14th July 2008, 02:26
Hi Schmendrick, thanks for the help.
Sorry I haven't state clearly my situation. The problem is NOT because the standalone media player does not support AAC audio. Those (most of my clips) play correctly both picture and audio, are using AAC audio track. As long as TsRemux shows the clip audio track as "MPEG2 Audio Stream # xx" (which is actually AAC audio track in most of my clips), the standalone media player play the AAC audio track fine. But if the TsRemux shows the clip's audio track as "Unknown Stream of type 15", then standalone player gives no sound.
It'd be great if there is a easy way to reassign/redefine the audio track so that TsRemux can see the audio track as "MPEG2 Audio Stream # xx", and I guess then my standalone media player can properly decode the audio track.
I tried simply demux the clip and remux (TsMuxer) but TsRemux still shown the audio track as "Unknown Stream of type 15"...
regards,
Li On
SeeMoreDigital
14th July 2008, 09:19
Hi psme,
Out of interest, which make/model of stand-alone media player have you got?
matrix40
19th July 2008, 11:29
Have any of you had problems with 28 Weeks Later blu ray audio with tsremux? There is one DTS Hd master audio
and several dolby digital audio streams. No mater which one i use (for the english ones) I keep getting the directors audio commentary in the background. has anyone tried this blu ray disk?
starmanj
19th July 2008, 19:20
Can someone post a simple paragraph on how trim beginning and trim end works? It is not very intuitive; I get very bizarre outcomes when I try obvious settings. If I trim say 10 seconds in first field, then input 59mins 30 seconds at end, I get a short unplayable file rather than 59mins and 20seconds of video. What exactly does "trim beginning" and "trim end" mean?? And what is "SUP Offset"? I see references to these things in the thread but no explanations.
Thanks!
B4tm4n
19th July 2008, 20:56
Can someone post a simple paragraph on how trim beginning and trim end works? It is not very intuitive; I get very bizarre outcomes when I try obvious settings. If I trim say 10 seconds in first field, then input 59mins 30 seconds at end, I get a short unplayable file rather than 59mins and 20seconds of video. What exactly does "trim beginning" and "trim end" mean?? And what is "SUP Offset"? I see references to these things in the thread but no explanations.
Thanks!
I think you put in the number of seconds you want trimmed, for example if you want 10 seconds trimmed at the beginning you'd put 10 in the first field. And if you wanted 10 seconds trimmed from the end you'd put 10 in the second field.
piratburner
1st August 2008, 09:44
Hi!
It's looks like that's is not possible to get the DTS-HD track ?
I make a remux from a m2ts , First I looked at that file in mediainfo and looks ok, after the remux i looked again, and the sound have a bitrate of 1.5Mbit not Variable :-(. So its looks like this SW take the core instead.
When I ran this at tsMuxeR i got Variable bitrate :-)
yawoo
5th August 2008, 16:20
I have a sample TRP file recorded by my set-top-box. I would like to convert it to TS format. Using TSRemux, it can recognize all video and audio streams. But it cannot detect the existing subtitle stream. How can I fix it? Here is the sample TRP file (11MB). Thx a lot.
http://www.u-file.net/f-hkr3913
Schmendrick
5th August 2008, 17:53
You should rather use Project-X instead of TsRemux as your source file is a standard SD-resolution MPEG2-file which properly can be demuxed by Project-X which also is able to extract your chinese sup-subtitle stream. In the sample you have provided I have found 7 subtitle images.
Schmendrick
yawoo
5th August 2008, 18:23
You should rather use Project-X instead of TsRemux as your source file is a standard SD-resolution MPEG2-file which properly can be demuxed by Project-X which also is able to extract your chinese sup-subtitle stream. In the sample you have provided I have found 7 subtitle images.
Schmendrick
Thx for your advice.
I have another TRP file with H264 video stream, which cannot remux to TS by ProjectX. Moreover, the SUP subtitle extracted by ProjectX cannot be remuxed to TS by TsRemux. Is it possible to re-pack all streams, including video, audio and subtitle, of this type of TRP to TS? Thx a lot.
http://www.u-file.net/f-fvs5138
rica
5th August 2008, 18:42
Yawoo, i think you are not alone; but sorry i'm not used to terrestrial broadcast and i'm afraid you have to wait until a handsome demuxer fixes this issue.
http://archives.free.net.ph/message/20080620.153444.006530a2.en.html
BTW i also gave it a go with your files on DVB Viewer Pro; no subtitles..
Schmendrick
5th August 2008, 21:35
I am not familiar with subtitle processing, but even though the other video contains a H.264-video stream still Project-X is able to demux everything except the h.264 video. The h.264 video you can demux with TsRemux, with it you can also remux without time alignment into a ts-file which contains a PMT-stream. Then from this ts-file Media-Info is able to determine the audio delay values of the audio streams so that you are able to properly synchonize the streams back again from the demuxed elementary streams. The sup-file can be read e.g. by SupRead or SubtitleCreator. With these programs you are also able to produce a srt-file and output the subtitles as BMP- or PNG-image files. From these image files it should be possible to encode a m2ts-file which can be processed by TSmuxer, but I have never done this so you will have to ask other people within the Subtitle subforum.
Schmendrick
Nullity
12th August 2008, 06:08
This question has been asked several times in this thread but I have not yet seen anyone answer it...
Could someone please explain in detail what the option "Bypass Audio Alignment" does and when it should/should not be used?
Duppie
12th August 2008, 06:53
Hi dmz01
Thanks for such a great free app. I am sure alot of people has asked the question if you would introduce file splitting on .m2ts files in the Blu-ray structure output. Do you have the intention of doing this in the future?
Thanks again.
Schmendrick
12th August 2008, 07:31
@Nullity: The video and the audio stream in most satellite transmissions have a significant time offset and most of the times the audio is playing too late. If you keep the clip in the ts-container most players will automatically compensate this time offset by buffering the streams and playing them according to the time stamps which are included within the programme elementary stream container the streams are encapsulated within the ts-container.
If on the other hand you wish to demux the streams an produce pure elementary streams the time stamps are lost. So if the audio alignment is done before you demux the streams you keep synchronity.
Schmendrick
rica
12th August 2008, 23:06
Hi guys, TSRemux seems more precise in trimming but i've never achieved a right cut.
I set the trim beginning and end points and start remux.
http://img237.imageshack.us/img237/2109/trimpz0.th.png (http://img237.imageshack.us/my.php?image=trimpz0.png)
Trimmed file starts from the right point but there is no end point; the rest is the left of the movie.
What am i doing wrong?
GreenOnyx
13th August 2008, 22:00
When I select the main video stream and DTS-HD Master Audio stream from an existing blu-ray m2ts that I want to remux into a new Blu-ray, I think I might be losing the HD audio. If I open the output once complete, tsremux shows that it's a DTS-HD Master Audio stream, but tsmuxergui and my PC's software player just show DTS, not DTS-HD MSTR. Unfortunately I can't bitstream to test on my receiver right now, but am I doing something wrong, is it actually there and this is a labeling issue, or does tsremux not handle this properly right now?
The convert truehd/dtshd to DTS is NOT checked when I remux.
Any help would be appreciated.
Duppie
14th August 2008, 05:22
Hi There,
I have done the following tests during the week since it is very confusing to remember what tsMuxeR and TsRemux can do. I am also doing this to be used in AVCHD on disk for PS3 playback since I do not have a Blu-Ray writer and does not want to copy 5 DVD's each time and change them during playback. Will update it when complete. Sources was "Advantage point" for Dolby TrueHD, "Kung Fu Hustle" for LPCM and content from Demo world for DTS-HD MA. Any comments are welcome. I will post this in tsMuxeR as well since it was part of my test. Hope it helps.
Dolby True HD:
--------------
1. tsMuxeR Version 1.8.4(b):
-tsMuxeR > Blu-Ray > DVD > NOK
-tsMuxeR > Blu-Ray > AVCHD > NOK
2. TsRemux v0.21.2:
-tsMuxeR > Blu-Ray > TsRemux > Blu-Ray > DVD > OK
-tsMuxeR > Blu-Ray > TsRemux > Blu-Ray > AVCHD > OK
Note:
-----
The source (*.m2ts) generated from tsMuxeR (Blu-Ray output) is remuxed again by TsRemux
(also Blu-Ray output) due to the .mpls file from TSmuxeR causing Dolby True HD not to play.
tsMuxeR is only used in this case for the splitting function. For both DTS HD-MA & LPCM,
tsMuxeR can be used since it can split big files into 4Gig chunks for PS3 as well. For
BD-R's it does not matter since it does not need to be split if the file is less than
25Gig.
DTS HD-MA:
----------
1. tsMuxeR Version 1.8.4(b):
-tsMuxeR > Blu-Ray > DVD > OK
-tsMuxeR > Blu-Ray > AVCHD > OK
2. TsRemux v0.21.2:
-TsRemux > Blu-Ray > DVD > NOK
-TsRemux > Blu-Ray > AVCHD > NOK
LPCM:
-----
1. tsMuxeR Version 1.8.4(b):
-tsMuxeR > Blu-Ray > DVD > OK
-tsMuxeR > Blu-Ray > AVCHD > OK
2. TsRemux v0.21.2:
-TsRemux > Blu-Ray > DVD > not tested yet
-TsRemux > Blu-Ray > AVCHD > not tested yet
Notes:
------
For TsRemux:
Default settings are used - "Bypass Audio Alignment"&"Use async I/O"&"Blu-Ray" are selected.
For tsMuxeR:
"Change fps" is selected but nothing is changed. This will insure that forward and rewind works. "Language:und (Undetermined)" is set to the correct settings for subtitles and audio. Not changed if correct.
I also have 2 Questions:
1. Did someone find a way to Author more than one playlists in AVCHD format for Dolby TrueHD playable on PS3, either by bdedit or whatever. Please share this. I will appreciate it. I do not want to create AVCHD structure for each file.
2. The pause of 2-3 seconds during playback when next file is accessed is not so bad, but since this is actually a backup of my originals will this be OK when merged again and burned on BD-R when I have one?
Thx
Duppie
dieselgg
7th September 2008, 06:13
Sorry, this is a beginner question. I loaded a .ts file, which was converted from multiple .trp files. When I load it into TSRemux, it indicates that there is a delay in the track of about 1.2 sec. How do I go about correcting this.
Do I have to demux the audio stream using TSRemux and then join it back together with the video stream using TSRemux again?
Any help would be appreciated!
Thanks in advance.
Schmendrick
7th September 2008, 11:55
@dieselgg: If you untick the option "Bypass Audio Alignment" both streams will be time aligned, so there is no need to first demux and then mux the streams, the latter cannot be done by TSRemux so you would have to use e.g. TsMuxer. For replay of the ts-clips you don't need to do a time algnment as the player software like PowerDVD or WinDVD takes care of the proper synchronisation.
dieselgg
7th September 2008, 15:21
@dieselgg: If you untick the option "Bypass Audio Alignment" both streams will be time aligned, so there is no need to first demux and then mux the streams, the latter cannot be done by TSRemux so you would have to use e.g. TsMuxer. For replay of the ts-clips you don't need to do a time algnment as the player software like PowerDVD or WinDVD takes care of the proper synchronisation.
I went looking for the "Bypass Audio Alignment" when I realized that I was using TsMuxer instead of TsRemux. I did not realize as the names are so close and I had read long ago that TsMuxer replaced TsRemux.
I am now using TsRemux but another issue has come up. Basically, I have spent 4 hrs trying attempting to convert a .trp to a .ts file and then to a .m2ts with no luck. I recorded an Mpeg4 .trp file. I then used H.264 Cutter to convert to a .ts file. Then I used TsMuxer to convert it to an .m2ts file. Any video player that tries to play it, it just crashes. I tried again using TsRemux and same thing. Also, the .ts file will not play. What happens is the first frame goes on the screen and then it goes black. The only thing that will play the video is H.264 Cutter in the 'play video" window of the app.
Any ideas as to why I am having so many problems??I do have Haali Media Splitter installed as required by H.264 Cutter app.
dieselgg
7th September 2008, 17:26
No help needed now. It seemed that the video players I was using did not like the m2ts file being played. However, mplayerc played it ok which told me that the m2ts file is good to go. I burned it to DVD9 and it played perfectly on the PS3.
I guess some players are just more picky than others when it comes to certain files.
hdjerin
10th September 2008, 22:31
Please help !
How can I inmux SUPreader presentation graphics subtile streams ?
I cant add a new sup files to m2ts (one subtitle track in it) ripped from original BD.
There was always .net Framework error - unhandled exception ... on adding a new supread stream.
ps. I have .net Framework 2.0 installed. winxp sp2 system.
Thanks for any comment !
.net Framework error
details :
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
hdjerin
11th September 2008, 03:52
Thanks for your great work !
This is the unsuccessful sup file.
It is a chinese subtitle in sup format.
Jeff Flowerday
11th September 2008, 07:22
Any reason why tsmuxer doesn't understand the TrueHD stream in the 300 evo? I even extracted it with eac3to and still tsmuxer doesn't like it, unknown stream.
Beastie Boy
11th September 2008, 07:44
Any reason why tsmuxer doesn't understand the TrueHD stream...
This is the tsRemux thread. Which application are you referring to? If it is tsMuxeR, some of the recent posts in that thread may help you.
Cheers, Beastie.
Beastie Boy
11th September 2008, 16:42
Is it possible to add 2 seperate files to tsremux and then mux together to form a blu-ray?
I know you can do that with tsmuxer, but I need to use tsremux for TrueHD compatibility.
I'll use RipBot264 to reduce the video only size and add it tsremux, but then want to use eac3to to extract the TrueHD audio from the original blu-ray as a .thd file and add that to tsremux to form a blu-ray keeping THD that'll fit a BD25 disc.
Thanks for your help
Use tsMuxeR to create your Bluray files. Import these into TsRemux and output a Bluray stream that works from there.
Nullity
15th September 2008, 16:02
dmz01, if you are still around and still developing this application, I would like to request a feature.
It would be very beneficial if you added the ability to open/import more than one file at a time, and then select the desired tracks for output - similar to the way TsMuxer handles this.
TsRemux has a few features that TsMuxer does not have (correct TrueHD handling being a big one), but the ability to only open a single file at a time is a huge hindrance.
This is a great program and I only hope that it continues to improve.
hdpete
19th September 2008, 16:17
dmz01, if you are still around and still developing this application, I would like to request a feature.
It would be very beneficial if you added the ability to open/import more than one file at a time, and then select the desired tracks for output - similar to the way TsMuxer handles this.
TsRemux has a few features that TsMuxer does not have (correct TrueHD handling being a big one), but the ability to only open a single file at a time is a huge hindrance.
This is a great program and I only hope that it continues to improve.
I second that! Great program, the only one that doesn't bugger up TrueHD audio! Please if possible can it be developed to add files from seperate sources to mux together.
Digi
22nd September 2008, 13:03
Anyone help i used TsRemux 0.21.2 on a Blu ray recently with TrueHD audio and stripped everything else out, Now when i tried this i found that every few seconds the {icture speeds up and audio loses sync then everything goes back to normal. Anyone.
Thanks:)
ryankenn
23rd September 2008, 18:52
When I select the main video stream and DTS-HD Master Audio stream from an existing blu-ray m2ts that I want to remux into a new Blu-ray, I think I might be losing the HD audio. If I open the output once complete, tsremux shows that it's a DTS-HD Master Audio stream, but tsmuxergui and my PC's software player just show DTS, not DTS-HD MSTR. Unfortunately I can't bitstream to test on my receiver right now, but am I doing something wrong, is it actually there and this is a labeling issue, or does tsremux not handle this properly right now?
The convert truehd/dtshd to DTS is NOT checked when I remux.
Any help would be appreciated.
Same here. I selected the main movie stream, and the DTS MHD audio track and Muxed to a Blu-Ray output in the software. I burned it to a BD-RE and as a disk in my PC it plays fine with picture/sound in PowerDVD, on my PS3 however, the picture is great, but there is not a DTS MHD audio stream that my PS3 knows about. I bitstream Multichannel audio to my Denon.
I know the audio is there, its just not working on my "standalone" player.
hdpete
26th September 2008, 21:20
Same here. I selected the main movie stream, and the DTS MHD audio track and Muxed to a Blu-Ray output in the software. I burned it to a BD-RE and as a disk in my PC it plays fine with picture/sound in PowerDVD, on my PS3 however, the picture is great, but there is not a DTS MHD audio stream that my PS3 knows about. I bitstream Multichannel audio to my Denon.
I know the audio is there, its just not working on my "standalone" player.
As far as I am aware TsRemux doesn't like DTS-HD muxing, you'll need to use TsMuxer instead, I've had no problems with any DTS-HD audio using TsMuxer.
hdpete
26th September 2008, 22:01
Same here. I selected the main movie stream, and the DTS MHD audio track and Muxed to a Blu-Ray output in the software. I burned it to a BD-RE and as a disk in my PC it plays fine with picture/sound in PowerDVD, on my PS3 however, the picture is great, but there is not a DTS MHD audio stream that my PS3 knows about. I bitstream Multichannel audio to my Denon.
I know the audio is there, its just not working on my "standalone" player.
Yeah, me too, bummer. I thought TsRemux was supposed to handle TrueHD, but apparently not. Coversion to PCM using eac3to is the only option to keep uncompressed audio from TrueHD.
peterjcat
27th September 2008, 23:06
Yeah, me too, bummer. I thought TsRemux was supposed to handle TrueHD, but apparently not. Coversion to PCM using eac3to is the only option to keep uncompressed audio from TrueHD.
TsRemux does handle TrueHD, though not always -- I've found it to be pretty good with BD TrueHD and less good with HD DVD TrueHD. I'm bitstreaming from a Popcorn Hour A-110 to an Onkyo 605 and an M2TS or TS stripped with TsRemux often plays TrueHD fine. What movies are you guys using?
kretin
12th October 2008, 01:39
I am having a problem backing up Meet the Robinsons and Ratatouille with the audio going out of sync. I am trying to convert the movies to 720p h.264 mkvs. I have read that TSRemux is the right tool to help me with my problem, that once I have muxed all the m2ts files into a single m2ts that if I run that through TSRemux it fixes it. Unfortunately it doesn't seem to have worked.
Originally I was using TSMuxeR to create the single m2ts file. Playing the m2ts file everything was in sync, but the converted mkv (using AutoMKV) had audio sync issues, in sync at the beginning, but gradually falling out of sync towards the end.
I then used TSMuxeR to join the m2ts files, then ran the resulting m2ts through TSRemux, twice actually, once to create a new m2ts file (with video and 3 ac3 streams), and then again to create a .ts file which AutoMKV prefers. Again the converted file has the same sync problems.
From what I have read it seems to be the audio that is the problem, that the video is likely fine. Any ideas what I can do to demux, create or convert the 3 AC3 streams correctly?
eas4uk
12th October 2008, 02:11
I am having a problem backing up Meet the Robinsons and Ratatouille with the audio going out of sync. I am trying to convert the movies to 720p h.264 mkvs. I have read that TSRemux is the right tool to help me with my problem, that once I have muxed all the m2ts files into a single m2ts that if I run that through TSRemux it fixes it. Unfortunately it doesn't seem to have worked.
Originally I was using TSMuxeR to create the single m2ts file. Playing the m2ts file everything was in sync, but the converted mkv (using AutoMKV) had audio sync issues, in sync at the beginning, but gradually falling out of sync towards the end.
I then used TSMuxeR to join the m2ts files, then ran the resulting m2ts through TSRemux, twice actually, once to create a new m2ts file (with video and 3 ac3 streams), and then again to create a .ts file which AutoMKV prefers. Again the converted file has the same sync problems.
From what I have read it seems to be the audio that is the problem, that the video is likely fine. Any ideas what I can do to demux, create or convert the 3 AC3 streams correctly?
I think you will find the best way to prevent your "audio drift" is to join all of the m2ts file with eac3to
After the first "pass" eac3to will advise you it has found audio gaps that need correcting, and you should run the process again, exactly the same as before (you will notice extra files relating to the audio gaps)
After the 2nd pass, you should then run through tsremux or tsmuxer to mux to ts and then your good to go...
kretin
12th October 2008, 03:31
Thanks very much, eac3to was the trick.
Rather than starting again I found someone suggesting to demux the m2ts with eac3to twice, utilizing .gaps files which fixed the audio. Then I was able to just remux the converted h.264 and the eac3to ac3 files, yay :)
kaid
12th October 2008, 16:41
For using TsRemux under Linux/MacOS X see this thread (http://forum.doom9.org/showthread.php?t=141855).
jof
14th October 2008, 12:59
v.0.0.21.2
When I load my mpeg program stream files recorded from a Nebula DigiTV card & software, the DVB(UK) subtitles are correctly detected as "Presentation Graphics Stream # 32".
So far so good.
After remuxing to TS or M2TS format, neither VLC nor VideoRedoTVS see the subtitles.
Can anyone help with this?
odin24
18th October 2008, 14:07
I'm trying to remux a m2ts file with TrueHD, originally muxed with tsMuxeR. I get an error though;
Unhandled exception has occured in your application. If you click Continue, the application will ignore and attempt to continue... or Quit.
Object reference not set to an instance of an object.
I thought this was they way to get TrueHD playback?
EDIT: I rebooted my PC and it remuxed fine.
Benkh
1st November 2008, 03:26
If anybody has experience on joining 'mts' files and converting it to 'ts' file ?
My Panasonic HDC-SD9 generates 'mts' video files after every 'start/stop' recording. There can be 40-60 'mts' files for one hour records and I wish to merge all of them in a single file to facilitate management. I have tried 'tsMuxeR v.1.8.8b' and 'tsSplitter v.1.0' to join the 'mts' file and convert it to 'ts' format by 'tsRemux v.0.0.21.2'. The output file can be played but it will hang-up at every joint of video clips. However, the video can be continued to next joint after I press 'stop' and 'play' again.
There are some optional settings at 'tsRemux v.0.0.21.2' like the 'Use async I/O' and 'Bypass Audio Alignment' but I do not know its exact function. Is there any new version of 'tsRemux' ? Is there any other freeware that can merge / join 'mts' files and convert it to 'ts' file directly ?
jeffnoone
2nd November 2008, 02:26
Anyway to get TsRemux to write a Bluray structure, but limit the .m2ts file size to 4GB - so several chunks to make up a typical movie)
(tsMuxeR allows the 4GB chunks, but cant do TrueHD as well as TsRemux)
any ideas
Jeff
flyingernst
5th November 2008, 00:07
Hi I have the Popcorn Hour B-110. With TSmuxer DTS-HD works realy fine but with TSRemux TrueHD doesnīt the same.
I have one movie without any problems: Cloverfield. I can play every Audio Stream I want and switch any time...I also can make a time seek.
I have real problems iwth "I am lagend" "Hancock" and other TrueHD Movies. Mostly the TrueHD works if I switch to it at the beginning of the movie, but I should not change the audio Stream after that. If I do that, TrueHD is gone. ALso I can not jump to another moment without losing TrueHD.
What is wrong?
- What is the best way to remux a mainmovie m2ts: m2ts?ts? which settings with audio Alignment and asynch I/O?
- Since TSRemux canīt handle BR-Playlists I have to Mux/Join same Blurays (like Cars and Hancock) with TSmuxer bevor handling it in TSRemux. Which is the best way here? Whoch destination file in TSmuxer and which settings in TSRemux while remuxing this TSmuxer-File?!
IS THERE ANY OTHER WAY to join multiple m2ts Files, without the lags, that TSmuxer is doing to the TrueHD Streams?!
Thanks, Greetings Michael
rica
8th November 2008, 18:46
Hi,
Created m2ts by TSMuxer (includig thd+ac3 demuxed by eac3to) can no be remuxed as BD by TSRemux while it can be remuxed as m2ts-works on Graph-
i get this error:
http://img394.imageshack.us/img394/3892/errorrm9.th.png (http://img394.imageshack.us/my.php?image=errorrm9.png)http://img394.imageshack.us/images/thpix.gif (http://g.imageshack.us/thpix.php)
Here is the sample thd+ac3:
http://www.mediafire.com/?sharekey=610f03b89c15442eab1eab3e9fa335ca4ad9c5c0b2214fdd
EDIT: This is carried from eac3to thread/and deleted there/ since madshi told it is not related with his thread.
_ _ _ _ __
swordm512
16th December 2008, 03:58
hi, all,
I convert some ts files to blu-ray folder with TsRemux, on PS3, the video work normally, but no audio,
ts file info:
Video: h264, yuv420p, 720x480 [PAR 8:9 DAR 4:3]
Audio: ac3, 48000 Hz, stereo, 448 kb/s
is there any tips?
n0mag!c
20th December 2008, 15:33
I convert some ts files to blu-ray folder with TsRemux, on PS3, the video work normally, but no audio
is there any tips?
always have to uncheck the bypass audio alignment to get the audio to work (http://forum.doom9.org/showthread.php?p=1095029#post1095029)
wiak
27th March 2009, 16:45
heres two mirrors
http://x264.nwgat.net/TsRemux/0.21.2/TsRemux.exe
http://x264.nwgat.net/TsRemux/0.21.2/TsRemux.exe?torrent
http://x264.nwgat.net/TsRemux/0.21.2/TsRemux0.21.2src.zip
http://x264.nwgat.net/TsRemux/0.21.2/TsRemux0.21.2src.zip?torrent
:helpful:
Quatre
27th March 2009, 17:07
heres two mirrors
http://x264.nwgat.net/TsRemux/0.21.2/TsRemux.exe
http://x264.nwgat.net/TsRemux/0.21.2/TsRemux.exe?torrent
http://x264.nwgat.net/TsRemux/0.21.2/TsRemux0.21.2src.zip
http://x264.nwgat.net/TsRemux/0.21.2/TsRemux0.21.2src.zip?torrent
:helpful:
what is the difference between TsRemux and tsMuxeR?
wiak
30th March 2009, 07:26
what is the difference between TsRemux and tsMuxeR?
they do the same
:stupid:
deltec
9th May 2009, 23:11
I use tsremux to create bluray from SKY IT ts recording it do a wonderful job but the video originally 1080i 50hz became after creating the bluray 1080i 60hz (fps29,97) and the video is not so good as original cause I see flickering (white text is like pulsing).
With tsmuxer doing the same I have a video as the original at the right fps 25 but tsmuxer is not so good as tsremux with bad sat transport stream and the video has not a natural motion (jumps).
Anyone has a solution for right fps on Tsremux ?
designer
31st May 2009, 17:46
TsRemux 0.21.2 OSX ports download:devil: :
http://designer.dlinkddns.com/blog/?p=232
I use tsremux to create bluray from SKY IT ts recording it do a wonderful job but the video originally 1080i 50hz became after creating the bluray 1080i 60hz (fps29,97) and the video is not so good as original cause I see flickering (white text is like pulsing).
With tsmuxer doing the same I have a video as the original at the right fps 25 but tsmuxer is not so good as tsremux with bad sat transport stream and the video has not a natural motion (jumps).
Anyone has a solution for right fps on Tsremux ?
use 50hz? aka 50fps
dont change framrate you HDTV will support it and the BD player also has to support 50hz aka 50fps its even in BD specs
deank
1st June 2009, 19:22
Just a note... I don't think 50Hz (fields) interlaced is the same as 50fps. Do not confuse the other forum readers.
deltec
4th June 2009, 21:44
Finally I found a solution, I must use an HEX editor XVI32 is perfect and edit the file .mpls and .clip changing 44 to 43 (read this 64 page thread for better understand what I mean ;-) )
Dare's User Name
10th October 2009, 18:36
Any plans to support Windows Media Center's .wtv files?
mr.duck
23rd December 2009, 01:10
Any readme or FAQ?
I tried tsmuxer and it looks very promising. But how do I use the program with the command line?
Inspector.Gadget
23rd December 2009, 02:37
TSMuxer is NOT TSRemux.
mr.duck
23rd December 2009, 17:48
TSMuxer is NOT TSRemux.
I meant to say TSRemux. I was using both programs, I must have gotten them mixed up. I think TSRemux is better if I can work out how to use the command line options. It says in post #1 that it has "command line capability". Any info on how to configure it?
mr.duck
2nd January 2010, 18:31
Bump
It says in post #1 that it has "command line capability". Any info on how to configure it?
laserfan
2nd January 2010, 19:15
It says in post #1 that it has "command line capability". Any info on how to configure it?Do you know how to use cli?
C:\>tsremux0212 /?
C:\>
TsRemux v.0.0.21.2
usage: tsremux input-file output-path [-a] [+b] [+m] [+c]
-a: do not use async io (default on)
+b: bypass audio alignment (default off)
+m: trueHd to ac3 (default off)
+c: keep console open when done (win2k)
output extension controls processing:
ts, m2ts, none for bluray directory
mr.duck
3rd January 2010, 15:18
Do you know how to use cli?
I do now! cheers :)
Ghitulescu
28th January 2010, 19:32
How can this software be forced to recognize the DVB subtitles (PGS) that are in a TS/M2TS file?
jfromeo
14th February 2010, 06:04
Anyone knows what Bypass Audio Alignment and Asynch I/O options do?
I guess BAA is needed when, for example, you only keep audios #2 and #3, and therefore the BluRay player may not recognise them (as #1 is missing), so you get no audio. With BAA checked, the program automatically renames the audio streams headers to match #1-#n, as in the original m2ts file. Is that correct?
But I have no idea about what Asynch I/O does, and how it should be left (checked or unchecked) in order to get a m2ts output file as close to the original as possible.
ale5000
19th December 2010, 03:35
Can you please add an output format that it is accepted by mkvtoolnix?
SeeMoreDigital
19th December 2010, 12:13
How can this software be forced to recognize the DVB subtitles (PGS) that are in a TS/M2TS file?Are you 100% sure that the DVB subtitles are PGS?
Cheers
rozel
24th January 2011, 11:10
Hi guys
It's a long time since I was on here so please be gentle:)
After a few years of head scratching to find a way to "archive" selected Sky HD recordings, made on a Thomson Sky HD box, in HD quality, I think I have finally come up with a solution.
The recordings which I would like to archive are 3 recordings recorded via the BBC HD channel and because BBC HD is fta, I was pointed to +Extract Plus as the means by which to do this.
I have successfully copied, using this program, all 3 recordings to my PC and have 3 .str files sitting nicely in a directory :)
My initial attempt with the first recording was reasonably successful and I managed to create an .m2ts file using TsRemux 0.21.2. However it refused to play properly using VLC Player or TotalMediaTheatre3.
My aim is to create AVCHD files, using the resultant .m2ts file, using tsMuxeR 1.10.6, a program I am very familiar with, as I create many recordings on a small external drive attached to my PS3, which playback wonderfully through my HTS in marvellous HD quality (both video and sound).
So undeterred I remuxed the resultant .m2ts file through tsMuxeR and hey-presto it worked fabulously :) :) Absolutely marvellous!!!!!!
I then set about doing the same with the second recording but have run into synching difficulties and have struggled for hours to correct this problem.
Basically the recording was made in July 2009 and has been played back many times on my Thomson Sky box - I have copied it over several times from the Thomson HDD using +Extract Plus but the exact same issue is present each time I try to remux it. After recomissioning the Thomson box after using +Extract Plus, the recording still plays fine using the box to play it back with.
Here is a copy of the output from tsMuxeR: -
SmartLabs tsMuxeR. Version 1.10.6 http://www.smlabs.net
Decoding H264 stream (track 1): Profile: High@4.0 Resolution: 1440:1080i Frame rate: 25
H.264 stream does not contain fps field. Muxing fps=25
Decoding AC3 stream (track 2): Bitrate: 192Kbps Sample Rate: 48KHz Channels: 2
H264 bitstream changed: insert pict timing and buffering period SEI units
B-pyramid level 1 detected. Shift DTS to 2 frames
H264 bitstream changed: insert SPS/PPS units
AC3 stream (track 2): bad frame detected at position01:05:13,887. Resync stream.
Decoding AC3 stream (track 2): Bitrate: 384Kbps Sample Rate: 48KHz Channels: 6
AC3 stream (track 2): bad frame detected at position01:05:13,920. Resync stream.
Decoding AC3 stream (track 2): Bitrate: 384Kbps Sample Rate: 48KHz Channels: 6
AC3 stream (track 2): bad frame detected at position02:07:45,376. Resync stream.
Decoding AC3 stream (track 2): Bitrate: 192Kbps Sample Rate: 48KHz Channels: 2
AC3 stream (track 2): bad frame detected at position02:07:45,408. Resync stream.
Decoding AC3 stream (track 2): Bitrate: 192Kbps Sample Rate: 48KHz Channels: 2
AC3 stream (track 2): bad frame detected at position02:11:54,591. Resync stream.
Processed 198045 video frames
Creation of AVCHD playlist
Creation of AVCHD stream info and seek index
Mux successful complete.
Muxing time: 5 min 19 sec
As you can see there are several places where there appears to be corrective action taken by the prog to correct it but these seem to be well into the recording. When I play back the resultant .m2ts file (within the AVCHD folder), it plays well but the syncing is present from the start.
I have a number of questions please: -
1. Is there anyway to sort this problem out, maybe by using another prog?
2. Can someone please tell me when to use the "Bypass Audio Alignment" option and not to? - I have tried ticking this option and leaving it but I get no difference.
3. I understand that using the BluRay option creates a BluRay folder structure and the .m2ts option creates a single m2ts.file - am I to understand using the .ts option, this creates a single .ts file? If so how can I use this to burn presumably a standard DVD (assuming the file can fit on either a DVD-5 or DVD-9)?
4. As I mentioned, the synching problems occur straight away - would it make any difference if I "trimmed" the first 4 minutes off the recording and then remuxed? I am now using the modified TsRemux v 0.0.23.2, which would make trimming a possibility.
5. Why does tsMuxer not allow you to use .str files?
6 What is the best method to remux SD (standard definition) .str files please?
7. Given the initial recording was a HD broadcast in 1080i, why does the prog show resolution to be at 1440x1080i and not 1920x1080? The finished .m2ts file, while out of synch plays back at 1920x1080 - is this a bug in the prog?
I guess the file I am struggling with is corrupt - when I open it in TsRemux, it shows it's length at 21:48:36 - it's almost 10 Gb in size. In reality it is around 2hrs and 12mins in length. When it is remuxing, it "counts down" from the higher figure and when it gets to about 19:40 something it suddenly changes and reports only 3mins and a few secs left and then completes this and finishes successfully. However this is wrong - my other successful recording showed the correct time length the second I dragged it across to TsRemux and counted down flawlessly.
Thanks for taking the time to read this post - I hope some of you experts can answer my questions and shed some light on what I am doing wrong and what I can do to improve matters
TIA :thanks:
roz
rayparkerjr
5th April 2011, 18:11
I've been using tsremux to process HD Transport Stream files and my camcorder's HD files. It is a great little piece of software which cleans up the files, putting in the missing headers so they play on players like LG BD570 or WD HD player. I noticed that after being processed, I could not skip forward or backward in the HD files (SD files worked fine). If it did skip, it was quite inaccurate. This happens on WD HD Player, LG BD570 blu ray player, and with XBMC media center.
First I thought that the players did not have enough juice to skip on HD files (because the SD files were playing fine). However since I was using XBMC media center, I was able to recompile the entire tool chain including ffmpeg on Linux and found the problem to be in the transport stream files being created by tsremux.
There are two sets of timestamps in the ISO3818 spec, PCR and PTS. tsremux is redoing the PCR timestamps starting them from 27000000, while PTS are not touched. This causes a mismatch which causes most players to choke when skipping forward to a desired frame.
I have a few questions :
1. Have other people noticed this ?
2. I have a proposed solution which I am testing, and ideally would like to discuss with the author and others who have been messing with the code. But it seems that the author after writing this great software (it handles a wide variety of containers) has moved on to greater things in life and hasn't been active here in months. Are there others who have been messing with the code ?
3. I can check in the solution, but there doesn't seem to be a repository, though I could check the code into Google.
setarip_old
5th April 2011, 19:07
@rayparkerjr
Hi!
Instead, you might try "tsMuxeR (GUI)"...
rayparkerjr
6th April 2011, 19:41
@rayparkerjr
Hi!
Instead, you might try "tsMuxeR (GUI)"...
tsMuxer can't process some of these files because they are not ISO3818 compliant. Have you used it with the raw files which don't have PMT/PAT ?
It also has issues with some of the DTS tracks.
SeeMoreDigital
6th April 2011, 20:49
tsMuxer can't process some of these files because they are not ISO3818 compliant. Have you used it with the raw files which don't have PMT/PAT ?So you run non ISO3818 compliant captures through TSremux first and then though TSmuxerGUI...
rayparkerjr
7th April 2011, 07:01
I had tried that chain of events. However once tsremux has modified the PCR timestamps, tsmuxer doesn't fix them.
Have none of you experienced this issue ?
So you run non ISO3818 compliant captures through TSremux first and then though TSmuxerGUI...
SeeMoreDigital
7th April 2011, 11:36
I had tried that chain of events. However once tsremux has modified the PCR timestamps, tsmuxer doesn't fix them.
Have none of you experienced this issue ?I think the underlying issue here is determing why your TS streams don't have any PMT/PAT data!
What application was used to capture these streams?
poisondeathray
8th April 2011, 00:53
I think the underlying issue here is determing why your TS streams don't have any PMT/PAT data!
What application was used to capture these streams?
Apparently it's from a camcorder
I've been using tsremux to process HD Transport Stream files and my camcorder's HD files
SeeMoreDigital
8th April 2011, 16:51
Apparently it's from a camcorderActually he says: ...and my camcorder's HD files.
So what about the non camcorder files?
poisondeathray
9th April 2011, 03:05
Actually he says: ...and my camcorder's HD files.
So what about the non camcorder files?
You're right ! Sorry
Here I was thinking I was so observant ...
Damn my illiterate @$$! :D
rayparkerjr
28th April 2011, 01:48
Sorry for the late reply but I was out on the road.
Some of the files come from Canon Pixia HD
Others are OTA HD Transport Streams
I think the underlying issue here is determing why your TS streams don't have any PMT/PAT data!
What application was used to capture these streams?
BizarroTerl
12th November 2011, 19:30
I seem to have found a problem using this application. When run from the command line, IE tsremux somepath\video.mpg somepath\video.m2ts it works fine. If either of the paths have an embedded space it crashes. :(
tebasuna51
12th November 2011, 19:46
I seem to have found a problem using this application. When run from the command line, IE tsremux somepath\video.mpg somepath\video.m2ts it works fine. If either of the paths have an embedded space it crashes. :(
Isn't a tsremux problem, but OS behaviour.
Use:
tsremux "somepath\video.mpg" "somepath\video.m2ts"
someone89
11th March 2012, 12:02
Does anyone of you has the TsRemux Source TsRemux0.21.2src.zip?
All links I found are down.
Cedvano
14th May 2012, 16:40
Source code with Exe file.
someone89
15th May 2012, 18:47
Source code with Exe file.
Can you give me the link?
Cedvano
17th May 2012, 18:39
Can you give me the link?
Download the last version of tsRemuxer.
phuocpham
16th October 2012, 16:53
Download the last version of tsRemuxer.
Can you give the link again? It's not here anymore.:confused:
thanks.
Darksoul71
23rd October 2012, 15:21
http://www.videohelp.com/download/TsRemux0.23.2.exe
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.