I found a way. With ffprobe:
ffprobe -show_frames videofilename.mp4 > outputfile.txt
Then you just look for the pict_type entries, which will be either I, P, or B. B denotes a b-frame.
Я сейчас использую ffprobe, но не могу ли он показать, содержит ли видео b-кадры и какой может быть синтаксис. Могу ли я сделать это с помощью ffprobe и так, как, или есть какая-то другая бесплатная альтернатива, которая могла бы сделать это?
I found a way. With ffprobe:
ffprobe -show_frames videofilename.mp4 > outputfile.txt
Then you just look for the pict_type entries, which will be either I, P, or B. B denotes a b-frame.