Intended for use with my
Rociar plugin.
SMFFMPEG, gives access to some ffmpeg functionality within SourceMod.
Only tested on Linux with TF2.
native int SMFFMPEG_GetSoundDuration(char[] file);
Get a sound's duration (does not read VPKs)
native void SMFFMPEG_FlushSoundDurationCache();
Flush the sound duration cache.
Intended for development/debugging only, you shouldn't need to call this.