ffmpeg -framerate 10 -f gdigrab -thread_queue_size 128 -offset_y 80 -video_size "1280x900" -i desktop -i X:\Projects\LogoTV.png -f dshow -framerate 10 -video_size 160x120 -pixel_format yuyv422 -rtbufsize 32M -i video="USB web camera" -i X:\Projects\LogoProject.png %1 %2 -filter_complex "[0]pad=ih*16/9:ih:(ow-iw)/2:oh-ih[a]; [a][1]overlay=W-w:8:format=rgb[b]; [b][2]overlay=0:H-h:format=rgb[c]; [c][3]overlay=W-w:(H-h)/2:format=rgb %filter%" -f dshow -rtbufsize 16M -i audio="Virtual Cable 1" -acodec libmp3lame -ab 112k -joint_stereo 0 -af "volume=2" -vcodec libx264 -pix_fmt yuv420p -keyint_min 3 -vb 1200k -bufsize 6M -preset ultrafast %3 %4 %5