import ffmpeg ( ffmpeg .input('FaceTime', format='avfoundation', pix_fmt='uyvy422', framerate=30) .output('out.mp4', pix_fmt='yuv420p', vframes=100) .run() )