Ronald S. Bultje wrote: > Hi, > > On Fri, Jan 23, 2009 at 6:33 AM, Mark Kenna > <[email protected]> wrote: > >> As per my previous post, I am refining the question to this: >> >> Is it possible to setup an AVFormatContext for use with streaming media >> (i.e. Not on a file) and if so, how? >> > > Of course. Just open the stream URI as per av_open_input_file/stream() > and use a URI instead of a filename (e.g. http://x.y.z/file.mp3 or > rtsp://server.com/stream.mp3). See ffplay also. > > Ronald > _______________________________________________ > libav-user mailing list > [email protected] > https://lists.mplayerhq.hu/mailman/listinfo/libav-user > Thanks for the reply, I would not be using FFMpeg to handle the network communications only the decoding, what I want ideally is to be able to pass a byte array to FFMpeg and have it decode the video. What I really need to know is how to setup AVFormatContext for this kind of use.
Thanks, Mark. _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
