Compress videos to save storage space

It is possible to save space by compressing the recovered videos on screenscraper. ARRM can use Handbrake or FFmpeg as compression software.

To activate the compression of videos during their recovery (scrap) just check the box compress video and indicate the desired encoder. The compression parameters used will be those indicated in the Handbrake parameters or Ffmpeg parameters field.

By default, the compression settings are as follows:

  • for Handrake: - Z “Gmail Small 10 Minutes 288p30” –crop 0: 0: 0: 0 -f av_mp4
  • for FFmpeg: - ac 1 -c: v libx264 -preset: v slow -profile: v main -level 3.1 -filter_complex “format = yuv420p, scale = 'if (gt (in_w, in_h), 288, -2 ): if (gt (in_w, in_h), - 2,288) '”-r 30 -f mp4 -y

Other possible parameters for FFMPEG:

  • -ac 1 -c: v libx264 -pix_fmt yuv420p -crf 35 -preset: v slow -y
  • -t 30 -acodec libmp3lame -b:a 64k -ar 24000 -c:v libx264 -preset slow -crf 28 -vf “scale=-1:480,fps=30,pad=ceil(iw/2)*2:ceil(ih/2)*2” -y → parameters used to create standard videos on Screenscraper.

You can use other parameters knowing that those by default can reduce the video by more than half. List of differents presets usable with Handbrake Documentation FFmpeg

To revert to the default settings, simply set the parameter textbox to blank.

You can also compress all videos in a system. Open the system, select the roms and click on the button Compress selected videos

compress_video_en.txt · Dernière modification : 2020/04/15 11:50 de nexusone13