问题
I've read the SO problem , and it seems not applying to my specific case.
Is it possible to fetch some key-frames of a video from web server by the HTTP Range header? For example, for a 30 seconds duration video, we'd like to analysis the I-frame around 00:00:02, 00:00:15, 00:00:28.
I need to analysis the videos from internal web server to detect if there's specific watermarks in it and some other analysis.
Since the first I-frame might be invalid sometimes(Logo for example), we were planning to extract the I-frame from the 00:00:02, the middle I-frame, and the last 2nd second I-frame.
For example, for a 30 seconds duration video, we'd like to analysis the I-frame around 00:00:02, 00:00:15, 00:00:28.
We could make it works while download the whole video, since most of the data we downloaded from the server are not being used. I was wondering if maybe we could only use the HTTP Range header to download partial data and analysis it?
来源:https://stackoverflow.com/questions/65209408/is-it-possible-to-fetch-some-key-frames-of-a-video-by-using-the-http-range-heade