This is an old revision of the document!


On a DVD, because you're not opening a file, you would tell the demuxer what you're going to send it in the stream – video size, pixel format, and maybe more. See av_dict_set() for setting attributes in an AVDictionary struct.

avformat_open_input() will scan the input until it finds out what it is.