'[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 views (last 30 days)
Show older comments
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 Comments
Answers (0)
See Also
Categories
Find more on MATLAB Support Package for Raspberry Pi Hardware in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!