2,543
社区成员
发帖
与我相关
我的任务
分享
av_register_all();
err = av_open_input_file(&fctx, "s", NULL, 0, NULL);
if (err < 0) {
fprintf(stderr, "av_open_input_file: error %d\n", err);
return 1;
}
err = av_find_stream_info(fctx);
if (err < 0) {
fprintf(stderr, "av_find_stream_info: error %d\n", err);
return 1;
}
dump_format(fctx, 0, "s", 0);