ffmpeg # avformat_find_stream_info
/**
* Read packets of a media file to get stream information. This
* is useful for file formats with no headers such as MPEG. This
* function also computes the real framerate in case of MPEG-2 repeat
* frame mode.
* The logical file position is not changed by this function;
* examined packets may be buffered for later processing.
*
* @param ic media file handle
* @param options If non-NULL, an ic.nb_streams long array of pointers to
* dictionaries, where i-th member contains options for
* codec corresponding to i-th stream.
* On return each dictionary will be filled with options that were not found.
* @return >=0 if OK, AVERROR_xxx on error
*
* @note this function isn't guaranteed to open all the codecs, so
* options being non-empty at return is a perfectly normal behavior.
*
* @todo Let the user decide somehow what information is needed so that
* we do not waste time getting stuff the user does not need.
*/
int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options);
avformat_find_stream_info是為了Read packets of a media file to get stream information.
也就是可以讀取一部分視音訊資料並且獲得一些相關的資訊。
References:
https://blog.csdn.net/leixiaohua1020/article/details/44084321
相關文章
- ffmpeg
- 安裝ffmpeg和crontab執行ffmpeg
- FFmpeg 使用
- FFmpeg學習之一(FFmpeg原始碼編譯)原始碼編譯
- 製作FFmpeg動態庫(make ffmpeg dynamic lib)
- FFmpeg command line tool(Android中使用FFmpeg命令列)Android命令列
- FFmpeg—專案匯入FFmpeg動態庫(二)
- ffmpeg載圖
- ffmpeg Advanced options
- ffmpeg Preset files
- FFmpeg Filtering IntroductionFilter
- ffmpeg Filtergraph descriptionFilter
- ffmpeg+srs
- ffmpeg與nginxNginx
- FFMPEG安裝
- FFMPEG基本操作
- ffmpeg錄屏
- FFmpeg使用(一)
- FFmpeg開發筆記(五):ffmpeg解碼的基本流程詳解(ffmpeg3新解碼api)筆記API
- 四、FFmpeg零基礎(1)-FFmpeg程式的使用(ffmpeg.exe, ffplay.exx, ffprobe.exe)
- FFmpeg系列(一)-Mac環境下使用NDK編譯FFmpegMac編譯
- ffmpeg安裝教程
- FFmpeg原理介紹
- ffmpeg特效處理特效
- ffmpeg Video and Audio grabbingIDE
- ffmpeg合併影片
- LVGL之FFmpeg使用
- ffmpeg基本結構
- rocky安裝ffmpeg
- ffmpeg框架結構框架
- ffmpeg——TS流解析
- ffmpeg入門到實戰-ffmpeg是怎麼轉碼的?
- FFmpeg開發筆記(三十五)Windows環境給FFmpeg整合libsrt筆記Windows
- FFmpeg開發筆記(八)Linux交叉編譯Android的FFmpeg庫筆記Linux編譯Android
- Android 基於ffmpeg開發簡易播放器 - ffmpeg解封裝Android播放器封裝
- ffmpeg graph2dot
- uos_mips_ffmpeg_kuxUX
- 在 Windows 上使用 FFmpegWindows