[FFmpeg-user] Revisit FFmpeg Frame Lost

Thilo Borgmann thilo.borgmann at googlemail.com
Sat Feb 16 11:12:43 CET 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 16.02.13 10:32, schrieb Nicolas George:
> L'octidi 28 pluvi￴se, an CCXXI, Thilo Borgmann a ←crit :
>> if (packet.stream_index == format_video_stream_idx) { 
>> avcodec_get_frame_defaults(&frame);
> 
> This is unrelated to the current discussion, but ...

I'm pretty sure I got that handling frames from our filter video example. BTT...

>> got_frame = 0;
> 
> I believe avcodec_decode_video2() is guaranteed to init this to 0.

It's basically just a hint to the loop not the optimized best solution that
humanity can think of...


- -Thilo

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.13 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJRH1ubAAoJEC1B5kuEo2KzsksH+wRustF7ddGD8oTyD4qRSrOc
GIEHNQyldy0+ZUzrJGqj5pXzdjFZDMZfSSpNiLro8bJhGmSdHH/fxveqgNE2ZRl5
xNjyE55bmNo19Bs0zZqlCuyMaUEY9YmsdeefDynAgTNpoDd5Ktllp8C7lkSHT+vR
wbeW7nYJqVubQKuoCbPlUz2BDIWzXNpOjtw8BsyCNAKlIdrzAs9qfoiWIuqQIA6M
YCMax/OI65hCpJzChxxxOACRmJb+b0/I5yoVsBPOtOuoYHMmdgCdPtHdEfYzC8Hb
CinybOrJ9EyVJc39lC+8FuISG/9Ld8zZ0XLfeMni5SSJCbJyu2a/T7k+eS31ZHA=
=/udq
-----END PGP SIGNATURE-----


More information about the ffmpeg-user mailing list