[{"data":1,"prerenderedAt":144},["ShallowReactive",2],{"blog-post-ffmpeg-how-to-invert-colors":3,"recent-posts":79},{"id":4,"uid":5,"url":6,"type":7,"href":8,"tags":9,"first_publication_date":10,"last_publication_date":10,"slugs":11,"linked_documents":13,"lang":14,"alternate_languages":15,"data":16},"avV13BIAACkAxNMj","ffmpeg-how-to-invert-colors",null,"blog_posts","https:\u002F\u002Fmarks-personal-website.cdn.prismic.io\u002Fapi\u002Fv2\u002Fdocuments\u002Fsearch?ref=axCfhxMAACkA1kxo&q=%5B%5B%3Ad+%3D+at%28document.id%2C+%22avV13BIAACkAxNMj%22%29+%5D%5D",[],"2026-11-12T08:19:13+0000",[12],"ffmpeg-how-to-invert-the-colors-of-a-video",[],"en-us",[],{"title":17,"date":23,"description":24,"image":29,"content":39},[18],{"type":19,"text":20,"spans":21,"direction":22},"heading1","FFmpeg: How to Invert the Colors of a Video",[],"ltr","2026-11-08",[25],{"type":26,"text":27,"spans":28,"direction":22},"heading2","Learn how to invert the colors of a video using FFmpeg",[],{"dimensions":30,"alt":6,"copyright":6,"url":33,"id":34,"edit":35},{"width":31,"height":32},1376,768,"https:\u002F\u002Fimages.prismic.io\u002Fmarks-personal-website\u002FfrhIJEVMDN4_uFxQ_ffmpegHowtoInvertVideoColor.jpg?auto=format,compress","frhIJEVMDN4_uFxQ",{"x":36,"y":36,"zoom":37,"background":38},0,1,"transparent",[40,44,47,50,54,57,60,76],{"type":41,"text":42,"spans":43,"direction":22},"paragraph","Before we start, make sure you have FFmpeg installed on your system and your input video ready in your working folder.",[],{"type":41,"text":45,"spans":46,"direction":22},"First, open your terminal or command prompt and navigate to the directory where your video file is saved.",[],{"type":41,"text":48,"spans":49,"direction":22},"To invert the video colors, run this command:",[],{"type":51,"text":52,"spans":53,"direction":22},"preformatted","ffmpeg -i input.mp4 -vf \"negate\" output.mp4",[],{"type":41,"text":55,"spans":56,"direction":22},"Depending on the length and resolution of your file, FFmpeg will take a few moments to process the video.",[],{"type":41,"text":58,"spans":59,"direction":22},"Once the rendering finishes, open \u003Ccode>output.mp4\u003C\u002Fcode> to confirm that the colors have inverted properly.",[],{"type":61,"oembed":62},"embed",{"embed_url":63,"type":64,"version":65,"title":20,"author_name":66,"author_url":67,"provider_name":68,"provider_url":69,"thumbnail_url":70,"thumbnail_width":71,"thumbnail_height":72,"html":73,"height":74,"width":75},"https:\u002F\u002Fyoutu.be\u002F2DPAH9vv6iE","video","1.0","markster","https:\u002F\u002Fwww.youtube.com\u002F@markster1904","YouTube","https:\u002F\u002Fwww.youtube.com\u002F","https:\u002F\u002Fi.ytimg.com\u002Fvi\u002F2DPAH9vv6iE\u002Fhqdefault.jpg",480,360,"\u003Ciframe width=\"200\" height=\"113\" src=\"https:\u002F\u002Fwww.youtube.com\u002Fembed\u002F2DPAH9vv6iE?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 Invert the Colors of a Video\">\u003C\u002Fiframe>",113,200,{"type":41,"text":77,"spans":78,"direction":22},"If you're working with transparent videos and want to avoid inverting the alpha channel, you can use \u003Ccode>negate=w=1\u003C\u002Fcode> instead.",[],{"results":80,"page":37,"results_per_page":142,"results_size":142,"total_results_size":143,"total_pages":37},[81,103,123],{"id":82,"uid":83,"url":6,"type":7,"href":84,"tags":85,"first_publication_date":86,"last_publication_date":86,"slugs":87,"linked_documents":89,"lang":14,"alternate_languages":90,"data":91},"awViKBIAACgAHCq8","eza-show-file-sizes","https:\u002F\u002Fmarks-personal-website.cdn.prismic.io\u002Fapi\u002Fv2\u002Fdocuments\u002Fsearch?ref=axCfhxMAACkA1kxo&q=%5B%5B%3Ad+%3D+at%28document.id%2C+%22awViKBIAACgAHCq8%22%29+%5D%5D",[],"2026-12-02T22:45:26+0000",[88],"eza-how-to-show-file-sizes",[],[],{"image":92,"title":100},{"dimensions":93,"alt":96,"copyright":6,"url":97,"id":98,"edit":99},{"width":94,"height":95},1280,720,"eza: How to Show File Sizes","https:\u002F\u002Fimages.prismic.io\u002Fmarks-personal-website\u002FUpKz_y1Rt8NcxxKd_eza-show-file-sizes.png?auto=format,compress","UpKz_y1Rt8NcxxKd",{"x":36,"y":36,"zoom":37,"background":38},[101],{"type":19,"text":96,"spans":102,"direction":22},[],{"id":104,"uid":105,"url":6,"type":7,"href":106,"tags":107,"first_publication_date":86,"last_publication_date":86,"slugs":108,"linked_documents":110,"lang":14,"alternate_languages":111,"data":112},"awViIhIAAC0AHCqe","eza-install-mac","https:\u002F\u002Fmarks-personal-website.cdn.prismic.io\u002Fapi\u002Fv2\u002Fdocuments\u002Fsearch?ref=axCfhxMAACkA1kxo&q=%5B%5B%3Ad+%3D+at%28document.id%2C+%22awViIhIAAC0AHCqe%22%29+%5D%5D",[],[109],"how-to-install-eza-on-macos-27",[],[],{"image":113,"title":119},{"dimensions":114,"alt":115,"copyright":6,"url":116,"id":117,"edit":118},{"width":94,"height":95},"eza: How to Install eza on Mac","https:\u002F\u002Fimages.prismic.io\u002Fmarks-personal-website\u002FNBBJX1Ht34d3UJ5R_eza-install-mac.png?auto=format,compress","NBBJX1Ht34d3UJ5R",{"x":36,"y":36,"zoom":37,"background":38},[120],{"type":19,"text":121,"spans":122,"direction":22},"How to Install eza on macOS 27",[],{"id":124,"uid":125,"url":6,"type":7,"href":126,"tags":127,"first_publication_date":86,"last_publication_date":86,"slugs":128,"linked_documents":130,"lang":14,"alternate_languages":131,"data":132},"awViKxIAAC0AHCrL","eza-show-git-status","https:\u002F\u002Fmarks-personal-website.cdn.prismic.io\u002Fapi\u002Fv2\u002Fdocuments\u002Fsearch?ref=axCfhxMAACkA1kxo&q=%5B%5B%3Ad+%3D+at%28document.id%2C+%22awViKxIAAC0AHCrL%22%29+%5D%5D",[],[129],"eza-how-to-show-git-status",[],[],{"image":133,"title":139},{"dimensions":134,"alt":135,"copyright":6,"url":136,"id":137,"edit":138},{"width":94,"height":95},"eza: How to Show Git Status","https:\u002F\u002Fimages.prismic.io\u002Fmarks-personal-website\u002FfpEwsos0S0CTuwSN_eza-show-git-status.png?auto=format,compress","fpEwsos0S0CTuwSN",{"x":36,"y":36,"zoom":37,"background":38},[140],{"type":19,"text":135,"spans":141,"direction":22},[],3,118,1796300773211]