ffmpeg 文档中这样描述 

got_picture_ptr Zero if no frame could be decompressed, otherwise, it is nonzero.

 

ask :

(ffmpeg avcodec_decode_video) what does the value got_picture_ptr mean ,

i found it is a random num after function avcodec_decode_video() 
 
 
answer;

for almost codecs: 

*got_picture_ptr  = sizeof(AVFrame); 

It is just a flag to notice a frame ready! 

 

相关文章:

  • 2021-12-10
  • 2021-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-03
  • 2021-12-19
  • 2021-05-18
  • 2022-01-02
猜你喜欢
  • 2022-12-23
  • 2021-06-17
  • 2021-07-04
  • 2021-09-21
  • 2021-07-30
  • 2021-09-17
  • 2022-01-28
相关资源
相似解决方案