[Libav-user] h264 illegal short term buffer state detected

wm4 nfxjfg at googlemail.com
Thu Mar 27 15:55:10 CET 2014


On Thu, 27 Mar 2014 11:49:24 -0300
Gonzalo Garramuno <ggarra13 at gmail.com> wrote:

> After upgrading to 2.1, I am getting in my player for a h264 movie.
> 
> "illegal short term buffer state detected"
> 
> whenever I stop the playback and resume it immediately.  When I stop the 
> playback I flush all caches.
> 
> I am wondering if someone can explain what might be causing it.
> ffplay seems fine, thou, so it is something I am probably doing wrong.

If by flushing the caches you mean dropping packet data and/or
flushing the decoder just for pausing, you can't do that.

Either you don't drop/flush anything, or you have to issue a seek to
resume playback properly.


More information about the Libav-user mailing list