{"action":"created","issue":{"url":"https://api.github.com/repos/MaartenBaert/ssr/issues/347","labels_url":"https://api.github.com/repos/MaartenBaert/ssr/issues/347/labels{/name}","comments_url":"https://api.github.com/repos/MaartenBaert/ssr/issues/347/comments","events_url":"https://api.github.com/repos/MaartenBaert/ssr/issues/347/events","html_url":"https://github.com/MaartenBaert/ssr/issues/347","id":92438606,"number":347,"title":"Best settings for minimizing filesize and load on computer?","user":{"login":"rabarrett8","id":5530099,"avatar_url":"https://avatars.githubusercontent.com/u/5530099?v=3","gravatar_id":"","url":"https://api.github.com/users/rabarrett8","html_url":"https://github.com/rabarrett8","followers_url":"https://api.github.com/users/rabarrett8/followers","following_url":"https://api.github.com/users/rabarrett8/following{/other_user}","gists_url":"https://api.github.com/users/rabarrett8/gists{/gist_id}","starred_url":"https://api.github.com/users/rabarrett8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rabarrett8/subscriptions","organizations_url":"https://api.github.com/users/rabarrett8/orgs","repos_url":"https://api.github.com/users/rabarrett8/repos","events_url":"https://api.github.com/users/rabarrett8/events{/privacy}","received_events_url":"https://api.github.com/users/rabarrett8/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-01T17:16:49Z","updated_at":"2015-07-02T17:52:00Z","closed_at":null,"body":"Hi,\r\n\r\nI like to record my opponent's turn in a turn-based game after I go to sleep.  To do that, I start screen recorder when I go to bed, turn off the monitor, and leave it running until I wake up and have time to check it again (8-10 hours later usually).  Right now, to minimize the file size, I set frame rate at 3 and put the Constant rate factor at 10.  I am also using Matroska and the H.264 Codec.  \r\n\r\nRight now this works pretty well.  It is not an action game, but just shows someone moving units across a maps, usually fairly slowly without a lot of movement.  All I really need amounts to a photo every 1-2 seconds.  \r\n\r\nDo you have any suggestions for better settings?\r\nMy first priority is to minimize file size so that I don't run out of disk space or have a giant file the next day (I might eventually leave it running for a day or two).  My second priority is to minimize the load on the computer so that it doesn't have to do any needless processing.\r\n\r\nThank you for any advice,\r\n\r\nRichard\r\n"},"comment":{"url":"https://api.github.com/repos/MaartenBaert/ssr/issues/comments/118109520","html_url":"https://github.com/MaartenBaert/ssr/issues/347#issuecomment-118109520","issue_url":"https://api.github.com/repos/MaartenBaert/ssr/issues/347","id":118109520,"user":{"login":"Lucki","id":1408843,"avatar_url":"https://avatars.githubusercontent.com/u/1408843?v=3","gravatar_id":"","url":"https://api.github.com/users/Lucki","html_url":"https://github.com/Lucki","followers_url":"https://api.github.com/users/Lucki/followers","following_url":"https://api.github.com/users/Lucki/following{/other_user}","gists_url":"https://api.github.com/users/Lucki/gists{/gist_id}","starred_url":"https://api.github.com/users/Lucki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lucki/subscriptions","organizations_url":"https://api.github.com/users/Lucki/orgs","repos_url":"https://api.github.com/users/Lucki/repos","events_url":"https://api.github.com/users/Lucki/events{/privacy}","received_events_url":"https://api.github.com/users/Lucki/received_events","type":"User","site_admin":false},"created_at":"2015-07-02T17:52:00Z","updated_at":"2015-07-02T17:52:00Z","body":"You should take a look at the constant rate factor (crf) - it's really low with 10.\r\nhttps://trac.ffmpeg.org/wiki/Encode/H.264#a1.ChooseaCRFvalue :\r\n> The range of the quantizer scale is 0-51: where 0 is lossless, 23 is default, and 51 is worst possible.  A lower value is a higher quality and a subjectively sane range is 18-28. Consider 18 to be visually lossless or nearly so: it should look the same or nearly the same as the input but it isn't technically lossless.\r\n\r\nHigher crf means less file size ('cause of the less detailed data), but be careful with too high values.\r\nDecide whether you want to be lossless (crf=0), or not (crf=[18-28]).\r\n\r\nSecond optimization would be a slower preset - the cpu has more time to compress your video, but this doesn't take too much.\r\nhttps://trac.ffmpeg.org/wiki/Encode/H.264#a2.Chooseapreset :\r\n> The general guideline is to use the slowest preset that you have patience for. Current presets in descending order of speed are: `ultrafast`, `superfast`, `veryfast`, `faster`, `fast`, `medium`, `slow`, `slower`, `veryslow`, [`placebo`].\r\n\r\nExperiment with which preset you can capture fluid. This obviusly don't get too crazy at 3 FPS."}}