I would like Camtasia Studio to be able to import MTS Files (AVCHD)

  • 88
  • Idea
  • Updated 6 years ago
  • Implemented
  • (Edited)
I wonder why Camtasia doesn't read .mts files and if that will change in the future.
Photo of Mark A. Sam

Mark A. Sam

  • 20 Posts
  • 3 Reply Likes

Posted 9 years ago

  • 88
Photo of Mike Curtis

Mike Curtis, Employee

  • 2204 Posts
  • 216 Reply Likes
Hi, good question Mark.

Support and the Camtasia Studio team saw your post and here's an update:

It's true we don't support the AVCHD format which is a variant of mp4. Can you convert to a supported AVI or maybe MP4 h.264?

In the meantime, the CS team will see about future possibilities, and we'll try to keep you posted.

Our support team at http://support.techsmith.com are well-versed in the uncountable format types out there and can help you out if needed.

I'm going to change this to a feature request/idea so we can better track it.
Photo of Casey Baird

Casey Baird

  • 2 Posts
  • 0 Reply Likes
Have you guys made any progress toward the program accepting the avchd format? I LOVE the Sony handycam quality and stillness and can't seem to find a consumer camera with the same or better quality. Unfortunately Sony doesn't have a consumer camera that takes anything in HD other than this format....as far as I know. Please tell me you guys have an update or download to the program that allows it to take the mt2s files!!!!
Photo of Casey Baird

Casey Baird

  • 2 Posts
  • 0 Reply Likes
And yes I can use a converter, but holy crap that takes a LOT of time. Would be nice to just be able to import and use mt2s files in Camtaisa!!!!
Photo of Vasilios Pavlounis

Vasilios Pavlounis

  • 7 Posts
  • 1 Reply Like
I agree with other consumers that Camtasia needs to support MTS files. I bought a new Sony HD camcorder recently this year (2012) that got great reviews from Consumer Reports. My wife and I went on trip, took lot's of video, and to my great disappointment I cannot edit any of the video with Camtasia. I also want to use my Sony Cam for business purposes as well w/ Camtasia. Another huge disappointment. Wish I knew all this before I purchased Camtasia. I thought TechSmith always kept up with the latest and greatest.
Photo of HeyMimi

HeyMimi

  • 9 Posts
  • 1 Reply Like
I've made a video https://vimeo.com/88021299 about my new Canon Vixia camcorder that saves in full 1080p HD in MP4 format to a SD-HC card.  I import directly into Camtasia 8 and start editing without conversion.  Streamlines the process, for sure.
Q: does anyone else find this board impossible to navigate?
Mimi


(Edited)
Photo of Svendus

Svendus

  • 24 Posts
  • 0 Reply Likes
We can not import  Sony A77 AVCHD-video (.MTS) files
but we can easily drag them to the Clip Bin
No conversion needed !
Se this Snagit Video  AVCHD-video (.MTS) on Dropbox

This info might be helpful it solved My Problem Thank you

Svendus


Photo of Mark A. Sam

Mark A. Sam

  • 20 Posts
  • 3 Reply Likes
Mike,

Yes I can convert them to any format. Since I posted, I found it out, but my thinking was faulty concerning what I wanted to accomplish. I put together a video in Windows Live Movie Maker (WLMM), and wanted to move it to Camtasia Studio (I am working with a trial version and planning to purchase it). WLMM doesn't import object, but references them, so what I really need it to convert the referenced segments to a new format that Camtasia support. It is a Microsoft issue. But still in the future, it would be easier to not have to convert. I hope that you guys will include .mts in the future.

God Bless,

Mark
Photo of Mike Curtis

Mike Curtis, Employee

  • 2204 Posts
  • 216 Reply Likes
Great news. I agree. I once pulled off a video from a Panasonic Mini DV cam and converting isn't exactly convenient. Glad to hear you have something that's working!
Photo of Mark A. Sam

Mark A. Sam

  • 20 Posts
  • 3 Reply Likes
This one works well and you can convert them in groups: http://www.aiseesoft.com/mts-converte...
There are others. I just did a seach on convert mts
Photo of redclaystables

redclaystables

  • 8 Posts
  • 5 Reply Likes
I would love to dump adobe premiere and only use camtesia studios to edit my movies, but like most digital movie cameras, my canon HF200 produces an MTS format, and the extra step required to convert it to a camtesia studios supported format makes me stick with 2 editing systems - Premiere for my home videos and camtasia studios for the training videos I create.

PLEASE add MTS to the supported file types for camtasia.
Photo of j.tahir

j.tahir

  • 1 Post
  • 3 Reply Likes
i have camtasia studio 6, will not buy anymore camtasia as .mts is not supported. amazingly, camtasia people are on top of their game but do not realize most (if not all) the hd camcorders are .mts. it's a pain to convert and them import to camtasion. why not just support the format? they would make more money and have happy customers. Is anyone from Camtasia listening?
Photo of Kelly Rush

Kelly Rush, Product Manager

  • 356 Posts
  • 76 Reply Likes
Have any of you tried to simply change the file extension from .mts to .mp4? Occasionally that trick will work, and save you from having to do a re-encode.
Photo of redclaystables

redclaystables

  • 8 Posts
  • 5 Reply Likes
I just tried to rename the mts file to mp4, but no luck - when trying to import it into camtasia it says cannot decode video

Please include direct support for video camerias. I know we home video types are not your primary market, but often I do want to include a camcorder segment in a training webinar I am making, and since MTS is the standard format, it would love to see it supported.
Photo of Randy Schott

Randy Schott

  • 396 Posts
  • 47 Reply Likes
I just wanted to offer a little more insight on why we don't support MTS files. Sorry if this post gets long. :-)

First, I wanted to clarify that .mts is simply a container format. Inside the container, the video and audio streams can be encoded with one of several formats. For an HD camcorder, the video stream is most likely in AVC/H.264. The audio stream will typically be AC3. Looking at the specs for the Canon HF200, I can see that it uses those two formats.

CS uses DirectShow (with some restrictions) under the hood to process media files. We have a third party DirectShow filter that decodes AVC/H.264 content. However, we do not always have a filter that decodes AC3 audio. On Windows Vista (Home Premium/Ultimate) and above, Microsoft provides an MPEG audio decoder filter that handles Dolby AC3. The older Audio Compression Manager filter can also be used to decode AC3 provided that an ACM codec capable of handling that format has been installed. This works similar to our Video For Windows(VFW) support, which handles almost any AVI video stream provided that a VFW codec has been installed for it.

So, handling the streams is possible. However, you are more likely to have problems with the container. All container formats have specifications for how the data in the file should be laid out. In order to open a file for playback, the container must be parsed and the individual streams split out for decoding. So, you could take any format that CS supports and throw it into an obscure container and I guarantee CS will fail to open it.

MP4 files use the MPEG-4 specification. We have licensed a third party DirectShow filter that can parse this container format and split the audio and video for decoding. The MTS container format is based off of the MPEG-2 specification. MPEG-2 is most notably used in DVD video streams. Likewise, MTS is the container standard for Blu-ray video (HD camcorders just happen to use it as well).

While there are DirectShow filters that can parse MPEG-2 and MTS containers, CS 7 is using DirectShow Editing Services (a framework built on top of DirectShow) to handle our media streaming. DES has a documented limitation of not being able to handle MPEG-2 streams. That is why we can't support DVD video streams. This limitation also prevents us from supporting a properly structured MTS file.

That being said, Kelly's suggestion of changing the file extension is valid. If your camera is not sticking to the specification and is actually producing a container that follows the MPEG-4 specification, changing the extension will fool Camtasia and DirectShow into trying to parse it as a MP4. Another option might be to find a tool that can quickly extract the streams and repackage them into a MP4 file. This takes far less time than re-encoding, and you run no risk of losing quality.

Since DirectShow Editing Services is a deprecated API, we hope to address this issue in the future by moving away from that platform and giving ourselves greater flexibility in handling media formats. Of course, I can't make any promises as to if or when new features are being implemented. But it would be silly for us to rely on a dead platform, right? ;-)
Photo of redclaystables

redclaystables

  • 8 Posts
  • 5 Reply Likes
Thanks for the explanation. I will look forward to you moving away from the dead DirectShow format.

In the meantime could you suggest a tool that can repackage my MTS streams into an MP4 format. I'm worried that I am not technical enough to be able to tell the difference between a tool that repackages and one that re-encodes.
Photo of Randy Schott

Randy Schott

  • 396 Posts
  • 47 Reply Likes
I'm looking into this for you. Since re-encoding is a more common operation, it's tough to find a good application to simply copy streams from one container to another.

I did want to mention that I misspoke a little. It turns out that AC3 audio is not a supported audio type in the MP4 container standard. AAC and MP3 are both supported though. So, worst case scenario, you may just have to re-encode the audio(much faster) and shove it into an mp4 container.
Photo of David M. Converse

David M. Converse

  • 440 Posts
  • 26 Reply Likes
Just for completeness, I wanted to link to our support article that explains about file formats that we support and some programs to convert unsupported files. You can contact the various publishers to see how they handle transcoding or changing container formats.

http://techsmith.custhelp.com/app/ans...
Photo of Randy Schott

Randy Schott

  • 396 Posts
  • 47 Reply Likes
Ok, so I've done some digging, but I couldn't find a perfect solution. The only free converter I could find that will properly demux/remux the streams is ffmpeg. However, there are two issues:

1. FFMPEG is a command-line tool, so it's not trivial to use. There are front-end GUIs that can do the work for you, but they all require you to download the ffmpeg.exe file separately and then specify the path to it.

2. FFMPEG, for some reason, outputs a MP4 file using the 'isom' brand name instead of the 'mp42' brand name. If I understand it correctly, this is just a subtlety in how the container is set up( mp42 is an extension of isom ). However, it would appear that our third-party demuxer doesn't properly handle 'isom' mp4s. The MP4 works just fine in Windows Media Player, but in CS, I get no audio and a flat waveform. As a workaround, you can use FFMPEG to repackage only the video stream into an mp4, and then run it again to convert just the audio stream to an mp3. It stinks to have the audio on a separate track, but at least it's usable.

The GUI that I found most useful is Avanti. Here's the site (download link is halfway down):
http://avanti.arrozcru.com/

They recommend installing Avisynth, but you won't need that for what you want to do. Here's the page I got the ffmpeg executable from:
http://ffmpeg.zeranoe.com/builds/

Your safest bet is the 32-bit static build



As noted on the Avanti site, both downloads will be .7z files, which can be opened with 7ZIP or WinRAR (7Zip is free). Just extract the Avanti directory wherever you want. It is a portable program, so you don't have to "install" it. After that, extract the contents of the FFMPEG archive. You will need to copy ffmpeg/bin/ffmpeg.exe Into the Avanti/ffmpeg folder.

Now that all of that is over with (phew), here's the process for splitting a MTS file into a mp4/mp3:

1. Select the MTS file as a source:



2. Set the output filename:


3. Make sure the "Enable Audio" checkbox in the audio section is UNCHECKED and that the "Enable Video" checkbox is CHECKED. Set the Video codec to "Copy Video" and the container to "MP4". Leave all the other settings alone. Just to be safe, you may want to set the "Force FOURCC to" setting to "Default"


4. Go ahead and hit the "Start process" button. It shouldn't take very long for this step. It's just copying the video data into the new mp4 container. Once it is done, browse to the folder in Explorer and make sure the file was written out.

5. Now we'll do the audio. UNCHECK the "Enable Video" checkbox and CHECK the "Enable Audio" checkbox. Set the codec to "MP3 (lib)". Make sure it is the (lib) codec, as the other one may not work. You can choose whatever settings you want, but I would recommend 256 kbit, 2 channel, 44100 kHz. You won't have to change the output file name. Avanti will do that for you when you select the audio codec. Hit "Start process" again and you should get an mp3 file.


Now you should have an mp4 and an mp3 that can be used on Camtasia's timeline. I'm really sorry I couldn't find a better process for this. I may end up writing a small utility based on the ffmpeg libraries to do this. I think the mp4 would be usable if we could fix the container header. But, until then, that's the best I could come up with over the weekend. I hope it helps!
Photo of bubbatodd

bubbatodd

  • 12 Posts
  • 1 Reply Like
100% Sure. It's the audio mode. Below shows logging error codes when audio mode=5.1ch Surround.

NOTE: When I turned on the checkmark in your Wrapper to "Discard Audio" then the repackaging worked !!!!

I would like to be able to get the audio though thats on some MTS files with 5.1ch Surround. See what you can do. Meanwhile I will be switching over to record with audio mode=2ch Stereo. Thx.

[libvo_aacenc @ 04809300] Unable to set encoding parameters
Output #0, mp4, to 'C:\Users\Dan\Desktop\20111221220135.mp4':
Stream #0:0: Video: h264, yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 59.96 fps, 90k tbn, 90k tbc
Stream #0:1: Audio: aac, 48000 Hz, 5.1(side), s16, 128 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (ac3 -> libvo_aacenc)
Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height

Finished
Photo of bubbatodd

bubbatodd

  • 12 Posts
  • 1 Reply Like
Randy. It would also be a HUGE help if you would update your Wrapper program to allow for us to select multiple files to be repackaged in one shot. It would eliminate many steps on our side. I see that someeone else has also asked for this. Thanks!
Photo of Randy Schott

Randy Schott

  • 396 Posts
  • 47 Reply Likes
Yep, it's definitely the audio. What's strange is I've tried it with 5.1 files and it worked just fine. However, the settings I'm passing on to FFMPEG under the hood are very generic, so it may need some sort of flag to tell it exactly how to treat the audio.

It's worth mentioning though that CS doesn't really support any more than 2 channels of audio. You should be able to import it, but it will just be down-mixed to stereo anyway. So, you're probably better off just recording in stereo(Although I know you need a few existing files converted). But, maybe it's annoying to constantly switch recording modes, or you want to preserve the 5.1 channel in the source file for some other reason. Just thought I'd mention that.

I don't have time to work on it at the moment. But if I get time in the near future, I'll try and figure out what's up with the audio encoding. Batch processing is the next item on my list of things to add to it.

Either way, I'm glad it finally worked out for you. Should save you at least a little trouble, right? :-)

SECOND EDIT: I uploaded a new iteration of the wrapper that tries to force audio to stereo. From what I'm reading, FFMPEG _should_ downmix correctly, so maybe it will work for you. Give it a try:

http://www.screencast.com/t/BmnGpLR9I9mz

EDIT: I did a little research. There is a flag you can pass to ffmpeg that forces the audio to a specific number of channels. However, I don't have any 5.1 channel MTS files on hand to test it with. One thing I'm not sure about though is how FFMPEG will handle the downsampling. I doubt it will do the mix to stereo, it will probably just take the first two channels in the source file. With AC3, I think the first two channels are the front left and front center. So, simply encoding those two to the output file wouldn't be correct.

Also, I think the reason why it can't encode to 5.1 AAC is because the channel mapping between the two is not the same. I don't remember if it's possible to specify a channel mapping. If so, I might be able to add a checkbox option specifically for the 5.1 case that will pass the right arguments for converting the audio.

But first, I need to get my hands on a test file :-) There are a few people here with video cameras that produce MTS, I'm sure I can grab one of them.
Photo of bubbatodd

bubbatodd

  • 12 Posts
  • 1 Reply Like
Randy. Your updated Wrapper worked!! That's great! Getting 2ch stereo is fine with me in Camtasia. I have decided to switch to recording in 2ch stereo mode in my HD Camcorder. Now you can focus on updating the Wrapper again soon with Batch Processing features. Suggestion: I would think that the next version of Camtasia would be provide (at a minimum) access to your wrapper program. This issue of Camtasia not recognizing MTS files has been a pain and an eye opener for me. Thanks Randy.
Photo of Peter Jones

Peter Jones

  • 2 Posts
  • 0 Reply Likes
It's really simple, I dumped Camtasia and went back to imovie. Problem solved.
Photo of redclaystables

redclaystables

  • 8 Posts
  • 5 Reply Likes
Thanks so much! I'll try the above the next time I have an MTS file to use in CS.

If you ever come up with that utility, let me know right away.
Photo of Mark A. Sam

Mark A. Sam

  • 20 Posts
  • 3 Reply Likes
This is a good converter, http://www.aiseesoft.com/total-video-....

It has a free download, and only $35 to purchase. I used it to convert .mts files from a Sony camcorder and they loaded into Camtasia Studio without a hitch. And it is pretty fast if you set the performance to use all of the processing. I don't know if there is a limit to the number of files you can convert at a time, but there is a file size limit on the free version.
Photo of michael speckmann

michael speckmann

  • 1 Post
  • 0 Reply Likes
I'd like to throw out for discussion the idea of using the Panasonic/Sony collaborative version of the .MTS container. I say this, because most of the .MTS out there in the professional landscape will use this .MTS format. Would Techsmith consider this format for a future release? I'm not excited about the prospect of
converting all my new files and adding this step. Thank you again for your support. We have been very happy with the product for years and would love to overcome this hurdle.

This reply was created from a merged topic originally titled
.mts video files.
Photo of osagebarber

osagebarber

  • 3 Posts
  • 0 Reply Likes
Vegas sucks compared to the simplicity and ease of use Camtasia offers. Not being able to directly import a MTS file is a bummer. You folks need to consider hooking up with http://www.freemake.com/free_video_co... They make a nice converter. Oh, and its FREE.
Photo of redclaystables

redclaystables

  • 8 Posts
  • 5 Reply Likes
Randy,

I have been using the FFMPEG/AVANTI solution for a while and it has been working great. However recently the program stopped working for me. First it came up with an error message, now it has stopped coming up altogether. I can click on Avanti all day long and I get no response. I re-installed everything, but still no luck. Any suggestions? Is there a way to use ffmpeg directly? I'd sure love to find a way to get this working again. HELP! When I use a converter the quality stinks. Repackaging is the way to go. Also, just a note to simplify things. I usually don't need the audio from the MTS - I do voice over in Camtasia.
Photo of Randy Schott

Randy Schott

  • 396 Posts
  • 47 Reply Likes
I had the same thing happen to me when I was testing it out. I don't remember what I did to get it starting again. I think I might have deleted the .ini file from the install directory? Either way, if you're only interested in the video, the ffmpeg command line syntax isn't too bad:

ffmpeg -i (input file name) -vcodec copy (output file name)

So, for example, to convert "source.mts" to "dest.mp4":

ffmpeg -i source.mts -vcodec copy dest.mp4

You may want to add the directory containing ffmpeg.exe to your system path (google it if you don't know how). That way, you can work right in the directory containing the video file without specifying the full path to ffmpeg every time you run it.

Also, I don't know how it happened, but when I told ffmpeg to copy only the video track, it re-encoded the audio track and gave me a usable mp4? FFMPEG can be so fickle :-). Give it a shot and let me know if it works out.
Photo of tim.korson

tim.korson

  • 5 Posts
  • 2 Reply Likes
the command line worked - a bit of a paid, but better than doing a conversion

How can I convince you to write a nice little script that simplifies all of this?
Photo of tim.korson

tim.korson

  • 5 Posts
  • 2 Reply Likes
bit of a pain - not paid :)
Photo of Tyler

Tyler

  • 6 Posts
  • 1 Reply Like
Hi Randy,

Did you ever write a GUI to automate this process?
Photo of Randy Schott

Randy Schott

  • 396 Posts
  • 47 Reply Likes
Sorry, no.

I haven't really had time to do this yet. But if I manage to get it done, I'll post a link to this thread.
Photo of jaycpost

jaycpost

  • 1 Post
  • 0 Reply Likes
Any recommendations on what brand/model camcorders can be used that will work with Camtasia? I have Camtasia version 7.
Photo of Kelly Rush

Kelly Rush, Product Manager

  • 356 Posts
  • 76 Reply Likes
@jaycpost: I don't think we have an official list of cameras that we have tested and/or support, but in general, if it produces an MP4 file, it should work. That isn't an across the board guarantee by any means, but usually if it is an MP4 file, both the container (the MP4) and what's inside that file are generally close enough to what Camtasia Studio 7 can read that it should work. You might also want to look for a camera that supports multiple bitrates and/or resolutions, as that's potentially another sticking point. I think the Kodak Zi8 series has some decent options, though I honestly forget what file format they produce; I think it is an MOV, which should import fairly well into Camtasia Studio 7. That isn't exactly a super high-end camcorder though, so if you need something with more features, you'll probably have to do some research.
Photo of Dave O'Rourke

Dave O'Rourke, Senior Software Engineer

  • 1446 Posts
  • 420 Reply Likes
To be more specific, Camtasia Studio 7 only supports MP4 files that have H.264 video and AAC audio. This is the most common variety of MP4, but there are other flavors. You're best bet is to find a camera that saves directly to this format. I know many of our customers have had luck with Flip cameras.
Photo of Randy Schott

Randy Schott

  • 396 Posts
  • 47 Reply Likes
So, I had some spare time and finally got around to writing a simple GUI wrapper for FFMPEG. It's shared on screencast.com here:

http://www.screencast.com/t/BmnGpLR9I9mz

All you have to do is select a source file. The destination file path will auto-populate. You may change it if you wish. Since someone on this thread mentioned that they don't use the audio, I added an option to discard it instead of converting.
**If the destination file exists, it will be overwritten without a prompt**

****Important: The FFMPEG executable can be obtained from this site:
http://ffmpeg.zeranoe.com/builds/

You will want to use the 32-bit static build, as seen here:



Extract the archive you get from that site, the ffmpeg.exe file is in the bin folder.

This wrapper application I'm providing must be placed in the same folder as the ffmpeg.exe file (the bin folder). But, to make it easier to get to, I would suggest creating a shortcut to it.

It should be self-contained so that anyone can run it. But, I wouldn't be surprised if I messed something up. So let me know if it doesn't work for you. Also if there are other minor tweaks that could be made, feel free to suggest them. If they're quick to implement, I'll throw them in there and update the binary posted on screencast.

DEMO VIDEO (Just to be completely clear on usage): http://screencast.com/t/iPsu9KfA

***PLEASE NOTE: This application is in no way endorsed by or supported by TechSmith. I am doing this in my personal time. You are using it at your own risk.***
Photo of Tyler

Tyler

  • 6 Posts
  • 1 Reply Like
Hi Randy,
I am trying to use your GUI, but it says failed to start job. I think it is an issue with my ffmpeg.

I download FFmpeg 0.8.7 "Love" from this website. Is this the official ffmpeg site?
http://ffmpeg.org/download.html

If you scroll to the bottom there is a section called "FFmpeg Releases"

I clicked on the "Download gzip tarball" link and unzipped the files to a folder, I then put your GUI in the same folder.

Do I need install the ffmpeg application or something?

Thanks,
Tyler
Photo of Randy Schott

Randy Schott

  • 396 Posts
  • 47 Reply Likes
Hi Tyler,

You are correct. "Failed to start job" indicates it couldn't fire up the ffmpeg executable.

The gzip tarball you downloaded just includes the source code for ffmpeg. You need the executable. I posted instructions further up on this page detailing how to get the executable from the Zeranoe site. If you pull down that build, it should work. (Skip the part about Avanti, you don't need that).

One thing to note: That build will include a "bin" folder which contains the actual "ffmpeg.exe" file. I believe you will only need that file, and it should be placed in the same folder as the "ffmpegwrapper.exe" file I provided. The easiest way would probably be just to copy "ffmpegwrapper.exe" into the "bin" folder.
Photo of Tyler

Tyler

  • 6 Posts
  • 1 Reply Like
Ah, got it. It works like a charm! Thanks much, this will save me a bunch of time. Need to convert about 60 videos next week so this was perfect timing!
Photo of Randy Schott

Randy Schott

  • 396 Posts
  • 47 Reply Likes
Awesome, I'm glad it worked for you :-).

It probably would be nice to allow batching, but that's a little more involved than what I have in there right now. If I get some more time, I'll look into it....
Photo of Tyler

Tyler

  • 6 Posts
  • 1 Reply Like
Yeah, batch processing would be extra helpful. I will have to do a bunch more vidoes in the future so I would definetely benefit from it. Thanks again!!!

This conversation is no longer open for comments or replies.