Use 'VideoWriter' function to create an AVI file to play
2 ビュー (過去 30 日間)
古いコメントを表示
Hello guys,
Here is my idea, i am try to record a video through camera,
set(obj, 'LoggingMode', 'disk&memory') % log acquired data to disk&memory
writerObj = VideoWriter('newfile','Motion JPEG AVI'); %Construct a VideoWriter object
obj.DiskLogger = writerObj; % Configure the video input object to use the VideoWriter object.
start(obj)
save writerobj
now i v got a file 'writerobj', its in AVI format but why cant i play it? (I v check on 'obj' the video object, it tells me that its disklogger is 1 by 1 unknown array)
I am doing a project and then ready to graduate this quarter.
1 件のコメント
Walter Roberson
2013 年 2 月 9 日
Isn't this really a continuation of http://www.mathworks.co.uk/matlabcentral/answers/62803-how-may-i-get-data-from-writerobj ?
採用された回答
Walter Roberson
2013 年 2 月 9 日
編集済み: Walter Roberson
2013 年 2 月 9 日
That form of save creates .mat files
0 件のコメント
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!