Skip to content

How to pass protocol whitelist argument #1126

Discussion options

You must be logged in to vote
import av

options = {
    'protocol_whitelist': 'file,http,https,tcp,udp',  # Add your desired protocols here
}

input_file = 'input.mp4'
container = av.open(input_file, options=options)

Replies: 1 comment

Comment options

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