[FFmpeg-user] how to detect Key frame when input_format is h264

Robert Krüger krueger at lesspain.de
Fri Mar 22 12:37:05 CET 2013


On Fri, Mar 22, 2013 at 11:45 AM, Soho Soho123 <soho123.2012 at gmail.com> wrote:
> Hi all,
>
> does anyone have idea about:
> how to detect Key frame when ffmpeg get video data from usb web cam?
>
> because it seems ffmpeg does not set AV_PKT_FLAG_KEY into pkt->flags
> then stream copy will get nothing output.

if you have a reproducible case and a sample, please file a bug report
in the bug tracker. This is possible, I think I have also observed
this behaviour for some samples and I am probably going to file a bug
report as well.

http://ffmpeg.org/bugreports.html


More information about the ffmpeg-user mailing list