I am quite new for using
FFmpeg, and I am using
FFmpeg in screen recording. I checked the online documentation in this link ffmpeg documentation "Capturing your Desktop / Screen Recording", but I didn't find sufficient information.
I have a 4k laptop with invidia GPU, and I am using the below command to screencast the video (4k, 60 f/s), and audio from my laptop.
ffmpeg -video_size 3840x2160 \ -framerate 60 \ -f x11grab -i :1 -f pulse -ac 2 -i default \ -c:v libx264 \ -crf 0 \ -qp 0 \ -preset ultrafast videoname.mp4
I have some problems in these settings as following:
- The output video is too large, and I need to reduce the size without touch the quality at all.
- The output video seems to be not a row video, and it takes too much time in video editing decoding and encoding. I am not sure if there is a recommended setting for video editing. As I did some search and found the above is advised, but in practice perspective, it is not efficient.
Below is my Linux distro information:
Distributor ID: Ubuntu Description : Ubuntu 20.04.1 LTS Release : 20.04 Codename : focal