<div dir="ltr">Hi,<div><br></div><div>For a streaming application  I would  use data chunk from a buffer using custom I/O. My understanding is that while opening the file with avformat_open_input(), stream is split in packets. However data chunk might not be complete packet. I'm looking for a way to manage remaining data of incomplete packet to ensure continuity of the stream. Is there something related to this in <span style="background-color:rgb(249,250,252);color:rgb(0,0,0);font-family:Roboto,sans-serif;line-height:19px">AVFormatContext or </span><span style="background-color:rgb(249,250,252);color:rgb(0,0,0);font-family:Roboto,sans-serif;line-height:19px">AVIOContext</span><span style="background-color:rgb(249,250,252);color:rgb(0,0,0);font-family:Roboto,sans-serif;line-height:19px">. Maybe </span><span style="background-color:rgb(249,250,252);color:rgb(0,0,0);font-family:Roboto,sans-serif;line-height:19px">AVIOContext::</span><a class="" href="http://www.ffmpeg.org/doxygen/2.2/structAVIOContext.html#a3500915a7434270c42dffc80fafffa2d" style="color:rgb(70,101,162);font-family:Roboto,sans-serif;line-height:19px">buf_ptr</a>?<span style="background-color:rgb(249,250,252);color:rgb(0,0,0);font-family:Roboto,sans-serif;line-height:19px"> </span></div><div><span style="background-color:rgb(249,250,252);color:rgb(0,0,0);font-family:Roboto,sans-serif;line-height:19px"><br></span></div><div><span style="background-color:rgb(249,250,252);color:rgb(0,0,0);font-family:Roboto,sans-serif;line-height:19px">Thanx</span></div></div>