R package to support the FlyMovieFormat video format originally developed by Andrew Straw and colleagues, initially at Caltech. Presently this provides functions to read and parse the intial header of a fmf file and then to read individual images frames and timestamp information. fmf files are frequently used as intermediates for analysis of fly behaviour.

Formats

There is support for both

  • FMF (simple raw format)
  • UFMF (compressed by background subtraction)

Quick Start

# install
if (!require("devtools")) install.packages("devtools") 
devtools::install_github("jefferis/fmfio")

# use
library(fmfio)