[FFmpeg-devel] matroska file hits eof on any seek
Michael Niedermayer
michaelni at gmx.at
Fri Feb 17 20:46:18 CET 2012
On Fri, Feb 17, 2012 at 06:37:33PM +0100, Reimar Döffinger wrote:
> On Fri, Feb 17, 2012 at 04:45:30AM -0500, Don Moir wrote:
> > The only recovery is to shut the file down and reopen it.
>
> I forgot to say: almost certainly not.
> Seeking with AVSEEK_FLAG_ANY should work just fine.
> It might make sense to use that automatically for H.264 with
> sei_recovery_frame_cnt >= 0 (there seems no easy way to
> get this info out of FFmpeg. Well, except by inducing it
> from key_frame == 1 and frame_type != I I guess).
It should be quite easy to export sei_recovery_frame_cnt or something
like that by using codec specific options.
that is, patch welcome. (i could do it too but you have a usecase and
testcase for it ...)
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
During times of universal deceit, telling the truth becomes a
revolutionary act. -- George Orwell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120217/917d5eb0/attachment.asc>
More information about the ffmpeg-devel
mailing list