[{"data":1,"prerenderedAt":164},["ShallowReactive",2],{"blog-post-ffmpeg-add-outro-multiple-videos":3,"recent-posts":100},{"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},"atSbUREAACsARBc_","ffmpeg-add-outro-multiple-videos",null,"blog_posts","https:\u002F\u002Fmarks-personal-website.cdn.prismic.io\u002Fapi\u002Fv2\u002Fdocuments\u002Fsearch?ref=auzrLRIAACcAt6BE&q=%5B%5B%3Ad+%3D+at%28document.id%2C+%22atSbUREAACsARBc_%22%29+%5D%5D",[],"2026-10-18T21:45:38+0000","2026-10-28T18:37:29+0000",[13],"ffmpeg-how-to-add-an-outro-to-multiple-videos",[],"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 Add an Outro to Multiple Videos",[],"ltr","2026-10-18",[26],{"type":27,"text":28,"spans":29,"direction":23},"heading2","Learn how to automatically add an outro clip to multiple videos at once 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\u002FYkHo8OPUyBVsk0ID_HowtoAddanOutrotoMultipleVideosin1Command.jpeg?auto=format,compress","YkHo8OPUyBVsk0ID",{"x":37,"y":37,"zoom":38,"background":39},0,1,"transparent",[41,45,48,52,55,59,62,65,68,71,74,77,80,97],{"type":42,"text":43,"spans":44,"direction":23},"paragraph","Before we begin, make sure you have FFmpeg installed on your system, your main video files ready as MP4s, and your outro clip named \u003Ccode>outro.mp4\u003C\u002Fcode> placed inside the exact same folder.",[],{"type":42,"text":46,"spans":47,"direction":23},"Open your terminal or command prompt and navigate to your video folder.",[],{"type":49,"text":50,"spans":51,"direction":23},"heading3","Method 1: Same Resolution \u002F Frame Rate",[],{"type":42,"text":53,"spans":54,"direction":23},"If all your source videos and your outro clip already have the exact same resolution and aspect ratio, you can run this simple loop:",[],{"type":56,"text":57,"spans":58,"direction":23},"preformatted","for f in *.mp4; do [ \"$f\" = \"outro.mp4\" ] && continue; ffmpeg -i \"$f\" -i \"outro.mp4\" -filter_complex \"[0:v][0:a][1:v][1:a]concat=n=2:v=1:a=1[outv][outa]\" -map \"[outv]\" -map \"[outa]\" \"finished_${f}\"; done",[],{"type":42,"text":60,"spans":61,"direction":23},"This command loops through every MP4 file, skips \u003Ccode>outro.mp4\u003C\u002Fcode> so it does not attach the outro to itself, concatenates the audio and video, and saves each updated video with \u003Ccode>finished_\u003C\u002Fcode> added to the front of the filename.",[],{"type":49,"text":63,"spans":64,"direction":23},"Method 2: Different Resolution \u002F Frame Rate",[],{"type":42,"text":66,"spans":67,"direction":23},"If your original videos and your outro clip have different resolutions, FFmpeg needs to rescale them so they match. In that case, use this command instead, which scales all clips to 1080p:",[],{"type":56,"text":69,"spans":70,"direction":23},"for f in *.mp4; do [ \"$f\" = \"outro.mp4\" ] && continue; ffmpeg -i \"$f\" -i outro.mp4 -filter_complex \"[0:v]scale=1920:1080,setsar=1[v0]; [1:v]scale=1920:1080,setsar=1[v1]; [v0][0:a][v1][1:a] concat=n=2:v=1:a=1 [v][a]\" -map \"[v]\" -map \"[a]\" \"processed_$f\"; done",[],{"type":42,"text":72,"spans":73,"direction":23},"Depending on the length and resolution of your videos, re-encoding can take a little bit of time, so just let the command run until your terminal prompt reappears.",[],{"type":42,"text":75,"spans":76,"direction":23},"Once it finishes, open your folder and play one of the newly created \u003Ccode>finished_\u003C\u002Fcode> or \u003Ccode>processed_\u003C\u002Fcode> files to verify that the video and audio transition into the outro smoothly.",[],{"type":42,"text":78,"spans":79,"direction":23},"As a quick tip, if you need a different resolution like 4K, simply change \u003Ccode>1920:1080\u003C\u002Fcode> in the script to \u003Ccode>3840:2160\u003C\u002Fcode> before running it. ",[],{"type":81,"oembed":82},"embed",{"embed_url":83,"type":84,"version":85,"title":86,"author_name":87,"author_url":88,"provider_name":89,"provider_url":90,"thumbnail_url":91,"thumbnail_width":92,"thumbnail_height":93,"html":94,"height":95,"width":96},"https:\u002F\u002Fyoutu.be\u002FDg5EN2Wsts8","video","1.0","FFmpeg: How to Add an Outro to Multiple Videos in 1 Command","markster","https:\u002F\u002Fwww.youtube.com\u002F@markster1904","YouTube","https:\u002F\u002Fwww.youtube.com\u002F","https:\u002F\u002Fi.ytimg.com\u002Fvi\u002FDg5EN2Wsts8\u002Fhqdefault.jpg",480,360,"\u003Ciframe width=\"200\" height=\"113\" src=\"https:\u002F\u002Fwww.youtube.com\u002Fembed\u002FDg5EN2Wsts8?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 Add an Outro to Multiple Videos in 1 Command\">\u003C\u002Fiframe>",113,200,{"type":42,"text":98,"spans":99,"direction":23},"Thanks for watching :)",[],{"results":101,"page":38,"results_per_page":162,"results_size":162,"total_results_size":163,"total_pages":38},[102,122,142],{"id":103,"uid":104,"url":6,"type":7,"href":105,"tags":106,"first_publication_date":107,"last_publication_date":107,"slugs":108,"linked_documents":110,"lang":15,"alternate_languages":111,"data":112},"auzqGRIAACsAt55X","ubuntu-26-04-enable-fractional-scaling-on-wayland","https:\u002F\u002Fmarks-personal-website.cdn.prismic.io\u002Fapi\u002Fv2\u002Fdocuments\u002Fsearch?ref=auzrLRIAACcAt6BE&q=%5B%5B%3Ad+%3D+at%28document.id%2C+%22auzqGRIAACsAt55X%22%29+%5D%5D",[],"2026-11-05T20:46:37+0000",[109],"ubuntu-26.04-enable-fractional-scaling-on-wayland",[],[],{"image":113,"title":118},{"dimensions":114,"alt":6,"copyright":6,"url":115,"id":116,"edit":117},{"width":32,"height":33},"https:\u002F\u002Fimages.prismic.io\u002Fmarks-personal-website\u002FpVI5y1ileUlGp0ax_ubuntu26_04EnableFractionalScalingonWayland.jpeg?auto=format,compress","pVI5y1ileUlGp0ax",{"x":37,"y":37,"zoom":38,"background":39},[119],{"type":20,"text":120,"spans":121,"direction":23},"Ubuntu 26.04: Enable Fractional Scaling on Wayland",[],{"id":123,"uid":124,"url":6,"type":7,"href":125,"tags":126,"first_publication_date":127,"last_publication_date":127,"slugs":128,"linked_documents":130,"lang":15,"alternate_languages":131,"data":132},"auzo2RIAAC0At5xZ","ubuntu-26.04-undo-apt-install-with-apt-history","https:\u002F\u002Fmarks-personal-website.cdn.prismic.io\u002Fapi\u002Fv2\u002Fdocuments\u002Fsearch?ref=auzrLRIAACcAt6BE&q=%5B%5B%3Ad+%3D+at%28document.id%2C+%22auzo2RIAAC0At5xZ%22%29+%5D%5D",[],"2026-11-05T20:40:46+0000",[129],"ubuntu-26.04-undo-an-apt-install-with-apt-history-undo",[],[],{"image":133,"title":138},{"dimensions":134,"alt":6,"copyright":6,"url":135,"id":136,"edit":137},{"width":32,"height":33},"https:\u002F\u002Fimages.prismic.io\u002Fmarks-personal-website\u002FqOqSwrMP0cjwe-66_Ubuntu26.04-UndoanAPTInstallwith%2522apthistory-undo%2522.jpg?auto=format,compress","qOqSwrMP0cjwe-66",{"x":37,"y":37,"zoom":38,"background":39},[139],{"type":20,"text":140,"spans":141,"direction":23},"Ubuntu 26.04: Undo an APT Install with \"apt history-undo\"",[],{"id":143,"uid":144,"url":6,"type":7,"href":145,"tags":146,"first_publication_date":147,"last_publication_date":147,"slugs":148,"linked_documents":150,"lang":15,"alternate_languages":151,"data":152},"auznGhIAACoAt5mB","ubuntu-26-04-enable-screen-time-limits","https:\u002F\u002Fmarks-personal-website.cdn.prismic.io\u002Fapi\u002Fv2\u002Fdocuments\u002Fsearch?ref=auzrLRIAACcAt6BE&q=%5B%5B%3Ad+%3D+at%28document.id%2C+%22auznGhIAACoAt5mB%22%29+%5D%5D",[],"2026-11-05T20:35:03+0000",[149],"ubuntu-26.04-enable-screen-time-limits-in-gnome",[],[],{"image":153,"title":158},{"dimensions":154,"alt":6,"copyright":6,"url":155,"id":156,"edit":157},{"width":32,"height":33},"https:\u002F\u002Fimages.prismic.io\u002Fmarks-personal-website\u002F2p8DjpWKS20G9Wse_Ubuntu26.04-EnableScreenTimeLimitsinGNOME.jpeg?auto=format,compress","2p8DjpWKS20G9Wse",{"x":37,"y":37,"zoom":38,"background":39},[159],{"type":20,"text":160,"spans":161,"direction":23},"Ubuntu 26.04: Enable Screen Time Limits in GNOME",[],3,41,1793911620146]