Skip to content

Abusing git to track changes frame by frame and play it back checkout by checkout

Notifications You must be signed in to change notification settings

hazkaz/git-video-player

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Git powered video player

Imagine...if all you had to do to watch a movie was clone a repo.

  • Checkout to release to see the final version of the movie.
  • Checkout to develop to see the director's cut :P
  • Watch a movie Bandersnatch style by checking out to different trees in the history
  • Watch bloopers in bugfix/reverted-some-changes

Well all that hasn't happened yet, what you see here is just the first step

Starting with the first frame of the movie, each new frame is a commit in the repository.

This is the end result of git checkout-ing very fast through all the frames

👀

Try it out yourself

# commit frame by frame
python3 git-it.py birb.mp4

# checkout and play frame by frame
python3 play-commits.py

pre-requisites

  1. ffmpeg
  2. git

About

Abusing git to track changes frame by frame and play it back checkout by checkout

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages