Bug#1004782: Upstream bug report
Hi,
This is related to the video decoder in caffe2/video/video_decoder.cc
using long-deprecated parts of the FFMPEG API that were finally dropped
in 5.0.
I filed a bug upstream [1] where I also gave a partial patch that takes
care of some of the changes. Someone upstream more knowledgeable about
the video decoder in Caffe2 should deal with replacing
avcodec_decode_video2 and friends with avcodec_receive_frame though (a
purely mechanical change there might be a bit harder).
Since the bug is present also in upstream's git HEAD, and is confined to
a single file, it should be quite easy to backport a fix as soon as one
appears upstream. I'll monitor upstream.
[1] https://github.com/pytorch/pytorch/issues/72254
-- Gard
Reply to: