Video Blog

Making an IDE Plugin for DrRacket

:: drracket, tutorial

By: Leif Andersen

I recently had several students ask me to show them how to make DrRacket plugins for their new language. It is easy to do, but I noticed that there aren any existing guides on how to do it. There is the plugin documentation, which is a good reference and has some good examples. Unfortunately, it lacks a good step by step tutorial on how to make new IDE plugins. This post is that tutorial.

DrRacket plugins fall into one of two main categories:

  1. Language-Specific Plugins
  2. Global Plugins

The former only enables the plugin when the user is editing a file in that plugin’s associated language. The latter, however, is for plugins that should always be enabled, such as DrRacket’s Vim Mode. This tutorial covers both plugin styles.

Video at RacketCon 2017

:: news

By: Leif Andersen

I recently gave a talk about Video at RacketCon 2017. The Video goes over the basics of the language’s API and gives some incites on the tower of DSLs Video runs on. If you haven’t watched the Video yet you can find it below.

Video v0.2 Beta

:: release

By: Leif Andersen

Today we are announcing the first stable beta for Video. To install it, you can first install Racket, and then run:

raco pkg install video-testing

Alternatively, within DrRacket, go to File -> Install Package, and type in video-testing.

Either way, make sure you installed video-testing, the video package points to the latest stable build of Video, which is v0.1.1 at the time of this release.

The documentation for this version can be viewed on the Racket documentation website. Unlike with the Alpha builds, the documentation has been updated to reflect the new version. As such:

Video v0.2-beta is now mature enough for programmers to reliably use it without segfaults.

The above sentence is significant because it means Video is now one of the most stable open source video production tools available.

Video v0.2 Alpha

:: release

By: Leif Andersen

Update2 A third alpha is released. This should be the last alpha build. The next release will be a beta. You can download the build here.

Update: A second alpha release has been created. This fixes some bugs preventing Video from working on Windows and Linux. Video has now been tested on all three platforms. You can download the build here.

This is an alpha version of Video v0.2. The main update here is dropping MLT as a dependency, and bundling FFmpeg for Windows and Mac builds. As such, Video can be used out of the box on now, without the need to hunt down the more obscure MLT library separately. Linux machines must still download the correct version of FFmpeg themselves. However, this is much easier to do.

Specifically, FFmpeg 3.2 is recommended, but the following specific library versions are also usable:

  • libavcodec v57
  • libavformat v57
  • libavutil v55
  • libswscale v4
  • libswresample v2
  • libavfilter v6

Again, these are included for the mac/windows builds, and are all part of an FFmpeg 3.x installation.

Some notes about why this is still alpha:

  • The video preview currently does not work. People needing access to this feature need to use v0.1.1.
  • Video has not been thoroughly tested

Once the first one has been addressed we can move to beta, and once both have been addressed we can move to rc.

You can download the release here.

Please report any issues you find on the bug tracker. (If you don’t have a github account you can also use this anonymous form.