'[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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 MATLAB Support Package for Raspberry Pi Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!