View Full Version : TsRemux v0.21.2: Transport Stream De/Re-muxer
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:
Removal of source packet header
Generation of source packet header
Regeneration of DTCP descriptor (all others are kept) which removes analog output restrictions (downrezzing of HD, macrovision etc.)
PAT/PMT generation for RAW TS files sourced from Sat/Cable/OTA
Async I/O for maximum throughput
Ability to trim streams at the beginning and/or the end
Ability to pick and choose elementary streams to be kept
Ability to remux PCR-less streams
Ability to remux program streams (MPG/VOB/EVOB) into TS/M2TS
Ability to demux elementary streams as well as subtitle streams compatible with SUPreader (right click the selected stream with the mouse)
Fixing PCR/PTS/DTS after a file merge
Removing end-of-stream markers for VC1 and AVC after a file merge
Ability to inmux SUPreader presentation graphics subtile streams
Ability to remux into simple Blu-Ray output (new)
Ability to remux MKV into TS (alpha)
Ability to extract Dolby Digital from TrueHD in Blu-Ray streams
Ability to extract DTS Core from DTS HD in Blu-Ray streams
[spacecat56] performance fixes (new)
[spacecat56] command line capability (new)
Current Version 0.21.2
Notes:
All PIDs are now forced to follow Blu-Ray PID requirements
Still working on MKV support
Blu-Ray output option is beta quality.
Audio PES packets follow the blu-ray standard. (PES stream type 0xFD instead of 0xBD is incompatible with some older splitters/players)
HD-DVD to Blu-Ray conversion might have issues due to incompatible DDPlus requirements. Combo-players will have better results than Blu-Ray only.
MKV support early alpha quality. MPEG2/AC3 seems to work, others don't.
Download link (http://www.megaupload.com/?d=R3WWZ7MQ)
Source Code (GPL) (http://www.megaupload.com/?d=6G5LPRI4)
Thank you. Great work :).
Thunderbolt8
5th May 2007, 00:33
since im not too familiar with that technical stuff, which transport streams does this tool demux now, only mpeg2 or also h264 .ts streams ? and where do they get demuxed too, in which file or container ?
btw. tried to open a skyHD cap h264 .ts 12 gb file and then a 150 mb sample of this stream: in both cases the cpu seemed to work to infinity, but nothing actually happened, the file apparently cant be opened.
In theory it should work with any TS file. Is there somewhere where I can download the non-working sample?
I don't demux, since there is already a tool for that. I can add that if there is demand for it. For now I just re-mux into a new TS file.
Thunderbolt8
5th May 2007, 01:43
took another sample of another skyHD cap, this one could at least be loaded. but when remuxing it just gave me der objektverweis wurde nicht auf eine objektdistanz festgelegt -.-
Can't figure it out without a sample. :) Can you make a small sample for me?
Thunderbolt8
5th May 2007, 02:00
sry, but I dont know how to cut out a sample out of a .ts file -.-
btw. would also be taking a sample from the sample a possibility or must the source here be the original file ?
You're free to test all these: http://x264.nl/h.264.samples/
You're free to test all these: http://x264.nl/h.264.samples/
Well, all of those work fine. I need a sample TS that doesn't work with my app. :D
sry, but I dont know how to cut out a sample out of a .ts file -.-
btw. would also be taking a sample from the sample a possibility or must the source here be the original file ?
Yes, you can make a sample of a sample etc. even a 1MB sample would be fine as long as it breaks the app.
Thunderbolt8
5th May 2007, 03:13
yes, but tell me how plz, what do I have to do with which tools :D
try a simple "copy" command and "CTRL-C" it after a few seconds.
Pookie
5th May 2007, 08:31
dmz01 - Thanks. Looking forward to trying this.
Thunderbolt8 - try cutfile -
http://jsoto.posunplugged.com/tools/CutFile_exe.zip
Edit:
dmz01 - drmpeg's Mpeg2 TS test files =
http://www.w6rz.net/
AVCHD .MTS files =
https://oncourse.iu.edu/access/content/user/rtknapp/00055.MTS
https://oncourse.iu.edu/access/content/user/rtknapp/00043.MTS
CruNcher
5th May 2007, 10:20
took another sample of another skyHD cap, this one could at least be loaded. but when remuxing it just gave me der objektverweis wurde nicht auf eine objektdistanz festgelegt -.-
I have the same problem here, but with a Blu-Ray .m2ts (AVC)
DeepBeepMeep
5th May 2007, 10:24
Thanks! that's a very interesting tool. Unfortunately on all the streams I have tried gives me the error "Object reference not set to an instance of an object" when I click remux.
Thunderbolt8
5th May 2007, 11:56
try a simple "copy" command and "CTRL-C" it after a few seconds.
allright, so its the same as when making a sample for .mkv with mkvmerge (or any other mkv muxer), when I just cancel/close the process in the mid of the work ?
wasnt sure if this way maybe could alter or invalidate the file.
edit: doesnt work for me, when I cancel the copy process, the file gets deleted automatically
apart from that he copies too fast anyway, so the file would be getting too big that way
foxyshadis
5th May 2007, 12:21
Virtualdub has a hex editor with a "truncate" menu item. Most hex editors do, as well as those "file splitters", but that's one you probably already have.
Edit:
dmz01 - drmpeg's Mpeg2 TS test files =
http://www.w6rz.net/
AVCHD .MTS files =
https://oncourse.iu.edu/access/content/user/rtknapp/00055.MTS
https://oncourse.iu.edu/access/content/user/rtknapp/00043.MTS
All of those work fine too...
For anyone who has an issue, please try go get me a sample if you can.
Thunderbolt8
5th May 2007, 17:37
as written above, I cant do it the way you described
apart from that I have computer problems atm, my comp is is rebooting constantly when I try to open certain things or dl anythig with any browser, get emails etc. (virus?)
so I might get back later again
DeepBeepMeep
5th May 2007, 18:32
All of those work fine too...
For anyone who has an issue, please try go get me a sample if you can.
It's a shame I can't get it to work at all I have the error message ""Object reference not set to an instance of an object" no matter what stream I throw at it. Is there any special requirements like MFC?
Pookie
5th May 2007, 20:47
Revision of .NET 2.0 ? The app makes a call to sortkey.nlp located in \WINDOWS\assembly\GAC_32\mscorlib\2.0.0.0
Yes, the only requirement is the official .NET 2.0
Pelican9
6th May 2007, 00:33
Could you make a subtitle extractor in your app?
We are talking about BD subtitles here: http://forum.doom9.org/showthread.php?t=124105
Eeknay
6th May 2007, 01:39
Can't figure it out without a sample. :) Can you make a small sample for me?
http://www.dryfire.org/~gits/bsg-lolcoreavc.ts
That just loads forever sucking up CPU (as have a few other files I've tried).
Ok, I know what the issue is, I'll have a fix ready later on.
Basically the PMT in this stream shows that PCRs are found in PID 0x31. However no packets with PID 0x31 have a PCR. The app doesn't really "load forever" but to compute video length it reads the first and the last PCR in the file. Since there are no PCRs, the file is read twice, once front to back looking for the start PCR and once back to front looking for the end PCR. The reads back to front are extremely slow. I'll add code to detect this defect in existing PMTs.
drmpeg
6th May 2007, 03:46
Ok, I know what the issue is, I'll have a fix ready later on.
Basically the PMT in this stream shows that PCRs are found in PID 0x31. However no packets with PID 0x31 have a PCR. The app doesn't really "load forever" but to compute video length it reads the first and the last PCR in the file. Since there are no PCRs, the file is read twice, once front to back looking for the start PCR and once back to front looking for the end PCR. The reads back to front are extremely slow. I'll add code to detect this defect in existing PMTs.
Are you sure there are no PCR's? Remember that PCR's can be embedded in video PID packets. That is, you can have video packets with both an adaptation field and a payload.
EDIT: nevermind, there really are no PCR's in that stream.
Ron
drmpeg
6th May 2007, 03:48
Could you make a subtitle extractor in your app?
We are talking about BD subtitles here: http://forum.doom9.org/showthread.php?t=124105
http://forum.doom9.org/showthread.php?p=999828#post999828
Ron
Could you make a subtitle extractor in your app?
We are talking about BD subtitles here: http://forum.doom9.org/showthread.php?t=124105
Elementary stream extraction with full PES headers added to the to do list. :)
Thunderbolt8
7th May 2007, 18:56
when I try to cut the file with the cutfile proggie then I get the error message "sync byte missing" when trying to put it into tsremux
when I try to cut the file with the cutfile proggie then I get the error message "sync byte missing" when trying to put it into tsremux
You need to make the cut at 188 byte boundary. TS streams are made of 188 (or 192 in M2TS case) packets, so you need to break the stream right at the end of one and at the beginning of the next packet.
New version uploaded with PS to TS remux support. Now you can take all VOBs and EVOBs and convert them to a single M2TS format. :)
madshi
8th May 2007, 17:17
New version uploaded with PS to TS remux support. Now you can take all VOBs and EVOBs and convert them to a single M2TS format. :)
Wow, that's cool !!! I guess doing VOB -> TS (not M2TS) is also supported, right?
:thanks:
Please forgive me, but I'm getting really gready now: I have all my movies converted to MKV because I like it best. However, it would be great if I had the choice to convert them back to TS somehow, if there are circumstances (e.g. hardware players without MKV support) that force me to. Do you see any chance to add MKV support (only reading, no writing)? Please just say "no" if it's too much work.
Wow, that's cool !!! I guess doing VOB -> TS (not M2TS) is also supported, right?
:thanks:
Please forgive me, but I'm getting really gready now: I have all my movies converted to MKV because I like it best. However, it would be great if I had the choice to convert them back to TS somehow, if there are circumstances (e.g. hardware players without MKV support) that force me to. Do you see any chance to add MKV support (only reading, no writing)? Please just say "no" if it's too much work.
Yes, VOB -> TS is supported. I'll add MKV reading support to the to do list. I will need to learn the format first, so it might take some time. :)
Kurtnoise
8th May 2007, 18:04
MP4 with AVC streams could be great too...:)
madshi
8th May 2007, 18:07
I'll add MKV reading support to the to do list. I will need to learn the format first, so it might take some time.
Thanks very much!! There's no hurry, so take all the time you need.
MP4 with AVC streams could be great too...:)
If we continue like this we'll kill him... :devil:
Pelican9
8th May 2007, 20:03
I would like to add a subtitle stream to an existing m2ts file.
(If replace of an existing subtitle stream is easier, it's good for me too.)
This is some kind of (partial) remux.
Is there any chance to make this feature in your app?
(after mkv and avc support)
I would like to add a subtitle stream to an existing m2ts file.
(If replace of an existing subtitle stream is easier, it's good for me too.)
This is some kind of (partial) remux.
Is there any chance to make this feature in your app?
(after mkv and avc support)
Actually this would be the easiest thing compared to the other two. Provided that you can help me with it :) I need to know the format of the file so that I can stuff it into PES packets. I will also need to know how to retrieve time stamp information from the stream to know the locations where to insert those PES packets. PM me if you can help.
MP4 with AVC streams could be great too...:)
For this to happen someone needs to point me to a copy of ISO/IEC 14496-14, since I don't have one. PM me if you can help.
LuemmelBS
9th May 2007, 11:46
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?
The_Keymaker
9th May 2007, 20:45
When I load the source EVO file into TsRemux, it correctly displays the elementary streams: VC-1 video and Dolby Digital Audio. However, it appears the DD+ audio stream is never remuxed into the target M2TS file.
When the resulting .MTS file is played back in Zoom Player, there is no sound and the graph information shows no audio track.
The EVO file I'm using as a test is the standard UNILOGO.EVO file found on all Universal HD-DVDs. My operating system is windows vista 32.
What am I doing wrong?
Would it be possible to add an option to demux the files? That would be great :)
Momber
10th May 2007, 01:49
I may be doing something wrong. Please advise.
I load a properly decrypted EVO (Children of Men main feature EVO 1) into the remuxer. It correctly displays the streams and I select the VC1 video, the first ac3 audio (which is actually Dolby Digital Plus) and one subtitle stream. For output I first try TS and let the remuxer do its thing.
Upon completion I load the TS into HDTV2MPEG2 - it cannot find any channels. Then I open the TS with PowerDVD 6.5 and I get only a visualization and no audio. Then I open the TS with MPC and it cannot display the video, either, although WMVideo Decoder is set up as an external video decoder.
So I think "screw this" and go back to the remuxer, this time selecting m2ts as output. I copy the m2ts to my HPTC, which is set up to play both BluRay and HDDVD (and does so just fine). There, PowerDVD 7.3 is unable to do anything with the m2ts (it just freezes), as are ZoomPlayer and MPC.
What gives?
S.
dmz01
10th May 2007, 07:51
New version posted:
Fixed dolby digital plus remuxing.
Fixed various stream IDs.
Elementary stream demuxing added, includes support for demuxing presentation graphics streams into SUPreader compatible stream. (right click the selected stream with the mouse)
dmz01
10th May 2007, 07:57
I may be doing something wrong. Please advise.
I load a properly decrypted EVO (Children of Men main feature EVO 1) into the remuxer. It correctly displays the streams and I select the VC1 video, the first ac3 audio (which is actually Dolby Digital Plus) and one subtitle stream. For output I first try TS and let the remuxer do its thing.
Upon completion I load the TS into HDTV2MPEG2 - it cannot find any channels. Then I open the TS with PowerDVD 6.5 and I get only a visualization and no audio. Then I open the TS with MPC and it cannot display the video, either, although WMVideo Decoder is set up as an external video decoder.
So I think "screw this" and go back to the remuxer, this time selecting m2ts as output. I copy the m2ts to my HPTC, which is set up to play both BluRay and HDDVD (and does so just fine). There, PowerDVD 7.3 is unable to do anything with the m2ts (it just freezes), as are ZoomPlayer and MPC.
What gives?
S.
HDTV2MPEG2 only supports MPEG2 video, TS streams containing any other type of video will not work. Power DVD 6.5 as well as 7.3 will not demux those properly mainly due to new licensing restrictions. You can only play TS streams containg MPEG2 video and dolby digital (non plus) audio with 6.5 or any other older decoder package.
There is no way that I know off to play those "new codecs" TS streams in zoomplayer or any other player. However there is a way to play those M2TS streams in zoomplayer professional:
1) buy nero 7 and nero blu-ray/hd-dvd plugin
2) configure zoomplayer pro to use nero splitter, nero hd video decoder and nero audio decoder 2
3) rename zplayer.exe to recode.exe
4) associate M2TS files with recode.exe. :D
madshi
10th May 2007, 08:40
HDTV2MPEG2 only supports MPEG2 video, TS streams containing any other type of video will not work. Power DVD 6.5 as well as 7.3 will not demux those properly mainly due to new licensing restrictions. You can only play TS streams containg MPEG2 video and dolby digital (non plus) audio with 6.5 or any other older decoder package.
There is no way that I know off to play those "new codecs" TS streams in zoomplayer or any other player. However there is a way to play those M2TS streams in zoomplayer professional:
1) buy nero 7 and nero blu-ray/hd-dvd plugin
2) configure zoomplayer pro to use nero splitter, nero hd video decoder and nero audio decoder 2
3) rename zplayer.exe to recode.exe
4) associate M2TS files with recode.exe. :D
Shouldn't Haali's Media Splitter be able to demux those? At least it's supposed to support original Blu-Ray M2TS streams, I think (haven't tried that yet, though). If you think there's something missing in Haali's Media Splitter, we should tell him. I'm sure he'd add it quickly, if it's not too much work.
The_Keymaker
10th May 2007, 14:50
Dmz01,
Using the new release of your prog (v 0.0.3), I am still unable to Remux a DD+ audio stream.
I am remuxing the UNILOGO.EVO file from King Kong. I use this file as a test file since it does not not need to be demuxed and rebuilt using Evodemux (there is only one audio track (DD+)).
When I load the UNILOGO.EVO file into your program, it correctly shows both the video and audio streams, but when I Remux, NO AUDIO stream is present in the resulting M2TS file.
I am able to play the video in the resulting M2TS file (stutter free) in both PowerDVD 7.3 and ZoomPlayer.
Thank you for this utility. If We can get the audio worked out, I'll finally be able to remux my ripped HD-DVD library and play them in Zoomplayer instead of PowerVD 7.3, which occasionally stutters and uses overlay for HD-DVD instead of VMR9.
The_Keymaker
Momber
10th May 2007, 15:32
Thanks for your reply, dmz01.
HDTV2MPEG2 only supports MPEG2 video, TS streams containing any other type of video will not work.
I know it will not "work". I wasn't planning on using it - just wanted to see if it finds the streams and PID's OK, hence, if I have a "proper" transport stream at hand.
1) buy nero 7 and nero blu-ray/hd-dvd plugin
2) configure zoomplayer pro to use nero splitter, nero hd video decoder and nero audio decoder 2
3) rename zplayer.exe to recode.exe
4) associate M2TS files with recode.exe.
I have ZoomPlayer Pro set up to play BluRay m2ts files perfectly fine and it doesn't even take Nero to do that.
For demuxers, I can choose between Cyberlink Demux, Sonic HD Demuxer or the latest offering from Elecard. They work well on the m2ts's I tried them with, which came directly from BluRay rips.
I will do some tests with other EVOs as sources and report back.
S.
dmz01
10th May 2007, 16:05
New version 0.0.4:
Fixed bugs reported by users when converting EVOs to TS/M2TS. Let me know if you have issues with this version.
Momber
10th May 2007, 16:12
Ta.
I can't use 0.0.3, nor 0.0.4. "Insufficient System Resources".
S.
dmz01
10th May 2007, 16:14
Ta.
I can't use 0.0.3, nor 0.0.4. "Insufficient System Resources".
S.
.NET framework version? You need to have the latest 2.0 with all the fixes from windows update. Also what OS do you have? XP or Vista?
Momber
10th May 2007, 16:42
XP SP2. .NET 2.0 is present. I'll check for updates.
S.
P.S. Already installed: .NET 2.0 language pack, as well as Hotfixes KB917283 and KB922770
Momber
10th May 2007, 17:14
There are no further updates or service packs for me to download. I still get the message "insufficient system resources to run the desired service" (or something to that effect - translated) when trying to open any EVO.
S.
dmz01
10th May 2007, 17:29
There are no further updates or service packs for me to download. I still get the message "insufficient system resources to run the desired service" (or something to that effect - translated) when trying to open any EVO.
S.
According to Task Manager TsRemux uses around 117MB of memory. Yeah, I know its a memory hog, so someday, I might rewrite it in native code. Make sure you have around 128MB or more free. On my XP SP2 I have 1GB of memory total and the program runs fine.
The_Keymaker
10th May 2007, 17:42
I am able to run TsRemux on a memory starved Vista system (1GB) with no problem.
PS, I will try Version 0.0.4 today and see if it successfully remuxes the audio stream from EVO files.
Pookie
10th May 2007, 17:56
v.0.0.4 is a big improvement, dmz01. Well done. Keep up the good work.:)
I'll throw in a request (or 2) for future versions:
Ability to specify output PIDs (remap)
Command line version
The_Keymaker
10th May 2007, 19:20
Tried V 0.0.4 today during lunch. Still not able to remux audio stream from an EVO.
Has anyone been successful at Remuxing an EVO to TS or M2TS using (with DD+ audio stream) TsRemux yet?
I'm just trying to see if there something wrong on my end or if it is a limitation of the program.
Thanks for your efforts Dmz01
dmz01
10th May 2007, 19:25
Has anyone been successful at Remuxing an EVO to TS or M2TS using (with DD+ audio stream) TsRemux yet?
With 0.0.4 I and a couple of others were successfully able to remux the Paramount demo EVO which contains DD+ into a perfectly working M2TS. Which splitter and audio decoder do you use for M2TS? Nero splitter and audio decoder seem to work the best for me.
b_squared
10th May 2007, 19:54
If you can add matroska input support and the result works on my PS3 for AVC+AC3 files, I'll be one happy camper!
I have some AVCHD example files here and can serve as a beta tester as well.
The_Keymaker
10th May 2007, 20:52
Hello DMZ01, thanks for the response.
I don't think it is a playback issue.
TsRemux correctly shows the elementary streams in the source EVO file, but there is no audio stream present in the M2TS file TsRemux produces. I can determine this by dropping the file into Graphedit OR by playing the file in Zoomplayer: they both show there is no audio stream present in the M2TS file.
Somehow, the audio stream is not getting "remuxed" by TsRemux. Are the splitter and audio decoder important in the remux process?
I believe I have one Paramount HD-DVD and I will try and remux the demo EVO using TsRemux. I'm also curious If you can remux the Unilogo.EVO file from a Universal HD-DVD.
Thanks again for your patience.
Momber
10th May 2007, 20:53
On my XP SP2 I have 1GB of memory total and the program runs fine.
I have 1 gig of memory, too, of which 500-600 MB are free.
S.
LuemmelBS
10th May 2007, 22:17
.NET framework version? You need to have the latest 2.0 with all the fixes from windows update. Also what OS do you have? XP or Vista?
Still same here. XP SP2, .NET 2.0, all fixes. Doing a lot of stuff in C++ with VC++ and never had this awkward message.
I've 4GB RAM so there's definitely something wrong in the code.
Trying Vista Business ... let's see.
Rectal Prolapse
10th May 2007, 23:13
Some Blu-ray discs have the main feature split over several m2ts files, and also use seamless branching between them. I believe the Nine Inch Nails Blu-ray and Deja Vu Blu-ray titles do this. It would be nice if there was a tool that can handle this and spit out a remuxed single m2ts file, or a series of demuxed streams that are one file each.
Could this remuxer handle this in the future? Thanks!
dmz01
10th May 2007, 23:29
Still same here. XP SP2, .NET 2.0, all fixes. Doing a lot of stuff in C++ with VC++ and never had this awkward message.
I've 4GB RAM so there's definitely something wrong in the code.
Trying Vista Business ... let's see.
Well, it's all pure managed code, no fancy interops, unsafe code or things of that sort. I wonder where the issue is?
LuemmelBS
11th May 2007, 10:12
Well, it's all pure managed code, no fancy interops, unsafe code or things of that sort. I wonder where the issue is?
Mh, are you doing things to the Registry or open up a socket? Is the error handling ok? I'm a programmer myself and sometimes these things have unwanted side effects. Don't know if you're willing to share the source. I could give it a go and debug it on my machine. Just an offer to get this problem solved.
Btw. It works under Vista but I'm not going to change my OS because of that :)
mattmarsden
11th May 2007, 10:30
I was trying to remux my casino royale m2ts blu-ray rip to get rid of the unwanted soundtracks and it got about half way through and stopped, reporting that there was no sync byte (i think) found. Could this be an anomly in the layer change or something perhaps? The version was 0.03 by the way.
dmz01
11th May 2007, 16:40
I was trying to remux my casino royale m2ts blu-ray rip to get rid of the unwanted soundtracks and it got about half way through and stopped, reporting that there was no sync byte (i think) found. Could this be an anomly in the layer change or something perhaps? The version was 0.03 by the way.
Version 003 had some nasty bugs. 004 should be way better. :) If you get his error with 004, it means that you have a small corruption in the middle of your file. Right now the program doesn't handle any corruption in the stream. (and yes, it does work on casino royale. :D) Layer changes do not matter, as they're physical and are not exposed at the software level.
deakorn
11th May 2007, 17:45
@Rectal Prolapse
I agree, it would be nice to find a program that combines the m2ts files seamlessly so the whole file can be read. I am having problems after using the copy /b . Only first m2ts is being recognized. Video is AVC. Lets hope dmz can implement it into tsremux
dmz01
11th May 2007, 18:15
@Rectal Prolapse
I agree, it would be nice to find a program that combines the m2ts files seamlessly so the whole file can be read. I am having problems after using the copy /b . Only first m2ts is being recognized. Video is AVC. Lets hope dmz can implement it into tsremux
I can implement it as long as I can get two sample files that exhibit this behavior - not all M2TS files do. Or if someone explains to me why this behavior happens on some but not all streams. PM me if you can help.
:thanks:
enantiomer
11th May 2007, 18:18
Layer changes do not matter, as they're physical and are not exposed at the software level.
That's not quite true. Many MPEG2 BD50 discs break up the movie into two different files that reside on different layers. The MPEG2 end sequence code is written at the end of each m2ts file. Merging two files together without removing the end sequence code at the end of the first file can result in unpredictable behavior from the MPEG2 decoder.
To my knowledge, I have not found a tool that will search an MPEG2 stream and remove mid-file end sequence codes. If you can build this into your remuxing tool, it would be a huge help to us MPEG2 Blu-ray fanboys. :) Regardless, thanks for this nice tool.
dmz01
11th May 2007, 19:26
To my knowledge, I have not found a tool that will search an MPEG2 stream and remove mid-file end sequence codes. If you can build this into your remuxing tool, it would be a huge help to us MPEG2 Blu-ray fanboys. :)
That's doable. I need to know what the end sequence code looks like for MPEG2, VC-1, and AVC.
Momber
11th May 2007, 21:11
The MPEG2 end sequence code is written at the end of each m2ts file.
Exactly right.
S.
dmz01
12th May 2007, 00:21
Exactly right.
S.
Ok, so what is it? There are many, many bytes at the end of the stream...
enantiomer
12th May 2007, 01:17
Sorry, I don't have a spec available. All I know is that it resides in the video elementary stream. Maybe hank315 can lend us a hand, since he has written his own MPEG2 encoder (that writes the end sequence).
LuemmelBS
12th May 2007, 10:24
Long time ago when I wrote an MPEG2 cutter I used some specs from neuron2's site.
http://neuron2.net/library/mpeg2/iso13818-2.pdf has information on the sequence end code.
Hope that helps.
dmz01
12th May 2007, 19:08
Long time ago when I wrote an MPEG2 cutter I used some specs from neuron2's site.
http://neuron2.net/library/mpeg2/iso13818-2.pdf has information on the sequence end code.
Hope that helps.
This is exactly what I needed for MPEG-2 :) :thanks:
All I need to finish this is AVC and VC-1 sequence end codes. :) Anybody has those?
darc87
12th May 2007, 19:27
I am also getting "insufficient resources" error.
XP Pro
.net 2.0
latest updates
darc87
dmz01
12th May 2007, 21:05
I am also getting "insufficient resources" error.
XP Pro
.net 2.0
latest updates
darc87
LuemmelBS added code to have an option to turn off asynchronous I/O. His changes should fix this problem for most. They will be incorporated into the next version.
drmpeg
13th May 2007, 11:53
This is exactly what I needed for MPEG-2 :) :thanks:
All I need to finish this is AVC and VC-1 sequence end codes. :) Anybody has those?
The ITU-T standards are now free to download.
http://www.itu.int/rec/T-REC-H.264-200503-I/en
http://www.itu.int/rec/T-REC-H.264-200606-I!Amd1/en
Ron
dmz01
13th May 2007, 17:21
:thanks:
madshi
14th May 2007, 15:00
Hey,
just found this on Haali's page:
http://haali.cs.msu.ru/mkv/MatroskaParser.zip
Ready to use C sources to access all tracks of a Matroska file. Might make adding mkv support a lot easier... :)
Core parser library
This is the core library that is used in the splitter and utilities, it's written in plain C and is higly portable. In the archive there are MatroskaParser.c and MatroskaParser.h, these files are the library itself, and the demo app dumptrack.c that demonstrates how to open a Matroska file and dump all track contents to stdout.
dmz01
16th May 2007, 22:46
New version: 0.0.5
This is mostly bug fixes, no new features yet:
Includes code from LuemmelBS to disable Async I/O if you get the "Insufficient Resources" error.
Adds smarts to deal with corrupted streams where only a portion of a TS packet exist in a middle of a stream.
Fixes PTS/DTS/PCRs that are out of sync due to combining multiple EVOs or M2TSs into a single file. (end-of-sequence removal not yet implemented)
Still on the to do list in no particular order:
end-of-sequence removal
mkv input support
adding (inmuxing) SUP streams
b_squared
16th May 2007, 23:17
:thanks: Anxiously waiting for the coming features, this seems to be coming along nicely!
Do you have any plans to open-source your tool? It might speed up development. Might be the first step to build a set of open-source tools for authoring Blu-ray.
1. Is it possible to adding additonal soundtrack into ts/m2ts?
2. Could you add a output split option by capacity.
Thanks to your great job.
Momber
17th May 2007, 18:33
Hi!
With v. 005 I don't get the "insufficient..." message anymore. Instead, only a split second after clicking "remux" I get the error message "Object reference not set to an instance of an object" and TsRemux quits.
S.
SeeMoreDigital
17th May 2007, 19:35
Sadly, whenever I feed an MPEG-2.TS source into with v.0.0.5, I obtain the following error message: -
[img]http://img341.imageshack.us/img341/6623/tsremuxsy6.png[img]
The same source works fine when fed into with v.0.0.4....
Cheers
dmz01
17th May 2007, 19:54
Sadly, whenever I feed an MPEG-2.TS source into with v.0.0.5, I obtain the following error message: -
[img]http://img341.imageshack.us/img341/6623/tsremuxsy6.png[img]
The same source works fine when fed into with v.0.0.4....
Cheers
That was "copy and paste" issue with an early version of v.0.0.5. Try the current one.
trilko
18th May 2007, 12:16
New version: 0.0.5
Still on the to do list in no particular order:
end-of-sequence removal
mkv input support
adding (inmuxing) SUP streams
Great tool!
Would it be possible to also include MP4 as an input? Or maybe there is already any tool that converts MP4 to transport stream?
Thanx!!
mattmarsden
18th May 2007, 13:25
With 0.0.5 I get exactly the same "Object reference not set to an instance of an object" message as momber when trying to remux casino royale after it get about 2 gigs in, havnt tried any other files yet
SeeMoreDigital
18th May 2007, 15:46
That was "copy and paste" issue with an early version of v.0.0.5. Try the current one.Thanks... I've done that but now I obtain the following error message: -
http://img253.imageshack.us/img253/407/snap2qj4.png
And a file with "0 bytes" is produced :(
Cheers
dmz01
18th May 2007, 20:27
Thanks... I've done that but now I obtain the following error message:
And a file with "0 bytes" is produced :(
Cheers
I most likely fixed that bug already. If you can be patient, please wait until the next version. The issue there was that a PES packet was longer than 0xffff so the packet lenght field overflowed.
dmz01
18th May 2007, 20:31
Great tool!
Would it be possible to also include MP4 as an input? Or maybe there is already any tool that converts MP4 to transport stream?
Thanx!!
See this post. (http://forum.doom9.org/showthread.php?p=1000937#post1000937)
madshi
18th May 2007, 22:37
Great tool!
Would it be possible to also include MP4 as an input? Or maybe there is already any tool that converts MP4 to transport stream?
Thanx!!
Once MKV input support is implemented, you can do MP4 -> MKV (mkvtoolnix does that very comfortably) and then use the Transport Stream Remuxer to finally create a transport stream.
dmz01
19th May 2007, 01:32
New version 0.0.6 - bug fixes for the issues mentioned here as well as preliminary support for adding subtitle (presentation graphics) streams. The streams must be in the format that SUPreader recognises as blu-ray subtitles. (You can generate those by demuxing a SUP stream in TsMuxer for example)
Kurtnoise
19th May 2007, 12:06
Hey,
1/ When I load some TS files, I've this error msg : "Sync byte missing". How to resolve this ?
2/ Once, I've got this : "l'index se trouve en dehors des limites du tableau" --> "Index figures outside the tab limits". Sounds like a NULL missing for a pointer.
dmz01
19th May 2007, 15:46
Hey,
1/ When I load some TS files, I've this error msg : "Sync byte missing". How to resolve this ?
2/ Once, I've got this : "l'index se trouve en dehors des limites du tableau" --> "Index figures outside the tab limits". Sounds like a NULL missing for a pointer.
Those usually occur with corrupted files. If you can make samples available to me I can add robustness for those.
Kurtnoise
19th May 2007, 18:03
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).
raeldor
19th May 2007, 21:04
Hi,
On version 0.0.6 when trying to remux I get the 'object reference not set to an instance of an object' error.
Would be great to get this working, as I am having trouble playing my TS stream that has DTS embedded with PureVideo.
Thanks!
dmz01
19th May 2007, 21:39
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).
By "corrupted" I mean that there are one or more sections that have missing bytes, usually due to drop-outs etc. It can still play fine with most decoders but you migth be able to see a missing frame or two during playback. Downloading samples now. Thanks!
dmz01
19th May 2007, 21:49
Hi,
On version 0.0.6 when trying to remux I get the 'object reference not set to an instance of an object' error.
Would be great to get this working, as I am having trouble playing my TS stream that has DTS embedded with PureVideo.
Thanks!
If you make a sample available to me that reproduces the problem, I will fix it. :) You can always PM me the link.
SeeMoreDigital
19th May 2007, 21:52
By "corrupted" I mean that there are one or more sections that have missing bytes, usually due to drop-outs etc. It can still play fine with most decoders but you migth be able to see a missing frame or two during playback. Downloading samples now. Thanks!I was only able to get TSremux to open both TS samples after running them thru' MPEG2Repair first....
That said, I was unable to generate a re-mux with v0.0.6. Only v0.0.4 works for me!
Cheers
BBugsBunny
19th May 2007, 22: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, 05: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, 05: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, 11: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, 16: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, 17: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, 18: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, 19: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, 20: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, 21: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
21st May 2007, 00: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
21st May 2007, 00: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, 19: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, 22: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
22nd May 2007, 00: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?
I remux a .ts to a m2ts and have severe audio sync issues.. this happen to anyone else?
moshmothma
24th May 2007, 03: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, 04: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, 12: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, 18: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, 22: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, 01: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, 05: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, 11: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, 14: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, 16: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, 23: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, 02: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, 22: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, 12: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.
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, 18: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)?
I've unchecked async I/O and now it works perfectly
thx
Zagolski
27th May 2007, 20: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, 23: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, 23: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, 10: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, 16: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, 18: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, 21: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, 08: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, 09: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!
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, 18: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, 19: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, 19: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, 22: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, 23: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, 01:53
any chance that TSremux could interchange/replace audio streams like "french dd+ stream replace to german dd+ stream"?
SealTooGreat
30th May 2007, 10:49
Can someone suggest tool for muxing h264/mpg and AC3 into .mpg?
trilko
30th May 2007, 11: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, 08:43
Yes ive got the 'stream data too short' problem with POTC as well
dade49
1st June 2007, 10: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, 12: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, 12: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, 15: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, 18: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, 13: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, 09:05
In what format to insert subtitles? .sup and .sub not inserted...
Sneals2000
3rd June 2007, 13: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, 14: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, 18: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, 20: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, 21: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, 22: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, 23: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, 01: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, 08: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, 09: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, 02: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, 16: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, 20: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, 20:29
Version 0.0.10 mirrored here:
http://www.box.net/shared/seh3uu5zmh
yonta
8th June 2007, 00: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, 01: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, 02: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, 05: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, 10:29
Version 0.0.11 mirrored here:
http://www.box.net/shared/1r35cv2lnd
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
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, 17: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.
http://standards.iso.org/ittf/PubliclyAvailableStandards/c041828_ISO_IEC_14496-12_2005(E).zip
dmz01
8th June 2007, 19:30
http://standards.iso.org/ittf/PubliclyAvailableStandards/c041828_ISO_IEC_14496-12_2005(E).zip
Thanks,
I appreciate it. :)
kabanero
8th June 2007, 23: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, 23: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
9th June 2007, 00: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
9th June 2007, 00: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
9th June 2007, 00: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
9th June 2007, 00: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, 08: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, 08: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, 09: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, 11:09
Version 0.0.12 mirrored here:
http://www.box.net/shared/p7f6pk13gh
colinhunt
9th June 2007, 12: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, 12: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, 15: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, 15: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, 15: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, 15: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, 16: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)
colinhunt
9th June 2007, 19:20
kabanero, that error might not be caused by remuxing. PS3 seems to be incredibly picky about how the disc was burned.
colinhunt
9th June 2007, 19:21
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. :)
I'll do a test burn and will let you know how the players reacted.
kabanero
9th June 2007, 22:01
kabanero, that error might not be caused by remuxing. PS3 seems to be incredibly picky about how the disc was burned.
Yes, I know that PS3 is very picky, but it was the same BD-RE disk burned the same way both times with Nero using UDF 2.5.
After remuxing with version 11 disk played on PS3, but without video and audio. After remuxing with version 12 I got that error.
Pelican9
9th June 2007, 22:03
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.
OK. That's good if it works.
I've changed BDedit to work with it.
colinhunt
9th June 2007, 23:23
Yes, I know that PS3 is very picky, but it was the same BD-RE disk burned the same way both times with Nero using UDF 2.5.
After remuxing with version 11 disk played on PS3, but without video and audio. After remuxing with version 12 I got that error.
The funny thing is that I've burned the exact same data on two discs, using the same version of Nero and same settings... and one of the discs played on PS3 and the other one didn't.
colinhunt
9th June 2007, 23:35
OK. Managed to finally burn a BDMV created with version 12. Disc plays fine in PS3, I can see a picture but there's no sound. Exactly the same results as with the previous version; PS3 reports nothing about audio etc.
Panny BD10 again recognizes the disc as BD and tries to play it. After a couple of seconds of black screen player display reads STOP and playback stops.
I seem to remember that PC-burned BD-REs used to work on the Panny, but that was before I updated its firmware to v2.0. Maybe that disabled non-AACS BD-RE support?
colinhunt
9th June 2007, 23:39
FYI, my burn process is as follows:
1) remux with TsRemux to "Blu-ray"
2) select Blu-ray Disc (UDF) compilation type in Nero 7 Premium (v7.9.6.0), switch file system manually to UDF 2.50 and drop the BDMV directory into compilation
3) select Image Recorder as destination and write a .NRG disc image on HDD
4) use the latest ImgBurn to burn the image on BD-RE disc
Oddly enough one of my PCs burns discs at 1x speed only. Another PC burns happily at 2x - same burner, same media. Weird stuff.
colinhunt
9th June 2007, 23:42
Update on the Panny BD10 issue. Found an older BD-RE which worked on the Panny (luckily I had written that on the label as a reminder) and placed it in the player. Works fine!
So, TsRemuxed BDMVs not working on the Panny is not Panny's fault.
kabanero
10th June 2007, 03:01
OK. Managed to finally burn a BDMV created with version 12. Disc plays fine in PS3, I can see a picture but there's no sound. Exactly the same results as with the previous version; PS3 reports nothing about audio etc.
YEAAAAAAAH!!! I got the video too, but no sound.
I also have chapters every 5 minutes and can skip between chapters.
So, TsRemuxed BDMVs not working on PS3 is not PS3's fault. Probably Nero producing inconsistent results with burning Blu-ray disks.
My burn process is as follows:
remux with TsRemux to "Blu-ray" option.
select Blu-ray Disc (UDF) compilation type in Nero 7 (v7.7.5.1), switch file system manually to UDF 2.50 and drop the BDMV and CERTIFICATE directories into compilation.
burn directly to BD-RE disk.
colinhunt
10th June 2007, 10:35
I don't burn the CERTIFICATE directory. As far as I know it's not necessary.
dmz01
10th June 2007, 18:38
I don't burn the CERTIFICATE directory. As far as I know it's not necessary.
CERTIFICATE and CERTIFICATE\BACKUP are necessary even if they're empty. I wouldn't have created them otherwise. :D
colinhunt
10th June 2007, 19:07
CERTIFICATE and CERTIFICATE\BACKUP are necessary even if they're empty. I wouldn't have created them otherwise. :D
Hmm... I've got plenty of BD-RE backups that don't have it, and they all work perfectly. Why is it necessary?
dmz01
10th June 2007, 19:17
Hmm... I've got plenty of BD-RE backups that don't have it, and they all work perfectly. Why is it necessary?
BDROM specifications require it. It is part of the bare minimum set for a compliant disk. Non-compliant structure disks will probably work on a lot of players, but you can't guarantee them to work on all.
colinhunt
10th June 2007, 19:35
BDROM specifications require it. It is part of the bare minimum set for a compliant disk. Non-compliant structure disks will probably work on a lot of players, but you can't guarantee them to work on all.
Ah, thank you.
Keeping this in mind, I dug out that BD-RE which works in the Panny BD10 v2.0. I burned it quite some time ago,way before the Panny 2.0 firmware was released.
I thought the missing CERTIFICATE could be the reason why my TsRemuxed test burns aren't working in the Panny... but that's not the cause. The older BD-RE that works in the Panny doesn't have CERTIFICATE either; only BDMV.
Hey, maybe I should rip that discs' BDMV directory for you to check?
colinhunt
10th June 2007, 19:46
Here's the BDMV (sans STREAM, naturally) from the BD-RE which works in the Panasonic:
http://www.box.net/shared/jiupl9nurt
Icemaan
10th June 2007, 22:00
Here's the BDMV (sans STREAM, naturally) from the BD-RE which works in the Panasonic:
http://www.box.net/shared/jiupl9nurt
I want test TsRemux but i everytime get the Problem
Not enough System Resources to Start.Any Idea whats goes Wrong
Icemaan
colinhunt
10th June 2007, 22:26
I want test TsRemux but i everytime get the Problem Not enough System Resources to Start.Any Idea whats goes Wrong
I think post #197 in this thread answers your question. Come on, it's on the previous page, man.
Icemaan
10th June 2007, 22:45
I think post #197 in this thread answers your question. Come on, it's on the previous page, man.
Oh man i am so stupid i read and read but not found thanks a lot for your Tip
icemaan
BBugsBunny
11th June 2007, 00:00
dmz01:
Version 0.0.12 works very well for me! Some problematic transport streams I recorded with media portal tv server 3, now are fully playable with MPC+Haali+CoreAVC, after I passed (and trimmed beginning/end) it through TSRemux.
I do use .ts as output format.
Thanks a lot!
karollt
11th June 2007, 11:34
At last I can reply :)
Hi all. I have a problem, I need, to convert DVD to mpeg, but I need to leav all sound traks, and titles, how I can do it? I tried with TSRemux, but VLC doent play anithing ... :(
Please help me
colinhunt
11th June 2007, 11:40
At last I can reply :)
Hi all. I have a problem, I need, to convert DVD to mpeg, but I need to leav all sound traks, and titles, how I can do it? I tried with TSRemux, but VLC doent play anithing ... :(
TsRemux is most likely the wrong tool for that job, sorry. Also, I don't think MPEG supports titles and multiple sound tracks like DVD does.
Can a Evob with VC1 and DDplus be remuxed in a m2ts file ?
Would a PS3 play this m2ts file from a BDRE ?
colinhunt
11th June 2007, 12:09
Can a Evob with VC1 and DDplus be remuxed in a m2ts file ?
Would a PS3 play this m2ts file from a BDRE ?
I don't see why not. VC1 is a mandatory codec for Blu-ray and while DDplus is Optional, I'm quite certain PS3 supports it. It's just a question of writing a demuxer for EVOB and making sure the streams are properly "tagged" during remuxing. That's a gross simplification, naturally. I'm not a programmer, but I'm sure the actual development of this is much harder than it sounds.
I'd love to be able to remux EVOBs for PS3 viewing, too :)
karollt
11th June 2007, 12:34
so, maybe you know right tool for me?
karollt
11th June 2007, 12:37
I need in one file to have some soundtracks, sometitles, and video ofcourse:), to translate like in tv, the clients via VLC could sweach languages and so on, like DVD...I dont know, how to solve my problem...:(
colinhunt
11th June 2007, 12:53
I need in one file to have some soundtracks, sometitles, and video ofcourse:), to translate like in tv, the clients via VLC could sweach languages and so on, like DVD...I dont know, how to solve my problem...:(
What if you simply decrypt the DVD contents (IFO, VOB etc.) into a directory, and play them with VLC? Just select "Open File" in VLC and point it to the directory where you have the DVD data. Works fine for me.
But honestly, since you wish to use VLC, I suggest you head on over to a VLC-related thread, if you have further questions. This thread is for TsRemux.
karollt
11th June 2007, 13:17
I need, to get one file...I tought, that it myght be .ts, the video will watch clients, not me, so everithing should be very simple for them.
Thanks for ansers...
trilko
11th June 2007, 15:03
What if you simply decrypt the DVD contents (IFO, VOB etc.) into a directory, and play them with VLC? Just select "Open File" in VLC and point it to the directory where you have the DVD data. Works fine for me.
I already tried that, but I lose the subtitles that way. It seems that VLC cannot deal with subtitles... Do you know for any solution?
colinhunt
11th June 2007, 15:36
I already tried that, but I lose the subtitles that way. It seems that VLC cannot deal with subtitles... Do you know for any solution?
Again, this is not a correct thread for this. Take it to a VLC-related thread, k?
jagaskywalker
11th June 2007, 15:37
...
My burn process is as follows:
remux with TsRemux to "Blu-ray" option.
select Blu-ray Disc (UDF) compilation type in Nero 7 (v7.7.5.1), switch file system manually to UDF 2.50 and drop the BDMV and CERTIFICATE directories into compilation.
burn directly to BD-RE disk.
Has anybody tried burning that into a DVD and playing it on a PS3 ?
What is the level of compatibility wrt different video/audio codecs ? (AVCHD is just AVC/H264 + AC3, but it would be interesting to know if MPEG2 + AC3 is also playable....o VC1...)
Thanks
J
karollt
11th June 2007, 15:53
ok, I need, that Motorola VIP1900 series would play this file...
dmz01
11th June 2007, 15:54
Can a Evob with VC1 and DDplus be remuxed in a m2ts file ?
Would a PS3 play this m2ts file from a BDRE ?
I don't see why not. VC1 is a mandatory codec for Blu-ray and while DDplus is Optional, I'm quite certain PS3 supports it. It's just a question of writing a demuxer for EVOB and making sure the streams are properly "tagged" during remuxing. That's a gross simplification, naturally. I'm not a programmer, but I'm sure the actual development of this is much harder than it sounds.
I'd love to be able to remux EVOBs for PS3 viewing, too :)
Did you try TsRemux? What was the result?
colinhunt
11th June 2007, 16:03
Did you try TsRemux? What was the result?
No, I didn't, not yet. I don't have any EVOBs ready on HDD, need to rip a disc first.
dmz01
11th June 2007, 16:10
As per title of this thread TsRemux does support EVOB/VOB/MPG streams as input :D
Let me know what you find. :thanks:
colinhunt
11th June 2007, 16:19
As per title of this thread TsRemux does support EVOB/VOB/MPG streams as input :D
Heh, yeah, I noticed that about 5 seconds after I replied to the EVOB question :)
Anyways, I did a really quick rip of Paramount logo animation from a HD DVD. It's got VC-1 for video and DDPlus for audio.
If I drop the resulting .m2ts from STREAM directly into PDVD... PDVD goes insane and needs to be put down.
BUT if I use the "Open movie file on HDD" option, the clip plays! PDVD reports video as VC-1 and bitrate looks realistic. Audio is reported as DDPlus, but there's no mention of channels or bitrate, and there's no audio playing. (Originally the clip has DDPlus 5.1 at 1.5mbit/s.)
It's pretty much the same audio bug that plagued my earlier AVC/DD remux attempts.
dmz01
11th June 2007, 16:23
Yep, still working on the audio bug. Would it be possible for you to try a VOB from a regular DVD as well? I believe in regular DVD/VOB case the audio should be correct.
:thanks:
colinhunt
11th June 2007, 16:57
Yep, still working on the audio bug. Would it be possible for you to try a VOB from a regular DVD as well? I believe in regular DVD/VOB case the audio should be correct.
Did you mean remuxing a DVD VOB into "Blu-ray"?
Well, I did that. Same audio bug again. PDVD displays the correct audio codec (the disc had PCM stereo and 5.1 DTS), but only the codec name, no # of channels or bitrate.
I'll try a disc with Dolby Digital next.
colinhunt
11th June 2007, 17:10
That's a no go with DD also.
I then tried dropping the m2ts from STREAM into PDVD. The file with DD audio worked, PCM and DTS showed picture but there's no audio.
Nero Showtime played DD and DTS files perfectly, but PCM played without sound.
Rectal Prolapse
11th June 2007, 18:13
DD+ and TrueHD tracks from HD-DVDs are not compliant with the Blu-ray spec - the file format is different. At least, that's what I heard from people trying to author BD-REs from HD-DVD video and audio streams.
So just be careful if you want to use this tool to convert formats. :)
colinhunt
11th June 2007, 20:00
DD+ and TrueHD tracks from HD-DVDs are not compliant with the Blu-ray spec - the file format is different. At least, that's what I heard from people trying to author BD-REs from HD-DVD video and audio streams.
Ah, indeed. DDplus uses different frame sizes. TrueHD has different bitrates, so it also differs in some way.
dmz01
12th June 2007, 04:26
New version: lucky number 0.0.13
-fixed sound issues in TS->Blu-Ray
-fixed DD/DTS (E)VOB->TS/M2TS/Blu-Ray
-DD+ EVOB->TS/M2TS/Blu-Ray may or might not work depending on the stream.
-MLP/LPCM EVOB->TS/M2TS/Blu-Ray will not yet work.
-Blu-Ray output is now beta.
kabanero
12th June 2007, 05:55
dmz01,
I just tried 0.0.13 and I still didn't get the sound. Video plays great.
dmz01
12th June 2007, 06:41
dmz01,
I just tried 0.0.13 and I still didn't get the sound. Video plays great.
Need a sample. :)
:thanks:
colinhunt
12th June 2007, 10:37
0.0.13 mirrored here:
http://www.box.net/shared/gvzemysl6o
kabanero
12th June 2007, 12:33
Need a sample. :)
:thanks:
Do you need the whole thing including M2TS file, or just everything except that?
The whole thing is 1GB, without that it is just 7KB.
colinhunt
12th June 2007, 12:37
First test with 0.0.13.
Source:
HDTV Broadcast Transport Stream
1080i MPEG-2
Dolby Digital 2.0 448kbps
Remuxed into "Blu-ray".
Results:
.m2ts from STREAM dropped into Nero Showtime - OK!
.m2ts from STREAM dropped into PDVD 7.3 Ultra - OK!
BDMV opened with PDVD's "Open movie file on HDD" - Image OK, no audio. Exactly as before; only audio codec name is shown in PDVD OSD.
I think it's a valid testing process to first try the data out with PDVD, and to burn a BD-RE only when PDVD plays the data OK. What do you reckon?
kabanero
12th June 2007, 12:48
First test with 0.0.13.
Source:
HDTV Broadcast Transport Stream
1080i MPEG-2
Dolby Digital 2.0 448kbps
Remuxed into "Blu-ray".
Results:
.m2ts from STREAM dropped into Nero Showtime - OK!
.m2ts from STREAM dropped into PDVD 7.3 Ultra - OK!
BDMV opened with PDVD's "Open movie file on HDD" - Image OK, no audio. Exactly as before; only audio codec name is shown in PDVD OSD.
I think it's a valid testing process to first try the data out with PDVD, and to burn a BD-RE only when PDVD plays the data OK. What do you reckon?
My test with 0.0.13.
Source:
HDTV Broadcast Transport Stream from cable co.
1920x1080i MPEG-2
Dolby Digital 5.1 384kbps
Remuxed into "Blu-ray".
.m2ts file from STREAM folder play great in MPC and ShowTime.
Don't have PDVD. And it only takes couple minutes to burn 1GB to BD-RE..
colinhunt
12th June 2007, 12:51
Second test with 0.0.13.
Source:
HDTV Broadcast Transport Stream
1080i MPEG-2
Dolby Digital 5.1 384kbps
Remuxed into "Blu-ray".
Results:
exactly the same as from first test.
colinhunt
12th June 2007, 12:56
And it only takes couple minutes to burn 1GB to BD-RE..
Certainly, but my point is that PDVD is *supposed* to be Blu-ray compatible. It means that if the data won't play properly in PDVD, there's very little point in burning a BD-RE. Iow, PDVD can be used to test compliancy.
dmz01
12th June 2007, 14:42
Do you need the whole thing including M2TS file, or just everything except that?
The whole thing is 1GB, without that it is just 7KB.
I need a sample of the source (pre-remux). By sample I mean around 100MB or so of the file.
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.