{"id":188,"date":"2020-09-03T10:33:50","date_gmt":"2020-09-03T09:33:50","guid":{"rendered":"https:\/\/amasan.co.uk\/vandragt\/?p=188"},"modified":"2020-09-03T10:34:12","modified_gmt":"2020-09-03T09:34:12","slug":"sharing-smaller-screen-recordings","status":"publish","type":"post","link":"https:\/\/2022.vandragt.com\/technology\/sharing-smaller-screen-recordings\/","title":{"rendered":"Sharing Smaller Screen Recordings"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Often I share a screen recording so that others can follow along with tips, processes and generally shared knowledge. However the screen recordings produced by macOS are huge! Here&#8217;s how to share smaller recordings, using the <a href=\"https:\/\/handbrake.fr\/downloads2.php\">command-line version of HandBrake<\/a> and <a href=\"https:\/\/www.noodlesoft.com\/\">Hazel<\/a>:<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Rule details<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">By default new recordings are dropped on the Desktop.  Create a new Hazel rule monitoring new files in the Desktop directory:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If all of the following conditions are met:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><em>Name starts with &#8220;Screen Recording&#8221;<\/em><\/li><li><em>Extension is &#8220;mov&#8221;<\/em><\/li><li><em>Size is less than &#8220;500 MB&#8221; (this excludes large recordings)<\/em><\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Do the following to the matched file or folder:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><em>Add tags &#8220;Red&#8221; (to indicate the file is being processed)<\/em><\/li><li><em>Run shell script &#8220;embedded script&#8221; (see below)<\/em><\/li><li><em>Move to folder &#8220;Trash&#8221; (delete the original)<\/em><\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Embedded Script<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>handbrakecli --preset=\"Web\/Gmail Large 3 Minutes 720p30\" -i \"$1\" -o \"$1.mp4\"<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">My last 48 second recording clocked in at 408KB, not bad.<\/p>\n<div class=\"syndication-links\"><\/div>","protected":false},"excerpt":{"rendered":"<p>Often I share a screen recording so that others can follow along with tips, processes and generally shared knowledge. However the screen recordings produced by macOS are huge! Here&#8217;s how to share smaller recordings, using the command-line version of HandBrake and Hazel: Rule details By default new recordings are dropped on the Desktop. Create a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"mf2_syndication":[],"webmentions_disabled_pings":false,"webmentions_disabled":false,"footnotes":""},"categories":[11],"tags":[],"class_list":["post-188","post","type-post","status-publish","format-standard","hentry","category-technology"],"_links":{"self":[{"href":"https:\/\/amasan.co.uk\/vandragt\/wp-json\/wp\/v2\/posts\/188","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/amasan.co.uk\/vandragt\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/amasan.co.uk\/vandragt\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/amasan.co.uk\/vandragt\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/amasan.co.uk\/vandragt\/wp-json\/wp\/v2\/comments?post=188"}],"version-history":[{"count":2,"href":"https:\/\/amasan.co.uk\/vandragt\/wp-json\/wp\/v2\/posts\/188\/revisions"}],"predecessor-version":[{"id":190,"href":"https:\/\/amasan.co.uk\/vandragt\/wp-json\/wp\/v2\/posts\/188\/revisions\/190"}],"wp:attachment":[{"href":"https:\/\/amasan.co.uk\/vandragt\/wp-json\/wp\/v2\/media?parent=188"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/amasan.co.uk\/vandragt\/wp-json\/wp\/v2\/categories?post=188"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/amasan.co.uk\/vandragt\/wp-json\/wp\/v2\/tags?post=188"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}