<div dir="ltr"><div class="gmail_default" style="font-size:large">You can't really seek with get_bits, there is one seeking function, but it's in AVStream I believe? it's been a few months since I've looked at the specifics.</div><div class="gmail_default" style="font-size:large"><br></div><div class="gmail_default" style="font-size:large">but the most important part is that that function was for seeking to the next frame, not seeking back x bits which is necessary for verifying CRCs because the header size isn't constant, and is itself embedded within the header</div><div class="gmail_default" style="font-size:large"><br></div><div class="gmail_default" style="font-size:large"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jan 25, 2015 at 4:57 AM, Lucas Soltic <span dir="ltr"><<a href="mailto:lucas.soltic@orange.fr" target="_blank">lucas.soltic@orange.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><br><div><blockquote type="cite"><div>Le 25 janv. 2015 à 04:43, Marcus Johnson <<a href="mailto:bumblebritches57@gmail.com" target="_blank">bumblebritches57@gmail.com</a>> a écrit :</div><br><div><span class=""><div dir="ltr"><div class="gmail_default" style="font-size:large">I'm new and don't know too much about the API, but honestly seeking is the biggest issue I think we can all agree upon, I can't implement certain features because we just can't seek properly</div><div class="gmail_default" style="font-size:large"><br></div><div class="gmail_default" style="font-size:large">I'm not sure how we could rectify this but there has to be something that could be done.</div></div></span><span class="">
_______________________________________________<br>Libav-user mailing list<br><a href="mailto:Libav-user@ffmpeg.org" target="_blank">Libav-user@ffmpeg.org</a><br><a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br></span></div></blockquote></div><br><div>I suppose this is not too off-topic and could help at designing the high level API: what exactly is currently wrong with seeking in FFmpeg? Are there use cases that just don't work? I'm asking because I got it working for a personal project and for all the file formats I've tested it works just fine. I admit it was a bit tricky to implement though, but after understanding how the demuxer and streams work (I mean in general, not FFmpeg specific) it just makes sense.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Lucas</div></font></span></div><br>_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
<br></blockquote></div><br></div>