Show metadata from an input file.
#include <stdio.h>
int main (
int argc,
char **argv)
{
if (argc != 2) {
printf(
"usage: %s <input_file>\n"
"example program to demonstrate the use of the libavformat metadata API.\n"
"\n", argv[0]);
return 1;
}
}
return 0;
}
int avformat_open_input(AVFormatContext **ps, const char *url, const AVInputFormat *fmt, AVDictionary **options)
Open an input stream and read the header.