CN111988608A - 8K down-sampling encoder and use method thereof - Google Patents
8K down-sampling encoder and use method thereof Download PDFInfo
- Publication number
- CN111988608A CN111988608A CN202010649421.2A CN202010649421A CN111988608A CN 111988608 A CN111988608 A CN 111988608A CN 202010649421 A CN202010649421 A CN 202010649421A CN 111988608 A CN111988608 A CN 111988608A
- Authority
- CN
- China
- Prior art keywords
- transcoding
- sampling
- encoder
- module
- public
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000005070 sampling Methods 0.000 title claims abstract description 30
- 238000000034 method Methods 0.000 title claims abstract description 26
- 238000006243 chemical reaction Methods 0.000 claims abstract description 8
- 230000008569 process Effects 0.000 claims description 8
- 230000001105 regulatory effect Effects 0.000 claims description 3
- 230000000694 effects Effects 0.000 abstract description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000011946 reduction process Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/40—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using video transcoding, i.e. partial or full decoding of a coded input stream followed by re-encoding of the decoded output stream
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/132—Sampling, masking or truncation of coding units, e.g. adaptive resampling, frame skipping, frame interpolation or high-frequency transform coefficient masking
Abstract
The invention discloses an 8K down-sampling encoder and a using method thereof, and particularly relates to the field of transcoding, which is used for realizing down-sampling conversion from a unified media stream format at an input end to output ends of a plurality of different media stream formats. The invention meets the requirement of playing 8KVR live multi-terminal by transcoding and downsampling 8Krtmp streams to 4K or 2Krtmp videos to the terminal for playing, and achieves the effect of realizing smooth watching of a plurality of mobile terminals by transcoding and downsampling the common part of the short transcoding and downsampling requirements from the input end to a plurality of outputs.
Description
Technical Field
The invention relates to the technical field of transcoding, in particular to an 8K down-sampling encoder and a using method thereof.
Background
The down-sampling refers to converting a video code stream which is compressed and coded into a video code stream with another resolution ratio so as to adapt to different network bandwidths, different terminal processing capacities and different user requirements. Transcoding downsampling is essentially a process of decoding first and then encoding, so the code streams before and after conversion may or may not conform to the same video encoding standard.
The existing 8KVR video can only be encoded by H265, and cannot realize the transmission of rtmp standard protocol in transmission, and a live video system in the prior art cannot decode and encode 8K video in real time in the transcoding and downsampling processes, and generally, the video is temporarily decoded and then is recoded into a required format and data encoding speed, so that the occupied space of the video is large, and the transcoding and downsampling difficulty is increased.
Disclosure of Invention
In order to overcome the above defects in the prior art, embodiments of the present invention provide an 8K down-sampling encoder and a method for using the same, which solve the problem of RTMP stream transmission of 8K VR H265 encoding, and down-sample to 4K or 2Krtmp video for terminal playing aiming at 8Krtmp stream transcoding, thereby meeting the requirement of 8KVR live multi-terminal playing.
In order to achieve the purpose, the invention provides the following technical scheme: an 8K down-sampling encoder and a using method thereof are used for realizing down-sampling conversion from a unified media stream format at an input end to output ends of a plurality of different media stream formats, and the encoder comprises a public transcoding module, wherein the input end of the public transcoding module is electrically connected with a regulating module, and the output end of the regulating module is electrically connected with a public transcoding module, a down-sampling transcoding module and a data buffer;
the specific operation method comprises the following steps
S1, electrically connecting the input end of the unified media stream format with the encoder and starting the encoder;
s2, the data enters the encoder and is subjected to multiple transcoding through the public transcoding module to obtain N media stream format input data;
the N media stream format input data in the S3 and S2 are subjected to secondary transcoding through a down-sampling transcoding module, and a group of pixel images which are reduced by S times relative to the original data are obtained;
and S4, importing the pixel image into a VR machine.
In a preferred embodiment, the data buffer is located between the common transcoding module and the terminal downsampling transcoding module.
In a preferred embodiment, the common transcoding module, the downsampling transcoding module and the data buffer are all connected with the regulation and control module.
In a preferred embodiment, the specific value of S in S3 is adapted to the pixel image offset required by the corresponding VR mechanism, that is, the image size is M × N, and S times down-sampling is performed to obtain a resolution image with (M/S) × (N/S) size, where S is a common divisor of M and N;
in a preferred embodiment, the average value of all pixels in the pixel window is Pk ═ (∑ Xi)/S ^ 2.
In a preferred embodiment, the common transcoding module is a common conversion process, and the common transcoding module is composed of relatively fast steps required by each transcoding downsampling process.
The invention has the technical effects and advantages that:
the invention meets the requirement of playing 8KVR live multi-terminal by transcoding and downsampling 8Krtmp streams to 4K or 2Krtmp videos to the terminal for playing, and achieves the effect of realizing smooth watching of a plurality of mobile terminals by transcoding and downsampling the common part of the short transcoding and downsampling requirements from the input end to a plurality of outputs.
Drawings
FIG. 1 is a block diagram of a system for an 8K down encoder method according to the present invention.
FIG. 2 is an overall flow chart of the present invention.
Detailed Description
The technical solution in the embodiment of the present invention will be described with reference to the accompanying drawings in the embodiment of the present invention
Clearly, and fully, it is to be understood that the embodiments described are merely illustrative of some, but not all, embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The 8K down-sampling encoder and the use method thereof shown in fig. 1-2 are used for realizing down-sampling conversion from a unified media stream format at an input end to output ends of a plurality of different media stream formats, and comprise a common transcoding module, wherein the input end of the common transcoding module is electrically connected with a regulation and control module, the output end of the regulation and control module is electrically connected with a common transcoding module, a down-sampling transcoding module and a data buffer, and the data buffer is arranged between the common transcoding module and a terminal down-sampling transcoding module;
the specific operation method comprises the following steps
S1, electrically connecting the input end of the unified media stream format with the encoder and starting the encoder;
s2, the data enters the encoder and is subjected to multiple transcoding through the public transcoding module to obtain N media stream format input data;
the N media stream format input data in the S3 and S2 are subjected to secondary transcoding through a down-sampling transcoding module, and a group of pixel images which are reduced by S times relative to the original data are obtained;
and S4, importing the pixel image into a VR machine.
The specific value of S in S3 is adapted to the pixel image offset code required by the corresponding VR machine, that is, the image size is M × N, S-fold down-sampling is performed on the image size, that is, a resolution image with the size of (M/S) × (N/S) is obtained, S is a common divisor of M and N, and the average value of all pixels in the pixel window is Pk (∑ Xi)/S ^ 2.
The public transcoding module is a public conversion process and comprises the steps which are required in each transcoding and downsampling process and have relatively high speed, so that basic data are provided for the subsequent transcoding operation;
for different application environments, the implementation contents of the public transcoding module are greatly different, for example: under the condition of directly accepting 8K video input, the public transcoding module performs a transcoding downsampling function of resolution; for the case of the 4K video input employed, the common module performs a rate reduction process.
The implementation mode is specifically as follows: the invention meets the requirement of playing 8KVR live multi-terminal by transcoding and downsampling 8Krtmp streams to 4K or 2Krtmp videos to the terminal for playing, and achieves the effect of realizing smooth watching of a plurality of mobile terminals by transcoding and downsampling the common part of the short transcoding and downsampling requirements from the input end to a plurality of outputs.
The points to be finally explained are: first, in the description of the present application, it should be noted that, unless otherwise specified and limited, the terms "mounted," "connected," and "connected" should be understood broadly, and may be a mechanical connection or an electrical connection, or a communication between two elements, and may be a direct connection, and "upper," "lower," "left," and "right" are only used to indicate a relative positional relationship, and when the absolute position of the object to be described is changed, the relative positional relationship may be changed;
secondly, the method comprises the following steps: in the drawings of the disclosed embodiments of the invention, only the structures related to the disclosed embodiments are referred to, other structures can refer to common designs, and the same embodiment and different embodiments of the invention can be combined with each other without conflict;
and finally: the above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that are within the spirit and principle of the present invention are intended to be included in the scope of the present invention.
Claims (6)
1. An 8K down-sampling encoder and its using method, which is used to realize the down-sampling conversion from the unified media stream format of the input end to the output end of a plurality of different media stream formats, characterized in that: the system comprises a public transcoding module, a control module and a data cache, wherein the input end of the public transcoding module is electrically connected with the control module, and the output end of the control module is electrically connected with the public transcoding module, the down-sampling transcoding module and the data cache;
the specific operation method comprises the following steps
S1, electrically connecting the input end of the unified media stream format with the encoder and starting the encoder;
s2, the data enters the encoder and is subjected to multiple transcoding through the public transcoding module to obtain N media stream format input data;
the N media stream format input data in the S3 and S2 are subjected to secondary transcoding through a down-sampling transcoding module, and a group of pixel images which are reduced by S times relative to the original data are obtained;
and S4, importing the pixel image into a VR machine.
2. An 8K down-sampling encoder and its method of use according to claim 1, wherein: the data buffer is arranged between the public transcoding module and the terminal down-sampling transcoding module.
3. An 8K down-sampling encoder and its method of use according to claim 1, wherein: the public transcoding module, the down-sampling transcoding module and the data buffer are all connected with the regulating module.
4. An 8K down-sampling encoder and its method of use according to claim 1, wherein: the specific value of S in S3 is adapted to the pixel image offset required by the corresponding VR machine, that is, the image size is M × N, and S-fold down-sampling is performed on the image size, that is, a resolution image with (M/S) × (N/S) size is obtained, where S is a common divisor of M and N.
5. An 8K down-sampling encoder and its use method according to claim 4, characterized in that: and the average value of all pixels in the pixel point window is Pk (∑ Xi)/S ^ 2.
6. An 8K down-sampling encoder and its use method according to claim 4, characterized in that: the public transcoding module is a public conversion process and is composed of steps which are required by each transcoding downsampling process and have relatively high speed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010649421.2A CN111988608A (en) | 2020-07-08 | 2020-07-08 | 8K down-sampling encoder and use method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010649421.2A CN111988608A (en) | 2020-07-08 | 2020-07-08 | 8K down-sampling encoder and use method thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111988608A true CN111988608A (en) | 2020-11-24 |
Family
ID=73439437
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010649421.2A Pending CN111988608A (en) | 2020-07-08 | 2020-07-08 | 8K down-sampling encoder and use method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111988608A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1941903A (en) * | 2006-03-31 | 2007-04-04 | 中山大学 | Code-transferring system and method for realizing multiple code flow output simultaneouslly |
US20110013692A1 (en) * | 2009-03-29 | 2011-01-20 | Cohen Robert A | Adaptive Video Transcoding |
CN105744269A (en) * | 2016-02-05 | 2016-07-06 | 南京云岩信息科技有限公司 | Down sampling and subpixel motion estimation based transcoding method |
CN109362242A (en) * | 2016-10-10 | 2019-02-19 | 华为技术有限公司 | A kind of processing method and processing device of video data |
-
2020
- 2020-07-08 CN CN202010649421.2A patent/CN111988608A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1941903A (en) * | 2006-03-31 | 2007-04-04 | 中山大学 | Code-transferring system and method for realizing multiple code flow output simultaneouslly |
US20110013692A1 (en) * | 2009-03-29 | 2011-01-20 | Cohen Robert A | Adaptive Video Transcoding |
CN105744269A (en) * | 2016-02-05 | 2016-07-06 | 南京云岩信息科技有限公司 | Down sampling and subpixel motion estimation based transcoding method |
CN109362242A (en) * | 2016-10-10 | 2019-02-19 | 华为技术有限公司 | A kind of processing method and processing device of video data |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101588252B (en) | Control method and control device of multipoint conference | |
CN108141613B (en) | Method and system for video coding with post-processing indication | |
US11558631B2 (en) | Super-resolution loop restoration | |
EP1838081A1 (en) | Encoding device and method, decoding device and method, and transmission system | |
WO2020135357A1 (en) | Data compression method and apparatus, and data encoding/decoding method and apparatus | |
CN101771797B (en) | Method and apparatus for generating a compressed file, and terminal comprising the apparatus | |
CN101990095A (en) | Method and apparatus for generating compressed file, camera module associated therewith, and terminal including the same | |
CN111386700A (en) | Multifunctional receiving device and conference system | |
CN113796078A (en) | Intra-prediction mode dependent encoder, decoder and corresponding methods | |
CN103124350A (en) | Image compression method and device based on run-length encoding (RLE) | |
CN115039406A (en) | Encoder, decoder and corresponding method for indicating sub-pictures in a sequence parameter set | |
JPH1074364A (en) | Method for processing video data and its device | |
CN103581616A (en) | Monitoring system, image compression serializer and image decompression deserializer | |
CN111083450A (en) | Vehicle-mounted-end image remote output method, device and system | |
CN114125448B (en) | Video coding method, decoding method and related devices | |
KR20000033758A (en) | Compressed moving picture transforming device and method | |
WO2024078066A1 (en) | Video decoding method and apparatus, video encoding method and apparatus, storage medium, and device | |
CN111447442B (en) | Intra-frame encoding method, intra-frame decoding method, device, and medium | |
CN111988608A (en) | 8K down-sampling encoder and use method thereof | |
CN114938408B (en) | Data transmission method, system, equipment and medium of cloud mobile phone | |
CN217283187U (en) | Ultra-high-definition video live broadcast system comprising 5G communication module | |
CN115866297A (en) | Video processing method, device, equipment and storage medium | |
CN114339263A (en) | Lossless processing method for video data | |
CN106060080A (en) | Medical video signal collection and transcoding system | |
CN105306941A (en) | Video coding method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20201124 |
|
WD01 | Invention patent application deemed withdrawn after publication |