Hmm, one option would be using the pipe protocol, then using "pipe:" where you would normally put the filename in your call to av_open_input_file, then have somebody (e.g. netcat) pipe the stream to your ffmpeg. HTH, Karl.