[{"data":1,"prerenderedAt":208},["ShallowReactive",2],{"blog-post-ffmpeg-slow-down-and-speed-up-video":3,"recent-posts":144},{"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},"auJEPxEAAC4Aw8vB","ffmpeg-slow-down-and-speed-up-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+%22auJEPxEAAC4Aw8vB%22%29+%5D%5D",[],"2026-10-28T18:55:34+0000","2026-10-28T18:57:05+0000",[13],"ffmpeg-how-to-slow-down--speed-up-a-video-x0.5-x1.5-x2",[],"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 Slow Down & Speed Up a Video (x0.5, x1.5, x2)",[],"ltr","2026-10-21",[26],{"type":27,"text":28,"spans":29,"direction":23},"heading2","Learn how to slow down or speed up a video 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\u002FneI-8QwkrdDwR0Wy_FFmpeg-HowtoSlowDown%26SpeedUpaVideo-x0.5%2Cx1.5%2Cx2-.jpeg?auto=format,compress","neI-8QwkrdDwR0Wy",{"x":37,"y":37,"zoom":38,"background":39},0,1,"transparent",[41,45,49,66,70,73,76,91,94,97,111,114,117,133],{"type":42,"text":43,"spans":44,"direction":23},"paragraph","To follow along, make sure you have FFmpeg installed on your system, open your terminal or command prompt, and navigate to the folder containing your video file named \u003Ccode>input.mp4\u003C\u002Fcode>.",[],{"type":46,"text":47,"spans":48,"direction":23},"heading3","0.5x (Half speed)",[],{"type":42,"text":50,"spans":51,"direction":23},"First, let's slow down your video to half speed, or 0.5x. To do this, we multiply the video presentation timestamp by 2.0 and set the audio tempo to 0.5. Run this command in your terminal:",[52,56,58,61,62,65],{"start":53,"end":54,"type":55},52,56,"em",{"start":53,"end":54,"type":57},"strong",{"start":59,"end":60,"type":55},118,121,{"start":59,"end":60,"type":57},{"start":63,"end":64,"type":55},149,152,{"start":63,"end":64,"type":57},{"type":67,"text":68,"spans":69,"direction":23},"preformatted","ffmpeg -i input.mp4 -filter_complex \"[0:v]setpts=2.0*PTS[v];[0:a]atempo=0.5[a]\" -map \"[v]\" -map \"[a]\" output_0.5x.mp4",[],{"type":42,"text":71,"spans":72,"direction":23},"Depending on the length and resolution of your video, FFmpeg will take a few moments to process the file, so simply wait until you see your command prompt reappear.",[],{"type":46,"text":74,"spans":75,"direction":23},"1.5x (Fast)",[],{"type":42,"text":77,"spans":78,"direction":23},"Next, if you want to speed up your video to 1.5x speed, set the video presentation timestamp multiplier to 0.667 and set the audio tempo to 1.5 using this command:",[79,82,83,86,87,90],{"start":80,"end":81,"type":55},44,48,{"start":80,"end":81,"type":57},{"start":84,"end":85,"type":55},107,112,{"start":84,"end":85,"type":57},{"start":88,"end":89,"type":55},140,143,{"start":88,"end":89,"type":57},{"type":67,"text":92,"spans":93,"direction":23},"ffmpeg -i input.mp4 -filter_complex \"[0:v]setpts=0.667*PTS[v];[0:a]atempo=1.5[a]\" -map \"[v]\" -map \"[a]\" output_1.5x.mp4",[],{"type":46,"text":95,"spans":96,"direction":23},"2.0x (Double speed)",[],{"type":42,"text":98,"spans":99,"direction":23},"Finally, to double the speed of your video to 2.0x, drop the video presentation timestamp multiplier down to 0.5 and increase the audio tempo to 2.0:",[100,103,104,106,107,110],{"start":101,"end":102,"type":55},46,50,{"start":101,"end":102,"type":57},{"start":105,"end":85,"type":55},109,{"start":105,"end":85,"type":57},{"start":108,"end":109,"type":55},145,148,{"start":108,"end":109,"type":57},{"type":67,"text":112,"spans":113,"direction":23},"ffmpeg -i input.mp4 -filter_complex \"[0:v]setpts=0.5*PTS[v];[0:a]atempo=2.0[a]\" -map \"[v]\" -map \"[a]\" output_2.0x.mp4",[],{"type":42,"text":115,"spans":116,"direction":23},"To quickly confirm everything worked, open your generated file or run \u003Ccode>ffplay output_2.0x.mp4\u003C\u002Fcode> in your terminal to check that both the video and audio play back smoothly at double speed.",[],{"type":118,"oembed":119},"embed",{"embed_url":120,"type":121,"version":122,"title":21,"author_name":123,"author_url":124,"provider_name":125,"provider_url":126,"thumbnail_url":127,"thumbnail_width":128,"thumbnail_height":129,"html":130,"height":131,"width":132},"https:\u002F\u002Fyoutu.be\u002FlYihQ8LxcMs","video","1.0","markster","https:\u002F\u002Fwww.youtube.com\u002F@markster1904","YouTube","https:\u002F\u002Fwww.youtube.com\u002F","https:\u002F\u002Fi.ytimg.com\u002Fvi\u002FlYihQ8LxcMs\u002Fhqdefault.jpg",480,360,"\u003Ciframe width=\"200\" height=\"113\" src=\"https:\u002F\u002Fwww.youtube.com\u002Fembed\u002FlYihQ8LxcMs?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 Slow Down &amp; Speed Up a Video (x0.5, x1.5, x2)\">\u003C\u002Fiframe>",113,200,{"type":42,"text":134,"spans":135,"direction":23},"As a practical tip, the \u003Ccode>atempo\u003C\u002Fcode> audio filter only accepts values between 0.5 and 2.0, so if you ever need even higher speeds like 4x, you can chain two \u003Ccode>atempo\u003C\u002Fcode> filters together like \u003Ccode>atempo=2.0,atempo=2.0\u003C\u002Fcode>",[136,139,140,143],{"start":137,"end":138,"type":55},85,88,{"start":137,"end":138,"type":57},{"start":141,"end":142,"type":55},93,96,{"start":141,"end":142,"type":57},{"results":145,"page":38,"results_per_page":206,"results_size":206,"total_results_size":207,"total_pages":38},[146,168,187],{"id":147,"uid":148,"url":6,"type":7,"href":149,"tags":150,"first_publication_date":151,"last_publication_date":151,"slugs":152,"linked_documents":154,"lang":15,"alternate_languages":155,"data":156},"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",[153],"sox-how-to-change-bit-depth",[],[],{"image":157,"title":165},{"dimensions":158,"alt":161,"copyright":6,"url":162,"id":163,"edit":164},{"width":159,"height":160},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},[166],{"type":20,"text":161,"spans":167,"direction":23},[],{"id":169,"uid":170,"url":6,"type":7,"href":171,"tags":172,"first_publication_date":151,"last_publication_date":151,"slugs":173,"linked_documents":175,"lang":15,"alternate_languages":176,"data":177},"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",[],[174],"sox-how-to-reverse-audio",[],[],{"image":178,"title":184},{"dimensions":179,"alt":180,"copyright":6,"url":181,"id":182,"edit":183},{"width":159,"height":160},"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},[185],{"type":20,"text":180,"spans":186,"direction":23},[],{"id":188,"uid":189,"url":6,"type":7,"href":190,"tags":191,"first_publication_date":151,"last_publication_date":151,"slugs":192,"linked_documents":194,"lang":15,"alternate_languages":195,"data":196},"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",[],[193],"sox-how-to-convert-stereo-to-mono",[],[],{"image":197,"title":203},{"dimensions":198,"alt":199,"copyright":6,"url":200,"id":201,"edit":202},{"width":159,"height":160},"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},[204],{"type":20,"text":199,"spans":205,"direction":23},[],3,64,1794955544706]