Tools for generating and playing video realtime

版本 1.3.0.0 (6.3 KB) 作者: Stefan Karlsson
Generation of video in matlab, with the means of playing it realtime in a separte thread via VLC
535.0 次下载
更新时间 2012/3/26

查看许可证

This is done with perceptual studies especially in mind.

For example output:
http://islab.hh.se/mediawiki/index.php/Stefan_Karlsson/PersonalPage

The function generateMotionStimulus shows the principle of making proper motion based stimulus without bias stemming from the discrete nature of the pixels. An example of making a moving disk INACCURATELY is provided by rendering 'aliasedDisk', and is contrasted with the proper way. Gabor patches type of stimulus in motion can be generated, to illustrate the usefullness of this script.

script playVid only works in windows. It shows how to call the VLC player using command line arguments from matlab, in a new thread with realtime priority. It is used to display the generated videos.

script runMe provides a demo.

引用格式

Stefan Karlsson (2024). Tools for generating and playing video realtime (https://www.mathworks.com/matlabcentral/fileexchange/35823-tools-for-generating-and-playing-video-realtime), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2010b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Audio and Video Data 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.3.0.0

Added link to example output in description: http://islab.hh.se/mediawiki/index.php/Stefan_Karlsson/PersonalPage

1.2.0.0

No longer using the matlab function getFrame (crashes when resizing and introduces artefacts).

Better threshold for the anti-aliasing.

"threePatterns" now have non-uniform motion and time-varying fuzziness.

1.0.0.0