简体   繁体   中英

pyav / Libav / ffmpeg disable B frames

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM