Video Frame Preview Without Pre-Processing Key Frames
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional video processing methods require pre-processing by adding more key frames to quickly preview and position video frames, which is time-consuming and inefficient.
Innovation Solution
A method and apparatus that determine a selected time point during video playback, identify a target key frame from a set based on predetermined conditions, decode the corresponding video frame, and display it in a target region, allowing users to preview frames without pre-processing, thereby improving flexibility and efficiency.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If more key frames are added to the video for quick preview and positioning, then the user can quickly locate video frames, but the video processing time and complexity increase
Solution Approach 1:
The system pre-calculates and stores the time correspondence between key frames and intermediate frames before user interaction. When a user seeks to a specific time point, the system has already prepared the mapping relationships, enabling immediate frame display without real-time computation overhead.
Solution Approach 2:
Instead of adding multiple redundant key frames to the video stream, the system creates a virtual copy of the key frame data structure that maps time points to decodable frames. This virtual mapping allows the system to simulate the effect of having many key frames without actually duplicating the video data.
2Measurement precision
If more key frames are added to enable quick preview, then frame positioning accuracy improves, but device complexity increases
Solution Approach 1:
The video is segmented into key frames and intermediate frames with established temporal relationships. The system divides the video processing task into two parts: storing key frames and calculating intermediate frame positions based on time ratios, simplifying the overall complexity while maintaining positioning accuracy.
Solution Approach 2:
The system changes the parameter representation from storing actual video frame data at every time point to storing time correspondence ratios. By parameterizing the relationship between key frames and intermediate frames through time ratios, the system achieves precise positioning without increasing data complexity.
3Productivity
If conventional video preprocessing is performed to add key frames, then user can preview video frames efficiently, but the preprocessing time is consumed
Solution Approach 1:
The system performs preliminary calculation of time correspondence relationships between key frames and intermediate frames during video initialization, but avoids the time-consuming operation of actually encoding additional key frames. This preliminary setup enables efficient preview without the heavy preprocessing cost of traditional methods.
Solution Approach 2:
The invention extracts only the essential temporal relationship data from the video structure, separating the time correspondence information from the actual video frame data. This extraction allows the system to achieve preview efficiency by working with lightweight time ratio parameters rather than heavy video frame data.
Data Source
AI summary
Disclosed in embodiments of the present disclosure are a method and an apparatus used for image display. A specific embodiment of the present method comprises: determining a selected time point of a user performing adjustment of playback progress of a target video, the target video comprising a key frame set; determining a target key frame in the key frame set, a difference between a time point corresponding to the target key frame and the selected time point meeting a first pre-determined condition; on the basis of the target key frame, performing decoding of a video frame corresponding to the selected time point, obtaining a decoded video frame; displaying the decoded video frame in a first target display region. The present embodiment increases flexibility of video frame display, and helps increase user positioning and video frame processing effectiveness.


