What program opens m2ts files?

This forum is for video and audio help and discussion.

What program opens m2ts files?

Postby KidEgo » Thu May 21, 2009 9:38 am

I got a new digital camera, and when it records video, it records it in this format called m2ts, and Windows Movie Maker or Adobe Premiere does NOT support this file type. Can anyone help out?
All my haters:I'm awesome, and you're just jealous and biased elitists. Fuck you very much.
And I still say CASSHERN SINS SUCKS ASS!!!!
KidEgo
 
Joined: 12 Jan 2008

Re: What program opens m2ts files?

Postby Zarxrax » Thu May 21, 2009 9:49 am

DGindex, I believe.
User avatar
Zarxrax
 
Joined: 01 Apr 2001
Location: Concord, NC

Re: What program opens m2ts files?

Postby Willen » Thu May 21, 2009 10:31 am

Which version of Premiere? Premiere Pro CS4 has native support and Premiere Elements 7 does too.

I assume that you have a AVCHD camera/camcorder since most of the questions about M2TS files are about footage from those types of products. AVCHD (http://en.wikipedia.org/wiki/AVCHD) is H.264/MPEG-4 AVC video and Dolby Digital (AC3) audio so some software will need to transcode or convert the video stream for editing.

You could always use AviSynth and frameserve the footage to Premiere and import it via the Premiere AVS plug-in. Or convert the files to lossless Huffyuv or uncompressed video (huge files!). You'll need the proper DirectShow codecs installed (ffdshow should suffice) and a M2TS file splitter (Haali's is usually recommended). Depending on how powerful your computer is, you might not be able to easily edit the files. In particular, scrubbing the timeline will be laggy.

Other programs that can open and edit these files are Sony Vegas 7.0e & Pro 8, Vegas Movie Studio 8 Platinum and newer, Pinnacle Studio Plus 11 and newer, Apple Final Cut Pro 6.0.1, and iMovie '08 and newer. Most of them will either transcode the video internally or require conversion to an intermediate format (Apple). Expect to use a good chunk of hard drive space either way.
Having trouble playing back videos? I recommend: Image
User avatar
Willen
Now in Hi-Def!
 
Joined: 10 Jul 2005
Location: SOS-Dan HQ
Status: Melancholy

Re: What program opens m2ts files?

Postby KidEgo » Thu May 21, 2009 12:00 pm

Yes, it is an AVCHD camera by Canon. I don't remember which version of Adobe Premiere I use. And what is this AviSynth process, and how do you use it?
All my haters:I'm awesome, and you're just jealous and biased elitists. Fuck you very much.
And I still say CASSHERN SINS SUCKS ASS!!!!
KidEgo
 
Joined: 12 Jan 2008

Re: What program opens m2ts files?

Postby Willen » Fri May 22, 2009 3:45 am

It is described here: http://www.animemusicvideos.org/guides/ ... meth2.html and here: http://www.videohelp.com/forum/archive/ ... 34524.html

The plug-in was developed with AMV creation in mind, but is obviously useful for general video importing and editing.
Having trouble playing back videos? I recommend: Image
User avatar
Willen
Now in Hi-Def!
 
Joined: 10 Jul 2005
Location: SOS-Dan HQ
Status: Melancholy

Re: What program opens m2ts files?

Postby KidEgo » Sat May 23, 2009 12:57 pm

I made a new AVS script like it said and posted DirectShowSource("C:\Directory\File Name.m2ts")

But when I tried to import it, it said:

Avisynth Error:

Script error: there is no function named "DirectShowSource"
(C:\Directory\File Name.m2ts)

Then I click OK, and it says Avisynth Error:

Import: couldn't open "C:\blankclip.avs"

What am I doing wrong?
All my haters:I'm awesome, and you're just jealous and biased elitists. Fuck you very much.
And I still say CASSHERN SINS SUCKS ASS!!!!
KidEgo
 
Joined: 12 Jan 2008

Re: What program opens m2ts files?

Postby Qyot27 » Sat May 23, 2009 3:41 pm

You'll want to use DGAVCDec (DGAVCIndex and DGAVCDecode.dll) instead of DGMPGDec (DGIndex and DGDecode.dll). You need to make sure you place DGAVCDecode.dll in C:\Program Files\AviSynth 2.5\plugins, or else it won't autoload.

Open the .m2ts in DGAVCIndex and let it save the .dga indexing file. Then use AVCSource in your script to open the .dga rather than using DirectShowSource at all (which, you might not have DirectShowSource.dll in your AviSynth plugins directory).

You can actually have DGAVCIndex (or DGIndex, if you were working with MPEG-2) generate a script for you. That info is available in the help, but the basic gist is that you have a template.avs file residing in the same directory as the program, and it contains something like this, at the very least:
Code: Select all
AVCSource("__vid__.dga")

You then tell the program where that template is (Options->AVS Template, and then the Change Template File button), and then when you save the .dga file it will make the script for you automatically. The __vid__ part is the key there - it tells the program to replace __vid__ with the actual directory and filename you're saving to. That's two underscores on each side.
My profile on MyAnimeList | Quasistatic Regret: yeah, yeah, I finally got a blog
User avatar
Qyot27
Surreptitious fluffy bunny
 
Joined: 30 Aug 2002
Location: St. Pete, FL
Status: Creepin' between the bullfrogs

Re: What program opens m2ts files?

Postby Scintilla » Sat May 23, 2009 4:07 pm

Isn't this a bigger problem right here?:
KidEgo wrote:Avisynth Error:

Script error: there is no function named "DirectShowSource"
(C:\Directory\File Name.m2ts)

I thought DirectShowSource was a core filter in AVISynth. KidEgo, what version do you have? You should be on at least 2.5.7.
ImageImage
:pizza: :pizza: Image :pizza: :pizza:
User avatar
Scintilla
(for EXTREME)
 
Joined: 31 Mar 2003
Location: New Jersey
Status: Quo

Re: What program opens m2ts files?

Postby KidEgo » Sat May 23, 2009 4:21 pm

Qyot27 wrote:You'll want to use DGAVCDec (DGAVCIndex and DGAVCDecode.dll) instead of DGMPGDec (DGIndex and DGDecode.dll). You need to make sure you place DGAVCDecode.dll in C:\Program Files\AviSynth 2.5\plugins, or else it won't autoload.

Open the .m2ts in DGAVCIndex and let it save the .dga indexing file. Then use AVCSource in your script to open the .dga rather than using DirectShowSource at all (which, you might not have DirectShowSource.dll in your AviSynth plugins directory).

You can actually have DGAVCIndex (or DGIndex, if you were working with MPEG-2) generate a script for you. That info is available in the help, but the basic gist is that you have a template.avs file residing in the same directory as the program, and it contains something like this, at the very least:
Code: Select all
AVCSource("__vid__.dga")

You then tell the program where that template is (Options->AVS Template, and then the Change Template File button), and then when you save the .dga file it will make the script for you automatically. The __vid__ part is the key there - it tells the program to replace __vid__ with the actual directory and filename you're saving to. That's two underscores on each side.

Okay, I got the avs into Premiere successfully, but it saved the audio track as AC3, and Premiere doesn't support that. What do I do?
All my haters:I'm awesome, and you're just jealous and biased elitists. Fuck you very much.
And I still say CASSHERN SINS SUCKS ASS!!!!
KidEgo
 
Joined: 12 Jan 2008

Re: What program opens m2ts files?

Postby Scintilla » Sat May 23, 2009 4:49 pm

You should be able to use (say) BeSweet to convert the .AC3 to .WAV. If you don't have BeSweet, it's included in the AMVapp.
ImageImage
:pizza: :pizza: Image :pizza: :pizza:
User avatar
Scintilla
(for EXTREME)
 
Joined: 31 Mar 2003
Location: New Jersey
Status: Quo

Re: What program opens m2ts files?

Postby KidEgo » Sat May 23, 2009 8:11 pm

Okay, it's saying it can't find the BeSweet.log file and if I want to create one. I click yes, and it just opens Notepad, and it won't make my fucking file.
All my haters:I'm awesome, and you're just jealous and biased elitists. Fuck you very much.
And I still say CASSHERN SINS SUCKS ASS!!!!
KidEgo
 
Joined: 12 Jan 2008

Re: What program opens m2ts files?

Postby Scintilla » Sat May 23, 2009 8:39 pm

Uncheck the box under "Log File Options" that says "Output File: Besweet.log" or whatever, so that it won't bother logging.
ImageImage
:pizza: :pizza: Image :pizza: :pizza:
User avatar
Scintilla
(for EXTREME)
 
Joined: 31 Mar 2003
Location: New Jersey
Status: Quo

Re: What program opens m2ts files?

Postby KidEgo » Sat May 23, 2009 9:28 pm

Okay, then what? It's still not making the files.
All my haters:I'm awesome, and you're just jealous and biased elitists. Fuck you very much.
And I still say CASSHERN SINS SUCKS ASS!!!!
KidEgo
 
Joined: 12 Jan 2008

Re: What program opens m2ts files?

Postby ZephyrStar » Fri Oct 30, 2009 8:22 am

You're going to be way better off using ffmpegsource I would think. I do the same thing with files from Panny's HMC150. I usually transcode to lagarith for editing. (works way better/faster than trying to edit h264 natively unless you have the latest CS4 patch)
Image
User avatar
ZephyrStar
Master of Science
 
Joined: 17 Sep 2004
Location: The Laboratory
Status: Master of Science


Return to Video & Audio Help

Who is online

Users browsing this forum: No registered users and 0 guests