[Libav-user] got_picture_ptr of avcodec_decode_video2 always returns 0 for a particular MTS file
simondaniels23 at gmail.com
Wed Feb 8 23:59:31 CET 2012
Ah - I think I know what's going on. In my real code, I was actually
skipping over frames (intentionally). For some reason the frame that I
would actually scan would never be available so I had assumed that none of
them were available (my bad!).
Any idea why this video has so many frames that aren't available--return
"NOT got pic". I haven't seen that with other videos I'm tried.
On Tue, Feb 7, 2012 at 12:05 PM, Andrey Utkin <
andrey.krieger.utkin at gmail.com> wrote:
> Well, i tested it, and it does decodes for me.
> This is source file, which _really_ compiles and works
> And this is showdown of ffmpeg version (i used rev 08d2cee4 you
> mentioned), compile and run log.
> This clearly shows that getting full frame indeed happens regularly.
> So you had mistake of perception.
> Andrey Utkin
> Libav-user mailing list
> Libav-user at ffmpeg.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user