可以使用ffprobe打印视频帧信息 如下:
ffprobe -show_frames -select_streams v -show_entries frame=pict_type -i baifa.mp4