CN104994407A - Concentrated self-adaptive video transcoding method - Google Patents
Concentrated self-adaptive video transcoding method Download PDFInfo
- Publication number
- CN104994407A CN104994407A CN201510359229.9A CN201510359229A CN104994407A CN 104994407 A CN104994407 A CN 104994407A CN 201510359229 A CN201510359229 A CN 201510359229A CN 104994407 A CN104994407 A CN 104994407A
- Authority
- CN
- China
- Prior art keywords
- transcoding
- user
- video
- user side
- input code
- 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
- 238000000034 method Methods 0.000 title claims abstract description 17
- 238000006243 chemical reaction Methods 0.000 claims description 13
- 230000003044 adaptive effect Effects 0.000 claims description 8
- 239000000284 extract Substances 0.000 claims description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000001902 propagating effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/234—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
- H04N21/2343—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The present invention provides a concentrated self-adaptive video transcoding method, comprising the steps of: receiving a video request of a user, and obtaining configuration information of a user side; obtaining a transcoding task request according to the configuration information; assigning priority to the transcoding task request according to the transcoding task request; obtaining, by a transcoding server, a resolution, a code rate and a play format of the video transcoding required by the user according to a play resolution of the user side, a network bandwidth between the user side and a server side, and a play software used by the user side, and obtaining a video transcoding type according to a video mode used by the user and priority of the user; decoding an input code stream, extracting macro-block information of the decoded input code stream, determining a pixel transcoding rate according to the input code stream, and coding the decoded input code stream according to a re-determined macro-block coding mode. The concentrated self-adaptive video transcoding method of the present invention improves transcoding speed, and can better satisfy the requirement of real-time video transcoding.
Description
Technical field
The present invention relates to transcoding technology field, be specifically related to a kind of method of concentrated adaptive video transcoding.
Background technology
Along with the continuous evolution of the Internet and cell phone network, the platform of broadcasting media gets more and more, and the corresponding media formats propagating platform support also gets more and more, and from mobile phone to IPTV, high-definition digital broadcast, different platform is completely different to the call format of content.In order to enable media data between heterogeneous network, between different types of access device and transparent exchange between different-format, the transcoding between video flowing becomes research direction hotter in digital video.Video code conversion is the process of a high computational load, needs to carry out full decoder, video filtering, image procossing and entirely encoding to output format to the video flowing of input.And existing trans-coding system also has the following disadvantages: video code conversion efficiency is low, often make mistakes during video code conversion, server resource underuses problem.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of method of concentrated adaptive video transcoding, the method increases video code conversion efficiency, decreases error frequency during video code conversion simultaneously.
For solving the problems of the technologies described above, the present invention by the following technical solutions:
A method for concentrated adaptive video transcoding, comprises the steps:
(1) receive the video request of user, obtain the configuration information of user side;
(2) transcoding task requests is obtained according to configuration information;
(3) according to transcoding task requests, priority is distributed: priority is by obtaining the preset level of terminal to transcoding task requests, the urgency parameter that in current transcoding task requests, user is arranged, and time of reception three kinds of Rule of judgment of current transcoding task requests comprise the time of reception of current transcoding task requests interior at least two kinds of decisions jointly; According to the running state information that each transcoding server feeds back, the transcoding task of respective priority is distributed to satisfactory transcoding server and processes;
(4) playout software that transcoding server uses according to the broadcasting resolution of user side, the network bandwidth between user side and service end and user side obtains the resolution of the video code conversion to user's request, code check and broadcast format, and the video mode used according to user and User Priority obtain video code conversion type;
(5) input code flow is decoded, extract the macro block information of decoded input code flow, according to input code flow determination pixel transcoding rate; When the described pixel transcoding rate determined is less than the first default threshold value, according to macro block information, decoded input code flow is encoded; When described pixel transcoding rate is greater than described first threshold value, redefines macro-block coding pattern according to described macro block information, and according to the macro-block coding pattern redefined, described decoded input code flow is encoded.
Further, the configuration information of described user side comprises: the video mode that the playout software that the broadcasting resolution of user side, the network bandwidth between user side and service end, user side use, user use and User Priority.
Further, comprise according to described input code flow determination pixel transcoding rate in step (5): the bit number taken according to average every pixel in average in described input code flow every pixel bit number taken and the output code flow preset, determine pixel transcoding rate.
The invention has the beneficial effects as follows: the present invention is by obtaining the configuration information of user side, and obtain the transcoding demand of video according to these configuration informations, thus be the video of applicable user side by the video code conversion searched, video code conversion can adapt to the demand of user side; Determine macro-block coding pattern in real time according to the macro block information of pixel transcoding rate and input code flow simultaneously; and then encode according to the macro-block coding pattern determined; thus under the prerequisite guaranteeing the video quality recovered, improve transcoding speed, meet the requirement of real-time video transcoding better.
Accompanying drawing explanation
Fig. 1 is method flow diagram of the present invention.
Embodiment
Below in conjunction with accompanying drawing, the invention will be further described.
As shown in Figure 1, the method for a kind of concentrated adaptive video transcoding described in the present embodiment, comprises the steps:
S1: the video request receiving user, obtains the configuration information of user side; This configuration information, comprises the broadcasting resolution of user side, video mode that playout software that the network bandwidth between user side and service end, user side use, user use and User Priority;
User side can be the terminal equipments such as mobile communication terminal, personal computer, personal digital assistant, and the broadcasting resolution of user side refers to that the equipment of user side carrys out displaying video with great resolution; The network type that the network bandwidth between user side and service end uses by detection user side gets; The playout software that the playout software that user side uses then is run by the equipment detecting user side gets; The video mode that user uses comprises online broadcasting, off-line download etc.;
S2: obtain transcoding task requests according to configuration information;
S3: according to transcoding task requests, priority is distributed: priority is by obtaining the preset level of terminal to transcoding task requests, the urgency parameter that in current transcoding task requests, user is arranged, and time of reception three kinds of Rule of judgment of current transcoding task requests comprise the time of reception of current transcoding task requests interior at least two kinds of decisions jointly; According to the running state information that each transcoding server feeds back, the transcoding task of respective priority is distributed to satisfactory transcoding server and processes;
Priority refers to: different users can set different grades, and the user gradation such as setting registered members is higher than the grade of domestic consumer, can the video requirement of preferential this part user that satisfy hierarchy is high;
S4: the playout software that transcoding server uses according to the broadcasting resolution of user side, the network bandwidth between user side and service end and user side obtains the resolution of the video code conversion to user's request, code check and broadcast format, and the video mode used according to user and User Priority obtain video code conversion type;
S5: decode to input code flow, extracts the macro block information of decoded input code flow, according to input code flow determination pixel transcoding rate; When the described pixel transcoding rate determined is less than the first default threshold value, according to macro block information, decoded input code flow is encoded; When described pixel transcoding rate is greater than described first threshold value, redefines macro-block coding pattern according to described macro block information, and according to the macro-block coding pattern redefined, described decoded input code flow is encoded.Input code flow determination pixel transcoding rate comprises: the bit number taken according to average every pixel in average in described input code flow every pixel bit number taken and the output code flow preset, and determines pixel transcoding rate.
Above-described embodiment is only be described the preferred embodiment of the present invention; not scope of the present invention is limited; under not departing from the present invention and designing the prerequisite of spirit; the various distortion that those of ordinary skill in the art make technical scheme of the present invention and improvement, all should fall in protection range that claims of the present invention determines.
Claims (3)
1. a method for concentrated adaptive video transcoding, is characterized in that, comprise the steps:
(1) receive the video request of user, obtain the configuration information of user side;
(2) transcoding task requests is obtained according to configuration information;
(3) according to transcoding task requests, priority is distributed: priority is by obtaining the preset level of terminal to transcoding task requests, the urgency parameter that in current transcoding task requests, user is arranged, and time of reception three kinds of Rule of judgment of current transcoding task requests comprise the time of reception of current transcoding task requests interior at least two kinds of decisions jointly; According to the running state information that each transcoding server feeds back, the transcoding task of respective priority is distributed to satisfactory transcoding server and processes;
(4) playout software that transcoding server uses according to the broadcasting resolution of user side, the network bandwidth between user side and service end and user side obtains the resolution of the video code conversion to user's request, code check and broadcast format, and the video mode used according to user and User Priority obtain video code conversion type;
(5) input code flow is decoded, extract the macro block information of decoded input code flow, according to input code flow determination pixel transcoding rate; When the described pixel transcoding rate determined is less than the first default threshold value, according to macro block information, decoded input code flow is encoded; When described pixel transcoding rate is greater than described first threshold value, redefines macro-block coding pattern according to described macro block information, and according to the macro-block coding pattern redefined, described decoded input code flow is encoded.
2. the method for concentrated adaptive video transcoding according to claim 1, it is characterized in that, the configuration information of described user side comprises: the video mode that the playout software that the broadcasting resolution of user side, the network bandwidth between user side and service end, user side use, user use and User Priority.
3. according to the method for the concentrated adaptive video transcoding described in claim 1, it is characterized in that, comprise according to described input code flow determination pixel transcoding rate in step (5): the bit number taken according to average every pixel in average in described input code flow every pixel bit number taken and the output code flow preset, determine pixel transcoding rate.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510359229.9A CN104994407A (en) | 2015-06-26 | 2015-06-26 | Concentrated self-adaptive video transcoding method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510359229.9A CN104994407A (en) | 2015-06-26 | 2015-06-26 | Concentrated self-adaptive video transcoding method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104994407A true CN104994407A (en) | 2015-10-21 |
Family
ID=54306145
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510359229.9A Pending CN104994407A (en) | 2015-06-26 | 2015-06-26 | Concentrated self-adaptive video transcoding method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104994407A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107071449A (en) * | 2017-05-18 | 2017-08-18 | 北京数码视讯科技股份有限公司 | A kind of trans-coding system and method |
CN110418194A (en) * | 2019-07-19 | 2019-11-05 | 咪咕文化科技有限公司 | Video distribution method and base station |
WO2022057718A1 (en) * | 2020-09-16 | 2022-03-24 | 阿里巴巴集团控股有限公司 | Coding scheduling method, server and client terminal, and system for acquiring remote desktop |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2006078594A1 (en) * | 2005-01-19 | 2006-07-27 | Thomson Licensing | Method and apparatus for real time parallel encoding |
CN101909048A (en) * | 2009-12-08 | 2010-12-08 | 新奥特(北京)视频技术有限公司 | Centralized trans-coding treatment method and device |
CN101917384A (en) * | 2009-11-17 | 2010-12-15 | 新奥特(北京)视频技术有限公司 | Task distribution method and device for distributed transcoding system |
CN101945278A (en) * | 2010-09-15 | 2011-01-12 | 中国科学院深圳先进技术研究院 | Video self-adaptive transcoding method and system |
CN101998117A (en) * | 2009-08-13 | 2011-03-30 | 华为技术有限公司 | Video transcoding method and device |
-
2015
- 2015-06-26 CN CN201510359229.9A patent/CN104994407A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2006078594A1 (en) * | 2005-01-19 | 2006-07-27 | Thomson Licensing | Method and apparatus for real time parallel encoding |
CN101998117A (en) * | 2009-08-13 | 2011-03-30 | 华为技术有限公司 | Video transcoding method and device |
CN101917384A (en) * | 2009-11-17 | 2010-12-15 | 新奥特(北京)视频技术有限公司 | Task distribution method and device for distributed transcoding system |
CN101909048A (en) * | 2009-12-08 | 2010-12-08 | 新奥特(北京)视频技术有限公司 | Centralized trans-coding treatment method and device |
CN101945278A (en) * | 2010-09-15 | 2011-01-12 | 中国科学院深圳先进技术研究院 | Video self-adaptive transcoding method and system |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107071449A (en) * | 2017-05-18 | 2017-08-18 | 北京数码视讯科技股份有限公司 | A kind of trans-coding system and method |
CN107071449B (en) * | 2017-05-18 | 2019-12-03 | 北京数码视讯软件技术发展有限公司 | A kind of trans-coding system and method |
CN110418194A (en) * | 2019-07-19 | 2019-11-05 | 咪咕文化科技有限公司 | Video distribution method and base station |
CN110418194B (en) * | 2019-07-19 | 2022-03-25 | 咪咕文化科技有限公司 | Video distribution method and base station |
WO2022057718A1 (en) * | 2020-09-16 | 2022-03-24 | 阿里巴巴集团控股有限公司 | Coding scheduling method, server and client terminal, and system for acquiring remote desktop |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110572622B (en) | Video decoding method and device | |
CN103124353B (en) | Moving projection method and method for video coding | |
CN104702976A (en) | Video playing method and equipment | |
CN106375790A (en) | QoE-driven adaptive scheduling method of multichannel HAS code rate | |
CN110149515B (en) | Data transmission method and device | |
CN108156459A (en) | Telescopic video transmission method and system | |
CN104994407A (en) | Concentrated self-adaptive video transcoding method | |
CN110740316A (en) | Data coding method and device | |
WO2023174254A1 (en) | Video posting method and apparatus, and device and storage medium | |
US20140254688A1 (en) | Perceptual Quality Of Content In Video Collaboration | |
CN112929712A (en) | Video code rate adjusting method and device | |
CN110784731B (en) | Data stream transcoding method, device, equipment and medium | |
US20130286227A1 (en) | Data Transfer Reduction During Video Broadcasts | |
CN107229516B (en) | Data processing method and device | |
CN112104867B (en) | Video processing method, video processing device, intelligent equipment and storage medium | |
CN109660826B (en) | Video transmission method, device, equipment and storage medium | |
CN103024460A (en) | Multi-code stream self-adapting method and system | |
CN116886918A (en) | Video coding method, device, equipment and storage medium | |
CN115942009A (en) | Remote video service handling method and device based on hybrid coding | |
CN111327864A (en) | Video call control method and device, terminal equipment and storage medium | |
CN115988269A (en) | Video playing method, device, system, electronic equipment and storage medium | |
CN115767149A (en) | Video data transmission method and device | |
CN112533029B (en) | Video time-sharing transmission method, camera device, system and storage medium | |
US20150245064A1 (en) | Coding Method And Device Applied To HEVC-based 3DVC | |
CN106101739A (en) | A kind of big data based on numerical model analysis auxiliary video transmission method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20151021 |