You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
采用以下代码进行硬解码,出现了前面4帧左右都是空的问题,一般4帧之后就没有问题了,ffmpeg版本:7.1.0;av版本:13.1.0
video = av.open(VIDEO_FILE_PATH)
#target_stream = video.streams.video[0]
#target_stream = next(s for s in video.streams if s.type == 'video')
target_stream = next((stream for stream in video.streams.video), None)
Activity