ffmpeg screen capture fixed for windows 10( mp4 videos will finally become playable)

Subscribers:
351
Published on ● Video Link: https://www.youtube.com/watch?v=zD1dA58b3gM



Duration: 0:31
23 views
6


(just add -pix_fmt yuv420p)

Many people that use ffmpeg in windows cannot play the mp4 video that was made using ffmpeg . this has something to do with chroma or something . you have to add -pix_fmt yuv420p this is same for using ggrab or screen recorder . i made the video for windows 10 and ffmpeg dont know if it will work on windows 11 and windows 11 already has snipping tool video but in theory

now using -i desktop is for fullscreen capture
but you can also use ffmpeg -f gdigrab -framerate 30 -i desktop -c:v libx264 -s 1280x720 -pix_fmt yuv420p output.mp4