Skip to content

Setting global_header flag with 14.x? #1814

Closed Answered by daveisfera
daveisfera asked this question in 1. Help
Discussion options

You must be logged in to vote

Commenting here to follow up on what was in the PR:

from av.codec.context import Flags

video.codec_context.flags &= ~Flags.global_header
do_stuff()
video.codec_context.flags |= Flags.global_header

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by WyattBlue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant