PDA

View Full Version : Smffmpeg (1.0.0.1, 2018.02.14)


GHartmann
02-14-2018, 16:18
Intended for use with my Rociar (https://forums.alliedmods.net/showthread.php?t=305297) 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.

DJPlaya
08-09-2020, 09:15
HMMM, ime getting sick Ideas ^^
If this would be expanded, i could think of it to be used with the Displaying Method of SMES (https://forums.alliedmods.net/showthread.php?t=247830). This would enable us to play Videos ingame, haha, ime pretty sure setting every Pixel each frame(or timed) would just be too much for SM. I will keep this in mind, may be fun to try out some Time:bee: