i have to create a video player that plays a video from a buffer. i am using vlc to stream a .avi video via RTP. I wrote a program that creates a socket and unpack the packets begining with the transport layer. The rtp payload i have to play it. how can i do this? i wrote that bytes in a file and play it in vlc. the image the sound are bad, but for the moment this is not a problem. I have to get a solution for the problem of playing the video from a buffer.