brew reinstall ffmpeg --with-faac --with-fdk-aac --with-x265<\/code><\/p>\nAfter it has finished, the only thing we need to do is to start the conversion itself. This example will take input.mp4<\/b> and downscale it to X:720 size with the medium preset, meaning that the width will be scaled down proportionally to the height, which we have fixed at 720p. Other valid presets are: ultrafast, superfast, veryfast, faster, fast, medium, slow, slower, veryslow, placebo.<\/p>\n
ffmpeg -i input.mp4 -vf scale=-1:720 -c:v libx265 -preset medium -x265-params crf=28 -c:a aac -strict experimental -b:a 128k output.mp4<\/code><\/p>\nWord of advice: always do lenghty jobs in a terminal screen!<\/b><\/b><\/p>\n","protected":false},"excerpt":{"rendered":"
Suppose that we have our brew up and running and we’d like to do some video conversion, namely something to x265. To do this, first it is advisable to install ffmpeg using brew by issuing the following command: brew install ffmpeg –with-faac –with-fdk-aac –with-x265 Should this not work for whatever reason, try installing the base […]<\/p>\n","protected":false},"author":1,"featured_media":233,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[17],"tags":[],"_links":{"self":[{"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/posts\/178"}],"collection":[{"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/comments?post=178"}],"version-history":[{"count":2,"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/posts\/178\/revisions"}],"predecessor-version":[{"id":232,"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/posts\/178\/revisions\/232"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/media\/233"}],"wp:attachment":[{"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/media?parent=178"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/categories?post=178"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/tags?post=178"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}