Video Frame Extraction via Local Caching for Smooth Previews
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional video frame extraction methods from video platforms are inefficient due to long access times through video links, leading to unsmooth extraction processes.
Innovation Solution
A method involving uploading videos to a local database, generating a local access link with identifiers, and extracting frames based on playback time using a local cache, thereby reducing access times and improving extraction efficiency.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Loss of time
If video frame extraction is performed by accessing video link from video platform server, then video frame can be extracted, but access time is relatively long and extraction process is unsmooth
Solution Approach 1:
The patent applies preliminary action by caching the video file locally in the browser before frame extraction is needed. The video is downloaded and stored in the browser's local storage during the upload process, so when frame extraction is required, the system can immediately access the locally cached video without needing to retrieve it from the remote server, thus eliminating access delays and improving extraction efficiency
Data Source
Figure 1~2
Figure 3~5
Figure 6~8
AI summary
A video frame extraction method, executed by a computer device. The method includes: uploading a video through an online access link, and locally caching the video to a local database (202); obtaining a local access link of the video according to the online access link, the local access link comprising a local video identifier for the video cached in the local database, and a local cache identifier (204); obtaining a video frame playback time of the video in response to a frame extraction request for the video, and triggering an access request instructing to access the local access link and carrying the video frame playback time (206); forwarding the access request to the local database in response to identifying the local cache identifier from the local access link that the access request instructs to access, to enable the local database to feed back, in response to the access request, the video locally cached and matched with the local video identifier (208); and obtaining the video locally cached and fed back by the local database, and extracting a video frame matching the video frame playback time from the video locally cached (210).