METHOD AND APPARATUS FOR STREAMING MEDIA DATA PROCESSING, AND STREAMING MEDIA PLAYBACK EQUIPMENT
First Claim
1. A streaming media data processing method, comprising:
- based on a stream index in streaming media data, separating the streaming media data into audio stream data and video stream data and respectively buffering them in an audio stream data queue and a video stream data queue;
respectively decoding audio data buffered in the audio stream data queue and video data buffered in the video stream data queue;
based on a play callback timestamp of the decoded audio data and a system time of a streaming media playback equipment, determining an audio/video synchronization time;
based on a comparison result between a video frame timestamp and a sum of the determined audio/video synchronization time and a video refresh time, processing and displaying each frame in the decoded video stream data according to a predetermined processing method in accordance with the comparison result.
2 Assignments
0 Petitions
Accused Products
Abstract
The present invention provides a streaming media data processing method. The method includes: based on a stream index in streaming media data, separating the streaming media data stream into audio stream data and video stream data and respectively buffering them in an audio stream data queue and a video stream data queue; respectively decoding audio data buffered in the audio stream data queue and video data buffered in the video stream data queue; based on a play callback timestamp of the decoded audio data and a system time of a streaming media playback equipment, determining an audio/video synchronization time; based on a comparison result between a video frame timestamp and a sum of the determined audio/video synchronization time and a video refresh time, processing and displaying each frame in the decoded video stream data according to a predetermined processing method in accordance with the comparison result. The method may avoid the asynchrony between video and audio steams resulted from the asynchrony between audio time and the system time and, at the same time, the synchronization between the video time and the system time when displaying the stream data, which may greatly reduce the repeated video pauses in the video display.
10 Citations
17 Claims
-
1. A streaming media data processing method, comprising:
-
based on a stream index in streaming media data, separating the streaming media data into audio stream data and video stream data and respectively buffering them in an audio stream data queue and a video stream data queue; respectively decoding audio data buffered in the audio stream data queue and video data buffered in the video stream data queue; based on a play callback timestamp of the decoded audio data and a system time of a streaming media playback equipment, determining an audio/video synchronization time; based on a comparison result between a video frame timestamp and a sum of the determined audio/video synchronization time and a video refresh time, processing and displaying each frame in the decoded video stream data according to a predetermined processing method in accordance with the comparison result. - View Dependent Claims (2, 3, 4, 5, 6, 14, 15, 16)
-
-
7. A streaming media data processing apparatus, comprising:
-
a data separating unit configured to separate the streaming media data into audio stream data and video stream data, based on a stream index in the streaming media data; a buffering unit configured to respectively buffer the separated audio stream data and video stream data in an audio stream data queue and a video stream data queue; an audio data decoding unit configured to decode the audio data buffered in the audio stream data queue; a video data decoding unit configured to decode the video stream data buffered in the video stream data queue; an audio/video synchronization time determining unit configured to determine an audio/video synchronization time, based on a play callback timestamp of the decoded audio data and a system time of the streaming media playback apparatus; and a video frame processing unit configured to, based on a comparison result between a video frame timestamp and the sum of the determined audio/video synchronization time and a video refresh time, process and display each frame of the decoded video stream data according to a predetermined processing method in accordance with the comparison result. - View Dependent Claims (8, 9, 10, 11, 12, 13, 17)
-
Specification