There are a variety of ways to install ffmpeg, but the simplest way seems to be to install ffmpegX and then extract the binary from the application bundle. The easiest way I found to do this is to use the command-line utility, ffmpeg. The final step is to assemble those into a movie. frames directory, (controlled by the SnapshotLocation option in the config file). You can run with the new configuration by running ' ant run data/your_nfig'Īfter running with TakeSnapshots enabled, you'll have a set of images in the. Then run one more time with TakeSnapshots=true to save off the frame images. Play around with the other values, with TakeSnapshots set to false and re-run the visualisation until you get something you are satisfied with. The ColorAssignX= statements use regexp values to differentiate different types of checkin and colour code them accordingly. You can also change the other values, to alter the visualisation. First off, copy it to a new version for your particular project. You will need to configure codeswarm to save the frames for each stage of the visualisation. If you want to create a video of the visualisation, there are a few more hoops to jump through. This is useful for the next stages, as you don't have to fetch the information again. data directory (look for the latest realtime_sample.*.xml file). You'll find that repository information that was extracted is saved, under the. A bit of time passes as the checkin information is extracted from the repository, then the visualisation runs. With that fixed, I again ran ' ant run' and put in the relevant information. Along the way I found out the default OS X CLASSPATH definition is in /System/Library/Java/ist which may be useful as a starting point. I downloaded those, unpacked them and added the jar file to my CLASSPATH. From this I realised I needed to install the SSH libraries for Java, from Trilead. Everything fell over, with a Java error (NoClassDefFoundError within com/trilead/ssh2). If all is well, you should get a dialog box prompting you for the source repository, user name and password.Īt this point, I put in the svn+ssh URL for the Verilab repository that I wanted to visualize. Download the code_swarm source and install it. (I have version 1.7.0, which ships with OS X as default). You'll also need a recent version of Ant installed. If you are interested in doing something like this yourself:įirst you'll need to make sure you have a recent version of the Java Development Kit installed (JDK 1.5 or later). In this particular case I created the animation on OS X 10.5, using a combination of codeswarm, ffmpeg and LAME. The original visualization tools were developed by Michael Ogawa and the source code is available on Google code. It is an example of an ' organic information visualization' and is created using the Processing toolkit. You can see code being created, the check-ins as they happen and an indication of which users are doing the work at any given time. The image and linked video above shows the lifetime of one of Verilab's source repositories. A codeswarm is a visualization of the activity within a source code repository.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |