I'm using ffmpeg to capture a portion of my screen, save it as a movie file, and stream it to a Youtube live event. The result is a jerky movement. The log has some issues I'm not able to understand and solve. I did a lot of different try, but with no result.
This is the actual Command line I use:
"C:\\mbiWebTV\\programs\\ffmpeg\\bin_x86\\ffmpeg.exe" -thread_queue_size 512 -report -re -rtbufsize 2000M -f dshow -i "audio=Missaggio stereo (Realtek High Definition Audio)" -f dshow -i "video=screen-capture-recorder" -filter:v "crop=713:379:018:043" -s 848x480 -video_size 848x480 -vcodec libx264 -preset ultrafast -maxrate 6000 -bufsize 2000M -pix_fmt yuv420p -g 60 -acodec libmp3lame -b:a 128k -ac 2 -ar 44100 -f flv rtmp://a.rtmp.youtube.com/live2/xxxx-xyyv-0rrm-f9g2 -filter:v "crop=713:379:018:043" "c:\\mbiWebTV\\Capture\\Capture_20170225_165829.mkv"
I could send the complete log file. This is the error messages that frequently occurs:
[dshow @ 049a4240] real-time buffer [screen-capture-recorder] [video input] too full or near too full (545% of size: 3041280 [rtbufsize parameter])! frame dropped!