Steam

Steam

683 ratings
How to crop Animated Profile Backgrounds for Artworks
By mxve
A simple guide on how to crop animated profile backgrounds for usage in artwork showcases.
42
6
6
   
Award
Favorite
Favorited
Unfavorite
How to crop [FFMPEG]
Exact resolutions might get out of date, but the method can be adapted very easily to changed resolutions etc.

See these guides for pre cropped backgrounds:
https://steamcommunity.com/sharedfiles/filedetails/?id=2330405387
https://steamcommunity.com/sharedfiles/filedetails/?id=2144899743

I used ffmpeg to crop the webm and generate the png & gif, so you have to install it if you want to use this method.
https://ffmpeg.org/


ffmpeg commands used:

avatar 164x164 @ 500,32
ffmpeg -i "bedroom_scene.webm" -filter:v "crop=164:164:500:32" -lossless 1 -y "avatar_bs.webm"

main 506x808 @ 494,256
ffmpeg -i "bedroom_scene.webm" -filter:v "crop=506:808:494:256" -lossless 1 -y "main_bs.webm"

side 100x808 @ 1010,256
ffmpeg -i "bedroom_scene.webm" -filter:v "crop=100:808:1010:256" -lossless 1 -y "side_bs.webm"

gif
ffmpeg -i "avatar_sn.webm" -vf palettegen -y "avatar_sn_palette.png" ffmpeg -i "avatar_sn.webm" -i "avatar_sn_palette.png" -filter_complex paletteuse -r 30000/1001 -y "avatar_sn.gif"

png
ffmpeg -i "avatar_bh.webm" -frames:v 1 -lossless 1 -y "avatar_bh.png"

webm to mp4
ffmpeg -i main_ds.webm -crf 16 -c:v libx264 -y main_ds.mp4