Source Filmmaker

Source Filmmaker

170 ratings
KeyFrame VLC
2
4
2
   
Award
Favorite
Favorited
Unfavorite
Universe: Original IP
Script
Tags: SFM
File Size
Posted
Updated
416.650 KB
5 Jan, 2022 @ 11:12am
2 Sep, 2023 @ 7:58pm
4 Change Notes ( view )

Subscribe to download
KeyFrame VLC

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

Features
  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



Important setup steps!
  1. download this zip file: https://www.dropbox.com/s/zt3mlucax9bp9zo/vlc.zip?dl=1
  2. extract the folder 'vlc' to "SourceFilmmaker\game\workshop\scripts\sfm" and thats it.
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.


Notes
  1. this is a custom video player that uses vlc 32bit to run, you shouldn'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



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

Includes:
sfm\mainmenu\Keyframe\KeyFrame VLC\keyframevlc.py
sfm\vlc\vlc.py
Popular Discussions View All (3)
13
17 Jun @ 10:38am
PINNED: Bugs and other Issues
OMG Theres A Bear In My Oatmeal!
10
11 May @ 7:59am
PINNED: If the script wont launch and your getting "WindowsError: [Error 126]"
OMG Theres A Bear In My Oatmeal!
3
28 May, 2022 @ 6:13pm
PINNED: Suggestions or Ideas
OMG Theres A Bear In My Oatmeal!
63 Comments
megatrontoiletdestroyer2000 15 Jun @ 9:04am 
update: i used sfmlab and it worked, but the video player does not show the video and rather just the audio
OceFist 26 Apr @ 9:09pm 
why is the video appear as glicthy when trying to play in-sync? i downloaded the SFMlab version btw cuz steam version didnt work
Mits 26 Jul, 2024 @ 6:18pm 
@RessyKid scripts > keyframe > keyframe vlc and it'll open a small window (give it a moment). Then another window should open and it'll say File in the top left
ressy.exe 24 Apr, 2024 @ 11:40pm 
you say "open a video in the player" WHAT PLAYER
Flaxen 19 Apr, 2024 @ 1:53am 
it suddenly just wants to crash the second I put a video in
c a t ✅ 7 Oct, 2023 @ 1:00am 
I know that S2FM isn't as popular but could you port this script into S2FM?
El Nokotan Fumon 1 May, 2023 @ 4:34am 
wait no I would like to retract my statements I was indeed the dumbass I figured it out amazing little tool you've made here 10/10 and 5 stars
El Nokotan Fumon 1 May, 2023 @ 4:22am 
where even is the python file? it doesn't seem to exist anywhere on my computer or the .zip file before extraction
El Nokotan Fumon 1 May, 2023 @ 4:19am 
idk if you still support this addon but as far as I can tell the .py script doesn't even exist in zip folder anymore. I did a full folder and subfolder search on my computer and nothing showed up
gabriel 25 Mar, 2023 @ 2:48pm 
Holy shit, that's a masterpiece oh god