KeyFrame VLC


This script is for syncing Reference video between my custom video player (that uses the vlc library) and sfm.


  1. change the player windows opacity (make it see though)
  2. making the player window click-though-able. lets you animate with the player overlapping the view port

setup step

extract the folder 'scripts' to "*SourceFilmmaker\game\workshop" and that's it. when done '' and the .dll files should be and need to be in this dir "SourceFilmmaker\game\workshop\scripts\sfm\vlc*" else you will get import errors

How to Use

  1. Run the script from the script mainmenu. scripts->Keyframe->keyframevlc
  2. open a video in the player
  3. check sync and use the sfm playhead to scrub both SFM and the player at the same time.
  4. if sync is checked and you click current then the script timeline will change to the current shot. moving the SFM timeline head over a different shot and re clicking current will scale it to that shot as well. basically treats that shot as the beginning of the timeline makes it easy to offset video
  5. from here you find the reference shot in the video you want to copy then using that frame start number set your offset frame in the script to line up where in the sfm timeline to want to start animating. then just move and size the player to match the view port and adjust the opacity enough to where you can barely see the player. Then just toggle window click-though and animate the scene frame by frame to match the video.


  1. this is a custom video player that uses vlc 32bit to run, you don't need vlc installed for this script to work.
  2. due to it being custom, the player is very basic and doesn't have all the features that's available for vlc
  3. when scrubbing the timeline too fast, the player might glitch or freeze, clicking the play/pause button should bring it back
  4. you can click on the player timestamp to toggle between frames or seconds

If the script wont launch and your getting "WindowsError: [Error 126]"

How to fix

  1. first make sure you have '' and the .dll files in this dir: 'SourceFilmmaker\game\workshop\scripts\sfm\vlc'
  2. if yes then you have two choices
  • add the full dir path of
    'SourceFilmmaker\game\workshop\scripts\sfm\vlc' to windows
    Environment Path Variable

  • install VLC 32 bit "" then add the vlc install dir to windows Environment Path Variable I.E "C:\Program Files (x86)\VideoLAN\VLC"

  1. restart steam and try if it works

How to Add VLC to the windows Environment Path Variable: link

Feel free to modify the script for your own use if you find any bugs or have suggestions message me in the comments below.


SFMLab is a free service. However, it costs about $0.03 to deliver you a 1GB file. With over 20TB of traffic every month and growing, SFMLab needs your help. If only 1% of our users each gave us $5 for a single month, we could keep the site running for several years.

Filename Downloads Created Filesize
Files   172 2022-01-08 04:20:47 51.6 MB
File contents:
Thumbnail image for KeyFrame VLC
Blender Asset Manager Introduction
The Blender 3.0 kicks of with a BAM! The Asset Manager is a hot new feature that allows for easy re-use of models.