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

BBugsBunny
19th May 2007, 21:33
I've got problems with 0.0.6 as well.
Wanted to trim a part of the beginning (AVC HD recording with Media Portal TV server DVB-C) but afterwards in the lower part of the screen the video is totally distorted. Tried a remux without trimming with the same result:
http://img510.imageshack.us/img510/7052/errhr3.jpg
With 0.0.5b the same happened but an even bigger part was green.

Momber
20th May 2007, 04:05
Thanks for the hard work dmz01! We're making progress here :)
006 is the first version that works on my system. Well, sort of.
When I select a "Presentation Graphics Stream" to be included in the remuxed m2ts, the Haali icon duly shows a subtitle stream with PID 4608. Unfortunately, as soon as I actually enable this stream to be displayed, the video (or rather the player) freezes... tried with MPC and ZoomPlayer.

Other than working subs, the merging of two m2ts into one (end-of-file-flag issue) remains high on my wish-list.

Thanks & greets
S.

dmz01
20th May 2007, 04:17
Corrupted files ? Well...those samples play well.

btw, for #1 here (http://kurtnoise.free.fr/index.php?dir=samples/&file=h264%20%2B%20dts%20%2B%20ac3.ts) and for #2 there (http://kurtnoise.free.fr/index.php?dir=samples/&file=test_hd.ts).

New version 0.0.7. Now more robust. The issues with samples above were as follows: Sample #1 did not end on a TS packet boundary, so when trying to compute the last timestamp (to get the total video length) the loading crashed. Fixed. I now re-align myself to packet boundary when reading from the end. Sample #2 is very weird. The PMT shows the video to be AVC, but the video headers shows it to be MPEG2. I don't know which to believe, so for now, I believe the PMT. BBugsBunny's issue I think I solved as well, but since I don't have a sample, BB will need to test the new version himself. :)

Please try to give me access to samples (send me a PM if necessary) if you see issues with this or any other version. It's a lot easier to figure out what the problem is. :)

:thanks:

dmz

mattmarsden
20th May 2007, 10:53
when trying casino royale with 0.0.6 i got no picture, just sound. With 0.0.7 I get the picture but it stutters every 30 seconds or so, 0.0.4 was the best version for me on all streams except casino royale where it stopped half way through. The later versions remux thewhole file btw

Inventive Software
20th May 2007, 15:47
@dmz01: I've just read the whole thread, but does this create AVCHD-compliant files? This could be good for re-encoding HD-DVD and BluRay discs to DVD-9 or DVD-5.

AVCHD is H.264/AVC video with uncompressed 7.1 linear PCM audio or 5.1 AC-3, essentially in the BluRay compatible MPEG-2 Transport Stream. Just in case you didn't know. ;)

Zagolski
20th May 2007, 16:34
2 dmz01
Is it possible to do, that it is possible it was to add the files? I very ask you to do it!
Thank you for the program - she is very good! :)

dmz01
20th May 2007, 17:56
@dmz01: I've just read the whole thread, but does this create AVCHD-compliant files? This could be good for re-encoding HD-DVD and BluRay discs to DVD-9 or DVD-5.

AVCHD is H.264/AVC video with uncompressed 7.1 linear PCM audio or 5.1 AC-3, essentially in the BluRay compatible MPEG-2 Transport Stream. Just in case you didn't know. ;)

This software does not re-encode any of the elementary streams. It simply removes (or adds in a case of subtitles) elementary streams from the transport stream, trims it and re-generates appropriate program information sections.

Inventive Software
20th May 2007, 18:14
I was aware it doesn't re-encode, but this is the missing link for creating MPEG-2 TSs. :thanks: anyway.

Zagolski
20th May 2007, 19:40
2 dmz01
This program opens a file very long (30 minutes) .ts created in Manzanita M2TSME. Can it be corrected?
Do please muxing audio and video streams (.h264, .vc1, .m2v, .ac3, .dts).
Thank you comrade! :)

dmz01
20th May 2007, 20:30
I was aware it doesn't re-encode, but this is the missing link for creating MPEG-2 TSs. :thanks: anyway.

Well, if you want to recode into an AVCHD compatible disk, Nero Vision will do that for you.

mattmarsden
20th May 2007, 23:21
Is there any chance I could hold of 0.0.4 again, or do you think my problems will be corrected in the next version?

moshmothma
20th May 2007, 23:26
I've got problems with 0.0.6 as well.
Wanted to trim a part of the beginning (AVC HD recording with Media Portal TV server DVB-C) but afterwards in the lower part of the screen the video is totally distorted. Tried a remux without trimming with the same result

Same here. Tried converting a bunch of bluray files to ts and all of them end up with the same distortion at the bottom of the screen. thanks for all the hard work. looking forward to future versions.

jagaskywalker
21st May 2007, 18:11
Well, if you want to recode into an AVCHD compatible disk, Nero Vision will do that for you.

The issue with Nero Vision right now is twofold:
- only 1920x1080 and 1440x1080 is supported, with almost no control on the quality (size...)
- audio sync issues (makes it unusable, at least when played in a PS3)

Having the capabity of creating AVCHD compliant files (with our own re-encoded H264 sources, in 720p for instance) would be the best way of creating "mini-blurays"

dmz01
21st May 2007, 21:14
Is there any chance I could hold of 0.0.4 again, or do you think my problems will be corrected in the next version?

Wait for the next. I do know what the problem is.

Zagolski
21st May 2007, 23:03
2 dmz

If to do a remux Blu-Ray which has audio DTS, in the done file .ts the sound of DTS is lost! In a file he is, but he does not play and he is not visible. Does it can to be it is corrected?

BHK
22nd May 2007, 00:49
I remux a .ts to a m2ts and have severe audio sync issues.. this happen to anyone else?

moshmothma
24th May 2007, 02:31
Same here. Tried converting a bunch of bluray files to ts and all of them end up with the same distortion at the bottom of the screen. thanks for all the hard work. looking forward to future versions.

Latest version elimates the green screen for me. However, playback is choppy on most remuxes now. Thanks again

puppydg68
24th May 2007, 03:41
Hey there, great app, using 0.7 version, however when I remux a blu-ray .m2ts file with single AC3 to a .ts file for xbox play.. This file only gives a black screen in VLC. However if I take the the tsdemuxer app output and run it through a videoredo remux, it can then play again in vlc player.


Usiing elecard xmuxer the playback works in VLC, so I'm not sure what the difference is..

SeeMoreDigital
24th May 2007, 11:34
Hi dmz01, puppydg68's post has just reminded me of something...

When generating .TS re-muxes with v0.0.7, I have noticed that the PCR is placed on PID 0x1001, the video stream is placed on PID 0x1011 and the audio stream placed on PID 0x1100.

Whereas applications such as MPEG2Repair and HDTVtoMPEG2, place the PCR on PID 0x11, the video stream on PID 0x11 and the audio stream on PID 0x14.

When it comes to playing .TS files in "hardware" devices, the latter PID assignments seem to be more compatible.


Cheers

Zagolski
24th May 2007, 17:54
dmz01
When you will make the new version? I wait when it will appear! :)
It is very good and necessary program, I very much wait for its development! :vodka:

changomacanaz
24th May 2007, 21:05
Hi dmz01, puppydg68's post has just reminded me of something...

When generating .TS re-muxes with v0.0.7, I have noticed that the PCR is placed on PID 0x1001, the video stream is placed on PID 0x1011 and the audio stream placed on PID 0x1100.

Whereas applications such as MPEG2Repair and HDTVtoMPEG2, place the PCR on PID 0x11, the video stream on PID 0x11 and the audio stream on PID 0x14.

When it comes to playing .TS files in "hardware" devices, the latter PID assignments seem to be more compatible.


Cheers
According to the blu-ray specification, video, audio, and PCR must be placed in those PIDs. Hardware devices shouldn't have problems with any assigned PIDs... after all, they get that information from PMTs.

dmz01
25th May 2007, 00:33
Hi dmz01, puppydg68's post has just reminded me of something...

When generating .TS re-muxes with v0.0.7, I have noticed that the PCR is placed on PID 0x1001, the video stream is placed on PID 0x1011 and the audio stream placed on PID 0x1100.

Whereas applications such as MPEG2Repair and HDTVtoMPEG2, place the PCR on PID 0x11, the video stream on PID 0x11 and the audio stream on PID 0x14.

When it comes to playing .TS files in "hardware" devices, the latter PID assignments seem to be more compatible.


Cheers

Ahh, this brings back memories... :)

The entire standard of PMT on pid 0x10, PCR/Video on pid 0x11 and audio on 0x14 started with the piece of hardware called "Dish 5000 Modulator" which would modulate the currently watched channel on the dish 5000 satellite receiver into ATSC Channel 3 output. You could then use any ATSC HDTV tuner card and capture the HDTV versions of HBO, SHO etc.... :) Yes that device was the one responsible for those pid numbers. However with the modulator being dead for a couple of years now TsRemux follows a new standard - Blu-Ray.

moshmothma
25th May 2007, 04:04
Latest version elimates the green screen for me. However, playback is choppy on most remuxes now. Thanks again

Got some egg on my face. The new streams play fine. Problem was new version of kmplayer. Keep up the good work.

mattmarsden
25th May 2007, 10:57
Would it be possible to release a version that could mux together 2 elementary streams? That would be really good

SeeMoreDigital
25th May 2007, 13:47
....However with the modulator being dead for a couple of years now TsRemux follows a new standard - Blu-Ray.Okay, I understand...

I will run a few MPEG-2 with AC3 .TS sources thru' TSremux to see how well they play in my hardware players and report back.


Cheers

dmz01
25th May 2007, 15:16
Would it be possible to release a version that could mux together 2 elementary streams? That would be really good

Of all the features I would like to add to the product, this would be the hardest one. The reason being is that TsRemux does not generate new stream clock (PCR). It re-uses the existing one. It's very hard to generate it from scratch, and I don't fully understand how I would do it correctly.

dmz01
25th May 2007, 22:39
New version 0.0.8.

No new features. Just major :) bug fixes. There were two nasty bugs, one in demuxing elementary streams and one in remuxing that would only show up from time to time in some streams. This bug (now fixed) for example caused the remuxed Casino Royale to be corrupted etc. I do want to make this more stable before adding all the cool new features. Hopefully this version is it. Let me know.

dmz

Zagolski
26th May 2007, 01:14
dmz01

Yes, in a version 008 the bugs of the spoiled image disappeared and demux now
normally! :vodka:

And is it possible to do replacement of sound-tracks ac3 or DTS? That into place is it possible it was
one to insert other? For example, in place of the English track to insert the track of other language.

Do please, that after remux the choice of DTS was accessible audio. Audio DTS not evidently and not heard, it is present although... :(

Thank you comrade! :)

Haali
26th May 2007, 21:33
dmz01: You can generate PCR from video timestamps. PCR is only used to recover remote encoder clock during live playback, it's irrelevant for file playback since local clock is used in this case.

PepsiLee2001
27th May 2007, 11:31
I use TSRemux 0.0.8 to convert .evo (from decrypted HD-DVD) to .ts and .m2ts, and play .ts by Haali splitter(07.04.28 version).

Haali splitter can't splitter audio track correct.

Original .EVO have DD+, TrueHD sound tracks.

R_no
27th May 2007, 16:02
Hello, thank you for your hard work.

With the 0.0.8 release, I can perfectly demux TS files ( I give a try on SW ep1 H264 with DE+EN audio track) whereas I had always error messages with the previous releases.

It would be great if we can add an external AC3 audio track in the TS file.

But I still can't demux .evo file from a HD-DVD rip. I get an error message about lack of ressources to finish the process. I have 2GB of DDR2 and a C2D E6600.

dmz01
27th May 2007, 17:20
But I still can't demux .evo file from a HD-DVD rip. I get an error message about lack of ressources to finish the process. I have 2GB of DDR2 and a C2D E6600.

did you try with async I/O turned off (unchecked)?

R_no
27th May 2007, 18:26
I've unchecked async I/O and now it works perfectly

thx

Zagolski
27th May 2007, 19:19
I found a method: it is needed to use Sonic HD Demuxer, that was accessible DTS. It does not depend on TSRemux.

dmz01
27th May 2007, 22:37
Haali splitter can't splitter audio track correct. Original .EVO have DD+, TrueHD sound tracks.

sonic and nero are the only two spitters that I know of, that can split all the new audio tracks correctly

dmz01
27th May 2007, 22:53
dmz01: You can generate PCR from video timestamps. PCR is only used to recover remote encoder clock during live playback, it's irrelevant for file playback since local clock is used in this case.

this still leaves me with question as to how to generate pts and especially dts - I don't believe all the elementary streams have the appropriate clocks? do they?

trilko
28th May 2007, 09:58
I want to convert some VOB files from DVDs to TS, and for first few VOBs it works ok, and for the others I get message "Unknown video format 0". Is there problem with TsRemux or with my VOB files? These are VOBs from orignal DVD so I guess they should be ok.

Another problem I have is that I often get messages "Insufficient system resources exist to complete the requested services." (when Use async I/O is on) or "The process cannot access the file 'VTS_01_1.VOB' because it is being used by another process." (when Use async I/O is off). Then I restart TsRemux, try again, if it doesn't work restart it again, as many times as necessary, and then after few times it works. Any idea? Sometimes it also helps if I open any other VOB that works, and then the one which I couldn't open before works...

Tnx guys :-)

PepsiLee2001
28th May 2007, 15:20
sonic and nero are the only two spitters that I know of, that can split all the new audio tracks correctly

I try sonic 4.2 decoder package (Sonic HD Demuxer + Sonic Cinemaster Video Decoder + Sonic Cinemaster Audio Decoder) to play .EVO & .TS(converted from TSRemuxer 0.0.8).

Original .EVO contain VC1 track track & DTS-HD, DD+ audio track.

Sonic 4.2 package can play .EVO currect, but still can NOT splitter audio track correctly.

Alkasar
28th May 2007, 17:28
Hello,
after years of reading this forum, i found with this topic a good reason to register, wait 5 days, and post for the first time :)

Many of us in France have a set top box, called FreeboxHD, supplied by our internet provider. This device can play HD video, but can only read AVI and TS files. It decodes many codecs, including mpeg2, h264 and vc1 video and ac3,aac,dts audio. no eac3.

The most popular format we would like to play is MKV(h264+ac3).

We found some interesting ways to remux MKV into TS and make them playable.
For those of you who read french :
- here (http://www.homecinema-fr.com/forum/viewtopic.php?t=29842614) is the topic where we discuss this
- here (http://alkasar.online.fr/mkv2ts.html/) is a site to downlad the tool mkv2ts (still in dev) base on directshow filters
- here (http://alkasar.online.fr/Videos_FBHD/) is a site with samples of TS videos playabe on freeboxHD

TSremux is a very promising tool, among the few able to mux h264 into TS. The exciting new possibility to play hd dvd / BD on our preferred box is getting closer :D

Some questions about TSRemux future :
- any chance that TSremux could remux an MKV to TS ?
- any chance TSRemux could mux elementary streams in TS ?
(this would allow us to demux EVO or other in elementary streams, convert audio to ac3 and remux into TS)
- any chance TSRemux could convert on the fly eac3 to ac3 to remux a EVO(vc1 + Eac3) --> TS(vc1 + ac3) in one step?

Thanks for the work and long life to TSRemux!

dmz01
28th May 2007, 20:05
I want to convert some VOB files from DVDs to TS, and for first few VOBs it works ok, and for the others I get message "Unknown video format 0". Is there problem with TsRemux or with my VOB files? These are VOBs from orignal DVD so I guess they should be ok.

if you can make a small sample available to me I will be able to fix it.

trilko
29th May 2007, 07:56
if you can make a small sample available to me I will be able to fix it.

Try this one http://www2.arnes.si/~ptrila/VTS_01_4.VOB

It's 12 MB, hope it'll help us...

trilko
29th May 2007, 08:36
Hello, me again :)

I have another problem with TsRemux (.8). I have VOB with ac3 audio, which works ok. When I convert it to transport stream using TsRemux the result is quite bad.

There is video and audio in resulting TS, but it's quite deformed. It is not playing with 1x speed, but it's going faster and slowing down again, you can hear some nasty sounds. If I keep only video, TS is ok. If I make TS only with audio it's the same corrupted audio signal, so I guess I have problems with audio.

Any ideas?

If it's problem with any codes - I have CCCP installed.

Tnx!

eb
29th May 2007, 09:20
Try this one http://www2.arnes.si/~ptrila/VTS_01_4.VOB


May be this information taken from mplayer and bbtool, about this sample, can help

http://img129.imageshack.us/img129/7214/doom1qi0.png

Summary information from bbtool1.9

MPEG Packs = 6268+
System headers = 39
Private Stream 1 packets = 1894, total bytes = 3820182
Padding Stream packets = 42, total bytes = 17637
Private Stream 2 packets = 78, total bytes = 77922
Video stream 0 packets = 4335, total bytes = 8762326

Use bbinfo to get further details about PIDs.

eb

dmz01
29th May 2007, 17:28
Try this one http://www2.arnes.si/~ptrila/VTS_01_4.VOB

It's 12 MB, hope it'll help us...

Fixed in 0.0.9. I'm suspecting codec issues in your audio problems.

dmz01
29th May 2007, 18:19
Some questions about TSRemux future :
- any chance that TSremux could remux an MKV to TS ?
- any chance TSRemux could mux elementary streams in TS ?
(this would allow us to demux EVO or other in elementary streams, convert audio to ac3 and remux into TS)
- any chance TSRemux could convert on the fly eac3 to ac3 to remux a EVO(vc1 + Eac3) --> TS(vc1 + ac3) in one step?

Thanks for the work and long life to TSRemux!

MKV to TS is in the planning stage.
Elementary to TS is also in the planning stage.
e-ac-3 to ac-3 most likely not. If any, it will be limited to e-ac-3 streams whose main sub-stream is an ac-3 stream. I don't want to perform re-coding in this tool, as I want to preserve original quality of any input inside the output.

madshi
29th May 2007, 18:33
MKV to TS is in the planning stage.
Elementary to TS is also in the planning stage.
Yam yam... :thanks:

Alkasar
29th May 2007, 21:56
MKV to TS is in the planning stage.
Elementary to TS is also in the planning stage.
e-ac-3 to ac-3 most likely not. If any, it will be limited to e-ac-3 streams whose main sub-stream is an ac-3 stream. I don't want to perform re-coding in this tool, as I want to preserve original quality of any input inside the output.
Thankz dmz01.
Looks great. cant wait for all this :D
I fully agree to preserve the quality. We have the issue that our set topbox, as of now, does not play eac3 audio.
If TSRemux can mux elementary streams, we could convert eac3 to ac3 outside of TSRemux and mux the elementary streams.

One more question : any chance to have a command line for TSRemux ?

ps3hacker
29th May 2007, 22:39
Pirates of the Carribean(Blu-ray) does not work with tsremux. Says the data stream is to short or something similiar.

sarmano
30th May 2007, 00:53
any chance that TSremux could interchange/replace audio streams like "french dd+ stream replace to german dd+ stream"?

SealTooGreat
30th May 2007, 09:49
Can someone suggest tool for muxing h264/mpg and AC3 into .mpg?