Video Seek Frame Buffer Reuse for GOP Decoding Efficiency
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing video playback systems inefficiently handle multiple seek requests, leading to increased resource consumption and decoding repetition, which can cause delays and inefficiencies.
Innovation Solution
An electronic device identifies a first frame based on a seek request, decodes frames from a reference frame to the first frame, stores decoded frames in buffers, and displays a decoded frame upon a subsequent seek request if it is already stored in the buffers, thereby optimizing resource usage and reducing redundant decoding.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If the electronic device performs decoding for every seek request, then the video content can be accurately accessed at any timing, but resource consumption increases and decoding repetition causes delays
Solution Approach 1:
The system performs preliminary decoding of frames from the reference frame to the target frame during the first seek request, stores these decoded frames in buffers, and then reuses these pre-decoded frames for subsequent seek requests within the same GOP, avoiding redundant decoding operations
Solution Approach 2:
The system creates a buffer to store decoded frames and copies these decoded frames to serve subsequent seek requests, rather than performing decoding operations again for each seek request
2Measurement precision
If the electronic device decodes frames sequentially from reference frame to target frame, then accurate frame retrieval is achieved, but playback efficiency decreases due to redundant decoding
Solution Approach 1:
The system performs the decoding operation in advance during the first seek request and stores the results in buffers, so that subsequent seek requests can retrieve frames directly from the buffer without re-decoding, thereby improving playback efficiency while maintaining frame retrieval accuracy
Solution Approach 2:
The system determines whether to reuse decoded frames by checking if the target frame is within the range of already decoded frames from the first seek request, creating a feedback mechanism that optimizes decoding operations based on previous operations
3Productivity
If the electronic device stores all decoded frames in buffers, then subsequent seek requests can reuse frames, but memory usage increases
Solution Approach 1:
The system stores decoded frames in buffers but only to the extent necessary for serving subsequent seek requests within the same GOP, rather than storing all possible decoded frames indefinitely, thereby balancing playback efficiency with memory usage
Data Source
AI summary
A method, performed by an electronic device, includes: identifying, based on a first seek request related to video content, a first frame associated with the first seek request, among a plurality of frames in a group of pictures (GOP) for the video content, performing decoding frames from a reference frame in the plurality of frames to the first frame, storing, in buffers of memory of the electronic device, at least one decoded frame, and based on a second seek request distinct from the first seek request and based on a determination that a decoded frame corresponding to a second frame associated with the second seek request is included in the at least one decoded frame stored in the buffers, displaying, through the display of the electronic device, the decoded frame corresponding to the second frame.


