<div dir="ltr">I'd like to get rid of calling <span style="color:rgb(37,53,85);font-family:Roboto,sans-serif;font-size:14px;font-weight:bold;line-height:22px;background-color:rgb(226,232,242)">avformat_find_stream_info</span> (it's slow)<div>I have a specific source of stream so I know exactly the codec, resolution, frame rate, etc of the stream</div><div><br></div><div>How can I pre populate AVContext with all needed information so I don't have to call avformat_find_stream_info?</div><div><br></div><div>Thanks</div><div>Chen</div></div>