zhanglifan1022nice
Results
3
comments of
zhanglifan1022nice
很经典的flask多线程的原因,好像原因是flask多线程不会主动释放资源,就会导致gpu一直占用。如果改成单线程的话,会在下次调用之前,把上次的资源释放掉。
I wonder if it is because av.VideoFrame not include audio? Or video_stream = next(s for s in container.streams if s.type == 'video') not returning any audio?