IP Library Granted Patent US 8,279,945
Granted Patent B2
US 8,279,945 · App. 12/020,593 · Granted Oct 2, 2012

Method for compensating timing mismatch in A/V data stream

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 8,279,945
App. No.
12/020,593
Granted
Oct 2, 2012
Kind
B2
Abstract

Methods for compensating timing errors in an A/V stream are provided. An embodiment of the methods includes: receiving a plurality of encoded video frames of a current Group of pictures (GOP) from the video encoder and a plurality of encoded audio frames; when an error occurs in the video encoder, utilizing a most recent encoded video frame of a previous GOP received from the video encoder as a reference to generate a plurality of dummy video frames; and utilizing the dummy video frames to pad the current GOP.

Claims (31)

1. A method for compensating for a timing mismatch in an A/V stream, the method comprising:

receiving a plurality of encoded video frames of a current Group of Pictures (GOP) from a video encoder and a plurality of encoded audio frames;

multiplexing the encoded video frames with the encoded audio frames;

when an error occurs in the video encoder, generating a plurality of dummy video frames; and

utilizing the plurality of dummy video frames to replace the multiplexed video frames of the current GOP.

2. The method of claim 1 , wherein the dummy video frames are generated utilizing a most recent encoded video frame of a previous GOP as a reference.

3. The method of claim 1 , further comprising:

restarting the video encoder when the error occurs;

multiplexing the encoded audio frames and the dummy video frames; and

when a next encoded video frame is received from the restarted video encoder, continuing multiplexing the encoded audio frames with the dummy video frames to complete the current GOP.

4. The method of claim 3 , further comprising:

adding a time duration of the padded dummy video frames to a recording time of the A/V stream.

5. The method of claim 1 , wherein the dummy video frame is generated by altering bits of a frame header.

6. A method for compensating for a timing mismatch in an A/V stream, the method comprising:

receiving a plurality of encoded video frames of a Group of Pictures (GOP) and a plurality of encoded audio frames;

determining an error value of each video frame of the GOP, wherein the error value is time difference between an actual time of arrival of a video frame and an expected time of arrival;

when a difference between an error value of a current frame and an error value of a previous frame is greater than a first threshold, determining an error value of a last video frame in the GOP to generate a GOP error value;

when the GOP error value is greater than or equal to a second threshold, generating a dummy video frame; and

utilizing the dummy video frame to pad the GOP.

7. The method of claim 6 , wherein the dummy video frame is generated utilizing the last video frame as a reference frame.

8. The method of claim 6 , wherein the GOP error value is determined by comparing an actual time of the last video frame with an expected time, the expected time determined according to an expected frame rate.

9. The method of claim 6 , wherein the step of utilizing the dummy video frame to pad the GOP comprises:

inserting a dummy video frame in the tail of the GOP;

adjusting the GOP error value according to the inserted dummy video frame;

comparing the adjusted GOP error value with the second threshold; and

when the adjusted GOP error value is greater than the second threshold, repeating the above steps until the adjusted GOP error value is less than the second threshold.

10. The method of claim 9 wherein the encoded video frames and encoded audio frames are received in a television (TV) system and the step of adjusting the GOP error value according to the inserted dummy video frame comprises:

subtracting a PTS_Period of the TV system from the GOP error value.

11. The method of claim 6 , wherein the encoded video frames and encoded audio frames are received in a television (TV) system and the step of determining an error value of each video frame of the GOP is determined by:

PTSn+Acc_Video_Adjust−PTS_Period*n;

wherein PTSn is the real time of encoding of the video frame, Acc_Video_Adjust is an accumulated adjustment value, and PTS_Period is the PTS period of the TV system.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 3, 2021
From: MEDIATEK INC.
To: XUESHAN TECHNOLOGIES INC.
Reel/Frame 055486/0870 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 28, 2008
From: LIN, CHI-CHUN; KAO, SHIH-RONG
To: MEDIATEK INC.
Reel/Frame 020425/0878 →