PDA

View Full Version : mpg to mkv or mp4?


strang
20th June 2008, 02:38
I used mkv2vob to convert a whole bunch of files to .mpg so that my PS3 would play them. But recently I've been having problems streaming to it. So I've decided to use my Xbox 360 to playback videos for now. But 360 uses mp4 instead of mpg for H.264 data. How would I go about muxing tracks in .mpg container back to .mkv or to .mp4?

GSpot shows the file type of the files I want to convert are in fact MPEG-2 Transport Stream.

I know for a fact that they're H.264 videos inside a .mpg or .m2ts container.

Ranguvar
20th June 2008, 03:07
M2TS = MPEG-2 Transport Stream

TsRemux can demux the video and audio, which can be muxed back into an MP4 with MP4Box (YAMB is a good GUI for it). MP4Box/YAMB may support adding the video and audio directly from your source, I don't know. Try and see.

strang
20th June 2008, 03:50
I used MP4Box 0.4.4 and YAMB 2.0.0.8 but when I try to add the input file to extract it would give me error:

"Access violation at address 00573F15 in module 'Yamb.exe'. Read of address 00000030."

Ranguvar
20th June 2008, 05:10
Then demux the streams with TsRemux and then add them in YAMB.

strang
20th June 2008, 05:34
Please explain how to use TsRemuxer. It seems to only remux files into .m2ts/ts/blu-ray. How do I demux streams?

strang
20th June 2008, 08:00
I have successfully muxed the .m2ts into .mkv again with DS Mux that came with Haali. GOTSent would crash on me when I try to mux it into something Xbox 360 would read. Suggestions?

Ranguvar
20th June 2008, 14:38
TsRemux should be able to demux elementary streams. It claims it can do this.

In YAMB, add your remuxed MKV if you're confident it will work, or add the streams demuxed right from the M2TS with TsRemux.

strang
21st June 2008, 01:21
Umm. I can't open .mkv in YAMB? Where do I go for that?

Ranguvar
21st June 2008, 02:40
If you can't open the MKV in YAMB, just extract the audio and video streams from the M2TS with TsRemux, and then mux them into an MP4 with YAMB.

Note though, the Xbox 360 can't play anything other than stereo AAC-LC in the MP4 container. If you have AC3 audio or something, you'll have to convert that.