{"id":64497,"date":"2024-08-24T03:01:00","date_gmt":"2024-08-23T17:01:00","guid":{"rendered":"https:\/\/65.254.95.247\/ITblog\/?p=64497"},"modified":"2024-08-23T11:21:03","modified_gmt":"2024-08-23T01:21:03","slug":"ffmpeg-helps-iphone-video-to-youtube-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/ffmpeg-helps-iphone-video-to-youtube-tutorial\/","title":{"rendered":"Ffmpeg Helps iPhone Video to YouTube Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=\"_blank\" href=\"https:\/\/www.youtube.com\/watch?v=KB_2V-WW5ss\" rel=\"noopener\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"Ffmpeg Helps iPhone Video to YouTube Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/ffmpeg\/ffmpeg_to_youtube.gif\" title=\"Ffmpeg Helps iPhone Video to YouTube Tutorial\"  style=\"float:left;\"  \/><\/a><p class=\"wp-caption-text\">Ffmpeg Helps iPhone Video to YouTube Tutorial<\/p><\/div>\n<p>Today we recorded a video looking out from Govetts Leap, Blackheath, here in the Blue Mountains.  We captured it via the Camera app on an iPhone via its Video option.<\/p>\n<p>Nineteen seconds long, to share to this MacBook Air we needed AirDrop, the size of it precluding us from using the Photo app&#8217;s Mail sharing option.<\/p>\n<p>And that&#8217;s where we wanted to use the great <a target=\"_blank\" title='ffmpeg' href='https:\/\/www.ffmpeg.org\/' rel=\"noopener\">ffmpeg<\/a> in an optimal way to create a video that we could upload to YouTube.  In this, we arrived at <a target=\"_blank\" title='Excellent link, thanks' href='https:\/\/www.reddit.com\/r\/ffmpeg\/comments\/r1qwyy\/best_streaming_settings_for_youtube\/' rel=\"noopener\">this excellent link<\/a> getting us to try &#8230;<\/p>\n<p><code><br \/>\nffmpeg -i govetts_leap.MOV -c:v libx264 -preset slow -crf 18 -vf scale=out_color_matrix=bt709 -color_primaries bt709 -color_trc bt709 -colorspace bt709 -c:a aac -ar 48000 -ac 2 -b:a 320k -profile:v high -level 4.0 -bf 2 -coder 1 -pix_fmt yuv420p -b:v 10M -threads 4 -cpu-used 0 -r 30 -g 15 -movflags +faststart govetts_leap.mp4<br \/>\n<\/code><\/p>\n<p> &#8230; with success.  Checking with <a target=\"_blank\" title='Another great link, thanks' href='https:\/\/www.maestro.io\/blog\/video-formats\/' rel=\"noopener\">this other excellent link<\/a>, thanks, we were comforted that they would have recommended an output mp4 file format as well, it seems &#8230;<\/p>\n<p><iframe loading=\"lazy\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/KB_2V-WW5ss?si=IoTDBSVk7R6uyDfX\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe> <\/p>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d64497' onclick='var dv=document.getElementById(\"d64497\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/youtube\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d64497' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Today we recorded a video looking out from Govetts Leap, Blackheath, here in the Blue Mountains. We captured it via the Camera app on an iPhone via its Video option. Nineteen seconds long, to share to this MacBook Air we &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/ffmpeg-helps-iphone-video-to-youtube-tutorial\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,37],"tags":[2161,183,4444,415,631,3810,2049,1319,1343,1369,1493],"class_list":["post-64497","post","type-post","status-publish","format-standard","hentry","category-elearning","category-tutorials","tag-airdrop","tag-camera","tag-camera-app","tag-ffmpeg","tag-iphone","tag-macbook-air","tag-publish","tag-tutorial","tag-upload","tag-video","tag-youtube"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/64497"}],"collection":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/comments?post=64497"}],"version-history":[{"count":3,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/64497\/revisions"}],"predecessor-version":[{"id":64500,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/64497\/revisions\/64500"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=64497"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=64497"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=64497"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}