#5973: Added thread_queue_size

This commit is contained in:
Jaex 2021-12-07 03:06:53 +03:00
parent 866232e6ce
commit f7b1eeb5c3

View file

@ -90,7 +90,8 @@ public string GetFFmpegArgs(bool isCustom = false)
StringBuilder args = new StringBuilder();
args.Append("-hide_banner "); // All FFmpeg tools will normally show a copyright notice, build options and library versions. This option can be used to suppress printing this information.
args.Append("-rtbufsize 150M "); // Default real time buffer size is 3041280 (3M)
args.Append("-rtbufsize 256M "); // Default real time buffer size is 3041280 (3M)
args.Append("-thread_queue_size 1024 "); // This option sets the maximum number of queued packets when reading from the file or device.
string fps;