Answers.Body: <p>For YouTube you should use H.264 video format (aka AVC) in MP4 container. Full YouTube specifications you can find <a href="https://support.google.com/youtube/answer/1722171?hl=en" rel="nofollow">here</a></p>
  
  <p>p.s. there a lot of various <a href="http://vegasaur.com/video-editing-software?t=c" rel="nofollow">video converters</a> that can do the trick</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2013-10-23T12:44:13.540Z
Answers.Text: Can you elaborate please. Do I need to convert to a *.avc file? to avi? mp4? Thanks.
Answers.UserDisplayName: Bick
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2013-10-23T12:04:33.517Z
Answers.LastActivityDate: 2013-10-23T12:04:33.517Z
Answers.UserDisplayName: altarvic
Answers.Body: <p>What is your definition of huge and what is your definition of high quality?  Size is directly related to compression and compression is directly inversely related to quality for the most part.  </p>
  
  <p>Some amount of compression can be had for free using lossless compression or near free with more efficient pattern finding for lossy compression, but for the most part, there is a direct relationships between size and quality.</p>
  
  <p>In fact, you generally have to actually increase the size to maintain the quality when re-encoding a lossy file as information that was already lost by the first can't be recovered, but other information may be lost due to the encoding process running again, so the combined error requires a higher data rate to avoid losing more.</p>
  
  <p>MTS files are already generally based on H.264 (MPEG4) and are generally relatively small.  It should be possible to extract the MPEG4 from the container and repackage without any loss, but to reduce size would pretty much require a reduction in quality.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2013-10-23T13:40:54.007Z
Answers.Text: Thanks. my camera had written a few minutes of MTS file as 2 GB file. I know that this can be saved  to a much smaller file (with a tiny quality compensation) since I have a few MKVs videos that hold 2 hrs 1080p/60fps on 6 GB. Excellent quality (Bluray like). Now my camera writes 6 minutes to 2 GB...
Answers.UserDisplayName: Bick
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2013-10-23T13:44:57.887Z
Answers.Text: The camera you have may not be capable of capturing high enough quality to notice, but I assure you there is a huge amount of quality loss between an H.264 feed at a rate of a few MB a second vs one that is using a few MB per minute.  There is even a substantial difference between a 1080p 60fps video at 2 hours in 6GB vs a bluray disk (which would take about 50 or more using the same compression).  The thing is that most of that loss is covered up because it isn't the same from frame to frame, so you don't notice as much when it is playing.
Answers.UserDisplayName: AJ Henderson
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2013-10-23T13:47:10.380Z
Answers.Text: If you know what to look for though, you will see artifacts all over the place in such a lossy compression.  Bluray formats (at 10 to 25 GB per hour on average are already too low for doing post production work on and then re-encoding due to the second generation loss described previously.
Answers.UserDisplayName: AJ Henderson
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2013-10-23T13:49:42.187Z
Answers.Text: If you are ok with the quality level, then the simple answer is to simply re-encode as H.264.  Use any decent trans-coding application.  If you are reasonably technical, you can try FFMPEG for free or you can buy a software package that will be more user friendly.  To get maximum quality for the data rate you select, always choose two pass variable bit rate (2-pass VBR).  This will generate the fewest artifacts and make the best use of the data rate you select, just be aware that you are in fact losing a lot shrinking it so severely.
Answers.UserDisplayName: AJ Henderson
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2013-10-23T13:51:58.460Z
Answers.Text: Do make sure that if you want to do any editing with your videos, you do it before shrinking them as they are already pretty close to as small as you can reliably work with for video editing purposes without significant second generation loss (or third as the case would be).
Answers.UserDisplayName: AJ Henderson
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2013-10-23T14:15:17.790Z
Answers.Text: Thanks AJ. I think I need to explain my needs better. I am not into video editing or video manipulating. I just got a v720 from a friend and I want to shoot some family videos and store them in my DropBox with fair quality (1080p). Basic home needs. the in-camera sw does crappy work and since most of my technical knowledge is gathered through SExchange I came here to look for a decoder. So you say FFMpeg suits my needs. Thanks.
Answers.UserDisplayName: Bick
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2013-10-23T14:17:06.530Z
Answers.Text: Here is an explicit question :-) : Those fine MKVs at Bittorent, What are the most popular decoders they are created with? Thanks.
Answers.UserDisplayName: Bick
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2013-10-23T14:33:50.673Z
Answers.Text: @rails - minor technical note, videos are compressed with encoders and viewed with decoders.  FFMPEG is the most popular free compression tool and is probably the most likely choice for most torrents.  Adobe Media Encoder is also very popular, but it isn't free, though that might not stop someone who is making torrents from using it.
Answers.UserDisplayName: AJ Henderson
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2013-10-23T13:29:32.960Z
Answers.LastActivityDate: 2013-10-23T13:29:32.960Z
Answers.UserDisplayName: AJ Henderson
Body: <p>I have shot some videos on a Panasonic v720 camcorder. The videos are huge. I used the internal feature of the camcorder to convert to MP4 and the quality was reduced very much.</p>
  
  <p>What is the best practice to compress MTS videos?  What is the recommended output format (avi, mp4)? </p>
  
  <p>My goal is just to consume less disk space and upload to Youtube (and have 1080p there) with the least quality loss.</p>
  
Tags: <video><mp4><compression><avchd>
Title: How to convert an MTS file without loosing quality?
UserDisplayName: Bick
ThreadText: # How to convert an MTS file without loosing quality?
  
  (Asked by: username_0 on 2013-10-23)
  
  I have shot some videos on a Panasonic v720 camcorder. The videos are huge. I used the internal feature of the camcorder to convert to MP4 and the quality was reduced very much.
  
  What is the best practice to compress MTS videos? What is the recommended output format (avi, mp4)?
  
  My goal is just to consume less disk space and upload to Youtube (and have 1080p there) with the least quality loss.
  
  **Tags:** video, mp4, compression, avchd
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2013-10-23. Score: 7 | Accepted answer
  
  What is your definition of huge and what is your definition of high quality? Size is directly related to compression and compression is directly inversely related to quality for the most part.
  
  Some amount of compression can be had for free using lossless compression or near free with more efficient pattern finding for lossy compression, but for the most part, there is a direct relationships between size and quality.
  
  In fact, you generally have to actually increase the size to maintain the quality when re-encoding a lossy file as information that was already lost by the first can't be recovered, but other information may be lost due to the encoding process running again, so the combined error requires a higher data rate to avoid losing more.
  
  MTS files are already generally based on H.264 (MPEG4) and are generally relatively small. It should be possible to extract the MPEG4 from the container and repackage without any loss, but to reduce size would pretty much require a reduction in quality.
  
  > **Comments:**
  > **username_0**: Thanks. my camera had written a few minutes of MTS file as 2 GB file. I know that this can be saved  to a much smaller file (with a tiny quality compensation) since I have a few MKVs videos that hold 2 hrs 1080p/60fps on 6 GB. Excellent quality (Bluray like). Now my camera writes 6 minutes to 2 GB...  
  > **username_2**: The camera you have may not be capable of capturing high enough quality to notice, but I assure you there is a huge amount of quality loss between an H.264 feed at a rate of a few MB a second vs one that is using a few MB per minute.  There is even a substantial difference between a 1080p 60fps video at 2 hours in 6GB vs a bluray disk (which would take about 50 or more using the same compression).  The thing is that most of that loss is covered up because it isn't the same from frame to frame, so you don't notice as much when it is playing.  
  > **username_2**: If you know what to look for though, you will see artifacts all over the place in such a lossy compression.  Bluray formats (at 10 to 25 GB per hour on average are already too low for doing post production work on and then re-encoding due to the second generation loss described previously.  
  > **username_2**: If you are ok with the quality level, then the simple answer is to simply re-encode as H.264.  Use any decent trans-coding application.  If you are reasonably technical, you can try FFMPEG for free or you can buy a software package that will be more user friendly.  To get maximum quality for the data rate you select, always choose two pass variable bit rate (2-pass VBR).  This will generate the fewest artifacts and make the best use of the data rate you select, just be aware that you are in fact losing a lot shrinking it so severely.  
  > **username_2**: Do make sure that if you want to do any editing with your videos, you do it before shrinking them as they are already pretty close to as small as you can reliably work with for video editing purposes without significant second generation loss (or third as the case would be).  
  > **username_0**: Thanks AJ. I think I need to explain my needs better. I am not into video editing or video manipulating. I just got a v720 from a friend and I want to shoot some family videos and store them in my DropBox with fair quality (1080p). Basic home needs. the in-camera sw does crappy work and since most of my technical knowledge is gathered through SExchange I came here to look for a decoder. So you say FFMpeg suits my needs. Thanks.  
  > **username_0**: Here is an explicit question :-) : Those fine MKVs at Bittorent, What are the most popular decoders they are created with? Thanks.  
  > **username_2**: @rails - minor technical note, videos are compressed with encoders and viewed with decoders.  FFMPEG is the most popular free compression tool and is probably the most likely choice for most torrents.  Adobe Media Encoder is also very popular, but it isn't free, though that might not stop someone who is making torrents from using it.  
  
  ---
  
  ### Answer by username_1 on 2013-10-23. Score: 0
  
  For YouTube you should use H.264 video format (aka AVC) in MP4 container. Full YouTube specifications you can find [here](https://support.google.com/youtube/answer/1722171?hl=en)
  
  p.s. there a lot of various [video converters](http://vegasaur.com/video-editing-software?t=c) that can do the trick
  
  > **Comments:**
  > **username_0**: Can you elaborate please. Do I need to convert to a *.avc file? to avi? mp4? Thanks.  
  
  ---
  
  