{"id":568,"date":"2010-11-21T00:34:04","date_gmt":"2010-11-21T05:34:04","guid":{"rendered":"http:\/\/protofusion.org\/wordpress\/?p=568"},"modified":"2011-02-13T22:02:53","modified_gmt":"2011-02-14T03:02:53","slug":"converting-mts-video-files-into-mp4-files","status":"publish","type":"post","link":"http:\/\/protofusion.org\/wordpress\/2010\/11\/converting-mts-video-files-into-mp4-files\/","title":{"rendered":"Converting .MTS video files into .mp4 files"},"content":{"rendered":"<p><a href=\"http:\/\/protofusion.org\/wordpress\/wp-content\/uploads\/2010\/07\/convert-mts-to-mp4.jpg\" data-rel=\"lightbox-image-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-615\" src=\"http:\/\/protofusion.org\/wordpress\/wp-content\/uploads\/2010\/07\/convert-mts-to-mp4-500x206.jpg\" alt=\"\" width=\"500\" height=\"206\" srcset=\"http:\/\/protofusion.org\/wordpress\/wp-content\/uploads\/2010\/07\/convert-mts-to-mp4-500x206.jpg 500w, http:\/\/protofusion.org\/wordpress\/wp-content\/uploads\/2010\/07\/convert-mts-to-mp4-300x123.jpg 300w, http:\/\/protofusion.org\/wordpress\/wp-content\/uploads\/2010\/07\/convert-mts-to-mp4.jpg 1280w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a><\/p>\n<p>I  have a Canon HF200 video camera and it outputs HD video, but it&#8217;s in  .MTS file format. This is a pain because there are no good free video  converters or editors for .MTS files. But using <a href=\"http:\/\/fixounet.free.fr\/avidemux\/download.html\" target=\"_blank\">Avidemux<\/a>, an open-source video converter, I was able to  edit and convert my video to .mp4 while keeping my sanity and my money.<\/p>\n<p><!--more-->If you know your way around avidemux, pay attention to black colored text.<\/p>\n<p>If you need extra help along the way, or I have something pointless to say, it will be in <span style=\"color: #999999;\">gray<span style=\"color: #000000;\">.<\/span><\/span><\/p>\n<h3>1 &#8211; Open the File<\/h3>\n<p><span style=\"color: #999999;\">The first thing you have to do is import your video into Avidemux by one of two methods:<\/span><\/p>\n<p><span style=\"color: #999999;\">1) file &#8211;&gt; open &#8211;&gt; your-video.MTS<\/span><\/p>\n<p><span style=\"color: #999999;\">2) drag and drop the video file into avidemux<\/span><\/p>\n<p><span style=\"color: #999999;\">A dialog will appear saying, &#8220;This looks like MPEG, Do you want to index it?&#8221;&#8230; say &#8220;yes&#8221;<\/span><\/p>\n<p><span style=\"color: #999999;\">Avidemux will then tell you that it has detected H.264, say &#8220;yes&#8221;\u00a0 to it&#8217;s other mode.<\/span><\/p>\n<h3><span style=\"color: #999999;\"><span style=\"color: #000000;\">2 &#8211; Set Encoding Options<\/span><br \/>\n<\/span><\/h3>\n<p><a href=\"http:\/\/protofusion.org\/wordpress\/wp-content\/uploads\/2010\/07\/MPEG-4-AVC2.jpg\" data-rel=\"lightbox-image-1\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-570 alignnone\" src=\"http:\/\/protofusion.org\/wordpress\/wp-content\/uploads\/2010\/07\/MPEG-4-AVC2.jpg\" alt=\"\" width=\"124\" height=\"237\" srcset=\"http:\/\/protofusion.org\/wordpress\/wp-content\/uploads\/2010\/07\/MPEG-4-AVC2.jpg 212w, http:\/\/protofusion.org\/wordpress\/wp-content\/uploads\/2010\/07\/MPEG-4-AVC2-157x300.jpg 157w\" sizes=\"auto, (max-width: 124px) 100vw, 124px\" \/><\/a><\/p>\n<p>For the Video encoder you should use MPEG-4 AVC<\/p>\n<p>For Audio I recommend AAC (Faac) and a bitrate of 192, <span style=\"color: #999999;\">(I&#8217;ll tell you right now AC3 does NOT work with youtube).<\/span><\/p>\n<p><span style=\"color: #999999;\"><span style=\"color: #000000;\">Use mp4 for the encapsulation <span style=\"color: #999999;\">(not avi like in the above pic).<\/span><\/span><br \/>\n<\/span><\/p>\n<p><a href=\"http:\/\/protofusion.org\/wordpress\/wp-content\/uploads\/2010\/07\/HQmp4.jpg\" data-rel=\"lightbox-image-2\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-576 alignnone\" src=\"http:\/\/protofusion.org\/wordpress\/wp-content\/uploads\/2010\/07\/HQmp4.jpg\" alt=\"\" width=\"180\" height=\"210\" srcset=\"http:\/\/protofusion.org\/wordpress\/wp-content\/uploads\/2010\/07\/HQmp4.jpg 539w, http:\/\/protofusion.org\/wordpress\/wp-content\/uploads\/2010\/07\/HQmp4-258x300.jpg 258w, http:\/\/protofusion.org\/wordpress\/wp-content\/uploads\/2010\/07\/HQmp4-500x580.jpg 500w\" sizes=\"auto, (max-width: 180px) 100vw, 180px\" \/><\/a><a href=\"http:\/\/protofusion.org\/wordpress\/wp-content\/uploads\/2010\/07\/HQmp4_1.jpg\" data-rel=\"lightbox-image-3\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-577  alignnone\" src=\"http:\/\/protofusion.org\/wordpress\/wp-content\/uploads\/2010\/07\/HQmp4_1.jpg\" alt=\"\" width=\"180\" height=\"210\" srcset=\"http:\/\/protofusion.org\/wordpress\/wp-content\/uploads\/2010\/07\/HQmp4_1.jpg 539w, http:\/\/protofusion.org\/wordpress\/wp-content\/uploads\/2010\/07\/HQmp4_1-258x300.jpg 258w, http:\/\/protofusion.org\/wordpress\/wp-content\/uploads\/2010\/07\/HQmp4_1-500x580.jpg 500w\" sizes=\"auto, (max-width: 180px) 100vw, 180px\" \/><\/a><\/p>\n<p>Configure &#8211;&gt; General<\/p>\n<p style=\"padding-left: 30px;\">Use CRF (Constant Rate Factor) around 16 &#8211; 20. A CRF of 16  produces a larger file size; the higher the number, the less the  quality and file size.<\/p>\n<p>Configure &#8211;&gt; Motion<\/p>\n<p style=\"padding-left: 30px;\">Use UHS (Uneven Hexagonal Search) and SR (Subpixel Refinement) of  9 for  best results.<\/p>\n<h3>3 &#8211; Fix Frame Rate  Issues<\/h3>\n<p>Here is where everyone has the problem of &#8220;Why is the video half speed!?&#8221;<\/p>\n<p><span style=\"color: #999999;\">Well, that&#8217;s because avidemux doesn&#8217;t like you, and that <span style=\"color: #000000;\">A<\/span><\/span>videmux decided to treat the predictive and reference frames differently.<\/p>\n<p>The way I fixed this was to double the video frame rate:<\/p>\n<p>Main menu &#8211;&gt; Video &#8211;&gt; Frame Rate<\/p>\n<p><span style=\"color: #999999;\">According to my TI-89, 29.97 * 2 = <\/span>59.94<span style=\"color: #999999;\"> (or I just did it in my head, but think the 89 is a powerful tool, especially if you&#8217;re an electrical engineer)<\/span><\/p>\n<p><a href=\"http:\/\/protofusion.org\/wordpress\/wp-content\/uploads\/2010\/07\/frame-rate1.jpg\" data-rel=\"lightbox-image-4\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-578 alignnone\" src=\"http:\/\/protofusion.org\/wordpress\/wp-content\/uploads\/2010\/07\/frame-rate1.jpg\" alt=\"\" width=\"266\" height=\"174\" \/><\/a><\/p>\n<p><span style=\"color: #999999;\">Well&#8230; now your video is the right speed&#8230; but why is the file so large?<\/span><\/p>\n<p><span style=\"color: #999999;\">Go to video filters, transform &#8211;&gt; <\/span>Resample fps <span style=\"color: #999999;\">(<\/span>back to 29.97<span style=\"color: #999999;\">).<\/span><\/p>\n<p><a href=\"http:\/\/protofusion.org\/wordpress\/wp-content\/uploads\/2010\/07\/filters.jpg\" data-rel=\"lightbox-image-5\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-574 alignnone\" src=\"http:\/\/protofusion.org\/wordpress\/wp-content\/uploads\/2010\/07\/filters.jpg\" alt=\"\" width=\"400\" height=\"249\" srcset=\"http:\/\/protofusion.org\/wordpress\/wp-content\/uploads\/2010\/07\/filters.jpg 929w, http:\/\/protofusion.org\/wordpress\/wp-content\/uploads\/2010\/07\/filters-300x187.jpg 300w, http:\/\/protofusion.org\/wordpress\/wp-content\/uploads\/2010\/07\/filters-500x312.jpg 500w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/a><\/p>\n<p><span style=\"color: #999999;\">Yeah, I know, I went extra wide screen with my video, so I feel like a ninja when I watch it, big deal.<\/span><\/p>\n<p>I used other filters as well to reduce the resolution and trim the unneeded parts of the video to save space.<\/p>\n<h3>4 &#8211; Save the Video<\/h3>\n<p>File &#8211;&gt; Save &#8211;&gt; Save Video<\/p>\n<p><span style=\"color: #999999;\">Make sure you use the .mp4 extension.<\/span><\/p>\n<p><span style=\"color: #999999;\"><span style=\"color: #000000;\">That&#8217;s all, enjoy your well-compressed .mp4 video!<\/span><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have a Canon HF200 video camera and it outputs HD video, but it&#8217;s in .MTS file format. This is a pain because there are no good free video converters or editors for .MTS files. But using Avidemux, an open-source<span class=\"ellipsis\">&hellip;<\/span><\/p>\n<div class=\"read-more\"><a href=\"http:\/\/protofusion.org\/wordpress\/2010\/11\/converting-mts-video-files-into-mp4-files\/\">Read more &#8250;<\/a><\/div>\n<p><!-- end of .read-more --><\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kadence_starter_templates_imported_post":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[10],"tags":[86,85,6,84],"class_list":["post-568","post","type-post","status-publish","format-standard","hentry","category-quick-tips","tag-avidemux","tag-conversion","tag-open-source","tag-video"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pNjAs-9a","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"http:\/\/protofusion.org\/wordpress\/wp-json\/wp\/v2\/posts\/568","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/protofusion.org\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/protofusion.org\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/protofusion.org\/wordpress\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"http:\/\/protofusion.org\/wordpress\/wp-json\/wp\/v2\/comments?post=568"}],"version-history":[{"count":46,"href":"http:\/\/protofusion.org\/wordpress\/wp-json\/wp\/v2\/posts\/568\/revisions"}],"predecessor-version":[{"id":583,"href":"http:\/\/protofusion.org\/wordpress\/wp-json\/wp\/v2\/posts\/568\/revisions\/583"}],"wp:attachment":[{"href":"http:\/\/protofusion.org\/wordpress\/wp-json\/wp\/v2\/media?parent=568"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/protofusion.org\/wordpress\/wp-json\/wp\/v2\/categories?post=568"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/protofusion.org\/wordpress\/wp-json\/wp\/v2\/tags?post=568"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}