How export .m2ts?

Gran-Johansson wrote on 5/8/2025, 11:01 AM

I am new here.

I had to buy a new Pc. And realized that far from all modern video editing software can export the video format my camcorder delivers.
Since Vegas Pro can handle many different video formats, I installed the trial version.
And tested by putting two .m2ts files on the timeline. Import went fine. So I tried to export.

But there are so many alternatives. So what do I choose?

My Canon XA-10 delivers .m2ts 50i 1920*1080 24 Mbps with stereo sound.
When I edited on my old laptop, exported files were also .m2ts 50i 1920*1080 with stereo sound. But 30 Mbps. 
The image quality appears to be the same as for the files from the camcorder even when I had multiple layers with special effects.
Edited with a cheaper editing program.

I realized last week that .m2ts is supported by fewer and fewer video editing programs. So I should transcode. 
I have posted questions on another internet forum, and realized that it may take some time for me to find out what I should transcode to.
So please tell me how to choose the right alternative to export .m2ts, so I can continue editing while I try to find out what to transcode to.
 

Comments

3POINT wrote on 5/8/2025, 12:13 PM

When you want to play your videos on youtube or modern (U)HDTV's, I recommend following project settings:

and following rendertemplate:

Gran-Johansson wrote on 5/8/2025, 1:07 PM

Many thanks for those two screenshots. I hope that tomorrow I will have time to try that.

I play on my PC. When I send edited videos to others, or upload to Vimeo, I use more compressed video files.

But I also need to be able to send raw material to others.
 

3POINT wrote on 5/8/2025, 2:47 PM

FYI the recommended settings deinterlaces your 1080i50 m2ts AVCHD footage and renders it to 1080p50 mp4 AVC. Vimeo/YouTube prefer progressive video. Rendering 1080i50 to 1080p50 will keep the details and also the fluent motion. I prefer this above rendering 1080i50 to 1080p25.

For sending raw materials, leave 1080i50 and render with the Sony m2ts AVCHD 1080i50 rendertemplate.

Last changed by 3POINT on 5/8/2025, 2:49 PM, changed a total of 1 times.

3POINT, Theo Houben, Vegasuser since version 5 and co-founder and moderator of the Dutch Vegasforum https://www.vegas-videoforum.nl/index.php

Recware: DJI Osmo Pocket/Mavic Mini, GoproHero7Black, PanasonicFZ300/HCX909.

Software: Vegaspro365+Vegasaur, PowerDirector365, Davinci Resolve 20

Hardware: i910900k, 32GB, GTX2080super, 2x1920x1200 display

Playware: Samsung Qled QE65Q6FN

EricLNZ wrote on 5/8/2025, 7:10 PM

@Gran-Johansson This is partly in response to your query on the Magix forum.

Like you I have an older 1080 50i AVCHD camera. My main export is interlaced m2ts for playing on my TV or projecting at my video group. Hardware in real time used to do a better job at deinterlacing than software. I use the Sony AVCHD export mentioned by 3POINT. I stay at the 16,000,000 bps template as I've found increasing the bitrate gives buggy files. I also do a larger bitrate Blu-ray export (around 20 Mbps bitrate) for eventually burning to Blu-ray disc. With VP this is done with stream files - avc and ac3. But I like to have a playable Blu-ray file so I use tsMuxer to combine the stream files into a m2ts file. This takes only a few seconds as there's no re-rendering. To be honest I cannot tell any difference between my Blu-ray and AVCHD files despite their bitrate differences.

Lastly I drag my Blu-ray m2ts file into a VP project using the settings 3POINT gave you in his first post to create a 1080 50p mp4 file. VP's Smart Adaptive deinterlacing is great. I use a similar render template to that he shows.

You might ask why not do the 50p render direct from my project timeline? Well I've tried a few times but each time it fails part way through. I put this down to my fairly low spec machine unable to handle all the processing required with several tracks, FX etc but I have noticed a few others posters with a similar problem. Anyway I've had no problems re-rendering my m2ts files to 50p mp4 and the renders sail through. I did around 50 when I first got VP21. It's another generation but I cannot see any quality loss. My mp4 files I use for Vimeo and YouTube. Plus it gives me another file to archive and possibly I may start using them on my TV.

But be aware of this which I encountered. 1080 50p at a decent bitrate requires mp4 High Level 4.2. Some older TVs may only take Level 4.1. I used to use Handbrake for my mp4 conversions but some files would play up on my TV. Fortunately none of my VP converted 1080 50p mp4 files have given any problems playing.

Gran-Johansson wrote on 5/9/2025, 9:51 AM

Many thanks.

I tried. I chose Sony AVC/MVC, then I chose AVCHD 1920*1080-50i. This resulted in an .m2ts video file which easily plays on my PC. But with lower bit rate that the original video files. Target bit rate is 16 Mbps. While the finished file has a bit rate of almost 14 Mbps. Half of the orinal. 

And increasing the bit rate may give me problems? Well, I guess it will at least not harm if I try. Should I write that I want a bit rate slightly higher than the original? To have some margin? Or what is best to try?
 

EricLNZ wrote on 5/9/2025, 7:02 PM

@Gran-Johansson The problems I encountered with AVCHD were the files didn't play well due to incorrect info in the file (according to MediaInfo). Even rewrapping with Shutter Encoder didn't fix the problem.

As an alternative you could render as Blu-ray with higher bitrate but as I mentioned with Vegas they are separate streams but the avc and ac3 are easily and quickly joined by free tsMuxer to give you a m2ts file. I avoid using LPCM (wav) audio preferring ac3 because my TV won't recognise LPCM audio stream in a m2ts video file.

Gran-Johansson wrote on 5/10/2025, 2:42 AM

Thanks for telling. For me the situation is the reverse. Either everything works or nothing works. So for me the question is simply what alternative to choose.

3POINT wrote on 5/10/2025, 2:57 AM

As told before render to AVC mp4.

When still recording with that AVCHD camera, check for future recordings that the camera records in 1080p50 instead of 1080i50.

Also keep in mind that a camera always records in a higher bitrate and that for final rendering a lower bitrate is used.

Last changed by 3POINT on 5/10/2025, 3:04 AM, changed a total of 1 times.

3POINT, Theo Houben, Vegasuser since version 5 and co-founder and moderator of the Dutch Vegasforum https://www.vegas-videoforum.nl/index.php

Recware: DJI Osmo Pocket/Mavic Mini, GoproHero7Black, PanasonicFZ300/HCX909.

Software: Vegaspro365+Vegasaur, PowerDirector365, Davinci Resolve 20

Hardware: i910900k, 32GB, GTX2080super, 2x1920x1200 display

Playware: Samsung Qled QE65Q6FN

Gran-Johansson wrote on 5/10/2025, 3:07 AM

Alright, there are web pages which try to explain the difference between mpeg2 and mpeg4. I guess I should check there. So I learn.

Since I have never encountered this problem before, I feel confused, so it takes a little time for me to learn.

So thanks for your patience.

EricLNZ wrote on 5/10/2025, 6:34 AM

Forget mpeg-2. It is/was the codec designed in SD video days. Mpeg-4 is more modern and designed for HD. It is more efficient than mpeg-2 so a lower bitrate will give the same quality as a higher bitrate mpeg-2 file. For example a mpeg-4 file at 16mbps may be equivalent to mpeg-2 at 20mbps.

Also don't get confused with file type mp4. It is something different. It is a file type not a codec type.

Lastly mpeg-4, AVC and H264 are variations of mpeg-4.

 

Gran-Johansson wrote on 5/10/2025, 10:04 AM

I hope I can spend time on learning the difference between mpeg-2 and mpeg-4 already during weekend.

During the latest 15 years, I have tried to become a good screenwriter, so I have filmed my scripts. But spent little time on technical questions.

ac6000cw wrote on 5/10/2025, 10:32 AM

I avoid using LPCM (wav) audio preferring ac3 because my TV won't recognise LPCM audio stream in a m2ts video file.

Yes, I've also run into that problem. If I want to have video + LPCM audio I usually render out to a MOV stream, as that seems to work OK. If I want to render to an MP4 stream I usually use AAC audio as that is widely supported.