<div dir="auto">Additionally, the input context i read the container data from is also based on a non seekable AVIO memory stream.</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">בתאריך יום ו׳, 8 בינו׳ 2021 ב-12:03 מאת Idan Freiberg <<a href="mailto:speidy@gmail.com">speidy@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0.8ex;border-right-width:1px;border-right-style:solid;padding-right:1ex;border-right-color:rgb(204,204,204)">Hi,<div><br></div><div dir="auto">I’m trying to use the Libavformat library in order to extract the plain h264 video stream from a audio video container format. I’ve used the remuxing.c example as a reference.</div><div dir="auto"><br></div><div dir="auto">I want to support partial writes to the output context holding the extracted h264 video stream. I’m using a custom memory based AVIO, without seek support (unseekable).</div><div dir="auto"><br></div><div dir="auto">When returning a smaller amount of bytes then passed to the AVIO write_frame() callback, I would expect from the write callback to be called again with the rest of the data I didn’t read. In practice I saw that I’m getting new data for the next write callback.</div><div dir="auto"><br></div><div dir="auto">I wondered if I must support seek() for achieving partial write()s from AVIO.</div><div dir="auto"><br></div><div dir="auto">Am I missing something?</div><div dir="auto">Any insight is appreciated.</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">Thanks </div><div dir="auto"><br></div>-- <br><div dir="ltr" data-smartmail="gmail_signature">Idan Freiberg
Mobile: +972-52-2925213</div>
</blockquote></div></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Idan Freiberg
Mobile: +972-52-2925213</div>