Updated 10 Feb 2016
To play a video, where you select the file with a pop-up dialog:
drag and scrol. Drag seekbar, scroll in video view to zoom, and drag video view to pan.
Q/A - increase/decrease speed of playback
P/space - toggle pause
Arrow Keys (L/R) - move one frame (forward/backward)
To interactively choose a specific frame to load:
[fr, macroDat, im] = FancyFlowPlayer;
"im" is the last image viewed, "fr" is scalar, frame number when quitting, "macroDat" is a structure of information about the video.
The Player can visualize motion data saved with the FlowToolbox:
this displays further information on the saved motion. Example:
FancyFlowPlayer('Test'); % assumes a save folder "Test" in current directory
Stefan Karlsson (2023). FancyFlowPlayer (https://www.mathworks.com/matlabcentral/fileexchange/53600-fancyflowplayer), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired by: Tutorial and Toolbox on real-time optical flow
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
- Interest markers can now be added to the video to keep track of positions. This is possible for both video and flow visualization.
implemented a kind of adaptive frame delay, to better maintain target framerate, and reduce choppiness in playback
bugfix: properly display video at given frame rate
bugfix: correctly display location of played video in title bar
added Screen shot