Hi people.
I built WebRTC repo with CHROME ffmpeg.
Here are my args:
--args="ffmpeg_branding=\"Chrome\" rtc_initialize_ffmpeg=true rtc_use_h264=true proprietary_codecs=true is_debug=true target_cpu=\"x64\" symbol_level=2 use_rtti=true msvc_use_absolute_paths=true is_win_fastlink=true enable_nacl=false disable_libfuzzer=true"
Now,the thing is that I am trying to use avformat_open_input and it always gives me "Protocol not found" error:
Here is the code
avcodec_register_all();
av_register_all();
avformat_network_init();
AVDictionary *d = NULL;
av_dict_set(&d, "protocol_whitelist","file,udp,tcp,rtp,rtsp", 0);
int ret = avformat_open_input(&pFormatCtx, in_f_name , NULL, &d);
So do init all the codecs and formats correctly. I also tried to leave only one of those prtocols in the
dictionary- same issue. All those protocols are supported by ffmpeg.
Do I miss some build arg to enable this stuff ?
Thanks.