Video dividing and transcoding method and device
A transcoding and pre-transcoding technology, applied in the field of telecommunications, can solve the problem of uneven quality of sub-chips, and achieve the effect of uniform definition
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0028] A fragmented transcoding method disclosed in the embodiment of this application, such as figure 1 As shown, it includes the following steps:
[0029] In step S100, a slice source is divided into several sub-slices.
[0030] The number of split sub-slices can be determined according to the duration of the slice source, the capability of a single CPU that processes each sub-slice one-to-one, or the working status of the slice transcoding device. Generally speaking, the duration of each sub-slice is close, but the key frame is used as the beginning of the division of the sub-slice. Each divided sub-slice also includes several frames, and each frame also includes several macroblocks. At the same time, after splitting, the transcoding rate of each sub-slice is equal to the transcoding rate of the film source. This is done for the convenience of calculating the quantization parameters later, so as to re-allocate the transcoding rate for each sub-slice.
[0031] Preferably,...
Embodiment 2
[0047] In step S102, the pre-transcoding process is performed to obtain the global statistical information of each sub-slice, including the statistical information of all sub-slices of the entire film source. Of course, for different frames, the global statistical information of all sub-slices in the global statistical information The order in which the statistics are listed is different. When allocating the code rate of each sub-slice, the situation of all other sub-slices will be considered comprehensively, and the effective source code rate of the film will be reasonably allocated from a global perspective.
[0048] like figure 2 As shown, step S102 further includes:
[0049] Step S1020, perform pre-transcoding on the several sub-slices respectively, and obtain statistical information of each sub-slice.
[0050] All the sub-slices are pre-transcoded separately, and each sub-slice is pre-transcoded by a corresponding transcoder or CPU respectively, and the pre-transcoding...
Embodiment 3
[0059] In step S104, the quantization parameter of each frame is initially set, and this initial setting does not consider the global situation of other frames of the film source. Therefore, the quantization parameters set initially can complete transcoding, but the effect of transcoding and the bit rate of the entire film source after transcoding may be inappropriate, and further iterative adjustments are needed, but the quantization parameters initially set for each frame provide a basis for subsequent adjustments. A good basis for adjustment. Later, you can configure reasonable quantization parameters for each frame according to the overall situation of all frames of the source, and then simulate transcoding to obtain the bit rate of the source, and compare the transcoding rate of the entire source with the target bit rate set for the source. Consider whether the setting of the quantization parameter of each frame is reasonable, and continue to iteratively adjust the quanti...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com