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


Pages : [1] 2

dmz01
4th May 2007, 17:39
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)

zgx
4th May 2007, 22:47
Thank you. Great work :).

Thunderbolt8
4th May 2007, 23: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.

dmz01
5th May 2007, 00:06
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, 00: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 -.-

dmz01
5th May 2007, 00:51
Can't figure it out without a sample. :) Can you make a small sample for me?

Thunderbolt8
5th May 2007, 01: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 ?

bob0r
5th May 2007, 01:06
You're free to test all these: http://x264.nl/h.264.samples/

dmz01
5th May 2007, 01:44
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

dmz01
5th May 2007, 01:46
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, 02:13
yes, but tell me how plz, what do I have to do with which tools :D

dmz01
5th May 2007, 02:36
try a simple "copy" command and "CTRL-C" it after a few seconds.

Pookie
5th May 2007, 07: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, 09: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, 09: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, 10: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, 11: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.

dmz01
5th May 2007, 13:03
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, 16: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, 17: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, 19: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

dmz01
5th May 2007, 21:00
Yes, the only requirement is the official .NET 2.0

Pelican9
5th May 2007, 23: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, 00: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).

dmz01
6th May 2007, 01:26
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, 02: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, 02: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

dmz01
6th May 2007, 05:58
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, 17: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

dmz01
8th May 2007, 15:48
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.

dmz01
8th May 2007, 16:01
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, 16: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.

dmz01
8th May 2007, 17:02
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, 17:04
MP4 with AVC streams could be great too...:)

madshi
8th May 2007, 17: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, 19: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)

dmz01
8th May 2007, 19:56
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.

dmz01
8th May 2007, 19:57
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, 10: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, 19: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?

Zero1
9th May 2007, 22:04
Would it be possible to add an option to demux the files? That would be great :)

Momber
10th May 2007, 00: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, 06: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, 06: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, 07: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, 13: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, 14: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, 15: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, 15:12
Ta.
I can't use 0.0.3, nor 0.0.4. "Insufficient System Resources".

S.

dmz01
10th May 2007, 15: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, 15: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, 16: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, 16: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, 16: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, 16: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, 18: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, 18: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, 18: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, 19: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, 19: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, 21: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, 22: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, 22: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, 09: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, 09: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, 15: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, 16: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, 17: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, 17: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, 18: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, 20:11
The MPEG2 end sequence code is written at the end of each m2ts file.
Exactly right.

S.

dmz01
11th May 2007, 23:21
Exactly right.

S.

Ok, so what is it? There are many, many bytes at the end of the stream...

enantiomer
12th May 2007, 00: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, 09: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, 18: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, 18:27
I am also getting "insufficient resources" error.

XP Pro
.net 2.0
latest updates

darc87

dmz01
12th May 2007, 20: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, 10: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, 16:21
:thanks:

madshi
14th May 2007, 14: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, 21: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, 22: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.

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

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

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

Thanks & greets
S.

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

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

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

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

:thanks:

dmz

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Zagolski
21st May 2007, 23:03
2 dmz

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

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

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

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

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


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

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

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

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

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


Cheers

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

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

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

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

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


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

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

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

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

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


Cheers

Ahh, this brings back memories... :)

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

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

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

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

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

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


Cheers

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

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

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

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

dmz

Zagolski
26th May 2007, 01:14
dmz01

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

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

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

Thank you comrade! :)

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

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

Haali splitter can't splitter audio track correct.

Original .EVO have DD+, TrueHD sound tracks.

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

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

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

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

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

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

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

thx

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

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

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

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

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

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

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

Tnx guys :-)

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

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

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

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

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

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

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

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

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

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

Thanks for the work and long life to TSRemux!

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

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

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

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

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

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

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

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

Any ideas?

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

Tnx!

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


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

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

Summary information from bbtool1.9

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

Use bbinfo to get further details about PIDs.

eb

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

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

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

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

Thanks for the work and long life to TSRemux!

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

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

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

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

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

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

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

trilko
30th May 2007, 10:54
I have another problem with TsRemux. I have VOB with ac3 audio, which works ok. When I convert it to transport stream using TsRemux the result is quite bad.

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

Any ideas?

If I open this VOB file in VLC, let it through and make MPEG TS file, that works ok, also audio in TS file is ok. TS file from VLC is also quite smaller than file that TsRemux makes. But VLC cannot deal with subtitles, that's why I'd really like to have TsRemux working :-)

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

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

Tnx for your help!

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

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

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

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

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

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

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

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

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

Tnx for your help!

thanks, looking into this as well as into POTC.

dmz

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

That is awesome. Worked like a charm. Thanks.

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

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

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

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

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

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

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

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


Cheers

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


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

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

J

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

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

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

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

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

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

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

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

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

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

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

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

index was outside the bounds of the array

Any ideas?

Thx in advance for any replies :)

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

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

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

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

Thanks,
dmz

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

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

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

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

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

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

tsremux v0.0.10 did correctly recognize the elementary streams.

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

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

tsremux v0.0.10 did correctly recognize the elementary streams.

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

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

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

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

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

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

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

Thanks,
dmz

Hope these files is helpful to you.

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

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

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

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

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

Thanks,
I appreciate it. :)

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

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

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

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

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

You messed up something in 0.0.11.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Anyone else having this prob?
Yes, same here.


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

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

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

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

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

Thanks

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

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

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

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

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

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

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

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

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

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

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

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

Anyone else having this prob?
Yes, same here.


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

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

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

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

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

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

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

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

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

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

dmz01,

PS3 says:

This is invalid disk
(80029941)

colinhunt
9th June 2007, 18: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, 18: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, 21: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, 21: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, 22: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, 22: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, 22: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, 22: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, 02: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, 09:35
I don't burn the CERTIFICATE directory. As far as I know it's not necessary.

dmz01
10th June 2007, 17: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, 18: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, 18: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, 18: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, 18: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, 21: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, 21: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, 21: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
10th June 2007, 23: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, 10: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, 10: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.

K40
11th June 2007, 10:55
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, 11: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, 11:34
so, maybe you know right tool for me?

karollt
11th June 2007, 11: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, 11: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, 12: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, 14: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, 14: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, 14: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, 14:53
ok, I need, that Motorola VIP1900 series would play this file...

dmz01
11th June 2007, 14: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, 15: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, 15: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, 15: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, 15: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, 15: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, 16: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, 17: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, 19: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, 03: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, 04:55
dmz01,

I just tried 0.0.13 and I still didn't get the sound. Video plays great.

dmz01
12th June 2007, 05: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, 09:37
0.0.13 mirrored here:
http://www.box.net/shared/gvzemysl6o

kabanero
12th June 2007, 11: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, 11: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, 11: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, 11: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, 11: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, 13: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.

dmz01
12th June 2007, 13:42
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.

Agreed. :)

dmz01
12th June 2007, 13:43
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.

Can I get a sample of your source?

colinhunt
12th June 2007, 13:45
Can I get a sample of your source?
Sure! My bandwidth is pretty limited though, so it won't be a large sample. I'll get on it.

colinhunt
12th June 2007, 14:13
dsmz01, you've got PM.

dmz01
12th June 2007, 15:24
Thanks for the sample. I know now what the issue is: Broadcast TS PES packets for AC3 audio are not conformant with bluray (they do conform to the TS specs - bluray is a subset of those :)). I will have to re-generate the PES header for those to be bluray conformant. Stay tuned.

colinhunt
12th June 2007, 15:42
Thanks for the sample. I know now what the issue is: Broadcast TS PES packets for AC3 audio are not conformant with bluray (they do conform to the TS specs - bluray is a subset of those :)). I will have to re-generate the PES header for those to be bluray conformant. Stay tuned.
Excellent! I'm waiting with baited breath :)

phaeton
12th June 2007, 21:44
Me too lol. The sooner BR support is out, the sooner MKV import can start :D :D :D :D :D :D :D

colinhunt
12th June 2007, 22:05
Oh yes, I could use MKV import too, but compliant Blu-ray output is for me much more important atm. Having said that, I've got a few interesting MKVs hanging around that I'd really love to remux into something else... :)

phaeton
13th June 2007, 06:20
dmz01 would webspace help you at all? It's the least I can contribute, maybe an FTP + Simple Web Page w/ Changelog will help?

oldpainless
13th June 2007, 08:00
Me too lol. The sooner BR support is out, the sooner MKV import can start :D :D :D :D :D :D :D

Same here......:cool:

trilko
13th June 2007, 09:15
My test with 0.0.13:

I have VOB file with 1 video, 2 audios (AC-3) and 2 subtitles. If I transcode it with VLC to TS the TS file works ok.

If I transcode it with TsRemux:
1. It is not playing it in VLC - there is no video, no audio (although it shows it has both) and apparently no subtitles.
2. It is playing in MPC, with video and audio(s)
3. The TS file is much much bigger than the one I make with VLC

When I open VOB in TsRemux it shows MPEG video stream #0, in TsRemux TS file after it shows MPEG video stream #1 and in VLC TS file it's MPEG video stream #4. Is that any important?

I have all three samples on http://www.sitv.tv/Test/TsRemux.zip

nanaprod
13th June 2007, 15:18
Good day) Thanks a lot for your program) Sorry for possible noob questions, but I have a problem with Chinese remuxes of HD-DVD. Your programm works well with (mpeg2 and h264) remuxes , but it not work with any vc-1 remuxes. And when i tried to load Chinese vc-1 remux, then, in "Source file info" I see message: "Warning:No PCRs available". Is it something wrong in that vc-1 remuxes or programm just can't properly work with vc-1 yet?

dmz01
13th June 2007, 16:17
Good day) Thanks a lot for your program) Sorry for possible noob questions, but I have a problem with Chinese remuxes of HD-DVD. Your programm works well with (mpeg2 and h264) remuxes , but it not work with any vc-1 remuxes. And when i tried to load Chinese vc-1 remux, then, in "Source file info" I see message: "Warning:No PCRs available". Is it something wrong in that vc-1 remuxes or programm just can't properly work with vc-1 yet?

Should work. If you make a sample of your source evo available I can take a look.

dmz01
13th June 2007, 16:18
dmz01 would webspace help you at all? It's the least I can contribute, maybe an FTP + Simple Web Page w/ Changelog will help?

Thank you so much, I'll keep that in mind. I'll send you a PM later.

dmz01
13th June 2007, 16:22
My test with 0.0.13:

I have VOB file with 1 video, 2 audios (AC-3) and 2 subtitles. If I transcode it with VLC to TS the TS file works ok.

If I transcode it with TsRemux:
1. It is not playing it in VLC - there is no video, no audio (although it shows it has both) and apparently no subtitles.
2. It is playing in MPC, with video and audio(s)
3. The TS file is much much bigger than the one I make with VLC

When I open VOB in TsRemux it shows MPEG video stream #0, in TsRemux TS file after it shows MPEG video stream #1 and in VLC TS file it's MPEG video stream #4. Is that any important?

I have all three samples on http://www.sitv.tv/Test/TsRemux.zip

I'll take a look. thanks.

colinhunt
13th June 2007, 18:19
First attempt with 0.0.14: SUCCESS!

Source had a MPEG2 1920x1080i/DD 2.0 448kbit and it worked perfectly!

I'll give it something a bit more difficult to chew :)

colinhunt
13th June 2007, 18:22
Whoo-hoo!

Source: AVC 1080p/DD5.1 448kbit/s

No problems with PowerDVD, "Open movie file on HDD" works like a dream!

dmz01, you Da Man! :)

Next up, burning a test on a BD-RE to see what PS3 and Panny BD10 says about it.

dmz01
13th June 2007, 19:04
The thing that makes me smirk is the HDIntro.EVO remuxed into Blu-Ray output. :devil: :D

colinhunt
13th June 2007, 19:07
Holy freakin' hell.

Burned the data on a BD-RE using Nero, forced into UDF2.50 file system. Didn't do an image file first, and Nero dropped down to 1x write speed again (duh!), but heck, the disc works in PS3!

Source is AVC/1080p with DD5.1 448kbit, but for some reason PS3 sends it as 1080i to the TV. Aaactually, I'm not 100% certain the source is 1080p, but that's what it's supposed to be.

I'll try the disc on Panny BD10 next.

colinhunt
13th June 2007, 19:10
That's still a no go on the Panny. I have no idea why, really. Oh, this time I burned CERTIFICATE as well :)

Adbear
13th June 2007, 19:15
Made a BDMV using 1920x1080 5.1 sound and now plays back off hard drive with powerdvd, many thanks for that.
Have you tried it with DD+ yet or DTS?

colinhunt
13th June 2007, 19:19
I took a 5-minute clip from a ripped HD DVD with VC-1 and DD+ 1.5mbit/s and remuxed that to Blu-ray. PDVD plays it perfectly, but it's probably because PDVD can play HD DVDs as well.

For s**** and giggles I'll burn the data on a BD-RE and we'll see what PS3 thinks of it :)

colinhunt
13th June 2007, 19:26
Ouch! PS3 does not like it at all. It shows an image, but it glitches like crazy and there's no audio. PS3 won't show the OSD (with codecs and bitrates etc.) and you can't stop playback either - well, you can by ejecting the disc, of course.

But I guess this is pretty much what we expected, right? DD+ (from HDDVD), especially at 1.5mbit, is a problem for BD.

colinhunt
13th June 2007, 19:30
Anyhoo, this is a major step forward in more ways than one. dmz01, my hat's off to you, this is a remarkable achievement!

kabanero
13th June 2007, 22:04
Holy shmolly,

It works on my PS3. I get video and I get 5.1 surround sound, and I have chapters every 5 minutes!!!

Big kudos to dmz01.

dmz01
13th June 2007, 22:09
Holy shmolly,

It works on my PS3. I get video and I get 5.1 surround sound, and I have chapters every 5 minutes!!!

Big kudos to dmz01.

Next version will allow adjusting the chapter interval. Right now it's hardcoded to 5minutes.

kabanero
13th June 2007, 22:17
Next version will allow adjusting the chapter interval. Right now it's hardcoded to 5minutes.

dmz01,

Can you load multiple files in TsRemux and get multiple titles, or is it just one file and title per disk?

colinhunt
13th June 2007, 22:28
dmz01, hope you have a PayPal account; I'd like to donate some $$$ for all your hard work!

dmz01
13th June 2007, 22:28
dmz01,

Can you load multiple files in TsRemux and get multiple titles, or is it just one file and title per disk?

One file and title per disk. You can only have a single file/title in the auto playback feature. The rest you access from the main menu. Since I don't build a menu, there would be no good way to access additional titles beyond the auto playback one.

kabanero
13th June 2007, 22:30
dmz,

Do you plan to implement some basic simple menu with PLAY button and may be built in (or custom loaded) static image?

I probably asking too much :)

dmz01
13th June 2007, 22:35
Not at this time, perhaps in the future. I think a lot more people are waiting for MKV support first. :)

kabanero
13th June 2007, 22:49
Not at this time, perhaps in the future. I think a lot more people are waiting for MKV support first. :)

No problem.

homerpez
14th June 2007, 02:51
Yikes...

I thought I was all set with Blu-Ray backups using this proggy... but it really looks like it really, really hates discs with multiple mt2s streams for the movie (where you have to join them)..

Was playing around with Talladega Nights (since it was handy), where the movie appears to be split over 00017.m2ts and 00018.m2ts...

I have tried to rebuld each one to a new .m2ts stream, then join them with the file method (copy /b file1+file2 file3), and ran that through TSRemux again to fix the timecode... the end result is, the video and audio are SCATTERED.

I have trouble describing this problem, but I'll try: it's not scattered in the quality, but in referencing what frame you're on, and when. Like, if you drag the scanning bar around, you'll find the beginning of the movie in a couple different places in the stream! It doesn't play "linear". In other words, it's almost like the movie has randomized it's scenes out of order or something. ???

Basically, here's what's going on:

1. When I rebuild stream1's m2ts with stream 2's, copy them together, fix with TSRemux: All messed up. Indescribable.

2. When I demux MPEG2 and AC3 from that joined, rebuilt m2ts: Video is "scattered" as I described before. But, oddly enough, the audio seems to play. AND... it's the proper length, and plays in the correct manner. Huh?

3. When I demux each m2ts separately, taking the MPEG2 from stream 1 alone, or stream 2 alone, results in a video stream that has this "scattering" when played back.

I really don't know what on earth to make of this. I'm running AnyDVD HD in the background, so protection shouldn't be happening at all. I also used TSRemux on another title, and it worked just fine for me, only a day or so ago. I can only assume it's something to do with multiple streams???

Is there another program I could also try? (I'd hate to, since TSRemux has given me good luck except for this)

It might clarify things further is I mention, this is ultimately going to a x264+ac3 audio MKV stream, not simply rebuilding the stream for a BD disc (they're still pricey as hell). :P So I need to get a linear video and audio streams to encode from... and this is the first time I haven't been able to get one from an HD disc. Hopefully someone knows what's going on here?

dmz01
14th June 2007, 04:14
Yikes...

I thought I was all set with Blu-Ray backups using this proggy... but it really looks like it really, really hates discs with multiple mt2s streams for the movie (where you have to join them)..

Was playing around with Talladega Nights (since it was handy), where the movie appears to be split over 00017.m2ts and 00018.m2ts...

I have tried to rebuld each one to a new .m2ts stream, then join them with the file method (copy /b file1+file2 file3), and ran that through TSRemux again to fix the timecode... the end result is, the video and audio are SCATTERED.

I have trouble describing this problem, but I'll try: it's not scattered in the quality, but in referencing what frame you're on, and when. Like, if you drag the scanning bar around, you'll find the beginning of the movie in a couple different places in the stream! It doesn't play "linear". In other words, it's almost like the movie has randomized it's scenes out of order or something. ???

Basically, here's what's going on:

1. When I rebuild stream1's m2ts with stream 2's, copy them together, fix with TSRemux: All messed up. Indescribable.

2. When I demux MPEG2 and AC3 from that joined, rebuilt m2ts: Video is "scattered" as I described before. But, oddly enough, the audio seems to play. AND... it's the proper length, and plays in the correct manner. Huh?

3. When I demux each m2ts separately, taking the MPEG2 from stream 1 alone, or stream 2 alone, results in a video stream that has this "scattering" when played back.

I really don't know what on earth to make of this. I'm running AnyDVD HD in the background, so protection shouldn't be happening at all. I also used TSRemux on another title, and it worked just fine for me, only a day or so ago. I can only assume it's something to do with multiple streams???

Is there another program I could also try? (I'd hate to, since TSRemux has given me good luck except for this)


Here's what you need to do in order:
1) copy /b file1+file2 outfile on the original 000xx.m2ts files.
2) run the outfile through TsRemux with M2TS output.
3) run the result once again through TsRemux with Blu-Ray output.

homerpez
14th June 2007, 05:11
Re-editing the previous edit:

dmz01, looks like that may have worked for me, but I have to leave it as m2ts. I guess my system just didn't like the .m2v elementary streams at all... thanks!

oldpainless
14th June 2007, 07:36
Not at this time, perhaps in the future. I think a lot more people are waiting for MKV support first. :)


Yes please......beg beg...lol

DeepBeepMeep
14th June 2007, 08:33
This tool is really great. I think the following features would really be useful:
- possibility to select multiples source files that will be automatically merged like with HDTVTOMPEG2. This would save a lot of time.
- possibility to output EVO/MPG files. Indeed, at the moment if the source is an EVO file with contains DTSHD or DD+ tracks and the output is a TS or M2TS file, it is impossible to get the audio tracks detected with Haali filter. I don't know if this is a limitation or issue of Haali filter or a problem in the way the tracks are muxed. So if the output could be an EVO, this would make it easy to merge two EVO files and get rid of useless tracks.

Thanks for your work on this software!

colinhunt
14th June 2007, 08:35
Here's what you need to do in order:
1) copy /b file1+file2 outfile on the original 000xx.m2ts files.
2) run the outfile through TsRemux with M2TS output.
3) run the result once again through TsRemux with Blu-Ray output.
Do you think this might work with a AVC/DD5.1 movie which is in 5 or more parts?

Or could someone recommend an application for combining AVC clips (originally split into parts because of ad breaks)?

colinhunt
14th June 2007, 11:00
dmz01,

dunno if you've noticed, but the automatic 5min chapters work a bit differently from the way chapters work in 'professional' BD movies. Whereas skipping chapters is pretty much seamless and instantaneous in commercial releases, skipping a chapter in remuxed BD causes the screen to go black for a moment. The sound is also cut off during the skip, and it takes a brief moment for an A/V receiver to recognize the DD audio when playback resumes. This is a minor issue, certainly.

oldpainless
14th June 2007, 11:33
Not at this time, perhaps in the future. I think a lot more people are waiting for MKV support first. :)


DMZ....do you have a feel for how difficult or long this might take?

Also, is there any information that may help you?

Looks like the most common MKV combination is:

Video
Codec : MPEG-4 AVC (H.264)
Codec/Info : MPEG4 ISO advanced profile
Frame rate : 23.976 fps


Audio
Codec : AC3
Codec/Info : Dolby AC3/DTS
Channel(s) : 6 channels
Sampling rate : 48 KHz

Kevin

dade49
14th June 2007, 15:33
This tool is really great. I think the following features would really be useful:
- possibility to select multiples source files that will be automatically merged like with HDTVTOMPEG2. This would save a lot of time.
- possibility to output EVO/MPG files. Indeed, at the moment if the source is an EVO file with contains DTSHD or DD+ tracks and the output is a TS or M2TS file, it is impossible to get the audio tracks detected with Haali filter. I don't know if this is a limitation or issue of Haali filter or a problem in the way the tracks are muxed. So if the output could be an EVO, this would make it easy to merge two EVO files and get rid of useless tracks.

Thanks for your work on this software!

The tool you want is EVOdumux. It does everything you're asking for with EVO's. This tool is based on m2ts streams (BD), and allthough there is some support in this util to import EVO's and output to a bdmv container, to demux/remux EVO's, use EVOdemux. http://www.videohelp.com/tools/EVOdemux

SeeMoreDigital
14th June 2007, 17:37
Hi dmz,

I was intending to post the following .VOB (or .MPG) to .TS muxing observations a few weeks ago but got side-tracked.

Anyway.... Take one .VOB (or .MPG) file with the following properties: -

http://img515.imageshack.us/img515/1435/vobfilewm5.png


...and after muxing it with TSremux you obtain an .TS file with the following properties: -

http://img515.imageshack.us/img515/9927/tsremuxiy0.png

As you can see, their are significant differences with regard to the "Playtime" and "Bit-rate" information :(

By-the-way, VLC's muxer creates the following: -

http://img515.imageshack.us/img515/707/vlcmuxjm0.png

Hope these observations are useful in some way...


Cheers

dmz01
14th June 2007, 17:42
New version 0.0.14: (superceedes the test only version)

All audio types should now work.
Added the capability to adjust chapter lenghts.

dmz01
14th June 2007, 17:43
Hi dmz,

I was intending to post the following .VOB (or .MPG) to .TS muxing observations a few weeks ago but got side-tracked.

As you can see, their are significant differences with regard to the "Playtime" and "Bit-rate" information :(

Cheers

If you make a sample of the VOB available to me I can take a look. :)

SeeMoreDigital
14th June 2007, 18:19
If you make a sample of the VOB available to me I can take a look. :)Sure...

Here's an 27.0MB (.VOB) sample, that I have compressed using 7-zip.

http://www.mytempdir.com/1355317

Cheers

colinhunt
14th June 2007, 18:44
dmz01, any chance of adding a "chapter marks on/off" switch to some future version?

dmz01
14th June 2007, 21:59
dmz01, any chance of adding a "chapter marks on/off" switch to some future version?

If you set your chapter lenght to that of the entire feature, it would be equivalent to turning chapter marks off. No?

DeepBeepMeep
14th June 2007, 22:21
The tool you want is EVOdumux. It does everything you're asking for with EVO's. This tool is based on m2ts streams (BD), and allthough there is some support in this util to import EVO's and output to a bdmv container, to demux/remux EVO's, use EVOdemux. http://www.videohelp.com/tools/EVOdemux

I know EvoDemux. It is a great tool as well. However the Rebuild feature doesn't rewrite the timestamps when merging the two files (which is a great feature of TSRemux). The merged file can't be played entirely because only half of the file is visible.

dade49
15th June 2007, 00:44
I know EvoDemux. It is a great tool as well. However the Rebuild feature doesn't rewrite the timestamps when merging the two files (which is a great feature of TSRemux). The merged file can't be played entirely because only half of the file is visible.

Wow, I'm shocked. I was under the impression that it did rewrite the timestamps. Every HDDVD I've seen has 2 EVO's that need to be muxed together. I've been playing with m2ts streams the most, and only played with EVO's a little. I didn't realize it didn't do that.

That completly screws me too. Crap. I need to complain to the dude writing EVOdemux.

Do you know if when you demux 2x EVO's to mpv/mpa files, is it creating a new timestamp? Or does that format need a timestamp?

dmz01
15th June 2007, 01:46
Do you know if when you demux 2x EVO's to mpv/mpa files, is it creating a new timestamp? Or does that format need a timestamp?

The timestamps in question are part of the container, (specifically PES packet header) and are not present in the elementary streams themselves.

colinhunt
15th June 2007, 06:41
If you set your chapter lenght to that of the entire feature, it would be equivalent to turning chapter marks off. No?
Good point.

oldpainless
15th June 2007, 08:48
Hi....not sure if this will be useful re MKV direct input...but seems as though it might be of use?.....

http://www.zju.edu.cn/jzus/2006/A06S1/A06S113.pdf

Let me know if it helps

Kevin

dmz01
15th June 2007, 14:30
Sure...

Here's an 27.0MB (.VOB) sample, that I have compressed using 7-zip.

http://www.mytempdir.com/1355317

Cheers


Fixed in 0.0.15. The size issues was due to the fact that I originally had 1:1 correspondance between SCR and PCR. I now create PCRs from SCRs close to the 1/10 of a sec optimal.

New version 0.0.15 only contains VOB/EVO -> TS/M2TS/Blu-Ray fixes.

SeeMoreDigital
15th June 2007, 14:53
Fixed in 0.0.15. The size issues was due to the fact that I originally had 1:1 correspondance between SCR and PCR. I now create PCRs from SCRs close to the 1/10 of a sec optimal.Hi Dmz,

I've just tried v0.0.15 with the .VOB sample I provided and I'm still obtaining in-correct playtime and bit-rate properties :(


Cheers

trilko
15th June 2007, 15:17
Fixed in 0.0.15. The size issues was due to the fact that I originally had 1:1 correspondance between SCR and PCR. I now create PCRs from SCRs close to the 1/10 of a sec optimal.

Size fix seems to be ok, but I still get problems with audio. In original VOB they are ok (can demux them to elementary stream). In TS they seem to be corrupted somehow, cause when I try to demux them to ES I only get m2v file. Subtitles also don't work for me... :(

dmz01
15th June 2007, 15:40
Hi Dmz,

I've just tried v0.0.15 with the .VOB sample I provided and I'm still obtaining in-correct playtime and bit-rate properties :(


Cheers

I'm not sure what tool you're using, various players (powerdvd, windvd, nero showtime) shows those to be correct. Do you know how playtime is computed in your tool?

EDIT: I tried the Manzanita TS Analyzer and it confirmed the length and bit-rate to be correct. I would trust that over your tool.

dmz01
15th June 2007, 15:42
Size fix seems to be ok, but I still get problems with audio. In original VOB they are ok (can demux them to elementary stream). In TS they seem to be corrupted somehow, cause when I try to demux them to ES I only get m2v file. Subtitles also don't work for me... :(

I don't have any support for subtitles since the formats are different across all three - DVD/HD-DVD/Blu-Ray. I cannot reproduce your audio issue. For me audio works fine. :confused:

EDIT: I figured out what the audio issue is. Blu-Ray format requires the stream type of the DD audio to be "extended_stream_id" or 0xFD. In the past DD stream type was set to 0xBD or "private_stream_1". Players not compatible with new blu-ray format will most likely not be able to play TS files coming form Blu-Ray or TsRemux. The same applies to the various TS splitters like haali etc.

SeeMoreDigital
15th June 2007, 16:09
I'm not sure what tool you're using, various players (powerdvd, windvd, nero showtime) shows those to be correct. Do you know how playtime is computed in your tool?I'm using MediaInfo version 0.7.4.7.

With the "VOB source" MediaInfo reports this: -

http://img167.imageshack.us/img167/2061/vobsourcema1.png


And with "TSremux 0.0.15" MediaInfo reports this: -

http://img167.imageshack.us/img167/5206/tsremuxen9.png

From what I can determine MediaInfo appears to be quite accurate with other .TS (captured) sources....

Hope that helps.

dmz01
15th June 2007, 16:56
Could be MediaInfo incompatibility with blu-ray TS. I can't think of any other reason why the Manzanita (pretty much industry standard) and various players show the time/bitrate correctly vs. the MediaInfo tool.

SeeMoreDigital
15th June 2007, 17:24
Could be MediaInfo incompatibility with blu-ray TS...Hmmm... that's a good point.

I've been testing TSremux for generating .TS files for use/compatibility with high-def hardware playback devices, like the ones mentioned here (http://forum.doom9.org/showthread.php?p=646040#post646040). All .TS files are stored on HDD's and served to the afore mentioned devices via an ethernet connection.

dmz01
15th June 2007, 23:08
Hmmm... that's a good point.

I've been testing TSremux for generating .TS files for use/compatibility with high-def hardware playback devices, like the ones mentioned here (http://forum.doom9.org/showthread.php?p=646040#post646040). All .TS files are stored on HDD's and served to the afore mentioned devices via an ethernet connection.

It's definitively a MediaInfo bug. Here's the output of MediaInfo on a generic (never been through TsRemux) blu-ray file:

http://img358.imageshack.us/img358/2597/mediainfodb0.jpg

oldpainless
16th June 2007, 11:25
Firstly thanks for making this program secondly what is the TS output? Also I would like to make a request to go from m2ts to mp4 avc with an adjustable file size to fit on one dvd for example.

Don't think that's what this proggy is about.....you will need to reencode...see videohelp.com

Kevin

baudi
16th June 2007, 11:31
Dear Dmz01:

Could it be possible to implement a framerate changer in TSRemux for a .ts output (video stream only)?

Thank you for your great TSRemux.

Adbear
16th June 2007, 11:47
Thanks for this program, keep up the good work. Still got a problem though, can take an evo file from a HD-dvd, get it to create a bdmv folder from the vc-1 and dd+ stream, plays back fine in powerdvd but plays back slow and jerky off blu-ray disc on a PS3. PS3 reports vc-1 for video, and Dolby digital multi-channel 48khz 112kbps for the audio

colinhunt
16th June 2007, 14:32
Thanks for this program, keep up the good work. Still got a problem though, can take an evo file from a HD-dvd, get it to create a bdmv folder from the vc-1 and dd+ stream, plays back fine in powerdvd but plays back slow and jerky off blu-ray disc on a PS3. PS3 reports vc-1 for video, and Dolby digital multi-channel 48khz 112kbps for the audio
You could read the thread before asking questions that have been answered already. DD+ from HD DVD is not compatible with Blu-ray as-is; the frame size is not supported by Blu-ray players. As audio and video are synced, that causes the video to play improperly as well. PowerDVD plays the data, because it supports both BD and HD DVD.

Adbear
16th June 2007, 15:03
You could read the thread before asking questions that have been answered already. DD+ from HD DVD is not compatible with Blu-ray as-is; the frame size is not supported by Blu-ray players. As audio and video are synced, that causes the video to play improperly as well. PowerDVD plays the data, because it supports both BD and HD DVD.

I did read the thread, but as there was a comment about having fixed the audio it was unclear whether he'd got round this problem

dmz01
16th June 2007, 15:03
Dear Dmz01:

Could it be possible to implement a framerate changer in TSRemux for a .ts output (video stream only)?

Thank you for your great TSRemux.

What exactly do you mean by framerate changer? What are you trying to achieve?

dmz01
16th June 2007, 15:13
I did read the thread, but as there was a comment about having fixed the audio it was unclear whether he'd got round this problem
You would have to re-encode to get around this problem. TsRemux is not about re-encoding.

colinhunt
16th June 2007, 16:01
dmz01, there was talk earlier of adding muxer capabilities to TsRemux. I bumped into a file (AVC) which has DD2.0 audio, but I also have a synched dts audio for the movie. It would be really nice to drop the movie and the dts track into TsRemux, disable the DD2.0 audio and have TsRemux create a muxed .ts with dts audio.

dmz01
16th June 2007, 17:33
dmz01, there was talk earlier of adding muxer capabilities to TsRemux. I bumped into a file (AVC) which has DD2.0 audio, but I also have a synched dts audio for the movie. It would be really nice to drop the movie and the dts track into TsRemux, disable the DD2.0 audio and have TsRemux create a muxed .ts with dts audio.

I'm working on MKV input now. Maybe afterwards.

Zagolski
16th June 2007, 17:40
dmz01
We very wait. :)

moshmothma
16th June 2007, 18:08
I'm working on MKV input now. Maybe afterwards.

Thanks for all your work DMZ01. If you are looking for input, I would vote for the muxer before mkv.
Your work is definitely appreciated!!

Alkasar
17th June 2007, 00:56
Thanks for all your work DMZ01. If you are looking for input, I would vote for the muxer before mkv.
Your work is definitely appreciated!!
it's pretty easy to mux elementary streams to mkv with existing tools.
it's also pretty easy to demux mkv to elementary streams for TSRemux to mux.
Either way will do.
Deliver the easyest first, dmzerone ;)

cheers

TEB
17th June 2007, 01:24
Hi. I have a strange .ts capture laying on the disc with 2 different videopids, and 1 audio. Tho TSremux says its 1 video and 2 audio.
When i remux the stream and keep all the components, the new filesize is downed by like 30%..
When i remove 1 of the audio pids, the filesize is also downed by 30%...
Both files cant be read by VLC, tho the origional can.. I chose .ts 188bytes.
First remux can be read fine by Powerdvd 7.3, but the latter with 1 audiostream removed jumps like crazy in powerdvd 7.3..
Something fishy is going on..

Check ure pm for dl info.

br t

madshi
17th June 2007, 08:33
it's pretty easy to mux elementary streams to mkv with existing tools.
it's also pretty easy to demux mkv to elementary streams for TSRemux to mux.
Either way will do.
Deliver the easyest first, dmzerone ;)
The problem with demuxing MKV is that you lose the timestamps. That can be a problem if the timestamps cannot be fully recovered. This can happen sometimes. E.g. if you demux the Equilibrium HD-DVD video track and try to remux it via mp4box or mkvtoolnix, the video plays shorter than the original. That's because demuxing loses the timestamps.

dmz01, I hope you can preserve the MKV timestamps in your MKV input solution? That would be important IMHO.

phaeton
18th June 2007, 14:18
I think that is what he will do :) I doubt that something which will take just elementary streams out of MKV and into TS would hardly be useful :) We wait dmz01, we wait!

Gavroche
18th June 2007, 16:07
I vote for a TS muxer, will be useful to mux VC-1 and AC3 cause XMuxerPro didn't recognize vc1 at 23.796 correctly

colinhunt
18th June 2007, 16:13
As far as I know, writing a full-blown muxer is very difficult. That's why there are large companies who sell their muxers for plenty of $$$. It would certainly be great if TsRemux included a muxer one day, but I feel it's probably a bit too much to ask for.

baudi
18th June 2007, 20:04
What exactly do you mean by framerate changer? What are you trying to achieve?

I mean a new option so that one can change the video framerate from a .ts container to another output framerate in also a .ts file. For example 23.976fps to 25fps.

Similar to ReStream utility with MPEG2 and like mkvmerge with any codec (in the "Timecodes:" control).

It would be great to multiplex the .ts video stream with an AC3/DTS audio from a PAL DVD. Thank you again.

dmz01
18th June 2007, 21:34
I mean a new option so that one can change the video framerate from a .ts container to another output framerate in also a .ts file. For example 23.976fps to 25fps.

Similar to ReStream utility with MPEG2 and like mkvmerge with any codec (in the "Timecodes:" control).

It would be great to multiplex the .ts video stream with an AC3/DTS audio from a PAL DVD. Thank you again.

Sorry, but TsRemux does not modify elementary streams. It only repackages them into a new container. What you're asking is something that would require elementary stream modification and would require muxing from scratch.

dmz01
19th June 2007, 03:40
New Version 0.0.16:

Bug fix release. Fixes most bugs reported by various users. Thank you for your samples that allowed me to find and fix those bugs.

colinhunt
19th June 2007, 06:57
Thank you! I'll set up a mirror for the new version, just in case.

Here: http://www.box.net/shared/xajh1s4tgj

oldpainless
19th June 2007, 09:34
dmz01

Just a quickie to ask how things are comming along with the MKV input?....

Regards

Kevin

dmz01
19th June 2007, 13:52
dmz01

Just a quickie to ask how things are comming along with the MKV input?....

Regards

Kevin

It's not a quick thing. Be patient. Maybe around two more weeks. Remember I do have a regular job. :)

oldpainless
19th June 2007, 14:10
It's not a quick thing. Be patient. Maybe around two more weeks. Remember I do have a regular job. :)

That soon...Cool...

Kevin

b_squared
19th June 2007, 19:34
dmz01,

how hard would it be for you to take a text file as an input specifying the chapter boundaries?

I have some Jools Holland episodes in HD here (ripped from my Dish DVR) that'd like to make mini-BDs out of, with the different performances indexed by chapters.

Thanks a lot for all your work so far. Amazing stuff!

Alkasar
20th June 2007, 00:47
The problem with demuxing MKV is that you lose the timestamps. That can be a problem if the timestamps cannot be fully recovered. This can happen sometimes. E.g. if you demux the Equilibrium HD-DVD video track and try to remux it via mp4box or mkvtoolnix, the video plays shorter than the original. That's because demuxing loses the timestamps.

dmz01, I hope you can preserve the MKV timestamps in your MKV input solution? That would be important IMHO.
oh yes it is very important.
We struggle a lot with desynchonisations issues on our work to remux mkv to TS to play with our set-top box (freeboxHD).
link here (French only). (http://www.homecinema-fr.com/forum/viewtopic.php?t=29842614)
Our mkv2ts tool is targeted on mkvs with h264 video. The steps are : demux the original mkv to elementary streams, mux the h264 to mp4 and use mainconcept/elecard directshow filters to mux to TS. This does a much better job than XmuxerPro.

Curiously, a working solution to fix sync issues, is to cut a few seconds out of initial mkv with mkvmerge and process the rest with our tool. I have no idea what this fixes, but it works.

phaeton
20th June 2007, 04:30
Alkasar, is there any way on getting some English instructions on how to use your tool? Is there a way to automate it around a large amount of files?

oldpainless
21st June 2007, 13:59
Alkasar, is there any way on getting some English instructions on how to use your tool? Is there a way to automate it around a large amount of files?

I've tried it.....:mad:

smekoslav
21st June 2007, 18:37
I am trying to demux DD+ audio from m2ts file in order to decode it with eac3to, but I always get an error in eac3to saying Parsing of Dolby Digital headers failed. What am I doing wrong?

dmz01
21st June 2007, 20:02
1) Make sure you demux elementary and not PES stream.
2) What's the source of your DD+ m2ts file? Blu-ray DD+ standard is different from HD-DVD. In blu-ray the stream has a regular DD base where all the frames have bsid set to standard syntax and a DD+ extension where the frames have bsid set to enhanced syntax. In HD-DVD DD+ all the frames are set to the enhanced syntax. Can eac3to cope with that?

madshi
21st June 2007, 21:24
Can eac3to cope with that?
Not sure. I'd need a small sample of such a DD+ Blu-Ray stream to check that. If all else fails I could probably add a switch to eac3to to skip header parsing.

smekoslav
21st June 2007, 22:18
I tried pes and elementary, the result is always the same. Eac3to always gives that parsing error. My source is blu-ray disc.

madshi
22nd June 2007, 08:33
I tried pes and elementary, the result is always the same. Eac3to always gives that parsing error. My source is blu-ray disc.
Can you make 20MB of elementary demux available to me for testing?

smekoslav
22nd June 2007, 09:04
Here's a 10mb sample, box.net won't allow bigger files.
http://www.box.net/shared/a1nphdioh9

Pheon
22nd June 2007, 20:49
Hi,

I think there's a problem with .ts files that contain aac audio. I have a .ts file with mpeg2 video and aac audio and when I run it through TsRemux to make an .m2ts file, only the video plays. I'm using a ps3 to play these files and it tells you information about the file being played. All that showed up in the info was mpeg2 video. Usually, it also tells you what the audio format is, but this time instead of saying aac audio, it appeared that there was no audio in the file. When I was selecting streams to keep in my output file in TsRemux, the audio showed up as mpeg2 audio, which is wrong. So I think aac audio isn't being handled properly in TsRemux. Hope you can fix this bug! Great work on TsRemux though!

dmz01
23rd June 2007, 02:36
Pheon,

I need a sample of your source file.

Pheon
23rd June 2007, 06:27
Hey, I'd love to give you a sample, but I'm not exactly sure how to do it. Is there a guide somewhere that I can follow to make samples of .ts files?

dade49
23rd June 2007, 08:30
Has anyone remuxed/demuxed Flyboys BD? The only multi-channel English track is DTS-HD. It doesn't have a DDP or LPCM track to demux. I can use Tsremux to remux the track, but xport 0.96 cannot demux it. I have demuxed other DTS-HD tracks, (Ghost Rider), but this one doesn't seem to work. I even tried from the source m2ts with xport, but could not make it work.

I am happy to post a sample of the DTS-HD track in an m2ts container, but I don't know how to chop a usable section of it. Can someone give me an idea on how to do that? Thanks.

drmpeg
23rd June 2007, 11:12
Has anyone remuxed/demuxed Flyboys BD? The only multi-channel English track is DTS-HD. It doesn't have a DDP or LPCM track to demux. I can use Tsremux to remux the track, but xport 0.96 cannot demux it. I have demuxed other DTS-HD tracks, (Ghost Rider), but this one doesn't seem to work. I even tried from the source m2ts with xport, but could not make it work.

I am happy to post a sample of the DTS-HD track in an m2ts container, but I don't know how to chop a usable section of it. Can someone give me an idea on how to do that? Thanks.
I have a file "chop" utility.

http://www.w6rz.net/head.zip

Usage is:

head <infile> <outfile> <length>

For example:

head movie.m2ts clip.m2ts 10000000

Ron

madshi
23rd June 2007, 11:18
I have a file "chop" utility.

http://www.w6rz.net/head.zip

Usage is:

head <infile> <outfile> <length>

For example:

head movie.m2ts clip.m2ts 10000000

Ron
Does it "respect" the m2ts file structure? I mean, does it cut off properly after full transport packets? Probably not, right? I'm asking because I'd like to get a chunk from the middle of a m2ts movie. Of course that works only if at least the beginning of the chunk properly begins on a m2ts packet header. Thanks!

drmpeg
23rd June 2007, 11:24
Does it "respect" the m2ts file structure? I mean, does it cut off properly after full transport packets? Probably not, right? I'm asking because I'd like to get a chunk from the middle of a m2ts movie. Of course that works only if at least the beginning of the chunk properly begins on a m2ts packet header. Thanks!
You are correct. It's a very simple piece of code that just counts bytes from the beginning of the input file.

Ron

dmz01
23rd June 2007, 14:59
Does it "respect" the m2ts file structure? I mean, does it cut off properly after full transport packets? Probably not, right? I'm asking because I'd like to get a chunk from the middle of a m2ts movie. Of course that works only if at least the beginning of the chunk properly begins on a m2ts packet header. Thanks!
You are correct. It's a very simple piece of code that just counts bytes from the beginning of the input file.

Ron

You can still use Ron's utility with a little simple math. Since M2TS packets are 192 bytes long, all you have to do is ensure that the number you specify on the command line is evenly divisible by 192. Same goes for TS files with 188 byte packets.

madshi
23rd June 2007, 15:00
You can still use Ron's utility with a little simple math. Since M2TS packets are 192 bytes long, all you have to do is ensure that the number you specify on the command line is evenly divisible by 192. Same goes for TS files with 188 byte packets.
Cool - thanks!

dmz01
23rd June 2007, 15:01
Has anyone remuxed/demuxed Flyboys BD? The only multi-channel English track is DTS-HD. It doesn't have a DDP or LPCM track to demux. I can use Tsremux to remux the track, but xport 0.96 cannot demux it. I have demuxed other DTS-HD tracks, (Ghost Rider), but this one doesn't seem to work. I even tried from the source m2ts with xport, but could not make it work.

I am happy to post a sample of the DTS-HD track in an m2ts container, but I don't know how to chop a usable section of it. Can someone give me an idea on how to do that? Thanks.

What happens if you try to demux the DTS-HD track in TsRemux (by right-clicking on the stream and selecting demux to elementary stream)?

madshi
23rd June 2007, 15:09
Blu-ray DD+ standard is different from HD-DVD. In blu-ray the stream has a regular DD base where all the frames have bsid set to standard syntax and a DD+ extension where the frames have bsid set to enhanced syntax. In HD-DVD DD+ all the frames are set to the enhanced syntax. Can eac3to cope with that?
Can any AC3 decoder decode the AC3 part of such a DD+ stream? What purpose does the DD+ extension have then? Just to allow higher bitrate? Do you happen to have some code which is able to find out whether a file is simple AC3 or whether it's AC3 with DD+ extensions in it?

Here's a 10mb sample
I've found a bug in eac3to. Now my latest version detects this file as a normal AC3 file. Are you sure that this is not simply an AC3 file? The AC3Filter can directly play it, btw.

dmz01
23rd June 2007, 16:33
Can any AC3 decoder decode the AC3 part of such a DD+ stream? What purpose does the DD+ extension have then? Just to allow higher bitrate? Do you happen to have some code which is able to find out whether a file is simple AC3 or whether it's AC3 with DD+ extensions in it?


I've found a bug in eac3to. Now my latest version detects this file as a normal AC3 file. Are you sure that this is not simply an AC3 file? The AC3Filter can directly play it, btw.

DD+ extension has the purpose of increasing bit rate correct. There is no easy way of telling whether a file is simple AC3 or AC3 with extensions other than the following: If all frames in a file are standard/alternate syntax frame then the file is AC3 only. If at least one frame in the file has enhanced syntax, then the file has DD+ extensions in it. The reason this was done in blu-ray is to allow DD only decoders (like ac3filter etc) to work without having to edit the stream.

madshi
23rd June 2007, 17:43
DD+ extension has the purpose of increasing bit rate correct. There is no easy way of telling whether a file is simple AC3 or AC3 with extensions other than the following: If all frames in a file are standard/alternate syntax frame then the file is AC3 only. If at least one frame in the file has enhanced syntax, then the file has DD+ extensions in it. The reason this was done in blu-ray is to allow DD only decoders (like ac3filter etc) to work without having to edit the stream.
Shouldn't it be possible to find out whether a file has DD+ in it by checking the file size in comparison to the run length?

But I'm wondering: Would a conventional AC3 splitter even be able to find out the correct run length? Normally a splitter probably devides the file size through the bitrate to find out the run length, right? So having additional frames in the stream would confuse the run length calculation, or not?

Thanks!

dmz01
23rd June 2007, 18:10
Shouldn't it be possible to find out whether a file has DD+ in it by checking the file size in comparison to the run length?

But I'm wondering: Would a conventional AC3 splitter even be able to find out the correct run length? Normally a splitter probably devides the file size through the bitrate to find out the run length, right? So having additional frames in the stream would confuse the run length calculation, or not?

Thanks!

Yes it would confuse it, especially since the DD+ frames will be of different length than the DD frames.

madshi
23rd June 2007, 18:12
Yes it would confuse it, especially since the DD+ frames will be of different length than the DD frames.
Argh, that's ugly.

dmz01
23rd June 2007, 18:13
However it would be very simple to extract DD stream out of it. Just parse the file to drop any enhanced frames and only keep standard/alternate syntax ones and voila - you have a fully working correct length etc. DD stream.

madshi
23rd June 2007, 18:19
Ok, thanks.

Pheon
23rd June 2007, 19:24
Hi, here are two 10 second samples of .ts files with aac audio that aren't working properly with TsRemux:

http://www.sendspace.com/file/pq6j4n

http://www.sendspace.com/file/mhx4qp

dade49
23rd June 2007, 22:17
Shouldn't it be possible to find out whether a file has DD+ in it by checking the file size in comparison to the run length?

This is exactly what I have run into. Most of the audio streams from BD's that are listed as DDP in TSremux are really just DD AC3 streams. I use xport 0.96 to extract the elem streams, and it outputs the bitrate. Most times, it's a 640k bitrate, but I've even seen a 448k bitrate from a BD movie. AC3Filter can decode it fine, and delaycut reads it as a normal AC3 file with the correct length and bitrate.

The only real DDP tracks I've seen so far are on HDDVD's. I have yet to encounter a true DDP stream at a 1536k bitrate on a BD.

dade49
23rd June 2007, 22:44
What happens if you try to demux the DTS-HD track in TsRemux (by right-clicking on the stream and selecting demux to elementary stream)?

You rock. Seems to work. I had no idea that TSremux could demux streams. It was not obvious to me to right click at all. Think we can get a main button that says demux, next to the remux? Kinda like EVOdemux? Maybe I don't need xport.exe anymore...

mrazzido
23rd June 2007, 23:43
Hello i saw that TSREMUX has an Option to generate Automatic M2TS for Bluray ( BDMV Structure ) is it possible for Next version BDAV ? then i hope i can playback the movies from BD-R on my PS3.

Great Tool thx!

dmz01
24th June 2007, 00:01
Hello i saw that TSREMUX has an Option to generate Automatic M2TS for Bluray ( BDMV Structure ) is it possible for Next version BDAV ? then i hope i can playback the movies from BD-R on my PS3.

Great Tool thx!

Sure as long as you can make BDAV specs available to me. :D:D

dmz01
24th June 2007, 00:04
This is exactly what I have run into. Most of the audio streams from BD's that are listed as DDP in TSremux are really just DD AC3 streams. I use xport 0.96 to extract the elem streams, and it outputs the bitrate. Most times, it's a 640k bitrate, but I've even seen a 448k bitrate from a BD movie. AC3Filter can decode it fine, and delaycut reads it as a normal AC3 file with the correct length and bitrate.

The only real DDP tracks I've seen so far are on HDDVD's. I have yet to encounter a true DDP stream at a 1536k bitrate on a BD.

As per my posts, they're not really just DD AC3 streams. Any true BD DDP will have the standard DD main stream and a DDP substream. Since most packets, especially the first ones, are DD packets, most tools will tell you the stream is DD with the rate listed for the DD main stream. For a great example examine the DDP stream for Planet Earth, even the DVDHD version is this way.

dade49
24th June 2007, 03:38
As per my posts, they're not really just DD AC3 streams. Any true BD DDP will have the standard DD main stream and a DDP substream. Since most packets, especially the first ones, are DD packets, most tools will tell you the stream is DD with the rate listed for the DD main stream. For a great example examine the DDP stream for Planet Earth, even the DVDHD version is this way.

So, is there a way to strip the DDP packets out of it so that you're left with a regular DD stream? Your previous posts are unclear about how to actually do that. And if their bitrate is 640k or 448k, and their filesize is respectable, and AC3Filter can decode them, I don't really see how that's a problem if you're building them into an MKV. Suggestions?

dmz01
24th June 2007, 05:01
Wait for madshi to update eac3to if you want an automated way to remove DDP packets from the stream.

madshi
24th June 2007, 08:20
As per my posts, they're not really just DD AC3 streams. Any true BD DDP will have the standard DD main stream and a DDP substream.
Yes, any true BD DDP. But where to find a Blu-Ray disc with a true BD DDP stream? To my best knowledge most (or even all?) Blu-Ray discs do not have true BD DDP streams, but straight AC3 streams, only.

Check out this post by Roger Dressler (Dolby) :

http://www.avsforum.com/avs-vb/showthread.php?p=8345879&&#post8345879

As far as I understand it, if DD+ is used in Blu-Ray, it's never 5.1, but actually 7.1.

For a great example examine the DDP stream for Planet Earth
Are you sure that Planet Earth Blu-Ray is a true BD DDP stream? Because all the reviews state it's straight AC3. And the back packaging sais: "Dolby Digital Surround". Furthermore it's only 448kbit/s and I believe for it to be a true DDP track it would have to be 640kbit/s.

mrazzido
24th June 2007, 12:38
Sure as long as you can make BDAV specs available to me. :D:D

i dont know if this help

Information on directory structure of Blu-ray Disc can be found at
- White paper: BD-RE logical and AV application format, section 3.1.5 (page 18)

http://www.blu-raydisc.com/assets/downloadablefile/2a_bdre_logicalaudiovisual-12838.pdf

dmz01
24th June 2007, 15:16
i dont know if this help

Information on directory structure of Blu-ray Disc can be found at
- White paper: BD-RE logical and AV application format, section 3.1.5 (page 18)

http://www.blu-raydisc.com/assets/downloadablefile/2a_bdre_logicalaudiovisual-12838.pdf

This paper mentions what I would need - "Blu-ray Disc Rewritable Format Version 2, Part 3 : Audio Visual Basic Specifications." Last time I checked, even for only studying (renting) the spec, the price was $2500: http://www.blu-raydisc.info/spec_books/only_study.shtml

dmz01
24th June 2007, 15:43
Yes, any true BD DDP. But where to find a Blu-Ray disc with a true BD DDP stream? To my best knowledge most (or even all?) Blu-Ray discs do not have true BD DDP streams, but straight AC3 streams, only.

Check out this post by Roger Dressler (Dolby) :

http://www.avsforum.com/avs-vb/showthread.php?p=8345879&&#post8345879

As far as I understand it, if DD+ is used in Blu-Ray, it's never 5.1, but actually 7.1.


Are you sure that Planet Earth Blu-Ray is a true BD DDP stream? Because all the reviews state it's straight AC3. And the back packaging sais: "Dolby Digital Surround". Furthermore it's only 448kbit/s and I believe for it to be a true DDP track it would have to be 640kbit/s. I'm not sure 100% about Planet Earth since I don't have it. I'm passing along what I heard about it. I guess, I'll have to check my sources. :) But I do stand with what I said before - DDP on Blu-Ray consists of at least two substreams: Independent substream 0 which shall be decodable by standard DD decoders and be sent using standad/alternate syntax and one or more dependent streams which expad on the DD stream with additional channels. This allows plain old DD decoders (it doesn't matter whether hardware or software) to decode BD DDP streams, by simply ignoring the non DD frames.

madshi
24th June 2007, 16:10
But I do stand with what I said before - DDP on Blu-Ray consists of at least two substreams: Independent substream 0 which shall be decodable by standard DD decoders and be sent using standad/alternate syntax and one or more dependent streams which expad on the DD stream with additional channels. This allows plain old DD decoders (it doesn't matter whether hardware or software) to decode BD DDP streams, by simply ignoring the non DD frames.
Yes, you're right with that, I double checked that. It's just that I think that DDP is currently simply not used at all (or at least very vary rarely) with Blu-Ray. Most tracks are just plain AC3. At least as far as I know.

olivierdb
24th June 2007, 16:39
Dear dmz, First of all, many thanks for your TSRemux tool. I have been looking for a way to stream HD movies from my PC to an XBox (which I haven't bought yet!). My first approach was to rip, demux and encode HD-DVD EVO contents to WMV HD, but that process takes forever! Then, I went looking for a way to stream my .avs, i.e. AviSynth, files using VLC360. Unfortunately, it seems that VLC360 is designed for Windows XP and doesn't support .avs! This is where TSRemux comes into play. I have successfully played the video of a .ts file created with TSRemux using SMPlayer, but not the audio. It doesn't play in VLC though. However, strangely enough, the audio plays in TSConverter, but not the video! Also, I was not able to select DVR-MS output in TSConverter.

I am fairly new to all this and must be missing something! I thought you'd be able to guide me in the right direction.

Just in case, please find below the EVO sample I used:
http://www.mydatabus.com/public/aeonflux/part0001.evo

Thanks again!

Usul
24th June 2007, 17:04
I converted a TS file to blu-ray (h264 AVC dd 5,1) with tsremux..

From this point, I tried to burn the file structure with nero 7 using dvd-rom UDF mode, and manually selecting Primary UDF 2.5..

I burnt the file to dvd-r, and tried them on a sony blu-ray player, and a pioneer player.. The 2 players state the dvd is AVCHD and tried to play,but just hangs..

What am I doing wrong??

Thanx much..

dmz01
24th June 2007, 18:07
I converted a TS file to blu-ray (h264 AVC dd 5,1) with tsremux..

From this point, I tried to burn the file structure with nero 7 using dvd-rom UDF mode, and manually selecting Primary UDF 2.5..

I burnt the file to dvd-r, and tried them on a sony blu-ray player, and a pioneer player.. The 2 players state the dvd is AVCHD and tried to play,but just hangs..

What am I doing wrong??

Thanx much..

Does it play correctly in a Software Blu-Ray player such as WinDVD or PowerDVD? I would need a sample of the original to investigate further.

Usul
24th June 2007, 18:18
Does it play correctly in a Software Blu-Ray player such as WinDVD or PowerDVD? I would need a sample of the original to investigate further.

Thanx for the quick responce..:)

I have only nero, and it always crashes on most video files I play..:mad:

I will try windvd and report back my findings..


The format that your awesome program makes for blu-ray, is this the standard structure that should work on most blu-ray players??

Can one add a TS file with h264 and DTS and output in the blu-ray format, burn to dvd-r then play on a blu-ray player?? or does the player have to support AVCHD camcorder files..

Thanx again..

dmz01
24th June 2007, 18:23
Dear dmz, First of all, many thanks for your TSRemux tool. I have been looking for a way to stream HD movies from my PC to an XBox (which I haven't bought yet!). My first approach was to rip, demux and encode HD-DVD EVO contents to WMV HD, but that process takes forever! Then, I went looking for a way to stream my .avs, i.e. AviSynth, files using VLC360. Unfortunately, it seems that VLC360 is designed for Windows XP and doesn't support .avs! This is where TSRemux comes into play. I have successfully played the video of a .ts file created with TSRemux using SMPlayer, but not the audio. It doesn't play in VLC though. However, strangely enough, the audio plays in TSConverter, but not the video! Also, I was not able to select DVR-MS output in TSConverter.

I am fairly new to all this and must be missing something! I thought you'd be able to guide me in the right direction.

Just in case, please find below the EVO sample I used:
http://www.mydatabus.com/public/aeonflux/part0001.evo

Thanks again!

Which audio track were you trying to keep? DDP or DTS-HD?

dmz01
24th June 2007, 18:25
Thanx for the quick responce..:)

I have only nero, and it always crashes on most video files I play..:mad:

I will try windvd and report back my findings..


The format that your awesome program makes for blu-ray, is this the standard structure that should work on most blu-ray players??

Can one add a TS file with h264 and DTS and output in the blu-ray format, burn to dvd-r then play on a blu-ray player?? or does the player have to support AVCHD camcorder files..

Thanx again..

It should play fine on blu-ray players, but there could be either bugs in the program, or incompatible input, hence the need for a sample :)

dade49
24th June 2007, 19:46
What happens if you try to demux the DTS-HD track in TsRemux (by right-clicking on the stream and selecting demux to elementary stream)?

Looks like Flyboys BD only has a DTS-HD Master stream in English, and a 2 chan AC3 stream. So if I want to use a multichannel audio stream, I somehow have to demux this DTS-HD Master stream.

xport.exe gives me about 1k of data. Can't read it. TSremux can demux about 2.8GB of data, but it doesn't appear to be doing it right. Flyboys length is 2:18, and the DTS track I get is 1:02 in length.

dmz/drmpeg, Can you help me? All I want is the demuxed stream so I can pull the DTS core from it, and compile it into an AC3 stream.

It is definately a DTS-HD Master stream, not a regular DTS-HD stream. I am able to demux a DTS-HD stream from a different source.

I'm sure you want a sample. Would you like the DTS-HD Master in an m2ts, or do you want a sample of the demuxed stream?

Edited:
Sample m2ts file located here (http://www.sendspace.com/file/gplsxr).

dmz01
24th June 2007, 20:22
For me m2ts sample would be preferabe in case there is a bug in the demux code.

Usul
24th June 2007, 22:21
It should play fine on blu-ray players, but there could be either bugs in the program, or incompatible input, hence the need for a sample :)

Well, I tried windvd, and power dvd with the dvd-r I made with the blu-ray structure that tsremuxer made..

With these programs, was not able to play the dvd..

Not sure since these versions are only trial, they may not support the blu-ray..

I do not have an acutal blu-ray burner or rom.. only dvd

ARe there any trial programs out there than I can use to test with..??

After I atleast test this, I then can send a sample if it does not work..

Thanx again..

neoteo
24th June 2007, 22:40
HI. dmz01
I tried Tsremux0.0.16 to remux my .m2ts from original BD movie (muli-audio and subtitle) to Blu-ray and played with PowerDVD 7.3, using the "Open movie file on HDD",
PowerDVD can play video and first audio stream but no Subtitle and can't choose other audio track. why?

dade49
25th June 2007, 07:52
For me m2ts sample would be preferabe in case there is a bug in the demux code.

Please look at the sample m2ts located here (http://www.sendspace.com/file/gplsxr). It's a 20 meg file, but is divisable by 192, so shouldn't have any partial frames. Thanks.

dorati
25th June 2007, 09:29
When I remux some *.m2ts Files from Blu-Ray it plays fine on my PS3.

When I remux some *.ts to *.m2ts - the PS3 says "corrupt Data". With PowerDVD they work fine.
TSRemux remux without Error-Message. So everything looks fine.
The TS are recordings from TV (1920 x 1080i h.264, ac3).
What can be the reason, that it won't play?

olivierdb
25th June 2007, 14:54
Which audio track were you trying to keep? DDP or DTS-HD?

I kept the DD+ stream at the bottom of the list in TSRemux. Unfortunately, it seems that, in TSRemux, one cannot tell which audio channel is which, i.e. the bit rate and number of channels are missing!

dmz01
25th June 2007, 18:04
When I remux some *.m2ts Files from Blu-Ray it plays fine on my PS3.

When I remux some *.ts to *.m2ts - the PS3 says "corrupt Data". With PowerDVD they work fine.
TSRemux remux without Error-Message. So everything looks fine.
The TS are recordings from TV (1920 x 1080i h.264, ac3).
What can be the reason, that it won't play?

Either an incompatibility or a bug. Are you sure your TV recordings are 1920x1080i and not 1440x1080i? Can you provide a sample?

dmz01
25th June 2007, 18:07
HI. dmz01
I tried Tsremux0.0.16 to remux my .m2ts from original BD movie (muli-audio and subtitle) to Blu-ray and played with PowerDVD 7.3, using the "Open movie file on HDD",
PowerDVD can play video and first audio stream but no Subtitle and can't choose other audio track. why?

Most likely a bug.

dmz01
25th June 2007, 18:07
I kept the DD+ stream at the bottom of the list in TSRemux. Unfortunately, it seems that, in TSRemux, one cannot tell which audio channel is which, i.e. the bit rate and number of channels are missing!

Check your PM.

dorati
25th June 2007, 22:11
Either an incompatibility or a bug. Are you sure your TV recordings are 1920x1080i and not 1440x1080i? Can you provide a sample?

Here is a 15 Sek Sample of the record:

http://www.sendspace.com/file/p1my5n

K40
25th June 2007, 22:58
Is Ts Remuxer also working if Net Framework 3.0 is installled ?

drmpeg
26th June 2007, 02:43
Please look at the sample m2ts located here (http://www.sendspace.com/file/gplsxr). It's a 20 meg file, but is divisable by 192, so shouldn't have any partial frames. Thanks.
xport has no problem with that file. However, it's not the original is it? It has no video.

Ron

drmpeg
26th June 2007, 02:44
Here is a 15 Sek Sample of the record:

http://www.sendspace.com/file/p1my5n
It's 1920x1088, but it's 25 fps.

Ron

dorati
26th June 2007, 05:05
It's 1920x1088, but it's 25 fps.

Ron

Is this a problem for ps3 - or m2ts can not be 25fps?

dade49
26th June 2007, 07:08
xport has no problem with that file. However, it's not the original is it? It has no video.

Ron

Here's a sample of the full original with all streams in it.
http://www.sendspace.com/file/udyzd9

dade49
26th June 2007, 07:10
Is Ts Remuxer also working if Net Framework 3.0 is installled ?

Yes. It requires .NET 2.0, but .NET 3.0 works with it as well. I have tested it on Vista and XP with .NET 2.0 plus .NET 3.0 installed.

drmpeg
26th June 2007, 08:04
Here's a sample of the full original with all streams in it.
http://www.sendspace.com/file/udyzd9

Seems to work okay here.

E:\atsc>xport -h sample.m2ts 1 1 1
xport Transport Stream Demuxer 0.96
program = 1, video channel = 1, audio channel = 1
Program Number = 0 (0x0000), Program Map PID = 31 (0x001f)
Program Number = 1 (0x0001), Program Map PID = 256 (0x0100)
program descriptor = 0x05, 0x04, 0x48, 0x44, 0x4d, 0x56
program descriptor = 0x88, 0x04, 0x0f, 0xff, 0xff, 0xfc
Video PID = 4113 <0x1011>, type = 0x02
ES descriptor for stream type 0x02 = 0x05, 0x08, 0x48, 0x44, 0x4d, 0x56, 0xff, 0x02, 0x61, 0x3f
ES descriptor for stream type 0x02 = 0x86, 0x07, 0xe1, 0x65, 0x6e, 0x67, 0x7e, 0x7f, 0xff
Audio PID = 4352 <0x1100>, type = 0x86
ES descriptor for stream type 0x81 = 0x05, 0x04, 0x41, 0x43, 0x2d, 0x33
ES descriptor for stream type 0x81 = 0x81, 0x04, 0x08, 0x3c, 0x0e, 0x00
ES descriptor for stream type 0x81 = 0x05, 0x04, 0x41, 0x43, 0x2d, 0x33
ES descriptor for stream type 0x81 = 0x81, 0x04, 0x08, 0x3c, 0x0e, 0x00
ES descriptor for stream type 0x81 = 0x05, 0x04, 0x41, 0x43, 0x2d, 0x33
ES descriptor for stream type 0x81 = 0x81, 0x04, 0x08, 0x2d, 0xa4, 0x00
Sequence Header found
0 frames before first Sequence Header
Horizontal size = 1920
Vertical size = 1080
Aspect ratio = 16:9
Frame rate = 23.976
Sequence header bitrate = 38000000 bps
Progressive Sequence = 1
First Video PTS = 0x000ffff0
ts rate = unspecified
packets for pid 0 <0x0000> = 59, first = 1, last = 42892
packets for pid 31 <0x001f> = 7, first = 3, last = 42237
packets for pid 256 <0x0100> = 59, first = 2, last = 42893
packets for pid 4097 <0x1001> = 62, first = 4, last = 43338
packets for pid 4113 <0x1011> = 32564, first = 5, last = 43633
packets for pid 4352 <0x1100> = 7043, first = 246, last = 43690
packets for pid 4353 <0x1101> = 1538, first = 248, last = 43691
packets for pid 4354 <0x1102> = 1537, first = 251, last = 43686
packets for pid 4355 <0x1103> = 822, first = 253, last = 43688
coded frames = 127, video frames = 127

E:\atsc>dir /od
.
.
06/26/2007 12:01 AM 20,160,000 sample.m2ts
06/26/2007 12:03 AM <DIR> ..
06/26/2007 12:03 AM <DIR> .
06/26/2007 12:03 AM 1,156,679 bits0001.mpa
06/26/2007 12:03 AM 5,979,401 bits0001.mpv
.
.

Ron

drmpeg
26th June 2007, 08:24
Is this a problem for ps3 - or m2ts can not be 25fps?
25 fps is legal in .m2ts, but it's optional for players.

Ron

dchard
26th June 2007, 16:49
I like to demux the LPCM track of DéJá Vu Blu-Ray, and convert it to mono wavs.

The problem is, that the film was splitted to many .m2ts parts.

If I concatenate all of them, I can demux the LPCM track with xport (got a 5400MB output file), and I can transcode it with sox to multichannel wav, but its more than a half hour longer, than the movie itself. So somewhere, there is a problem.

The method I used:

1. Concatenated ALL .m2ts in the stream folder with copy /b method.

2. used "xport -h input.m2ts 1 7 1" to demux the LPCm track.

3. Used "sox -B -r48000 -t .raw -c 6 -2 -s bits0001.mpa file.wav" to get the multichannel wav from the demuxed track.

4. Used wavewizard to get 6 mono wavs.

I don't know where am I mistaken.

Thank you for the help!

Dchard

dorati
26th June 2007, 21:33
25 fps is legal in .m2ts, but it's optional for players.

Ron

While playing with TSRemux I found out some things:

The PS3 can play 25fps ! But how I mux conform m2st ??

I make this test:

a 100 MB orginal m2ts-File (23,976) from Blu-Ray Disc plays fine.
Remux with TSRemuxer plays fine too.

demux this file with XMuxer, i get AVC-Video and AC3-Audio. This files are ok.
Then I mux this two files with XMuxer to TS-Stream.
PS3 says "Not supportet Data". PowerDVD plays fine.
Remux with TSRemuxer (shows me the correct elementary Streams). PS3 says "corrupt Data". PowerDVD plays fine.

With my 25fps-Recording I create with Nerovision a AVCHD. The Programm makes a transcoding, but so I get a m2ts-File with 25fps, that is Playing in PS3.

The Rest is like before. Demuxing - Muxing. The file is not playing.

So, how I can mux m2ts from elementary-streams, that are ok ??

neoteo
27th June 2007, 09:16
Most likely a bug.

domz01.
Can you fix this problem

oldpainless
27th June 2007, 13:37
Dmz01

I can see you are hard at work at the mo....but thought I ask how the MKV input is comming along?

Kevin

madshi
27th June 2007, 13:42
Come on, guys, don't push so hard. Remember: You're all getting this for free! So have a little patience, please...

oldpainless
27th June 2007, 13:46
Come on, guys, don't push so hard. Remember: You're all getting this for free! So have a little patience, please...

Agreed...

K

dmz01
27th June 2007, 14:36
While playing with TSRemux I found out some things:

The PS3 can play 25fps ! But how I mux conform m2st ??

I make this test:

a 100 MB orginal m2ts-File (23,976) from Blu-Ray Disc plays fine.
Remux with TSRemuxer plays fine too.

demux this file with XMuxer, i get AVC-Video and AC3-Audio. This files are ok.
Then I mux this two files with XMuxer to TS-Stream.
PS3 says "Not supportet Data". PowerDVD plays fine.
Remux with TSRemuxer (shows me the correct elementary Streams). PS3 says "corrupt Data". PowerDVD plays fine.

With my 25fps-Recording I create with Nerovision a AVCHD. The Programm makes a transcoding, but so I get a m2ts-File with 25fps, that is Playing in PS3.

The Rest is like before. Demuxing - Muxing. The file is not playing.

So, how I can mux m2ts from elementary-streams, that are ok ??

If you make both - the original and the xmuxer output samples available to me I might be able to compare them and see if anything can be done in TsRemux.

dmz01
27th June 2007, 14:37
Dmz01

I can see you are hard at work at the mo....but thought I ask how the MKV input is comming along?

Kevin

Slowly. :) Remember that family/job come first. :) But don't worry, it is advancing.

dmz01
27th June 2007, 14:39
domz01.
Can you fix this problem

Not without a sample that reproduces this issue. Make a sample available to me and I'll see what I can do. :)

dmz01
27th June 2007, 14:54
Here's a sample of the full original with all streams in it.
http://www.sendspace.com/file/udyzd9

Seems to work okay here.
Ron

Same here. I get a fully working DTS track.

dmz01
27th June 2007, 14:57
Dear dmz, First of all, many thanks for your TSRemux tool. I have been looking for a way to stream HD movies from my PC to an XBox (which I haven't bought yet!). My first approach was to rip, demux and encode HD-DVD EVO contents to WMV HD, but that process takes forever! Then, I went looking for a way to stream my .avs, i.e. AviSynth, files using VLC360. Unfortunately, it seems that VLC360 is designed for Windows XP and doesn't support .avs! This is where TSRemux comes into play. I have successfully played the video of a .ts file created with TSRemux using SMPlayer, but not the audio. It doesn't play in VLC though. However, strangely enough, the audio plays in TSConverter, but not the video! Also, I was not able to select DVR-MS output in TSConverter.

I am fairly new to all this and must be missing something! I thought you'd be able to guide me in the right direction.

Just in case, please find below the EVO sample I used:
http://www.mydatabus.com/public/aeonflux/part0001.evo

Thanks again!

Hmm, I'm not that familiar with SMPlayer ot TSConverter. Do those tools support the advanced A/V codecs. Sounds to me like SMPlayer doesn't like DDPlus and TSConverter doesn't like VC-1.

Roscoe62
27th June 2007, 20:28
I may have missed it in this ever growing thread, but is tsremux able to remux a 5.1/7.1 LPCM audio track into a .ts file?

Again, thank you to dmz01 for your dedication!

dmz01
28th June 2007, 01:28
I may have missed it in this ever growing thread, but is tsremux able to remux a 5.1/7.1 LPCM audio track into a .ts file?

Again, thank you to dmz01 for your dedication!

Mux? No, Remux? Yes. Muxing involves stuffing elementary streams into a container by generating timestamps appropriate for that container. Remuxing is simply changing the container by re-using existing timestamps.

crapz0rs
28th June 2007, 19:49
I like to demux the LPCM track of DéJá Vu Blu-Ray, and convert it to mono wavs.

The problem is, that the film was splitted to many .m2ts parts.

If I concatenate all of them, I can demux the LPCM track with xport (got a 5400MB output file), and I can transcode it with sox to multichannel wav, but its more than a half hour longer, than the movie itself. So somewhere, there is a problem.

The method I used:

1. Concatenated ALL .m2ts in the stream folder with copy /b method.The m2ts order for deja vu is:
48-49-35-37-39-61-32-34-46-36-38-40-41

dade49
28th June 2007, 22:17
The m2ts order for deja vu is:
48-49-35-37-39-61-32-34-46-36-38-40-41

You are awesome. I've been working on this for a few days now. Can you explain how you read that? I tried using BDedit, but I couldn't figure it out. Deja Vu is definately the trickiest BDMV I've seen so far.

crapz0rs
28th June 2007, 22:40
It was playlist 30 or something, can't recall exactly :-)

dade49
28th June 2007, 22:48
It was playlist 30 or something, can't recall exactly :-)

Thanks.... I'm learning something new all the time. I'll look at those playlists closer next time. That is one sneaky playlist order.

kabanero
29th June 2007, 03:19
dmz,

I ran into problem with TSremux today. This is what I am trying to do.

I have a bunch of TS files. I split those files with Null Packet Saver and archived them on DVD+RW disks. Today I put to TS files from two disks back to my hard drive and joined them back with Null Packet Saver into one TS file. Then I tried to remux it with TSremusx with Blu-ray option. But I got the error message:

Index was outside the bounds of the array.

What does this error mean?

I also tried to join those two TS files back with HDTVtoMPEG2, but I still get the same error.

Joined TS file play fine on PC in Media Player Classic.

This error happens at the split/join point.

dorati
29th June 2007, 07:13
If you make both - the original and the xmuxer output samples available to me I might be able to compare them and see if anything can be done in TsRemux.

Yes. But before I test something, I get from Elecard Support.

dmz01
29th June 2007, 14:28
dmz,

I ran into problem with TSremux today. This is what I am trying to do.

I have a bunch of TS files. I split those files with Null Packet Saver and archived them on DVD+RW disks. Today I put to TS files from two disks back to my hard drive and joined them back with Null Packet Saver into one TS file. Then I tried to remux it with TSremusx with Blu-ray option. But I got the error message:

Index was outside the bounds of the array.

What does this error mean?

I also tried to join those two TS files back with HDTVtoMPEG2, but I still get the same error.

Joined TS file play fine on PC in Media Player Classic.

This error happens at the split/join point.

If you extract a sample around the split/join point and make it available to me I can fix it in the next version. :)

maya
30th June 2007, 02:21
I would like to play my MPEG4 and VC-1 blu ray rips on my Tvix 4100, but it will only accept MPEG2 rips in an m2ts container. Will tsremux or anything else help me here?

AtomicStryker
30th June 2007, 16:24
Yay THANKS A TON

Finally something to make my .MTS files work with Premiere - demuxed em to TS and finally the blast program works with them

It shows the Dolby Digital Sound Data in the Stream, too, but it can't demux that - it returns a file few KB big

dorati
30th June 2007, 20:41
@dmz01: When I use your TsRemux and select for output;Blu-Ray - you generated a file 00001.m2ts. You can change this to 00000.m2ts?? Why? I found this great solution, but I must rename some files and use a Hexeditor:

I don't have a Blu-Ray Burner.
I write the generated BDMV-Folder to DVD in all different formats, but my PS3 never wan't to play this DVD (Mini-BluRay).

But you can create HighDefinition DVD's using the AVCHD-Format.
The only Programm I found witch can write this format was NeroVision 4.
But always - you create a Projekt, the Video is Transcoding and it is not Possible for 23,975fps (only 25fps and 29,97).

But how to burn without transcoding?

I found a way, that is a little tricky - but it works --))

Start Nerovision and create a AVCHD Projekt.
Add some valid Videoclips (30 Sek. or so) and burn the Projekt on a DVD-RW. It is importand to burn and not to cancel. If cancel, all Tempdata are erased. Later Burn DON'T close the aplikation

Now, in Dokumente und Einstellungen\User\Lokale Einstellungen\Temp\NeroHDDVDxxxxxx (on German XP) you found a BDMV-Folder.
Nero generated a 00000.m2ts.
I change this with the 00001.m2ts from TSRemux (renamed).
Then I change in CLIPINF the 00000.clpi with the one of TSRemux (renamed). And at last in PLAYLIST the 00000.mpls. But in this 00000.mpls I changed with a HexEditor the 00001.m2ts in 00000.m2ts (For Play the right file).

Now you say in NeroVision Burn again and Nero is burning the updated Data.

All is playing fine on my PS3. Subtitle, AC3-Output.

So, you can split the orginal HD-Movie on 2 DVD-DL.

Now I test to transcode to 720p and use the same trick.

Thank you for your great program - i beginn to like this Blu-Ray --))

trilko
2nd July 2007, 14:45
[LIST]
Still working on MKV support


How does it look right now? Hardly waiting for it to test :))

oldpainless
2nd July 2007, 16:38
Yeah I tried just about everything...It seems I can get 720p MKV (most of the time) to TS or AVI in sync, but 1080p....forget it...I can get about 2 out of 6 files done in sync....looks (i might be wrong?) that 720p MKV's most of the time are CFR, but 1080p MKV appear to be VFR (x.264 VFR codec?). So with most 1080p (and some 720p) MKV's, the timestamps are in the MKV container to maintain sync. So, the moment you demux....your buggered (with current tool sets anyway).

So, now it's time for me to wait for our good chap to work his magic...

Kevin

oldpainless
2nd July 2007, 17:10
PS to my above post...I'd be glad to be talking outta my behind on this one...cus it means I can feel safe knowing that someone who knows more is on the case!

Regards

Kevin

dmz01
3rd July 2007, 05:05
Looks like I might have a test version ready next weekend. Sorry, but I only have time on weekends nowadays. :)

oldpainless
3rd July 2007, 06:48
Looks like I might have a test version ready next weekend. Sorry, but I only have time on weekends nowadays. :)

Great if you can man.Look forward to testing it for you.

Kevin

Usul
3rd July 2007, 07:38
Looks like I might have a test version ready next weekend. Sorry, but I only have time on weekends nowadays. :)

You are so awesome!!:)

Is there anyway that we all can donate by paypal to you for you awesome efforts??

Thanx again in advance,, can't wait for MKV ... Just awesome..:)

musicman2311
4th July 2007, 16:32
Hi this is a great tool,

i tested with all codecs in blu ray (vc1, mpeg, avc).

However I also tested .ts streams and .evo.

Unfortunately none of them plays correctly on ps3 after running through tsremux.

are you still working on this ?

what support do you need ?

thanks

robena
4th July 2007, 18:11
Hi,

TSRemux is quite a work done so fast.

TSRemux has some issues with UK Sky HD caps. It sees their AC3 stream as a True HD one.

When you select this stream and remux, the output is somehow not audio compliant: a TVIX 4100 for example is not able to use it, and XMUXER Pro does not see the audio PID that TSREmux has created at all.

That's very likely because TSRemux flags that audio output as a True HD track also, so players don't recognize it as an AC3 track.

It would be a tremendous help if you could fix this issue, so here is a sample:


http://www.verzend.be/v/371416/SkyHDCap.ts.html


Thanks.


Edit: with other caps, TSRemux sees the AC3 track as lossless audio. Here is a second sample that shows that problem:

http://www.verzend.be/v/2237653/SkyHDCap2.ts.html

Adbear
4th July 2007, 21:33
Hi this is a great tool,

i tested with all codecs in blu ray (vc1, mpeg, avc).

However I also tested .ts streams and .evo.

Unfortunately none of them plays correctly on ps3 after running through tsremux.

are you still working on this ?

what support do you need ?

thanks

Evo files won't work as a direct conversion due to the audio, you need to convert the audio to ac3 then remux it with the video and then build a bdmv folder in tsremux. Have done it with quite a few of my evo files

jagaskywalker
5th July 2007, 11:23
...All is playing fine on my PS3. Subtitle, AC3-Output.
--))

This is very interesting information. Can you give us some more details on the source format ? (was it AVC/H264, or does it also work with mpeg2 ?)

Maybe it won't be difficult for TSRemux to use the same "template" and generate AVCHD "disk structures".......

What about your 720p tests ?

Thanks

PS: I think Pinnacle 11.1 does output now to AVCHD disks, so it might be another option

colinhunt
5th July 2007, 12:27
Evo files won't work as a direct conversion due to the audio, you need to convert the audio to ac3 then remux it with the video and then build a bdmv folder in tsremux. Have done it with quite a few of my evo files
Could you please throw in some additional information regarding the process, such as what tools were used etc.? Thanks.

jcar
5th July 2007, 13:14
@dmz01: When I use your TsRemux and select for output;Blu-Ray - you generated a file 00001.m2ts. You can change this to 00000.m2ts?? Why? I found this great solution, but I must rename some files and use a Hexeditor:

I don't have a Blu-Ray Burner.
I write the generated BDMV-Folder to DVD in all different formats, but my PS3 never wan't to play this DVD (Mini-BluRay).

But you can create HighDefinition DVD's using the AVCHD-Format.
The only Programm I found witch can write this format was NeroVision 4.
But always - you create a Projekt, the Video is Transcoding and it is not Possible for 23,975fps (only 25fps and 29,97).

But how to burn without transcoding?

I found a way, that is a little tricky - but it works --))

Start Nerovision and create a AVCHD Projekt.
Add some valid Videoclips (30 Sek. or so) and burn the Projekt on a DVD-RW. It is importand to burn and not to cancel. If cancel, all Tempdata are erased. Later Burn DON'T close the aplikation

Now, in Dokumente und Einstellungen\User\Lokale Einstellungen\Temp\NeroHDDVDxxxxxx (on German XP) you found a BDMV-Folder.
Nero generated a 00000.m2ts.
I change this with the 00001.m2ts from TSRemux (renamed).
Then I change in CLIPINF the 00000.clpi with the one of TSRemux (renamed). And at last in PLAYLIST the 00000.mpls. But in this 00000.mpls I changed with a HexEditor the 00001.m2ts in 00000.m2ts (For Play the right file).

Now you say in NeroVision Burn again and Nero is burning the updated Data.

All is playing fine on my PS3. Subtitle, AC3-Output.

So, you can split the orginal HD-Movie on 2 DVD-DL.

Now I test to transcode to 720p and use the same trick.

Thank you for your great program - i beginn to like this Blu-Ray --))


When I made a AVCHD with nero, I remember I just copied the .mts file to a USB drive and played it directly from the PS3, without the need of the disc... the file would play just fine.

What's the advantage of playing it from a disc, apart from the menus and such things?

jagaskywalker
5th July 2007, 13:28
When I made a AVCHD with nero, I remember I just copied the .mts file to a USB drive and played it directly from the PS3, without the need of the disc... the file would play just fine.

What's the advantage of playing it from a disc, apart from the menus and such things?

Playing it from the XMB (e.g. from USB drive) downmixes audio to 2.0 .... (who knows why)

J

robena
5th July 2007, 17:28
Hi,

Here:

http://www.verzend.be/v/9501946/IndexOutOfBouds.ts.html

is a file which generates an "index out of bound" message when remuxing.

Thanks for looking into it.

dmz01
6th July 2007, 04:01
Thanks for looking into it.

Thanks for the samples Robert. Will be fixed in the next version.

jagaskywalker
6th July 2007, 08:49
This is very interesting information. Can you give us some more details on the source format ? (was it AVC/H264, or does it also work with mpeg2 ?)


To answer myself, I tried it yesterday and it worked perfectly with a mpeg2 m2ts directly ripped from a BD. It seems PS3 can handle AVCHDs with 1080p mpeg2... (is that part of the AVCHD spec ?)

Good news anyway :)

UPDATE ! .... I tried right now to burn the BR disk structure created with TSRemux on a DVD, using UDF 2.6 and IT WORKED in the PS3 ! My source was a BR trailer from Terminator 2 BR (MPEG2, AC3) and it is recognised in the PS3 as a BDMV disk on a DVD. It plays perfectly. I have firmware 1.5, could somebody test it with the latest fw version (1.82) and/or with other sources (AVC/H264, VC1) ?

Once we have mkv support this is going to be amazing....

[According to the wikipedia, BD-9 is a red laser DVD with BD contents on. This disc should be rotated at 3x speed or more to satisfy the minimum transfer rate of 30.24 Mbit/s.... I do not know if the DVD I created plays at that speed.. I did not notice any lag or problem while reproducing the video, and it reached at least 20 Mb/s...]

dorati
7th July 2007, 07:18
This is very interesting information. Can you give us some more details on the source format ? (was it AVC/H264, or does it also work with mpeg2 ?)

Maybe it won't be difficult for TSRemux to use the same "template" and generate AVCHD "disk structures".......

What about your 720p tests ?

Thanks

PS: I think Pinnacle 11.1 does output now to AVCHD disks, so it might be another option

The Source was always AVC/H264. MPEG2 i have not testet.

It works fine with 1280x720p(23,97) 1920x1080p(23,97) and 1440x1080i(25fps). You must change in Clipinf and Playlist the Byte for the Resulution. If you don't know, with it is, I can look later at home. Here I don't have my paper. You can check with BD-Edit if the settings are ok.
I don't know, if other Resuluton works - like 1080i and 25fps (German TV) because I don't know, how to generate the m2ts-Stream. The only program I found is Scenarist and only accept InputStreams witch are Blu-Ray Spezifikation.

But I think!!, all Resulution explaint in this List will work:
http://www.emedialive.com/articles/readarticle.aspx?articleid=11397

zeropc
7th July 2007, 09:37
i can't open the app. everytime i try it, it just crashes. any ideas?

robena
7th July 2007, 09:48
i can't open the app. everytime i try it, it just crashes. any ideas?

Are you using XP SP2? I know that I could not use it with SP1.

oldpainless
7th July 2007, 11:06
Just a quick one re MKV to TS...(I know you probably know, but just in case)

mkvextract can output the timecode files for both the audio and video tracks.....now I assume if both timecode files could be read as part of the muxing process...the outputs should always be in sync?

Kevin

oldpainless
7th July 2007, 11:42
Update...for info...I just ran an MKV through mkvextract, with timecode output's and then used mkvmerge to remux. Without importing the timecode files for both video and audio, the remuxed file was out of sync. However, remuxing using the timecode files for both the audio and video, the file was perfectly in sync. So, you can demux and remux an MKV, but when remuxing, you need to read both the audio and video timecode files/stamps.

Hope this helps with the MKV to TS project.

Kevin

zeropc
7th July 2007, 12:48
Are you using XP SP2?

yep. that's why i wondered that i couldn't load it up.

it is an app and not a cmd tool, right?

robena
7th July 2007, 13:24
yep. that's why i wondered that i couldn't load it up.

it is an app and not a cmd tool, right?

Right.

You also need to install .NET framework I think.

zeropc
7th July 2007, 13:46
Right.

You also need to install .NET framework I think.


that was it :D

thanks for the tip :thanks:

jcar
7th July 2007, 22:58
While playing with TSRemux I found out some things:

The PS3 can play 25fps ! But how I mux conform m2st ??

I make this test:

a 100 MB orginal m2ts-File (23,976) from Blu-Ray Disc plays fine.
Remux with TSRemuxer plays fine too.

demux this file with XMuxer, i get AVC-Video and AC3-Audio. This files are ok.
Then I mux this two files with XMuxer to TS-Stream.
PS3 says "Not supportet Data". PowerDVD plays fine.
Remux with TSRemuxer (shows me the correct elementary Streams). PS3 says "corrupt Data". PowerDVD plays fine.

With my 25fps-Recording I create with Nerovision a AVCHD. The Programm makes a transcoding, but so I get a m2ts-File with 25fps, that is Playing in PS3.

The Rest is like before. Demuxing - Muxing. The file is not playing.

So, how I can mux m2ts from elementary-streams, that are ok ??

I've tried to mux a MKV into TS.. what I did was (and forget the audio lol)
MKV to streams -> video stream to mp4 -> mp4 to TS (with xmuxer)
Then TS to M2TS (blu-ray) using TSremux

The m2ts file I get in the stream folder doesn't play on the ps3 (corrupted data)


I tried remuxing the MKV into ts or ps using VLC but when I use those files in TsRemux I get an "index out of bounds" or something error.

So my question now is, how can remux the MKV properly into something TsRemux will read, to get a "ps3 playable" bluray m2ts file?

I'm thinking that the problem is, perhaps, in Xmuxer.. could it be the PIDs and such?

jcar
8th July 2007, 00:35
A "funny" fact I would like to point out.
I remuxed a TS (1080i/p?) into Blu-Ray.

I burnt the folder structure into a UDF 2.5 disc. Upon inserting the disc on my PC, vista recognized it as "Blu-ray disc". The only option available was to explore the files, since I dont have anything install that can handle BDs.

The PS3, however, read it as a "data" disc.

Now, I burnt a new AVCHD project with Nero vision. This time, vista doesn't read it as a Blu-ray disc, and offers me the typical file options for any data disc.
However, the PS3 recognizes it as an AVCHD disc (and it plays!). Too bad I had no luck with the m2ts from TSRemux :(

dorati
8th July 2007, 06:19
Then TS to M2TS (blu-ray) using TSremux

The m2ts file I get in the stream folder doesn't play on the ps3 (corrupted data)


The Problem is XMuxer. The PS3 don't like the Mux.
I send Elecard one m2ts-File and they wan't to look, if they can fix. In the new Beta, the PS3 accept the Stream, but the Plyback is not ok. Always Stop and later 15 Sek. you must turn off/on the PS3

dorati
8th July 2007, 06:21
A "funny" fact I would like to point out.
I remuxed a TS (1080i/p?) into Blu-Ray.

I burnt the folder structure into a UDF 2.5 disc. Upon inserting the disc on my PC, vista recognized it as "Blu-ray disc". The only option available was to explore the files, since I dont have anything install that can handle BDs.

The PS3, however, read it as a "data" disc.

Now, I burnt a new AVCHD project with Nero vision. This time, vista doesn't read it as a Blu-ray disc, and offers me the typical file options for any data disc.
However, the PS3 recognizes it as an AVCHD disc (and it plays!). Too bad I had no luck with the m2ts from TSRemux :(

I think this is a Sony-Problem :devil:
The PS3 don't accept BDMV-Video form BD-R and BD-RE.
Sony says: Perhaps we will change this in a later Firmwareupdate.

Adbear
8th July 2007, 07:21
I think this is a Sony-Problem :devil:
The PS3 don't accept BDMV-Video form BD-R and BD-RE.
Sony says: Perhaps we will change this in a later Firmwareupdate.
Not true, I've been able to write my own BDMV discs and play them back on my PS3 since firmware 1.7 using bd-r and bd-re discs

Adbear
8th July 2007, 07:56
Could you please throw in some additional information regarding the process, such as what tools were used etc.? Thanks.

Have only tried this on a PS3, Scenarist 4.2 doesn't put the correct flag for playback on a PS3 so I need to do steps 6 onwards. Still waiting for Scenarist 4.3 which will.

Tools needed
EVOdemux
TSremux
eac3to
Scenarist 4.2 (only program I've got to remux the streams)

1. In EVOdemux Demux the video into vc-1 files
2. In EVOdemux Rebuild the audio stream into an audio only EVO file
3. Run the audio only EVO file through eac3to to get the AC3 or DTS file
4. Run the final VC-1 and AC3/DTS files through Scenarists MUI Generator
5. Use Scenarist to make a very basic Blu-ray Disc

If you only have 1 original video and audio file skip to 9

6. Look through the Scenarist Project folder and find the BDMV folder, in the streams folder you will find the video files now as m2ts files, move them to the route of the drive (e.g d:\)
7. Join the m2ts files to make 1 file using copy /b (Copy /b 00000.m2ts+00001.m2ts output.m2ts)
8. Open TSremux, Load in the output.m2ts file and run it using the m2ts file option to create a final file
9. Open TSremux load in either a final single file from Scenarist or the final m2ts file from TSremux, then build a BDMV folder using TSremux write it to disc and play

So far have made quite a few of these, only ones I've had problems with have been HD-DVD's using h264, and havn't got round it yet
I'm also pretty sure if you get the subtitle files you can import them into Scenarist and add them in as well

jcar
8th July 2007, 08:15
The Problem is XMuxer. The PS3 don't like the Mux.
I send Elecard one m2ts-File and they wan't to look, if they can fix. In the new Beta, the PS3 accept the Stream, but the Plyback is not ok. Always Stop and later 15 Sek. you must turn off/on the PS3

For some reason I suspected the problem was that, hehe. So, do you know what else I can try to remux an mkv into a ts, or something TSRemux will accept?
VLC didnt seem to work either :(

ps3hacker
9th July 2007, 00:26
I seem to be having a problem with subtitles.When ever I remux to blu ray, Powerdvd never sees the subtitles.Must I play with another player? The presentation graphics streams are the subtitles right?

dorati
9th July 2007, 06:55
Not true, I've been able to write my own BDMV discs and play them back on my PS3 since firmware 1.7 using bd-r and bd-re discs

How you write the BD-R ?
I use Nero and Imageburn and the PS3 shows alwas Datadisk.

robena
9th July 2007, 12:15
Thanks for the samples Robert. Will be fixed in the next version.

That's very nice to hear.

Here is another Sky sample which audio TSRemux sees as DTS-HD instead of AC3:

//www.verzend.be/v/8818332/LooksLikeDTSHD.ts.html

Thanks,

Adbear
9th July 2007, 14:38
How you write the BD-R ?
I use Nero and Imageburn and the PS3 shows alwas Datadisk.

When writing in nero you have to manually set the UDF to 2.5 or higher otherwise it won't play back on a settop player

jagaskywalker
9th July 2007, 17:08
When writing in nero you have to manually set the UDF to 2.5 or higher otherwise it won't play back on a settop player

When burning a TSRemux BR structure to a DVD (not a Bluray disk) using 2.5 in Nero did not work for me, but using 2.6 it works. PS3 shows them as BDMV and plays perfectly.

jcar
9th July 2007, 21:39
I just found out that VLC has a bug that wont remux h264 video into anything, lol.
https://trac.videolan.org/vlc/ticket/1217
Let's say, trying to remux an mkv video (with h264) into ts will result in a ts with the audio track correct, but not the video!

enjoyer
9th July 2007, 23:40
When burning a TSRemux BR structure to a DVD (not a Bluray disk) using 2.5 in Nero did not work for me, but using 2.6 it works. PS3 shows them as BDMV and plays perfectly.

with what source file did u do that?

i have no problems with mpeg2 ts files. [mpeg2 ts file--->tsremux(m2ts output)--->rename the output file (*.m2ts)--->burn it with nero 7(UDF2.60)--->worked flawlessly on my ps3...]

but i dont have any success with h264/x264 files

jcar
9th July 2007, 23:55
with what source file did u do that?

i have no problems with mpeg2 ts files. [mpeg2 ts file--->tsremux(m2ts output)--->rename the output file (*.m2ts)--->burn it with nero 7(UDF2.60)--->worked flawlessly on my ps3...]

but i dont have any success with h264/x264 files

What method are you using to "import" the h264 streams to TsRemux? I tried making .TS files out of streams (using Xmuxer) but the resulting files didn't work. My guess is that the problem relies there... hehe

Usul
10th July 2007, 04:52
I tried making a blu-ray dvd-rw..

I used newest tsremux for blu-ray format..

I burnt the dvd-rw with nero 7, using UDF 2.6...

but...

My pioneer bdp-94hd blu-ray player started to play the dvd (said it was a avchd), but went to black screen, then stopped..

It would not play..

The source was a TS with DD 5.1, h264 AVC ran through tsremux..

What am I doing wrong..

Thanx..

crypto
10th July 2007, 10:13
@dmz01
Thanks for this great tool. Would it be possible to add an option to map the vpid and the pcrpid to the same id. I think this is the cause why remuxed ts files don't run on Sigma EM chips.

Has123
10th July 2007, 13:27
@enjoyer
Would you please explain what you ment by changing the name of the output file and change it to what. I tried using tsremux latest version to make bluray structure with mpeg ts source and used Nero latest version UDF 2.6 but the ps3 keeps reading this as Data DVD. Can you elaborate more on your method? Thanks,

enjoyer
10th July 2007, 13:46
has123 just add u r mpeg2 ts file in tsremux and choose the m2ts output(not blu ray)...then u will get a file without a file extension.
rename this file with *.m2ts...then burn it with nero 7 physical partition udf 2.60. the ps3 keeps reading this as data dvd but the ps3 will accept the format and u can play that file

jcar
10th July 2007, 14:18
has123 just add u r mpeg2 ts file in tsremux and choose the m2ts output(not blu ray)...then u will get a file without a file extension.
rename this file with *.m2ts...then burn it with nero 7 physical partition udf 2.60. the ps3 keeps reading this as data dvd but the ps3 will accept the format and u can play that file

isn't it the same as playing the video from a usb drive? The ps3 should even be able to play the original ts file if it was an mpeg-2 ts, right?

enjoyer
10th July 2007, 14:23
jcar i tried to play the source file..without success

enjoyer
10th July 2007, 16:23
Ac3 and H264 works in vob file

I have done some tests of getting the ac3 (Dolby digital) and h.264 (AVC) to play in ps3 without re-encode ac3 to aac. I found a solution.
Step by step.

1.mvkextact audio and video.
2.change the level of h.264 to 4.1 if needed with h264info
3. mux audio and video together with the latest ffmpeg.
ffmpeg -r 23.976 -f h264 -i input.h264 -f ac3 -i input.ac3 -vcodec copy -acodec copy -f vob output.vob

Put this in to the folder for streaming (I use Tversity), it is shown as mpeg-2 in xmb.
Play it and it works great. Press info and you see that it is dolby digital and avc :)

Fast forward do not seems to work but the files can now be bigger than 4GB.

Maybe there can be a profile in redkawa for this :)

FFMpeg
http://ffdshow.faireal.net/mirror/ffmpeg/
(version SVN-r9260 with ac3 support)

h264info
https://sourceforge.net/projects/batchccews/

can somebody pls test if burning the file to dvd works too? i cant try it atm because my dvd burner is broken

jcar
10th July 2007, 16:49
No matter what mux I "feed" into TsRemux, if it contains an h264 stream it won't play in the PS3 for me :(

enjoyer
10th July 2007, 16:54
the source should be a x264/h264 mkv file!!

dmz01
10th July 2007, 16:55
@dmz01
Thanks for this great tool. Would it be possible to add an option to map the vpid and the pcrpid to the same id. I think this is the cause why remuxed ts files don't run on Sigma EM chips.

I could easily do that, however it is against the BD specs, in BD you're forced into certain PIDs including separate PCR and Video PIDs. If there is enough interested I can add that feature for TS/M2TS (but not BD) output.

dmz01
10th July 2007, 16:57
the source should be a x264/h264 mkv file!!

hehe, MKV is still advancing, albeit slower than I would like. For those who would like to help me with it, send me PMs with samples and or offer your testing skills :thanks:

enjoyer
10th July 2007, 17:02
hehe, MKV is still advancing, albeit slower than I would like. For those who would like to help me with it, send me PMs with samples and or offer your testing skills :thanks:

nice, thx for u r effort...mkv input would be awesome :D

jcar
10th July 2007, 17:09
I totally offer myself to test anything lol. I have a ps3 to test too.. and a lot of free time in the afternoons, at least until late this month.


I tried the ffmpeg method and I got a vob file. I didn't try to stream it to the ps3, I tried to play it directly instead (using a usb drive). I even took the vob and remuxed it (with tsremux) to m2ts

The m2ts took ages until it started playing... but the same exact thing happened in the ps3! Before determining that the file was "not supported", it took quite a while to show up. I even clicked on the file, and the screen went black., and after a while the "the data is not supported" message came up.

Weird.

I think I'll wait until mkv support because right now there's no tool that will properly mux h264+ac3 into something TsRemux will like. Or at least that's what it seems, lol

Has123
10th July 2007, 19:54
Has anyone been successful in burning the BD structure from TSRemux (mpeg source) to DVD or DVD9 with the ps3 recognizing it as BD or AVCHD? ( I tried with Nero UDF 2.6 shows as Data DVD)
I tried NeroVision for AVCHD it works and the ps3 recognize it as AVCHD and plays flawlessly with chapters and DD 5.1 but it does a full encode on my fast machine for best quality takes a full day.

Has123
10th July 2007, 20:56
When burning a TSRemux BR structure to a DVD (not a Bluray disk) using 2.5 in Nero did not work for me, but using 2.6 it works. PS3 shows them as BDMV and plays perfectly.

jagaskywalker,

Can you please confirm and elaborate more on your method. I tried multiple times using mpeg ts sourse without any luck getting the ps3 to recognize it anything other than data DVD. Thanks,:confused:

madshi
10th July 2007, 21:31
hehe, MKV is still advancing, albeit slower than I would like. For those who would like to help me with it, send me PMs with samples and or offer your testing skills :thanks:
What kind of samples would help you? E.g. do you need/want specific audio/video codec combinations? Or what do you need?

jagaskywalker
10th July 2007, 22:48
jagaskywalker,

Can you please confirm and elaborate more on your method. I tried multiple times using mpeg ts sourse without any luck getting the ps3 to recognize it anything other than data DVD. Thanks,:confused:

I have done a couple of tests, always with mpeg2-ts sources and it worked well in PS3. Nothing fancy:

1- create BD structure with TSRemux
2- burn BD structure with Nero (latest version) using UDF 2.6. I used DVD+RW, I read somewhere else (redkawa forum) that (-) media was not properly recognised by PS3 (that person also mentioned that "Bitsetting a disc to DVD-ROM " was helping)

My firmware version is 1.5 if it helps.

dmz01, I also offer myself to do tests. I have several mkv available and a PS3.

dmz01
11th July 2007, 01:38
What kind of samples would help you? E.g. do you need/want specific audio/video codec combinations? Or what do you need?

h264 and mpeg2 video with AC3 audio would be nice. :)

oldpainless
11th July 2007, 07:41
h264 and mpeg2 video with AC3 audio would be nice. :)

I'm uploading 2 samples for you:

1 - H.264 with AC3 - 1080p
2 - H.264 with DTS and AC3 - 720p

I'll PM you with the links when their up..

K

oldpainless
11th July 2007, 08:03
h264 and mpeg2 video with AC3 audio would be nice. :)

Sent you a pm

K

madshi
11th July 2007, 08:59
@dmz01, two suggestions:

(1) Could you please open source files with read-only mode *and* with "read share" flag set (FILE_SHARE_READ flag when using win32 APIs)? Right now TsRemux totally blocks any access to the source file, which is not really necessary.

(2) To make the user interface a bit simpler, you could remove the "use async I/O" checkbox. TsRemux could then first try with async I/O and if that fails it could automatically retry without aync I/O. That would work for me at least, because for me when async fails it always fails directly at the start of the remuxing action. However, if for other people it sometimes fails in the middle of a remux action, my idea would be bad. Well, it was just a thought... (Btw, I always get problems with async when remuxing EVOs, but never when remuxing TS/M2TS).

Thanks!

dorati
11th July 2007, 10:38
All the Streams with VC1-Codec don't run later Remux on Sigma-Chip.
Somebody now why?

enjoyer
11th July 2007, 10:40
is h264 the same as x264?? because the most hd content is x264.....

madshi
11th July 2007, 10:49
is h264 the same as x264?? because the most hd content is x264.....
x264 is an encoder which encoders in the h264 format. "h264" is the format. "x264" is the name of one specific h264 encoder suite.

enjoyer
11th July 2007, 23:30
thx madshi!

I have done some tests of getting the ac3 (Dolby digital) and h.264 (AVC) to play in ps3 without re-encode ac3 to aac. I found a solution.
Step by step.

1.mvkextact audio and video.
2.change the level of h.264 to 4.1 if needed with h264info
3. mux audio and video together with the latest ffmpeg.
ffmpeg -r 23.976 -f h264 -i input.h264 -f ac3 -i input.ac3 -vcodec copy -acodec copy -f vob output.vob

Put this in to the folder for streaming (I use Tversity), it is shown as mpeg-2 in xmb.
Play it and it works great. Press info and you see that it is dolby digital and avc :)

Fast forward do not seems to work but the files can now be bigger than 4GB.

Maybe there can be a profile in redkawa for this :)

just rename the output.vob to output.m2ts, then burn it to dvd with nero7(dvd rom-->physical partition--->udf 2.6)

then u will get a playable *data dvd*(the "xmb media player" is playing the file so u will only have stereo sound!)

is there any way to burn the m2ts that the ps3 will recognise it as avchd dvd(to get ac3 5.1 sound)?

Has123
12th July 2007, 02:59
thx madshi!



just rename the output.vob to output.m2ts, then burn it to dvd with nero7(dvd rom-->physical partition--->udf 2.6)

then u will get a playable *data dvd*(the "xmb media player" is playing the file so u will only have stereo sound!)

is there any way to burn the m2ts that the ps3 will recognise it as avchd dvd(to get ac3 5.1 sound)?

Me too. I asked this question and tried different disks (r+,rw, DVD9) with UDF 2.6 with and without bitsetting and always get a data DVD. I am trying to not use NeroVision as this will do a full encode.

dorati
12th July 2007, 05:07
Me too. I asked this question and tried different disks (r+,rw, DVD9) with UDF 2.6 with and without bitsetting and always get a data DVD. I am trying to not use NeroVision as this will do a full encode.

Read my post from 30th June 2007.

jcar
12th July 2007, 11:08
mm I've done the following:

MKV file-> mkvextract -> video.h264 + audio.h264
video.h264 -> h264info -> video.h264
video.h264 + audio.h264 -> ffmpeg -> output.vob

The video didn't play in the PS3.

Anyway, I'm gonna do these too:
output.vob -> rename -> output.m2ts
output.vob -> TsRemux -> output.m2ts (*)
output.vob -> TsRemux -> BluRay (m2ts)

(*) I've done this already and haali media splitter demuxes the file correctly in windows media player, but for some reason WMP doesn't know the video is around 40 minutes long? The same with VLC. Is it normal that the info on the video length is gone?

enjoyer
12th July 2007, 11:18
mm I've done the following:

MKV file-> mkvextract -> video.h264 + audio.h264
video.h264 -> h264info -> video.h264
video.h264 + audio.h264 -> ffmpeg -> output.vob

The video didn't play in the PS3.

Anyway, I'm gonna do these too:
output.vob -> rename -> output.m2ts
output.vob -> TsRemux -> output.m2ts (*)
output.vob -> TsRemux -> BluRay (m2ts)

(*) I've done this already and haali media splitter demuxes the file correctly in windows media player, but for some reason WMP doesn't know the video is around 40 minutes long? The same with VLC. Is it normal that the info on the video length is gone?

did u get a playable file with one of these methods?
if not I only tested it with 720p (1280x544) x264 ac3 5.1 mkv files!
and furthermore i have replies that 720p mkv files are working with this method!!

a profile (m2ts file to m2ts avchd structure) in tsremux would be nice :D

Read my post from 30th June 2007.

nero vision 4 v. 4.9.7.2 says *unable to insert*!!! :(

jcar
12th July 2007, 16:22
Wooo!! It worked!

I just can't determine which method work, lol

I think it was the
Vob -> TsRemux -> M2TS

I put 3 files (the vob and the m2ts) with 3 different extensions and the same name :(
And one of them works and plays perfectly (without ANY re-encoding at all).

Update: It wasn't the M2TS file I got from TsRemux.
It was the .VOB file. I put it twice in the disc, with .MPG extension and .TS extension. One of the extensions (I suspect the TS) is not even shown. So the VOB file played as .MPG !

enjoyer
12th July 2007, 16:57
rofl i cant insert one of these vob or m2ts files in tsremux??!!

tsremux said *not enough system resources*!!!

jcar
12th July 2007, 17:32
rofl i cant insert one of these vob or m2ts files in tsremux??!!

tsremux said *not enough system resources*!!!


try renaming to .mpg

ps3hacker
12th July 2007, 18:52
I seem to be having a problem with subtitles.When ever I remux to blu ray, Powerdvd never sees the subtitles.Must I play with another player? The presentation graphics streams are the subtitles right? Sorry I asked this question a few days back but it never got answered.

shlap
12th July 2007, 19:36
Wooo!! It worked!


Was the h264 video 1080p, 1080i, or 720p?

I've used the same method as you and muxed the h264 & AC3 (from an MKV) using ffmpeg but only the audio plays in the PS3, I can't see any video.

enjoyer
12th July 2007, 20:14
Was the h264 video 1080p, 1080i, or 720p?

I've used the same method as you and muxed the h264 & AC3 (from an MKV) using ffmpeg but only the audio plays in the PS3, I can't see any video.


you used a 1080p file as source or? because 720p should work!

shlap
12th July 2007, 22:51
you used a 1080p file as source or? because 720p should work!

Yep, I'm trying to use a 1080p source. 720p works fine but for some reason no one has been able to get a 1080p MKV->MP4(or VOB) to play on the PS3.

jcar
12th July 2007, 23:24
Nobody knows why 1080p never works :( Perhaps the 1080p, being so big, is actually level 5.1 and therefore unsupported. Try setting the level to 4.2 instead of 4.1

maya
12th July 2007, 23:53
I don't know if I am in the right forum for this, but I know some of you will be able to answer this for me: I have some blu ray rips that are DTS HD Master Audio and my Tvix 4100 media streamer can't recognize it, and the only other audio options aren't in english. What do I do to convert that DTS HD Master Audio to Dolby Digital? I am not an expert, but I am guessing I have to use some kind of demuxer to get the audio out, then convert the audio, and then remux everything. I don't know what to use. Any help would be great. Thanks.

dade49
13th July 2007, 00:36
I don't know if I am in the right forum for this, but I know some of you will be able to answer this for me: I have some blu ray rips that are DTS HD Master Audio and my Tvix 4100 media streamer can't recognize it, and the only other audio options aren't in english. What do I do to convert that DTS HD Master Audio to Dolby Digital? I am not an expert, but I am guessing I have to use some kind of demuxer to get the audio out, then convert the audio, and then remux everything. I don't know what to use. Any help would be great. Thanks.

Let me guess..... It's the Flyboys BD?

This is referenced in some earlier posts in this thread, but here's a quick synopsis.

1) Demux the DTS-HD Master track with TSremux. Open the m2ts file, right click on the DTS-HD track and extract elementary stream. Name it dts-hd.dts

2) Run DTScore.exe dts-hd.dts core.dts - This extracts the basic (normal) DTS stream from the HD DTS stream.

3) Run Tranzcode_0.4beta and extract 6 wav's from the core.dts file.

4) Use BeSweet (newest beta) to merge the 6 wav's into an AC3 or flac file. You choose your output.

I was able to create a 640k AC3 stream from the DTS-HD Master stream. All of these utilities can by found by searching the Doom9 forums. Good luck to you.

maya
13th July 2007, 04:17
Let me guess..... It's the Flyboys BD?

This is referenced in some earlier posts in this thread, but here's a quick synopsis.

1) Demux the DTS-HD Master track with TSremux. Open the m2ts file, right click on the DTS-HD track and extract elementary stream. Name it dts-hd.dts

2) Run DTScore.exe dts-hd.dts core.dts - This extracts the basic (normal) DTS stream from the HD DTS stream.

3) Run Tranzcode_0.4beta and extract 6 wav's from the core.dts file.

4) Use BeSweet (newest beta) to merge the 6 wav's into an AC3 or flac file. You choose your output.

I was able to create a 640k AC3 stream from the DTS-HD Master stream. All of these utilities can by found by searching the Doom9 forums. Good luck to you.

Dade49,
Thanks. I will give it a shot, though this might all be over my head. By the way, it isn't just flyboys, it's every Fox title I think-I have about 6 and all of them have this problem.

enjoyer
13th July 2007, 12:27
what does the option *use async I/O* in tsremux mean?

maya
13th July 2007, 14:42
Let me guess..... It's the Flyboys BD?

This is referenced in some earlier posts in this thread, but here's a quick synopsis.

1) Demux the DTS-HD Master track with TSremux. Open the m2ts file, right click on the DTS-HD track and extract elementary stream. Name it dts-hd.dts

2) Run DTScore.exe dts-hd.dts core.dts - This extracts the basic (normal) DTS stream from the HD DTS stream.

3) Run Tranzcode_0.4beta and extract 6 wav's from the core.dts file.

4) Use BeSweet (newest beta) to merge the 6 wav's into an AC3 or flac file. You choose your output.

I was able to create a 640k AC3 stream from the DTS-HD Master stream. All of these utilities can by found by searching the Doom9 forums. Good luck to you.

Ok, I pulled out the DTS-HD Master stream with tsremux, and now I get an error with DTScore.exe when I use it:
Autoit Error
Error: Unable to execute the external program
The system cannot find the file specified

Also, assuming you can help me out with that error, a couple more questions
1) How exactly do I use Tranzcode and BeSweet? It appears that I need to open up a command prompt window, and I am not too familiar with those. What should I type in for each of those programs?

Alkasar
13th July 2007, 18:38
if you dont like command line, you could use this litt tool to convert DTS to AC3 (it uses tranzcode+aften. Aften is better than besweet/ffmpeg ac3enc engine)

http://alkasar.online.fr/Softs/dts2ac3 v0.3.rar

edit : oops... i realize the readme and tool is in french.
Just extract and copy everything somewhere on your pc and double click the .hta file.
Usage should be selfexplanatory.

maya
13th July 2007, 22:04
if you dont like command line, you could use this litt tool to convert DTS to AC3 (it uses tranzcode+aften. Aften is better than besweet/ffmpeg ac3enc engine)

http://alkasar.online.fr/Softs/dts2ac3 v0.3.rar

edit : oops... i realize the readme and tool is in french.
Just extract and copy everything somewhere on your pc and double click the .hta file.
Usage should be selfexplanatory.

I tried this and th same error comes up:
"The system can't find the file specified"

Anyone have any ideas?

kvoss
14th July 2007, 13:35
I found this (http://www.schudy.de/dts/dts2ac3.htm), but in german.

kvoss

Selur
14th July 2007, 13:57
@kvoss: there's also englisch version of the side: http://www.schudy.de/dts/dts2ac3-e.htm

dmz01
14th July 2007, 16:48
what does the option *use async I/O* in tsremux mean?

Reads and writes from/to disk are asynchronous. This requires additional buffering and on some systems gives you errors. By unchecking the box you force the reads/writes to be synchronous to make it more compatible with various systems at a slight performance expense.

oldpainless
14th July 2007, 16:51
Reads and writes from/to disk are asynchronous. This requires additional buffering and on some systems gives you errors. By unchecking the box you force the reads/writes to be synchronous to make it more compatible with various systems at a slight performance expense.

Hi dmz01, was that MKV sample I sent you the link for any use? (and yes, that was an indirect question about you know what....lol)

Kevin

dmz01
15th July 2007, 04:49
Hi dmz01, was that MKV sample I sent you the link for any use? (and yes, that was an indirect question about you know what....lol)

Kevin

Yes thank you, and yes, please wait a little longer. ;)

ACrowley
15th July 2007, 09:34
Ive Problem with TSRemux

Whne i load a .evo or m2ts i get a Error "Not enough System Ressources to run the Service"

?

colinhunt
15th July 2007, 11:56
Ive Problem with TSRemux

Whne i load a .evo or m2ts i get a Error "Not enough System Ressources to run the Service"
The answer is in this very thread - several times.

dorati
16th July 2007, 07:44
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?

There are any news?
Now I have a Panasonic BDP-10 Player. -))
But I have trouble with the Remuxed Streams - the won't play.
For example:
- When I remux to Blu-Ray and burn, the Panasonic recognized the Disk, will play, but later 1 Sec stops playing.

Then I found out this:
-I have one other BDMV-Directory on Harddisk. When I burn this,
the Panasonic says BD-Video and plays fine.
When I remux the m2ts-Stream of this Direcotry (h.264 + AC3) I get one new m2ts-Stream withe the same Audio and Video. Then I only replace the m2ts-Stream in the BDMV-Directory and burn again.
The Panasonic don't play. (He will beginn, but later one Second he Stops). I think, now he don't like something in the new m2ts-Stream.

dd03pehe
17th July 2007, 14:42
Has123 and enjoyer,
This method that dorati wrote (the post from 30th of june) works for me, my PS3 recognizes it as AVCHD and its playing with AC3 sound.

--->
Start Nerovision and create a AVCHD Projekt.
Add some valid Videoclips (30 Sek. or so) and burn the Projekt on a DVD-RW. It is importand to burn and not to cancel. If cancel, all Tempdata are erased. Later Burn DON'T close the aplikation

Now, in Dokumente und Einstellungen\User\Lokale Einstellungen\Temp\NeroHDDVDxxxxxx (on German XP) you found a BDMV-Folder.
Nero generated a 00000.m2ts.
I change this with the 00001.m2ts from TSRemux (renamed).
Then I change in CLIPINF the 00000.clpi with the one of TSRemux (renamed). And at last in PLAYLIST the 00000.mpls. But in this 00000.mpls I changed with a HexEditor the 00001.m2ts in 00000.m2ts (For Play the right file).

Now you say in NeroVision Burn again and Nero is burning the updated Data.

All is playing fine on my PS3. Subtitle, AC3-Output.

enjoyer
17th July 2007, 22:06
when I try to insert a *.m2ts in nero vision (make dvd..-->AVCHD-->Add Video Files..) I always get an error report.

I have v.4.9.7.2....maybe it is the wrong version?

dd03pehe
17th July 2007, 22:31
when I try to insert a *.m2ts in nero vision (make dvd..-->AVCHD-->Add Video Files..) I always get an error report.

I have v.4.9.7.2....maybe it is the wrong version?


Try to pick one of the h264 samples from http://x264.nl/h.264.samples they work fine for me.
When you have burned your project, do the steps mentioned above, and choose burn again. :)

AFSS
18th July 2007, 13:35
Hi dmz01, sorry for being so anxious..., but are you making good progress on the MKV support ? If you want candidates to test beta releases, please you can count me in !!

Has123
18th July 2007, 13:38
Has123 and enjoyer,
This method that dorati wrote (the post from 30th of june) works for me, my PS3 recognizes it as AVCHD and its playing with AC3 sound.

--->
Start Nerovision and create a AVCHD Projekt.
Add some valid Videoclips (30 Sek. or so) and burn the Projekt on a DVD-RW. It is importand to burn and not to cancel. If cancel, all Tempdata are erased. Later Burn DON'T close the aplikation

Now, in Dokumente und Einstellungen\User\Lokale Einstellungen\Temp\NeroHDDVDxxxxxx (on German XP) you found a BDMV-Folder.
Nero generated a 00000.m2ts.
I change this with the 00001.m2ts from TSRemux (renamed).
Then I change in CLIPINF the 00000.clpi with the one of TSRemux (renamed). And at last in PLAYLIST the 00000.mpls. But in this 00000.mpls I changed with a HexEditor the 00001.m2ts in 00000.m2ts (For Play the right file).

Now you say in NeroVision Burn again and Nero is burning the updated Data.

All is playing fine on my PS3. Subtitle, AC3-Output.

Thanks for the reply. I did try this but for some reason it did not work. PS3 recognize it as AVCHD but a short empty clip plays. I did all the steps including replacing the CLIPINF file and hexediting mpls file. I'll really appreciate it if you can explain the steps again to see exactly what I am doing wrong. By the way, what firmware do you have?
Thanks,

dd03pehe
18th July 2007, 15:17
Thanks for the reply. I did try this but for some reason it did not work. PS3 recognize it as AVCHD but a short empty clip plays. I did all the steps including replacing the CLIPINF file and hexediting mpls file. I'll really appreciate it if you can explain the steps again to see exactly what I am doing wrong. By the way, what firmware do you have?
Thanks,

I'm on firmware 1.82. Try to change the level on the .h264 file to 4.1 in h264info.
Btw. Are you trying this on demuxed .mkv's that you muxed using ffmpeg or xmuxer? Because I don't think anyone has got that to work yet. The file i used was a .m2ts from a bluray disc that I ran in tsremux with bluray setting.

Can't wait for mkv support in tsremux.. ;)

Has123
18th July 2007, 15:58
Thanks. My source is 1080i mpeg ac3 ts file from a moded dish receiver and muxed with TSRemux Bluray.

InorganicMatter
19th July 2007, 21:43
Excuse me for an extremely stupid question, but how do you demux something with this program? I see the options to rebuild an M2TS, TS, or BD Rip, but I don't see the option to just dump each stream to separate files.

I know, go ahead and make fun of me. :p

eas4uk
20th July 2007, 00:03
Right click on the stream - that will give you the options you need

InorganicMatter
20th July 2007, 01:59
Right click on the stream - that will give you the options you need

I knew it was something stupidly simple like that. :rolleyes: :thanks:

oldpainless
21st July 2007, 09:46
DMZ01...how's the MKV thing comming on?

K

mark_in_2k
21st July 2007, 16:30
DMZ01...how's the MKV thing comming on?

K+1
Don't want to rush you or anything though. I'm sure we all appreciate the effort you're putting in. I certainly do. :thanks:

oldpainless
22nd July 2007, 12:44
:):):):):thanks:

hollydoc
22nd July 2007, 18:42
Originally Posted by dorati
@dmz01: When I use your TsRemux and select for output;Blu-Ray - you generated a file 00001.m2ts. You can change this to 00000.m2ts?? Why? I found this great solution, but I must rename some files and use a Hexeditor:

I don't have a Blu-Ray Burner.
I write the generated BDMV-Folder to DVD in all different formats, but my PS3 never wan't to play this DVD (Mini-BluRay).

But you can create HighDefinition DVD's using the AVCHD-Format.
The only Programm I found witch can write this format was NeroVision 4.
But always - you create a Projekt, the Video is Transcoding and it is not Possible for 23,975fps (only 25fps and 29,97).

But how to burn without transcoding?

I found a way, that is a little tricky - but it works --))

Start Nerovision and create a AVCHD Projekt.
Add some valid Videoclips (30 Sek. or so) and burn the Projekt on a DVD-RW. It is importand to burn and not to cancel. If cancel, all Tempdata are erased. Later Burn DON'T close the aplikation

Now, in Dokumente und Einstellungen\User\Lokale Einstellungen\Temp\NeroHDDVDxxxxxx (on German XP) you found a BDMV-Folder.
Nero generated a 00000.m2ts.
I change this with the 00001.m2ts from TSRemux (renamed).
Then I change in CLIPINF the 00000.clpi with the one of TSRemux (renamed). And at last in PLAYLIST the 00000.mpls. But in this 00000.mpls I changed with a HexEditor the 00001.m2ts in 00000.m2ts (For Play the right file).

Now you say in NeroVision Burn again and Nero is burning the updated Data.

All is playing fine on my PS3. Subtitle, AC3-Output.



The methode works fine. Also with VC-1 and MPEG2 video codec. I have create any AVCHD´s


My Metode:

m2tsfron Blu-ray -> VC-1 + ac3 -> TSmux -> to m2ts
m2ts -> HDBDSplitGUI -> part1-3.m2ts
part1.m2ts -> TSRemux -> Bluray

And then your method with Nero ans AVCHD. All 3 Discs are playin on PS3 VC1 Video and AC3 Sound, without any Problems

I have also tested MPEG2 + DTS, PS3 with Firmware 1.81 , mo Problem.

:thanks:dorati

Hollydoc

enjoyer
22nd July 2007, 22:03
is there any tool which can remux mkv to ts????

...I found a tool *mkv2ts*(http://alkasar.online.fr/mkv2ts.html) which can remux mkv to ts....but after remux the ts to blu ray with tsremux, the file grew and blew up the dvd5 limit :(

but i will test a sample tomorrow


ok...I tested a sample but i didnt work! I guess the problem is that tsremux doesnt create a clipinf when the source is a 720p ts file :(

Alkasar
23rd July 2007, 20:08
is there any tool which can remux mkv to ts????

...I found a tool *mkv2ts*(http://alkasar.online.fr/mkv2ts.html) which can remux mkv to ts....but after remux the ts to blu ray with tsremux, the file grew and blew up the dvd5 limit :(

but i will test a sample tomorrow


ok...I tested a sample but i didnt work! I guess the problem is that tsremux doesnt create a clipinf when the source is a 720p ts file :(
hello enjoyer, glad that you found the tool ;)
the aim of mkv2ts is to convert without transcoding MKV(h264+ac3) to TS to make them playable on devices using SMP8634 chip such as the freebox -a set top box popular in France- or the Tvix players.
The tool has evolved quite a lot over time and we're still trying various methods (actually Directshow graphs) depending on the version of the tool. 186 pages on the forum thread ! mkv2ts uses the mainconcept directshow filter to mux the TS.

The the latest version 0.86 is quite stable.
Still looking to improve the method and tool to make it work on all movies for our purpose, wich is not universal.

I am looking forward to see TSRemux support for mkv...

moshmothma
24th July 2007, 15:04
I am having some strange issue converting an EVO to TS. The EVO is from King Kong.

1. Does TSREmux not handle the DD+ when converting? I see several posts hinting at that but am still not sure.
2. I am trying to use the trim editor. I choose a 5 minute clip however, the resulting file is nearly as large as the original. (it does start in the right place at least but does not do the end trim it looks like.)

I am using TSremux 0.16.

Thanks

survivant
25th July 2007, 17:59
Can I extract the h264 stream from a mkv or an mp4 and put it into TSRemux ?

Xfab29
25th July 2007, 23:23
Does someone know why tsremux refuse to make the whole bluray structure (clip.inf, playlist not created) with a m2ts file (mp4 avc + ac3)?


the m2ts resulting is playing fine in the PS3 except the ac3 sound (normal!)

thanks

enjoyer
26th July 2007, 21:47
with the *ffmpeg* method and tsremux we can remux our mkv files to .*m2ts.

A AVCHD structure output in tsremux would be very nice :D

gigo979
27th July 2007, 07:12
with the *ffmpeg* method and tsremux we can remux our mkv files to .*m2ts.

A AVCHD structure output in tsremux would be very nice :D

you can please describe the complete procedure?

Sorry for my English, I am Italian

Thanks

Bye

hollydoc
27th July 2007, 09:33
I have optmized the method from dorati to create a AVCHD:

1.Start Nerovision and create a AVCHD Projekt.
Add some valid Videoclips (30 Sek. or so) and burn the Projekt on a DVD-RW. It is importand to burn and not to cancel. If cancel, all Tempdata are erased. Later Burn DON'T close the aplikation

Now, in Dokumente und Einstellungen\User\Lokale Einstellungen\Temp\NeroHDDVDxxxxxx (on German XP) you found a BDMV-Folder.

2. Copy the comlete folder NeroHDDVDxxxxxx form the temporary directoy to another place on our Harddisc and rename to AVCHD_empty. You can Use This "empty" Folder also all future projects

3. open TSRemux, geneteta a BluRay

4. copy the folders Stream, Clipinf and Playlist fromTSRemux /BDMV-Folder to AVCHD_emty/BDMV-Folder( overwrite the Exising Folders)

5. Don`t rename 00001.m2ts and 00001.clpi and don`t change the 00000.mpls with a HexEditor , it is not nessesary.

6. Open Nero Burning Rom > DVD-ROM UDF 2,50

7. burn the comlete BDMV-Folder frpm AVCHD_emty on a DVD

8. The PS§(FW1.81) says AVCHD and the Disk plays fine with 24p videoplayback and AC3 or DTS 5.1 sound.

Hollydoc

gigo979
27th July 2007, 10:36
thanks hollydoc, this evening I try :thanks:

enjoyer
27th July 2007, 11:07
very nice hollydoc!!!! :D

the problem is I dont get a clipinf when I use 720p files :(

hollydoc
27th July 2007, 11:56
I think this is a problem of our 720 p stream, i have a HDTV cap from the last Genesis concert in Germany MPEG2 720/50p AC3 5.1 448kbps. I have splitted the TS stram in Three parts, the AVCHD`s are playing perfect on PS3, my Sony Pearl shows 720P 50Hz.

Hollydoc

jagaskywalker
27th July 2007, 12:13
6. Open Nero Burning Rom > DVD-ROM UDF 2,50


I always had to burn it using UDF 2.6. When using 2.5 the disk appeared as data disk in the PS3 (I have fw 1.5). Did not tried this method yet, but I would suggest to use 2.6

Being so simple, would it be possible to dmz01 to add this AVCHD disk structure as an output option ?

Thank you

survivant
27th July 2007, 12:38
I try to put h264 into a .ts but I'm not able to play it on the PS3.

the .ts will play only, if I put mpeg-2 into it.

Is it me ?

enjoyer
27th July 2007, 12:47
I always had to burn it using UDF 2.6. When using 2.5 the disk appeared as data disk in the PS3 (I have fw 1.5). Did not tried this method yet, but I would suggest to use 2.6

Being so simple, would it be possible to dmz01 to add this AVCHD disk structure as an output option ?

Thank you

I am on fw 1.90 and UDF 2.50 works fine !!

and yes AVCHD structure output in tsremux would be nice :)

Xfab29
27th July 2007, 15:07
hello

why do i get the error "audio stream of type 4 is not supported by bluray" when i want to remux a ts (avc + ac3) to bluray structure?

thank you

jagaskywalker
27th July 2007, 17:43
New PS3 firmware 1.9 adds further support for AVCHD within Memory stick and Harddisk (within an AVCHD camcorder). Maybe if the AVCHD disk structure is replicated within an external Harddisk we could get ac3 5.1 instead of downmixed 2.0 without the need of burning a DVD...

Just an idea...

Has123
27th July 2007, 18:03
You'll still be limited with the 4gb FAT32 limit.

enjoyer
27th July 2007, 19:09
http://forum.doom9.org/showthread.php?p=906946

maybe my english sucks too hard lol but is this a method to remux mkv to ts???

AFSS
27th July 2007, 20:14
I also saw that post but could not get the right version of VLC that is indicated... I am anxoiusly waiting for TSremux but it looks like dmzo1 has disappeared for a while....

gigo979
27th July 2007, 23:03
a question:
the file *.m2ts must be by force 1280x720p or goes well also
1280x528 or 1280x544 for being accepted like disc dvd avchd?

P.S.: sorry for my english

Thanks

Bye

Gigo979

hidef_rec
27th July 2007, 23:38
1.Start Nerovision and create a AVCHD Projekt.
How do you do this? I don't see the option to do so. Thanks.

zeropc
28th July 2007, 04:43
why do i never get any audio and video display in vlc after remxuing a video with tsremux (0.0.16)?

i have no problem playing the newe files with powerdvd but since vlc is my main player, this kinda bugs me.

Gorbachev
28th July 2007, 10:05
for MKV to m2ts to work in the PS3 the profile of the h264 stream must be flipped to level 4.1 before remuxing. (a simple hex-edit)

Somebody already figured out that you can play level 4.1 AVC and AC3 from a VOB container from the PS3 XMB without limitation (except audio gets flipped to stereo, but at least the original track is intact!).

I've tried and tested this and it works:
http://forum.videolan.org/viewtopic.php?f=4&t=38962#p121081

enjoyer
28th July 2007, 11:00
for MKV to m2ts to work in the PS3 the profile of the h264 stream must be flipped to level 4.1 before remuxing. (a simple hex-edit)

Somebody already figured out that you can play level 4.1 AVC and AC3 from a VOB container from the PS3 XMB without limitation (except audio gets flipped to stereo, but at least the original track is intact!).

I've tried and tested this and it works:
http://forum.videolan.org/viewtopic.php?f=4&t=38962#p121081

yes we know borbachev :) but stereo sucks

what we need is *VLC Nightly build 20061014*!!!!

Gorbachev
28th July 2007, 11:20
yes we know borbachev :) but stereo suckswhat we need is *VLC Nightly build 20061014*!!!!

Well, until sony decides to fix the issue of bitstream output through XMB, there's not much choice is there. The point is that the AC3 doesn't need to be converted to AAC.

This is as close to a lossless MKV -> playable on PS3 you can find. Until DMZ01 comes out with a killer app.

VLC doesn't run on the playstation (and the you can't use CoreAVC with it anyway... sucky sucky :)

enjoyer
28th July 2007, 12:13
Well, until sony decides to fix the issue of bitstream output through XMB, there's not much choice is there. The point is that the AC3 doesn't need to be converted to AAC.

This is as close to a lossless MKV -> playable on PS3 you can find. Until DMZ01 comes out with a killer app.

VLC doesn't run on the playstation (and the you can't use CoreAVC with it anyway... sucky sucky :)


I dont want to run vlc on my playsi :D

I want to do this http://forum.doom9.org/showthread.php?p=906946

because tsremux can remux ts files......

B4tm4n
28th July 2007, 15:56
I dont want to run vlc on my playsi :D

I want to do this http://forum.doom9.org/showthread.php?p=906946

because tsremux can remux ts files......

I used the latest stable release of VLC for OS X and it gave me a .ts files from a .mkv. Haven't had time to throw it through TsRemux and see if it plays on the PS3 yet.

Gorbachev
29th July 2007, 07:57
I want to do this http://forum.doom9.org/showthread.php?p=906946

The problem is that may not be enough, since you may need to flip the h264 track into level 4.1 for it to play on the PS3, as stated earlier. Also TS Remux gives an index out of bounds error on those .ts files that result from VLC and they're not playable either...

RedDwarf1
29th July 2007, 08:55
It will not open my UK DVB-T TS files.
The specified file is not a valid ts/m2ts/evob/mkv file.

It's a pity, I could of done with something that would extract the sup files from the transport streams.

enjoyer
29th July 2007, 11:24
The problem is that may not be enough, since you may need to flip the h264 track into level 4.1 for it to play on the PS3, as stated earlier. Also TS Remux gives an index out of bounds error on those .ts files that result from VLC and they're not playable either...

yes but thats not the problem (mkvextract--->h264info---->mkvmerge) and we have changed the level!

B4tm4n
29th July 2007, 11:47
Also TS Remux gives an index out of bounds error on those .ts files that result from VLC and they're not playable either...

I managed to get TsRemux to load a .ts file from VLC by using a pre 20061014 build (click on parent folder then click on win32 an then look in the backup folder).
But the resulting file wouldn't play on my PS3, but I don't think I did the 4.1 flag setting with h264info on the file first, so that the next thing to try.

enjoyer
29th July 2007, 13:19
I managed to get TsRemux to load a .ts file from VLC by using a pre 20061014 build (click on parent folder then click on win32 an then look in the backup folder).
But the resulting file wouldn't play on my PS3, but I don't think I did the 4.1 flag setting with h264info on the file first, so that the next thing to try.


I cant find a *pre 20061014 build*!!!?? can u give us the direct link pls...

B4tm4n
29th July 2007, 15:26
I cant find a *pre 20061014 build*!!!?? can u give us the direct link pls...

This (http://nightlies.videolan.org/build/win32/backup/) is the page with all the older builds, the closest to pre 20061014 build is this build (http://nightlies.videolan.org/build/win32/backup/branch-20061009-1643/).
I can't vouch for these builds, because I'm using VLC on my mac from here (http://nightlies.videolan.org/build/macosx/?C=M;O=D)

kidling
29th July 2007, 17:59
http://rs6l33.rapidshare.com/files/7684249/vlc-0.9.0-svn-20061014-0000-win32.zip.html

but i can´t get it to work without problems, the video still corrupted

enjoyer
29th July 2007, 21:02
http://rs6l33.rapidshare.com/files/7684249/vlc-0.9.0-svn-20061014-0000-win32.zip.html

but i can´t get it to work without problems, the video still corrupted

thx kidling

@b4tm4n your link is the official release!

Alkasar
29th July 2007, 22:07
VLC (even the latest nightly builds) will not mux properly to TS h264 video streams. They are still working on it at videolan. Apparently some difficulties to get it to work.
Were you able to play the TS result from VLC with any player a pc ?

enjoyer
30th July 2007, 14:50
http://forum.doom9.org/showthread.php?p=906946

anyone tried *mainconcept muxer* and *Elecard Xmuxer*?

what2097
31st July 2007, 00:05
Hey

The closest method I currently have to creating AVCHD Disc's from MKV's, which are compatible with the PS3, is as follows:
1. Extract the H264 and AC3 streams from the MKV using MKVextractGUI.
2. Run the H264 stream through H264info to get a new stream with profile 4.1 (else the PS3 displays corrupt data).
3. Create a vob from the video and audio streams with FFMPEG using the following command:
ffmpeg -r 23.976 -f h264 -i videostream.h264 -f ac3 -i audiostream.ac3 -vcodec copy -acodec copy -f vob outputfile.vob
4. Remux the vob file in TSRemux with Blu-Ray output.
5. Copy the STREAM, PLAYLIST, and CLIPINF folders from the TSRemux output into this template: http://www.rick1ne.com/AVCHD-Disc.zip
6. Burn the BDMV folder to a UDF 2.50 DVD.

Note that this method does NOT work.
The reason is because when I run the vob file through TSRemux, at the end of the remux, it reports 'Attempted To Divide By Zero'. The m2ts file from the STREAM folder can be put on a data disc/memory stick/hdd and will play, but the PS3 cannot read how long the video clip is in seconds/minutes/hours. It will just play the video until it reaches the end.
But when one of these clips is burned in an AVCHD disc, the PS3 will recognise that there is an AVCHD disc present, but after I press play, it attempts to load the video and then goes straight back to the XMB.

If I burn a UDF 2.50 DVD with the above template using an m2ts file which the PS3 CAN read the length of, then it successfully plays.

Note that the vob file can successfully be played on the PS3 in the XMB (as long as it has a recognised extension such as .m2ts). I tried to put this file in the AVCHD template acting as an m2ts file, but that wouldn't work (as it is not a true m2ts file).

I noticed that hollydoc's method involved using a program called TSMux to merge the video and audio streams; can anybody advise me where I can get this? I have a feeling that I may have better luck if I used this program!

Thanks

enjoyer
31st July 2007, 12:00
I don't use the xmuxer, so it must be available somewhere in an options or properties field.

Actually the Mainconcept Muxer is a directshow filter and it is included within the Elecard Xmuxer package. If you have a close look into what Alkasar is linking to even without understanding french you might find what you are looking for.

Anyway I have found out that the Haali splitter eventhough its output pins connect to the input pins of the Mainconcept Muxer do not produce a ts-file. If a raw demuxed H264-video-file is open with the "File(asynch.)"-filter, then is connected to the Mainconcept (or Elecard) MPEG demultiplexer you will obtain a "AVC"-output-pin. This AVC-output-pin feeds a valid input to the Mainconcept Muxer. An AC3-file can be fed using the "ac3file.ax" filter. With the "Dump"-filter the desired ts-file then can be produced.

On the Mainconcept Muxer you have to right-click, then on filter-properties, then on "Main" and then on the "PES"-field of your already fed AC3-stream. Then in the right window you will find "Stream PES ID, sub_id" after double-clicking on to it you can change its value e.g. to "0xBD".
After having changed the "Stream PES ID, sub_id" to 189 (which is Hex BD), you have to connect the output to a "Dump"-filter which is contained within ths graphedit-package. When inserting the "Dump-filter" you have to set tha output file name e.g. Video.ts. Finally you click on the play button of graphedit and your H264- and AC3-files will be muxed into a ts-file.

maybe a properly method to remux mkv to ts...

hidef_rec
31st July 2007, 18:17
I'm able to create AVCHD w/5.1 audio on regular DVD-Rs using dorati/Hollydoc's NeroVision trick method. It auto-plays when I insert the disc in the PS3 w/proper DD5.1 audio.

Is there a way to create 1080i MPEG2 (w/o re-recoding to AVC) DVD-Rs that the PS3 will play with 5.1 audio. I only get downmixed 2.1 audio.

Thanks in advance to anyone who can help.

jagaskywalker
31st July 2007, 18:28
I'm able to create AVCHD w/5.1 audio on regular DVD-Rs using dorati/Hollydoc's NeroVision trick method. It auto-plays when I insert the disc in the PS3 w/proper DD5.1 audio.

Is there a way to create 1080i MPEG2 (w/o re-recoding to AVC) DVD-Rs that the PS3 will play with 5.1 audio. I only get downmixed 2.1 audio.

Thanks in advance to anyone who can help.
You can use tsremux to create a m2ts file (bluray structure actually) from the mpeg2-ts. Then you should create an AVCHD disk. I've done it several times without any problem

There is no other way if you want to keep 5.1 audio.

J

hidef_rec
1st August 2007, 00:04
Did various tests, but will NOT work for me :(. I have firmware v1.9 on my PS3.

Used DVD+RW. DVD-ROM w/UDF 2.50. Also tried 2.60.

Took a MPEG2 1080i clip w/DD5.1 audio & generated a Blu-ray structure via TSRemux. Burned to DVD+RW, but PS3 sees this as a data disc, so no go. Removing the 'CERTIFICATE' folder made no difference. Renaming files from 00001.xxx to 00000.xxx made no difference either.

Tried dorati/Hollydoc's NeroVision trick method, then using the TSRemux generated 'playlist', 'stream' & 'clipinf' folders to replace the NeroVision folders. The PS3 recognizes this disc as AVCHD & autoplays it, but the mpeg2 clip in it plays w/o any audio.

Any ideas? All I want to do is create DVD-Rs with hi-def mpeg2 1080i clips that the PS3 will play w/proper 5.1 audio, not downmixed 2.1. Not possible?

Has123
1st August 2007, 01:01
Did various tests, but will NOT work for me :(. I have firmware v1.9 on my PS3.

Used DVD+RW. DVD-ROM w/UDF 2.50. Also tried 2.60.

Took a MPEG2 1080i clip w/DD5.1 audio & generated a Blu-ray structure via TSRemux. Burned to DVD+RW, but PS3 sees this as a data disc, so no go. Removing the 'CERTIFICATE' folder made no difference. Renaming files from 00001.xxx to 00000.xxx made no difference either.

Tried dorati/Hollydoc's NeroVision trick method, then using the TSRemux generated 'playlist', 'stream' & 'clipinf' folders to replace the NeroVision folders. The PS3 recognizes this disc as AVCHD & autoplays it, but the mpeg2 clip in it plays w/o any audio.

Any ideas? All I want to do is create DVD-Rs with hi-def mpeg2 1080i clips that the PS3 will play w/proper 5.1 audio, not downmixed 2.1. Not possible?

Ok. Follow these steps
1) Generate an AVCHD structure with NeroVision as outlined by Dorati (you can use the same structure again)
2) Run the ts file trough TSRemux and generate a Bluray structure
3) Replace the playlist, stream, clipinf folders in the NeroVision generated structure with the ones generated by TSRemux. I also replace the ones in the backup folder.
4) Burn the new BDMV folder with UDF 2.5
I backed up multiple movies (mpeg ts) using this method on DVD-DL and it worked beautifully.

Now I hope if somebody knows how to work h264 ts files. Using the above method I get sound without video. These files are level 4.0 main profile, so theoretically they should work but I think the problem is either in the resolution (1088i) or the interlacing.

B4tm4n
1st August 2007, 07:26
Now I hope if somebody knows how to work h264 ts files. Using the above method I get sound without video. These files are level 4.0 main profile, so theoretically they should work but I think the problem is either in the resolution (1088i) or the interlacing.

I've tried with a H264 file from a bluray disc, so it should play, its level 4.1. (I've also tried this with BBC HD cap scene release, don't know the level)

I put the file through Elecard Xmuxer Pro and create a ts file with only the H264 video track. Then I remux using Elecard Xmuxer with an AC3 track in to a ts container. This file will play, once renamed to mpg, smoothly from the XBM.
Next I use TsRemux to remux it in to a m2ts. Now this file will play but choppy.

Now once I've got my m2ts file I try playing it through the XBM and the result is choppy, its like the previous frame gets repeated. Now if I rename the ts file, prior to putting it through TsRemux, to mpg and play it through the XBM its perfect smooth playback. Something goes wrong processing it through TsRemux.

I have tried with the bluray structure and got choppy playback aswell, now I'm not burning anymore discs untill I've got it playing smoothly. My PS3 is FW1.9.

zeropc
1st August 2007, 11:09
why do i never get any audio and video display in vlc after remxuing a video with tsremux (0.0.16)?

i have no problem playing the newe files with powerdvd but since vlc is my main player, this kinda bugs me.

i guess no one can answer this?!

well, here is another thing i found and i don't know how to correct it...

when i create a new .m2ts or a .ts then the timcode is messed up. the new timecode is now twice as long as it should. any idea how to fix it?

btw, here is a feature request ...

is it possible to include in the next release or so a real demux function? right now you only can demux on stream at the time and since this can take quite a long time even for a audio track, this would speed things up i guess. just select the streams you wanna demux and instead of hitting remux you click demux.

another thing, is it possible to include datarate display of the audiostreams?

enjoyer
2nd August 2007, 00:22
Ok...a method to remux mkv to ts without defects!!

1. extract your h264.mkv with MKVextractGUI and produce a *.h264 and *.ac3 file

2. insert the files in elcard xmuxer 2.2.70328 and create a h264.ts file!!

this files plays flawlessly in powerdvd.....

so the file can't be corrupt!!! but my tsremux doesn't create a clipinf :(

B4tm4n
2nd August 2007, 12:56
Ok...a method to remux mkv to ts without defects!!

1. extract your h264.mkv with MKVextractGUI and produce a *.h264 and *.ac3 file

2. insert the files in elcard xmuxer 2.2.70328 and create a h264.ts file!!

this files plays flawlessly in powerdvd.....

so the file can't be corrupt!!! but my tsremux doesn't create a clipinf :(

What information is stored in the clipinf file and can it be reproduced with the right info for the file in use ?

smekoslav
2nd August 2007, 16:07
When I demux LPCM in TSRemux and then convert to wav, why is the sound scrambled, static (you hear the soundtrack, but there's a loud static over it)? With xport the sound is ok, but xport has a tendency to crash with some blurays, so I prefer tsremux.

drmpeg
3rd August 2007, 06:04
When I demux LPCM in TSRemux and then convert to wav, why is the sound scrambled, static (you hear the soundtrack, but there's a loud static over it)? With xport the sound is ok, but xport has a tendency to crash with some blurays, so I prefer tsremux.
Would you be willing to help me fix xport? Do you have a Blu-ray .m2ts that you think crashes xport in the first 2 GB of the file? If you think you might, then I have a way for you to identify where in the file the crash occurs and then clip out a section of the file for you to upload so that I can debug it.

Unfortunately, I don't know how to write a clip program with MVC that goes beyond 2 GB. What works on Solaris doesn't work with MVC.

Maybe one of you MVC experts out there can help me out. Here's my Solaris code:

#include <stdio.h>
#include <stdlib.h>

#define TRUE 1
#define FALSE 0

int main(int argc, char **argv)
{
FILE *fp;
FILE *fpout;
static unsigned char buffer[16384];
int length;
unsigned int file_length = 0;
unsigned long long clip_start;
unsigned int clip_length;

if (argc != 5) {
fprintf(stderr, "usage: clip <infile> <outfile> <start offset> <length>\n");
exit(-1);
}

/*--- open binary file (for parsing) ---*/
fp = fopen64(argv[1], "rb");
if (fp == 0) {
fprintf(stderr, "Cannot open input file <%s>\n", argv[1]);
exit(-1);
}

/*--- open binary file (for parsing) ---*/
fpout = fopen64(argv[2], "wb");
if (fpout == 0) {
fprintf(stderr, "Cannot open output file <%s>\n", argv[2]);
exit(-1);
}

clip_start = atoll(argv[3]);
clip_length = atoi(argv[4]);

fseeko64(fp, clip_start, 0);
while(!feof(fp)) {
length = fread(&buffer[0], 1, 16384, fp);
file_length += length;
if (file_length <= clip_length) {
fwrite(&buffer[0], 1, length, fpout);
}
else {
fwrite(&buffer[0], 1, (length - (file_length - clip_length)), fpout);
break;
}
}
fclose(fp);
fclose(fpout);
return 0;
}

The problem is, atoll() and fseeko64() don't exist on MVC. Any ideas?

Ron

wizziwig
3rd August 2007, 08:16
The problem is, atoll() and fseeko64() don't exist on MVC. Any ideas?

Ron

If you mean Visual C++, it's not a simple change. You need to use _atoi64() and _lseeki64(). But those functions are not plug-in replacements. You would also need to drop all the fopen(), fread() etc. functions and use open(), read(), write() instead. The normal C runtime buffered file I/O does not support 64-bit file access in Windows.

drmpeg
3rd August 2007, 09:13
If you mean Visual C++, it's not a simple change. You need to use _atoi64() and _lseeki64(). But those functions are not plug-in replacements. You would also need to drop all the fopen(), fread() etc. functions and use open(), read(), write() instead. The normal C runtime buffered file I/O does not support 64-bit file access in Windows.
Thanx, that solved my problem. Doing a Google on "atoi64" led me to the MS Visual C++ library website. As it turns out, there is an _fseeki64() function that works with fopen(), fread(), fwrite() and fclose().

I believe fopen() ends up being fopen64() in Visual C++, so 64-bit file access is actually the default. This code works fine:

#include <stdio.h>
#include <stdlib.h>

#define TRUE 1
#define FALSE 0

int main(int argc, char **argv)
{
FILE *fp;
FILE *fpout;
static unsigned char buffer[16384];
int length, result;
unsigned int file_length = 0;
unsigned long long clip_start;
unsigned int clip_length;

if (argc != 5) {
fprintf(stderr, "usage: clip <infile> <outfile> <start offset> <length>\n");
exit(-1);
}

/*--- open binary file (for parsing) ---*/
fp = fopen(argv[1], "rb");
if (fp == 0) {
fprintf(stderr, "Cannot open input file <%s>\n", argv[1]);
exit(-1);
}

/*--- open binary file (for parsing) ---*/
fpout = fopen(argv[2], "wb");
if (fpout == 0) {
fprintf(stderr, "Cannot open output file <%s>\n", argv[2]);
exit(-1);
}

clip_start = _atoi64(argv[3]);
clip_length = atoi(argv[4]);

result = _fseeki64(fp, clip_start, 0);
while(!feof(fp)) {
length = fread(&buffer[0], 1, 16384, fp);
file_length += length;
if (file_length <= clip_length) {
fwrite(&buffer[0], 1, length, fpout);
}
else {
fwrite(&buffer[0], 1, (length - (file_length - clip_length)), fpout);
break;
}
}
fclose(fp);
fclose(fpout);
return 0;
}


Ron

SeeMoreDigital
3rd August 2007, 09:18
If you mean Visual C++, it's not a simple change. You need to use _atoi64() and _lseeki64(). But those functions are not plug-in replacements. You would also need to drop all the fopen(), fread() etc. functions and use open(), read(), write() instead. The normal C runtime buffered file I/O does not support 64-bit file access in Windows.Is this the same Wizziwig of MPEG2Repair (http://www.avsforum.com/avs-vb/showthread.php?t=442446&page=1&pp=30) fame?


Cheers

drmpeg
3rd August 2007, 09:39
Is this the same Wizziwig of MPEG2Repair (http://www.avsforum.com/avs-vb/showthread.php?t=442446&page=1&pp=30) fame?


Cheers
I'm sure it is. In fact, I was the one that showed him the initial trick to repair MPEG-2 video bitstreams. However, much like Pelican9, the student has far surpassed the master.

Ron

madshi
3rd August 2007, 11:16
Would you be willing to help me fix xport? Do you have a Blu-ray .m2ts that you think crashes xport in the first 2 GB of the file? If you think you might, then I have a way for you to identify where in the file the crash occurs and then clip out a section of the file for you to upload so that I can debug it.
I think I have such a case, too. What can I do to help identifying the crash?

drmpeg
3rd August 2007, 13:03
I think I have such a case, too. What can I do to help identifying the crash?
Here's the scheme. First download a special version of xport that prints progress instead of bitrate.

http://www.w6rz.net/xportdev.zip

Demux your problem file and note the number of "chunks" when it bombs. Multiply the number of "chunks" by 1048576. This is the approximate offset into the file where the bomb occurred.

Then use the clip.exe program (included in the .zip) to clip out a small portion of the file for upload. Here's an example.

Let's say that xport bombs at 28376 "chunks". 28376 * 1048576 = 29754392576. Then clip out about 10 megabytes around (-5 megabytes to +5 megabytes) this offset with this command:

clip movie.m2ts clip.m2ts 29749392576 10000000

(29754392576 - 5000000 = 29749392576)

Then upload the 10 megabyte clip somewhere for me to debug. Make sense?

Ron

smekoslav
3rd August 2007, 14:25
Ok, here's my case. The xport encounters problems on me when demuxing LPCM audio from The Exorcism of Emily Rose BluRay m2ts. It starts demuxing fine and makes a .mpa file exactly 33220kB big (that's about chunk 100), then the filesize freezes at 33220kB, but xport still reports that chunks are being processed until the end.
http://img482.imageshack.us/img482/5229/emilycmd1sm9.png

Here's a 10mb sample of the m2ts stream: http://www.box.net/shared/tcl82u257t

There's also a 640Kbit DDPlus track but xport never even starts to demux eac3 (the mpa file is always at 0Kb, even though xport reports chunks are being processed).

musicman2311
6th August 2007, 16:08
hi all,
does anyone know how to get a specification document about blu-ray m2ts bitstream ?
thanks

drmpeg
7th August 2007, 06:56
Ok, here's my case. The xport encounters problems on me when demuxing LPCM audio from The Exorcism of Emily Rose BluRay m2ts. It starts demuxing fine and makes a .mpa file exactly 33220kB big (that's about chunk 100), then the filesize freezes at 33220kB, but xport still reports that chunks are being processed until the end.

There's also a 640Kbit DDPlus track but xport never even starts to demux eac3 (the mpa file is always at 0Kb, even though xport reports chunks are being processed).
I wasn't able to tell much from the sample. However, the screen dump is interesting. For ripped .m2ts files, there should never be any discontinuities. The fact that you do have discontinuities suggests that your file has been corrupted somehow.

The first discontinuity appears at packet 436908. This would be 436908 * 192 or 82886336 bytes into the file. In my 1 megabyte "chunks", this would be at around chunk 80, which is fairly close to your report of audio demux failing at chuck 100.

So a better test clip would be about 30 megabytes starting at around 80 megabytes in. This clip command line would do the trick:

clip movie.m2ts clip.m2ts 79999872 30000000

Note that 79999872 is a multiple of 192 so that the clip starts on a packet.

As for demuxing the AC3 track, you must also demux the video track. That's because for AC3 audio, xport cuts the audio stream to match the first video PTS. If there's no video track specified, then the audio cutting code never starts and no audio gets demuxed.

For LPCM, xport doesn't try to sync the audio and specifying video stream 0 works okay.

Ron

Has123
7th August 2007, 09:41
dmz01,
Thank you for this fantastic tool. Do you have any plans to add muxing capabilities (from elementary streams) to TSRemux or add AVCHD structure to the current options and lastly would it be possible to remove 1088 flag from some h264 streams as this should improve the playability.:thanks:

bb1b
7th August 2007, 13:48
I've tried with a H264 file from a bluray disc, so it should play, its level 4.1. (I've also tried this with BBC HD cap scene release, don't know the level)

I put the file through Elecard Xmuxer Pro and create a ts file with only the H264 video track. Then I remux using Elecard Xmuxer with an AC3 track in to a ts container. This file will play, once renamed to mpg, smoothly from the XBM.
Next I use TsRemux to remux it in to a m2ts. Now this file will play but choppy.

Now once I've got my m2ts file I try playing it through the XBM and the result is choppy, its like the previous frame gets repeated. Now if I rename the ts file, prior to putting it through TsRemux, to mpg and play it through the XBM its perfect smooth playback. Something goes wrong processing it through TsRemux.

I have tried with the bluray structure and got choppy playback aswell, now I'm not burning anymore discs untill I've got it playing smoothly. My PS3 is FW1.9.

I'm having the same problem with a movie encoded in h264, the result is choppy, like some frames gets repeated. I will try with a VC-1 and MPEG2 movie to see if I get the same result.

Anyone found a way to get this working properly?

B4tm4n
7th August 2007, 18:08
I'm having the same problem with a movie encoded in h264, the result is choppy, like some frames gets repeated. I will try with a VC-1 and MPEG2 movie to see if I get the same result.

Anyone found a way to get this working properly?

Mpeg2 will work (I think), but I don't think VC-1 will work with re-encoding to mpeg2 or something.

enjoyer
8th August 2007, 12:10
hXXp://rapidshare.com/files/47602801/AVCHD.rar.html

put the entire *AVCHD* folder to your external hdd (fat32 formatted) file size limit 4gb! ps3 fw 1.9 needed

5.1 output works also on hdd :D

mark_in_2k
8th August 2007, 14:14
hXXp://rapidshare.com/files/47602801/AVCHD.rar.html

put the entire *AVCHD* folder to your external hdd (fat32 formatted) file size limit 4gb! ps3 fw 1.9 needed

5.1 output works also on hdd :DI can't test this yet as I'm at work, but is this sample from a 1080p VC-1 source?

dmz01
8th August 2007, 18:50
New version 0.0.17:

Fixed elementary stream recognition issues, where audio streams were mis-recognized.
Fixed issue where the remuxing would all-over-sudden become extremely slow or hang up and/or the resulting stream would have a loss of audio
MKV support is early alpha. Opening MKV files takes a long time, remuxed results may vary, from my own testing MPEG2 and AC3 seem to work, but H264 doesn't.

dmz01
8th August 2007, 18:58
dmz01,
Thank you for this fantastic tool. Do you have any plans to add muxing capabilities (from elementary streams) to TSRemux or add AVCHD structure to the current options and lastly would it be possible to remove 1088 flag from some h264 streams as this should improve the playability.:thanks:


muxing is very different from remuxing as you need to fully understand the format of the elementary streams and generate the appropriate clocks. Remuxing is a lot easier since you really don't need to know the streams nor generate any clocks. So muxing while a nice feature to add, would probably be beyond what I have as free time. :(
AVCHD would be very easy to add if someone would make the AVCHD spec (with all the format definitions) available to me. I'm not going to pay $3000+ for it. :)
what do you mean by 1088 flag?

kvoss
8th August 2007, 19:15
I can't test this yet as I'm at work, but is this sample from a 1080p VC-1 source?

If you use GraphEdit to convert in a mkv und using mkvinfo

C:\Programme\MKVtoolnix>mkvinfo.exe c:\c\TS\test.mkv
+ EBML head
|+ EBML version: 1
|+ EBML read version: 1
|+ EBML maximum ID length: 4
|+ (Unknown element: EBMLMaxSizeLength; ID: 0x42f3 size: 4)
|+ Doc type: matroska
|+ Doc type version: 1
|+ Doc type read version: 1
+ Segment, size 25745124
|+ Seek head (subentries will be skipped)
|+ EbmlVoid (size: 14)
|+ Segment information
| + Muxing application: Haali DirectShow Matroska Muxer 1.7.189.11
| + Writing application: GraphEdt.exe
| + Segment UID: 0x64 0xb6 0x1b 0x9b 0xd6 0x5c 0x0c 0x84 0xd2 0x1c 0xf2 0xd7 0x6b 0xc0 0xa9 0x70
| + Date: Wed Aug 08 18:11:59 2007 UTC
| + Timecode scale: 1000000
| + Duration: 26.960s (00:00:26.960000000)
|+ Segment tracks
| + A track
| + Track number: 1
| + Track UID: 1
| + Track type: video
| + Lacing flag: 0
| + Default flag: 0
| + Codec ID: V_MPEG4/ISO/AVC
| + CodecPrivate, length 34
| + Video track
| + Pixel width: 1920
| + Pixel height: 1080
| + Display width: 1920
| + Display height: 1080
| + A track
| + Track number: 2
| + Track UID: 2
| + Track type: audio
| + Lacing flag: 1
| + Default flag: 0
| + Codec ID: A_AC3
| + Audio track
| + Sampling frequency: 48000.000000
| + Channels: 6
|+ Cluster


kvoss

enjoyer
8th August 2007, 21:08
New version 0.0.17:

Fixed elementary stream recognition issues, where audio streams were mis-recognized.
Fixed issue where the remuxing would all-over-sudden become extremely slow or hang up and/or the resulting stream would have a loss of audio
MKV support is early alpha. Opening MKV files takes a long time, remuxed results may vary, from my own testing MPEG2 and AC3 seem to work, but H264 doesn't.


thx for update :thanks:


dmz01,
Thank you for this fantastic tool. Do you have any plans to add muxing capabilities (from elementary streams) to TSRemux or add AVCHD structure to the current options and lastly would it be possible to remove 1088 flag from some h264 streams as this should improve the playability.:thanks:

CoreAVC.H.264.Video.Codec - Version 1.5

- Add: An option to always crop 1088 video to 1080 lines (enabled by default)

I don't know if this is possible but maybe coreavc 1.5 in combination with graphedit can remove the 1088 flag

colinhunt
8th August 2007, 23:02
New version 0.0.17
Thank You!

colinhunt
8th August 2007, 23:03
AVCHD would be very easy to add if someone would make the AVCHD spec (with all the format definitions) available to me. I'm not going to pay $3000+ for it. :)
Would you be able to "reverse engineer" anything at all from Nero AVCHD output?

hollydoc
8th August 2007, 23:25
thx for this great tool. :thanks:

The rexux funktion is nearly perfect. My problen is muxing AVC - and VC-1 videostreams with a new Audiostream. MPEG2 is not a problem, there are a lot of programms avalible.
My problem is, a lot of Blu-Ray aren`t availible whit german audiotrack.
Is it possible inmux SUPreader. Which Programm i`ve to use to create german Subtitles?

Hollydoc.

enjoyer
9th August 2007, 00:56
I ve tested some h264|1080p *.ts file and tsremux created a faultless blu ray structure...

then I created a AVCHD dvd with hollydoc s method

ps3 plays this file without problems and ac3 5.1 output!!!

so we need a way to remux h264.mkv properly to h264.ts!!!!! :cool:

Has123
9th August 2007, 01:17
Hello all,

We do not need to go through any trouble to burn AVCHD. After you run your file through TSRemux Bluray, go to BDMV directory and replace the MovieObject.bdmv and index.bdmv with these http://rapidshare.com/files/47821885/BDMV.rar.html (or use the ones that NeroVision produced) and burn the BDMV directory with Nero UDF 2.5 and that IS it. Hope this will help:cool:

kvoss
9th August 2007, 03:44
hXXp://rapidshare.com/files/47602801/AVCHD.rar.html

put the entire *AVCHD* folder to your external hdd (fat32 formatted) file size limit 4gb! ps3 fw 1.9 needed

5.1 output works also on hdd :D

I replaced the files in the AVCHD-folder with 1088i (h264) and it's working, tested with a 30s-TS from PremiereHD (Lost).

Now I need no burning to DVD :-)

Thx, kvoss

Has123
9th August 2007, 04:04
CoreAVC.H.264.Video.Codec - Version 1.5

- Add: An option to always crop 1088 video to 1080 lines (enabled by default)

I don't know if this is possible but maybe coreavc 1.5 in combination with graphedit can remove the 1088 flag

Thanks enjoyer, I tried with a h264info and that did not work. I think also demuxing and muxing mess things up. Would you please look at this clip and let me know if there is anything I can do besides re-encoding. http://rapidshare.com/files/46959405/Test.ts.html
And thanks for the pointing the AVCHD on HDD method.

colinhunt
9th August 2007, 11:46
We do not need to go through any trouble to burn AVCHD. After you run your file through TSRemux Bluray, go to BDMV directory and replace the MovieObject.bdmv and index.bdmv with these
Nice one, thanks!

Speediakal
9th August 2007, 16:48
why do people put there files on rapidshare? it pisses me off. could someone please link me to another site to download it from...

enjoyer
9th August 2007, 17:21
lol :goodpost:
why should people put their files on another site?

Gorbachev
9th August 2007, 17:42
I just re-muxed a level 4.1 h264 vob with ac3 into AVCHD m2ts and the resulted file had ~800 megs of overhead... not a very nice ratio :(

1.5Gig h264/ac3 VOB ends up as 1.7 Gig M2TS ... waste of space :P

Btw. if async mode is enabled, loading the vob will cause an error... tick it off and it'll load fine.

NanoBot
9th August 2007, 17:45
Hi,

I also don't like rapidshare as a filehoster for two reasons:

Javascript has to be enabled to be able to download a shared file, and I can't use a proxy server without problems, because all downloads made through the same proxy by other users are accounted for the download limit. But for security and privacy reasons I prefer to switch off javascript by default and I am always using a proxy.

There are alternatives which IMHO are better, e.g. zshare.net, because they don't have such limitations. But of course anybody is free to choose the hosters he likes most.

C.U. NanoBot

Has123
9th August 2007, 19:01
why do people put there files on rapidshare? it pisses me off. could someone please link me to another site to download it from...

lol :goodpost:
why should people put their files on another site?

Hi,

I also don't like rapidshare as a filehoster for two reasons:

Javascript has to be enabled to be able to download a shared file, and I can't use a proxy server without problems, because all downloads made through the same proxy by other users are accounted for the download limit. But for security and privacy reasons I prefer to switch off javascript by default and I am always using a proxy.

There are alternatives which IMHO are better, e.g. zshare.net, because they don't have such limitations. But of course anybody is free to choose the hosters he likes most.

C.U. NanoBot

Sorry guys. I am not in the file sharing world and that website was all I knew. I will try zshare. Any other good free ones out there?

honai
9th August 2007, 19:15
http://www.sendspace.com/

Has123
9th August 2007, 21:47
Hello all,

We do not need to go through any trouble to burn AVCHD. After you run your file through TSRemux Bluray, go to BDMV directory and replace the MovieObject.bdmv and index.bdmv with these http://rapidshare.com/files/47821885/BDMV.rar.html (or use the ones that NeroVision produced) and burn the BDMV directory with Nero UDF 2.5 and that IS it. Hope this will help:cool:

Here is another link to the files http://www.sendspace.com/file/u3s2q0
As mentioned above you can make your own with NeroVision.

dmz01
9th August 2007, 22:52
I'll make a change in TsRemux to generate index.bdmv and MovieObject.bdmv to follow what those two are doing. The only real difference will be that right now the uploaded index.bdmv shows that the disk was produced by NeroVision version 4.9.7.2, my index.bdmv won't have that. :D

Has123
9th August 2007, 23:10
I'll make a change in TsRemux to generate index.bdmv and MovieObject.bdmv to follow what those two are doing. The only real difference will be that right now the uploaded index.bdmv shows that the disk was produced by NeroVision version 4.9.7.2, my index.bdmv won't have that. :D

Thanks dmz01

hollydoc
9th August 2007, 23:53
Can anyone help me? I have the us version of the Blu RAy Apocalypto. Ilike to insert the German Subtitles from the DVD.
In TSRemux i find the Option inmux SUPreader.
Is this possible? Can anyone tell me, what I have to do?

Hollydoc

Pelican9
10th August 2007, 01:41
Can anyone help me? I have the us version of the Blu RAy Apocalypto. Ilike to insert the German Subtitles from the DVD.
In TSRemux i find the Option inmux SUPreader.
Is this possible? Can anyone tell me, what I have to do?

Hollydoc

You have to wait.

hollydoc
10th August 2007, 04:28
this means, this function is not availible in the momement?

Hollydoc

survivant
10th August 2007, 12:23
I'll make a change in TsRemux to generate index.bdmv and MovieObject.bdmv to follow what those two are doing. The only real difference will be that right now the uploaded index.bdmv shows that the disk was produced by NeroVision version 4.9.7.2, my index.bdmv won't have that. :D


That's mean we will be able to burn directly the output of TSremus and it will play on the PS3 ?

survivant
10th August 2007, 12:26
Someone can tell my what is the difference between putting a mpeg2 and h264 into a ts (from the coder point of view) ?

I'm just trying to get more knowledge about this, just to understand the difficulties dmz01 as to deal to put the h264 into tsremux and get it to work.

Has123
10th August 2007, 13:05
With the new TSRemux, TS files play with sound on PS3 so no need to do m2ts option if you just want a playable file.

dmz01
10th August 2007, 14:48
Someone can tell my what is the difference between putting a mpeg2 and h264 into a ts (from the coder point of view) ?

I'm just trying to get more knowledge about this, just to understand the difficulties dmz01 as to deal to put the h264 into tsremux and get it to work.

There is no difference in TS. However there is a difference when building blu-ray/avchd disk structure as you need to parse the elementary streams to retrieve the stream data such as resolution, frame rate, aspect ratio etc.

kabanero
10th August 2007, 15:02
With the new TSRemux, TS files play with sound on PS3 so no need to do m2ts option if you just want a playable file.

Has123,

do you mean PS3 can now play file with .TS extension?

Has123
10th August 2007, 15:12
Yes. If you run them through TSRemux TS option.

survivant
10th August 2007, 16:37
There is no difference in TS. However there is a difference when building blu-ray/avchd disk structure as you need to parse the elementary streams to retrieve the stream data such as resolution, frame rate, aspect ratio etc.

ok, so you have done the mpeg2 and now your trying with the h264 (mkv alpha) ?

there is restriction about the width or height in bluray ?

Pyth0n
10th August 2007, 17:12
I have Windows Vista Installed and when reading the MKV and Remuxing I get around 60% CPU usage on each core (Athlon X2 4400) and almost no HD reading at all.
It takes a long time to TSRemux identify de streams and another long time to remux then.

Tried with ASync I/O on and off its the same thing.

Anyone having the same problem?

Oh, and I would like to thank DMZ01, this is a great program and will make lots of people happy with their PS3.

dmz01
10th August 2007, 17:25
there is restriction about the width or height in bluray ?

Yes:

Video formats supported:
480i, 480p, 576i, 576p, 720p, 1080i, 1080p
Frame rates supported:
23.976, 24, 25, 30, 50, 59.94 (no 60:()
aspect:
4:3, 16:9 (no 2.34:1:()

I did not see any width restrictions, but who knows what the chipsets actually support other than the standard widths.

dmz01
10th August 2007, 17:27
I have Windows Vista Installed and when reading the MKV and Remuxing I get around 60% CPU usage on each core (Athlon X2 4400) and almost no HD reading at all.
It takes a long time to TSRemux identify de streams and another long time to remux then.

Tried with ASync I/O on and off its the same thing.

Anyone having the same problem?

Oh, and I would like to thank DMZ01, this is a great program and will make lots of people happy with their PS3.

Expected behavior in the current implementation. See my notes above. I want to have a working solution first. I'll deal with performance later.

musicman2311
10th August 2007, 18:24
hi all - excuse my ignorance - is there a guide how to convert
an EVO file (VC1 video from HD DVD) to a blu-ray TS which actually plays in a blu ray player without stuttering and with sound ?

thanks

dmz01
10th August 2007, 20:13
I'll make a change in TsRemux to generate index.bdmv and MovieObject.bdmv to follow what those two are doing. The only real difference will be that right now the uploaded index.bdmv shows that the disk was produced by NeroVision version 4.9.7.2, my index.bdmv won't have that. :D

Done. 0.0.18 has been uploaded. No other changes.

dmz01
10th August 2007, 20:16
hi all - excuse my ignorance - is there a guide how to convert
an EVO file (VC1 video from HD DVD) to a blu-ray TS which actually plays in a blu ray player without stuttering and with sound ?

thanks

Unless you have a combo (HD-DVD & Blu-ray) player sound won't work. HDDVD's dolby digital plus is not compatible with the Blu-Ray standard. You might be OK though with DTS if your source has it.

survivant
10th August 2007, 21:26
I try the version 0.0.18 and I got : Index was outside the bounds array

TsRemux.BluRayOutput.Author ...

I input a mkv file (h264+ac3)

dmz01
10th August 2007, 21:51
If you can supply a sample MKV file that reproduces this problem I can fix it. Notice that you can't just cut an MKV file into smaller pieces. You'll have to re-create the smaller ones. MKV files store stream info only once and not throughout the stream like TS or PS.

survivant
10th August 2007, 22:27
If you can supply a sample MKV file that reproduces this problem I can fix it. Notice that you can't just cut an MKV file into smaller pieces. You'll have to re-create the smaller ones. MKV files store stream info only once and not throughout the stream like TS or PS.

I sent you a PM with the link

musicman2311
11th August 2007, 01:11
ok thanks,
I understand. I also think - please correct me if I am wrong,
Dolby Digital Plus can be used by Dolby Digital decoders without problems. Means they play back, it is backward compatible.
Where does the issue then come from ? Does Blu Ray not support Dolby Digital plus ?

Could that be solved by exchanging header / signalling bytes
within the Dolby Bitstream ?

Asked differently - If I used TsRemux with EVO and DD+ make TS, then of course DD+ disturbs say a blu ray player, e.g. PS3. could one run that bit stream through a filter, where DD+ header bytes are changed, so the TS stream contains DD only.

would that save the problem ? thanks

JimmyHACK
11th August 2007, 01:46
excellent update, did a couple TS to disc with no probs..

still no streaming with 5.1 sound though pn PS3 right?? guess we'll wait for new FW..

as for mkv's sucks all mine are h264

survivant
11th August 2007, 03:01
is it possible to run tsremux in verbose mode ? I can look into the log file or console if there is an error.

I'm trying to export a .vob (mpeg2/ac3) into bluray structure (will post the result later)

with a mpeg2-ts and ac3 into .vob, I obtain Attemtep to divide by zero
at TsRemux.BlurayOutput.buildClipInfo(...,...)

dmz01
11th August 2007, 03:25
ok thanks,
I understand. I also think - please correct me if I am wrong,
Dolby Digital Plus can be used by Dolby Digital decoders without problems. Means they play back, it is backward compatible.
Only the blu-ray version is backwards compatible by having a core stream and DD plus extensions. HDDVD version is not as it is pure DD plus without any embeded DD core stream.


Where does the issue then come from ? Does Blu Ray not support Dolby Digital plus ?


It doesn't need to, DD on blu-ray is comparable to DD plus on HDDVD due to the frame size allowed on blu-ray vs. HDDVD. It does support DD plus extensions, but no titles use it today as blu-ray's DD is good enough. See the long thread on the AVS forums straight from Dolby labs engineers.


Could that be solved by exchanging header / signalling bytes
within the Dolby Bitstream ?

Asked differently - If I used TsRemux with EVO and DD+ make TS, then of course DD+ disturbs say a blu ray player, e.g. PS3. could one run that bit stream through a filter, where DD+ header bytes are changed, so the TS stream contains DD only.

would that save the problem ? thanks

Nope, you will need to re-code. See eac3toac3 program on DD plus to DD conversion.

dmz01
11th August 2007, 04:00
is it possible to run tsremux in verbose mode ? I can look into the log file or console if there is an error.

I'm trying to export a .vob (mpeg2/ac3) into bluray structure (will post the result later)

I'm thinking of adding that to the next version.

kabanero
11th August 2007, 04:35
Yes. If you run them through TSRemux TS option.

My PS3 doesn't recognize .TS extension.

Has123
11th August 2007, 04:47
My PS3 doesn't recognize .TS extension.

Do you have the latest firmware?

kabanero
11th August 2007, 05:02
Do you have the latest firmware?

Yes, 1.90.

Has123
11th August 2007, 05:10
how do you access your files. hdd, dvd, dlna server?

kabanero
11th August 2007, 05:20
how do you access your files. hdd, dvd, dlna server?
Memory Stick, USB HDD, USB flash drive, DVD, BD-RE.

Has123
11th August 2007, 05:32
It should recognize them. Do you have them in a video folder or used the "Display All" option? and if all fails try rename to mpg.

survivant
11th August 2007, 12:16
why I obtain this error ?

with a mpeg2-ts and ac3 into .vob, I obtain :"Attempted to divide by zero
at TsRemux.BlurayOutput.buildClipInfo(...,...) "

vlada
11th August 2007, 17:48
Could someone please test this file (http://www.zshare.net/download/307776947097cb/). It is a video from Panasonic AVCHD camcorder. It is 1080i PAFF so you need CoreAVC to decode it.

The problem is, that the file plays fine. But after demuxing to RAW stream (using TSRemux) and muxing to MP4 (YAMB 2.0.0.7) the video is completely broken (blocks, choppy, green). The same happens if I mux the h.264 in MKVToolnix to Matroska. Remuxing the video to .TS or .M2TS works fine.

I'm not really sure if the problem is in demux, but since the demuxed video shows same problems in MKV and MP4 I would guess the problem might be caused here.

TEB
11th August 2007, 18:37
AFAIK 1.9 FW PS3 will skip the audio pid if the extension is .mpg (if the mux model is TransportStream)
Ive tried .m2ts to no avail. Only thing that works is Programstream muxing if u want sound and video.
Im trying .mkv -> .ts as 192bytes pr. pack to test. Ill report when i get one running..

teb

enjoyer
12th August 2007, 00:18
well the VLC mkv to TS outputs a non compliant TS right ?

Perfect is Manzanita MP2TSME

http://www.manzanitasystems.com/mp2tsme_downloads.html

there you can download a demo

I don't know how to work with this tool atm lol but I will try tomorrow!

there are a lot of things you can edit, maybe someone with more experience can look at that tool.

honai
12th August 2007, 13:19
But after demuxing to RAW stream (using TSRemux) and muxing to MP4 (YAMB 2.0.0.7) the video is completely broken (blocks, choppy, green). The same happens if I mux the h.264 in MKVToolnix to Matroska. Remuxing the video to .TS or .M2TS works fine.

I'm not really sure if the problem is in demux, but since the demuxed video shows same problems in MKV and MP4 I would guess the problem might be caused here.

See this thread:

http://forum.doom9.org/showthread.php?t=128768

vvetma
14th August 2007, 08:16
I have a problem remuxing TS stream...

It is 18Gb TS ripped from HD-DVD file with VC-1 video stream (1080p) and 3 audio stream (448kbs AC3 English, 640kbs AC3+ English and 384Kbs Chinese)...

I want to remove 2 audiotracks but when i try to remux it after minute or so of extensiv hdd activity i get OutOfMemory exception...

Computer is
Windows XP SP2 - all patches, fixes, etc
Intel Core2Duo 6700
2Gb DDR2


One more question...
Do you know any program that can convert SRT subtitle file into SUP file suitable for HD-DVD and compatible for muxing with TSRemux?

Thanks...

vlada
14th August 2007, 08:29
I know Subtitle Creator can import HD SUBs, but I'm not sure if it can export them.

Has123
14th August 2007, 22:26
One more question...
Do you know any program that can convert SRT subtitle file into SUP file suitable for HD-DVD and compatible for muxing with TSRemux?

Thanks...
Try this. I really do not know it it will work.
http://www.digital-digest.com/software/getdownload.php?sid=878&did=1

vvetma
15th August 2007, 07:10
Try this. I really do not know it it will work.
http://www.digital-digest.com/software/getdownload.php?sid=878&did=1

Thanks for your suggestion... but I've already tried it...

It's for regular DVDs and SUP stream format for HD-DVD is different...

hhp
15th August 2007, 14:35
I use TsRemux 0.0.18 to keep 2 soundtracks and 1 subtitle from Blu-ray movie by Blu-ray output option, then I get a BDMV directory can play fine in PowerDVD 7.3 Ultra version.
But there's something strange that can't choose soundtrack and turn on the original subtitle, is this still not work fine or I missing something?

Creator1
15th August 2007, 14:48
Hi all.

First of all i want to say a big :thanks: to dmz01 for coding TSRemux. This utility has helped me greatly in the past week. I did extensive tests with it in that period of time.

I still have some problems though so I wonder if some of you can help me out here.

I mainly have 3 remaining problems now.

1) The most important problem so far is with an H264 SkyHD broadcast stream. I have no real problems with MPEG-2 files but when I use TSRemux on my 1920x1088i50 (25fps) AVC/AC3-5.1 stream, my PS3 will playback the clip fine but in low-res and I think stereo sound too when using the Blu-Ray option in TSRemux and when burning the structure on a BD-RE. What I mean is that the PS3 reverts back to 480p and then shows the clip. The playback is smooth and the audio is there and in sync but I think in stereo and the picture looks like crap of course since it's not displayed in 1080i. I would appreciate any help on this one because I didn't see anybody having this problem yet when reading the thread? I have an NTSC PS3 by the way (latest firmware) but I don't think it should make a difference? Also, I tried another small H264/AC3 2.0 clip that seemed to be 1920x1080 (not 1088) and it did the very same thing (I need to confirrm that it was 1080i but I am pretty sure, at least according to Premiere Pro CS3). The small clip I tried is available here:

http://x264.nl/h.264.samples/

It is the clip named "sky.movies.9.hd.ts". This plays back in low-res on the PS3 for me after passing it in TSRemux in Blu-Ray mode and burning the resulting structure to BD-RE.

Lastly on this point, if I use Nero Vision 4 and create an AVCHD structure on the HDD with the same "sky.movies.9.hd.ts" clip, Nero will re-encode it and the resulting .m2ts, .clpi and .mpls files will playback correctly in full resolution on my PS3 when I use those 3 files from Nero Vision's structure and copy them to the TSRemux structure or even DVDIt Pro HD structure. It seems like TSRemux is doing something wrong maybe? I am not interested in transcoding the clip so the Nero Vision way is not interesting to me even if it works.


2) I authored a BD in DVDIt Pro HD with two audio tracks. I made a menu with two buttons. The first button plays the single movie on the disc with the first audio track and the second button plays the movie with the second audio track. I then used TSRemux to create a blu-ray structure with the same clip with the two audio tracks and I replaced the .m2ts, .clpi and .mpls files in the DVDIt Pro HD structure like I always do and I burned the results to BD-RE (I do it because DVDIt Pro HD transcoded the clip). When i try the disc in the PS3, both buttons playback the movie with audio track #1. I cannot access the audio track #2. The PS3 Blu-Ray player menu will not switch audio tracks either when I press the switch audio button during playback.


3) When I use TSRemux with any MPEG-2 stream so far (I tried about 4 different streams: 2 were HDV from camcorders and the other 2 were from Broadcast HDTV 1080i60), I always need to first cut a small part of the TS at the beginning of it (like 1 or 2 seconds) with the application HDTVToMpeg before passing the TS in TSRemux to create a Blu-Ray structure. If I do not do the cut before, I get super choppy playback on the PS3 and no audio. I wonder why i have this because I didn't read nobody that have this problem in this thread? I can do the cut trick but I wonder why I need to do it? I need to use HDTVToMpeg because the other programs don't correct the problem. I noticed that HDTVToMpeg is not frame accurate for the cutting so it seems like it is cutting to "clean" boundaries or something. Maybe that as something to do with it? Videoredo also does not correct the problem even if I use it to cut a portion of the movie in the middle of it, etc.


Maybe I can add a last question to dmz01 or anyone who knows the specifics of the headers in MPEG-2 HD files. I cannot import my MPEG-2 broadcast streams in Scenarist HDMV (in elementary stream format) because it always say that "the value of DisplayExtension is not compliant with the BD Standard". What is DisplayExtension?

Thanks a lot in advance for any help! :thanks: :)

BDLAB
15th August 2007, 17:10
...
but when I use TSRemux on my 1920x1088i50 (25fps) AVC/AC3-5.1 stream, my PS3 will playback the clip fine but in low-res and I think stereo sound too when using the Blu-Ray option in TSRemux and when burning the structure on a BD-RE. What I mean is that the PS3 reverts back to 480p and then shows the clip.
...
I have an NTSC PS3 by the way (latest firmware) but I don't think it should make a difference?



This is exactly the problem. The Bluray Player Firmware is different in the PAL version and supports 1080i/1088i with 50 Fields. The NTSC version scales down to 480p60.

The XMB player is identical in the PAL and NTSC version, adding a pulldown when 50 Hz clips are played.

Creator1
15th August 2007, 18:27
This is exactly the problem. The Bluray Player Firmware is different in the PAL version and supports 1080i/1088i with 50 Fields. The NTSC version scales down to 480p60.

The XMB player is identical in the PAL and NTSC version, adding a pulldown when 50 Hz clips are played.

Ah damn. Ok thanks for the answer. I wonder why it worked for the AVCHD with Nero Vision 4? Hmmm, I think I chose NTSC though when I did the AVCHD with Nero... maybe Nero transcoded the clip in 60 frames and that's why all was fine after that. I will check this out in more details tonight.

It seems like my only workaround for this problem of mine will be transcoding to 60 fps if I want BDMV or else I'll need to listen to the clip in the dash with stereo sound if I can get the clip to work in full res but it seems I'll be able to that way from what you said.

:thanks:

Creator1
16th August 2007, 14:32
I did some more tests yesterday night with H264 TS to blu-ray using TSRemux (no re-encode) and it seems you were right BDLAB.

I changed the header of my 25 FPS H264 TS source to 23.976 or 29.97 before passing it in TSRemux using h264info. The result was that the clip finally played in high res but the PS3 was not deinterlacing anymore so it wasn't pretty in 1080i output mode.

The best method so far is to use Nero Vision 4. It will re-encode the stream and all works fine BUT it seems that he leaves the framerate to 25FPS and it still plays to full res on my PS3? Something is weird in all this. Maybe the creator of TSRemux can do a patch for NTSC machines when using a 25 fps h264 source since the 25 fps Nero Vision 4 clip played perfectly on my PS3 in BDMV? I am just wondering what did Nero do to make the clip to play correctly on my PS3 since the fps stayed at 25 according to Premiere Pro CS3 at least?

mic64
17th August 2007, 07:30
How do you change the header from 25 fps to 23.976 in h264 TS ?

Has123
17th August 2007, 13:54
How do you change the header from 25 fps to 23.976 in h264 TS ?

Use h264info after you demux the stream. http://forum.doom9.org/showthread.php?t=123392

Creator1
17th August 2007, 14:47
How do you change the header from 25 fps to 23.976 in h264 TS ?

Demux the stream and use h264info on the H264 elementary stream. Then you need to fill all the boxes with the value you want to put in the header. Typically put the framerate, 1 for the second thing, then put 4.1 for the level and 1920x1088 or 1920x1080.

Anybody else has that choppy playback if they don't cut the start of the stream after passing it in tsremux? I find that weird.

mic64
17th August 2007, 22:28
aah ok this way.
But this is not good idea.
H264info destroys sometimes the stream.
After running 100% perfect files through it, some came out with errors.

Creator1
18th August 2007, 03:43
aah ok this way.
But this is not good idea.
H264info destroys sometimes the stream.
After running 100% perfect files through it, some came out with errors.

I don't know of any other way to change H264 headers. Maybe others know more than I do.

B4tm4n
18th August 2007, 12:02
I don't know of any other way to change H264 headers. Maybe others know more than I do.
I've read you can hex edit them, but I don't know what values to change.

musicman2311
19th August 2007, 03:45
PS3 - PAL / NTSC support and TsRemux

Interesting finding I want to share here.
I have a US PS3 (NTSC) and I recently imported a PAL Blu Ray
disc (Alien vs Predator) - apart from the detail that is claims to be region B to my surprise the disc plays fine (PS3 firmware 1.90).

any other e.g. PAL DVD (no region code) or an AVHCD recording from my PAL version of Panasonic HD Camcorder caused the same message "no PAL support".

Now I ran one *.m2ts file from my HD CAM through
TsRemux and then created a blu ray disc.

Guess What ? It works !

That is absolutely great - I am technical but do not have enough background data (spec) to understand what happened, but it is great.

So here is my question/request to the creator of tsremux:

under the assumption, that all files have same construction (video coding, number of audio streams) - is it possible to
extend the tool so it takes all *.m2ts files from a folder
and runs them through Tsremux so a single blu ray BDMV folder
is constructed ? it is ok to have the individual files play as
a chapter in one movie so to speak.

The problem is that the hd cam easily creates say 100 short clips which are all individual m2ts files.

I need the creation of blu ray structure as in tsremux, but that can be done for one file only.

and the copy file 1 + file 2 to file 3 method is not good for more than 2 i found earlier. (tested with back up of deja vu).
it creates a single playable file, but hangs up in the middle no matter how many times i ran it through tsremux.

so again my request - take folder input from a source folder
with several m2ts files of same structure and create one blu ray folder output from ts remux

is that possible ?

thanks

dade49
19th August 2007, 06:24
my request - take folder input from a source folder with several m2ts files of same structure and create one blu ray folder output from ts remux. is that possible?

dmz01 is the guy who wrote TSremux, and he will probably answer you as well. I have been playing with ts/m2ts streams for a while now, and here's 1 guy's opinion.

Options:

1) The copy method. I had problems with this when trying:
copy /b *.m2ts output.m2ts
This caused problems like you're mentioning where timestamps don't work, and you can't get past the first stream segment. What did work for me was:
copy /b file1.m2ts+file2.m2ts+file3.m2ts output.m2ts
I don't know why this method works, and the other doesn't, but it does. I don't know if this will work in your situation because the streams you're combining are not the same elementary stream. If they all are the same video type/resolution, same audio type, and each PID of the vid and audio stream is the same, it might work. You won't get chapters though, and you must run it through TSremux after the copy to fix the timestamp to the whole length of the file.

2) Use 3rd party software. Sonic Scenarist Blu-Ray Edition 4.2 is probably the best to use, but it's expensive. Also, it doesn't run on x64 XP/Vista, so don't even try. Another thing you might try is Adobe Premier, but I'm unsure if it can actually create a bdmv structure.

As for TSremux, it's come a long way, but I think it's a bit far from what you're asking. I hope you are able to make something work for you. Please feel free to PM me or reply if you want some more opinion. Good luck.

-Dade

t1ger
19th August 2007, 18:03
I've read you can hex edit them, but I don't know what values to change.

Look for 64 00 33 and change it to 64 00 29 (common for mainprofile 5.1, check forum thread for more info "AVC playback on PS3"). I found out that you do not have to change them all, only change the 2 first.
It is also possible to change the level directly in the mkv with hex editor, I have tested that, maybe good for this tool.

Check the forum for link to hex editor and how to.

enjoyer
19th August 2007, 18:52
hmm only issue I have is sync between video + audio, avchd plays fine though.


mkvextract to extract the h264 + ac3
use yamb to mux h264 into mp4 ( done as xmuxer freezes when you use .h264 )
using latest xmuxer 2.5beta and avc plugin mux mp4 + ac3

Output works in tsremux.

this file runs correct through tsremux!!!!!

zeroprobe
19th August 2007, 20:28
mkvextract h264 + ac3
Hex Editor to change the profile from 5.1 to 4.1
use new YAMB v2.0 to mux h264 into mp4 ( input correct framerate and make sure media delay = 0
Xmuxer pro 2.5beta and AVC plugin v2.0 mux the mp4 + ac3
TSREMUX into Bluray

With firmware 1.81 I could get sound and saying 5.1 AC3 but with a black screen, now with 1.9 I get nothing.

jcar
20th August 2007, 09:49
Wasnt there already a way of remuxing the MKV (h264+ac3) to a VOB file and the PS3 playing it? Of course, this was with 1.81 (or 82?), haven't tried again with 1.9

enjoyer
20th August 2007, 11:16
Wasnt there already a way of remuxing the MKV (h264+ac3) to a VOB file and the PS3 playing it? Of course, this was with 1.81 (or 82?), haven't tried again with 1.9

yes there is a way....but only works for 720p and only 2channel ouput :cool:

dj7675
21st August 2007, 01:07
First, I stumbled upon this tool trying to get my HD recordings playable via a ps3. Thanks to tsremux they work by burning them to dvd. Very cool. From my discussion with has123 on avsforum, it seems that the ps3 won't play files over a network properly (HD .ts files). Is this just a limitation of the current ps3 firmware or is there any other way these files can be playable on the ps3? It just seems so bizaar that they play fine when burned to disc, but studder/flash green when they play over a network. Is this a file format problem, or a network issue?

Darin

Has123
21st August 2007, 03:37
First, I stumbled upon this tool trying to get my HD recordings playable via a ps3. Thanks to tsremux they work by burning them to dvd. Very cool. From my discussion with has123 on avsforum, it seems that the ps3 won't play files over a network properly (HD .ts files). Is this just a limitation of the current ps3 firmware or is there any other way these files can be playable on the ps3? It just seems so bizaar that they play fine when burned to disc, but studder/flash green when they play over a network. Is this a file format problem, or a network issue?

Darin

Darin,
Hello again. I think the problem is 1080i mpeg as if you try 720p there is no problem with flashing/studdering and it is not a network issue at least in my experience.

dj7675
21st August 2007, 15:01
Thanks for the info. Hopefully Sony will fix the 1080i streaming in the next update....

DArin

hidef_rec
24th August 2007, 13:52
yes there is a way....but only works for 720p and only 2channel ouput :cool:

Can you please say how...I have several h.264 720p MKVs I want to watch on my PS3. Having 5.1 would be nice, but can live with 2.0 for now. Thanks.

enjoyer
24th August 2007, 14:55
Can you please say how...I have several h.264 720p MKVs I want to watch on my PS3. Having 5.1 would be nice, but can live with 2.0 for now. Thanks.

any further questions?? share your problem in this thread!

hXXp://www.redkawa.com/forums/showthread.php?t=1906

hidef_rec
24th August 2007, 18:08
Thank you sir! Can you confirm this is the right workflow for 720p MKV files...

Tools needed:
- MKVExtract (http://www.videohelp.com/tools/MKVExtractGUI)
- H264Info (http://downloads.sourceforge.net/batchccews/h264info_alpha0011.zip?modtime=1186417343&big_mirror=0)
- FFMPEG (http://www.videohelp.com/tools/ffmpeg)

Steps:
1. Use MKVExtact to extract the audio and video streams
2. Change the level of h.264 file to 4.1 with H264Info
3. Mux the audio and video with the latest FFMPEG as follows

Click Start > Run > Type "cmd" > Press 'Enter' key
Type "c:\[directory where ffmpeg is installed]\ffmpeg -r 23.976 -f h264 -i input.h264 -f ac3 -i input.ac3 -vcodec copy -acodec copy -f vob output.vob"

4. Rename output.vob to output.m2ts, then burn it to DVD with Nero 7 using DVD-ROM/Physical partition/UDF 2.60

Can ffmpegGUI (http://www.videohelp.com/tools/ffmpegGUI) be used instead of ffmpeg?

survivant
26th August 2007, 01:57
still no one been able to get a working workaround for h264 and 5.1 sound ?

enjoyer
26th August 2007, 11:05
I have uploaded a sample from my last try...

source: s-wildhogs-sample.mkv fps 23.976 1280x544 AVC/AC3
reencode : fps 25 1280x720 AVC-4.1/AC3

H264info (wihout changing any settings)
Xmuxer light
TSremux > blu-ray

When movie starts on the ps3 hit the R2 button 120(fast forward)
Movie then will restart and plays with 5.1 sound

If u want to test, convert the sample m2ts with tsremux

http://www.sendspace.com/file/kuvelj

fast forward trick works :D ......if your source is 1280x720@25fps just change level to 4.1

if not u have to reencode it to 1280x720 and 25fps

Bugh
29th August 2007, 12:03
1. How to remux ts with 2 audio streams and subtitles into bluray format and then play it on ps3 with possibility to switch between audio streams?
I tried to remux SinCity.ts (1080p AVC + 2 audio streams AC3 6ch) with current version of TSRemux (0.0.18), but ps3 played only one, and didn't see that there was second stream.
2. If in ts is VC-1 video codec, does PS3 play it after remuxing?
On first page i see thet VC-1 codec is supported. But i don't want to download over 20 gigs to see that my ps3 wouldn't play this codec...

Beastie Boy
29th August 2007, 12:30
On first page i see thet VC-1 codec is supported. But i don't want to download over 20 gigs to see that my ps3 wouldn't play this codec...

I think this must be a typo, TSRemux is nowhere near that size.

B4tm4n
29th August 2007, 13:54
On first page i see thet VC-1 codec is supported. But i don't want to download over 20 gigs to see that my ps3 wouldn't play this codec...

I've tried playing a VC1 blu-ray stream without any luck. (Lethal.Weapon.Blu-Ray.1080p.VC-1.DDPlus.5.1)

maya
29th August 2007, 20:07
I have used TSremux to dump a few audio streams in order to make the movie file play on a 25gb disc (worked fine with Wild Hogs blu ray rip). I would simply leave one or 2 audio streams, make the file .m2ts, and then use Nero to create a data disc. When I tried to do this with 300, I get the "Unsupported Data" message. Any ideas what I need to do to back up 300 as a data file on blu ray disc so it's playable on the PS3?

B4tm4n
29th August 2007, 21:00
I have used TSremux to dump a few audio streams in order to make the movie file play on a 25gb disc (worked fine with Wild Hogs blu ray rip). I would simply leave one or 2 audio streams, make the file .m2ts, and then use Nero to create a data disc. When I tried to do this with 300, I get the "Unsupported Data" message. Any ideas what I need to do to back up 300 as a data file on blu ray disc so it's playable on the PS3?

Read my post just before yours, I think 300 is a VC1 encode.

http://bluray.highdefdigest.com/300.html

maya
30th August 2007, 03:03
Read my post just before yours, I think 300 is a VC1 encode.

http://bluray.highdefdigest.com/300.html

It is a VC-1 encode, but I thought that TSremux worked with VC-1 encodes. It certainly receognizes the VC-1 stream. Instead of marking .m2ts in the options I will mark blu ray and see if that works.

colinhunt
30th August 2007, 10:10
Well this is just wonderful: http://forum.beyond3d.com/showthread.php?t=43403

Those stupid b*******.

hollydoc
30th August 2007, 15:05
I have a PS3 Firmware 1.82 and i am splitt the movies, create A bLuray struktur with TSRemuxand burn 2or 3 DVD+R 8,5 GB, it works fine. In the near future, i will buy a Blu-ray burner.If I create a Blu-Ray struktur with TSremux and burn it on a BD-R or BD-RE, ist ist possible to play this disc on PS3 or a standallone Blu-Ray player?

hollydoc

Beastie Boy
30th August 2007, 15:18
Take a look here (http://forum.beyond3d.com/showthread.php?t=43403). BDR playback may well be dropped in the future according to this.

Cheers, Beastie.

hollydoc
30th August 2007, 16:02
That means, actuell the Ps3 support BDMV from BD-R/E?
I use my Ps3 to play Blu-Rays , when i don`t update the Firmware, there is not a Problem?
I think , next yeaar we can buy Blu-Ray player made in Taiwan for a smal price, and there is no problem with "selfmade movies"

hollydoc.

maya
30th August 2007, 22:19
Realistically, I doubt that this will ever develop, and I certainly hope not. This would mean that all those people out there that bought AVCHD camcorders would be screwed when wanting to burn all their hi def material to blu ray disc and programs like DVDit PRO hd would be helpless, as well as Nero, and many others. This is worse than the root kit crap that sony installed awhile back and if I remember right they had to remove that because it was deemed illegal. Sony will get what they deserve if HD DVD wins out in the end. One of the only reasons I buy blu ray movies is so I can back many of them up on disc, thus supporting the purchase of the movie and the blank blu ray media disc-Sony just doesn't get it, and if they don't get it soon they may loose it.

musicman2311
31st August 2007, 19:32
I've tried playing a VC1 blu-ray stream without any luck. (Lethal.Weapon.Blu-Ray.1080p.VC-1.DDPlus.5.1)
hi there, ps3 plays all the codecs said inpage 1. your problem is DD+, you need to demux the elementary streams, convert DD+ to AC3 and remux. it works.

maya
1st September 2007, 01:04
hi there, ps3 plays all the codecs said inpage 1. your problem is DD+, you need to demux the elementary streams, convert DD+ to AC3 and remux. it works.

The blu ray version of Leathal Weapon does not have DD+ as an audio stream, only regular dolby digital according to highdefdigest.com. And, as I also stated, 300 blu ray rip isn't recognized by the PS3 either when I use PCM audio-says unsupported data-I used TSremux and simply kept the VC-1 track, PCM track, and presentation graphics.

maya
1st September 2007, 01:08
I know I need Eac3toac3, but what else do I need to download in order to convert DD+ to AC3? I read the other posts regarding this and was confused. Can someone put it as simply as possible. Thanks.

madshi
1st September 2007, 10:09
The blu ray version of Leathal Weapon does not have DD+ as an audio stream, only regular dolby digital according to highdefdigest.com.
As far as I know there's not a single Blu-Ray disc which has a DD+ track on it. Blu-Ray can theoretically do DD+, too, but since it's a totally optional codec in the Blu-Ray specification no studio uses it. They're always using conventional AC3 with 640kbps instead.

madshi
1st September 2007, 10:11
I know I need Eac3toac3, but what else do I need to download in order to convert DD+ to AC3? I read the other posts regarding this and was confused. Can someone put it as simply as possible. Thanks.
You need:

(1) eac3to latest version
(2) Nero installed, latest version
(3) Nero HD DVD / Blu-Ray plugin needs to be properly registered

B4tm4n
1st September 2007, 10:59
The blu ray version of Leathal Weapon does not have DD+ as an audio stream, only regular dolby digital according to highdefdigest.com. And, as I also stated, 300 blu ray rip isn't recognized by the PS3 either when I use PCM audio-says unsupported data-I used TSremux and simply kept the VC-1 track, PCM track, and presentation graphics.

"Lethal.Weapon.Blu-Ray.1080p.VC-1.DDPlus.5.1" was the name of the release I tried it with, It is labled wrong then if it doesn't have DD+.
The point I was making was the PS3 can't play VC1 from the XMB, but if you use TsRemux to split up the file into dvd size chunks and use the Blu-ray output then you can burn the files to disc and play them on your PS3, with VC1 video.

maya
1st September 2007, 14:02
You need:

(1) eac3to latest version
(2) Nero installed, latest version
(3) Nero HD DVD / Blu-Ray plugin needs to be properly registered

Thanks madshi

B4tm4n
1st September 2007, 17:11
If any one interested heres a link to Manzanita MP2TSME 4.0.0

[deleted]

Hopes it okay to post this.

enjoyer
1st September 2007, 19:55
thx for link I hope this tool can create a error-free *.ts file!

B4tm4n
1st September 2007, 22:58
thx for link I hope this tool can create a error-free *.ts file!


Lets us know how you get on.

musicman2311
2nd September 2007, 08:11
question to the experts - can it be that AVC from HD DVD is also incompatible with Blu-ray (like DD+ and AC3) ?
Any advice ?

thanks

DreckSoft
2nd September 2007, 15:03
The MP2TSME files are always oversized. It also seems no solution for really problematic files. Sometimes the result isn't playable as well (picture just hangs) :-(

musicman2311
2nd September 2007, 18:01
question to the experts - can it be that AVC from HD DVD is also incompatible with Blu-ray (like DD+ and AC3) ?
Any advice ?

thanks

add on: error message from authoring tool - any advice is appreciated

Error Content: Value of Gaps_in_frame_num_value_allowed_flag is not supported in the BD standard

B4tm4n
2nd September 2007, 18:36
The MP2TSME files are always oversized. It also seems no solution for really problematic files. Sometimes the result isn't playable as well (picture just hangs) :-(


Ok then I got acouple of replies on how to use this app from www.abhdtv.net.

PESalign to "yes" is all that is needed.




use all defaults except for PESAlign set to yes in all cases. So a generic config file like this should suffice:


#% Manzanita Systems MP2TSMS Demo V2.14.0 DEMO Configuration File

# Transport Section
Transport*
File = d:\tx\targetFile.ts

# Program Section
Program1*

# Video Subsection
Video1$
File = mySource.m2v
PESalign = Yes

# Audio Subsection
Audio1$
File = mySource.ac3
PESalign = Yes


http://www.abhdtv.net/forum/showthread.php?p=69030#post69030

I don't know wether you have to register on the forum to see the posts, but I've included the link anyway.

survivant
2nd September 2007, 23:01
@B4tm4n

I try MP2TSME but the fileout size is out of range.. more than 6 gigs for a 1gigs h264 input file.

maybe Procoder 3 is able to do that.. but I'm not able to find a demo of trial that we can save file.

drmpeg
3rd September 2007, 00:58
add on: error message from authoring tool - any advice is appreciated

Error Content: Value of Gaps_in_frame_num_value_allowed_flag is not supported in the BD standard
The gaps_in_frame_num_value_allowed_flag in the SPS must be set to 0 for Blu-ray H.264 streams.

I'm not exactly sure why an encoder would want to use gaps_in_frame_num_value_allowed_flag = 1. It appears to be a way to exclude a picture from being a reference picture.

Ron

drmpeg
3rd September 2007, 01:11
@B4tm4n

I try MP2TSME but the fileout size is out of range.. more than 6 gigs for a 1gigs h264 input file.

It's probably just creating a T-STD compliant Transport Stream. This means that the overall Transport Stream rate must be higher than the peak video rate + audio rate + PES overhead + PSI overhead. So if your video is 6 Mbps average, but 24 Mbps peak, then the TS rate must be over 24 Mbps.

In addition, it probably determines peak bitrate by examining the VBV (CPB for H.264). If your H.264 elementary stream has CPB violations, then the mux rate will be artificially high.

Ron

survivant
3rd September 2007, 02:52
@drmpeg

thanks for the explanation.

survivant
3rd September 2007, 02:53
Did someone be able to get H264 working for the PS3 into a .ts ?

There is a program mkv2ts that seem to work for freeHDbox, but not for the PS3 :(

KoD
3rd September 2007, 11:10
I see people have still not understood ts is meant for streaming and it's not a storage container. You need to live with random seeking issues and file oversize if you want to use it.

enjoyer
3rd September 2007, 12:16
I see people have still not understood ts is meant for streaming and it's not a storage container. You need to live with random seeking issues and file oversize if you want to use it.

vlc-20061014 can remux (1280x720@25) mkv to ts without enlarging the file size!!


after remux the file plays fine in vlc but not on ps3...

but I guess it might be possible to remux mkv to ts without a increase

musicman2311
3rd September 2007, 19:13
The gaps_in_frame_num_value_allowed_flag in the SPS must be set to 0 for Blu-ray H.264 streams.

I'm not exactly sure why an encoder would want to use gaps_in_frame_num_value_allowed_flag = 1. It appears to be a way to exclude a picture from being a reference picture.

Ron

thanks, I derived the AVC stream from evodemux - would it help if evodemux automatically clears that bit while de-muxing ?

survivant
4th September 2007, 15:07
Did someone try the software DoStudio MX ? Suppose to authoring Blu-ray

Bugh
4th September 2007, 19:08
"Lethal.Weapon.Blu-Ray.1080p.VC-1.DDPlus.5.1" was the name of the release I tried it with, It is labled wrong then if it doesn't have DD+.
The point I was making was the PS3 can't play VC1 from the XMB, but if you use TsRemux to split up the file into dvd size chunks and use the Blu-ray output then you can burn the files to disc and play them on your PS3, with VC1 video.
When you split ts and remux it to DVD, PS3 recognizes them as AVCHD, but in AVCHD specification is written that it does not support VC-1 codec. Only AVC and mpeg. So i can't understand how you did it.
Btw, also AVCHD doesn't support dts (http://www.avchd-info.org/press/20060713.html)
P.S. But, BluRay supports both (VC-1 and dts), so as i understand, if you burn BluRay disk, and then PS3 should recognize it as BDMV and plays correctly. Am i wrong?

Creator1
4th September 2007, 20:11
When you split ts and remux it to DVD, PS3 recognizes them as AVCHD, but in AVCHD specification is written that it does not support VC-1 codec. Only AVC and mpeg. So i can't understand how you did it.
Btw, also AVCHD doesn't support dts (http://www.avchd-info.org/press/20060713.html)
P.S. But, BluRay supports both (VC-1 and dts), so as i understand, if you burn BluRay disk, and then PS3 should recognize it as BDMV and plays correctly. Am i wrong?

I did some tests this week-end and I successfully burned a VC1 video and DTS 1.5Mbps audio on a BD-R in BDMV format and it played flawlessly on the PS3. So yes, it works for sure. Firmware 1.9.

enjoyer
4th September 2007, 20:51
is it possible to burn a dvd which is recognised as "BDMV" and not "AVCHD" on the ps3???

musicman2311
4th September 2007, 21:02
is it possible to burn a dvd which is recognised as "BDMV" and not "AVCHD" on the ps3???

I did - works for me.

however I used DVD-RW to be precise and I set UDF 2.6
(not 2.5)

enjoyer
4th September 2007, 21:33
I did - works for me.

however I used DVD-RW to be precise and I set UDF 2.6
(not 2.5)

hmm I tried that but ps3 says AVCHD???

lance79
4th September 2007, 21:43
Hi, i am trying to convert a avc/ac3 movie to bluray with tsremux for my PS3

Source is 1280x544@23.976 (meGUI encoded)

At the moment the only way to do this is by converting the h264/AC3 stream to 1280x720@25fps

Then after i fixed the movie with h264info (without changing any settings) i can load it into tsremux and create a bluray output with it without any errors.

Normal mp4 files do play on the ps3 with on 544 resolution without surround sound.
So my question is, Would it be possible to have 1280x544/720@23.976 support in tsremux?

Thx...

hollydoc
4th September 2007, 22:46
Originally Posted by musicman2311
I did - works for me.

however I used DVD-RW to be precise and I set UDF 2.6
(not 2.5)

Do you have an US -PS3 or Europe Version? What version of Firmware is on the PS3?

Hollydoc

musicman2311
4th September 2007, 23:32
Do you have an US -PS3 or Europe Version? What version of Firmware is on the PS3?

Hollydoc

i have us PS3 with firmware 1.9

enjoyer
5th September 2007, 00:10
i have us PS3 with firmware 1.9

and you only burnt the bdmv folder with udf 2.60? and did you use the latest tsremux version?

drmpeg
5th September 2007, 01:00
thanks, I derived the AVC stream from evodemux - would it help if evodemux automatically clears that bit while de-muxing ?
Maybe. It depends on what your particular decoder does when it encounters non-contiguous frame numbers. When gaps_in_frame_num_value_allowed_flag = 0 and there are gaps in frame numbers, the decoder thinks there's an unintentional loss of pictures. The decoder may take some recovery action, or it may not do anything at all.

Therefore, I'd have to say that setting the gaps_in_frame_num_value_allowed_flag equal to zero in all SPS headers would be a good experiment to try.

Ron

hidef_rec
5th September 2007, 01:53
enjoyer, I also get AVCHD instead of BDMV when I use the latest TSRemux. I have a PS3 w/1.9 firmware. I used an MPEG2 file & the TSRemux Blu-ray output [BDMV & Certificate folders] burned to DVD-R, +R or +RW get recognized as AVCHD by the PS3. Don't have a -RW disc to try.

musicman2311
5th September 2007, 06:26
enjoyer, I also get AVCHD instead of BDMV when I use the latest TSRemux. I have a PS3 w/1.9 firmware. I used an MPEG2 file & the TSRemux Blu-ray output [BDMV & Certificate folders] burned to DVD-R, +R or +RW get recognized as AVCHD by the PS3. Don't have a -RW disc to try.

ok, i understand - i checked - ps3 indicates it found an avchd disk when i insert the recording - material however is 1080p and just run through tsremux - what is the problem if any ?

hollydoc
5th September 2007, 08:15
I also get AVCHD instead of BDMV when I use the latest TSRemux

This is normal, dmz1 has insert a Flag in TSRemux 018 for Nero Vision AVCHD for Bluray remux, my question is, when i remux a full movie with TSRemux 018 and burn on a BD-R/E ,what effect has it on PS3 is The result a playable BDMV or a "Big" AVCHD?
Anyone has test this?
Another Question , a Mini-Bluray (DVD9) from TSRemux018 plays fine on PS3, has anyone test it on a Standalone Bluray-Player?

Hollydoc

musicman2311
5th September 2007, 14:53
This is normal, dmz1 has insert a Flag in TSRemux 018 for Nero Vision AVCHD for Bluray remux, my question is, when i remux a full movie with TSRemux 018 and burn on a BD-R/E ,what effect has it on PS3 is The result a playable BDMV or a "Big" AVCHD?
Anyone has test this?
Another Question , a Mini-Bluray (DVD9) from TSRemux018 plays fine on PS3, has anyone test it on a Standalone Bluray-Player?

Hollydoc

hi I also made a BD-R with Tsremux 018 same way as I made the DVD-RW, but with udf 2.5 (if that makes a difference).
that shows as Bd-r / bdm when inserted in ps3.
I will test dvd9 soon

hollydoc
5th September 2007, 15:08
Try this with TSRemux 0.17, the only one differenz to 018 is, the Flag for AVCHD in the 018 version. AVCHD is a standard for DVD9 , i think not for Bluray, can you test please the follwing procedur:

-Remux a Bluray with TSRemux 0.17
- Burn a BD-R/E with Nero in UDF 2.5
-
I think, i is the Problen that AVCHD is not posible on BD-R but only on DVD9

Hollydoc

PS Ican`t test it , ihavn`t a Bluray burner, but i want to buy one in the next time.

Bigmango
5th September 2007, 15:41
AVCHD is a standard for DVD9

It works also on single layer DVD+-R/RW (DVD5).

hollydoc
5th September 2007, 16:04
It works also on single layer DVD+-R/RW (DVD5).

Yes, but it seems it works not on BD-R. I remember, in the version 017 a remuxt Bluray works on BD-R, the PS3 show
BDMV, bat not on DVD+R( Datadisk).dzm1 has chance anythig in the index.bdmv, now in the version 018 it wprks fine on DVD+R/W , PS3 shows AVCHD, but not on BD-R ( Datadisk.

Ithink , the Problem is the changed index.bdmv.Try to use version 017 for BD-R.

Hollydoc

Bigmango
5th September 2007, 16:18
Yes, but it seems it works not on BD-R. I remember, in the version 017 a remuxt Bluray works on BD-R, the PS3 show
BDMV, bat not on DVD+R( Datadisk).dzm1 has chance anythig in the index.bdmv, now in the version 018 it wprks fine on DVD+R/W , PS3 shows AVCHD, but not on BD-R ( Datadisk.

Ithink , the Problem is the changed index.bdmv.Try to use version 017 for BD-R.

Hollydoc

Oh ok.

So you mean that on DVD5 you are limited to 1080i and 2 audio formats due to avchd (supports 1080i max) but no bdvm support ?

Has123
5th September 2007, 16:49
My understanding is AVCHD enables a BD structure be burnt on DVD 5 or 9 R or RW and other portable media. The AVCHD has the limitations in this link http://www.avchd-info.org/press/20060713.html . ( no VC1 and max is 1080i/60 and 1080p/24). I do not have a BD writer but others reported that burning the BDMV folder on a bluray disc the PS3 will recognize it as BD.

Bugh
5th September 2007, 17:32
Hi, i am trying to convert a avc/ac3 movie to bluray with tsremux for my PS3

Source is 1280x544@23.976 (meGUI encoded)

At the moment the only way to do this is by converting the h264/AC3 stream to 1280x720@25fps

Then after i fixed the movie with h264info (without changing any settings) i can load it into tsremux and create a bluray output with it without any errors.

Normal mp4 files do play on the ps3 with on 544 resolution without surround sound.
So my question is, Would it be possible to have 1280x544/720@23.976 support in tsremux?

Thx...
If u burn it as AVCHD, the video stream must be 1280×720, 1920×1080 or 1440×1080 (it's written in AVCHD specification). Otherwise there will be green line (Also i have problem with video-audio synchronization)

Creator1
5th September 2007, 18:20
My understanding is AVCHD enables a BD structure be burnt on DVD 5 or 9 R or RW and other portable media. The AVCHD has the limitations in this link http://www.avchd-info.org/press/20060713.html . ( no VC1 and max is 1080i/60 and 1080p/24). I do not have a BD writer but others reported that burning the BDMV folder on a bluray disc the PS3 will recognize it as BD.

It has been some weeks since I did my tests with TSRemux 0.18 but from what I remember, creating a Blu-Ray structure with TSRemux 0.18 and then burning that structure to a BD-RE resulted in a BDMV being detected by the PS3 and the video played perfectly. It was not recognized as an AVCHD on a BD-RE disc but as a BDMV.

hollydoc
5th September 2007, 23:00
Originally Posted by Has123
My understanding is AVCHD enables a BD structure be burnt on DVD 5 or 9 R or RW and other portable media. The AVCHD has the limitations in this link http://www.avchd-info.org/press/20060713.html . ( no VC1 and max is 1080i/60 and 1080p/24). I do not have a BD writer but others reported that burning the BDMV folder on a bluray disc the PS3 will recognize it as BD

I`have testet MPEG2, AVC(H264) and VC-1 from Buray (1080/24P!) ans Ac3-, HAlf-DTS- and Full-DTS-Sound. PS3 plays all fine in 24p and 5.1 from a AVCHD ( DVD5 and DVD9),
also VC-1 and DTS.On Problem is a high datarate over ~35Mbps and higher for mor as 30 sec. The sound begins to stuttering. The PS3 can not transfer so big datarates from a DVD. Very short pikes over 40Mbps aren`t a problem.

Hollydoc

karollt
6th September 2007, 07:17
How can I add subtitles for Transport Stream?

hollydoc
6th September 2007, 09:17
This feature isn`t workink in this time, i hope it is possible in the next versions.

Holydoc

survivant
6th September 2007, 13:05
I try Elecard Xmuxer Pro 2.5 to mux a H264 into a ts. I'm able to play it only with VLC. The PS3 won't play it either :(

I try to Open the .ts file into TSREmux and the .m2ts generated don't play video in VLC.

Bigmango
6th September 2007, 13:14
I try Elecard Xmuxer Pro 2.5 to mux a H264 into a ts. I'm able to play it only with VLC. The PS3 won't play it either :(

I try to Open the .ts file into TSREmux and the .m2ts generated don't play video in VLC.

Same problem here.

Here, xmuxer 2.5 can't even mux h264+ac3. The program hangs after 10 seconds. With xmuxer 2.2 it works fine, but the files still won't play on the ps3 (I am encoding the avc with the megui ps3 profile, which is avc level 4.1). I have tried saving the files with h264info before muxing, the result is even worse as most of the time it won't even play in vlc or nero showtime after doing this. If I don't use h264info, the tsremux blu-ray directory plays fine with nero showtime (but not on the ps3).

Creator1
6th September 2007, 17:53
Survivant, Bigmango,

What is your goal? If you just want to be able to play the H264 files in the PS3 dashboard, I would suggest you try to mux them into a .mp4 container. That might make it work on the PS3 dashboard. The sound will never be in 5.1 surround in the dashboard though. Only stereo is supported from the dashboard so far on the PS3.

You can use Xmuxer to mux in .mp4 (although sometimes it's grayed out for some reason or does a weird .mp4 that does not play right) or yamb, mp4box, etc. i think. I did not do much test of muxing in .mp4 without re-encoding. The only MP4 I did so far were re-encodes in H264/AAC stereo sound.

Bigmango
6th September 2007, 18:05
Survivant, Bigmango,

What is your goal? If you just want to be able to play the H264 files in the PS3 dashboard, I would suggest you try to mux them into a .mp4 container. That might make it work on the PS3 dashboard. The sound will never be in 5.1 surround in the dashboard though. Only stereo is supported from the dashboard so far on the PS3.

You can use Xmuxer to mux in .mp4 (although sometimes it's grayed out for some reason or does a weird .mp4 that does not play right) or yamb, mp4box, etc. i think. I did not do much test of muxing in .mp4 without re-encoding. The only MP4 I did so far were re-encodes in H264/AAC stereo sound.

Thanks for replying.

I am using mp4 (avc+aac5.1), it works fine but the sound is downmixed to stereo.

My goal is to get 5.1 ac3 sound to play and for this I am trying to output an avchd/bd structure.

survivant
6th September 2007, 19:49
Thanks for replying.

I am using mp4 (avc+aac5.1), it works fine but the sound is downmixed to stereo.

My goal is to get 5.1 ac3 sound to play and for this I am trying to output an avchd/bd structure.

The only think that I found to get 5.1 in TSREMUX with mpeg2 or a vob (mux by ffmpeg) but it still mpeg2 for now.

pandy
6th September 2007, 22:15
Size of TS can be reduced when PID 1FFE is removed.
So called stuffing is putted on PID 1FFE to make whole TS CBR - for archiving purposes stuffing may be removed without any problem (VLC normally produce TS without PID 1FFE)

survivant
6th September 2007, 22:37
The sound will never be in 5.1 surround in the dashboard though. Only stereo is supported from the dashboard so far on the PS3.


what do you mean by "dashboard" ?

I been able to get mpeg2+ac3 5.1 in a vob never h264.

I have a really good sound system.. I don't want to listen movies in stereo.

survivant
6th September 2007, 22:45
Check this post :

http://forum.doom9.org/showthread.php?p=1042319#post1042319

it's almost working h264 + 5.1 on the PS3

Creator1
7th September 2007, 15:23
what do you mean by "dashboard" ?

I been able to get mpeg2+ac3 5.1 in a vob never h264.

I have a really good sound system.. I don't want to listen movies in stereo.

I mean when you play a file in the dashboard versus when you play a BDMV or AVCHD disc that boots the PS3's blu-ray player.

The PS3 cannot play 5.1 if it does not boot the Blu-Ray software player as far as I know. I never tried to play a .VOB file in the dashboard though (the XMB = Dashboard by the way) so maybe that works but I doubt it? It's been known that the PS3 stays in stereo always if you don't find a way to make it boot it's blu-ray software player... but maybe I am mistaking for .VOB files. I have a .mpg MPEG-2 file with 5.1 AC3 sound coming from a DVD on my PS3 and when I start the file it plays in stereo.

Your best hope if you don't have a blu-ray burner is to make an AVCHD structure work on a DVD-R disc. BDMV works perectly on a BD-R discs but you need to have a compliant AVC file if you do not want to re-encode.

survivant
7th September 2007, 18:55
I have a .mpg MPEG-2 file with 5.1 AC3 sound coming from a DVD on my PS3 and when I start the file it plays in stereo.

I'll check more this weekend. In the AVCHD structure I been able to get the DTS flag on my sound system, but no sound was coming out. I think it the bluray player that had problems to read fast enough the DVD-RW.

I'll try with another dvd.

If the sound is downmix to stereo, my sound system do a really godd job to recreate the surround effet..

ya.. I'll test with a good 5.1 DVD and reencode it and try it in vob+5.1 to listen the difference.. maybe my speakers are not good enough :(

Bigmango
7th September 2007, 20:01
The PS3 cannot play 5.1 if it does not boot the Blu-Ray software player as far as I know.

According to the many reports from other users, yes it does, over hdmi but not over the optical output.

It seems that the ps3 media player is sending the sound (5.1 aac, ac3,...) as multichannel pcm. This works if you have connected the receiver with hdmi, but it doesn't with the optical output (optical does not support the multichannel pcm bandwidth, only stereo).

Has123
7th September 2007, 20:25
According to the many reports from other users, yes it does, over hdmi but not over the optical output.

It seems that the ps3 media player is sending the sound (5.1 aac, ac3,...) as multichannel pcm. This works if you have connected the receiver with hdmi, but it doesn't with the optical output (optical does not support the multichannel pcm bandwidth, only stereo).

I do not have an HDMI receiver but if you can point me to a review or a report of what you are saying I'll go buy one today. Thanks,

Creator1
7th September 2007, 22:09
According to the many reports from other users, yes it does, over hdmi but not over the optical output.

It seems that the ps3 media player is sending the sound (5.1 aac, ac3,...) as multichannel pcm. This works if you have connected the receiver with hdmi, but it doesn't with the optical output (optical does not support the multichannel pcm bandwidth, only stereo).

That's an interesting thing to know. Thanks for the infos. If what you say is true, it surely explain why it doesn't work for me (optical). I know PCM can't pass through optical but I didn't knew the PS3 was sending all in LPCM to the amp. My PS3 settings are in bitstream so I find that weird. Maybe they added an option since then that permits to force bitstream 5.1 even in the dashboard of the PS3? I will check but I don't think they added that yet. I guess they simply force it to LPCM all the time, which is a bad move imho.

Bigmango
7th September 2007, 22:28
@ Has123 & Creator1

Yes I am on optical too.

I have seen this confirmed by several users on the official English or French PS3 forum sections (ps3 forums on playstation.com) as well as on several other forums and web sites. If you search google you should find it.

survivant
8th September 2007, 15:49
I'm optical too, because my sound system support HMDI.. but it's only a video passtrough :( So I have the video in HDMI, but my sound it optical ...

It won't be cheap an amp with HDMI audio. I have Onkyo SR505. If someone can confirm that 5.1 works perfectly with HDMI.. I'll change.

survivant
8th September 2007, 18:39
I try HMDI only with my TV.. No sound at all. If I try the movie in XMB.. there is sound.. Don't know what to do now. What the difference our .ts (h264 + ac3) and the ts. in the bluray disc that we can buy ?

maya
8th September 2007, 21:45
Here is my end all goal: Rip my HD DVD's so they will play on my Tvix 4100 media streamer. The Tvix reads the following containers: .mpg, MPEG2, .ts, .M2ts, .mkv. So, I have:
1) Ripped my .EVO files onto my hard drive (Perfect Storm HD DVD).

2) I then used evodemux.exe to get rid of everything except the DD+ audio stream

3) I then used eac3to.exe (in conjunction with graphical user interface version) to convert the DD+ to AC3.

My problem now is getting the AC3 audio track back into the .EVO file where the video is. The other way I could do this is to use TSremux first to change the whole file to .m2ts or .ts, and then do the audio conversion, but I still have the problem of getting that AC3 audio stream back into the movie file. Any help would be greatly appreciated (and please provide as much info regarding what I need and how to use it-I know many of you here are way over my head, but please have patience with me).

tvjunky
9th September 2007, 11:46
@maya: I think, this thread could be helpful:
http://forum.doom9.org/showthread.php?p=1035422#post1035422

Demone
9th September 2007, 12:15
I have a BD and I'd like to swap the ac3 audio with one of another language I have from DVD and it seems not possible with tsremux, is there a way to do that ?

maya
9th September 2007, 14:50
@maya: I think, this thread could be helpful:
http://forum.doom9.org/showthread.php?p=1035422#post1035422

tvjunky, thanks this looks pretty comprehensive. I will give it a shot.

hollydoc
9th September 2007, 15:11
If your BD is in MPEG 2, there is no problem

-demux Video and one Audiosteamfor examble engl. ac3
-engl. ac3 > besweet > 6waves
- ac3 from DVD > besweet > 6 waves, if our DVD in 25fps in
the presetts you can say: PAL -> NTSC (25.000 to 23.976)
-comare the center Wave fron both ac3-track
- begin and end of the BD and the DVD are diferent in any
movies
-cut the 6 waves from your ac3 ( other language)
- use Sonic Audio Transcoder 6 waves to AC3
-Womble Mpeg Video Wizard 2006 > Tools > MPEG Multiplexer
- mux the Vodeo from the Bluray and the new ac3-track to
*.mpg
-*. mpg > TSRemux > *.m2ts

I have tested several progamms for muxing MPEG, Mpeg Video Wizard create a BD- copliante mpeg, i had many problems with other programms.

For BD with AVC or VC-1 codec i have no ídea, i have test many hours, The problem is to find a program.
The best results for AVC and ac3 i had with Mpeg Video Wizard AVC and ace to ts > TS remux > Bluray. The PS3 plays the Video fine Ac3 in the info but can play the sound correkt.
Mpeg Video Wizard has a lot options but i don`t know what they mean.

Hollydoc

hollydoc
9th September 2007, 15:20
The best results for AVC and ac3 i had with Mpeg Video Wizard AVC and ace to ts > TS remux > Bluray. The PS3 plays the Video fine Ac3 in the info but can play the sound correkt.
Mpeg Video Wizard has a lot options but i don`t know what they mean.



A little mistake, not with Mpeg Video Wizard , but Manzanita MP2TSME 4

Hollydoc

Demone
9th September 2007, 23:09
The video track is AVC so I need to use MP2TSME ?

What does it mean "and ace to ts > TS remux > Bluray" ? you mean "and ac3 to ts" ?
I have manzanita and it seems I need to create again a table but there are a lot of settings...

Should I:
Use the Tools->Demux and demux all streams
Swap old ac3 with my ac3 and remux them all into .ts
Use tsremux to transform in .m2ts

My ac3 is already modified from 25 to 23.976 fps

Usul
10th September 2007, 00:24
Just curious if any new version are on their way of Tsremux?

Just wondering what is happening to MKV support in it..


Thanx, and loving this awesome software...:)

hollydoc
10th September 2007, 05:27
What does it mean "and ace to ts > TS remux > Bluray" ? you mean "and ac3 to ts" ?

Yes.

Should I:
Use the Tools->Demux and demux all streams
Swap old ac3 with my ac3 and remux them all into .ts


For demuxig I use TSREmux. I had mux the AVC videotrach with MP2TSME in Ts, Teh TS is bigger in the filesize(2-3x).
After Remux with TSREnmux in TS, m2ts or Bluray , i have the original filesize, the movie plays perfect on PC with PDVD and MPC,but on the PS3 i have problems whit the sound.


Holllydoc

survivant
10th September 2007, 12:51
Didn't find anyonw that was able to play AVC and AC3 in bluray format. Maybe there something tricky int he authoring pass.

did someone try Encode CS3 ? DVDit pro HD don't output AVC, only mpeg2 :(

If you have a software (can be demo or trial) send me a PM and I'll test it.

There should be a new release of Scenarist 4.5 and Rhozet Coder 3 in september.. maybe that will help.

VempX
10th September 2007, 14:32
who can tell me how to demux the audio track from .m2ts file?
THX

Has123
10th September 2007, 16:19
You can use TSRemux to demux (Rt click on the stream). xport is another option.

Demone
10th September 2007, 17:19
@Holllydoc
I have all tracks extracted, notice that I have Video, Audio and other (like 10) tracks of a type I cant remember right now, the name has something to do with graphics, I think they are menus parts.

Can you tell me the steps to remux them *ALL* in MP2TSME ?
Back home I'll get a screenshot of tsremux tracks list and post it if you want.

Thanks

VempX
10th September 2007, 19:09
You can use TSRemux to demux (Rt click on the stream). xport is another option.

Thank you for your help~

I had demux the audio.This track is 5.1ch LPCM.I want to Encode it to Flac,but flac.exe doesn't work.Who can tell me why?

It tells me:

aaa.wav: ERROR: WAVE has >2 channels but is not WAVE_FORMAT_EXTENSIBLE; cannot a
ssign channels

hollydoc
10th September 2007, 21:21
@Holllydoc
I have all tracks extracted, notice that I have Video, Audio and other (like 10) tracks of a type I cant remember right now, the name has something to do with graphics, I think they are menus parts.

Can you tell me the steps to remux them *ALL* in MP2TSME ?
Back home I'll get a screenshot of tsremux tracks list and post it if you want.



The 10 other tracks are Subtitles. In MP2TSME i try the folowing Steps:

-New project
-Video and audio per drug and drop
- PESaliggn yes by Video and audiosetting
- Change framerate by videosettings from auto to 23.976 if the tracks from a bluray

-muliplex

The *.ts is 2-3 bigger then sorce
*.ts > TSRemux > Ts or M2ts this step is nessesary for correct size

Hollydoc

lance79
10th September 2007, 23:20
Yes.



For demuxig I use TSREmux. I had mux the AVC videotrach with MP2TSME in Ts, Teh TS is bigger in the filesize(2-3x).
After Remux with TSREnmux in TS, m2ts or Bluray , i have the original filesize, the movie plays perfect on PC with PDVD and MPC,but on the PS3 i have problems whit the sound.


Holllydoc

Have u tried to use an avc video, encoded with procoder 3? u'll see that MP2TSME doesnt oversize then, got something to do the way the video made.But still i cant get the audio to work on ps3 to :S

survivant
11th September 2007, 03:14
Have u tried to use an avc video, encoded with procoder 3? u'll see that MP2TSME doesnt oversize then, got something to do the way the video made.But still i cant get the audio to work on ps3 to :S

same problem here, but i'm using xmuxer pro and tsremux to mux. the sound never works with AVC .. don't know why.

I'm trying Encore CS3.. will see if I'm able to get farther.

K40
11th September 2007, 18:26
H264 HDTV Sat records from S*yUK can't be remuxed.
It's a TS File and if i load it into TSremuxer there is the AVC Video
Stream and two Audiostreams.
But the message NO PCR AVAILABLE appears and it's not possible to remux.

Any ideas how to fix the problem with the missing PCR ?

Regards , K40

otaku975
15th September 2007, 14:36
can i use this program to remux the files into a new m2ts and burn them on bdr ?

musicman2311
25th September 2007, 19:50
The gaps_in_frame_num_value_allowed_flag in the SPS must be set to 0 for Blu-ray H.264 streams.

I'm not exactly sure why an encoder would want to use gaps_in_frame_num_value_allowed_flag = 1. It appears to be a way to exclude a picture from being a reference picture.

Ron

I derived the AVC through evo demux - i do not think a new version of scenarist will ignore this flag being set.

Does anyone have an idea how to clear that flag ?

As for AVC and blu-ray -i think 'chicken little' is avc on blu ray.

musicman2311
26th September 2007, 01:35
I derived the AVC through evo demux - i do not think a new version of scenarist will ignore this flag being set.

Does anyone have an idea how to clear that flag ?

As for AVC and blu-ray -i think 'chicken little' is avc on blu ray.

Hi all, to whom it may concern - I created a back-up in 2 parts on DVD+R DL UDF 2.6 with Tsremux 0.18.
The discs have AVC and AC3 and play fine on PS3.

I also checked a piece of the AVC in the authoring tool and it does not return above mentioned Flag being set.

hope this helps

Bigmango
26th September 2007, 01:52
Hi all, to whom it may concern - I created a back-up in 2 parts on DVD+R DL UDF 2.6 with Tsremux 0.18.
The discs have AVC and AC3 and play fine on PS3.

I also checked a piece of the AVC in the authoring tool and it does not return above mentioned Flag being set.

hope this helps

Thx for the info.

How did you mux the avc+ac3 ?

musicman2311
26th September 2007, 02:55
Thx for the info.

How did you mux the avc+ac3 ?

As indicated, just with tsremux. But I tested authoring tool and i am convinced that it will work, since it didn't return the error reported earlier when using material from another source with evo demux.

Bigmango
26th September 2007, 03:11
As indicated, just with tsremux. But I tested authoring tool and i am convinced that it will work, since it didn't return the error reported earlier when using material from another source with evo demux.

:confused:

AFAIK tsremux can't import avc & ac3 to mux them together. You need to import a muxed stream... mkv or m2ts/ts....

So what did you load into tsremux? Did you save an HDDVD stream (what format?) with evodemux and load it with tsremux to save it as a blu-ray structure (AVC+ac3)?

musicman2311
26th September 2007, 04:12
:confused:

AFAIK tsremux can't import avc & ac3 to mux them together. You need to import a muxed stream... mkv or m2ts/ts....

So what did you load into tsremux? Did you save an HDDVD stream (what format?) with evodemux and load it with tsremux to save it as a blu-ray structure (AVC+ac3)?

ok - just tested

demux clip from blu-ray ; avc and ac3 ; then mux ; then burn BD-RE this time. Plays fine on PS3 ; as said - when i take avc from HD-DVD i get error in authoring tool - ok ? check private mail for details

hollydoc
26th September 2007, 09:24
[QUOTE][demux clip from blu-ray ; avc and ac3 /QUOTE]

? AVC 1080p 23.976fps? or a Bonusclip with low resolution.

Please give me a shortguide, how i can remux AVC from a Bluray and AC3 5.1 .

Hollydoc

musicman2311
26th September 2007, 12:54
[QUOTE][demux clip from blu-ray ; avc and ac3 /QUOTE]

? AVC 1080p 23.976fps? or a Bonusclip with low resolution.

Please give me a shortguide, how i can remux AVC from a Bluray and AC3 5.1 .

Hollydoc

that is what i used. check your mail

Full review here:
http://bluray.highdefdigest.com/chickenlittle.html

enjoyer
27th September 2007, 02:17
http://moitah.net/ (only for avi MPEG-4 ASP :( )

ohhhh we need a mkv MPEG-4 AVC resize tool.....1280x544to1280x720 (without reencode)

to fulfill these AVCHD specifications.....

musicman2311
1st October 2007, 15:15
question to the experts

tsremux and mkv - i tried a 3 min clip ; it took about 20 min to load into tsremux.
by the way - it took about 1 hour to convert from m2v to mkv
per minute on an athlon 2600+ (1080p clip) - is that normal?

vlada
1st October 2007, 23:16
question to the experts

tsremux and mkv - i tried a 3 min clip ; it took about 20 min to load into tsremux.
by the way - it took about 1 hour to convert from m2v to mkv
per minute on an athlon 2600+ (1080p clip) - is that normal?

Certainly not. It should take much less then 1 minute to do it.

sl1982
3rd October 2007, 05:50
Hey guys I am new to the forums but would like to say I love your program. I am trying to merge multiple ts files and then use tsremux to fix the transport stream (vc-1 and h264) I am getting errors when trying to do this. I noticed that there is a warning that there is no PCR available. Is there any way I can use this program to do this or do I need to find something else? Thanks in advance!

sl1982

Olebrumm71
4th October 2007, 13:03
Hello!

I am wondering if the BluRay output from TSRemux supports subtitle playback (if subtitle streams are present in the .M2TS input) when burned as an AVCHD disc?

The reason for asking is that I have so far achieved the following:

* Split main movie .m2ts file from BluRay disc into ~4.3 GB chunks (dividable by 192) using HDBDSPlitGUI
* Run each .m2ts segment through TSRemux 0.18 selecting BluRay output and keeping all streams (including audio and subtitle streams)
* Burn output from TSRemux 0.18 as UDF 2.50 on DVD+R disc.
* Successfully playback DVD+R disc in PS3 with 5.1 audio

* Audio stream/subtitle stream selection is not available when playing the AVCHD disc burnt from the TSRemux output.


Is this as expected with the current version of TSRemux (0.18) ? Or am I doing something wrong?

If this kind of functionality is not currently implemented in TSRemux, are there any plans to extend the functionality of TSRemux to produce a more "advanced" BluRay-output, enabling audio/subtitle stream playback/selection when burned as AVCHD disc?

maya
6th October 2007, 01:13
I ripped "Troy the Director's Cut" on HD DVD and it is in two files-I used Evodemux to put it into one large file first and I got the same error when it was half way through (in other words when it started the second half of the movie). So, I tried using Tsremux on just the second file alone and the "Index was Outside the bounds of the array" message pops up then as well. Does anyone know how I can fix this? I searched back through the thread and saw that some others had the same problem with mkv files, but I didn't see any answers. Thanks in advance.

Note: This same problem occurs with Twilight Zone HD DVD rip as well.

karollt
18th October 2007, 08:43
Hi, I have 10DVD with movies, and I'd like to remux it to ts. With TSRemux (0.18) I can open only 1 vob and remux it to 1 ts. Is is posible to import all vobs ant to remux to 1 ts, or some how to join all ts. Thenks alot

vlada
18th October 2007, 14:20
karollt> I would suggest you to use Avidemux for your task.

karollt
22nd October 2007, 08:25
Another problem. On Vob I have only AC3, I'd like to add one more stereo track, for example to convert one of this AC3. Is it posible?

bobbel
27th October 2007, 13:36
amazing software - thanks a lot!
I hope u will be able to fix .mkv input.

Have a great weekend

bobbel

bobbel
27th October 2007, 17:54
Interesting...

It seems that it's harder for my puter to play h264 (1080p) using the blu-ray structure created by TsRemux (PowerDVD7) (90-100% CPU)
than running the same movie from a .mkv- or .ts-file (Hali+CoreAVC) (50-90%)

Intel P4 3,6GHz; 2Gig RAM; ATI X1950 Pro AGP

anyway it's a great app :)

bobbel

halsboss
28th October 2007, 01:09
Is there a way to get it working without .NET ?

g0blez
31st October 2007, 16:17
Maybe this thread is better suited for my dilemma.
I've been trying to convert a 720p 23.976fps x264+ac3 MKV into AVCHD.

What I've done:

1 - Use MKVextract the mkv file
2 - Use ffmpeg with the following syntax to mux the h264 and ac3 into a m2ts file:
"ffmpeg.exe -r 23.976 -f h264 -i input.h264 -f ac3 -i input.ac3 -vcodec copy -acodec copy -f vob output.m2ts"
3 - Load the m2ts file into TsRemux018
4 - Uncheck "Use async I/O"
5 - Select "Blu-Ray" as output format
6 - Burn the output using Nero 7 (UDF 2.6) on a DVD+RW
7 - Pop the disc in my PS3 (FW 1.93)

Now, the disc is detected as an AVCHD DVD+RW. However, when I click on it, it leaves from the XMBand enters the Blu-rRy player but the screen remains black and no sound is outputted.

Did I miss something? Why isn't this working?

scissors
31st October 2007, 19:33
Maybe this thread is better suited for my dilemma.
I've been trying to convert a 720p 23.976fps x264+ac3 MKV into AVCHD.

What I've done:

1 - Use MKVextract the mkv file
2 - Use ffmpeg with the following syntax to mux the h264 and ac3 into a m2ts file:
"ffmpeg.exe -r 23.976 -f h264 -i input.h264 -f ac3 -i input.ac3 -vcodec copy -acodec copy -f vob output.m2ts"
3 - Load the m2ts file into TsRemux018
4 - Uncheck "Use async I/O"
5 - Select "Blu-Ray" as output format
6 - Burn the output using Nero 7 (UDF 2.6) on a DVD+RW
7 - Pop the disc in my PS3 (FW 1.93)

Now, the disc is detected as an AVCHD DVD+RW. However, when I click on it, it leaves from the XMBand enters the Blu-rRy player but the screen remains black and no sound is outputted.

Did I miss something? Why isn't this working?

you'll probably find the resoluion isn't 1280x720 but 1280x528 or something similar.

also, you don't /have/ to burn udf 2.6 you can use an external usb drive and as long as the m2ts file is less than 4 gig (fat 32) and play it of the xbar (triangle = display all).

g0blez
31st October 2007, 20:02
you'll probably find the resoluion isn't 1280x720 but 1280x528 or something similar.

also, you don't /have/ to burn udf 2.6 you can use an external usb drive and as long as the m2ts file is less than 4 gig (fat 32) and play it of the xbar (triangle = display all).

It is 1280x720. This is the stream info:
AVC - MPEG-4 AVC - High@L5.1 - 1280 x720

I also tried changing the stream to High@L4.1 but that didn't help.

I was under the impression that loading the m2ts from a usb key wouldn't give me 5.1... because it sure doesn't.
I'm using optical out btw.

scissors
4th November 2007, 17:26
[QUOTE=g0blez;1060599]It is 1280x720. This is the stream info:
AVC - MPEG-4 AVC - High@L5.1 - 1280 x720

I have used a different method to get to the same place as yourself. Black and no sound avchd in ps3. Neroshowtime plays the m2ts in sync.

I tried importing the avchd structure from tsremux back into nerovision. Nero says it's not avchd.

I created a quick test with nero vision, which was accepted straight back in.

I'm not sure tsremux works....

g0blez
4th November 2007, 17:58
I have tried various methods to convert .mkv to AVCHD format.
Some methods involved re-muxing only while others involved completely re-encoding. In the end, I was never able to get 720p h.264+ac3 to play on the PS3 when muxed with TsRemux.

I haven't experimented at all with 1080p yet since it's a waste of space given that my TV doesn't support it - I just want to get 720p working.

I have seen a working 720p (h.264 + ac3) AVCHD. It played fine on the PS3 with 5.1 sound and was simply amazing. I don't know how it was authored... :(

scissors
4th November 2007, 22:38
I have tried various methods to convert .mkv to AVCHD format.
Some methods involved re-muxing only while others involved completely re-encoding. In the end, I was never able to get 720p h.264+ac3 to play on the PS3 when muxed with TsRemux.

I haven't experimented at all with 1080p yet since it's a waste of space given that my TV doesn't support it - I just want to get 720p working.

I have seen a working 720p (h.264 + ac3) AVCHD. It played fine on the PS3 with 5.1 sound and was simply amazing. I don't know how it was authored... :(

i re-encoded to 720p then remuxed with the ac3. I give up for now. I'll just play the re-encoded mp4 from the xbar.

to be honest i only want it for the hd dvd only stuff. i buy blu-ray...

Adero
7th November 2007, 13:49
I finally managed to write a fully working AVCHD compliant dual layer DVD+R (mostly only using free tools, just the excellent XMuxer from Elecard is needed - and tools you need to decode EAC3 and VC1/H264). This disc has encoded x264 level 4.1 video (1440x1080) and 5.1 AC3 sound. Fast forward and backward works great (at least on the PS3, I am unable to test other BD player). The video and audio is in sync (from the beginning to the end), I had to set an aduio offset for this movie though (directly in the muxer)...

This is what I did:
First of all I demuxed the original .EVO using EVOdemux and transcoded the audio using eac3to to AC3 448 kBit/s and the video stream was reencoded with x264 using level 4.1 and resolution 1440x1080 with a bitrate of around 7.7 Mbit (audio and video conversion has been discussed thorougly in this forum, so I just refer what for parameters I used...).
Then I loaded the h264 file in H264Info alpha .11. I left all fields blank but set the aspect ratio (most probably "16:9") and the level again to 4.1 and the resolution (in my case "1440" and "1080").
Afterwards I used the Elecard XMuxer Pro 2.5.105 Build 70528 (most probably the Lite version will do also - which ist not that expensive - $60 against $100) in order to multiplex the h264 and the AC3 stream. I used the default settings, but choose to multiplex to a Program stream(!). In my case I had to set an audio delay, which can also be done with Elecard (given in milliseconds).
Now I have a program stream which I load into TsRemux v.0.0.18 (with async I/O disabled). TsRemux creates a AVCHD disc which I burned to a dual layer DVD+R, which plays perfectly in the PS3 (seeking, chapter jumping, fast forward and backward, stays in sync over the whole movie, is real 5.1 sound)...
I tried doing the ffmpeg way for multiplexing, but it seems that ffmpeg only sets the timestamp for very first frame of the video. And as TsRemux seems to be really only a _re_muxer, no new timestamps are generated. Thus the video playback is out of sync from the first skip or fast forward...
I also tried to create a transport stream (as is selected as default in Elecard), but TsRemux crashed for me when using such a stream.

/Adero

kensystem
7th November 2007, 21:59
Playing around with the idea of recoding all my old DV tapes onto BD/9, I encoded a test file with ffmpeg:

E:\>ffmpeg -i 9oct.avi -vcodec libx264 -b 6000 -g 12 -bf 2 -b_strategy 1 -coder 1 -subcmp 2 -cmp 2 -trellis 2 -me hex -qmax 33 -acodec libfaac -ab 64 -f mpegts
ffmpeg.m2ts -t 5

http://kensystem.com/ffmpeg.m2ts

It plays in mplayer + latest ffdshow albeit with some visual problems. However when I run it through remux the file size doubles (in this case) and the file cannot be played at all:

http://kensystem.com/remux.m2ts

Anything I should try?

digitlman
8th November 2007, 16:23
Hi, first off i want to say thanks for writng such a great program. the ability to stream streams and extras from BR movies is a tremendous diskspace saving feature! All has gone well for me until i ran into Stargate. there seems to be some sort of possible bug in the program, when converting to blruay disk format while leaving only the mpeg2 video and dts-hd audio track it chugs along fine until about 57 minutes is left in the movie and then it slows to a crawl. i have left it running overnight a couple of times. it eventually gets a memory error or something and aborts. i tried moving it to another computer that is faster and has more memory and after 24 hours got it to make it down to only 36mins left before it crashed. any chance for a bugfix? or maybe i could try to find an older version that might not have that same result?

thanks

hgmeier
8th November 2007, 17:00
Hi,

I converted an DD+ track from an HD-DVD to DD. Now I don't know how to bring the video-stream and the audio-stream back together. Can TSRemux do that? I can't find out, how to do that. Seems to be not so easy... It would be nice, if someone could give me a hint.

Thanks,

Chris

digitlman
8th November 2007, 19:35
well i actually just got someone to send me version .16 and it processed Stargate just fine. i will try playing it tonight and make sure it worked ok

madshi
8th November 2007, 20:10
I converted an DD+ track from an HD-DVD to DD. Now I don't know how to bring the video-stream and the audio-stream back together. Can TSRemux do that? I can't find out, how to do that. Seems to be not so easy... It would be nice, if someone could give me a hint.
TsRemux doesn't work for that cause it cannot mux new/converted audio tracks. Here's what I'm usually doing:

(1) I'm demuxing the audio tracks and converting them to the format I like.
(2) For VC-1 and MPEG2 movies I'm joining the EVO files with EvoDemux into one big EVO file.
(3) Then I'm remuxing the video track (only the video track) of joined video file to MKV by using Haali's Media Splitter + Haali's Matroska Muxer.
(4) Next I'm rewriting the timestamps of the newly created MKV with mkvtoolnix to 23.976.
(5) Finally I'm muxing the converted audio tracks into the MKV, again by using mkvtoolnix.

Works just fine for me. However, h264 movies are still a major pain. Haali's Matroska Muxer doesn't properly handle h264 Blu-Rays and HD DVDs, unfortunately... :(

honai
8th November 2007, 20:41
However, h264 movies are still a major pain. Haali's Matroska Muxer doesn't properly handle h264 Blu-Rays and HD DVDs, unfortunately...

Just remux to elementary stream (.264) with xport, and import into mkvtoolnix (you have to set the framerate manually), works just fine.

Thunderbolt8
8th November 2007, 20:55
However, h264 movies are still a major pain. Haali's Matroska Muxer doesn't properly handle h264 Blu-Rays and HD DVDs, unfortunately... :(as honai already said, just demux the video stream with evodemux or xport. its actually even easier as for VC-1 streams, because you dont have(and cant?) do the additional step with gdsmux in between, you can put the raw stream into mkvmerge directly.

dmz01
8th November 2007, 21:10
Hi, first off i want to say thanks for writng such a great program. the ability to stream streams and extras from BR movies is a tremendous diskspace saving feature! All has gone well for me until i ran into Stargate. there seems to be some sort of possible bug in the program, when converting to blruay disk format while leaving only the mpeg2 video and dts-hd audio track it chugs along fine until about 57 minutes is left in the movie and then it slows to a crawl. i have left it running overnight a couple of times. it eventually gets a memory error or something and aborts. i tried moving it to another computer that is faster and has more memory and after 24 hours got it to make it down to only 36mins left before it crashed. any chance for a bugfix? or maybe i could try to find an older version that might not have that same result?

thanks


Did you try disabling async I/O?

hgmeier
9th November 2007, 08:05
TsRemux doesn't work for that cause it cannot mux new/converted audio tracks. Here's what I'm usually doing:

(1) I'm demuxing the audio tracks and converting them to the format I like.
(2) For VC-1 and MPEG2 movies I'm joining the EVO files with EvoDemux into one big EVO file.
(3) Then I'm remuxing the video track (only the video track) of joined video file to MKV by using Haali's Media Splitter + Haali's Matroska Muxer.
(4) Next I'm rewriting the timestamps of the newly created MKV with mkvtoolnix to 23.976.
(5) Finally I'm muxing the converted audio tracks into the MKV, again by using mkvtoolnix.

Works just fine for me. However, h264 movies are still a major pain. Haali's Matroska Muxer doesn't properly handle h264 Blu-Rays and HD DVDs, unfortunately... :(

Okay, but at the end I get a mkv that I can't use for a bluray disc. TSRemux doesn't like the mkv for some reason. Is there a way to generate a m2ts that I can use for the generation of a bluray structure with TSRemux?

Thanks,

Chris

madshi
9th November 2007, 09:40
Okay, but at the end I get a mkv that I can't use for a bluray disc.
Sorry, can't help you there. Wasn't aware that you want to end up with a Blu-Ray disc.

hgmeier
9th November 2007, 19:19
Yes, I wanted to end up with a bluray disc. I didn't want to buy an additional HD-DVD Player only for the few discs that are available exclusively on HD-DVD. So I thought that there should be somehow a way to convert the discs for a Bluray-Player, in my case a PS3. But obviously this is not possible and I just can hope that those movies will be released on BD one day.

Chris

Pyth0n
11th November 2007, 04:47
PS3 now can Playback 5.1 from XMB since Firmware 2.0.

Tested with a VOB file I extracted from my pink floyd DVD.
Remuxing a MKV movie with AC3 5.1 to test.

Would like to have some AAC 5.1 to test. And other audio formats like DTS.

tyee
11th November 2007, 09:23
hgmeier

Yes you can convert HD DVD to Bluray PS3!

Read This -- http://www.hardforum.com/showthread.php?t=1234100

hollydoc
11th November 2007, 10:50
PS3 now can Playback 5.1 from XMB since Firmware 2.0.

Tested with a VOB file I extracted from my pink floyd DVD.
Remuxing a MKV movie with AC3 5.1 to test.

Would like to have some AAC 5.1 to test. And other audio formats like DTS.

But 1080/24P is not possible frm XBM? Anyone has test this?

Hollydoc

hollydoc
11th November 2007, 11:49
hgmeier

Yes you can convert HD DVD to Bluray PS3!

Read This -- http://www.hardforum.com/showthread.php?t=1234100

It is possible with HD-DVD with VC-1 codec. AVC from HD-DVD Scenarist don`t like.
Another Problem is the postautoring flag in videostreams. All Blurays from HD-DVD the PS3 will play in 1080i 60Hz with 2:3 pulldown.

Hollydoc

hgmeier
11th November 2007, 18:02
hgmeier

Yes you can convert HD DVD to Bluray PS3!

Read This -- http://www.hardforum.com/showthread.php?t=1234100

... thnaks for your reply. The problem is that I need Sonic Scenarist for that procedure. This progream is really quite expensive, so I have to find an alternative program.

Chris

tyee
11th November 2007, 20:18
@hollydoc
I just tried using tsremux for the first time following, I believe, your procedure here

http://www.hdtvtotal.com/module-pagesetter-viewpub-tid-1-pid-1051.html

I was backing up a bluray with an AVC coded movie. After getting it off the disk onto the HDD, the main feature plays fine in MPC, VLC starts and shows the first few frames then crashes, MPlayer plays fine.

I put it through tsremux after selecting the AVC video and DD audio and when I try to play it I only get the following --

1. VLC crashes
2. MPC plays only the audio (the MPC window stays small)
3. MPlayer plays good with ffmpeg H.264 codec (information window)

Regarding MPC, looks like tsremux is doing something to the stream that MPC doesn't like, Maybe VLC can't play these yet, and MPlayer seems ok.

Any hints as to what you think is happening. I think it might have to do with the movie being AVC because I tried some other MPEG encoded .m2ts streams from the movie and put them thru tsremux and they play fine.

I do have the CoreAVC codec installed, but maybe it's not setup correct?? Not sure what to do next.


Update -- I just copied the split files (4GB each, due to fat32 limits of PS3) onto an external 2.5" laptop drive and connected to the PS3 via a USB cable and it plays just fine! (I found a fat32 formatter that will format any size drive as fat32 so you don't have to break it into 32GB partitions like MS wants you to!! My laptop drive is 250GB! I do notice that a few scanlines are cutoff at the bottom of the picture.

Now the secret is how to get all of the 4GB files to play one after the other without having to start them playing manually. Anyone have any tips?

Inventive Software
12th November 2007, 05:07
Playlist file?!

tyee
12th November 2007, 05:59
There is a feature called "Play from beginning" which I tried but it didn't work to play the second file,etc.

I'm new to the PS3 so I'll try the playlist too, thanks.

digitlman
12th November 2007, 21:38
Did you try disabling async I/O?

Yes i always disable async i/o as i had problems the first time i tried it with it on.

Someone sent me version .16 and it worked fine. So apparently it is a bug that cropped up in .18 (or .17?) i think it is some sort of memory leak. when i ran taskmanager my cpu usage is maxed at 100% and memory usage is jumping up and down about 200MB a chunk every few seconds. the program is actually working, it just takes forever, maybe two minutes of video processed in an hour or so (wild guess) but it could never finish, it eventually gets a memory error or something and crashes.

Thunderbolt8
19th November 2007, 01:34
remuxing of seamless branching blue rays causes trouble. I tried it with ratatouille, but throughout the movie the audio goes out of sync (and mpc crashes sometimes).
someone else who did this already succesfully sent me a picture of his tsremux settings (which were basically only lpcm + avc stream selected, use async i/o checkmarked and m2ts packets) and what was strange was that in his case the field video length showed the correct length of ~1:50:31, while in my case it was only 8 mins + rest! how can this be, we both joined the .m2ts files together the same way, using copy /b :S

when I load the with tsremux remuxed .m2ts file again in tsremux ( :D ) then it displays a length of only 1:50:29+rest, that means compared to the real video length I lost 2 seconds throught this process ? :S

woah!
21st November 2007, 06:34
i got ratatouille done ok, but had to run the muxed m2ts through behappy to a wav file using directshow first to get a correct audio length. then i used encWAVtoAC3 to get a 448kb ac3 file.

i used TSSplitter v1.0 and sorted out the order in it and muxed to 1 m2ts file first.

Thunderbolt8
21st November 2007, 19:36
I did copy /b and then ran tsremux over that .m2ts. when I do an encode from it its fine, but when just further re-/demuxing then its not.
the only thing which comes close is when I put that .m2ts file then in gdsmux, the resulting .mkv then has the correct length (1:50:32) and at least it seems to be in sync. but I cannot really test this, because Im unable to skip in that .mkv file from gdsmux.
when I put this .mkv then im mkvermge it becomes completely unreadable afterwards, at opening it will just load forever and not stop. seems to be a haali splitter problem then, after that also all explorer status bar info of all .mkv files is gone then until the next restart of windows.

woah!, can you please tell whats your exact result is (outcome=.mt2s? with lpcm only or with all streams? etc.) and what exactly you did do with which program versions? ill try to do the same then. thanks.

btw. I used also mencoder to test demuxing, and it gave me 30 frames more for the demuxed video compared to the correct number of frames megui shows for the encode. since there are 31 parts to join=30 joining fuses, this is not a coincidence, is it? do most demuxer add a duplicate frame where the pieces are joined together. will test this also for xport, unless I manage to get it running elsehow.

tyee
22nd November 2007, 05:59
I just found out that VC1 format is not supported as a file format so tsremuxing to .m2ts does not work. It does for AVC. Since BD players do support VC1 on a disc can I use tsremux and select the Blu-ray output option, then copy the BD structure created onto a USB Hard drive and have it play??

Thunderbolt8
22nd November 2007, 06:23
ratatouille is AVC. nevertheless, outside .m2ts I guess nothing but an encode works, as some or every demuxer seems to add additional frames (e.g. mencoder adds 30 frames; there are 31 joined files = 30 fuses ->coincidence?) and this causes trouble.
when demuxing the avc stream and joining with mkvmerge, then you'll get a delay. nothing I can do against it. every attempt I had so far involving xport or mencoder demuxing and remuxing with mkvmerge = delay & random mpc crashes on the file. the only thing I can do is gdsmux with avc and pcm. but then you are not able to jump backwards and forward in the video stream, as gdsmux is still buggy regarding avc. and a further mux of this .mkv with mkvmerge causes endless processing on the file without any result (well the result is that you have lose the infobar for .mkv files in explorer until the restart of windows).

bb1b
23rd November 2007, 02:50
Hi all,

I'm just trying to get a feel on the success rate of getting some movies to work on the PS3.

For my part, I got one movie to work properly, but for some others I only get the video, or nothing at all. For the moment, I'm trying to read the .m2ts file directly for a USB disk on my PS3.

Hope to get some feedbacks for you all,

Thanks,
bb1b

zakia
25th November 2007, 04:22
Hello!

I am wondering if the BluRay output from TSRemux supports subtitle playback (if subtitle streams are present in the .M2TS input) when burned as an AVCHD disc?

The reason for asking is that I have so far achieved the following:

* Split main movie .m2ts file from BluRay disc into ~4.3 GB chunks (dividable by 192) using HDBDSPlitGUI
* Run each .m2ts segment through TSRemux 0.18 selecting BluRay output and keeping all streams (including audio and subtitle streams)
* Burn output from TSRemux 0.18 as UDF 2.50 on DVD+R disc.
* Successfully playback DVD+R disc in PS3 with 5.1 audio

* Audio stream/subtitle stream selection is not available when playing the AVCHD disc burnt from the TSRemux output.


Is this as expected with the current version of TSRemux (0.18) ? Or am I doing something wrong?

If this kind of functionality is not currently implemented in TSRemux, are there any plans to extend the functionality of TSRemux to produce a more "advanced" BluRay-output, enabling audio/subtitle stream playback/selection when burned as AVCHD disc?
Same problem here, Subtitle streams are not available on PS3, even when burn on BD-RE disc. Any workaround?

liquidator87
28th November 2007, 12:49
Does TsRemux support command line?

Heimwerker
29th November 2007, 18:29
@dmz01,

first: Thank you for your great tool tsremux.

Since a few days I use ClarkeTech 5000 HD to record HD-files.

With files from "ProSieben HD" I have no problems to remux this files to ts.

But I have problems with recorded trp-files from AnixeHD. After remuxing sometimes the pictures freezes some seconds and video and audio will not be synchron.

I have uploaded two files about 1 minute (ProSieben HD -> OK, AnixeHD -> NOT OK):

http://mc.1und1.de/mc/gPpgpFoRtP6RbcgvcjGApPu3vW8Hh6

Would you please check, where is the difference between these files, perhaps it is possible to update your tsremux tool, that it runs with AnixeHD-files, too.

Thank you very much.

radius
5th December 2007, 00:54
Hey I'm trying to mux ratatouille too,
I actually got it playing as a mp4 file (encoded h264 + encoded aac = 3.95GB), what I'd like to try is to get a bigger m2ts with the encoded video + ac3 to play, I've build a mkv with mkvmerge then converted it to m2ts with VLC but it's 4.17GB so it's a no go with fat32 (ps3 won't accept ntfs external hdd right ?) and I don't know how to transfer it to the ps3 hd (if it's even possible), I may split it but tsremux gives me errors and won't split it, tsspliter actually only splits as any binary file (only the 1rst file has a valid m2ts header) and hbdsplit says he cannot detect the file type, can you tell what you managed to do with m2ts, anything playable on the ps3 ?
Thanks

I did copy /b and then ran tsremux over that .m2ts. when I do an encode from it its fine, but when just further re-/demuxing then its not.
the only thing which comes close is when I put that .m2ts file then in gdsmux, the resulting .mkv then has the correct length (1:50:32) and at least it seems to be in sync. but I cannot really test this, because Im unable to skip in that .mkv file from gdsmux.
when I put this .mkv then im mkvermge it becomes completely unreadable afterwards, at opening it will just load forever and not stop. seems to be a haali splitter problem then, after that also all explorer status bar info of all .mkv files is gone then until the next restart of windows.

woah!, can you please tell whats your exact result is (outcome=.mt2s? with lpcm only or with all streams? etc.) and what exactly you did do with which program versions? ill try to do the same then. thanks.

btw. I used also mencoder to test demuxing, and it gave me 30 frames more for the demuxed video compared to the correct number of frames megui shows for the encode. since there are 31 parts to join=30 joining fuses, this is not a coincidence, is it? do most demuxer add a duplicate frame where the pieces are joined together. will test this also for xport, unless I manage to get it running elsehow.

Thunderbolt8
5th December 2007, 21:16
sorry, but I dont really have a clue about encoding and .m2ts container, all I (want to) do is remuxing the original stream in .mkv container. cant really help you there :S

colinhunt
5th December 2007, 21:59
Has the development of this very nice tool stopped altogether?

Remuxing off-the-air MPEG-2 HD transport streams to Blu-ray and burning the data on a BD-RE disc causes some serious issues when the disc is played in a PS3. Fast forwarding and chapter skipping take *forever*, like several minutes, until the movie continues playback.

kabanero
6th December 2007, 21:30
Has the development of this very nice tool stopped altogether?
That would be a pity.

Remuxing off-the-air MPEG-2 HD transport streams to Blu-ray and burning the data on a BD-RE disc causes some serious issues when the disc is played in a PS3. Fast forwarding and chapter skipping take *forever*, like several minutes, until the movie continues playback.
I don't have this problem with my PS3. But my .TS files are from cable, and I run them through HDTVtoMPEG2 and MPEG2Repair before importing into TSRemux.

Also some folks at AVS thread reported that they had similar problems with some brands of BD-RE. It also may be not a good burn.

What burner, disks, and burning program do you use?

colinhunt
6th December 2007, 22:18
I don't have this problem with my PS3. But my .TS files are from cable, and I run them through HDTVtoMPEG2 and MPEG2Repair before importing into TSRemux.
Actually, I noticed that the movie I was trying to make into a Blu-ray was from a D-Theater tape. I ran it through HDTVtoMPEG2 first to remove DTS audio which caused problems with TSRemux. The resulting .ts plays fine on the PC.

Also some folks at AVS thread reported that they had similar problems with some brands of BD-RE. It also may be not a good burn. What burner, disks, and burning program do you use?
Panasonic LF-MB121 burner, image created with the latest Nero, UDF2.5 file system, burned with the latest ImgBurn (only app I have that burns at 2x), using Verbatim and Sony BD-RE media.

I'm fairly certain the burn's not a problem. Not so sure about how TSRemux responds to D-Theater content.

arrgh
8th December 2007, 13:40
Hi,
TSRemux allows to remove unneeded streams. Unfortunately it also disables all remaining streams, but the first you left, if you are remuxing the file into a bluray structure. I believe this was already described in post #385 by neoteo.
With BDedit you can see in the playlist only the first of the remaining audio streams (maybe the same problem is present for subtitles. Didn’t check). That’s very probably the reason, why PDVD doesn’t allow to switch to an other stream.
The Clipinfo lists all streams. But they are all marked as English. (that’s not so important. Can be maybe manually changed with a hex-editor). The m2ts file has all those streams as can be checked with haali splitter.
I tried to edit the playlist file with a hex-editor and inserted the corresponding tag of the wanted stream in the right position (copied from the original playlist file). I copied the modified file also to the backup directory. It worked insofar as now BDedit really showed the second stream correctly. But PDVD doesn’t play now at all (hangs). So obviously also other things have to be changed, which I do not know.
Here also BDedit is no help. Or at least I do not know, how to use it in this context.

Will there be an update where this bug is fixed? Or, is there a comprehensive method to patch the files so that the bluray structure runs correctly?

thanks

Schmendrick
8th December 2007, 20:29
But I have problems with recorded trp-files from AnixeHD. After remuxing sometimes the pictures freezes some seconds and video and audio will not be synchron.


Hi Heimwerker,

after a remux with tsremux Version 0.18 of your Anixe-sample I was able to reproduce your problems. As at the beginning there are a few seconds of P- and B-Frames and no associated I-Frame at the beginning some large block artefacts are visible. If you cut these few seconds just ahead of the first I-frame there is a smooth playback, with a PowerDVD-Version with AVC/H.264-support.

Schmendrick

P.S. I use the same Clarke-Tech HD 5000 receiver.

ByeByeBluRay
10th December 2007, 00:33
I often find that the only audio tracks on Blu-Ray movies are True HD or lossless, but although PowerDVD and Nero8 can play the original m2ts, if I use TSRemux to remove all the audio apart from the one stream, they no longer play any audio (and no audio track is listed on-screen when playing).

Anyone else getting this? Is there a trick to fixing it so PowerDVD and Nero can play the audio?

Cheers

BBBR

Mitchjs
10th December 2007, 04:22
byeByeBluRay,

YEP same problem, when i try to say remux with just the video track and the True HD track, the new TS plays the video fine, no audio...

oddly Reopening the new TS in to tsremux says there still is a trueHD track

so i dont know if its there and powerdvd wont play it
or a TSRemux issue

I Bet its there, just that nothing will play True HD in a .ts
i dont think Haali's recognises it


mitch

ByeByeBluRay
12th December 2007, 11:19
I Bet its there, just that nothing will play True HD in a .ts
i dont think Haali's recognises it

mitch

I'm thinking I might want to rebuild these files anyway. The size of Blu-Ray movies is just getting silly. 43Gb for Spiderman 3, and that was AVC, not Mpeg2 like the other huge movies I've seen.

If I could just convert the audio into something Nero Recode could read...

BBBR

xxx666yyy777
12th December 2007, 16:27
Does anyone know, how to identify the audio delay in an .ts/.m2ts file?

Thx

rickardk
12th December 2007, 22:19
How can I join two m2ts files?
I'm trying ro remux Chicago into a ts.
used copy /b 0053.m2ts+0052.m2ts chicago.m2ts
then I used TsRemux to remove everything but video and lpcm.
The problem is that TsRemux thinks that the chicago.m2ts file is just 55 minutes. Same thing when I try to playback the chicago.m2ts file with media player (haali).
Must be some timestamp thats not correct.

Also tried tssplitter to join the two m2ts files. And even tried to first remux the files into two separate ts files and then tried to join them with copy and tssplitter. Same result...

Any ideas?

LOGiC
13th December 2007, 09:17
@all,

I would like to ask something and I hope I can ask it. Don't know any other help now. First of all, TSRemux is a very powerful and great tool. Thanks for making this possible. My problem is as follows :

I've noticed that m2ts runs very smooth on my pc using PowerDVD and Media Player Classic. I normally have problems muxing H264 into mkv. What I wanted: In the first try, I muxed a H264 elementary stream together with an untouched DTS-HD stream into ts. after that I remuxed it to m2ts using RSRemux and checking both boxes (Video and Audio). After it was finished, video played smooth, but without sound. Need to say, if I try playing the muxed .ts with Media Player Classic, DTS-HD track plays just fine. I tried the same again yesterday with another H264 elementary stream and a normal DTS-track. I muxed it again into transport stream. I noticed, when trying to open the .ts file with TSRemux it says DTS-HD for the audio, but it's just a normal 5.1 DTS from standard-def. DVD. I remuxed it into m2ts and once again, no more sound.

Am I doing anything wrong or isn't it that easy to remux normal ts to m2ts ?

I really would be thankfor for some hints. Thank you very much in advance.

Best regards,

Andy.

sl1982
13th December 2007, 18:43
Hi guys. Im working on converting a H264 HD-DVD to m2ts so I can play it on my ps3. I tried a straight remux with tsremux but the file stutters on the ps3. I figured out that it is a problem with the ac3 in the file so i re-encoded it. I muxed back into a ts with xmuxer. Now my problem is that the audio happens like half a second before it should. Anyone have any ideas/suggestions? Thanks

Heimwerker
13th December 2007, 19:03
Hi Heimwerker,

after a remux with tsremux Version 0.18 of your Anixe-sample I was able to reproduce your problems. As at the beginning there are a few seconds of P- and B-Frames and no associated I-Frame at the beginning some large block artefacts are visible. If you cut these few seconds just ahead of the first I-frame there is a smooth playback, with a PowerDVD-Version with AVC/H.264-support.

Schmendrick

P.S. I use the same Clarke-Tech HD 5000 receiver.

@Schnendrick,

thank you for your idea! But are video and audio synchron?
Perhaps I didn't find the right cut position. How I can find the first i-frame? Or did you cut after the first moving picture (about 0.06)? I did it at this position, but video and audio are not synchron.

tyee
13th December 2007, 19:45
@sl1982

Is that your only problem, the sync between audio/video. So it plays smooth.

I tried this a couple of days ago with a VC1 HD-DVD without any audio at all and it played in the PS3 but like in slow motion. Don't know why other than HD-DVD is 29.97fps, and Blu-ray is 23.976fps. Any clues??

I thought I read somewhere that Xmuxer Pro could add a delay. Take a look in more detail at the program.

omf
17th December 2007, 07:50
I've seen several people ask this same question, and so far no one has replied, so I thought I'd give it another shot:

Does anyone know what conditions cause TSREMUX to fail at the very end fo creating Blu-ray output? Here's a screenshot of what that looks like:

http://justified.com/misc/tsremux.gif
http://justified.com/misc/tsremux-err.gif

Notice that the main window indicates the process is just about complete, so something is happening when the files are getting finished-up.

It seems like dmz01 has been away the last few weeks. I don't suppose he provided the source code anywhere?

Kumo
18th December 2007, 11:01
i'm trying to demux tracks from a ts file(all of them remuxed from a bluray).the name of the file suggest that one of the tracks should be a lpcm multichannel audio, but tsremux doesn't recognise it in the streams list(just others streams are showed). if i try to demux to elementary streams all the tracks it recognise, the resulting files are all good , but some gigas are missing to reach the size of original ts(about 5gb, i belive it's suppose to be the lpcm track).anyone knows if it is a common problem with tsremux?there is any tool to analyse the ts file to find out wich tracks it includes?any tool to eventually demux the lpcm track?thank you

drmpeg
18th December 2007, 15:04
i'm trying to demux tracks from a ts file(all of them remuxed from a bluray).the name of the file suggest that one of the tracks should be a lpcm multichannel audio, but tsremux doesn't recognise it in the streams list(just others streams are showed). if i try to demux to elementary streams all the tracks it recognise, the resulting files are all good , but some gigas are missing to reach the size of original ts(about 5gb, i belive it's suppose to be the lpcm track).anyone knows if it is a common problem with tsremux?there is any tool to analyse the ts file to find out wich tracks it includes?any tool to eventually demux the lpcm track?thank you
If you're not too averse to command line tools, you can try xport.

http://www.w6rz.net/xport.zip

syntax for Blu-ray or AVCHD (.m2ts) files is:

xport -h sample.m2ts 1 1 1

If you demux the original files direct from the disc (that is, before you use TSRemux on them), you'll see all the active PID's in the ending summary.


C:\xfer>xport -h 00052.m2ts 1 1 1
xport Transport Stream Demuxer 1.00
program = 1, video channel = 1, audio channel = 1
Program Number = 0 (0x0000), Program Map PID = 31 (0x001f)
Program Number = 1 (0x0001), Program Map PID = 256 (0x0100)
program descriptor = 0x05, 0x04, 0x48, 0x44, 0x4d, 0x56
program descriptor = 0x88, 0x04, 0x0f, 0xff, 0xff, 0xfc
Video PID = 4113 <0x1011>, type = 0x1b
ES descriptor for stream type 0x1b = 0x05, 0x08, 0x48, 0x44, 0x4d, 0x56, 0xff, 0x1b, 0x61, 0x3f
Audio PID = 4352 <0x1100>, type = 0x80
ES descriptor for stream type 0x80 = 0x05, 0x08, 0x48, 0x44, 0x4d, 0x56, 0xff, 0x80, 0x61, 0xff
ES descriptor for stream type 0x81 = 0x05, 0x04, 0x41, 0x43, 0x2d, 0x33
ES descriptor for stream type 0x81 = 0x81, 0x04, 0x06, 0x48, 0x0e, 0x00
ES descriptor for stream type 0x81 = 0x05, 0x04, 0x41, 0x43, 0x2d, 0x33
ES descriptor for stream type 0x81 = 0x81, 0x04, 0x06, 0x48, 0x0e, 0x00
ES descriptor for stream type 0x81 = 0x05, 0x04, 0x41, 0x43, 0x2d, 0x33
ES descriptor for stream type 0x81 = 0x81, 0x04, 0x06, 0x48, 0x0e, 0x00
ES descriptor for stream type 0x81 = 0x05, 0x04, 0x41, 0x43, 0x2d, 0x33
ES descriptor for stream type 0x81 = 0x81, 0x04, 0x06, 0x29, 0x04, 0x00
0 frames before first I-frame
High Profile
Level = 4.1
LPCM Audio Mode = 3/2+lfe
LPCM Audio Bits/sample = 24
LPCM Audio Sample Rate = 48000
First Video PTS = 0x000ffff0
ts rate = unspecified
packets for pid 0 <0x0000> = 19, first = 1, last = 50647
packets for pid 31 <0x001f> = 2, first = 3, last = 28725
packets for pid 256 <0x0100> = 19, first = 2, last = 50648
packets for pid 4097 <0x1001> = 20, first = 4, last = 51222
packets for pid 4113 <0x1011> = 37706, first = 5, last = 52084
packets for pid 4352 <0x1100> = 10679, first = 1742, last = 52082
packets for pid 4353 <0x1101> = 867, first = 1904, last = 52066
packets for pid 4354 <0x1102> = 867, first = 1924, last = 52068
packets for pid 4355 <0x1103> = 867, first = 1951, last = 52070
packets for pid 4356 <0x1104> = 373, first = 2025, last = 51985
packets for pid 4608 <0x1200> = 236, first = 6, last = 8203
packets for pid 4609 <0x1201> = 220, first = 211, last = 8206
packets for pid 4610 <0x1202> = 209, first = 116, last = 8204
coded pictures = 61, video fields = 0

C:\xfer>


This clip has LPCM on PID 0x1100 and AC-3 on PID's 0x1101, 0x1102, 0x1103 and 0x1104. There are also Presentation Graphics Streams (sub-titles) on PID's 0x1200, 0x1201 and 0x1202.

xport is known to work correctly with 20 and 24-bit LPCM.

Ron

Schmendrick
18th December 2007, 17:12
@ Heimwerker: With a Hex-editor you can search for the first occurence of a „Coded slice of an IDR picture“ (Hex: 00 00 00 01 65) then search backwards for Hex "47" followed by "4x" where "x" can have any Hex-single digit value. Usually just a few hundred bytes backwards which is the transportstream start code and then delete everything before this "47".

Sometime, but not always, you can also search for the first occurence of a „H264 Sequenz Parameter Set“ (Hex: 00 00 00 01 67) instead and then cut like mentioned before.

I have just gathered information about AVC/H.264-video-structure by trial and error and only partial reference to standards. So anybody who is more knowledgeable should correct wrong statments, if he or she is so inclined.

Schmendrick

uk_dan2k
18th December 2007, 18:10
hi, im running some ts files through tsremux, and stripping out some audio, and want to combine all ts files when done so i thought of using hdtv2mpeg for that.

questions are which output format works best for hdtv2mpeg to combine all files, m2ts, ts, or blu-ray?

also when right clicking and extracting streams, whats the difference between normal extract and the other extract with pes stream? also what file extensions should these streams be saved as? been using .ac3 for dolby streams.

for the output format im using .ts and saving as .ts, do you do similar for m2ts as saving as .m2ts and blue ray as ?, or do you save all 3 formats as .ts?

still having difficultly using other programs because they cant find the pids for video or audio, and hdtv2mpeg keeps saying it could not find a channel.

matrix40
18th December 2007, 20:25
This is what ive gotten so far, after using Tsremux for the video part i save it with the m2ts extension. I could not get any program to recognize it,(nero, tmpg) or play it for that matter. From anohter thread someone said they used xmuxer pro (elecard). I downloaded the trial and it recognizes the video and plays it. Now im trying to convert it to see what i come up with. Like Uk dan2k i dont understand how to handle the extensions for the audio(handle the audio period)

uk_dan2k
19th December 2007, 02:30
This is what ive gotten so far, after using Tsremux for the video part i save it with the m2ts extension. I could not get any program to recognize it,(nero, tmpg) or play it for that matter. From anohter thread someone said they used xmuxer pro (elecard). I downloaded the trial and it recognizes the video and plays it. Now im trying to convert it to see what i come up with. Like Uk dan2k i dont understand how to handle the extensions for the audio(handle the audio period)

I've made some progress, after remuxing ts streams with tsremux(stripping out foreign languages). I've now got divX convertor to convert the files.
By using a avs script for each ts file, and then merging them all together in divx Convertor (also keeps same screen size 1080 as source ts files).

1/2 way through converting at the momment looks like it will take untill tomorrow.

matrix40
19th December 2007, 09:27
Ok i used elecard converter studio. it took 5 hours to convert. Now the movie i used is around 3 hours long. When i play the movie in nero showtime it says the movie is only 1 hour and 50 minutes long but it plays past that time period so its the whole movie. The quality is great but i have no sound.

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

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

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

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

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

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

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

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

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

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

dmz

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

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


Cheers

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

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

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

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

mitch

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Thanks, good enough. :)

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

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



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

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

gottahavit
29th December 2007, 19:11
First.

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

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

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

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

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

Is there anyay around this problem?

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

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

Thanks in advance.

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

then use mkmerge to put the 2 mkvs together

mitch

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

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

then use mkmerge to put the 2 mkvs together

mitch

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

How do you sugest I should handle this title?

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

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

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

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

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

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

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

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

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

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

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

could use h264tsto...

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

mitch

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

Yes, I haven't changed that

dmz01
30th December 2007, 06:04
First.

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

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

I'm looking into EVO issues.

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

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

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

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

could use h264tsto...

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

mitch

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

thx

framura
30th December 2007, 22:10
Hi,

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

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

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

Do you have any idea?

TIA

Chumbo
31st December 2007, 00:26
Hi,

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

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

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

Do you have any idea?

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

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

Thanks much.

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

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

Excellent work.

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

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

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

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

Hollydoc

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

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

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

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

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

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

:edit

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

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at TsRemux.TsRemux.EnableCbxMlp()
at TsRemux.TsRemux.backgroundWorker2_RunWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e)
at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
at System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(Object arg)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
TsRemux
Assembly Version: 0.0.19.0
Win32 Version: 0.0.19.0
CodeBase: file:///C:/Dokumente%20und%20Einstellungen/Administrator/Desktop/tsremux.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

if i load the .evo file with tsremux or the .h264 file .. it comes every time this strange message

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

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

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


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

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

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

Thanks for your replies

DonCarlos

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

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

And here is the result

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Luvpeaceguru
5th January 2008, 18:37
So Zakia, it worked! I do not understand why or what the process was involved in remuxing these files but I now have a 26.7GB ts file that plays beautifully in PowerDVD and in Crystal Player (my new favourite).

However, when I try to load the file in AutoGK or VideoRedo I am told that no video streams are found. If I look at the file in Mediainfo it gives no video information yet obviously the video is there.

General #0
Complete name : H:\HD Rips\Deja Vu\Deja Vu tsremux1.ts
Format : MPEG-1 Transport
Format/Family : MPEG-1
File size : 25.5 GiB
PlayTime : 1h 46mn
Bit rate : 34 Mbps

Audio #0
Codec : AC3
PlayTime : 1h 46mn
Bit rate : 640 Kbps
Bit rate mode : CBR
Channel(s) : 6 channels
Sampling rate : 48 KHz
ChannelPositions : Front: L C R, Rear: L R, Subwoofer

Audio #1
Codec : AC3
PlayTime : 1h 46mn
Bit rate : 640 Kbps
Bit rate mode : CBR
Channel(s) : 6 channels
Sampling rate : 48 KHz
ChannelPositions : Front: L C R, Rear: L R, Subwoofer

Audio #2
Codec : AC3
PlayTime : 1h 46mn
Bit rate : 640 Kbps
Bit rate mode : CBR
Channel(s) : 6 channels
Sampling rate : 48 KHz
ChannelPositions : Front: L C R, Rear: L R, Subwoofer

Audio #3
Codec : AC3
PlayTime : 1h 46mn
Bit rate : 192 Kbps
Bit rate mode : CBR
Channel(s) : 2 channels
Sampling rate : 48 KHz
ChannelPositions : L R

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

Thx dmz01. Oh for a pgc.net-like solution?

SeeMoreDigital
5th January 2008, 19:06
I'm unable to input (MPEG-2+AC3) .VOB, .MPG and .EVO sources using v0.0.19... Bummer.

Sparky101
5th January 2008, 20:19
However, when I try to load the file in AutoGK or VideoRedo I am told that no video streams are found. If I look at the file in Mediainfo it gives no video information yet obviously the video is there.

Video Redo is an MPEG-2 only program, Deja Vu is VC-1 so not surprised it don't work.

Luvpeaceguru
5th January 2008, 21:03
Video Redo is an MPEG-2 only program, Deja Vu is VC-1 so not surprised it don't work.

This is true - pls ignore my stupidity!!

Luvpeaceguru
5th January 2008, 21:17
I thought I would share my hard won experience of the last few months working with Blu-Ray discs.

Working from Blu-Ray source my objective is to store full resolution/quality movie files on my hard disk which can then be played directly to my 1080p HDTV.

I have developed a reasonably effective solution for this through experimentation and discussion on this and other forums. The best example of success that I can give is "Layer Cake" which I ripped using DVD FAB Platinum 4 (although I am now preferring AnyDVD) to m2ts files in the STREAM folder. I then used Tsremux to select the obviously biggest m2ts file and remux it to a 21.7GB ts file which I can play in PowerDVD, Crystal (my favourite) or even WMP11.

The killer though is that I then used AutoGK to convert to a specified 100% quality, full 1920 x 1080 Xvid avi file of 8.5GB which, to my eyes, looks superb and plays in anything.

I want to achieve this result throughout my library of Blu-Ray movies.

I see that a sort of trend has developed in that mkv files are being used to store 720p HD material. I don' t really understand why or what benefit mkv offers over avi. Does anyone have any views on this?

One difficulty is understanding the Blu-Ray programme chain (pgc) or order in which they m2ts files have to be played. In many releases there is just one huge m2ts file of 15GB + and it is obvious. In some there are two or three m2ts files but increasingly there can be up to a dozen m2ts files of from 2GB to 5GB each. For instance with "Deja Vu", I only succeeded because I was given the sequence in a COPY command as:
copy /b 00048.m2ts + 00049.m2ts + 00035.m2ts + 00037.m2ts + 00039.m2ts + 00061.m2ts + 00032.m2ts + 00034.m2ts + 00046.m2ts + 00036.m2ts + 00038.m2ts + 00040.m2ts + 00041.m2ts "DejaVu.m2ts"
Now how can that sequence be understood? And I do not understand why I had to run this through Tsremux twice to get the required result. I have been referred to a programme called BDedit http://forum.doom9.org/showthread.php?t=125903 or it has been suggested that it is best just to google the programme chain for each title. Any further input to this issue would be appreciated.
There are other issues though with which I would appreciate any input/advice/observations:
1. The general principal of what I am doing and the tools I am using. For instance, I suspect that VirtualDubMod could be a good component in this. I have very little experience with it. My 8.5GB achievement with Layer Cake seems to me to be an ideal compromise for quality/size. Personally I believe that optical storage is too fragile and virtually dead except for distribution (and better broadband sppeds will soon finish that)/. I have 8.4TB of hard disks and 8/.5GB seems a reasonable size for a top quality movie to me.

2. Problems with ts files. Using exactly the same tools/settings I have some ts files which when I try to load them in to AutoGK say "no video stream present" when clearly there is a video stream in the file and I can play it. For instance, here is MediaInfo on Layer Cake (giving video info) and MediaInfo on Goodfellas (giving no video info) - both ts files were arrived at by exactly the same method. See also http://forum.doom9.org/showthread.php?p=1083257#post1083257

LAYER CAKE.TS

General #0
Complete name : H:\High Definition Movies\Layer Cake\Layer Cake tsremux.ts
Format : MPEG-2 Transport
Format/Family : MPEG-2
File size : 20.8 GiB
PlayTime : 1h 45mn
Bit rate : 28 Mbps

Video #0
Codec : MPEG-2 Video
Codec profile : Main@High
Codec settings/Matri : Custom
PlayTime : 1h 45mn
Bit rate : 34 Mbps
Bit rate mode : CBR
Width : 1920 pixels
Height : 1080 pixels
Aspect ratio : 16/9
Frame rate : 23.976 fps
Chroma : 4:2:0
Interlacement : Progressive
Bits/(Pixel*Frame) : 0.684

Audio #0
Codec : AC3
PlayTime : 1h 45mn
Bit rate : 640 Kbps
Bit rate mode : CBR
Channel(s) : 6 channels
Sampling rate : 48 KHz
ChannelPositions : Front: L C R, Rear: L R, Subwoofer

GOODFELLAS.TS

General #0
Complete name : H:\High Definition Movies\Goodfellas\Goodfellas tsremux.ts
Format : MPEG-1 Transport
Format/Family : MPEG-1
File size : 19.0 GiB
PlayTime : 2h 25mn
Bit rate : 19 Mbps

Audio #0
Codec : AC3
PlayTime : 2h 25mn
Bit rate : 640 Kbps
Bit rate mode : CBR
Channel(s) : 6 channels
Sampling rate : 48 KHz
ChannelPositions : Front: L C R, Rear: L R, Subwoofer

3. Problems with audio streams. I don't understand how to get the correct audio stream. For instance, in Flyboys (where, happily, there is one 28GB m2ts file) there are DTS-HD Master, DTS1, DTS2 and Dolby Digital streams. I can't seem to avoid the director's commentary!!

Sparky101
5th January 2008, 22:29
The killer though is that I then used AutoGK to convert to a specified 100% quality, full 1920 x 1080 Xvid avi file of 8.5GB which, to my eyes, looks superb and plays in anything.

OK, first up, this thread is supposed to be about the TSRemux application and you might be best off starting your own thread as most of this isn't anything to do with TSRemux. But anyway, the above statement I have to disagree with. You're taking 30GB or so file and re-encoding it down to an 8.5GB file and claiming 100% quality - I'm sorry but that is ridiculous. The only way to maintain 100% quality is to not touch the video in anyway aside from remuxing into different containers. It may well look superb on your setup but don't believe you're maintaing 100% quality.


One difficulty is understanding the Blu-Ray programme chain (pgc) or order in which they m2ts files have to be played. In many releases there is just one huge m2ts file of 15GB + and it is obvious. In some there are two or three m2ts files but increasingly there can be up to a dozen m2ts files of from 2GB to 5GB each. For instance with "Deja Vu", I only succeeded because I was given the sequence in a COPY command as:
copy /b 00048.m2ts + 00049.m2ts + 00035.m2ts + 00037.m2ts + 00039.m2ts + 00061.m2ts + 00032.m2ts + 00034.m2ts + 00046.m2ts + 00036.m2ts + 00038.m2ts + 00040.m2ts + 00041.m2ts "DejaVu.m2ts"
Now how can that sequence be understood? And I do not understand why I had to run this through Tsremux twice to get the required result. I have been referred to a programme called BDedit http://forum.doom9.org/showthread.php?t=125903 or it has been suggested that it is best just to google the programme chain for each title. Any further input to this issue would be appreciated.

Just sign up at www.abhdtv.net and things like this are posted there. The only BR's I can think of I've seen like this are Deja Vu, Ratatouille and Black Hawk Down (only in 2 parts anyway) so I'm not sure about it being a growing trend.



2. Problems with ts files. Using exactly the same tools/settings I have some ts files which when I try to load them in to AutoGK say "no video stream present" when clearly there is a video stream in the file and I can play it. For instance, here is MediaInfo on Layer Cake (giving video info) and MediaInfo on Goodfellas (giving no video info) - both ts files were arrived at by exactly the same method. See also http://forum.doom9.org/showthread.php?p=1083257#post1083257


You need to understand what codec the video is encoded in, Blu-Ray's can come in any one of 3 flavours, MPEG-2, VC-1 or AVC (h.264). Layer Cake is MPEG-2 so traditional tools will recognise the video but Goodfellas is VC-1 so that's why MediaInfo doesn't recognise the video.

3. Problems with audio streams. I don't understand how to get the correct audio stream. For instance, in Flyboys (where, happily, there is one 28GB m2ts file) there are DTS-HD Master, DTS1, DTS2 and Dolby Digital streams. I can't seem to avoid the director's commentary!!

The lossless audio stream will always be the main one, so DTS-HD Master. Director's commentary's are always in my experience in Dolby Digital. Try looking at the specs of the disc on www.highdefdigest.com and work it out from there.

dmz01
6th January 2008, 03:08
Used tsremux yesterday to remux a movie and DolbyTrueHD to DD. It works. Great. Thanks for that.

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

Remember that TsRemux does not re-compress anything. It uses whatever is in the stream originally. If the embedded DD inside the TrueHD stream is 448k then that's what you will get.

dmz01
6th January 2008, 03:09
I'm unable to input (MPEG-2+AC3) .VOB, .MPG and .EVO sources using v0.0.19... Bummer.

Yes, MPEG2 Program Stream container handling is currently broken. I'm working on a fix.

hm10
6th January 2008, 06:57
Yes, MPEG2 Program Stream container handling is currently broken. I'm working on a fix.

what with srt and sup files?
we can't add subtitle stream

dirkr
6th January 2008, 11:09
@dmz01: Thanks for clarification!

Great tool.

SeeMoreDigital
6th January 2008, 11:20
Yes, MPEG2 Program Stream container handling is currently broken. I'm working on a fix.Thanks for the confirmation....

Frodo
6th January 2008, 11:35
Good morning Folks...

I entered the last days into the world of Blu Ray Reauthoring, HD DVD converting and so on. During my Google-sessions i found TSremux.
I have some questions about this great program.
I tried to remux a HD DVD to a Blu Ray-Structure to view it on my PS3. It was the 16 Blocks HD-DVD with VC-1 picture stream and a DD+ with 640 kbps audio stream.
First issue was...i was not able to open this EVO-file with tsremus 0.0.19. CPU-load increases to 100% and memory usage to 900 MB!!! ("Bypass" checked and "use async I/O" dechecked).
tsremux 0.0.18 opened this EVO-file without any problems.
I tried a remux with the video and the german audio stream to a Blu Ray compliant structure. I canceled the progress after a few minutes to get the chance to burn this structure to a DVD+RW disc. I tried to play this disc on my PS3 but it didn`t work.
The video was just stuttering and there was no audio playback.
What could be the problem?? On my PC the "Blu Ray" plays fine.

Sparky101
6th January 2008, 11:40
First up DD+ from an HD-DVD isn't compatible with BR. Secondly I don't think, and please others correct me if I'm wrong, you can just remux straight from a HD-DVD to a BR, there's differences between the formats which mean this isn't simple.

olivierdb
6th January 2008, 11:42
Good Morning Everyone,

Will TSremux 0.0.19 allow me to remux MKV(VC-1,Flac) to MPEG-TS(VC-1,Flac)? or is the latest version of TSremux still not stable enough to perform this task.

Thank you for your help.

dirkr
6th January 2008, 14:49
Remuxed another movie and you`re right dmz01. This one has 640kb DD.

Nasgul
6th January 2008, 18:21
Hello,

I just remuxed an evo with vc1/ac3 to m2ts (bluray) and found out that the resulting m2ts is much larger (9000mb) than the original evo (8050mb) - is there so much more overhead in m2ts??

Regards,
Nas

dmz01
6th January 2008, 18:58
Hello,

I just remuxed an evo with vc1/ac3 to m2ts (bluray) and found out that the resulting m2ts is much larger (9000mb) than the original evo (8050mb) - is there so much more overhead in m2ts??

Regards,
Nas

Yes. The overhead comes from all the headers of the small 192 byte packets.

Frodo
6th January 2008, 19:04
Do you also have a PS3 or a standalone blu ray player for your playback?? Can you test it??

Mitchjs
6th January 2008, 20:18
olivierdb, NO... you could put flac in a .ts as a private stream, but i bet at this point in time, nothing demux it out of the .ts and get it to the flac decoder..., were still waiting on haali to add trueHD

flac is a unrecognized format by the "REAL world"
id love to vent on you lossless audio people... but this insnt the right thread :)

mitch

Nasgul
6th January 2008, 20:27
Hi,


Yes. The overhead comes from all the headers of the small 192 byte packets.


Wow, that sucks. So the maximum bitrate of a bluray-DVD9 is much lower than a HDDVD-DVD9...

What I find a bit confusing, though is the following:
I did some more testing today and authored both a HDDVD and a Bluray from the same source VC-1 and AC3 files.

The resulting Bluray is 8.724.509.984 Bytes.
The resulting HDDVD is 8.238.717.929 Bytes.

Still a lot of overhead, but not as much as converting the EVO with Tsremux to Bluray, which results in 9.229.802.076 Bytes.



Do you also have a PS3 or a standalone blu ray player for your playback?? Can you test it??


I just did (converted the EVO to M2TS, burned it and tryed it in PS3), it plays, but stutters like hell (it´s like 2fps playback).


The same elementary VC-1/AC3 streams authored as bluray, then run through TSRemux, burned and played in the PS3 work like a charm. So it´s not the VC1 or AC3 streams which causes the problem...

cu,
Nas

Frodo
6th January 2008, 22:07
The same elementary VC-1/AC3 streams authored as bluray, then run through TSRemux, burned and played in the PS3 work like a charm. So it´s not the VC1 or AC3 streams which causes the problem...



Could you explain this to me??
How do you authored a bluray?

My procedure was always:
- load EVO to tsremux
- choose video and audio stream
- output format: bluray
- burn on DVD
--> stuttering playback

Tested with VC-1/DD+, VC-1/DTS-HD

AVC without audio works well with the previous procedure...

EDIT:
- AVC w/o audio track plays fine
- AVC/DD+ 5.1 video plays smooth, but no audio playback <-- different DD+ encoding for bluray and hddvd
- AVC/DD+ 2.0 video plays smooth, audio playback is stuttering

--> AVC with DTS HD (i think the encoding for DTS HD for bluray and hddvd should be the same) could work...

Nasgul
6th January 2008, 22:55
Hi,

I am lucky to know someone with access to professional authoring software...

Here´s a guide to authoring a BDMV disc with sonic scenarist, maybe that helps:

Link (http://www.avsforum.com/avs-vb/showthread.php?p=12369935#post12369935)

Keep in mind that the PS3 doesn´t play BDMV-authored discs on DVD5/9, but running the final BDMV-created M2TS file through Tsremux works fine...
But there are so many steps involved in this procedure, I would rather like to see tsremux be able to remux the evo to bluray directly.

Regards,
Nas

Frodo
6th January 2008, 23:01
Thanks...

Chumbo
6th January 2008, 23:10
Good Morning Everyone,

Will TSremux 0.0.19 allow me to remux MKV(VC-1,Flac) to MPEG-TS(VC-1,Flac)? or is the latest version of TSremux still not stable enough to perform this task.

Thank you for your help.
Why don't you actually try it and report your findings?

uk_dan2k
7th January 2008, 00:30
i have a filetype extension question, when extracting audio files what should they be saved as ?
for dolby digital plus, etc, also what r the filetypes for the video streams.

thanks.,

Sparky101
7th January 2008, 00:36
Doesn't really matter. File extensions are only really to help Windows decide what application to use to open the file. Call them whatever you want, doesn't change the data in the file.

dmz01
7th January 2008, 03:46
(...) I would rather like to see tsremux be able to remux the evo to bluray directly.

Regards,
Nas

Make sure you have "bypass audio processing" unchecked. The audio has to be processed or aligned when going from VOB/EVO to M2TS. There are other issues as well that I'm currently working on, so please report your findings here.

tyee
7th January 2008, 04:11
So I'm still a little confused. Please anyone, try to answer the following =

1. Can tsremux take in any HD-DVD evo (with either AVC or VC1 video) and process to get an m2ts that plays from XMB on PS3. I've read conflicting reports, author says it takes evo in, but evo's are from HD-DVDs that are not compatible with Blu-ray in any way, even HD-DVD elementary video streams are not compatible (29.97 vs 23.976), true??

2. Can tsremux take in an m2ts originally from a BR disk that's been VC1/AVC encoded and get a usable remuxed m2ts output to play from XMB on PS3? My answer, no,(if it's VC1), yes, (if it's AVC), true??

Thanks for a great program and keep on developing!

Chumbo
7th January 2008, 04:42
So I'm still a little confused. Please anyone, try to answer the following =

1. Can tsremux take in any HD-DVD evo (with either AVC or VC1 video) and process to get an m2ts that plays from XMB on PS3. I've read conflicting reports, author says it takes evo in, but evo's are from HD-DVDs that are not compatible with Blu-ray in any way, even HD-DVD elementary video streams are not compatible (29.97 vs 23.976), true??
...
See this (http://forum.doom9.org/showthread.php?p=1081885#post1081885).

Frodo
7th January 2008, 08:01
Make sure you have "bypass audio processing" unchecked. The audio has to be processed or aligned when going from VOB/EVO to M2TS. There are other issues as well that I'm currently working on, so please report your findings here.

The problem is that version 0.0.18 has no "bypass audio processing" to uncheck...version 0.0.19 is still crashing during EVO-reading...

fbd
7th January 2008, 14:50
Make sure you have "bypass audio processing" unchecked. The audio has to be processed or aligned when going from VOB/EVO to M2TS. There are other issues as well that I'm currently working on, so please report your findings here.

Hi dmz01 and thank you for your good job,

In version 0.0.18, the option "bypass audio processing" is ON or OFF by default?

Thanks
Franck

dmz01
7th January 2008, 18:03
Hi dmz01 and thank you for your good job,

In version 0.0.18, the option "bypass audio processing" is ON or OFF by default?

Thanks
Franck

Off - 0.18 always processes the audio.

puppydg68
7th January 2008, 19:43
Read the first post so you know what this tool can/cannot do and what features it offers. Always read the first post of any tool thread is a good rule.

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

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

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


i tried specifying the 192 packet size with manzanita with hopes it would play on PS3. No luck there, even after I ran it again through TSremux.

I'm having trouble getting H264 and a converted LPCM to AC3 to remux back together from a BD-rip. I extract video/audio with TSremux (as elementary) then convert audio to .AC3 - Been trying so many times with no luck to remux them back. manzanita will give me a larger .TS (which plays with no audio on ps3) as soon as I remux that .TS to .M2ts with tsremux PS3 refuses to play it.. same thing as when I remove null packets. Problem is PS3 only plays audio with .M2TS files, not .TS files - I've been using TSremux to convert my .TS's to .M2TS with great success.. Just not with a BD-remux.

Xmuxer is useless takes 4 days to remux and while the resulting file plays on PS3, there are pausing and speed up slow down, making it unwatchable.

fbd
7th January 2008, 21:22
Off - 0.18 always processes the audio.

:thanks:

olivierdb
8th January 2008, 16:20
I've tried opening the HD movie "300.mkv" (with VC-1 video and Flac audio), which I created using eac3to, with TSremux 0.0.19. I have no problems playing this file in WMP or VLC. Trying to open the file in TSremux generated the following error:

http://farm3.static.flickr.com/2046/2178312540_8d372f2b06_o.jpg

Details:

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

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at TsRemux.TsRemux.EnableCbxMlp()
at TsRemux.TsRemux.backgroundWorker2_RunWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e)
at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
at System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(Object arg)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
TsRemux
Assembly Version: 0.0.19.0
Win32 Version: 0.0.19.0
CodeBase: file:///M:/Downloads/TSRemux%200.0.19/tsremux.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.


Hope you can make something of all this (it's like Chinese to me!).

Mitchjs
8th January 2008, 18:22
mkv input insnt fully supported yet (speaking for DMZ) and it may never be

not to mention what the flac (a pointless format)
is going to do for you in a .ts
is anything able to demux that for playback and get it to the flac decoder?

also whats wrong with it in the mkv... keep it there :)

mitch

uk_dan2k
8th January 2008, 18:49
Doesn't really matter. File extensions are only really to help Windows decide what application to use to open the file. Call them whatever you want, doesn't change the data in the file.

i wanted to know extensions so i can test out the files in windows to test for any problems i.e. choppy playback or wrong languages for sound etc.

Sparky101
9th January 2008, 01:21
Like I say, it doesn't matter what extension you choose to use. Call them file.fred if you want. Doesn't stop you opening the files up in whatever application you want to test them with in Windows.

uk_dan2k
9th January 2008, 01:59
tested that out, works ok with dolby digital files, renaming ac3 files, but isn't working with other extracted audio files like dts-hd audio.
Didnt think it was a media player problem because when its wrapped in a .ts file the audio still plays.

nekowhizz
9th January 2008, 19:26
Excellent piece of software :) However two improvements that would be great for Blu-Ray output would be:
Cloning of Chapter bookmarks, and
Working subtitles.

I would be sooo happy if those features were implemented :) You would really make my day, and I'd certainly make a donation for all your hard work :)

eas4uk
9th January 2008, 21:41
Hi

Thanks again for this excellent software

Sorry to sound dim, but how exactly do i get the embedded ac3 audio from the true hd track. Im trying to do this with Blade Runner Final Cut.

1) load m2ts into tsremux
2) tick box Blu-Ray THD to ac3
3) tick THD stream
4) ???

I tried demuxing to elementary stream but this gave me a 3.13Gb file which was the same size as the THD stream

Thx in advance for any replies

Chumbo
9th January 2008, 22:41
Hi

Thanks again for this excellent software

Sorry to sound dim, but how exactly do i get the embedded ac3 audio from the true hd track. Im trying to do this with Blade Runner Final Cut.

1) load m2ts into tsremux
2) tick box Blu-Ray THD to ac3
3) tick THD stream
4) ???

I tried demuxing to elementary stream but this gave me a 3.13Gb file which was the same size as the THD stream

Thx in advance for any replies
See the eac3to thread.

klas
9th January 2008, 23:06
ya he envíado mi mensaje de bienvenida. Os echábamos de menos.

saludos
klas

b@nned
10th January 2008, 00:03
how are you guys able to load EVO files into TSremux? Everytime I try loading anything from a movie to just a trailer all I get is this:

http://i36.photobucket.com/albums/e3/ge0rgieee/evo.jpg

It just sits there like that.

kabanero
10th January 2008, 01:06
dmz,

I think 0.19 has a bug that was not in 0.19.

0.19:
I load .TS file and select Blu-ray option, then burn to DVD+RW.
PS3 plays video but no sound.

0.18:
I load .TS file and select Blu-ray option, then burn to DVD+RW.
PS3 plays video and sound.

maya
10th January 2008, 05:14
DMZ,
Do you plan on adding a feature to Tsremux that will convert the DTS HD MA to DTS like you have incorporated the Dolby Truehd to AC3? I know it would help many of us out with some of those discs that just have DTS HD MA (Pan's Labyrinth for example, and all of the older Fox titles). I know I can go the Eac3to route, but that is much more difficult (my skills with line commands are weak at best) and time consuming. The Truehd to AC3 feature you added works great. Thanks.

Mitchjs
10th January 2008, 06:27
this app does NOT convert!!!
its takes existing streams, and remuxes them into a new one

the truehd doesnt convert anything, the ac3 stream is in the truehd stream...

amazing how much confusion on this application there is

keep up the good work, i say focus on existing bugs, before anything new :)

thanks dmz... i use it alot and very happy (v 0.18)

mitch

Mitchjs
10th January 2008, 06:28
for .evo files go back to version 0.18

mitch

b@nned
10th January 2008, 07:22
for .evo files go back to version 0.18

mitch

you know where I can find a download link?

big boss
10th January 2008, 15:38
Hallo,

i have a problem, tsremux is slow.

tsremux and mkv with a x264 and ac3. the clip is 2 min.
it took about 15 min to load into tsremux.
and it took about 1 hour to convert from the mkv to a bdmv file.

my system.
amd barton 2500. 512 mb ram. and i have xp sp2.

what is the problem?

maya
10th January 2008, 22:09
this app does NOT convert!!!
its takes existing streams, and remuxes them into a new one

the truehd doesnt convert anything, the ac3 stream is in the truehd stream...

amazing how much confusion on this application there is

keep up the good work, i say focus on existing bugs, before anything new :)

thanks dmz... i use it alot and very happy (v 0.18)

mitch

No need to flip out mitchjs, I just used the wrong term-I know that the AC3 core is in there, just like the DTS core is within the DTS MA stream.

dmz01
11th January 2008, 03:37
dmz,

I think 0.19 has a bug that was not in 0.19.

0.19:
I load .TS file and select Blu-ray option, then burn to DVD+RW.
PS3 plays video but no sound.

0.18:
I load .TS file and select Blu-ray option, then burn to DVD+RW.
PS3 plays video and sound.

For bluray output you have to process the sound. 0.18 always processes the sound. In 0.19 you have to uncheck the sound processing bypass checkbox.

dmz01
11th January 2008, 03:41
DMZ,
Do you plan on adding a feature to Tsremux that will convert the DTS HD MA to DTS like you have incorporated the Dolby Truehd to AC3? I know it would help many of us out with some of those discs that just have DTS HD MA (Pan's Labyrinth for example, and all of the older Fox titles). I know I can go the Eac3to route, but that is much more difficult (my skills with line commands are weak at best) and time consuming. The Truehd to AC3 feature you added works great. Thanks.

I could if there was a very big need for it. For now I'm not sure there is since legacy software DTS decoders are able to decode DTS HD MA -- DTS HD MA is backwards compatible. The same is not true for TrueHD. The embeded AC3 stream inside the blu-ray TrueHD is a hack and not part of the TrueHD standard (The AC3 stream is not a "core" of the TrueHD stream but a totally separate thing), so legacy AC3 software decoders freak out if you try to feed them TrueHD streams directly.

Mitchjs
11th January 2008, 03:49
are we allowed to post rapidshare links
here is .18

hxxp://rapidshare.com/files/82861643/TsRemux_V0.18.exe.html

dirkr
11th January 2008, 15:56
I could if there was a very big need for it. For now I'm not sure there is since legacy software DTS decoders are able to decode DTS HD MA -- DTS HD MA is backwards compatible.

THAT WOULD BE GREAT!!!!!

Sometimes my mediaplayer takes the DTS-HD and plays the dts-core, sometimes not :mad:

If you integrate these function I would always convert the DTS-HD to the core, so I have a 100% playing stream.

Please do so :thanks::thanks::thanks:

lazyn00b
11th January 2008, 18:27
I agree with dirkr, it would be very nice to extract DTS core, because decoding of the advanced new codecs is so unreliable.

:thanks:

Nasgul
12th January 2008, 00:40
Hi,

would it be possible/difficult to implement a muxing feature, e.g. take the raw elementary streams (vc-1, mpeg2, ac3...) and mux them as m2ts?

With eac3to, one could easily convert/extract dts-hd/dd+/truehd to dts core or ac3 and then (re)mux then again to m2ts.

That would be fantastic :)

Regards,
Nas

dexgo
12th January 2008, 10:54
how are you guys able to load EVO files into TSremux? Everytime I try loading anything from a movie to just a trailer all I get is this:

http://i36.photobucket.com/albums/e3/ge0rgieee/evo.jpg

It just sits there like that.

Bump,

I have the same problem. and it's annoying.

I have tried alot and still can't get EVO files to load in Any version of tsrexuer.

Please can someone Help.

This would be the Icing on my cake. and complete my endeavors.

All i need is a way to mux EVO to BD and then I will Be off to the races.

thanks

Mitchjs
12th January 2008, 16:09
for EVO to ...
FOR NOW USE VERSION V.0.0.18

(this had been said a few times)

mitch

dexgo
12th January 2008, 23:24
Thanks, but I get Insufficent system resources when I try and load an evo in .018.

and When I try and Remux a mt2s file back to BD it goes hangs and gives me an error at half way

dmz01
13th January 2008, 02:59
Hi,

would it be possible/difficult to implement a muxing feature, e.g. take the raw elementary streams (vc-1, mpeg2, ac3...) and mux them as m2ts?
Nas

It would be possible and very, very difficult/time consuming. I just don't have that much free time to implement a full muxer. This has been discussed in this thread already, but full muxing requires a lot of knowledge about the structures of all the various elementary streams as well as knowledge about keeping all those streams in sync, while keeping track of the demuxing buffers etc. Remuxing is a lot simpler, I don't have to worry about all those elementary stream interweaving, issues with elementary stream buffers in the demuxer, any timestamp generation to keep every thing in sync, I just re-use what's already there. :)

ByeByeBluRay
13th January 2008, 13:14
I'm having a problem playing movies that contain only a DTS-HD stream.

In both PowerDVD and Nero8, they show up as having only a video stream, so I get no sound at all. All others play fine (including the TrueHD ones now, thanks to the AC3 feature).

I'm wondering if being able to remux with just the DTS core core would help?

BBBR

Nasgul
13th January 2008, 15:20
Hi,


It would be possible and very, very difficult/time consuming.


Oh, I see. Too bad, but thanks for answering... :)

Regards,
Nas

fbd
14th January 2008, 10:38
Hi,

@ dmz01,

Do you know if there are problems with large m2ts files?
Because I have a m2ts (34Go) and Tsremux can't open it,without error message.

Thanks
Franck

jefrey
14th January 2008, 16:33
Hi guys i've tested around with this tool and some ts streams and it works great. But maybe there is a little bug inside, if i remux my video and two audio.. power dvd just play one of them, the 1st one, i cannot switch to the second audio. is it possible to change it?

warm regards jef

maya
14th January 2008, 18:24
I'm having a problem playing movies that contain only a DTS-HD stream.

In both PowerDVD and Nero8, they show up as having only a video stream, so I get no sound at all. All others play fine (including the TrueHD ones now, thanks to the AC3 feature).

I'm wondering if being able to remux with just the DTS core core would help?

BBBR

I mentioned this in an earlier thread to dmz. With Fox and now Newline putting only DTS MA audio tracks on their discs, the DTS MA conversion to straight DTS would be great.

Kurgan
15th January 2008, 03:22
Anyone have a link to .18? I can't seem to find it, everything has .19 which seems to have issues.

Mitchjs
15th January 2008, 03:31
look at post 955 for link to .18

mitch

kmitalian
15th January 2008, 09:25
Hey guys,

i recently got a BDU200 Blu Ray Burner and im wanting to convert my Matrix HD-DVD to Blu-Ray.

I used TSremux .18 and it picked it up perfectly.

But when i convert it to Blu-Ray, i notice that it takes a bit through the movie to go out of sync!!!!

the start seems fine but then it goes out of sync completly.

I also got .19 how do i fix up this out of sync problem?

I WOULD LIKE SOME HELP WITH THIS PLEASE!!!!!

Kurgan
15th January 2008, 15:46
Thanks to all who responded on the tsremux .18 link. The post 955 link works if others are looking for it too.

maya
15th January 2008, 18:09
Hey guys,

i recently got a BDU200 Blu Ray Burner and im wanting to convert my Matrix HD-DVD to Blu-Ray.

I used TSremux .18 and it picked it up perfectly.

But when i convert it to Blu-Ray, i notice that it takes a bit through the movie to go out of sync!!!!

the start seems fine but then it goes out of sync completly.

I also got .19 how do i fix up this out of sync problem?

I WOULD LIKE SOME HELP WITH THIS PLEASE!!!!!

Are you burning this to a disc and then trying to play it on a blu ray player? If so, you can't. To my knowledge, the frame rate for hd dvd and tha audio are different and you need a professional program such as Sonic scenarist (which costs a significant amount of money if I'm not mistaken).

ByeByeBluRay
15th January 2008, 18:52
I mentioned this in an earlier thread to dmz. With Fox and now Newline putting only DTS MA audio tracks on their discs, the DTS MA conversion to straight DTS would be great.

It is a bit puzzling though, because the movies play fine with audio straight from the original disk. That means PowerDVD and Nero8 can both handle a DTS-MA stream (even if they are only using the core), so I don't know why the audio wouldn't show up in the remuxed movie.

maya
15th January 2008, 22:50
It is a bit puzzling though, because the movies play fine with audio straight from the original disk. That means PowerDVD and Nero8 can both handle a DTS-MA stream (even if they are only using the core), so I don't know why the audio wouldn't show up in the remuxed movie.

I want to stream my rip to my PS3, and to my knowledge it only accepts AC3 and DTS audio streams. Does anyone have a workaround for streaming DTS HD MA to their PS3? I have asked this question on doom9 before but haven't gotten any responses yet. Any ideas would be great.

Frodo
16th January 2008, 08:23
Good morning,
i have a question about the "bypass audio alignment" feature.
What does this mean in detail??

Frodo

morpheus0815
16th January 2008, 12:12
So, after reading and reading for days and many failed experiments this is where I stand:

All tests done with h264 and AC3 sound in MKV container!
Resolution 1280x544, filesize about 4,5GB.
PS3 is firmware 2.1

GOAL: create PS3 playable video with 5.1 sound (preferably AC3), which fits on DVD5 without reencoding the video!



1) using MKV2VOB I get a file I can play on the PS3 no matter the file size (Tversity or PS3 HDD or as UDF 2.5 DVD+R)
Audio is in sync, however no ffw, pause etc. possible.

2) using GOTsend I get an .mp4 which plays perfectly fine with Audio in sync and ffw, pause etc. possible. HOWEVER, filesize must be below 4GB (using the file above GOTsent gives me 3,98GB file) and AAC audio is only 2ch (on PC AND PS3) Can someone tell me how to tweak GOTsent to get 5.1 AAC sound? And can someone confirm that the PS3 can now output that over optical out? My receiver would be able to decode it.

3) the most complex one....
MKVextract to demux to h264 and AC3 files.
H264info to convert to 4.1 level
Elecard Xmuxer to create .ts
TSremux to create bluray structure with .m2ts stream.

This does NOT fit on DVD5 due to 188 vs 192 bits.

Therefore one more step inbetween.
Belight to reduce the bitrate of the AC3.
Then mux with Elecard.
TSremus for Bluray structure.
Burned with NERO to UDF 2.5

-> I Get an AVCHD Disk with chapters, ffw, pause etc. possible, 5.1 sound. BUT
- green lines below video -> how do I convert the h264 stream from 544 vertical lines to 720 lines with equal amount of black lines above and below the 544 lines of video?
- AUDIO is out of sync. The video is delayed compared to the sound, but I can't say for sure that this delay remains the same over the whole length of the movie....
Where and how do I fix this?
While demuxing or muxing? MKVextract gives me two timecode files? I guess incorporating those into the .ts mux would do the trick, but how do I do that? Can someone point me to a software to do this?

Any info on the other 2 paths I'm following is also highly appreciated!

lance79
16th January 2008, 21:01
how do I convert the h264 stream from 544 vertical lines to 720 lines with equal amount of black lines above and below the 544 lines of video

DirectShowSource("h264_544.mkv",audio=false,fps=23.976)
Lanczos4Resize(1280,544).Addborders(0,88,0,88)
Converttoyv12()

U need to reencode the video, no other options at the moment...

morpheus0815
16th January 2008, 22:59
how do I convert the h264 stream from 544 vertical lines to 720 lines with equal amount of black lines above and below the 544 lines of video

DirectShowSource("h264_544.mkv",audio=false,fps=23.976)
Lanczos4Resize(1280,544).Addborders(0,88,0,88)
Converttoyv12()

U need to reencode the video, no other options at the moment...

That is using avisynth and megui I guess? *sigh*
Thanks for your help Lance, I saw in the RedKawa Forum you spent a great deal of time yourself with this :-)

What about the sync issue and the TimeCode Tracks I get from mkvextract? Any info on how to correct this?

lance79
17th January 2008, 07:11
Yup avisynth & Megui or commandline x264

Not all mkv movies use 23.976 framerate, some are 25 or 29.970 u have to change this in script... fps= ??
To find out the right framerate u can use MediaInfo

http://mediainfo.sourceforge.net

After reencode with right settings, sync should be ok...

morpheus0815
17th January 2008, 10:22
Yup avisynth & Megui or commandline x264

Not all mkv movies use 23.976 framerate, some are 25 or 29.970 u have to change this in script... fps= ??
To find out the right framerate u can use MediaInfo

http://mediainfo.sourceforge.net

After reencode with right settings, sync should be ok...


mine is 23,976 - checked with VLC. Encode is running right now. On my P4 that takes some good 24h :-(

I'll report back once my next AVCHD is ready and tested ;-)

Psythorn
17th January 2008, 10:36
So, after reading and reading for days and many failed experiments this is where I stand:

All tests done with h264 and AC3 sound in MKV container!
Resolution 1280x544, filesize about 4,5GB.
PS3 is firmware 2.1

GOAL: create PS3 playable video with 5.1 sound (preferably AC3), which fits on DVD5 without reencoding the video!

[...]

-> I Get an AVCHD Disk with chapters, ffw, pause etc. possible, 5.1 sound.

[...]



Hey... Great... Someone who shares at least some of my goals... Add subtitles and I'm in - also the filesize doesn't matter to me since I'm going for some non-hd dvd-recodes...

But my starting point is a little different...
I would like to use nero recode for recoding the video to avc... And then use demuxing/remuxing to get the candy to work (subtitles, ac3 audio+h264, chapters)...

Slowly I'm starting to get an idea of which way to go...
(http://forum.doom9.org/showthread.php?t=133791)

Will do some tests with tsremux, too...
Main question is: Is it able to demux nero-avc (since it stores chapters and subtitles in a propreatary way) ?

Nasgul
17th January 2008, 11:36
Hi,

has anyone managed to author/remux a stream with VC1/AC3, burned to a DVD5/9 that plays successfully in non-PS3 standalone players?

I´ve authored a few discs, ran ps3bdfix, put the resulting M2TS through TSRemux ("Bluray" option) and then burned to a DVD5/9 with UDF2.50.
The discs play fine in the PS3 and PowerDVD, but not in any standalone player (tested Sony BPD-S1, Pioneer LX70 and a Panasonic). Both the Sony and the Pioneer display "AVCHD", but no playback.

Is it possible that the standalone players won´t play AVCHD discs with VC1 video (or might this be a problem with the AVCHD structure that Tsremux creates)?

Regards,
Nas

morpheus0815
17th January 2008, 21:52
Hi,

has anyone managed to author/remux a stream with VC1/AC3, burned to a DVD5/9 that plays successfully in non-PS3 standalone players?

I´ve authored a few discs, ran ps3bdfix, put the resulting M2TS through TSRemux ("Bluray" option) and then burned to a DVD5/9 with UDF2.50.
The discs play fine in the PS3 and PowerDVD, but not in any standalone player (tested Sony BPD-S1, Pioneer LX70 and a Panasonic). Both the Sony and the Pioneer display "AVCHD", but no playback.

Is it possible that the standalone players won´t play AVCHD discs with VC1 video (or might this be a problem with the AVCHD structure that Tsremux creates)?

Regards,
Nas

well, I'm no expert, but afaik AVCHD is Mpeg 4 AVC <> VC1, which would explain why it won't work on standalone players. The PS3 can play regardless of the container, which is sweet....

@Psy, again I'm no expert, but the way it looks to me TSremux creates the chapters the way you enter it (e.g. every 5 mins) it won't even look at what chapters the AVC has....

kalle2k3
17th January 2008, 22:38
Hi, where i can i download older versions of TSRemux, especially version 0017 ? Or is someone still in possession of this and can sent me a pm ?

lance79
18th January 2008, 08:20
U need an blu-ray player that supports AVCHD DVD, Sony, Panasonic.

http://www.bigscreen.com/journal.php?id=687

Or burn output on a blu-ray dvdr


Hi,

has anyone managed to author/remux a stream with VC1/AC3, burned to a DVD5/9 that plays successfully in non-PS3 standalone players?

I´ve authored a few discs, ran ps3bdfix, put the resulting M2TS through TSRemux ("Bluray" option) and then burned to a DVD5/9 with UDF2.50.
The discs play fine in the PS3 and PowerDVD, but not in any standalone player (tested Sony BPD-S1, Pioneer LX70 and a Panasonic). Both the Sony and the Pioneer display "AVCHD", but no playback.

Is it possible that the standalone players won´t play AVCHD discs with VC1 video (or might this be a problem with the AVCHD structure that Tsremux creates)?

Regards,
Nas

Nasgul
18th January 2008, 11:30
Hi,


U need an blu-ray player that supports AVCHD DVD, Sony, Panasonic.


Both the Sony BDP-S1 and the Pioneer are supposed to play AVCHD discs. They also both recognise the disc as AVCHD in the display, but won´t start playback.
I guess it´s either the VC-1 codec or something in the AVCHD structure that prevents them from playing...

Have you successfully played an AVCHD disc with VC1 in a standalone??

Regards,
Nas

lance79
18th January 2008, 11:44
Nope i use my ps3 for bluray/avchd playback.


Hi,



Both the Sony BDP-S1 and the Pioneer are supposed to play AVCHD discs. They also both recognise the disc as AVCHD in the display, but won´t start playback.
I guess it´s either the VC-1 codec or something in the AVCHD structure that prevents them from playing...

Have you successfully played an AVCHD disc with VC1 in a standalone??

Regards,
Nas

Joniii
20th January 2008, 20:23
I'm having a problem demuxing DTS or dunno if it was DTS-HD audio from my TS backup. When I open the file with tsremux I see VC-1 stream and I can demux it fine but audio is named "Unknown Stream of type 6". If I try to demux it I get error message. TS file plays fine and I get 1536kbps DTS into receiver. Any idea what might be the problem?

Sample TS here (http://www.netikka.net/enclave/sample.ts)

stevenmok
21st January 2008, 15:48
i find some problem for playing AVCHD in PS3

i use tsremux to remux the Ts format to blu-ray and use nero to burn in UDF2.5 format

i got four files, when i open in tsremux, screen (http://www.skhsjs.edu.hk/sample.GIF)
, disk2 and disk 3 play it correctly in ps3 with DTS, but not disk 1 and 4, that is only video. and if i press forward will be to end of track.

i think is it due to priority problem??

any software can change priority for ts file??
thank

Joniii
22nd January 2008, 22:10
I'm having a problem demuxing DTS or dunno if it was DTS-HD audio from my TS backup. When I open the file with tsremux I see VC-1 stream and I can demux it fine but audio is named "Unknown Stream of type 6". If I try to demux it I get error message. TS file plays fine and I get 1536kbps DTS into receiver. Any idea what might be the problem?

Sample TS here (http://www.netikka.net/enclave/sample.ts)

It is DTS-HD track, so TSremux can't demux those. Any possibility of DTS-HD support in the future?

morpheus0815
23rd January 2008, 01:53
just fyi,
I've basically given up on the AVCHD thing for now.... At least until there is an easier solution for it. Reencoding just doesn't cut it, and the final result is not overwhelming either.
For one the PS3 drive doesn't sound very healthy reading these DVDs (like constantly searching the right cue point) and I seem to have some compatibility issues as well (Nero won't let me burn a reencoded file to a DVD+R while I did exactly that with the "regular" file before).
Also my PC is way tooooo slow for reencoding.
Therefore I am happy with the mkv2vob solution which works like a charm. Only flaw is the ffw/fr thing which you can solve by giving up hard disk space.....

Zow
23rd January 2008, 09:59
Noob question here:

I am trying to rip my Blu-Ray DVD into a H.264 MKV of about 4-5Gb (I store all my DVDs on a NAS and hate dealing with actual disks, which go to a box in a closet - I assume that the quality at this rate would be decent). I would like to preserve the English subtitles as well.

I started TsRemux and selected the largest m2ts file (main feature) from the ripped Blu-Ray. I was hoping to rip to a single .m2ts or .ts file, which I plan to convert to H,264 MKV using AutoMKV.

The problem is, I got the single .m2ts file (AVC Video Stream; Lossless PCM Audio Stream; Presentation Graphics Stream #1 (hopefully English subtitles), but when I tried to import it into AutoMKV, I didn't see any audio or subtitles.

Now I am trying to remux to TS and have selected Dolby Digital Audio Stream #1 instead of PCM, but I am still not sure I am doing it right.

Am I on the right path?

Atak_Snajpera
25th January 2008, 18:30
Will you add command line support?

Luvpeaceguru
25th January 2008, 20:39
I am seeing very strange behaviour on this disk. Having ripped with AnyDVDHD, I get the error in the attached file when I go for any of the key 3x 8.5GB m2ts files:

Lacix
25th January 2008, 21:35
Anyone who managed to create blu-ray format from an .mkv file ?
I got these messages:
index out of bounds.
TSRemux.BlurayOutput.Author(EpElement[]EpInfo, SteamInfo[] sis, UInt32 numOfSourcePackets)
TSRemux.Coordinator.StartMuxing(String outPath, BackgroundWorker worker, TSFileType outType, List'1 pidsToKeep, Timespan ts, TimeSpan te, Boolean useAsync, Boolean processAudio, Boolean MlpToAc3, PesFile input, PesFile secondary, Timespan offset, TimeSpan chapterLen)
TSRemux.TsRemux.backgroundWorker1_DoWork(Object sender, DoWorkEventArgs e)
System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)

(The movie was with DTS sound, but I get this error with movies with AC3 sound)

I don't see the subtitle streams in mkv file also, is it not yet supported ?

It would be a great application to convert mkv files for PS3.
(I'm sure they wont support mkv in PS3 :( )

Atak_Snajpera
25th January 2008, 23:55
You should try this method
http://forum.doom9.org/showthread.php?p=1091845#post1091845

BD-Newbie
26th January 2008, 02:29
It is a bit puzzling though, because the movies play fine with audio straight from the original disk. That means PowerDVD and Nero8 can both handle a DTS-MA stream (even if they are only using the core), so I don't know why the audio wouldn't show up in the remuxed movie.

If you select the DTS-HD audio track when re-muxing, it is there afterwards honest!

The problem is the splitter that is used during playback. For some reason using Graphedit and the Nero/PowerDVD filters I just could not get DTS audio to work.

However, if you use the Haali splitter and AC3 Spdifer the DTS-HD stream will be output, which most AV amps then recognise as normal DTS (at least mine does)

My only problem is that the Haali splitter combined with the PureVideo decoder equals jerky video playback. I can get smooth video playback with the Nero or Cyberlink video decoder, but you don't get any of the nice option like colour/gamma control (or most importantly, native h/w acceleration on nvidia cards) like you do with the purevideo decoder.

I am still experimenting with filter combinations and will post if I am successful.

jamos
26th January 2008, 23:34
This works like a charm for me on the ps3 from bd's..

bd iso structure rip to hd with anydvd after mounting the iso.

then find the m2ts files that are the main movie.

use tsRemux to import them and choose the correct streams to use, also the convert dolby hd works flawlessly to ac3.

choose ts output.

remux..and bam! a nice playable ts file on my ps3 with ac3 surround.

dj7675
28th January 2008, 21:37
Thanks for this tool. It is great to be able to play my HD recordings via regular DVD which works perfectly. I am wondering if tsremux, or any other tool can make hd mpeg or ts files that can be streamed to the ps3. Right now the PS3 will open the file and play it but the files stutter with green flashes. Any direction/help would be greatly appreciated.

Darin

jamos
30th January 2008, 16:35
getting divide by zero error when converting any ts or m2ts file to bd structure. Anyone else getting this? happens with ver. .18 and .19.