4

我想从 BMP 格式的视频中提取所有关键帧以进行进一步处理。我设法调查了这个命令:

ffmpeg -skip_frame nokey -i videofile.mp4 -vf select='eq(pict_type\,I),setpts=N/(25*TB)' -q 1  ./%09d.bmp

它适用于所有视频文件,但 MP4 和 MKV 文件除外。而不是它从 MP4 文件中提取所有帧,另外我收到了很多错误消息:

[h264 @ 0x90d80a0] concealing 1200 DC, 1200 AC, 1200 MV errors in P frame
[h264 @ 0x90c4ce0] concealing 1200 DC, 1200 AC, 1200 MV errors in B frame
[h264 @ 0x90d80a0] concealing 1200 DC, 1200 AC, 1200 MV errors in B frame
[h264 @ 0x90d7500] Cannot use next picture in error concealment
[h264 @ 0x90d7500] concealing 1200 DC, 1200 AC, 1200 MV errors in P frame

我该怎么做才能使它也适用于 MP4 文件,或者我应该使用什么其他实用程序/方法(mencoder / vlc)来实现我的目标?

4

0 回答 0