<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                [TOC] ## 解決 ffmpeg 在avformat\_find\_stream\_info執行時間太長 **用ffmpeg做demux,網上很多參考文章。對于網絡流,avformt\_find\_stream\_info()函數默認需要花費較長的時間進行流格式探測,** **那么,如何減少探測時間內?可以通過設置AVFotmatContext的probesize和max\_analyze\_duration屬性進行調節:(如果設置探測時間過短會導致在探測某些cdn來的流的時候探測不到音頻流)** ``` if (avformat_open_input(&(handle->pFormatContext), "", handle->pInputFormat, NULL) < 0) { av_free(handle->inputBuffer); *errorCode = -4; return FALSE; } (handle->fpState)(handle, 51); AVDictionary* pOptions = NULL; handle->pFormatContext->probesize = 100 *1024; handle->pFormatContext->max_analyze_duration = 5 * AV_TIME_BASE; if (avformat_find_stream_info(handle->pFormatContext, &pOptions) < 0) { ......... return FALSE; } ``` 備注:**如果設置探測時間過短會導致在探測某些cdn來的流的時候探測不到音頻流!**
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看