[{"data":1,"prerenderedAt":163},["ShallowReactive",2],{"blog-post-ffmpeg-change-resolution-of-video":3,"recent-posts":99},{"id":4,"uid":5,"url":6,"type":7,"href":8,"tags":9,"first_publication_date":10,"last_publication_date":11,"slugs":12,"linked_documents":14,"lang":15,"alternate_languages":16,"data":17},"auJKaBEAACoAw9U_","ffmpeg-change-resolution-of-video",null,"blog_posts","https:\u002F\u002Fmarks-personal-website.cdn.prismic.io\u002Fapi\u002Fv2\u002Fdocuments\u002Fsearch?ref=avzZABIAACgAeKzX&q=%5B%5B%3Ad+%3D+at%28document.id%2C+%22auJKaBEAACoAw9U_%22%29+%5D%5D",[],"2026-10-28T19:21:18+0000","2026-10-28T19:21:58+0000",[13],"ffmpeg-how-to-change-resolution-of-a-video-file",[],"en-us",[],{"title":18,"date":24,"description":25,"image":30,"content":40},[19],{"type":20,"text":21,"spans":22,"direction":23},"heading1","FFmpeg: How to Change Resolution of a Video File",[],"ltr","2026-10-23",[26],{"type":27,"text":28,"spans":29,"direction":23},"heading2","Learn how to change the resolution of a video file using FFmpeg",[],{"dimensions":31,"alt":6,"copyright":6,"url":34,"id":35,"edit":36},{"width":32,"height":33},1376,768,"https:\u002F\u002Fimages.prismic.io\u002Fmarks-personal-website\u002Fh1pvZeeJDBIMOqC3_ffmpeg-HowtoChangeResolutionofaVideoFile.jpeg?auto=format,compress","h1pvZeeJDBIMOqC3",{"x":37,"y":37,"zoom":38,"background":39},0,1,"transparent",[41,45,54,58,61,65,71,74,77,80,96],{"type":42,"text":43,"spans":44,"direction":23},"paragraph","Before starting, make sure you have FFmpeg installed on your computer and open your command line in the folder containing your video.",[],{"type":42,"text":46,"spans":47,"direction":23},"To scale your video's height to 720p while automatically adjusting the width, run this command:",[48,52],{"start":49,"end":50,"type":51},32,36,"em",{"start":49,"end":50,"type":53},"strong",{"type":55,"text":56,"spans":57,"direction":23},"preformatted","ffmpeg -i input.mp4 -vf scale=-2:720 output.mp4",[],{"type":42,"text":59,"spans":60,"direction":23},"In this command:",[],{"type":62,"text":63,"spans":64,"direction":23},"list-item","\u003Ccode>-i\u003C\u002Fcode> sets your original video file.",[],{"type":62,"text":66,"spans":67,"direction":23},"\u003Ccode>-vf scale=-2:720\u003C\u002Fcode> changes the height to 720 pixels.",[68],{"start":69,"end":70,"type":53},52,62,{"type":62,"text":72,"spans":73,"direction":23},"Using \u003Ccode>-2\u003C\u002Fcode> for the width automatically keeps the correct aspect ratio while making sure the pixel dimension is an even number (which prevents encoding errors).",[],{"type":42,"text":75,"spans":76,"direction":23},"Depending on the size of your video and your system speed, processing might take anywhere from a few seconds to a few minutes.",[],{"type":42,"text":78,"spans":79,"direction":23},"Once the command finishes, open \u003Ccode>output.mp4\u003C\u002Fcode> in your media player to confirm that the video plays properly and looks sharp.",[],{"type":81,"oembed":82},"embed",{"embed_url":83,"type":84,"version":85,"title":21,"author_name":86,"author_url":87,"provider_name":88,"provider_url":89,"thumbnail_url":90,"thumbnail_width":91,"thumbnail_height":92,"html":93,"height":94,"width":95},"https:\u002F\u002Fyoutu.be\u002F0yoGXCC5HH4","video","1.0","markster","https:\u002F\u002Fwww.youtube.com\u002F@markster1904","YouTube","https:\u002F\u002Fwww.youtube.com\u002F","https:\u002F\u002Fi.ytimg.com\u002Fvi\u002F0yoGXCC5HH4\u002Fhqdefault.jpg",480,360,"\u003Ciframe width=\"200\" height=\"113\" src=\"https:\u002F\u002Fwww.youtube.com\u002Fembed\u002F0yoGXCC5HH4?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen title=\"FFmpeg: How to Change Resolution of a Video File\">\u003C\u002Fiframe>",113,200,{"type":42,"text":97,"spans":98,"direction":23},"If anything goes wrong, always keep your original \u003Ccode>input.mp4\u003C\u002Fcode> file as a backup in case you ever need to export at a different resolution later.",[],{"results":100,"page":38,"results_per_page":161,"results_size":161,"total_results_size":162,"total_pages":38},[101,123,142],{"id":102,"uid":103,"url":6,"type":7,"href":104,"tags":105,"first_publication_date":106,"last_publication_date":106,"slugs":107,"linked_documents":109,"lang":15,"alternate_languages":110,"data":111},"avg1XREAACsAj4eS","sox-change-bit-depth","https:\u002F\u002Fmarks-personal-website.cdn.prismic.io\u002Fapi\u002Fv2\u002Fdocuments\u002Fsearch?ref=avzZABIAACgAeKzX&q=%5B%5B%3Ad+%3D+at%28document.id%2C+%22avg1XREAACsAj4eS%22%29+%5D%5D",[],"2026-11-17T22:45:19+0000",[108],"sox-how-to-change-bit-depth",[],[],{"image":112,"title":120},{"dimensions":113,"alt":116,"copyright":6,"url":117,"id":118,"edit":119},{"width":114,"height":115},1280,720,"SoX: How to Change Bit Depth","https:\u002F\u002Fimages.prismic.io\u002Fmarks-personal-website\u002FGm9ND5avh6VMrQoP_sox-change-bit-depth.png?auto=format,compress","Gm9ND5avh6VMrQoP",{"x":37,"y":37,"zoom":38,"background":39},[121],{"type":20,"text":116,"spans":122,"direction":23},[],{"id":124,"uid":125,"url":6,"type":7,"href":126,"tags":127,"first_publication_date":106,"last_publication_date":106,"slugs":128,"linked_documents":130,"lang":15,"alternate_languages":131,"data":132},"avg1XxEAACcAj4eg","sox-reverse-audio","https:\u002F\u002Fmarks-personal-website.cdn.prismic.io\u002Fapi\u002Fv2\u002Fdocuments\u002Fsearch?ref=avzZABIAACgAeKzX&q=%5B%5B%3Ad+%3D+at%28document.id%2C+%22avg1XxEAACcAj4eg%22%29+%5D%5D",[],[129],"sox-how-to-reverse-audio",[],[],{"image":133,"title":139},{"dimensions":134,"alt":135,"copyright":6,"url":136,"id":137,"edit":138},{"width":114,"height":115},"SoX: How to Reverse Audio","https:\u002F\u002Fimages.prismic.io\u002Fmarks-personal-website\u002F6yWWTbolMOE4a3JL_sox-reverse-audio.png?auto=format,compress","6yWWTbolMOE4a3JL",{"x":37,"y":37,"zoom":38,"background":39},[140],{"type":20,"text":135,"spans":141,"direction":23},[],{"id":143,"uid":144,"url":6,"type":7,"href":145,"tags":146,"first_publication_date":106,"last_publication_date":106,"slugs":147,"linked_documents":149,"lang":15,"alternate_languages":150,"data":151},"avg1XBEAACwAj4eL","sox-convert-stereo-to-mono","https:\u002F\u002Fmarks-personal-website.cdn.prismic.io\u002Fapi\u002Fv2\u002Fdocuments\u002Fsearch?ref=avzZABIAACgAeKzX&q=%5B%5B%3Ad+%3D+at%28document.id%2C+%22avg1XBEAACwAj4eL%22%29+%5D%5D",[],[148],"sox-how-to-convert-stereo-to-mono",[],[],{"image":152,"title":158},{"dimensions":153,"alt":154,"copyright":6,"url":155,"id":156,"edit":157},{"width":114,"height":115},"SoX: How to Convert Stereo to Mono","https:\u002F\u002Fimages.prismic.io\u002Fmarks-personal-website\u002FPgqFJaqMdDkYQkE6_sox-convert-stereo-to-mono.png?auto=format,compress","PgqFJaqMdDkYQkE6",{"x":37,"y":37,"zoom":38,"background":39},[159],{"type":20,"text":154,"spans":160,"direction":23},[],3,64,1794955544674]