From e8b8ef7607df031d090af5b3ec0d2853930bfe65 Mon Sep 17 00:00:00 2001 From: Nicolas Le Goff Date: Wed, 6 Jun 2012 11:12:17 +0200 Subject: [PATCH] add supportBframes function --- src/FFMpeg/Format/Video/Resamplable.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/FFMpeg/Format/Video/Resamplable.php b/src/FFMpeg/Format/Video/Resamplable.php index d27ff9c..0d4e2ff 100644 --- a/src/FFMpeg/Format/Video/Resamplable.php +++ b/src/FFMpeg/Format/Video/Resamplable.php @@ -30,9 +30,20 @@ interface Resamplable extends BaseVideo */ public function getFrameRate(); + /** + * Returns true if the current format supports B-Frames + * + * @see https://wikipedia.org/wiki/Video_compression_picture_types + * + * @return Boolean + */ + public function supportBFrames(); + /** * Returns the GOP size * + * @see https://wikipedia.org/wiki/Group_of_pictures + * * @return integer */ public function getGOPSize();