Skip to content

Instantly share code, notes, and snippets.

View amki's full-sized avatar

amki amki

  • Germany
View GitHub Profile
AVFormatContext *formatC = avformat_alloc_context();
AVDictionary* options = NULL;
av_dict_set(&options,"list_devices","true",0);
AVInputFormat *iformat = av_find_input_format("dshow");
avformat_open_input(&formatC,"video=dummy",iformat,&options);