PDA

View Full Version : Understanding *.m2ts streams


Lance
24th April 2009, 11:15
Hi there, I have a strange situation and I was wonder, if anybody can help.

Recently I have ripped a few BD's and remuxed them with TSmuxer, so that there are no unneccessary tracks included. I just left the video and the english and german audio tracks within the stream. I have a little standalone mediaplayer, a HDX1000, which plays mkv, m2ts and every other container one can imagine. Transfering BD to mkv takes darn long (approx 20 hrs.) and so I stick with remuxed m2ts stream, which can at least have various audio tracks.

By 3 of 12 films my hdx1000 does not switch to the correct output mode of 1080/24p although the material consists of 24p. The HDX just switches my TV to 1080p. As a result of this, the film jitters a lot. If I set the player manually to 1080/24p it plays them all fine... but from then on not the DVD material on the harddisk, I would have to switch back.

Funny is, that, if I make a mkv with megui, the result is correct and the player switches the TV to the right settings :)

It is not a real bugger, but I was wondering if there is some sort of editable header in the m2ts stream where the information 24p or not is stored. I remember a littte tool for DVD's called DVDPatcher.

Does this ring a bell to somebody ? How can the player decide 2 different settings with the same sort of content ?

Thanks in advance...

Lance

Mark_A_W
24th April 2009, 13:01
Ummm....remuxing BD to MKV takes about 45 minutes. Same as remuxing to m2ts. Remuxing is remuxing.

MKV can have multiple audio tracks too, and subtitles.

TinTime
24th April 2009, 13:18
Yep. If you're using MeGUI then I guess you're re-encoding the video which is why it takes twenty hours!

Try eac3to and mkvmerge to remux m2ts to mkv.

Lance
24th April 2009, 13:33
Thanks guys, but I don't want to re-encode, I want the files to be played correctly on my player. I will try to remux these files to mkv and see, if that helps my actual problem with 24p.

TinTime
24th April 2009, 14:22
Sorry, re-reading my post I can see that it wasn't clear.

What I meant was don't use MeGui, because you're not re-encoding.

Use eac3to to remux video from the m2ts to mkv. It will also demux the audio.

Then mux video and audio to one mkv with mkvmerge.

setarip_old
24th April 2009, 16:02
@Lance

Hi!Transfering BD to mkv takes darn long (approx 20 hrs.)For a true "one-step" solution, use (presently freeware) "MakeMKV" to both rip (No need for "AnyDVDHD") your BluRay disc and quickly convert the desired titles (with only the video, audio, and subtitle streams that you choose) to .MKV...

Lance
24th April 2009, 18:01
woooaah... this is close to a solution. I made an uncompressed mkv with mkvmerge and the switch to 24p took place !!! Even the subtitles work now.

BUT: the movie stutters and jiotters like hell. It seem, tht the bitrate of nearly 22 Mbit/s is too much for a MKV.

OR I did not made the correct thing with the right tools.

setarip, I am gonna try yours and be back here when I've got any results.

this "Freeware" turns out to be not free at all... :( Either that, or I am too stupid to find it....)

I've got a 21GB dead file on my HD Which was " longer than 120 secs"

I don't buy thing, I cant' try before.

GPDVD
19th May 2009, 07:08
It is interesting reading Lance's problem as I have exactly the same issue. Using either of two commercial rippers I can play the resulting file in the stream directory with no problem. The audio is fine and the video is fabulous except.... it stutters constantly just as if the PC can't keep up with the data rate which is not the case as it plays the disc just fine and smooth as silk. There is no doubt a good technical reason for this, I just don't have a clue what it would be and more to the point what a reasonable work around would be.
Regards
GP.

Turtleggjp
19th May 2009, 20:42
Most likely the stuttering is because these little media players are not powerful enough to handle high bitrate MKVs, such as those created by not transcoding and simply remuxing. I know that is the case for my popcorn hour player (although it got much better with a firmware update last year that included the Haali Media Splitter). This is because the decoder inside the player is designed to handle .m2ts files. Anything else the player has to split with its own CPU, which is probably not very powerful. The transcoded MKVs created by MeGUI are probably a lower bitrate, and can therefore be handled easier.

Blue_MiSfit
19th May 2009, 20:44
How exactly did you create this MKV?

My suggested workflow:

1) Use eac3to to rip the BluRay to an MKV video file, and whatever audio format you want
2) Use MKVMergeGUI to combine the MKV and audio file into a fully muxed MKV
3) See how this plays on the PC
4) See how this plays on your SAP

If your SAP's hardware decoder can handle the M2TS, it has sufficient horsepower to play the MKV. Its splitter / buffering system or whatever might be lackluster for MKV.

In that case, you might be able to just make an M2TS with TSMuxeR.

Still, I'd use eac3to to do the rip.

~MiSfit

Arshad07
19th May 2009, 21:08
I have a problem with m2ts btw, dunno if its the right section but still....

Whenever i encode the m2ts ( via directshow ), my megui crashes. Or even when i close the previewer window, it just crashes....

Any help appreciated!
:thanks:

neuron2
19th May 2009, 22:09
@Arshad07

This is the second thread hijack I've seen of yours in just a few minutes. Stop it!

GPDVD
20th May 2009, 09:33
thanks to Blue_MiSfit and Turtleggjp for your replies, I will try what you suggest straight away.
Thanks Again,
GP.:thanks: