FFMPEG 常用命令

打印视频帧类型

ffprobe -select_streams v -show_frames -show_entries frame=pict_type -of csv input
ffprobe -select_streams v -show_frames -show_entries frame=pict_type -of csv input | grep -n I

打印时间戳

查看视频dts

ffprobe -show_packets -select_streams v 1549465385_4706.ts | grep dts_time

查看视频pts

ffprobe -show_packets -select_streams v 1549465385_4706.ts | grep pts_time