[{"data":1,"prerenderedAt":158},["ShallowReactive",2],{"blog-post-ffmpeg-change-video-pixel-format":3,"recent-posts":94},{"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},"auJLkxEAACwAw9ca","ffmpeg-change-video-pixel-format",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+%22auJLkxEAACwAw9ca%22%29+%5D%5D",[],"2026-10-28T19:25:52+0000",[12],"ffmpeg-how-to-change-video-pixel-format",[],"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 Change Video Pixel Format",[],"ltr","2026-10-23",[25],{"type":26,"text":27,"spans":28,"direction":22},"heading2","Learn how to change the pixel format 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\u002FqRS8JVG6fgsbXCGF_ffmpegHowtoChangeVideoPixelFormat.jpeg?auto=format,compress","qRS8JVG6fgsbXCGF",{"x":36,"y":36,"zoom":37,"background":38},0,1,"transparent",[40,44,47,51,54,57,60,63,66,69,72,88],{"type":41,"text":42,"spans":43,"direction":22},"paragraph","All you need for this tutorial is FFmpeg installed on your computer and a terminal window opened to the folder containing your video.",[],{"type":41,"text":45,"spans":46,"direction":22},"First, let's check the current pixel format and details of your video by running:",[],{"type":48,"text":49,"spans":50,"direction":22},"preformatted","ffmpeg -i input.mp4",[],{"type":41,"text":52,"spans":53,"direction":22},"Look at the video stream information line in the output, and you'll see the current pixel format listed next to the video codec.",[],{"type":41,"text":55,"spans":56,"direction":22},"Now, to convert your video to a widely supported pixel format like \u003Ccode>yuv420p\u003C\u002Fcode>, run:",[],{"type":48,"text":58,"spans":59,"direction":22},"ffmpeg -i input.mp4 -pix_fmt yuv420p output.mp4",[],{"type":41,"text":61,"spans":62,"direction":22},"Depending on your file size and computer speed, FFmpeg will take a few moments to re-encode the video.",[],{"type":41,"text":64,"spans":65,"direction":22},"Once the command finishes, let's verify that the pixel format updated properly by running:",[],{"type":48,"text":67,"spans":68,"direction":22},"ffmpeg -i output.mp4",[],{"type":41,"text":70,"spans":71,"direction":22},"Check the stream details again, and you should now see \u003Ccode>yuv420p\u003C\u002Fcode> listed as the pixel format.",[],{"type":73,"oembed":74},"embed",{"embed_url":75,"type":76,"version":77,"title":20,"author_name":78,"author_url":79,"provider_name":80,"provider_url":81,"thumbnail_url":82,"thumbnail_width":83,"thumbnail_height":84,"html":85,"height":86,"width":87},"https:\u002F\u002Fyoutu.be\u002FvZCZG7dhAdo","video","1.0","markster","https:\u002F\u002Fwww.youtube.com\u002F@markster1904","YouTube","https:\u002F\u002Fwww.youtube.com\u002F","https:\u002F\u002Fi.ytimg.com\u002Fvi\u002FvZCZG7dhAdo\u002Fhqdefault.jpg",480,360,"\u003Ciframe width=\"200\" height=\"113\" src=\"https:\u002F\u002Fwww.youtube.com\u002Fembed\u002FvZCZG7dhAdo?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 Video Pixel Format\">\u003C\u002Fiframe>",113,200,{"type":41,"text":89,"spans":90,"direction":22},"Just remember: \u003Ccode>yuv420p\u003C\u002Fcode> is the standard pixel format required by QuickTime Player, modern web browsers, and most video editors, so converting to it will fix most black screen or playback issues.",[91],{"start":36,"end":92,"type":93},13,"strong",{"results":95,"page":37,"results_per_page":156,"results_size":156,"total_results_size":157,"total_pages":37},[96,118,137],{"id":97,"uid":98,"url":6,"type":7,"href":99,"tags":100,"first_publication_date":101,"last_publication_date":101,"slugs":102,"linked_documents":104,"lang":14,"alternate_languages":105,"data":106},"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",[103],"sox-how-to-change-bit-depth",[],[],{"image":107,"title":115},{"dimensions":108,"alt":111,"copyright":6,"url":112,"id":113,"edit":114},{"width":109,"height":110},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":36,"y":36,"zoom":37,"background":38},[116],{"type":19,"text":111,"spans":117,"direction":22},[],{"id":119,"uid":120,"url":6,"type":7,"href":121,"tags":122,"first_publication_date":101,"last_publication_date":101,"slugs":123,"linked_documents":125,"lang":14,"alternate_languages":126,"data":127},"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",[],[124],"sox-how-to-reverse-audio",[],[],{"image":128,"title":134},{"dimensions":129,"alt":130,"copyright":6,"url":131,"id":132,"edit":133},{"width":109,"height":110},"SoX: How to Reverse Audio","https:\u002F\u002Fimages.prismic.io\u002Fmarks-personal-website\u002F6yWWTbolMOE4a3JL_sox-reverse-audio.png?auto=format,compress","6yWWTbolMOE4a3JL",{"x":36,"y":36,"zoom":37,"background":38},[135],{"type":19,"text":130,"spans":136,"direction":22},[],{"id":138,"uid":139,"url":6,"type":7,"href":140,"tags":141,"first_publication_date":101,"last_publication_date":101,"slugs":142,"linked_documents":144,"lang":14,"alternate_languages":145,"data":146},"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",[],[143],"sox-how-to-convert-stereo-to-mono",[],[],{"image":147,"title":153},{"dimensions":148,"alt":149,"copyright":6,"url":150,"id":151,"edit":152},{"width":109,"height":110},"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":36,"y":36,"zoom":37,"background":38},[154],{"type":19,"text":149,"spans":155,"direction":22},[],3,64,1794955544693]