Convert RM to M2TS
M2TS is the stream file Blu-ray discs and AVCHD camcorder structures store their video in — the contents of the STREAM folder inside a BDMV directory. It is an MPEG-2 transport stream, but framed a particular way, and that framing is the entire reason to pick this extension rather than .ts or .mts.
This page decodes a RealMedia file — RealVideo and RealAudio, streaming-era codecs from RealNetworks — and re-encodes it into that disc-shaped transport stream. Because RealVideo and H.264 have nothing in common at the bitstream level, this is a full re-encode with one generation of loss; there is no rewrap path.
How to Convert RM to M2TS
- Upload Your RM File: Drag the
.rmfile onto the page or click "Add Files". Several clips can be queued and share one set of settings. Uploads travel over an encrypted connection and are processed on our servers. - Confirm Video Codec: Video Codec opens on H.264, with H.265, MPEG-2, MPEG-1, MPEG-4, DivX and Xvid as alternatives. H.264 and MPEG-2 are the two that belong in a disc-shaped stream; the table below says why the others do not.
- Set the Audio Codec Deliberately: Audio Codec opens on AAC, with AC3, DTS (DCA), EAC3, MP2 and MP3 available. AAC plays fine in general-purpose players but is not one of the audio formats Blu-ray recognises — switch to AC3 if anything disc-shaped is downstream.
- Set Compression and Resolution, Then Convert: Compression opens on Quality Preset at Very High (Recommended), alongside Specific file size, Constant Bitrate, Variable Bitrate, Constant Quality and Constraint Quality. Video resolution opens on Keep original. Click Convert and download; files are deleted automatically after a few hours, with no sign-up and no watermark.
Why the Extension Matters: 192-Byte BDAV Packets
A standard MPEG transport stream is a chain of 188-byte packets, each beginning with the sync byte 0x47. BDAV — the Blu-ray flavour — prefixes every one of those packets with a four-byte arrival timestamp, making 192-byte packets and pushing the sync byte to offset 4. Disc-oriented tooling expects that prefix; general broadcast tooling does not.
The muxer decides which to write from the output extension, and we verified it by encoding one source to four extensions and reading the opening bytes of each:
| Output extension | Opening bytes | Packet size | Sync byte at |
|---|---|---|---|
.m2ts (this page) |
0e bf 46 22 47 40 11 10 … |
192 bytes, BDAV framing | Offset 4 |
.mts |
47 40 11 10 … |
188 bytes, plain | Offset 0 |
.ts |
47 40 11 10 … |
188 bytes, plain | Offset 0 |
.avchd |
47 40 11 10 … |
188 bytes, plain | Offset 0 |
So the choice of .m2ts over its neighbours is not cosmetic and the file cannot be produced by renaming: .mts, .ts and .avchd outputs are byte-identical to each other and none of them carry the timestamp prefixes. If you want plain framing instead, RM to MTS writes it.
One thing the extension does not give you is a disc. A single .m2ts is a stream file, not a BDMV structure — there is no index, no playlist, no clip-information file around it. Authoring software builds that layer; this page produces the stream that goes inside it.
Getting the Audio Right for a Disc-Shaped Workflow
The default audio here is AAC, which is the right general-purpose answer and the wrong disc answer. Blu-ray's audio formats are linear PCM, Dolby Digital and DTS, with higher-tier extensions like Dolby TrueHD, DTS-HD and Dolby Digital Plus layered on top. AAC is not among them, and authoring tools will usually re-encode or reject it.
| Audio Codec | Disc-shaped workflows | General playback | Notes |
|---|---|---|---|
| AAC (default) | Not a Blu-ray audio format | Excellent | Fine for VLC, editors and media servers; expect an authoring tool to convert it |
| AC3 | The safe, universally-supported choice | Excellent | Dolby Digital — what most discs actually carry |
| EAC3 | Supported as a Blu-ray extension format | Good | Dolby Digital Plus; more efficient, less universally decoded |
| DTS (DCA) | A core Blu-ray audio format | Good | Common on commercial discs; larger than AC-3 at typical settings |
| MP2 | Not a Blu-ray format | Good | Belongs to the DVD and broadcast world rather than this one |
| MP3 | Not a Blu-ray format | Excellent | Convenient, but out of place in a .m2ts |
For a RealMedia source specifically, none of this will sound spectacular — the audio inside a .rm file is a heavily compressed low-bitrate stream, and re-encoding it to AC-3 is a lossy-to-lossy step. Choose the codec your destination requires rather than the highest bitrate available, because bitrate cannot recover what RealAudio already discarded.
Frequently Asked Questions
Which video codec should I use for an M2TS?
H.264, in almost every case. It is the mainstream Blu-ray video codec, it is efficient, and the compression controls behave as labelled with it — the quality preset resolves to a real constant-quality target and Constant Quality gives you a working CRF slider. MPEG-2 is also a legitimate disc codec and is worth choosing only if a specific tool asked for it; note that MPEG-2 has no constant-quality mode here, so the quality preset falls back to scaling the source bitrate and Constant Quality is discarded. H.265, MPEG-4, DivX and Xvid all produce a valid transport stream, but a .m2ts carrying them is disc-shaped in name only.
Can I burn this file to a Blu-ray disc directly?
No. A Blu-ray needs a BDMV folder tree containing index.bdmv, playlist files, clip information and the stream files themselves, all cross-referenced. This page produces one stream file. Give it to authoring software, which builds the structure around it — and set the audio codec to AC3 first so the authoring step has less to re-encode.
Why is my M2TS larger than the RM file I started with?
Because the default preset targets picture quality rather than size. On H.264 the Very High preset resolves to a tight constant-quality value, and it tightens further on small frames — which describes almost every RealMedia file, since those streams were sized for dial-up and early broadband. On top of that, BDAV framing adds four bytes to every 188-byte packet, roughly 2% of container overhead. If size matters, drop the preset to Medium or Low, or use Specific file size.
What is the difference between M2TS and MTS?
The framing, and nothing else about the content. .mts is the name camcorders use for stream files on their own memory cards and, from this converter, gets plain 188-byte packets. .m2ts is the name the same data takes inside a disc structure and gets 192-byte BDAV packets with arrival timestamps. Both hold the same kind of H.264 video; a tool that wants one and gets the other may simply refuse the file, which is why the extension you pick here has real consequences.
Will an M2TS play on my TV or media player?
Usually. Most smart TVs, set-top boxes and media players handle .m2ts because they were built to play files ripped or copied from Blu-ray discs, and VLC opens them without complaint. What varies is whether a given device accepts the audio codec inside — AAC in an M2TS is unusual enough that some hardware decoders skip it. AC-3 is the safer choice when a living-room device is the destination.
Does this preserve interlacing or fix it?
It preserves it exactly. There is no deinterlacing anywhere in this pipeline, so if the RealMedia source came from an interlaced broadcast or a DVD rip, the comb artifacts are decoded as they are and re-encoded into the output. Pixel aspect ratio behaves similarly: leaving Video resolution on Keep original preserves the source's sample aspect, but any resize flattens it to square pixels and will stretch an anamorphic source. Use Width x Height with explicit numbers if you must resize anamorphic material.
Should I upscale my RealMedia clip to 1080p to match Blu-ray?
No. Preset Resolutions set the output height and let the width follow the source aspect, so choosing 1080p on a 320×240 RealMedia frame simply spreads the same pixels across a much bigger canvas — a far larger file with no additional detail, and a looser quality target into the bargain, because the preset relaxes as the frame grows. Leave it on Keep original and let the authoring tool or the player scale at display time.
How are my files handled while they are on your servers?
The .rm file is uploaded over an encrypted connection, converted on our servers, and both the upload and the finished .m2ts are deleted automatically after a few hours. There is no account to create, no watermark, and files are never shared or made public. If a long recording makes upload the bottleneck, trim it first with the Video Cutter, which accepts .rm directly.