video analysis2.0拆分,ffmpeg封装go接口库
zhangmeng
2023-12-26 18a05d269516a5e33d8460291c2f93e73d95adce
csrc/buz/recorder.cpp
@@ -70,7 +70,6 @@
                fclose(fp_);
                fp_ = NULL;
            }
        }
        int Recorder::init_write_h264(const bool audio){
@@ -323,10 +322,6 @@
            if (in->open(NULL, NULL) < 0){
                logIt("mux hevc open stream error");
                return -3;
            }
            if (!in->findStreamInfo(NULL)) {
                logIt("mux hevc can't find streams");
                return -4;
            }
            
            std::unique_ptr<FormatOut> out(new FormatOut(in_->getFPS(), "mp4"));