Answers.Body: <p>Lightroom provides a one-click export function from MTS to Mp4 that works very well. Unfortunately it is a lot slower than ffmpeg and other copy-wrapper solutions, because Lightroom appears to be re-encoding instead of just copying streams out of the MTS wrapper into an MP4 wrapper. For the record I couldn't get any of the copy-wrapper solutions to work using AVCHD footage from a Sony A7sII.</p>
  
  <p>Lightroom also has the capability to stack the new video overtop of the original file, so that it doesn't look like there are duplicates in the catalog. This is pretty ideal for me.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-01-08T04:27:21.910Z
Answers.LastActivityDate: 2016-01-08T04:27:21.910Z
Answers.UserDisplayName: CQM
Answers.Body: <p>I used <code>ffmpeg</code> (<a href="https://en.wikipedia.org/wiki/FFmpeg" rel="nofollow">https://en.wikipedia.org/wiki/FFmpeg</a>, <a href="http://ffmpeg.org/" rel="nofollow">http://ffmpeg.org/</a>) to exchange the container format while keeping the original video and audio data. You can also use it to transcode the video, but many of the stream formats work in other container formats as well, so the <code>-vcodec copy -acodec copy</code> parameters will keep the original quality. I used something like</p>
  
  <pre><code>ffmpeg -i movie.mts -acodec copy -vcodec copy movie.mp4
  </code></pre>
  
  <p>(untested, I don't have access to the computer I use for video work at the moment). With</p>
  
  <pre><code>ffmpeg -i movie.mts
  </code></pre>
  
  <p>you will get more details on the stream formats in your file and you can then decide what to do with them.</p>
  
  <p>I even had to use it to copy to the same container (mpeg transport stream format) with sony files since the original files caused other software to become slow, what did not happen with the new but same container.</p>
  
  <p>Ffmpeg is a command line tool and it is very user friendly (especially, it provides you with a lot of information about your files) and when you have found the best parameters for your case then it will become a 1-click solution since you can re-use the command on all your files.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-01-06T08:45:59.747Z
Answers.Text: Since the OP seems to be using a Mac, they can use a snapshot binary from https://evermeet.cx/ffmpeg/
Answers.UserDisplayName: Gyan
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-01-06T14:49:34.357Z
Answers.Text: hmm, anything with a GUI and how would i extend that to a batch process?
Answers.UserDisplayName: CQM
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-01-06T15:23:16.500Z
Answers.Text: I have no idea about a GUI but to batch process all files in a folder, you could e.g. use a for loop. `for i in *.mts; do ffmpeg -i $i -acodec copy -vcodec copy \`basename $i .mts\`.mp4; done` on most shells (syntax may differ depending on the shell used; untested again, just to illustrate the principle).
Answers.UserDisplayName: Chris
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-01-07T16:09:51.490Z
Answers.Text: I get these errors http://pastebin.com/CKGGSGC4  , a file of comparable size is created in .mp4 format, but it is not sendable in iMessage or compatible like Apple .mp4s are.
Answers.UserDisplayName: CQM
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-01-07T16:44:16.243Z
Answers.Text: I do not use apple computers, so I have no idea about the software you are using. Are you able to play the file? Maybe in vlc? If not, you could provide a sample file (of the unconverted source file) such that others can check if it works for them.
Answers.UserDisplayName: Chris
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-01-07T17:01:53.950Z
Answers.Text: @Chris okay maybe I will later, its just Sony A7s II avchd files, one of the default settings. So I am wondering what other people are doing
Answers.UserDisplayName: CQM
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-01-08T04:23:12.573Z
Answers.Text: Lightroom exports them perfectly into mp4, and stacks the file with the other original file, so it doesn't look like there are duplicates in the catalogue.
Answers.UserDisplayName: CQM
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-01-06T07:50:00.190Z
Answers.LastActivityDate: 2016-01-06T07:50:00.190Z
Answers.UserDisplayName: Chris
Answers.Body: <p>Ttry this ffmpeg command:</p>
  
  <pre><code>ffmpeg -i input.mts -c copy -fflags +genpts -flags +global_header output.m4v
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-01-08T07:11:40.577Z
Answers.Text: This command, and Chris' resulted in a jerky output video, in the players that would play them (Quicktime is what I tried)
Answers.UserDisplayName: CQM
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-01-08T07:33:07.377Z
Answers.Text: Is your source video interlaced? If it is, there's a way around that. Paste [mediainfo](https://mediaarea.net/en/MediaInfo) probe of the file. Use View -> Text mode
Answers.UserDisplayName: Gyan
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-01-08T05:19:29.537Z
Answers.LastActivityDate: 2016-01-08T05:19:29.537Z
Answers.UserDisplayName: Gyan
Body: <p>I was using a Sony Alpha series camera which created avchd files, which are videos, and the file format is .mts</p>
  
  <p>I am wondering programs are people using to convert these without compromising on quality? Looking for something very user friendly and one click.</p>
  
  <p>I noticed iMovie isn't equipped to handle these files, and I do have After Effects and Premiere at my disposal, but those are the opposite of what I am looking for.</p>
  
  <p>I've seen programs on Google but I am curious what you are using and why</p>
  
  <p>'Free AVCHD to Mov' does not work for the Sony A7s II movie files on my Mac</p>
  
Tags: <imovie><avchd><standards-converter>
Title: Convert MTS AVCHD files into a more sharable format, such as mp4
UserDisplayName: CQM
ThreadText: # Convert MTS AVCHD files into a more sharable format, such as mp4
  
  (Asked by: username_0 on 2016-01-06)
  
  I was using a Sony Alpha series camera which created avchd files, which are videos, and the file format is .mts
  
  I am wondering programs are people using to convert these without compromising on quality? Looking for something very user friendly and one click.
  
  I noticed iMovie isn't equipped to handle these files, and I do have After Effects and Premiere at my disposal, but those are the opposite of what I am looking for.
  
  I've seen programs on Google but I am curious what you are using and why
  
  'Free AVCHD to Mov' does not work for the Sony A7s II movie files on my Mac
  
  **Tags:** imovie, avchd, standards-converter
  
  
  ---
  
  ## 3 answers
  
  ### Answer by username_0 on 2016-01-08. Score: 0 | Accepted answer
  
  Lightroom provides a one-click export function from MTS to Mp4 that works very well. Unfortunately it is a lot slower than ffmpeg and other copy-wrapper solutions, because Lightroom appears to be re-encoding instead of just copying streams out of the MTS wrapper into an MP4 wrapper. For the record I couldn't get any of the copy-wrapper solutions to work using AVCHD footage from a Sony A7sII.
  
  Lightroom also has the capability to stack the new video overtop of the original file, so that it doesn't look like there are duplicates in the catalog. This is pretty ideal for me.
  
  
  ---
  
  ### Answer by username_1 on 2016-01-06. Score: 1
  
  I used `ffmpeg` (<https://en.wikipedia.org/wiki/FFmpeg>, <http://ffmpeg.org/>) to exchange the container format while keeping the original video and audio data. You can also use it to transcode the video, but many of the stream formats work in other container formats as well, so the `-vcodec copy -acodec copy` parameters will keep the original quality. I used something like
  
  ```
  ffmpeg -i movie.mts -acodec copy -vcodec copy movie.mp4
  
  ```
  
  (untested, I don't have access to the computer I use for video work at the moment). With
  
  ```
  ffmpeg -i movie.mts
  
  ```
  
  you will get more details on the stream formats in your file and you can then decide what to do with them.
  
  I even had to use it to copy to the same container (mpeg transport stream format) with sony files since the original files caused other software to become slow, what did not happen with the new but same container.
  
  Ffmpeg is a command line tool and it is very user friendly (especially, it provides you with a lot of information about your files) and when you have found the best parameters for your case then it will become a 1-click solution since you can re-use the command on all your files.
  
  > **Comments:**
  > **username_2**: Since the OP seems to be using a Mac, they can use a snapshot binary from https://evermeet.cx/ffmpeg/  
  > **username_0**: hmm, anything with a GUI and how would i extend that to a batch process?  
  > **username_1**: I have no idea about a GUI but to batch process all files in a folder, you could e.g. use a for loop. `for i in *.mts; do ffmpeg -i $i -acodec copy -vcodec copy \`basename $i .mts\`.mp4; done` on most shells (syntax may differ depending on the shell used; untested again, just to illustrate the principle).  
  > **username_0**: I get these errors http://pastebin.com/CKGGSGC4  , a file of comparable size is created in .mp4 format, but it is not sendable in iMessage or compatible like Apple .mp4s are.  
  > **username_1**: I do not use apple computers, so I have no idea about the software you are using. Are you able to play the file? Maybe in vlc? If not, you could provide a sample file (of the unconverted source file) such that others can check if it works for them.  
  > **username_0**: @username_1 okay maybe I will later, its just Sony A7s II avchd files, one of the default settings. So I am wondering what other people are doing  
  > **username_0**: Lightroom exports them perfectly into mp4, and stacks the file with the other original file, so it doesn't look like there are duplicates in the catalogue.  
  
  ---
  
  ### Answer by username_2 on 2016-01-08. Score: 0
  
  Ttry this ffmpeg command:
  
  ```
  ffmpeg -i input.mts -c copy -fflags +genpts -flags +global_header output.m4v
  
  ```
  
  > **Comments:**
  > **username_0**: This command, and username_1' resulted in a jerky output video, in the players that would play them (Quicktime is what I tried)  
  > **username_2**: Is your source video interlaced? If it is, there's a way around that. Paste [mediainfo](https://mediaarea.net/en/MediaInfo) probe of the file. Use View -> Text mode  
  
  ---
  
  