nus-cs2030 / 2021-s1

27 stars 48 forks source link

[Extended Deadline Update] Screen Recording – "Compressing" Large files #580

Closed yusufaine closed 2 years ago

yusufaine commented 3 years ago

Summary

Like many of you, my screen recording file size was ridiculously big (6GB) as I used QuickTime to record my screen. Didn't realise the default recording option for full resolution @ 60fps. Managed to bring the filesize down quite significantly and it took me roughly 15-20 minutes to do so.

Results will vary based on your computer's specs. I'm running it on my laptop so y'all can probably expect it to be around the same time.

Do note that this requires ffmpeg. I tried using other ways to convert/reduce the file size but they all took hours.

image

Solution

Update: The profs have extended to submission deadline to 01 Dec 2020 @ 8pm, and recommended to use handbrake.

Using ffmpeg (CLI)

Using ffmpeg is much faster than handbrake, not as user-friendly.

The following was the command I used: ffmpeg -i input.mov -map 0 -map -0:a -vcodec libx264 -r 1 output.mp4

Using handbrake (GUI)

Much easier to use than ffmpeg, may take a significantly longer time to get the job done.

For simplicity, using the 720p@30 Fast Preset should get the job done for most, but may take an hour or two (mine was estimated to end around 2 hours) and significantly slows down your device.