Real-time transcoding method and device for use in frame rate reducing process
A technology of transcoding and frame rate, applied in the field of real-time transcoding method and device for reducing frame rate, can solve the problem of insufficient transcoding efficiency, achieve high-quality real-time transcoding, high video output quality, and reduce transcoding time Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0039] refer to figure 1 As shown, the embodiment of the present invention provides a real-time transcoding method with reduced frame rate, including the following steps:
[0040] Step 1. According to the frame rate of the input code stream and the frame rate of the target code stream, it is judged whether the current frame should be extracted and discarded in the case of equal interval extraction.
[0041] Step 2. If the current frame should be extracted and discarded and the current frame is a reference frame, then retain the current frame and instead extract and discard the first non-reference frame after the current frame; if the current frame should be extracted and discarded and the current frame is a non-reference frame frame, the decimation discards the current frame.
[0042]The present invention still retains the reference frame in the process of reducing the frame rate. For example, if the input code stream is 60 frames per second and the target code stream for tr...
Embodiment 2
[0057] figure 2 It is a technical flow chart of Embodiment 2 of the present invention. Embodiment 2 is a specific example of encoding the intra-coded macroblock of the intra-frame predictive coded frame (I frame) in the above step 3. The I frame coding adopts the intra prediction mode for coding, and the block mode can be divided into I_16x16, I_8x8, and I_4x4. In order to ensure the video quality, all encoding modes are usually traversed to select the optimal mode, which will undoubtedly increase the encoding time to a great extent. But the I frame is used as a reference frame, so it is necessary to give priority to ensuring better video quality.
[0058] Step 210: Before encoding the current macroblock, pre-calculate the encoding cost of encoding in I_8x8 block mode;
[0059] Since I_8x8 is only defined in H.264-High-profile, some input streams do not use this mode, and I_8x8 is a compromise between I_16x16 and I_4x4, so in order to better ensure video quality, the above ...
Embodiment 3
[0066] image 3 It is a technical flow chart of the third embodiment of the present invention, and the third embodiment is a specific example of encoding the forward predictive coding frame (P frame) in the above step 3.
[0067] Since the P frame adopts the mixed mode of forward reference frame coding and intra-frame coding, the motion vector of the macroblock corresponding to the position of the original input code stream has high availability. Therefore, in the embodiment of the present invention, the input code The MV (Motion Vector, motion vector) of the stream is used as a starting reference point for subsequent motion estimation.
[0068] Step 310: Obtain the original coding mode corresponding to the macroblock at the same position as the currently coded macroblock of the forward predictive coded frame from the input code stream;
[0069] If the original coding mode is an intra-coded macroblock (INTRA block), the current coded macroblock is coded using the same coding ...
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