Recommendation for Syncing Long Movies to Electrophysiology Rig February 21, 2024 01:19PM |
Registered: 2 months ago Posts: 2 |
hotkey('x', 'escape_screen(); assignin(''caller'',''continue_'',false);'); % Path to the video file videoFile = 'test_vid.mp4'; % Create a VideoReader object to read video properties v = VideoReader(videoFile); mov = MovieGraphic(null_); mov.List = {videoFile, [0 0] }; % movie filename mov.info.FrameByFrame = 1; tc = TimeCounter(mov); tc.Duration = v.Duration * 1000 + 10000; %Length of the video plus 10 additional seconds (screen turns gray after video ends) scene = create_scene(tc); run_scene(scene); idle(0); % clear the screen
function [C,timingfile,userdefined_trialholder] = MovieTask_userloop(MLConfig,TrialRecord) timingfile = 'MovieTask.m'; userdefined_trialholder = ''; C = [];
Re: Recommendation for Syncing Long Movies to Electrophysiology Rig February 22, 2024 12:46PM |
Admin Registered: 5 years ago Posts: 875 |
Re: Recommendation for Syncing Long Movies to Electrophysiology Rig February 23, 2024 03:50PM |
Registered: 2 months ago Posts: 2 |
Re: Recommendation for Syncing Long Movies to Electrophysiology Rig February 23, 2024 06:19PM |
Admin Registered: 5 years ago Posts: 875 |
The National Institute of Mental Health (NIMH) is part of the National Institutes of Health (NIH), a component of the U.S. Department of Health and Human Services.