IP Library Granted Patent US 12666110
Granted Patent B2
US 12666110 · App. 18/135,728 · Granted Jun 23, 2026

Media playback method for improving playback response time and related media playback device

Inventors: Chun-Yi Chen (HsinChu, TW); Ching-Yao Yang (HsinChu, TW)
Assignee: Realtek Semiconductor Corp.
H04N21/47217H04N7/013H04N19/159
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12666110
App. No.
18/135,728
Granted
Jun 23, 2026
Kind
B2
Abstract

A method for performing media playback on a media playback device, including: receiving a data stream to buffer the data stream in a buffer unit or to record the data stream in a storage unit; performing a parsing operation on the buffered data stream or the recorded data stream to obtain frame time and data offset corresponding to one or more intra-coded pictures of at least one audiovisual (AV) content included in the data stream, thereby to create a frame index table; in response to a playback operation, referring to the frame index table to determine a data offset associated with the playback operation; retrieving one or more data units from the buffer unit or the storage unit according to the data offset; and decoding the one or more data units for media playback.

Claims (40)

1 . A method for performing media playback on a media playback device, comprising:

receiving a data stream on the media playback device to buffer the data stream in a buffer unit of the media playback device or to record the data stream in a storage unit of the media playback device;

performing a parsing operation on the buffered data stream or the recorded data stream to obtain frame time and data offset corresponding to one or more intra-coded pictures of at least one audio-visual (AV) content included in the data stream, wherein the frame time directly indicates a time interval between each of the one or more intra-coded pictures and an initial frame of the audio-visual content;

according to the frame time and the data offset corresponding the one or more intra-coded pictures to create a frame index table corresponding to the at least one AV content, wherein the frame index table records the frame time corresponding to the one or more intra-coded pictures;

in response to a playback operation that is triggered by user's playback control on the at least one AV content, determining a target playback time;

searching the frame index table according to the target playback time to determine a data offset associated with the playback operation, comprising:

determining a nearest neighbor intra-coded picture, wherein a difference between the target playback time and a frame time corresponding the nearest neighbor intra-coded picture is smaller than differences between the target playback time and frame times corresponding all the other intra-coded pictures recorded in the frame index table; and

obtaining the data offset corresponding to the nearest neighbor intra-coded picture from the frame index table;

retrieving one or more data units from the buffer unit or the storage unit according to the data offset associated with the playback operation, comprising:

retrieving the one or more data units from the buffer unit or the storage unit according to the data offset corresponding to the nearest neighbor intra-coded picture; and

decoding the one or more data units for media playback.

2 . The method of claim 1 , wherein the step of creating the frame index table corresponding to the at least one AV content comprises:

creating the frame index table according to one or more information of video program identifier, audio program identifier, video codec format, audio codec format, and frame rate, respectively corresponding to the one or more intra-coded pictures.

3 . The method of claim 1 , further comprising:

obtaining frame time and data offset respectively corresponding to one or more predicted pictures and/or one or more bi-directional predicted pictures of the at least one AV content; and

creating the frame index table according to the frame time and the data offset respectively corresponding to the one or more predicted pictures and/or the one or more bi-directional predicted pictures.

4 . The method of claim 1 , wherein the step of decoding the one or more data units for media playback comprises:

decoding the one or more data units to obtain the nearest neighbor intra-coded picture, and starting outputting frames to a display device from the nearest neighbor intra-coded picture.

5 . The method of claim 1 , wherein the step of decoding the one or more data units for media playback comprises:

decoding the one or more data units to obtain the nearest neighbor intra-coded picture and a predicted picture or a bi-directional predicted picture that follows the nearest neighbor intra-coded picture; and

start outputting frames to a display device from the predicted picture or the bi-directional predicted picture.

6 . The method of claim 1 , further comprising:

determining a target playback time according to the playback operation;

searching the frame index table to determine a first neighbor intra-coded picture having a frame time earlier than the target playback time;

determining a target frame corresponding to the target playback time according to a frame rate of the first neighbor intra-coded picture that is recorded in the frame index table; and

decoding the one or more data units and starting outputting frames to a display device after the target frame is obtained.

7 . A media playback device, comprising:

a receiving and buffering circuit, configured to receive a data stream to buffer the data stream in a buffer unit;

a parsing and decoding circuit, coupled to the receiving and buffering circuit, configured to perform a parsing operation on the buffered data stream or the data stream recorded in a storage unit, so as to obtain frame time and data offset corresponding to one or more intra-coded pictures of at least one audio-visual (AV) content included in the data stream, wherein the frame time directly indicates a time interval between each of the one or more intra-coded pictures and an initial frame of the audio-visual content;

an index table creation circuit, coupled to the parsing and decoding circuit, configured to create a frame index table that is associated with the at least one AV content, according to the frame time and the data offset corresponding the one or more intra-coded pictures of the at least AV content, wherein the frame index table records the frame time corresponding to the one or more intra-coded pictures; and

a playback control circuit, coupled to the parsing and decoding circuit, configured to determine a target playback time in response to a playback operation that is triggered by user' playback control on the at least one AV content, and search the frame index table according to the target playback time to determine a data offset and configured to retrieve one or more data units from the buffer unit or the storage unit according to the data offset associated with the playback operation, wherein the playback control circuit is further configured to:

search the frame index table according to the target playback time to determine a nearest neighbor intra-coded picture, wherein a difference between the target playback time and a frame time corresponding to the nearest neighbor intra-coded picture is smaller than differences between the target playback time and frame times corresponding to all the other intra-coded pictures recorded by the frame index table;

obtain the data offset corresponding to the nearest neighbor intra-coded picture from the frame index table; and

retrieve the one or more data units from the buffer unit or the storage unit according to the data offset corresponding to the nearest neighbor intra-coded picture;

wherein the parsing and decoding circuit is further configured to decode the one or more data units for media playback.

8 . The media playback device of claim 7 , wherein the index table creation circuit is further configured to create the frame index table according to one or more information of video program identifier, audio program identifier, video codec format, audio codec format, and frame rate, respectively corresponding to the one or more intra-coded pictures.

9 . The media playback device of claim 7 , wherein the parsing and decoding circuit is further configured to perform a parsing operation to obtain frame time and data offset respectively corresponding to one or more predicted pictures and/or one or more bi-directional predicted pictures of the at least one AV content; and the index table creation table is further configured to create the frame index table according to the frame time and the data offset respectively corresponding to the one or more predicted pictures and/or the one or more bi-directional predicted pictures.

10 . The media playback device of claim 7 , wherein the parsing and decoding circuit is configured to decode the one or more data units to obtain the nearest neighbor intra-coded picture, and start outputting frames to a display device from the nearest neighbor intra-coded picture.

11 . The media playback device of claim 7 , wherein the parsing and decoding circuit is configured to decode the one or more data units to obtain the nearest neighbor intra-coded picture and a predicted picture or a bi-directional predicted picture that follows the nearest neighbor intra-coded picture; and the parsing and decoding circuit is configured to start outputting frames to a display device from the predicted picture or the bi-directional predicted picture.

12 . The media playback device of claim 7 , wherein the playback control circuit is configured to determine a target playback time according to the playback operation, and search the frame index table to determine a first neighbor intra-coded picture having a frame time that is earlier than the target playback time; the playback control circuit is configured to determine a target frame corresponding to the target playback time according to a frame rate of the first neighbor intra-coded picture recorded in the frame index table, and the parsing and decoding circuit is configured to decode the one or more data units, and start outputting frames to a display device after the target frame is obtained.