#include <MusicCodecInfoFFmpeg.h>
◆ GetMusicCodecInfo() [1/2]
| bool CMusicCodecInfoFFmpeg::GetMusicCodecInfo |
( |
AVFormatContext * | fctx, |
|
|
musicCodecInfo & | codec_info ) |
|
static |
Fill codec_info from a context the caller already opened.
- Parameters
-
| fctx | A context on which avformat_find_stream_info() has been called. |
| codec_info | Filled from the default audio stream, or the first one. |
- Returns
- Whether an audio stream was found.
◆ GetMusicCodecInfo() [2/2]
| bool CMusicCodecInfoFFmpeg::GetMusicCodecInfo |
( |
const std::string & | strFileName, |
|
|
musicCodecInfo & | codec_info ) |
|
static |
Convenience overload for a caller with no context of its own; opens the file itself.
The documentation for this class was generated from the following files: