View Full Version : TsRemux v0.21.2: Transport Stream De/Re-muxer
colinhunt
15th June 2007, 06:41
If you set your chapter lenght to that of the entire feature, it would be equivalent to turning chapter marks off. No?
Good point.
oldpainless
15th June 2007, 08:48
Hi....not sure if this will be useful re MKV direct input...but seems as though it might be of use?.....
http://www.zju.edu.cn/jzus/2006/A06S1/A06S113.pdf
Let me know if it helps
Kevin
dmz01
15th June 2007, 14:30
Sure...
Here's an 27.0MB (.VOB) sample, that I have compressed using 7-zip.
http://www.mytempdir.com/1355317
Cheers
Fixed in 0.0.15. The size issues was due to the fact that I originally had 1:1 correspondance between SCR and PCR. I now create PCRs from SCRs close to the 1/10 of a sec optimal.
New version 0.0.15 only contains VOB/EVO -> TS/M2TS/Blu-Ray fixes.
SeeMoreDigital
15th June 2007, 14:53
Fixed in 0.0.15. The size issues was due to the fact that I originally had 1:1 correspondance between SCR and PCR. I now create PCRs from SCRs close to the 1/10 of a sec optimal.Hi Dmz,
I've just tried v0.0.15 with the .VOB sample I provided and I'm still obtaining in-correct playtime and bit-rate properties :(
Cheers
trilko
15th June 2007, 15:17
Fixed in 0.0.15. The size issues was due to the fact that I originally had 1:1 correspondance between SCR and PCR. I now create PCRs from SCRs close to the 1/10 of a sec optimal.
Size fix seems to be ok, but I still get problems with audio. In original VOB they are ok (can demux them to elementary stream). In TS they seem to be corrupted somehow, cause when I try to demux them to ES I only get m2v file. Subtitles also don't work for me... :(
dmz01
15th June 2007, 15:40
Hi Dmz,
I've just tried v0.0.15 with the .VOB sample I provided and I'm still obtaining in-correct playtime and bit-rate properties :(
Cheers
I'm not sure what tool you're using, various players (powerdvd, windvd, nero showtime) shows those to be correct. Do you know how playtime is computed in your tool?
EDIT: I tried the Manzanita TS Analyzer and it confirmed the length and bit-rate to be correct. I would trust that over your tool.
dmz01
15th June 2007, 15:42
Size fix seems to be ok, but I still get problems with audio. In original VOB they are ok (can demux them to elementary stream). In TS they seem to be corrupted somehow, cause when I try to demux them to ES I only get m2v file. Subtitles also don't work for me... :(
I don't have any support for subtitles since the formats are different across all three - DVD/HD-DVD/Blu-Ray. I cannot reproduce your audio issue. For me audio works fine. :confused:
EDIT: I figured out what the audio issue is. Blu-Ray format requires the stream type of the DD audio to be "extended_stream_id" or 0xFD. In the past DD stream type was set to 0xBD or "private_stream_1". Players not compatible with new blu-ray format will most likely not be able to play TS files coming form Blu-Ray or TsRemux. The same applies to the various TS splitters like haali etc.
SeeMoreDigital
15th June 2007, 16:09
I'm not sure what tool you're using, various players (powerdvd, windvd, nero showtime) shows those to be correct. Do you know how playtime is computed in your tool?I'm using MediaInfo version 0.7.4.7.
With the "VOB source" MediaInfo reports this: -
http://img167.imageshack.us/img167/2061/vobsourcema1.png
And with "TSremux 0.0.15" MediaInfo reports this: -
http://img167.imageshack.us/img167/5206/tsremuxen9.png
From what I can determine MediaInfo appears to be quite accurate with other .TS (captured) sources....
Hope that helps.
dmz01
15th June 2007, 16:56
Could be MediaInfo incompatibility with blu-ray TS. I can't think of any other reason why the Manzanita (pretty much industry standard) and various players show the time/bitrate correctly vs. the MediaInfo tool.
SeeMoreDigital
15th June 2007, 17:24
Could be MediaInfo incompatibility with blu-ray TS...Hmmm... that's a good point.
I've been testing TSremux for generating .TS files for use/compatibility with high-def hardware playback devices, like the ones mentioned here (http://forum.doom9.org/showthread.php?p=646040#post646040). All .TS files are stored on HDD's and served to the afore mentioned devices via an ethernet connection.
dmz01
15th June 2007, 23:08
Hmmm... that's a good point.
I've been testing TSremux for generating .TS files for use/compatibility with high-def hardware playback devices, like the ones mentioned here (http://forum.doom9.org/showthread.php?p=646040#post646040). All .TS files are stored on HDD's and served to the afore mentioned devices via an ethernet connection.
It's definitively a MediaInfo bug. Here's the output of MediaInfo on a generic (never been through TsRemux) blu-ray file:
http://img358.imageshack.us/img358/2597/mediainfodb0.jpg
oldpainless
16th June 2007, 11:25
Firstly thanks for making this program secondly what is the TS output? Also I would like to make a request to go from m2ts to mp4 avc with an adjustable file size to fit on one dvd for example.
Don't think that's what this proggy is about.....you will need to reencode...see videohelp.com
Kevin
baudi
16th June 2007, 11:31
Dear Dmz01:
Could it be possible to implement a framerate changer in TSRemux for a .ts output (video stream only)?
Thank you for your great TSRemux.
Adbear
16th June 2007, 11:47
Thanks for this program, keep up the good work. Still got a problem though, can take an evo file from a HD-dvd, get it to create a bdmv folder from the vc-1 and dd+ stream, plays back fine in powerdvd but plays back slow and jerky off blu-ray disc on a PS3. PS3 reports vc-1 for video, and Dolby digital multi-channel 48khz 112kbps for the audio
colinhunt
16th June 2007, 14:32
Thanks for this program, keep up the good work. Still got a problem though, can take an evo file from a HD-dvd, get it to create a bdmv folder from the vc-1 and dd+ stream, plays back fine in powerdvd but plays back slow and jerky off blu-ray disc on a PS3. PS3 reports vc-1 for video, and Dolby digital multi-channel 48khz 112kbps for the audio
You could read the thread before asking questions that have been answered already. DD+ from HD DVD is not compatible with Blu-ray as-is; the frame size is not supported by Blu-ray players. As audio and video are synced, that causes the video to play improperly as well. PowerDVD plays the data, because it supports both BD and HD DVD.
Adbear
16th June 2007, 15:03
You could read the thread before asking questions that have been answered already. DD+ from HD DVD is not compatible with Blu-ray as-is; the frame size is not supported by Blu-ray players. As audio and video are synced, that causes the video to play improperly as well. PowerDVD plays the data, because it supports both BD and HD DVD.
I did read the thread, but as there was a comment about having fixed the audio it was unclear whether he'd got round this problem
dmz01
16th June 2007, 15:03
Dear Dmz01:
Could it be possible to implement a framerate changer in TSRemux for a .ts output (video stream only)?
Thank you for your great TSRemux.
What exactly do you mean by framerate changer? What are you trying to achieve?
dmz01
16th June 2007, 15:13
I did read the thread, but as there was a comment about having fixed the audio it was unclear whether he'd got round this problem
You would have to re-encode to get around this problem. TsRemux is not about re-encoding.
colinhunt
16th June 2007, 16:01
dmz01, there was talk earlier of adding muxer capabilities to TsRemux. I bumped into a file (AVC) which has DD2.0 audio, but I also have a synched dts audio for the movie. It would be really nice to drop the movie and the dts track into TsRemux, disable the DD2.0 audio and have TsRemux create a muxed .ts with dts audio.
dmz01
16th June 2007, 17:33
dmz01, there was talk earlier of adding muxer capabilities to TsRemux. I bumped into a file (AVC) which has DD2.0 audio, but I also have a synched dts audio for the movie. It would be really nice to drop the movie and the dts track into TsRemux, disable the DD2.0 audio and have TsRemux create a muxed .ts with dts audio.
I'm working on MKV input now. Maybe afterwards.
Zagolski
16th June 2007, 17:40
dmz01
We very wait. :)
moshmothma
16th June 2007, 18:08
I'm working on MKV input now. Maybe afterwards.
Thanks for all your work DMZ01. If you are looking for input, I would vote for the muxer before mkv.
Your work is definitely appreciated!!
Alkasar
17th June 2007, 00:56
Thanks for all your work DMZ01. If you are looking for input, I would vote for the muxer before mkv.
Your work is definitely appreciated!!
it's pretty easy to mux elementary streams to mkv with existing tools.
it's also pretty easy to demux mkv to elementary streams for TSRemux to mux.
Either way will do.
Deliver the easyest first, dmzerone ;)
cheers
Hi. I have a strange .ts capture laying on the disc with 2 different videopids, and 1 audio. Tho TSremux says its 1 video and 2 audio.
When i remux the stream and keep all the components, the new filesize is downed by like 30%..
When i remove 1 of the audio pids, the filesize is also downed by 30%...
Both files cant be read by VLC, tho the origional can.. I chose .ts 188bytes.
First remux can be read fine by Powerdvd 7.3, but the latter with 1 audiostream removed jumps like crazy in powerdvd 7.3..
Something fishy is going on..
Check ure pm for dl info.
br t
madshi
17th June 2007, 08:33
it's pretty easy to mux elementary streams to mkv with existing tools.
it's also pretty easy to demux mkv to elementary streams for TSRemux to mux.
Either way will do.
Deliver the easyest first, dmzerone ;)
The problem with demuxing MKV is that you lose the timestamps. That can be a problem if the timestamps cannot be fully recovered. This can happen sometimes. E.g. if you demux the Equilibrium HD-DVD video track and try to remux it via mp4box or mkvtoolnix, the video plays shorter than the original. That's because demuxing loses the timestamps.
dmz01, I hope you can preserve the MKV timestamps in your MKV input solution? That would be important IMHO.
phaeton
18th June 2007, 14:18
I think that is what he will do :) I doubt that something which will take just elementary streams out of MKV and into TS would hardly be useful :) We wait dmz01, we wait!
Gavroche
18th June 2007, 16:07
I vote for a TS muxer, will be useful to mux VC-1 and AC3 cause XMuxerPro didn't recognize vc1 at 23.796 correctly
colinhunt
18th June 2007, 16:13
As far as I know, writing a full-blown muxer is very difficult. That's why there are large companies who sell their muxers for plenty of $$$. It would certainly be great if TsRemux included a muxer one day, but I feel it's probably a bit too much to ask for.
baudi
18th June 2007, 20:04
What exactly do you mean by framerate changer? What are you trying to achieve?
I mean a new option so that one can change the video framerate from a .ts container to another output framerate in also a .ts file. For example 23.976fps to 25fps.
Similar to ReStream utility with MPEG2 and like mkvmerge with any codec (in the "Timecodes:" control).
It would be great to multiplex the .ts video stream with an AC3/DTS audio from a PAL DVD. Thank you again.
dmz01
18th June 2007, 21:34
I mean a new option so that one can change the video framerate from a .ts container to another output framerate in also a .ts file. For example 23.976fps to 25fps.
Similar to ReStream utility with MPEG2 and like mkvmerge with any codec (in the "Timecodes:" control).
It would be great to multiplex the .ts video stream with an AC3/DTS audio from a PAL DVD. Thank you again.
Sorry, but TsRemux does not modify elementary streams. It only repackages them into a new container. What you're asking is something that would require elementary stream modification and would require muxing from scratch.
dmz01
19th June 2007, 03:40
New Version 0.0.16:
Bug fix release. Fixes most bugs reported by various users. Thank you for your samples that allowed me to find and fix those bugs.
colinhunt
19th June 2007, 06:57
Thank you! I'll set up a mirror for the new version, just in case.
Here: http://www.box.net/shared/xajh1s4tgj
oldpainless
19th June 2007, 09:34
dmz01
Just a quickie to ask how things are comming along with the MKV input?....
Regards
Kevin
dmz01
19th June 2007, 13:52
dmz01
Just a quickie to ask how things are comming along with the MKV input?....
Regards
Kevin
It's not a quick thing. Be patient. Maybe around two more weeks. Remember I do have a regular job. :)
oldpainless
19th June 2007, 14:10
It's not a quick thing. Be patient. Maybe around two more weeks. Remember I do have a regular job. :)
That soon...Cool...
Kevin
b_squared
19th June 2007, 19:34
dmz01,
how hard would it be for you to take a text file as an input specifying the chapter boundaries?
I have some Jools Holland episodes in HD here (ripped from my Dish DVR) that'd like to make mini-BDs out of, with the different performances indexed by chapters.
Thanks a lot for all your work so far. Amazing stuff!
Alkasar
20th June 2007, 00:47
The problem with demuxing MKV is that you lose the timestamps. That can be a problem if the timestamps cannot be fully recovered. This can happen sometimes. E.g. if you demux the Equilibrium HD-DVD video track and try to remux it via mp4box or mkvtoolnix, the video plays shorter than the original. That's because demuxing loses the timestamps.
dmz01, I hope you can preserve the MKV timestamps in your MKV input solution? That would be important IMHO.
oh yes it is very important.
We struggle a lot with desynchonisations issues on our work to remux mkv to TS to play with our set-top box (freeboxHD).
link here (French only). (http://www.homecinema-fr.com/forum/viewtopic.php?t=29842614)
Our mkv2ts tool is targeted on mkvs with h264 video. The steps are : demux the original mkv to elementary streams, mux the h264 to mp4 and use mainconcept/elecard directshow filters to mux to TS. This does a much better job than XmuxerPro.
Curiously, a working solution to fix sync issues, is to cut a few seconds out of initial mkv with mkvmerge and process the rest with our tool. I have no idea what this fixes, but it works.
phaeton
20th June 2007, 04:30
Alkasar, is there any way on getting some English instructions on how to use your tool? Is there a way to automate it around a large amount of files?
oldpainless
21st June 2007, 13:59
Alkasar, is there any way on getting some English instructions on how to use your tool? Is there a way to automate it around a large amount of files?
I've tried it.....:mad:
smekoslav
21st June 2007, 18:37
I am trying to demux DD+ audio from m2ts file in order to decode it with eac3to, but I always get an error in eac3to saying Parsing of Dolby Digital headers failed. What am I doing wrong?
dmz01
21st June 2007, 20:02
1) Make sure you demux elementary and not PES stream.
2) What's the source of your DD+ m2ts file? Blu-ray DD+ standard is different from HD-DVD. In blu-ray the stream has a regular DD base where all the frames have bsid set to standard syntax and a DD+ extension where the frames have bsid set to enhanced syntax. In HD-DVD DD+ all the frames are set to the enhanced syntax. Can eac3to cope with that?
madshi
21st June 2007, 21:24
Can eac3to cope with that?
Not sure. I'd need a small sample of such a DD+ Blu-Ray stream to check that. If all else fails I could probably add a switch to eac3to to skip header parsing.
smekoslav
21st June 2007, 22:18
I tried pes and elementary, the result is always the same. Eac3to always gives that parsing error. My source is blu-ray disc.
madshi
22nd June 2007, 08:33
I tried pes and elementary, the result is always the same. Eac3to always gives that parsing error. My source is blu-ray disc.
Can you make 20MB of elementary demux available to me for testing?
smekoslav
22nd June 2007, 09:04
Here's a 10mb sample, box.net won't allow bigger files.
http://www.box.net/shared/a1nphdioh9
Pheon
22nd June 2007, 20:49
Hi,
I think there's a problem with .ts files that contain aac audio. I have a .ts file with mpeg2 video and aac audio and when I run it through TsRemux to make an .m2ts file, only the video plays. I'm using a ps3 to play these files and it tells you information about the file being played. All that showed up in the info was mpeg2 video. Usually, it also tells you what the audio format is, but this time instead of saying aac audio, it appeared that there was no audio in the file. When I was selecting streams to keep in my output file in TsRemux, the audio showed up as mpeg2 audio, which is wrong. So I think aac audio isn't being handled properly in TsRemux. Hope you can fix this bug! Great work on TsRemux though!
dmz01
23rd June 2007, 02:36
Pheon,
I need a sample of your source file.
Pheon
23rd June 2007, 06:27
Hey, I'd love to give you a sample, but I'm not exactly sure how to do it. Is there a guide somewhere that I can follow to make samples of .ts files?
dade49
23rd June 2007, 08:30
Has anyone remuxed/demuxed Flyboys BD? The only multi-channel English track is DTS-HD. It doesn't have a DDP or LPCM track to demux. I can use Tsremux to remux the track, but xport 0.96 cannot demux it. I have demuxed other DTS-HD tracks, (Ghost Rider), but this one doesn't seem to work. I even tried from the source m2ts with xport, but could not make it work.
I am happy to post a sample of the DTS-HD track in an m2ts container, but I don't know how to chop a usable section of it. Can someone give me an idea on how to do that? Thanks.
drmpeg
23rd June 2007, 11:12
Has anyone remuxed/demuxed Flyboys BD? The only multi-channel English track is DTS-HD. It doesn't have a DDP or LPCM track to demux. I can use Tsremux to remux the track, but xport 0.96 cannot demux it. I have demuxed other DTS-HD tracks, (Ghost Rider), but this one doesn't seem to work. I even tried from the source m2ts with xport, but could not make it work.
I am happy to post a sample of the DTS-HD track in an m2ts container, but I don't know how to chop a usable section of it. Can someone give me an idea on how to do that? Thanks.
I have a file "chop" utility.
http://www.w6rz.net/head.zip
Usage is:
head <infile> <outfile> <length>
For example:
head movie.m2ts clip.m2ts 10000000
Ron
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.