Go to the documentation of this file.
34 int main (
int argc,
char **argv)
41 printf(
"usage: %s <input_file>\n"
42 "example program to demonstrate the use of the libavformat metadata API.\n"
#define AV_DICT_IGNORE_SUFFIX
Return first entry in a dictionary whose first part corresponds to the search key,...
void avformat_close_input(AVFormatContext **s)
Close an opened input AVFormatContext.
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.
AVDictionary * metadata
Metadata that applies to the whole file.
int avformat_open_input(AVFormatContext **ps, const char *url, const AVInputFormat *fmt, AVDictionary **options)
Open an input stream and read the header.
AVDictionaryEntry * av_dict_get(const AVDictionary *m, const char *key, const AVDictionaryEntry *prev, int flags)
Get a dictionary entry with matching key.
static AVFormatContext * fmt_ctx
int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options)
Read packets of a media file to get stream information.
printf("static const uint8_t my_array[100] = {\n")