Go to the documentation of this file.
35 int main (
int argc,
char **argv)
42 printf(
"usage: %s <input_file>\n"
43 "example program to demonstrate the use of the libavformat metadata API.\n"
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.
int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options)
Read packets of a media file to get stream information.
static AVFormatContext * fmt_ctx
printf("static const uint8_t my_array[100] = {\n")
const AVDictionaryEntry * av_dict_iterate(const AVDictionary *m, const AVDictionaryEntry *prev)
Iterate over a dictionary.