ffmpeg import plugin
Posted by William Day-3 on Jul 23, 2009; 2:16pm
URL: http://imagej.273.s1.nabble.com/ffmpeg-import-plugin-tp3691676.html
Hello All,
I have been using an effective but awkward combination of ffmpeg and
named pipes to import compressed video into ImageJ on gnu/linux
mkfifo /tmp/video.raw
ffmpeg -i video.avi -f rawvideo -pix_fmt gray - > /tmp/video.raw < /dev/null &
then using the ImageJ command 'import raw' to read the 8-bit gray data
from the named pipe.
This whole process is much faster than converting the compressed avi
to raw and then importing the converted files. It seems like this
would be something quite easy to wrap up into a plugin. I was unable
to find an existing plugin which does this, so I thought I would ask
how difficult it would be to write this plugin and where to start - is
there a plugin I could simply modify and recompile?
William