<div dir="ltr">Hi guys.<div><br></div><div>I have a weird error.</div><div><br></div><div>I want to open input file with avformat_open_input.</div><div>And I am getting the error "protocol not found"</div><div><br></div><div>Here is the code:</div><div><br></div><div><div>   pCodecCtx = NULL;</div><div>   pFormatCtx = NULL;</div><div>    avcodec_register_all();</div><div>    av_register_all();</div><div>    avformat_network_init();</div></div><div>    pFormatCtx = avformat_alloc_context();</div><div>    AVDictionary *d = NULL;</div><div>   av_dict_set(&d, "protocol_whitelist","file,udp,tcp,rtp,rtsp", 0);</div><div>    int ret = avformat_open_input(&pFormatCtx, in_f_name , NULL, &d);</div><div><br></div><div>Now,one important details is that the API is part of Chrome included FFMPEG.</div><div><br></div><div>Is that possible it is disabled in a build? Or I am missing something in terms</div><div>of the API usage?</div><div><br></div><div>Tnx</div><div><br></div><div><br></div><div><br></div><div><br></div></div>