Preserving captioning through video transcoding
First Claim
Patent Images
1. A method, comprising:
- parsing an input video stream to determine a presentation order of encoded frames in the input video stream;
if audio data is present, processing the audio data independently of the input video stream and caption data;
reordering the caption data into the presentation order, the caption data extracted from the input video stream;
assigning time stamps to the caption data;
translating the caption data from closed caption data into an output caption format, the output caption format being a different format than a format of the closed caption data;
providing a target bit rate based on an amount of the caption data to be inserted into a preliminary output video stream;
transcoding the input video stream, excluding the caption data, into the preliminary output video stream at the target bit rate, a frame rate of the input video stream being different from a frame rate of the preliminary output video stream;
reordering the caption data in the output caption format into a coded order of encoded frames in the preliminary output video stream, based on the time stamps of the caption data; and
writing the caption data in the output caption format to a same file as the preliminary output video stream.
15 Assignments
0 Petitions
Accused Products
Abstract
Methods of preserving captioning information in an input video stream through transcoding of the input video stream include extracting caption data from the input video stream, translating the caption data into at least one output caption format, packaging the translated caption data into data packets for insertion into a video stream, synchronizing the packaged caption data with a transcoded version of the input video stream, receiving a preliminary output video stream that is a transcoded version of the input video stream, and combining the packaged caption data with the preliminary output video stream to form an output video stream. Related systems and computer program products are also disclosed.
-
Citations
25 Claims
-
1. A method, comprising:
-
parsing an input video stream to determine a presentation order of encoded frames in the input video stream; if audio data is present, processing the audio data independently of the input video stream and caption data; reordering the caption data into the presentation order, the caption data extracted from the input video stream; assigning time stamps to the caption data; translating the caption data from closed caption data into an output caption format, the output caption format being a different format than a format of the closed caption data; providing a target bit rate based on an amount of the caption data to be inserted into a preliminary output video stream; transcoding the input video stream, excluding the caption data, into the preliminary output video stream at the target bit rate, a frame rate of the input video stream being different from a frame rate of the preliminary output video stream; reordering the caption data in the output caption format into a coded order of encoded frames in the preliminary output video stream, based on the time stamps of the caption data; and writing the caption data in the output caption format to a same file as the preliminary output video stream. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A system, comprising:
-
a caption input reorder queue configured to reorder caption data into a presentation order of encoded frames in an input video stream, the caption data extracted from the input video stream; a caption extraction module configured to parse the input video stream to determine the presentation order of the encoded frames and to assign time stamps to the caption data; a caption processing module configured to translate the caption data from closed caption data into an output caption format, the output caption format being a different format than a format of the closed caption data; a caption packaging module configured to provide a target bit rate based on an amount of the caption data to be inserted into a preliminary output video stream; a video processing module configured to transcode the input video stream, excluding the caption data, into the preliminary output video stream at the target bit rate, a frame rate of the input video stream being different from a frame rate of the preliminary output video stream, wherein, if audio data is present, the audio data is processed independently of the input video stream and the caption data, and the caption packaging module is configured to synchronize the caption data in the output caption format with the preliminary output video stream; and a combining module configured to reorder the caption data in the output caption format into a coding order of encoded frames in the preliminary output video stream, based on the time stamps of the caption data, and to write the caption data in the output caption format to a same file as the preliminary output video stream. - View Dependent Claims (14, 15, 16, 17, 18)
-
-
19. A system, comprising:
-
a caption extraction module configured to parse an input video stream to determine a presentation order of encoded frames in the input video stream and to assign time stamps to caption data extracted from the input video stream, wherein the caption data is reordered into the presentation order; a caption processing module configured to translate the caption data from closed caption data into an output caption format, the output caption format being a different format than a format of the closed caption data; and a caption packaging module configured to provide a target bit rate based on an amount of the caption data to be inserted into an output video stream and to provide the caption data in the output caption format to a video processing module that transcodes the input video stream, excluding the caption data, into the output video stream at the target bit rate, a frame rate of the input video stream being different from a frame rate of the output video stream, wherein, if audio data is present, the audio data is processed independently of the input video stream and caption data, and the caption data in the output caption format is reordered into a coded order of encoded frames in the output video stream, based on the time stamps of the caption data, and the caption data in the output caption format is written to a same file as the output video stream. - View Dependent Claims (20, 21)
-
-
22. A non-transitory, computer readable storage medium having computer readable program code embodied in the medium, the program code, when executed, causing a processing unit to perform a method comprising:
-
parsing an input video stream to determine a presentation order of encoded frames in the input video stream; if audio data is present, processing the audio data independently of the input video stream and caption data; reordering the caption data into the presentation order, the caption data extracted from the input video stream; assigning time stamps to the caption data; translating the caption data from closed caption data into an output caption format, the output caption format being a different format than a format of the closed caption data; providing a target bit rate based on an amount of the caption data to be inserted into a preliminary output video stream; transcoding the input video stream, excluding the caption data, into the preliminary output video stream at the target bit rate, a frame rate of the input video stream being different from a frame rate of the preliminary output video stream; reordering the caption data in the output caption format into a coded order of encoded frames in the preliminary output video stream, based on the time stamps of the caption data; and writing the caption data in the output caption format to a same file as the preliminary output video stream. - View Dependent Claims (23, 24, 25)
-
Specification