Home > other >  Ffmpeg how to implement multithreaded decoding
Ffmpeg how to implement multithreaded decoding

Time:11-10

In hd H265 do with ffmpeg player, and a lot of the time will be decoded not in time, can only do frame processing,
Want to improve the decoding performance multi-threaded, check the information on the net, just said to realize update_thread_context Codec and thread-safe get_buffer () (), the specific code didn't find
Who can help explain the or any reference code?
Multithreading, avcodec_decode_video2 not blocked it, how to receive the decoding frame? ;
  • Related