![]() It allows us to scale time in videos, add a logo overlay onto videos, add our own audio stream from file and many many other features. You can view a full list of available parameters and other helpful examples in the gource repo description. In the previous command we used various parameters to make the video exactly as we wanted it. The resulting video is 47 seconds long and 950.5MB in size. How can I create a graph like this for my Git repository This is how Tower shows it. The size is too small and won't show all the branch relationships like in the Git Flow chart. The rendering process in that case took 10 minutes. But I can't generate a good-looking log in tree graph. git stash pop - unpack your changes from stash. git checkout feature2 - switch to another branch. git stash - stash your changes so we can switch branches. In the example below, I’ve supposed we’re creating a visualization of a repository for a simple, one day project with some support lasting 1 month. git reset HEAD -soft - take yourself back to the previous commit and keep your changes. The process of rendering is long and slow (1920×1080 and 60fps). Running that command, your video file will be created only in repo, don’t forget to move the video file from repo or use the absolute path for the output file name instead of “gource.mp4”. 1920×1080 -o – | ffmpeg -y -r 60 -f image2pipe -vcodec ppm -i – -vcodec libx264 -preset ultrafast -pix_fmt yuv420p -crf 1 -threads 0 -bf 0 gource.mp4 ![]() Now you can run gource with a parameter that allows you to save the visualization as a video file: You’ll see the current version of ffmpeg. If you want to save the visualization as a video, you need to install the ffmpeg library: You’ll see a visualization of all file changes in the current git branch. Now go to the git repository root dir and just run: If you have any problems during installation, just update and upgrade you brew: Creating such video visualizations on mac OS, is really very simple, let me talk you through it: There are also representations of the different programmers contributing to the project over time. ![]() Have you seen the gource video visualizations of git repositories? Gource lets you create beautiful animated tree visualizations of git repos, with the root directory at the centre, other directories as branches and files as leaves.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |