I'm using Ffmpeg to record screen videos in Windows 10:
ffmpeg -rtbufsize 1500M -f gdigrab -framerate 29.97 -draw_mouse 0 -offset_x 2777 -offset_y 344 -video_size 1280x720 -i desktop -c:v libx264 -vf format=yuv420p -preset ultrafast D:/myvideo.mpg
If I play the recorded files in VLC they work fine. If I play them back in a built in Windows Media Player or "Movies & TV" I get this error code: 0xc10100be ERROR_INVALID_MODULETYPE
Are there any settings I need to add to Ffmpeg for use in Windows?
.mp4
instead of.mpg
.myvideo.mp4
)?