Log in

View Full Version : TsRemux v0.21.2: Transport Stream De/Re-muxer


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 [18] 19 20 21 22 23 24 25 26

Atak_Snajpera
20th December 2007, 01:46
Will support for command line be added in near future?

puppydg68
20th December 2007, 06:47
I've been using this tool to convert many of my videos to play on PS3.. it's been excellent.. Unfortunately in PS3 firmware 2.10 LPCM no longer works properly.
I previously extracted (Demuxed my AC3 for safe keeping). Is it possible for me to now Mux the AC3 back in?

I removed all other tracks keeping LPCM and AVC using TSremux in the first place, then demuxed the AC3 separately. How can I now put the AVC and orginal AC3 back together in m2ts?

arrgh
23rd December 2007, 12:48
Hi,
as discribed in my post #832, TSRemux does not support in its BluRay structure more than one audio stream (PowerDVD plays and shows only the first stream).
During my poking around in the mpls and clpi files I have gathered some info, which will be for most people common knowledge, for some maybe not.

Since, simply adding the hex-code for the additional audio stream to the mpls-file is not enough, the secret is either in the not understood bytes or the index and object files.

Maybe some of those in the know are willing to share their wisdom...

bond
23rd December 2007, 13:05
moved to hddvd/bluray forum, as i think this fits better there

dmz01
27th December 2007, 17:31
New version 0.19:

- Added Audio Alignment by-pass option (enabled by default), since it's only needed when converting program streams to transport streams or when converting some SAT/Cable streams to Blu-Ray.
- Added an option to remux Blu-Ray TrueHD to Dolby Digital by extracting the AC3 track and dropping the MLP track from the elementary stream.

As usual, for any bugs, please upload a small sample that reproduces the issue, so that I can actually fix it.

dmz

SeeMoreDigital
27th December 2007, 17:49
Hi dmz01,

Is there any particular reason why you have not mentioned the name of your application (ie: TSremux) in your thread title?


Cheers

Hobojobo
27th December 2007, 22:58
With TSRemux you can convert a sat hd stream to blueray compatible stream.
Since I have a HD-DVD-Player, is it posible to convert such a stream to HD-DVD compliant stream instead ?

I am new to HD stuff, so don't laugh at me, if that is a stupid question.:o

Mitchjs
27th December 2007, 23:16
that would be .evo output... prob beyond the scope of the application

i actually think .ts is the perfect container
over .mkv too :)

mitch

madshi
27th December 2007, 23:35
i actually think .ts is the perfect container
over .mkv too :)
Not sure myself, but can TS hold FLAC audio tracks and SRT subtitles? I think a big problem with TS is that there are no good/reliable freeware TS muxers/editors out there. With MKV we have Haali's Matroska Muxer filter and we have mkvtoolnix, both of which are reliable and well working. If we had similar software for TS and if TS supported FLAC and SRT then I would consider TS as a usable container. But today I don't see that, while MKV does all that I need today.

zakia
28th December 2007, 01:14
dmz, thanks for the updates.

Any plan to enable subtitle in the blu-ray output?

dmz01
28th December 2007, 01:55
Plans? yes, the issue is time! :)

dmz01
28th December 2007, 01:57
Not sure myself, but can TS hold FLAC audio tracks and SRT subtitles? I think a big problem with TS is that there are no good/reliable freeware TS muxers/editors out there. With MKV we have Haali's Matroska Muxer filter and we have mkvtoolnix, both of which are reliable and well working. If we had similar software for TS and if TS supported FLAC and SRT then I would consider TS as a usable container. But today I don't see that, while MKV does all that I need today.

Since no one has done it yet, there is no "official" standard. But we could create our own for TS to hold FLAC and SRT.

dmz01
28th December 2007, 02:12
With TSRemux you can convert a sat hd stream to blueray compatible stream.
Since I have a HD-DVD-Player, is it posible to convert such a stream to HD-DVD compliant stream instead ?

I am new to HD stuff, so don't laugh at me, if that is a stupid question.:o

There are two types of MPEG2 standard containers - program streams and transport streams. Here's somewhat not accurate but close enough comparison:

Program Streams usually contain a single program. They're used by DVDs and HD-DVDs. They're made up of variable sized packets.

Transport Streams can contain multiple programs. They're used by Blu-Ray, D-VHS, HD Camcorders, Cable, Satellite, Over-the-air TV. They're made up of fixed sized packets.

For more info read the official specifications at http://neuron2.net/library/mpeg2/iso13818-1.pdf

There are ways of converting between the two. However in the specific case of Blu-Ray to HD-DVD or vice versa you will run into issues with Audio. The two have different audio standards and most titles will be incompatible between the two unless you re-encode audio, especially between DD and DD+. The two also use totally different ways of encoding subtitles, so you'lll have issues with those as well.

zakia
28th December 2007, 03:20
Plans? yes, the issue is time! :)

Thanks, good enough. :)

Since I have a HD-DVD-Player, is it posible to convert such a stream to HD-DVD compliant stream instead ?Other than dmz explaination above, the issue is: how do you gonna burn to HD DVD media? There's no HD DVD burner in the market yet, unless you plan to burn multiple discs of DVD±R or DVD±R DL. :)

maya
28th December 2007, 15:42
I continue to have problems with some titles when TSremux tries to process the second half of the movie. I also tried processing the 2nd main evo file directly, in other words I didn't use evodemux first and the same error message pops up. This has been the case with the following titles: Eyes Wide Shut, Harry Potter and the Sorcer's Stone, The Shining, and Troy-Director's Cut. I tried 3 different versions of Tsremux and the latest one (.19) shows half of the green bars at the bottom and then just get's jammed up and doesn't show any error message. A 100mb sample of Harry Potter and the Sorcer's Stone is below. I used evodemux first with the sample below, but as I stated before, it doesn't matter whether I use evodemux or not, Tsremux version other than the most recent just give a message stating "index is outside the boundary of the array", and the newest version stalls when trying to open the file.



http://www.sendspace.com/file/7dzpir

zakia
29th December 2007, 18:18
dmz01, with this new update .19, do we still need to run tsremux twice for seemless m2ts file system?

gottahavit
29th December 2007, 19:11
First.

just found this program the other day, and I love it.

I grabbed .19 today and it will no longer load EVO files, just stops halfway and cranks. .18 still works fine but want to try the truehd remux.

rickardk
29th December 2007, 19:46
How should multiple m2ts file be joined?
I use copy /b source1.m2ts+source2.m2ts joined.m2ts

But the joined file contains some sort of end flag in the middle. So when trying to remux it into mkv I just get the content of the first file.

I read that I should just run the joined m2ts through tsremux to output a new m2ts. tsremux starts to build a new m2ts and counts down from the length of half the joined file (from that end flag I think) then when done it starts counting down the whole length of the file.
But when done the final file plays with speed ups and speed downs.

Is there anyay around this problem?

I'm trying to remux Wyatt Earp (VC-1) to a mkv.

PentaQ
29th December 2007, 19:48
dmz01 - I have 20G+ evo files that are taking very long to load. Same with MKV (but I understand that is still in alpha). Is this just normal behavior given the size of the files? The remux bar is also half full already, even though I haven't technically started remuxing (the audio track hasn't been added yet). Any advice or recommendations? I am using 0.0.19 with async and bypass checked (defaults)

Thanks in advance.

Mitchjs
29th December 2007, 19:54
rickard, do each m2ts file seperatly...

then use mkmerge to put the 2 mkvs together

mitch

PentaQ
29th December 2007, 20:05
just confirmed that the same "load" was almost instantaneous in both versions 16 and 18.

rickardk
29th December 2007, 20:07
rickard, do each m2ts file seperatly...

then use mkmerge to put the 2 mkvs together

mitch

I thought that would screw up the sync. For example 32ms for every part of the whole ac3 track.

How do you sugest I should handle this title?

Just using gdsmux and make two mkvs....and then join them with mkvmerge?

If a title use a truehd track. Should I then use copy /b -> xport -> eac3to for audio. And make multiple mkvs separate for video. Then join the mkvs with video and the complete audio track in mkvmerge?

Or should I also do audio seperatly and mux it into the multiple mkvs. Then
join the mkvs (containing both audio and video) with mkvmerge?

gottahavit
30th December 2007, 00:26
so to bypass the issue with evo in .19 I tried the following, with no real luck:

.18 remux HDDVD EVO to m2ts with truhd stream
.19 remux with new truehd remux checked to BDMV

end up with m2ts with dolby digital stream,look ok in tsremux

however will not play audio on ps either from disk or AVCHD dvd

obviously I am trying to get 5.1 on my ps3. Is this even supposed to work with EVO files? or is this new featre for Bluray only?

Interesting thing I found is that if I just remux in the true hd stream and play through hdmi to TV I get audio and the info says truehd, of course my receiver has no hdmi so it gets no audio. BUT doesn't this imply the truehd streams are compatible with the ps3?

Mitchjs
30th December 2007, 05:56
rickardk, now you're over complicating it... TrueHD isnt gonna go into the mkv, not to mention nothing will play it back...
(at least i dont think so)

maybe tsremux, to get video and another audio track, like a DD+ 5.1, for each...

could use h264tsto...

basicly if haali's splitter can split it, it should mux into a mkv
i have done a handfull of evos in 1 shot with it

mitch

dmz01
30th December 2007, 06:03
dmz01, with this new update .19, do we still need to run tsremux twice for seemless m2ts file system?

Yes, I haven't changed that

dmz01
30th December 2007, 06:04
First.

just found this program the other day, and I love it.

I grabbed .19 today and it will no longer load EVO files, just stops halfway and cranks. .18 still works fine but want to try the truehd remux.

I'm looking into EVO issues.

dmz01
30th December 2007, 06:12
... .19 remux with new truehd remux checked to BDMV end up with m2ts with dolby digital stream,look ok in tsremux however will not play audio on ps either from disk or AVCHD dvd

Blu-ray TrueHD streams are different from HD-DVD TrueHD streams. In Blu-Ray, TrueHD streams contain both, the MLP track for lossless audio and the AC3 (dolby digital) track for backward compatability. In HD-DVD, TrueHD streams only contain the MLP track. A separate AC3+ (dolby digital plus) track is available as a separate stream for backward compatability. The TsRemux option is for Blu-Ray only - it extracts the AC3 track into it's own dolby digital stream.

rickardk
30th December 2007, 14:05
I convert it to flac with eac3to.
rickardk, now you're over complicating it... TrueHD isnt gonna go into the mkv, not to mention nothing will play it back...
(at least i dont think so)

maybe tsremux, to get video and another audio track, like a DD+ 5.1, for each...

could use h264tsto...

basicly if haali's splitter can split it, it should mux into a mkv
i have done a handfull of evos in 1 shot with it

mitch

hm10
30th December 2007, 21:54
you can add support on srt that we can add subs to blu-ray (M2TS file) and to see on powerdvd?

thx

framura
30th December 2007, 22:10
Hi,

I tried to add a SUp file to a TS file (sup file it's just extracted with tsremux 0.19) and I get this error with tsremux 0.19:

==========================================
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.InvalidOperationException: This operation has already had OperationCompleted called on it and further calls are illegal.
at System.ComponentModel.BackgroundWorker.ReportProgress(Int32 percentProgress, Object userState)
at System.ComponentModel.BackgroundWorker.ReportProgress(Int32 percentProgress)
at TsRemux.PesFile.ReportProgress(Int32 percent)
at TsRemux.PesFile.ParseElementaryStreams()
at TsRemux.PesFile.OpenFile(String path, Boolean useAsync, BackgroundWorker openWorker)
at TsRemux.TsRemux.OpenSupFileDialog_FileOk(Object sender, CancelEventArgs e)
at System.Windows.Forms.FileDialog.OnFileOk(CancelEventArgs e)
at System.Windows.Forms.FileDialog.DoFileOk(IntPtr lpOFN)
===========================================

Do you have any idea?

TIA

Chumbo
31st December 2007, 00:26
Hi,

I tried to add a SUp file to a TS file (sup file it's just extracted with tsremux 0.19) and I get this error with tsremux 0.19:

==========================================
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.InvalidOperationException: This operation has already had OperationCompleted called on it and further calls are illegal.
at System.ComponentModel.BackgroundWorker.ReportProgress(Int32 percentProgress, Object userState)
at System.ComponentModel.BackgroundWorker.ReportProgress(Int32 percentProgress)
at TsRemux.PesFile.ReportProgress(Int32 percent)
at TsRemux.PesFile.ParseElementaryStreams()
at TsRemux.PesFile.OpenFile(String path, Boolean useAsync, BackgroundWorker openWorker)
at TsRemux.TsRemux.OpenSupFileDialog_FileOk(Object sender, CancelEventArgs e)
at System.Windows.Forms.FileDialog.OnFileOk(CancelEventArgs e)
at System.Windows.Forms.FileDialog.DoFileOk(IntPtr lpOFN)
===========================================

Do you have any idea?

TIA
I too have this problem. I went back to 0.0.18 and it also crashed.

If I may please request a couple wish list items:
- option to keep original PIDs of streams in the remuxed output file
- option to assign PIDs per stream to the remuxed output file

Thanks much.

MarkRy
1st January 2008, 12:43
Hi dmz01,

If I had had a Xmas wishlist, a m2ts remuxer with ability to extract LPCM track as AC3 would have been on it. Thank you. Even using it on a seamless branching blu-ray did not introduce any lipsync on remuxing to mpg. In my case I used Xmuxer (v. April) to remux all the files.

Excellent work.

earl
1st January 2008, 17:37
can i do h264video file into tsremux and it make a .m2ts file?

Chumbo
1st January 2008, 17:44
can i do h264video file into tsremux and it make a .m2ts file?
This is a remuxer tool and not a muxer, so as long as your original stream has h264 video, you should be able to remux it with only the streams you need.

earl
1st January 2008, 18:44
oke
i will make a .m2ts file
which tool is the best to do this ?

hollydoc
1st January 2008, 18:54
Hi dmz01, i use TSRexux to create Bluray on DVD9, the PS3 plays fine this Disc. I split one Movie in 2 or more DVD`s. little problem is, that the Mini.Blurays don`t stop at the end of the part, the PS3 skip to the begin of the part. Is ther a solution that the movie stps at the end?

Hollydoc

Chumbo
1st January 2008, 18:58
oke
i will make a .m2ts file
which tool is the best to do this ?
Read the first post so you know what this tool can/cannot do and what features it offers. Always read the first post of any tool thread is a good rule.

Your best option right now is to use existing mux tools to create a TS file first. Then you can run it through tsremux to create an m2ts file. Existing tools like Manzanita and XMuxer allow you to mux h264 and mpeg2 video elementary streams with audio streams, like ac3 and dts, into a ts container.

I haven't tried this, but version 4 of Manzanita allows you to specify the packet size. This is 188 by default for standard transport streams. The m2ts type uses 192-byte size. You may be able to just specify this packet size and rename your result to m2ts. Anyone tried this with Manzanita btw?

The other option is to mux into an MKV container and then remux into an m2ts, but the MKV support right now is in the alpha stage.

earl
1st January 2008, 19:01
hey hollydoc, i will do the same, i will play selfcreated moviefiles on the ps3
is .m2ts the best fileformat?
can i stream from a computer in my lan the .m2ts to the ps3 ?
can the ps3 play truehd/dtshd/dd+ audio from a selfcreated .m2ts ?

:edit
(...i start my post and there was your post not here
i can not mux directly into .m2ts? why can i only mux from a containerformat into .m2ts?
i run mostly linux on my computer, i will reboot later
you say i can remux from .evo into .m2ts with tsremux.exe ?

:edit

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.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
TsRemux
Assembly Version: 0.0.19.0
Win32 Version: 0.0.19.0
CodeBase: file:///C:/Dokumente%20und%20Einstellungen/Administrator/Desktop/tsremux.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
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.42 (RTM.050727-4200)
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.42 (RTM.050727-4200)
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 i load the .evo file with tsremux or the .h264 file .. it comes every time this strange message

Chumbo
2nd January 2008, 01:37
...
if i load the .evo file with tsremux or the .h264 file .. it comes every time this strange message
Did you try disabling async I/O?

Sparky101
2nd January 2008, 13:50
Has anyone successfully used the Blu-Ray TrueHD to AC3 feature yet? I'm trying it on Life of Brian and the resultant .m2ts file has AC3 audio which plays fine but MPC no longer sees the video track. The data is there as the file size is about 20GB. It also won't play on the PS3, corrupted data error. If I remux it with just the video and TrueHD track then it's fine, just the PS3 doesn't support TrueHD when streaming yet.

maya
2nd January 2008, 22:15
Has anyone successfully used the Blu-Ray TrueHD to AC3 feature yet? I'm trying it on Life of Brian and the resultant .m2ts file has AC3 audio which plays fine but MPC no longer sees the video track. The data is there as the file size is about 20GB. It also won't play on the PS3, corrupted data error. If I remux it with just the video and TrueHD track then it's fine, just the PS3 doesn't support TrueHD when streaming yet.


Yes, I used it with the Spiderman Blu Rays and it worked perfectly when I streamed the movies to my PS3.

DonCarlos
4th January 2008, 01:17
Hi I am really new to this so please don't be rude to me if I ask noob questions. Here is my problem.

I can rip a HDDVD or a Blu ray to my harddrive so far so good. I see that it needs a lot of hard drive space especially Blu ray movies. So I asked myself how can I make the files smaller but with no losss of quality. My first thing was to delete bonus features and all that stuff ok after that another idea came to me such a movie has many many audio streamy. So I found Tsremux it seams to be a really nice program, but I have some problems with it. My goal is it to creat a folder on the harddrive which has the same file structre as you can find on a Blu ray or HDDVD so I could burn it back to a BD-R that it would play back in a standalone player as a BD-R. the only difference shall be that the main movie just has a english and a german audio stream. I made it the example of Harry Potter 5 Blu ray. The main movie is one big file around 39 Gb. Ok I thought I could put this thing into Tsremux and rip of the audio streams I don't like. I did it and was really happy that it worked and the files also got a lot smaller. After that I thought I could replace the big movie file in the BD folder with the new one but than the trouble starts. When I try to play the folder back in PowerDVD I come to the main movie but the movie time down in PowerDVD is totally screwed up. And when I try to choose the language by a right click and select languages there are all languages which the movie should have are listed an I find the german stream under french and the english one under italian. If I click under a different audio stream there is no audio. Ok than I tried to skip a little bit in the movie and I found again something when I try to skip to the end PowerDVD hangs up(with the original movie file it isn't the case). So what am I doing wrong?Can you help me?What should I do in a different way?Or is my goal impossible to reach?

Thanks for your replies

DonCarlos

Luvpeaceguru
4th January 2008, 15:34
So dmz01, you're obviously a man who knows his onions. I have what seems a very satisfactory solution to my Blu-Ray backup requirement. I rip with Any DVD and Tsremux to a ts file that I can then convert to avi or play in VLC/PowerDVD as it is. The big problem is determining the correct m2ts files. In earlier releases there was just one, possibly two large files. In Deja Vu, for inshance, there are about 10 files ranging from 2GB to 4GB. For standard DVDs there is the tool pgc.net. Do you know the solution for Blu-Ray?

zakia
4th January 2008, 15:43
I believe it's just a manual process, at least at the moment. I would just google "title + file order" or "title + one of m2ts", for example "deja vu 00048.m2ts".

And here is the result

copy /b 00048.m2ts + 00049.m2ts + 00035.m2ts + 00037.m2ts + 00039.m2ts + 00061.m2ts + 00032.m2ts + 00034.m2ts + 00046.m2ts + 00036.m2ts + 00038.m2ts + 00040.m2ts + 00041.m2ts "DejaVu.m2ts"

Luvpeaceguru
4th January 2008, 16:38
Thanks Zakia.

I just tried this and it is now remuxing but it tells me it is a file of about 17 minutes in length!

zakia
4th January 2008, 16:43
Yes that's normal. I forgot to tell you that you need to run TsRemux twice on these kind of movies (with seamless files). I usually TsRemux to m2ts first, then take the last m2ts and do another tsremux to blu-ray.

Btw, this method (copy /b and tsremux twice) was suggested by others in this thread so credit goes to them. http://forum.doom9.org/showthread.php?p=1079404#post1079404

Edit: Ah, I see that you have posted in that thread too! :D

Luvpeaceguru
4th January 2008, 17:12
I'm not sure I understand that but I'm trying it now.......

dmz01
4th January 2008, 17:31
So dmz01, you're obviously a man who knows his onions. I have what seems a very satisfactory solution to my Blu-Ray backup requirement. I rip with Any DVD and Tsremux to a ts file that I can then convert to avi or play in VLC/PowerDVD as it is. The big problem is determining the correct m2ts files. In earlier releases there was just one, possibly two large files. In Deja Vu, for inshance, there are about 10 files ranging from 2GB to 4GB. For standard DVDs there is the tool pgc.net. Do you know the solution for Blu-Ray?

User Pelican9 wrote a nice Blu-Ray structure editor called BDEdit. You can use it to figure out the order of the files in the main movie, but it is a tedious process. See thread http://forum.doom9.org/showthread.php?t=125903 for more info. After you know the order you can use the "copy /b file1.ts+file2.ts+...+fileN.ts output.ts" to combine them into one big file.

dirkr
5th January 2008, 10:17
Used tsremux yesterday to remux a movie and DolbyTrueHD to DD. It works. Great. Thanks for that.

But one question again:
DD is in 448k now. Is ist possible that tsremux make a 640k DD as standard? Every old dd-decoder can handle that.
Regards,
Dirk

arrgh
5th January 2008, 15:59
Warner decided to publish exclusively in Bluray (starting May '08)!

Since with this move I think something like 2/3 of all movie-productions will be in BR, that will be it. The war is over.

So even more reasons to have a nice remuxer with working BR-file-structure....