필터 지우기
필터 지우기

How to store a string in video description or somewhere so that i can retrieve it?

조회 수: 1 (최근 30일)
I am trying to store a string while writing images to video using below code
data='This necessary string i need after converting to video'
outputVideo = VideoWriter('TestVideo.avi','Uncompressed AVI');%image format and compression
outputVideo.FrameRate = app.videoFrameRate;%Setting the frame rate
open(outputVideo)
TestImageFolder='FinalImages';
TestImagePath=dir([TestImageFolder '/*.tiff']);
numberOfTestImages=size(TestImagePath,1);
%Looping through all images and adding to video
for i = 1:numberOfTestImages
img = imread(['FinalImages\finalImage' num2str(i) '.tiff']);
writeVideo(outputVideo,uint8(img))
end
close(outputVideo)
I really want to store the data in the video or in the description or somewhere so that i can read it again, does anyone know a method for this?

답변 (0개)

카테고리

Help CenterFile Exchange에서 Audio and Video Data에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by