FFmpeg includes the x11grab and ALSA virtual devices that enable capturing the entire user display and audio input.
To create test.mkv with lossless encoding:
$ ffmpeg -f x11grab -video_size 1920x1080 -i $DISPLAY -f alsa -i default -c:v ffvhuff -c:a flac test.mkv
where -video_size specifies the size of the area to capture. Check the FFmpeg manual for examples of how to change the screen or position of the capture area.
To implicitely encode to a shareable size use :
$ ffmpeg -f x11grab -s 1920x1080 -r 25 -i $DISPLAY -f alsa -i default -c:v libx264 -b:v 200k -s 1280x720 test.mp4
You may want to adjust the parameters (left-to-right): input format, [input]size, framerate, input (in this case display, but could be a file too), input format, input, codec:video, bitrate:video, [output]size of output. Without context the meaning of the parameters may seem ambigious. See the manpage for the synopsis.
It is important parameters are specify in the correct order (e.g. input, video, filters, audio, output), failing to do so may cause parameters being skipped or will prevent FFmpeg to execute.
FFmpeg should automatically choose the number of CPU threads available. However you may want to force the number of threads available by the parameter -threads <number>.
Increased performance in gaming
Our goal is to make Windows 10 the best Windows ever for gaming. With the Creators Update, we’re introducing a new feature called Game Mode. Windows Insiders will start seeing some of the visual elements for Game Mode this week, with the feature being fully operational in builds shortly thereafter. Our vision is for Game Mode to optimize your Windows 10 PC for increased performance in gaming. This is a big update for Windows; we’re looking forward to Insiders getting their hands on this new feature for further testing, and we’ll have much more to share on what it is and how it works soon, so stayed tuned.
Visualizzano questa sezione: 0 utenti registrati e 3 ospiti