AVFormatContext.url

input or output URL. Unlike the old filename field, this field has no length restriction.

- demuxing: set by avformat_open_input(), initialized to an empty string if url parameter was NULL in avformat_open_input(). - muxing: may be set by the caller before calling avformat_write_header() (or avformat_init_output() if that is called first) to a string which is freeable by av_free(). Set to an empty string if it was NULL in avformat_init_output().

Freed by libavformat in avformat_free_context().

struct AVFormatContext
char* url;

Meta