video analysis2.0拆分,ffmpeg封装go接口库
zhangmeng
2022-07-21 f346559ee07016172cab40b7fca5b2c5e09df899
csrc/wrapper.cpp
@@ -211,7 +211,10 @@
        string url = input_url_;
        while(!stop_stream_.load()){
            if (gb_){
                url = input_url_ + gb_suffix[gs_idx];
                if (input_url_.find("/StreamType=") == string::npos)
                    url = input_url_ + gb_suffix[gs_idx];
                logIt("======>>input real url %s\n", url.c_str());
            }
            auto in = init_reader(url.c_str());