CN1529503A - Method for selecting video flow code in video gate-link - Google Patents

Method for selecting video flow code in video gate-link Download PDF

Info

Publication number
CN1529503A
CN1529503A CNA2003101004726A CN200310100472A CN1529503A CN 1529503 A CN1529503 A CN 1529503A CN A2003101004726 A CNA2003101004726 A CN A2003101004726A CN 200310100472 A CN200310100472 A CN 200310100472A CN 1529503 A CN1529503 A CN 1529503A
Authority
CN
China
Prior art keywords
video
bit rate
gateway
conversion
carry out
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
Application number
CNA2003101004726A
Other languages
Chinese (zh)
Inventor
戴琼海
杨敬钰
丁嵘
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tsinghua University
Original Assignee
Tsinghua University
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Tsinghua University filed Critical Tsinghua University
Priority to CNA2003101004726A priority Critical patent/CN1529503A/en
Publication of CN1529503A publication Critical patent/CN1529503A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

First, client end submits video access request to video server. With permission being received, client end submits description data packet of user service to video gateway, and video server submits description data packet of program service. Determining video frame rate for the two data packets is carried out in order to convert frame rate. Determining coding format is carried out in order to convert coding format. Determining video width and video height is carried out in order to convert video size. Comparing link bandwidth from video gateway to terminal with value of bit rate of the data packet in order to update value of bit rate of the data packet. The invented method simplifies interactive procedure among media server, video gateway, and terminals, reduces image distortion occurred in procedure of converting codes, and avoids complex parameter configuration for converting device.

Description

A kind of method of selecting video stream transcoding in the video gateway
Technical field the present invention relates to a kind of method of selecting the video gateway transcoding, belongs to technical field of computer multimedia, particularly transcoding technology and coding techniques.
Background technology is along with the develop rapidly of computer hardware technology, network technology, graph and image processing technology, and people's life has been walked close in the network audiovisual gradually.Video request program (VOD), video conference, remote teaching etc. are based on network to be looked voice applications and day by day rises and seized considerable market rapidly.The keen competition in technology and market makes the wide Digital Media space of this sheet present the general layout of multiple standards, multiple product coexistence, for example by the MPEG series of Motion Picture Experts Group of International Standards Organization (hereinafter to be referred as MPEG), the H.26X series of standardization department of International Telecommunications Union exploitation, the JPEG series of rest image expert group (JPEG) exploitation etc.These standards are used for the synchronous and colored motion video of storage on VCD all towards different purposes and occasion such as MPEG1; MPEG2 is the standard of DVD, in addition also can be used for providing for broadcasting, cable TV and direct broadcasting satellite the digital video of broadcast level; H.263 can be used for occasions such as video telephone, video conference ... along with popularizing of digital video application, network, terminal equipment, media formats also will be tending towards variation, and it is more urgent that the interaction demand between them also becomes.Therefore intermediate modules such as the gateway in the network, multipoint control unit (MCU), media server all require to provide this seamless interactive function.And the transcoding of media content is realized this seamless mutual key technology just.
So-called transcoding changes into another representation with digital information from a kind of representation exactly.From eighties of last century beginning of the nineties, Video Transcoding Technology begins to become the focus of research.Early stage work concentrates on and reduces the bearing capacity of code check with adaptive channel.Along with the raising of handheld terminal chip disposal ability, looking Audio Processing on handheld terminals such as PDA(Personal Digital Assistant), mobile phone has become mature technique.But these equipment still seem small and weak compared with the disposal ability of computer processor, add the restriction of viewing area, and they all have specific requirement in spatial resolution and frame per second.Therefore, the transcoding at spatial resolution and frame per second has also obtained deep research.Because the coexistence of various standards, apparent being even more important of grammer transcoding of (for example MPEG2 to MPEG4, MPEG2 to H.263 waiting) between the different video stream.Simultaneously, because the rise of mobile multi-media service, also obtained positive concern at the fault-tolerant transcoding of wireless channel.Different occasions needs different transcoding mode, sometimes even need the combination of several transcoding mode, the mobile phone that for example contains the MPEG4 decoder is submitted order request to the server that MPEG2 coding video display are provided, and certainly will pass through spatial resolution transcoding, frame per second transcoding, MPEG2 in the middle of this and could produce the code stream that meets the mobile phone application to processes such as MPEG4 format code transferring, fault-tolerant transcodings.But up to the present, also there is not a kind of method to solve the problem of in several transcoding mode, selecting.
Summary of the invention the objective of the invention is to propose a kind of method of selecting the video gateway transcoding, automatically select transcoding to realize video gateway according to video source, terminal and channel characteristic, with the suitable transcoding mode of quick selection, the video quality that presents in transcoding rapidity and terminal carries out suitable balance.
The method of video stream transcoding in the selection video gateway that the present invention proposes may further comprise the steps:
1, client is submitted video to video server and is inserted request, if obtain access permission, then user terminal is submitted user service describing packet to video gateway by the RTSP agreement according to processor processing ability, buffer load ability, the characteristics such as size, access channel bandwidth of playing, and video server asks the characteristic parameter of program to submit program service data of description bag by real-time streaming protocol (hereinafter to be referred as RTSP) to video gateway according to the user simultaneously;
2, video gateway is done character string parsing to above-mentioned two service describing packets, obtains coded format, video width, video height, video frame rate, the bit rate of above-mentioned characteristic parameter;
3, the video frame rate of above-mentioned two service describing packets is judged,, then do not needed to carry out the conversion of frame per second, otherwise carry out the conversion of frame per second if both video frame rates are identical;
4, the coded format of above-mentioned two service describing packets is judged,, then do not needed to carry out the conversion of coded format, otherwise carry out the conversion of coded format if both coded formats are identical;
5, the video width and the video height of above-mentioned two service describing packets are judged,, then do not needed to carry out the conversion on the video size, otherwise carry out the conversion on the sdi video size if both video width is identical with video height;
6, the bit rate in the service describing packet that video gateway is sent to the bandwidth and the user terminal of terminal links compares, and the smaller is upgraded the bit-rates values of this packet;
7, the bit rate of above-mentioned two service describing packets is judged,, then do not needed to carry out the conversion of bit rate, otherwise need carry out the conversion of bit rate if both bit rates are identical;
Any one is allowed the user of access, and video gateway all needs to carry out such transcoding mode to be selected, to satisfy the demand of terminal.
In the said method, the form of user's service describing packet and program service data of description bag is
0 1 2 3
0?1?2?3?4?5?6?7?8?9?0?1?2?3?4?5?6?7?8?9?0?1?2?3?4?5?6?7?8?9?0?1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| real-time streaming protocol packet header |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| coded format | the video width | video height |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| video frame rate | bit rate | (staying expansion to use) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
In the said method, the characteristic parameter of request program comprises coded format, video width, video height, video frame rate, bit rate.
The method of the selection video gateway transcoding that the present invention proposes, its advantage is as follows:
1, designs simple service describing packet, thereby simplified the reciprocal process between media server, video gateway, the terminal;
2, use the means of transportation of RTSP as this packet, it is more easy to realize adjusting the transcoding parameter in real time making after, the while also can with the product compatibility of various stream transmissions;
3, the ingenious transcoding mode selecting sequence of having arranged of this method has reduced the image fault in the transcoding process;
4, this method does not need people's guiding just can realize the automatic selection of transcoding mode, and can select suitable parameters according to network conditions, thereby avoids carrying out the complicated parameter configuration in transcoder.
Description of drawings
Fig. 1 is the FB(flow block) of the inventive method.
Embodiment
The method of the selection video gateway transcoding that the present invention proposes, its FB(flow block) as shown in Figure 1, at first client is submitted video to video server and is inserted request, if obtain access permission, then user terminal is submitted user service describing packet to video gateway by the RTSP agreement according to processor processing ability, buffer load ability, the characteristics such as size, access channel bandwidth of playing, and video server asks the characteristic parameter of program to submit above-mentioned program service data of description bag by real-time streaming protocol (hereinafter to be referred as RTSP) to video gateway according to the user simultaneously; Video gateway is done character string parsing to above-mentioned two service describing packets, obtains coded format, video width, video height, video frame rate, the bit rate of above-mentioned characteristic parameter; Video frame rate to above-mentioned two service describing packets is judged, if both video frame rates are identical, then do not need to carry out the conversion of frame per second, otherwise carries out the conversion of frame per second; Coded format to above-mentioned two service describing packets is judged, if both coded formats are identical, then do not need to carry out the conversion of coded format, otherwise carries out the conversion of coded format; Video width and video height to above-mentioned two service describing packets judge, if both video width are identical with video height, then do not need to carry out the conversion on the video size, otherwise carry out the conversion on the sdi video size; Bit rate in the service describing packet that the frequency gateway is sent to the bandwidth and the user terminal of terminal links compares, and the smaller is upgraded the bit-rates values of this packet; Bit rate to two service describing packets is judged, if both bit rates are identical, then do not need to carry out the conversion of bit rate, otherwise need carry out the conversion of bit rate;
Any one is allowed the user of access, and video gateway all needs to carry out such transcoding mode to be selected, to satisfy the demand of terminal.
In the said method, the form of user's service describing packet and program service data of description bag is
0 1 2 3
0?1?2?3?4?5?6?7?8?9?0?1?2?3?4?5?6?7?8?9?0?1?2?3?4?5?6?7?8?9?0?1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| real-time streaming protocol packet header |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| coded format | the video width | video height |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| video frame rate | bit rate | (staying expansion to use) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
In the said method, the characteristic parameter of request program comprises coded format, video width, video height, video frame rate, bit rate.
Selecting transcoding mode is the link with video gateway indispensability of transcoding function, and the selecting sequence of how rationally to arrange transcoding mode plays important important to whole transcoding performance.At first know video source code stream information and terminal requirements code stream information by video gateway, select transcoding mode by comparing these information by resolving a pair of service describing packet.Carry out the code stream of multinomial transcodings such as video frame rate, video size, code stream form for needs, obtain better video quality according to the order of frame per second transcoding-code stream format code transferring-spatial resolution transcoding.Therefore when selecting transcoding mode, also follow this order.Because weightization is step in the end usually, therefore be also placed in last step with R-D optimization method selection quantization step.Because important parameters of R-D optimization method is exactly a target bit rate, therefore before weightization, to estimate link capacity again.
A case study on implementation of the present invention is as follows:
1 of present case configuration flow media server, 1 of client rs PC, 1 of transcoding server (doing video gateway), the operating system that streaming media server and transcoding server use is Linux Redhat8.0, and client rs PC is used Windows2000Professional operating system.
1, user side PC submits order request to streaming media server, and certificate server judges user's legitimacy, allows this client's access request;
2, the body server information that reads request program generates service information data bag (code stream form=" MPEG2 ", video width=720, video height=480, video frame rate=30fps, bit rate=3Mbps), and give video gateway;
3, the family end generates service information data bag (code stream form=" MPEG4 ", video width=352, video height=288, video frame rate=15fps, bit rate=750Kbps), and give video gateway according to the requirement of decoder, player;
4, gateway is resolved above-mentioned two service information data bags, and compares, and has made the selection of frame per second transcoding-code stream format code transferring-video size transcoding;
5, gateway uses the method for surveying based on receiving terminal to estimate to such an extent that available bandwidth is 700Kbps, therefore need quantize to make bit rate be tending towards 700Kbps as far as possible with the R-D method;
6, the gateway transcoding mode is selected to finish, and streaming media server begins to provide service, and the video gateway transcoder starts, and receiving terminal begins receiver, video bag reposefully.

Claims (4)

1, a kind of method of selecting video stream transcoding in the video gateway is characterized in that this method may further comprise the steps:
(1) client is submitted video to video server and is inserted request, if obtain access permission, then user terminal is submitted user's service describing packet to video gateway, and video server asks the characteristic parameter of program to submit program service data of description bag to video gateway according to the user simultaneously;
(2) video gateway is done character string parsing to above-mentioned two service describing packets, obtains coded format, video width, video height, video frame rate and the bit rate of above-mentioned characteristic parameter;
(3) video frame rate of above-mentioned two service describing packets is judged,, then do not needed to carry out the conversion of frame per second, otherwise carry out the conversion of frame per second if both video frame rates are identical;
(4) coded format of above-mentioned two service describing packets is judged,, then do not needed to carry out the conversion of coded format, otherwise carry out the conversion of coded format if both coded formats are identical;
(5) the video width and the video height of above-mentioned two service describing packets are judged,, then do not needed to carry out the conversion of video size, otherwise carry out the conversion of sdi video size if both video width are identical with video height;
(6) bit rate in the service describing packet that video gateway is sent to the bandwidth between the terminal links and user terminal compares, and bit rate value minimal data bag carries out bit rate to be upgraded;
(7) bit rate of above-mentioned two service describing packets is judged,, then do not needed to carry out the conversion of bit rate, otherwise carry out the conversion of bit rate if both bit rates are identical.
2, the method for claim 1 is characterized in that video server submits program service data of description bag by real-time streaming protocol to video gateway.
3, the method for claim 1 is characterized in that the form of above-mentioned user's service describing packet and program service data of description bag is:
0 1 2 3
0 1?2?3?4?5?6?7?8?9?0?1?2?3?4?5?6?7?8?9?0?1?2?3?4?5?6?7?8?9?0?1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| real-time streaming protocol packet header |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| coded format | the video width | video height |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| video frame rate | bit rate | (staying expansion to use) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
4, the method for claim 1 is characterized in that, the user asks the characteristic parameter of program to comprise coded format, video width, video height, video frame rate and bit rate.
CNA2003101004726A 2003-10-17 2003-10-17 Method for selecting video flow code in video gate-link Pending CN1529503A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2003101004726A CN1529503A (en) 2003-10-17 2003-10-17 Method for selecting video flow code in video gate-link

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2003101004726A CN1529503A (en) 2003-10-17 2003-10-17 Method for selecting video flow code in video gate-link

Publications (1)

Publication Number Publication Date
CN1529503A true CN1529503A (en) 2004-09-15

Family

ID=34304056

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2003101004726A Pending CN1529503A (en) 2003-10-17 2003-10-17 Method for selecting video flow code in video gate-link

Country Status (1)

Country Link
CN (1) CN1529503A (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100375533C (en) * 2004-03-10 2008-03-12 浙江大学 Adaptive video transcoding gateway having multiple transforming functions
WO2008106884A1 (en) * 2007-03-05 2008-09-12 Huawei Technologies Co., Ltd. A method, entity and system for recording media stream
CN100442849C (en) * 2006-03-28 2008-12-10 中山大学 Apparatus and method for making digital domestic network terminal capable of playing multiple-media format
CN101184195B (en) * 2007-12-25 2010-04-14 腾讯科技(深圳)有限公司 Audio/video living broadcast system and method
CN101795401A (en) * 2010-03-19 2010-08-04 中兴通讯股份有限公司 Method and system for transmitting video streaming medium
CN101207500B (en) * 2006-12-21 2010-09-01 中兴通讯股份有限公司 Method for acoustic frequency data inflexion
CN101184112B (en) * 2007-12-20 2010-12-29 腾讯科技(深圳)有限公司 Multimedia information transmission release system and method for releasing multimedia information thereof
CN101945278A (en) * 2010-09-15 2011-01-12 中国科学院深圳先进技术研究院 Video self-adaptive transcoding method and system
CN102014284A (en) * 2010-12-10 2011-04-13 中兴通讯股份有限公司 Method, system and device for acquiring parameter set value of video code stream in transcoding business
CN102075528A (en) * 2010-12-27 2011-05-25 上海聚欣网络科技有限公司 Method and equipment for playing network multimedia files of multiple encapsulation formats
CN102202229A (en) * 2011-05-18 2011-09-28 北京瀚景锦河科技有限公司 Method and device for real-time video gateway
CN102347047A (en) * 2010-07-30 2012-02-08 腾讯科技(深圳)有限公司 Media player detection method and apparatus thereof
CN102547382A (en) * 2010-12-14 2012-07-04 腾讯科技(深圳)有限公司 Method and device for providing video files for format-limited video-playing terminals
CN101047853B (en) * 2006-03-30 2012-12-05 株式会社东芝 Server apparatus and video transmission method
CN102045553B (en) * 2009-10-09 2013-10-09 腾讯科技(深圳)有限公司 Multimedia transcoding device and method and multimedia player
CN101243658B (en) * 2005-08-23 2015-07-01 索尼爱立信移动通讯股份有限公司 Communication terminals with pull-based digital information distribution capability and pull-based methods for digital information distribution

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100375533C (en) * 2004-03-10 2008-03-12 浙江大学 Adaptive video transcoding gateway having multiple transforming functions
CN101243658B (en) * 2005-08-23 2015-07-01 索尼爱立信移动通讯股份有限公司 Communication terminals with pull-based digital information distribution capability and pull-based methods for digital information distribution
CN100442849C (en) * 2006-03-28 2008-12-10 中山大学 Apparatus and method for making digital domestic network terminal capable of playing multiple-media format
CN101047853B (en) * 2006-03-30 2012-12-05 株式会社东芝 Server apparatus and video transmission method
CN101207500B (en) * 2006-12-21 2010-09-01 中兴通讯股份有限公司 Method for acoustic frequency data inflexion
CN101262583B (en) * 2007-03-05 2011-06-15 华为技术有限公司 Recording method, entity and system for media stream
WO2008106884A1 (en) * 2007-03-05 2008-09-12 Huawei Technologies Co., Ltd. A method, entity and system for recording media stream
CN101184112B (en) * 2007-12-20 2010-12-29 腾讯科技(深圳)有限公司 Multimedia information transmission release system and method for releasing multimedia information thereof
CN101184195B (en) * 2007-12-25 2010-04-14 腾讯科技(深圳)有限公司 Audio/video living broadcast system and method
CN102045553B (en) * 2009-10-09 2013-10-09 腾讯科技(深圳)有限公司 Multimedia transcoding device and method and multimedia player
CN101795401A (en) * 2010-03-19 2010-08-04 中兴通讯股份有限公司 Method and system for transmitting video streaming medium
CN102347047A (en) * 2010-07-30 2012-02-08 腾讯科技(深圳)有限公司 Media player detection method and apparatus thereof
CN101945278A (en) * 2010-09-15 2011-01-12 中国科学院深圳先进技术研究院 Video self-adaptive transcoding method and system
CN102014284B (en) * 2010-12-10 2014-09-10 中兴通讯股份有限公司 Method, system and device for acquiring parameter set value of video code stream in transcoding business
CN102014284A (en) * 2010-12-10 2011-04-13 中兴通讯股份有限公司 Method, system and device for acquiring parameter set value of video code stream in transcoding business
WO2012075968A1 (en) * 2010-12-10 2012-06-14 中兴通讯股份有限公司 Method, system and device for acquiring parameter set value of video code stream in transcoding service
CN102547382A (en) * 2010-12-14 2012-07-04 腾讯科技(深圳)有限公司 Method and device for providing video files for format-limited video-playing terminals
CN102075528A (en) * 2010-12-27 2011-05-25 上海聚欣网络科技有限公司 Method and equipment for playing network multimedia files of multiple encapsulation formats
CN102075528B (en) * 2010-12-27 2014-12-10 上海聚欣网络科技有限公司 Method and equipment for playing network multimedia files of multiple encapsulation formats
CN102202229B (en) * 2011-05-18 2014-02-19 北京瀚景锦河科技有限公司 Method and device for real-time video gateway
CN102202229A (en) * 2011-05-18 2011-09-28 北京瀚景锦河科技有限公司 Method and device for real-time video gateway

Similar Documents

Publication Publication Date Title
CN1217530C (en) Data transmission
CN1192629C (en) System and method for improved fine granular scalable video using base layer coding information
CN1973545B (en) Multiple interoperability points for scalable media coding and transmission
CN1529503A (en) Method for selecting video flow code in video gate-link
CN101189882B (en) Method and apparatus for encoder assisted-frame rate up conversion (EA-FRUC) for video compression
CN1242623C (en) Video coding
KR100556911B1 (en) Video data format for wireless video streaming service
US20010047517A1 (en) Method and apparatus for intelligent transcoding of multimedia data
CN1171158C (en) Mobile method of activ image in video program requesting system
CN1910926A (en) Method and apparatus for handling video communication errors
CN103843301A (en) Switching between representations during network streaming of coded multimedia data
CN101077011A (en) System and method for real-time transcoding of digital video for fine-granular scalability
CN1787639A (en) Optical network for bi-directional wireless communication
CN1960260A (en) Method for providing IPTV service for different type terminals, and IPTV service system
CN1668109A (en) Adaptive video transcoding gateway having multiple transforming functions
US20090207918A1 (en) Method and apparatus for video transcoding
CN1717935A (en) I-picture insertion on request
US20080212682A1 (en) Reduced resolution video transcoding with greatly reduced complexity
CN1801885A (en) Multimedia signal matching system and method for performing picture-in-picture function
CN1860791A (en) System and method for combining advanced data partitioning and fine granularity scalability for efficient spatio-temporal-snr scalability video coding and streaming
CN1472959A (en) Device and method for realizing conversion between various VF flow formats
CN1829316A (en) Method for transmitting moving picture data to mobile terminal using pseudo-streaming technology
CN1668110A (en) Method and apparatus for improving the average image refresh rate in a compressed video bitstream
KR20090085636A (en) Method and system for scalable bitstream extraction
CN1992886A (en) Streaming media server with bandwidth adapting function

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication