<div dir="ltr">Hi everyone,<div><br></div><div>I've been trying to stream MPEG-DASH videos using libdash and decode using ffmpeg.</div><div>I got the sample player from <a href="https://github.com/bitmovin/libdash/tree/master/libdash/qtsampleplayer">libdash</a> working. It can do playback but not seeking.</div><div><br></div><div>The sample uses a custom AVIOContext allocated by <a href="https://www.ffmpeg.org/doxygen/trunk/avio_8h.html#a853f5149136a27ffba3207d8520172a5">avio_alloc_context</a>, which takes in function pointers to custom read_packet and seek functions. </div><div>The <a href="https://github.com/bitmovin/libdash/blob/2aff091c1947e3dc6ade84bb1b03b8414ee4e442/libdash/qtsampleplayer/Decoder/LibavDecoder.cpp#L19">read_packet function</a> has been implemented but not the seek function.</div><div>I couldn't find any documentation regarding the seek function used by AVIOContext other than the function signature.</div><div>So I was wondering if there is documentation or sample code such as <a href="https://www.ffmpeg.org/doxygen/trunk/avio_reading_8c-example.html#a20">avio_reading.c</a> indicating how the custom seek function should be implemented?</div><div><br></div><div>Thank you so much for your time.</div><div><br></div><div>Best,</div><div>Sida Li</div></div>