Firstly I\'ll declare that I am just beginning with whole libav* and no experience with DirectX, so please go easy on me.
I have managed to create a rtsp stream using