Skip to content

Instantly share code, notes, and snippets.

@amki amki/gist:3210277
Created Jul 30, 2012

Embed
What would you like to do?
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);
@rdp

This comment has been minimized.

Copy link

rdp commented Nov 13, 2012

does av_find_input_format("dshow"); work for you?

@J0hmy

This comment has been minimized.

Copy link

J0hmy commented Jul 18, 2017

av_register_all();
avdevice_register_all();

@rdp

This comment has been minimized.

Copy link

rdp commented Aug 23, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.