Body: <p>I am quite new for using <code>FFmpeg</code>, and I am using <code>FFmpeg</code> in screen recording. I checked the online documentation in this link <a href="https://trac.ffmpeg.org/wiki/Capture/Desktop" rel="nofollow noreferrer">ffmpeg documentation &quot;Capturing your Desktop / Screen Recording&quot;</a>, but I didn't find sufficient information.</p>
  <p>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.</p>
  <pre class="lang-sh prettyprint-override"><code>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
  </code></pre>
  <p>I have some problems in these settings as following:</p>
  <ol>
  <li>The output video is too large, and I need to reduce the size without touch the quality at all.</li>
  <li>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.</li>
  </ol>
  <p>Below is my Linux distro information:</p>
  <pre><code>Distributor ID: Ubuntu
  Description   : Ubuntu 20.04.1 LTS
  Release       : 20.04
  Codename      : focal
  </code></pre>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-08-17T00:38:50.693Z
Comments.Text: Welcome! Your 2 goals are potentially mutually exclusive. Usually you get better editing performance with less compressed source material. What editor are you using? What is your target audience? Do you really need 4k output?
Comments.UserDisplayName: Michael Liebman
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-08-17T07:38:18.620Z
Comments.Text: As well as the raster size, do you really need 60fps? Are you slowing it down in post? If not you can halve the data rate by using 30fps
Comments.UserDisplayName: stib
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-08-18T20:32:19.400Z
Comments.Text: @MichaelLiebman I am using Hitfilm Pro 14. My target audiance are mainly technical and IT guys. Yes, I need 4K output this will be  a nice part in my videos..
Comments.UserDisplayName: Moustafa Mahmoud
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-08-18T20:37:25.670Z
Comments.Text: @stib I am not sure if 60fps is required or not in screen recording for coding and presentation.
Comments.UserDisplayName: Moustafa Mahmoud
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-08-18T20:54:05.273Z
Comments.Text: I think my main requirement is to enhance the video editing speed and make the quality 4K as is.
Comments.UserDisplayName: Moustafa Mahmoud
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-08-18T23:47:25.103Z
Comments.Text: For screen recording, you could absolutely use a lower frame rate. Try 30 or 24 fps. Depending on your content, you could even go 15fps. Is there lots of smooth motion?
Comments.UserDisplayName: stib
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-08-18T23:48:59.407Z
Comments.Text: I am not sure, But I think this could reduce the size, but it is quite not affecting to make video editor more responsive and less slow when editing 4k.
Comments.UserDisplayName: Moustafa Mahmoud
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-08-18T23:50:20.910Z
Comments.Text: And consider how people are going to be watching it. Mobile? On the web? Are people *actually* going to see it in 4k? And if they do is it going to be so compressed that it would look better in HD with less compression.
Comments.UserDisplayName: stib
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-08-18T23:51:27.720Z
Comments.Text: It depends on but some people are using youtube and most of them have a 4k screen.
Comments.UserDisplayName: Moustafa Mahmoud
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-08-19T00:44:38.903Z
Comments.Text: You should investigate using proxies when you're editing. This lets you edit lower resolution copies, but use the full resolution when rendering. Not sure if Hitfilm does that though, you'll have to check the docs.
Comments.UserDisplayName: stib
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-08-19T12:34:01.633Z
Comments.Text: @stib Does ffpmeg has a recommeded encoding or format for editing?
Comments.UserDisplayName: Moustafa Mahmoud
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-08-19T23:44:00.857Z
Comments.Text: Let us [continue this discussion in chat](https://chat.stackexchange.com/rooms/111994/discussion-between-stib-and-moustafa-mahmoud).
Comments.UserDisplayName: stib
Tags: <video><ffmpeg><video-editor><linux>
Title: What is the recommended settings for video editing using ffmpeg?
UserDisplayName: Moustafa Mahmoud
ThreadText: # What is the recommended settings for video editing using ffmpeg?
  
  (Asked by: username_0 on 2020-08-16)
  
  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"](https://trac.ffmpeg.org/wiki/Capture/Desktop), 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.
  
  ```sh
  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:
  
  1. The output video is too large, and I need to reduce the size without touch the quality at all.
  2. 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
  
  ```
  
  **Tags:** video, ffmpeg, video-editor, linux
  
  > **Comments:**
  > **username_1**: Welcome! Your 2 goals are potentially mutually exclusive. Usually you get better editing performance with less compressed source material. What editor are you using? What is your target audience? Do you really need 4k output?  
  > **username_2**: As well as the raster size, do you really need 60fps? Are you slowing it down in post? If not you can halve the data rate by using 30fps  
  > **username_0**: @username_1 I am using Hitfilm Pro 14. My target audiance are mainly technical and IT guys. Yes, I need 4K output this will be  a nice part in my videos..  
  > **username_0**: @username_2 I am not sure if 60fps is required or not in screen recording for coding and presentation.  
  > **username_0**: I think my main requirement is to enhance the video editing speed and make the quality 4K as is.  
  > **username_2**: For screen recording, you could absolutely use a lower frame rate. Try 30 or 24 fps. Depending on your content, you could even go 15fps. Is there lots of smooth motion?  
  > **username_0**: I am not sure, But I think this could reduce the size, but it is quite not affecting to make video editor more responsive and less slow when editing 4k.  
  > **username_2**: And consider how people are going to be watching it. Mobile? On the web? Are people *actually* going to see it in 4k? And if they do is it going to be so compressed that it would look better in HD with less compression.  
  > **username_0**: It depends on but some people are using youtube and most of them have a 4k screen.  
  > **username_2**: You should investigate using proxies when you're editing. This lets you edit lower resolution copies, but use the full resolution when rendering. Not sure if Hitfilm does that though, you'll have to check the docs.  
  > **username_0**: @username_2 Does ffpmeg has a recommeded encoding or format for editing?  
  > **username_2**: Let us [continue this discussion in chat](https://chat.stackexchange.com/rooms/111994/discussion-between-username_2-and-username_0).  
  
  ---
  
  ## 0 answers
  
  