<div dir="ltr"><div><div><div>Carl,<br>sorry to butt in, but you mentioned earlier:<br><br>"I was under the impression that lavf/lavc support recovery<br>
points very well (even in slightly broken streams), ie<br>
that you (as a user) can choose if you only want to seek to<br>
a recovery point (slower, done by ffplay) or to some frame<br>
no matter if it is a recovery point or not (faster, this<br>
is what MPlayer does)."<br><br><br></div>Just out interest how does one force seeking only to recovery points in lavf/lavc programmatically ? I have never been able to achieve this, in fact I have had to implement my own demuxers just for this purpose.<br>
<br></div>Regards,<br></div>Salsaman.<br><div><div> <br><div><br><br></div></div></div></div><div class="gmail_extra"><br clear="all"><div><br><a href="http://lives.sourceforge.net">http://lives.sourceforge.net</a><br><a href="https://www.ohloh.net/accounts/salsaman">https://www.ohloh.net/accounts/salsaman</a><br>
</div>
<br><br><div class="gmail_quote">On Tue, Oct 22, 2013 at 10:36 AM, Robert Krüger <span dir="ltr"><<a href="mailto:krueger@lesspain.de" target="_blank">krueger@lesspain.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Tue, Oct 22, 2013 at 3:06 PM, Carl Eugen Hoyos <<a href="mailto:cehoyos@ag.or.at">cehoyos@ag.or.at</a>> wrote:<br>
> Robert Krüger <krueger@...> writes:<br>
><br>
>> >> > Afaict, the 27th frame is not shown, ffmpeg "thinks"<br>
>> >> > that it is no random access point.<br>
>> >><br>
>> >> What do you mean by "not shown"?<br>
>> ><br>
>> > It is not decoded unless flags2 showall is used because<br>
>> > FFmpeg thinks the 27th frame is not a random access<br>
>> > point.<br>
><br>
>> You are probably talking about an ffmpeg command line you<br>
>> used for testing. I am only guessing you made ffmpeg seek<br>
>> or something like that?<br>
><br>
> No.<br>
> Which command does decode the 27th frame for you?<br>
> It is not decoded here unless I use -flags2 showall.<br>
<br>
</div>I have an application built on libavformat/libavcodec that<br>
demuxes/decodes the frame fine. I am not using ffmpeg to test because<br>
there is so much more stuff going on like rate control that just<br>
decoding the sequence of pictures appears to be the easiest way to<br>
check if the stream can be decoded from that frame without any other<br>
thing interfering. I tested the command line and it indeed seems to<br>
duplicate the second frame of the truncated file. Anyway, let me know<br>
what is supposed to happen with this issue.<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<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>
</div></div></blockquote></div><br></div>