Transport stream generating device and method, and program transmission device
First Claim
1. A transport stream generating apparatus for generating a transport stream for transmitting source video data and source audio data, comprising:
- encoding means for encoding source video data and source audio data corresponding to an assigned video encoding rate and an assigned audio encoding rate so as to generate an encoded video stream and an encoded audio stream, respectively;
multiplexing means for multiplexing the encoded video stream and the encoded audio stream in each of at least one predetermined period;
transport stream generating means for generating the transport stream with the multiplexed stream of the video stream and the audio stream;
controlling means for controlling said encoding means, said multiplexing means, and said transport stream generating means so that each of a data amount of the encoded video stream multiplexed in a predetermined period and a data amount of the encoded audio stream multiplexed in the predetermined period is near constant for all predetermined periods;
the predetermined period being one video frame period;
said controlling means comprising means for generating a schedule corresponding to the assigned video encoding rate and the assigned audio encoding rate so as to multiplex the encoded video stream and the encoded audio stream;
said controlling means controlling said multiplexing means and said transport stream generating means so as to perform a multiplexing process corresponding to the schedule for all predetermined periods; and
said controlling means calculating the data amount of the encoded video stream transmitted in one video frame period corresponding to the assigned video encoding rate, calculating the data amount of the encoded audio stream transmitted in one audio frame period corresponding to the assigned audio encoding rate, and generating the schedule corresponding to the data amount of the calculated encoded video stream and the data amount of the calculated audio stream.
2 Assignments
0 Petitions
Accused Products
Abstract
Each of the data amount of a video stream multiplexed in one video frame period and the data amount of an audio stream multiplexed in a predetermined period is almost constant in any video frame period. The data amount of a transport stream generated in one video frame period is almost constant in any video frame period. In addition, corresponding to a target video encoding rate and a target audio encoding rate, schedule data for multiplexing a video stream and an audio stream is generated. Corresponding to the schedule data, a video stream and an audio stream are multiplexed and output as a transport stream to a decoding unit so that an SDT buffer of the decoding unit does not overflow.
93 Citations
10 Claims
-
1. A transport stream generating apparatus for generating a transport stream for transmitting source video data and source audio data, comprising:
-
encoding means for encoding source video data and source audio data corresponding to an assigned video encoding rate and an assigned audio encoding rate so as to generate an encoded video stream and an encoded audio stream, respectively;
multiplexing means for multiplexing the encoded video stream and the encoded audio stream in each of at least one predetermined period;
transport stream generating means for generating the transport stream with the multiplexed stream of the video stream and the audio stream;
controlling means for controlling said encoding means, said multiplexing means, and said transport stream generating means so that each of a data amount of the encoded video stream multiplexed in a predetermined period and a data amount of the encoded audio stream multiplexed in the predetermined period is near constant for all predetermined periods;
the predetermined period being one video frame period;
said controlling means comprising means for generating a schedule corresponding to the assigned video encoding rate and the assigned audio encoding rate so as to multiplex the encoded video stream and the encoded audio stream;
said controlling means controlling said multiplexing means and said transport stream generating means so as to perform a multiplexing process corresponding to the schedule for all predetermined periods; and
said controlling means calculating the data amount of the encoded video stream transmitted in one video frame period corresponding to the assigned video encoding rate, calculating the data amount of the encoded audio stream transmitted in one audio frame period corresponding to the assigned audio encoding rate, and generating the schedule corresponding to the data amount of the calculated encoded video stream and the data amount of the calculated audio stream. - View Dependent Claims (2, 3)
video encoder buffering means for buffering the encoded video stream outputted from said encoding means; and
audio encoder buffering means for buffering the encoded audio stream outputted from said encoding means;
wherein, when a cumulative data amount of a remaining data amount of the video encoder buffering means as an (n-1)th transport stream of the encoded video stream in an (n-1)th video frame period and the data amount of the encoded video stream outputted from said encoding means as the encoded video stream in an n-th video frame period is larger than the data amount of the encoded video stream of one transport stream defined in the schedule, said controlling means controls said multiplexing means and said transport stream generating means so as to multiplex the remaining data in the n-th video frame period and the first half of the data of the encoded video stream in the (n+1)th video frame period as a transport stream in the n-th video frame period and multiplex the remaining data of the encoded video stream in the n-th video frame period as a transport stream in the (n+1)th video frame period.
-
-
3. The transport stream generating apparatus as set forth in claim 1, further comprising:
-
video encoder buffering means for buffering the encoded video stream outputted from said encoding means; and
audio encoder buffering means for buffering the encoded audio stream outputted from said encoding means, wherein;
said controlling means controls a data amount of the encoded video stream from the video encoder buffering means in the current video frame period corresponding to a data amount of video data that remains in the video encoder buffering means as a result of a transport stream generating process in a preceding video frame period and corresponding to the data amount of an encoded video stream from said encoding means in the current video frame period; and
said controlling means controls the data amount of the encoded audio stream from the audio encoder buffering means in the current video frame period corresponding to the data amount of audio data that remains in the audio encoder buffering means as the result of a transport stream generating process in the preceding video frame period and corresponding to the data amount of an encoded audio stream from said encoding means in the current video frame period.
-
-
4. A transport stream generating apparatus for generating a transport stream for transmitting source video data and source audio data, comprising:
-
encoding means for encoding source video data and source audio data corresponding to an assigned video encoding rate and an assigned audio encoding rate so as to generate an encoded video stream and an encoded audio stream, respectively;
multiplexing means for multiplexing the encoded video stream and the encoded audio stream in each of at least one predetermined period;
transport stream generating means for generating the transport stream with the multiplexed stream of the video stream and the audio stream;
controlling means for controlling said encoding means, said multiplexing means, and said transport stream generating means so that each of a data amount of the encoded video stream multiplexed in a predetermined period and a data amount of the encoded audio stream multiplexed in the predetermined period is near constant for all predetermined periods;
the predetermined period being one video frame period;
said controlling means comprising means for generating a schedule corresponding to the assigned video encoding rate and the assigned audio encoding rate so as to multiplex the encoded video stream and the encoded audio stream;
said controlling means controlling said multiplexing means and said transport stream generating means so as to perform a multiplexing process corresponding to the schedule for all predetermined periods; and
said controlling means calculating a number of transport packets necessary for transmitting the encoded video stream corresponding to the assigned video encoding rate, calculating a number of transport packets necessary for transmitting the encoded audio stream corresponding to the assigned audio encoding rate, and generating the schedule corresponding to a number of transport packets for the encoded video stream and a number of the transport packets for the encoded audio stream. - View Dependent Claims (5, 6)
video encoder buffering means for buffering the encoded video stream from said encoding means; and
audio encoder buffering means for buffering the encoded audio stream from said encoding means, wherein when a cumulative data amount of a remaining data amount of the video encoder buffering means as an (n-1)th transport stream of an encoded video stream in an (n-1)th video frame period and a data amount of an encoded video stream that is output from said encoding means as an encoded video stream in an n-th video frame period is larger than a data amount of an encoded video stream of one transport stream defined in the schedule, said controlling means controls said multiplexing means and said transport stream generating means so as to multiplex remaining data in the (n-1)th video frame period and the first half of the data of the encoded video stream in the n-th video frame period as a transport stream in the n-th video frame period and multiplex the remaining data of the encoded video stream in the n-th video frame period as a transport stream in the (n+1)th video frame period.
-
-
6. The transport stream generating apparatus as set forth in claim 4, further comprising:
-
video encoder buffering means for buffering the encoded video stream outputted from said encoding means; and
audio encoder buffering means for buffering the encoded audio stream outputted from said encoding means, wherein;
said controlling means controls a data amount of the encoded video stream from the video encoder buffering means in the current video frame period corresponding to a data amount of video data that remains in the video encoder buffering means as a result of a transport stream generating process in a preceding video frame period and corresponding to the data amount of an encoded video stream from said encoding means in the current video frame period; and
said controlling means controls the data amount of the encoded audio stream from the audio encoder buffering means in the current video frame period corresponding to the data amount of audio data that remains in the audio encoder buffering means as the result of a transport stream generating process in the preceding video frame period and corresponding to the data amount of an encoded audio stream from said encoding means in the current video frame period.
-
-
7. A transport stream generating method of generating a transport stream for transmitting source video data and source audio data, comprising the steps of:
-
an encoding step of encoding source video data and source audio data corresponding to an assigned video encoding rate and an assigned audio encoding rate so as to generate an encoded video stream and an encoded audio stream, respectively;
a schedule generating step of generating a schedule corresponding to the assigned video encoding rate and the assigned audio encoding rate so as to multiplex the encoded video stream and the encoded audio stream;
a multiplexing step of multiplexing the encoded video stream and the encoded audio stream in each of at least one predetermined period in accordance with the generated schedule;
a predetermined period being one video frame period; and
a transport stream generating step of generating the transport stream with the multiplexed stream of the video stream and the audio stream;
the schedule generating step being performed by calculating a data amount of the encoded video stream transmitted in one video frame period corresponding to the assigned video encoding rate, calculating a data amount of the encoded audio stream transmitted in one audio frame period corresponding to the assigned audio encoding rate, and generating the schedule corresponding to the data amount of the calculated encoded video stream and the data amount of the calculated encoded audio stream. - View Dependent Claims (8, 9)
-
-
10. A transport stream generating method of generating a transport stream for transmitting source video data and source audio data, comprising the steps of:
-
an encoding step of encoding source video data and source audio data corresponding to an assigned video encoding rate and an assigned audio encoding rate so as to generate an encoded video stream and an encoded audio stream, respectively;
a schedule generating step of generating a schedule corresponding to the assigned video encoding rate and the assigned audio encoding rate so as to multiplex the encoded video stream and the encoded audio stream;
a multiplexing step of multiplexing the encoded video stream and the encoded audio stream in each of at least one predetermined period in accordance with the generated schedule;
a predetermined period being one video frame period; and
a transport stream generating step of generating the transport stream with the multiplexed stream of the video stream and the audio stream;
the schedule generating step being performed by calculating a number of transport packets necessary for transmitting the encoded video stream corresponding to the assigned video encoding rate, calculating a number of transport packets necessary for transmitting the encoded audio stream corresponding to the assigned audio encoding rate, and generating the schedule corresponding to the number of transport packets for the encoded video stream and the number of the transport packets for the encoded audio stream.
-
Specification