'[mp4 @ 0000021f539be780] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly."

17 次查看(过去 30 天)
I have run this given code below and found the error written in title in command prompt
ffmpegDir = 'C:\ffmpeg'
cmd = ['"' fullfile(ffmpegDir, 'bin', 'ffmpeg.exe') '" -r 60 -i vid60fps640x480.h264 -vcodec copy vid60fps640x480.mp4 &'];
[status, message] = system(cmd)
vid = VideoReader('vid60fps640x480.mp4')
for k = 1:vid.NumFrames
image(read(vid, k));
drawnow;
end
Can anyone help me about this?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB Support Package for Raspberry Pi Hardware 的更多信息

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by