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

trilko
30th May 2007, 10:54
I have another problem with TsRemux. 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 I open this VOB file in VLC, let it through and make MPEG TS file, that works ok, also audio in TS file is ok. TS file from VLC is also quite smaller than file that TsRemux makes. But VLC cannot deal with subtitles, that's why I'd really like to have TsRemux working :-)

I can also play VLC TS file on my set-top-box, but I have problems with all TsRemux TS files...

You can find all samples (original VOB, TsRemux TS, and VLC TS) on http://www.sitv.tv/test/VTS_01_1.zip

Tnx for your help!

mattmarsden
1st June 2007, 07:43
Yes ive got the 'stream data too short' problem with POTC as well

dade49
1st June 2007, 09:46
There are some blu-ray titles that have split streams. For example, a newer title, "Layer Cake" has 2 m2ts files for the main feature. My intent is to convert this into an mkv, but I can't combine the 2 streams. Is it possible in the future to have tsremux read 2 input files, or read the bdmv structure to allow the remux of multiple streams? For HDDVD, Evodemux does this very well, and gives you a combined output.

Someone in another thread mentioned combining the 2 files via 'cat' or 'copy /b *.m2ts merged.m2ts', but this doesn't work. The files are pushed together, but the output is unreadable. I'm assuming this is because of source packets, length, etc. If there's another tool that I am unaware of that can do this, someone please point me in the right direction.

I don't post much here, because I read a lot and until now, all my questions have been answered.

Thank you for your work on this. This tool is incredible. I was able to successfully create an mkv with an AVS video stream, dd+ audio. Used TSremux to keep the streams I wanted, then ran it through GDSmux to create the mkv.

dmz01
1st June 2007, 11:25
Someone in another thread mentioned combining the 2 files via 'cat' or 'copy /b *.m2ts merged.m2ts', but this doesn't work. The files are pushed together, but the output is unreadable.

here's what does work:
copy /b file1.m2ts+file2.m2ts merged.m2ts
notice the lack of spaces around the plus sign
run merged.m2ts through TsRemux to fix the timestamps.

kristian
1st June 2007, 11:53
I have problem remuxing DTS-HD with power DVD it just hangs. I get no error but cant play the file..

dmz01
1st June 2007, 14:04
You can find all samples (original VOB, TsRemux TS, and VLC TS) on http://www.sitv.tv/test/VTS_01_1.zip

Tnx for your help!

thanks, looking into this as well as into POTC.

dmz

dade49
1st June 2007, 17:56
here's what does work:
copy /b file1.m2ts+file2.m2ts merged.m2ts
notice the lack of spaces around the plus sign
run merged.m2ts through TsRemux to fix the timestamps.

That is awesome. Worked like a charm. Thanks.

I don't know why using file1+file2 works vs using *.m2ts, but it definately makes the difference. Thanks again.

ice coffee
2nd June 2007, 12:10
This software is excellent, although a funny thing happened, it must have changed the header from the original, I don't mind because it means an awkward .ts file I recorded my self that would only play in the original recording s/ware now plays in everything except the original recording s/ware.

Zagolski
3rd June 2007, 08:05
In what format to insert subtitles? .sup and .sub not inserted...

Sneals2000
3rd June 2007, 12:56
Can i just say a big thank you for this utility. I can now take BBC HD off-air recordings made on my PC into TSRemux, and burn them to DVD media (in UDF format) for replay on my Playstation 3 - and with no re-encoding !

Fantastic result. Now if only the PS3 didn't downsample 5.1 audio to 2.0 when replaying video files it would be perfect!

Thanks again - great tool that does a very good job with no fuss.

SeeMoreDigital
3rd June 2007, 13:30
Can i just say a big thank you for this utility. I can now take BBC HD off-air recordings made on my PC into TSRemux, and burn them to DVD media (in UDF format) for replay on my Playstation 3 - and with no re-encoding !Nice one...

And it's good to see you on the Doom9 forum - at last ;)


Cheers

jagaskywalker
4th June 2007, 17:54
Fantastic result. Now if only the PS3 didn't downsample 5.1 audio to 2.0 when replaying video files it would be perfect!


I made tests with AVCHD DVDs in the PS3 and the audio kept the 5.1 mix. The same m2ts file played directly in XMB resulted in 2.0. The issue now is how to create an AVCHD DVD from an existing m2ts file.. (!)

It should not be too complex if we do not want to have menus, etc...

J

Kurtnoise
4th June 2007, 19:42
Can someone create a link mirror to download the last version please...I've a stupid message since this morning : http://i13.tinypic.com/674cuud.png

b_squared
4th June 2007, 20:26
With the .9 version, I was able to take an AVC-TS from BBC that I had downloaded from somewhere in this forum (about 20 seconds of a Beyoncé performance) and my PS3 was able to play the video without problems! That is awesome!

However, the MPEG audio (non AC3) was not recognized. I'm not sure whether the PS3 will even allow m2ts files with MPEG audio to play, or if it's allowed in Blu-ray discs.

Either way, this is great progress!!! Now, if only TsRemux.exe would work under Mono... :)

colinhunt
4th June 2007, 21:44
I'm right now demuxing audio & video streams from a .mkv file. They appear to be AVC and DTS, respectively. Can I use TsRemux to remux these streams to a .ts or a .m2ts file?

If not, I'd like to request such a feature. Thank you.

Oh, almost forgot: I've placed the version 0.0.9 in my box.net share. You can download the file from this address:
http://www.box.net/shared/oi1g2ksqao

colinhunt
4th June 2007, 22:31
I'm right now demuxing audio & video streams from a .mkv file. They appear to be AVC and DTS, respectively. Can I use TsRemux to remux these streams to a .ts or a .m2ts file?
To answer my own question, no. Naturally it wouldn't because in this case the video file is AVC, which TsRemux does not support as input format. Also it's quite impossible, apparently, to import two separate streams (i.e. audio and video).

I guess it's quite hard to add a feature which would remux audio and video streams, especially as audio sync information in this case is stored in the MKV container. So, uh, forget I ever asked for such a feature :D

Thank you for all your hard work so far; TsRemux is obviously on its way to become a very useful application.

eas4uk
5th June 2007, 00:57
here's what does work:
copy /b file1.m2ts+file2.m2ts merged.m2ts
notice the lack of spaces around the plus sign
run merged.m2ts through TsRemux to fix the timestamps.

When i run the merged file through TsRemux (0.9 & 0.8) I get the following message

index was outside the bounds of the array

Any ideas?

Thx in advance for any replies :)

phaeton
6th June 2007, 07:39
Looks like a great tool! Once MKV to TS support hits, this is gonna be the perfect tool for all hd streaming set-top box owners!!!!!

Thank you so much! If there is any way to donate, or help out, or test anything, let me know :)

colinhunt
6th June 2007, 08:55
Thank you so much! If there is any way to donate, or help out, or test anything, let me know :)
I echo these sentiments 100%. Just let us know.

dmz01
7th June 2007, 01:30
I'm looking for testers who understand database definitions of the index table file, movie object file, movie playlist file and clip information file. PM me if you can help.

Thanks,
dmz

dmz01
7th June 2007, 15:25
New version 0.0.10:

Fixed handling of blu-ray PMTs spanning multiple packets. It is now possible to remux blu-ray titles that have tons of substreams, such as POTC. Fixed AC3 in VOB to TS conversion. Various other small fixes.

3rd output option is pre-alpha quality. It doesn't fully work, but you're welcome to test it on various hardware/software and report back issues. Big thanks if you can pinpoint errors and fixes in the files I mention above. Once this is finished I'll move on to MKV input support.

colinhunt
7th June 2007, 19:23
I'm looking for testers who understand database definitions of the index table file, movie object file, movie playlist file and clip information file.
Oh boy. I hope I knew anything about those things; I'd love to help, but unfortunately it's all Greek to me.

colinhunt
7th June 2007, 19:29
Version 0.0.10 mirrored here:
http://www.box.net/shared/seh3uu5zmh

yonta
7th June 2007, 23:30
problem with remuxing evo(vc1+ddp) to ts:
1. target file got much bigger than the source: from 137mb to 189mb
2. no audio: haali splitter and sonic demuxer only see video

tsremux v0.0.10 did correctly recognize the elementary streams.

kabanero
8th June 2007, 00:43
I tried Blu-ray option with TSremux v0.0.10.
I loaded .TS file, then chose Blu-ray option.
TSremux created BD structure on hard disk with BDMV and other folder.
Then burned BDMV and other folder to BD-RE with Nero using UDF 2.5.
PS3 recognizes the disk, says BDMV on BD-RE, then it looks like it is trying to play the disk, but then goes back to XMB.

dmz01
8th June 2007, 01:36
problem with remuxing evo(vc1+ddp) to ts:
1. target file got much bigger than the source: from 137mb to 189mb
2. no audio: haali splitter and sonic demuxer only see video

tsremux v0.0.10 did correctly recognize the elementary streams.

1) This growth is expected due to the overhead of TS packets and PSI.

2) Regular blu-ray M2TS files that contain DD+ also have this problem with haali and sonic. Nero splitter that's part of the blu-ray nero add-on works fine for M2TS. For TS I haven't found any splitter that can split DD+ probably because there is no official standard for it.

dmz01
8th June 2007, 04:05
I tried Blu-ray option with TSremux v0.0.10.
I loaded .TS file, then chose Blu-ray option.
TSremux created BD structure on hard disk with BDMV and other folder.
Then burned BDMV and other folder to BD-RE with Nero using UDF 2.5.
PS3 recognizes the disk, says BDMV on BD-RE, then it looks like it is trying to play the disk, but then goes back to XMB.

New version 0.0.11: a bunnch of fixes in the playlist. Blu-Ray output now in alpha quality. Try this version.

colinhunt
8th June 2007, 09:29
Version 0.0.11 mirrored here:
http://www.box.net/shared/1r35cv2lnd

bond
8th June 2007, 13:48
MP4 input will only be possible if someone makes MP4 documentation available to me (ISO/IEC 14496-14). PM me if you can help.check the mp4 faq, the specs are freely available

hhp
8th June 2007, 14:04
I'm looking for testers who understand database definitions of the index table file, movie object file, movie playlist file and clip information file. PM me if you can help.

Thanks,
dmz

Hope these files is helpful to you.

Blu-ray Disc Founders. Blu-ray Disc Format White Paper: General. Aug. 2004.
http://www.blu-raydisc.com/assets/downloadablefile/general_bluraydiscformat-12834.pdf
Blu-ray Disc Founders. Blu-ray Disc Recordable Format Part 1: Physical Specifications. Feb. 2006.
http://www.blu-raydisc.com/assets/downloadablefile/BD-R_Physical_3rd_edition_0602f1-13322.pdf
Blu-ray Disc Founders. Blu-ray Disc Format White Paper: 1.A Physical Format Specifications for BD-RE 2nd edition. Feb. 2006.
http://www.blu-raydisc.com/assets/downloadablefile/BD-REwhitepaper20060227clean-13321.pdf
Blu-ray Disc Founders. Blu-ray Disc Format White Paper: 1.B Physical Format Specifications for BD-R. Aug. 2004.
http://www.blu-raydisc.com/assets/downloadablefile/1b_bdr_physicalformatspecifications-12839.pdf
Blu-ray Disc Association. Blu-ray Disc Format White Paper: 1.C Physical Format Specifications for BD-ROM 4th edition. Nov. 2005.
http://www.blu-raydisc.com/assets/downloadablefile/BD-ROMwhitepaper20051123clean22-13264.pdf
Blu-ray Disc Founders. Blu-ray Disc Format White Paper: 3. File System Specifications for BD-RE, R, ROM. Aug. 2004.
http://www.blu-raydisc.com/assets/downloadablefile/2a_bdre_logicalaudiovisual-12838.pdf
Blu-ray Disc Founders. Blu-ray Disc Format White Paper: 4. Key Technologies. Aug. 2004.
http://www.blu-raydisc.com/assets/downloadablefile/2a_bdre_logicalaudiovisual-12838.pdf
Blu-ray Disc Association. Application Definition Blu-ray Disc Format: BD-J Baseline Application and Logical Model Definition for BD-ROM. Mar. 2005.
http://www.blu-raydisc.com/assets/downloadablefile/bdj_gem_application_definition_050307-13404.pdf
Dressler, Rogers. Dolby Audio Coding for Future Entertainment Formats. San Francisco: Dolby Laboratories, 2006.
http://www.dolby.com/assets/pdf/tech_library/DPlus_TrueHD_whitepaper.pdf
DTS, Inc. DTS-HD Audio: Consumer White Paper for Blu-ray Disc and HD DVD Applications. Nov. 2006.
http://www.dtsonline.com/media/DTS-HD_WhitePaper.pdf
Intel Corporation, et. al. Advanced Access Content Systems (AACS): Technical Overview (informative). July 21, 2004.
http://www.aacsla.com/marketplace/overview/aacs_technical_overview_040721.pdf
NVIDIA Corporation. Checklist for Building a PC that Plays HD DVD or Blu-ray Movies. Sept. 2006.
http://http.download.nvidia.com/downloads/pvzone/Checklist_for_Building_a_HDPC.pdf

dmz01
8th June 2007, 16:45
check the mp4 faq, the specs are freely available

So, I've re-read the faq and look at various links. I still can't find a link there that would explain the syntax and semantics of an MP4 container.

bond
8th June 2007, 17:47
http://standards.iso.org/ittf/PubliclyAvailableStandards/c041828_ISO_IEC_14496-12_2005(E).zip

dmz01
8th June 2007, 18:30
http://standards.iso.org/ittf/PubliclyAvailableStandards/c041828_ISO_IEC_14496-12_2005(E).zip

Thanks,
I appreciate it. :)

kabanero
8th June 2007, 22:09
New version 0.0.11: a bunnch of fixes in the playlist. Blu-Ray output now in alpha quality. Try this version.
dmz01,

I tried new version 0.0.11. PS3 plays the disk now!!!!!
But, I don't get any video and audio, the screen is black.

Also, something wrong with remuxed files in 0.0.11 version when played back with Media Player Classic.
My original TS file (MPEG-2) is 09:17 (9 minutes and 17 seconds).
Both remuxed files using Blu-ray or M2TS(192 byte) output formats show 05:47:56 (5 hours 47 minutes 56 seconds).
It is also hard to navigate forward or backward with remuxed files. MPC just doesn't play the file any more.

EDIT:
Tried Nero ShowTime. It shows the same time: 05:47:56 (5 hours 47 minutes 56 seconds). It is hard to navigate forward or backward, but ShowTime still plays the video.

EDIT:
Tried TsRemux 0.0.10 M2TS(192 byte) output format with the same TS file. Shows correct time 09:17 (9 minutes and 17 seconds) and plays great in MPC.

You messed up something in 0.0.11.

colinhunt
8th June 2007, 22:50
I did a remux of a AVC/DD5.1 file to Blu-ray/BDMV and burned it on a BD-RE disc. The disc works - almost! I get a picture (and it looks great!), but there's no audio.

OSD shows only the AVC symbol with a bitrate next to it. To the left of that there's supposed to be info about audio, but there's absolutely nothing, nada, zilch.

Top left corner there's a disc symbol with "-" next to it.

Time code (lower right corner) works fine and shows correct time. Title and chapter are listed as "-".

Apps used: TsRemux 0.0.11, latest Nero in Blu-ray Disc write mode to create a disc image (UDF 2.50 selected manually), latest ImgBurn to burn the image on disc.

colinhunt
8th June 2007, 23:03
Slight addendum:
If I try to play the TsRemux-created BDMV with PDVD 7.3 Ultra by using "Open movie file on hard disk drive", I get a black screen. PDVD OSD shows that the video codec is AVC, but at first there's no bitrate reading. That appears somewhat later. Audio codec is listed as "Dolby Digital", but no mention of # of channels or bitrate.

If I navigate to BDMV/STREAM and drop the 00001.m2ts into PDVD, it plays perfectly. So, the .m2ts is fine, but some of the other data is a bit messed up, and PS3 is unable to locate the audio stream.

colinhunt
8th June 2007, 23:10
One more thing, that probably has no bearing on the matter. The AVC/DD stream has already been once through the TsRemux. It had three DD audio tracks originally and I needed to strip two of them out. I used M2TS format for saving.

colinhunt
8th June 2007, 23:33
Panasonic BD10 refuses to play the disc at all. It might be caused by missing AACS directory, or missing AACS encryption.

I re-remuxed the AVC/DD stream, this time with TsRemux 0.0.10. The .m2ts from BDMV/STREAM plays perfectly in PDVD, but "Open movie file on hard disc drive" fails the same way as earlier.

colinhunt
8th June 2007, 23:38
(Sorry for this flood of posts, but for some reason I can't Edit my earlier posts!)

dmz01, if you wish to take a look at the contents of 0.0.11 created BDMV directory (sans STREAM), it's here:
http://www.box.net/shared/et9o7muup7

dmz01
9th June 2007, 07:01
New version 0.0.12:

Fixed issues with stream recognition.
Added more fixes to the clip info file.
Blu-Ray output still in alpha - still has audio issues, however, any video muxed into a blu-ray format should work in a player without audio or with DD (not plus) audio. By the way, 0.0.12 is the first version that can remux Pirates of the Caribbean with AVC and DD (not LPCM) only streams into a blu-ray that will play correctly and smoothly (due to rate reduction by dumping lossless audio) on most systems. :)

Zero1
9th June 2007, 07:33
I've tried the latest TsRemux but cannot get past loading an EVO or VOB since I always get this error: "Insufficient system resources exist to complete the requested service."

Anyone else having this prob?
Yes, same here.


dmz01:
Awesome tool, it's been very handy so far, thanks.
I wondered if I could make a feature request? Basically it would be to allow loading of elementary streams (eg raw H.264 and MPEG-1 Layer 2 audio) and muxing to one of the supported formats (I was initially only looking for a reliable TS muxer, but I guess if the other formats can be added without much trouble then other people may benefit too).

The only reason I ask this, is because I'm currently testing the KiSS 1600 DVD player, and I want to compare playback between identical streams muxed in TS and MP4, because I suspect some files stutter in MP4 but not in TS, however it might have been due to a number of reasons.

Basically I got ahold of some demo footage from a 1440x1080i PAFF H.264 Sony camera (in m2ts), and I used your program to mux it to regular TS. It played back perfectly. However I demuxed the H.264 and MP4Box said that it didn't have a H.264 startcode and so refused to mux it. I then turned to Haali's directshow muxer and made two files, one MP4 with 6ch AAC and one with 6ch AC3 (boo hiss :P I was curious to see if the player would support it).

The file with the 6ch AC3 played fine to start with, but then got choppy and slow. The one with the AAC bizarrely died after 3 seconds, so I'd like to make my own encode and mux it to TS and MP4 and do some fair tests. Perhaps there was an error with the muxing since there was no start code? I'm just grabbing at straws at the moment.

Or if there is any other software that will do the job, I'd look into that. Didn't have much luck with VLC. A command line tool would be great also.

Thanks

Pelican9
9th June 2007, 08:50
dmz01:
I've checked colinhunt's index.bdmv and it isn't contain any title. I think you have to put at least one title (for compatibility).

colinhunt
9th June 2007, 10:09
Version 0.0.12 mirrored here:
http://www.box.net/shared/p7f6pk13gh

colinhunt
9th June 2007, 11:00
0.0.12 is getting closer, definitely.

I remuxed the AVC/DD5.1 stream to Blu-ray/BDMV and played the resulting data with PowerDVD, using the "Open movie file on HDD".

This time I get a picture. PDVD OSD shows correct time information, video codec and video bitrate. There's still no audio, though. PDVD OSD displays "Dolby Digital", but again, there's no info on the # of channels nor bitrate.

As before, drag&drop of the .m2ts from STREAM into PDVD produces perfect playback, audio and all. PDVD lists audio as "Dolby Digital 5.1 448Kbps".

If you want to compare 0.0.12 output, here's the BDMV directory sans STREAM:
http://www.box.net/shared/kgofhkqaqj

Zagolski
9th June 2007, 11:50
dmz01
For me at an initial file audio DTS stood the first in a list, after remux it became the second. And also audio DTS in TSRemux determined as an audio АС3... Request to correct this bug.

dmz01
9th June 2007, 14:15
dmz01:
I've checked colinhunt's index.bdmv and it isn't contain any title. I think you have to put at least one title (for compatibility).

You don't need any titles in the loop if you have first playback title set. Notice that the first playback title is never in the title loop. I put the main feature in the first playback and that's why it starts automatically. :)

I could put the same title in both places, but that could confuse some players and could be "less compatible" than having no titles in the loop, which does follow the spec.

dmz01
9th June 2007, 14:22
I've tried the latest TsRemux but cannot get past loading an EVO or VOB since I always get this error: "Insufficient system resources exist to complete the requested service."

Anyone else having this prob?
Yes, same here.


You have to uncheck async I/O to get rid of this issue. This is due to some sort of weird incopatibility of async I/O in .NET framework on some systems. As for making TsRemux into a full muxer, it's on my list of things to look into, we'll see.

dmz01
9th June 2007, 14:27
dmz01
For me at an initial file audio DTS stood the first in a list, after remux it became the second. And also audio DTS in TSRemux determined as an audio АС3... Request to correct this bug.

Can you make a small sample (10 secods or so) of the original file available to me?

dmz01
9th June 2007, 14:34
0.0.12 is getting closer, definitely.

I remuxed the AVC/DD5.1 stream to Blu-ray/BDMV and played the resulting data with PowerDVD, using the "Open movie file on HDD".

This time I get a picture. PDVD OSD shows correct time information, video codec and video bitrate. There's still no audio, though. PDVD OSD displays "Dolby Digital", but again, there's no info on the # of channels nor bitrate.

As before, drag&drop of the .m2ts from STREAM into PDVD produces perfect playback, audio and all. PDVD lists audio as "Dolby Digital 5.1 448Kbps".

If you want to compare 0.0.12 output, here's the BDMV directory sans STREAM:
http://www.box.net/shared/kgofhkqaqj

Did you try to play it on your Panasonic player? If you can let me know what happens. :thanks: Also if anybody can try PS3 and tell me what happens I would be grateful too. :)

kabanero
9th June 2007, 15:02
Also if anybody can try PS3 and tell me what happens I would be grateful too. :)

dmz01,

PS3 says:

This is invalid disk
(80029941)