I am using pyav
(python wrapper for libav
) to ingest an H264 video stream. Is there an option to disable B-frames?
I think the same question would apply to libav
and ffmpeg
.
The skip_frame
option of the codeccontext should be set with value bidir
or constant AVDISCARD_BIDIR
(if assigning directly) to skip bidirectional frames.