Source SDK

Source SDK

85 ratings
Animated VTF from Video/GIF
By мяFunreal
Turning a video into an animated gif used to be a hassle. Not anymore.
2
   
Award
Favorite
Favorited
Unfavorite
Turning Videos to VTF
Up until now, turning a video or a GIF into an animated VTF file used to be a hassle.

I made a few FFMPEG scripts which can:
  • Turn a GIF into an MP4 (to convert easier, but get the GIF's source instead. GIF looks bad)
  • Trim a video
  • Help you crop a video, if needed
  • Scale a video to Power-of-Two videos (1024x1024...)
  • Extract all frames, which can then be imported to VTFEdit

Using these i can extract a clip out of any video and convert to a VTF in under two minutes.
At least the recording of me doing it was about 90 seconds long before i edited it to a guide.

Anyhow: here's what you need:
FFMPEG: https://ffmpeg.org/download.html
FFMPEG Scripts: https://gum.co/HcyGo
VTFEdit: https://nemstools.github.io/pages/VTFLib-Download.html




If you need help or just want to talk:
Dead 4 Mods Discord: https://discord.gg/4qtmzBP
My Discord: https://discord.gg/6AKUNth
5 Comments
Recoil Shotter 9 Feb @ 8:07pm 
what........................................................................................................................................
Mange tout 18 Nov, 2023 @ 8:30am 
i love you
Clan Wolf 7 Jan, 2021 @ 2:44am 
Duff Gardens Hurrah
мяFunreal  [author] 5 Jan, 2021 @ 9:47am 
the cmd has a menu though.
Just gotta drag and drop and then enter a number
eXplosion 5 Jan, 2021 @ 5:49am 
Woah, nice! If ill be not that lazy i will try this out, and if you create menu or something like that will be better than cmd, but its good enought!!