CN107332830A - Video code conversion, video broadcasting method and device, computer equipment, storage medium - Google Patents

Video code conversion, video broadcasting method and device, computer equipment, storage medium Download PDF

Info

Publication number
CN107332830A
CN107332830A CN201710466100.7A CN201710466100A CN107332830A CN 107332830 A CN107332830 A CN 107332830A CN 201710466100 A CN201710466100 A CN 201710466100A CN 107332830 A CN107332830 A CN 107332830A
Authority
CN
China
Prior art keywords
video
video flowing
information
image analysis
server
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.)
Granted
Application number
CN201710466100.7A
Other languages
Chinese (zh)
Other versions
CN107332830B (en
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201710466100.7A priority Critical patent/CN107332830B/en
Publication of CN107332830A publication Critical patent/CN107332830A/en
Application granted granted Critical
Publication of CN107332830B publication Critical patent/CN107332830B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • H04L65/765
    • H04L65/65
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements or protocols for real-time communications
    • H04L65/80QoS aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements or protocols for real-time communications
    • H04L65/60Media handling, encoding, streaming or conversion
    • H04L65/75

Abstract

A kind of video transcoding method and device, video broadcasting method and device, computer equipment and storage medium, the video transcoding method of one embodiment include:Receive the first video flowing that collection terminal is uploaded;According to the first transport protocol message between the collection terminal and server, the first decapsulation processing is carried out to first video flowing, the second video flowing is obtained;According to the second transport protocol message between server and playback terminal, second video flowing is packaged, the 3rd video flowing is obtained, and the 3rd video is flowed into playback terminal transmission;Graphical analysis is carried out to second video flowing, image analysis result is obtained, image analysis information is sent to the playback terminal according to described image analysis result.This embodiment scheme improves the picture quality of the video played out after transcoding, and helps to reduce the processing load of server.

Description

Video code conversion, video broadcasting method and device, computer equipment, storage medium
Technical field
The present invention relates to video technique field, more particularly to a kind of video transcoding method, a kind of video code conversion device, one Plant video broadcasting method, a kind of video play device, a kind of computer equipment and a kind of storage medium.
Background technology
In fields such as current intelligent monitoring, live, the intelligent picture recognitions of face stage property, it will usually which it is right according to demand to need Video flowing carries out transcoding processing.Traditional transcoding processing mode, is that original video stream is first decoded, and is then recompiled again to be new Video flowing.With the increase of intelligent use, after being decoded to original video stream, in addition it is also necessary to carry out video point to video flowing Analysis, and the result of video analysis is presented to user.For this demand of intelligent use, based on traditional video code conversion side Formula, is that video flowing is first decoded by server, and does graphical analysis to decoded every two field picture, then by image analysis result Decoded video flowing and the re-compression and encoding of being added to are new video flowing, and are sent to each terminal and are presented to user.This Planting video code conversion mode needs to carry out secondary coding, picture quality is seriously reduced, while also increasing the burden of server.
The content of the invention
Based on this, the embodiment of the present invention provides a kind of video transcoding method, a kind of video code conversion device, a kind of video playback Method, a kind of video play device, a kind of computer equipment and a kind of storage medium, to improve regarding of being played out after transcoding The picture quality of frequency, and help to reduce the processing load of server.
A kind of video transcoding method, applied to server, including step:
Receive the first video flowing that collection terminal is uploaded;
According to the first transport protocol message between the collection terminal and server, first is carried out to first video flowing Decapsulation is handled, and obtains the second video flowing;
According to the second transport protocol message between server and playback terminal, second video flowing is packaged, The 3rd video flowing is obtained, and the 3rd video is flowed into playback terminal and is sent;
To second video flowing carry out graphical analysis, obtain image analysis result, according to described image analysis result to The playback terminal sends image analysis information.
A kind of video broadcasting method, applied to playback terminal, including step:
The 3rd video flowing that the reception server is sent, and believed according to the second host-host protocol between server and playback terminal Breath, the second decapsulation processing is carried out to the 3rd video flowing, obtains the second video flowing;
Receive the image analysis information associated with second video flowing that the server is sent;
Played out after described image analysis information is added into second video flowing.
A kind of video code conversion device, applied to server, including:
First receiving module, the first video flowing for receiving collection terminal upload;
First decapsulation module, for according to the first transport protocol message between the collection terminal and server, to institute State the first video flowing and carry out the first decapsulation processing, obtain the second video flowing;
Package module, for according to the second transport protocol message between server and playback terminal, being regarded to described second Frequency stream is packaged, and obtains the 3rd video flowing, and the 3rd video is flowed into playback terminal transmission;
Image analysis module, for carrying out graphical analysis to second video flowing, obtains image analysis result;
Information sending module is analyzed, for sending graphical analysis letter to the playback terminal according to described image analysis result Breath.
A kind of video play device, applied to playback terminal, including:
Second receiving module, the 3rd video flowing sent for the reception server, and according to server and playback terminal it Between the second transport protocol message, to the 3rd video flowing carry out the second decapsulation processing, obtain the second video flowing;
Information receiving module is analyzed, for receiving the image associated with second video flowing point that the server is sent Analyse information;
Playing module is superimposed, for being played out after described image analysis information is added into second video flowing.
A kind of computer equipment, including memory, processor and be stored on the memory and can be in the processing The computer program run on device, realizes method as described above during computer program described in the computing device.
A kind of computer-readable storage medium, is stored thereon with computer program, is realized as above when the program is executed by processor Described method.
Based on the scheme of embodiment as described above, server is receiving the first video flowing and base of collection terminal upload After first decoding video stream is the second video flowing by the first transport protocol message between collection terminal, it will directly be regarded to second Frequency stream is encapsulated as after the 3rd video flowing sending playback terminal with the second transport protocol message between playback terminal, and server is another One side carries out graphical analysis to above-mentioned second video flowing and obtains image analysis result, and whole to playing based on image analysis result End sends image analysis information, and playback terminal receives the 3rd video flowing and image analysis information respectively, and to the 3rd video flowing solution Code, which obtains image analysis information is added into the second video flowing after the second video flowing, to be played out, so that, server is being regarded During frequency transcoding, although having carried out the processing of graphical analysis, it is not necessarily based on image analysis result and video is flowed into Row secondary coding, so as to reduce the processing load of server, and improves the efficiency of video code conversion, saves transcoding resource, When playback terminal is played out, directly image analysis information is added in the second video flowing and played out, improved and turn The picture quality of the video played out after code.
Brief description of the drawings
Fig. 1 is the schematic diagram of the working environment of a this embodiment scheme;
Fig. 2 is the schematic diagram of the composition structure of the server of one embodiment;
Fig. 3 is the schematic diagram of the composition structure of the playback terminal of one embodiment;
Fig. 4 is the schematic flow sheet of the video transcoding method of one embodiment;
Fig. 5 is the schematic flow sheet of the video broadcasting method of one embodiment;
Fig. 6 is the schematic diagram of the interaction flow based on this embodiment scheme in a concrete application example;
Fig. 7 is the process structure schematic diagram in a concrete application based on Fig. 6 example showns;
Fig. 8 is the structural representation of the video code conversion device of one embodiment;
Fig. 9 is the structural representation of the video play device of one embodiment.
Embodiment
For the objects, technical solutions and advantages of the present invention are more clearly understood, below in conjunction with drawings and Examples, to this Invention is described in further detail.It should be appreciated that embodiment described herein is only to explain the present invention, Do not limit protection scope of the present invention.
Unless otherwise defined, all of technologies and scientific terms used here by the article is with belonging to technical field of the invention The implication that technical staff is generally understood that is identical.Term used in the description of the invention herein is intended merely to description tool The purpose of the embodiment of body, it is not intended that in the limitation present invention.Term as used herein " and/or " include one or more phases The arbitrary and all combination of the Listed Items of pass.
Fig. 1 shows the working environment schematic diagram in one embodiment of the invention, as shown in figure 1, its working environment is related to Acquisition terminal 101, server 102 and playback terminal 103, acquisition terminal 101, playback terminal 103 can lead to server 102 Network is crossed to be communicated.After video stream to the server 102 that acquisition terminal 101 is gathered, broadcasting is forwarded to by server 102 Terminal 103 is played out.Communication mode between acquisition terminal 101 and server 102, for example with communication protocol or number , can be with identical with the communication mode between playback terminal 103 and server 102 according to tunneling, can also be different.In difference When, server 102 is needed to carry out transcoding to the video flowing that acquisition terminal 101 is sent so that playback terminal 103 can be parsed correctly And decode correct video stream data and play out.The acquisition terminal 101 can any can be gathered video data and will adopt Collect equipment of the video data with video stream to server obtained, as shown in figure 1, can be mobile terminal, such as mobile phone, Tablet personal computer, can also be personal computer, can also image the first-class equipment for realizing video monitoring.
Fig. 2 is the composition structural representation of server 102 in one embodiment.As shown in Fig. 2 server is included by being Processor, power supply module, storage medium, internal memory and the communication interface of bus of uniting connection.Wherein, the processor is used to provide calculating And control ability, support the operation of whole server.Be stored with operating system, database and one kind of the storage medium of server is regarded The computer applied algorithm of frequency transcoding device, when the computer applied algorithm of the video code conversion device is executed by processor, is realized A kind of video transcoding method.The operation that the video code conversion device in storage medium is saved as in server provides environment, communication Interface is used for carrying out network service with collection terminal and playback terminal.It will be understood by those skilled in the art that the knot shown in Fig. 2 Structure, is only the block diagram of the part-structure related to embodiment scheme, does not constitute and this embodiment scheme is applied thereon Server restriction, specific server can include than more or less parts shown in figure, or combine some portions Part, or arranged with different parts.
The structural representation of playback terminal 103 in one embodiment is as shown in Figure 3.The playback terminal 103 includes passing through Processor, non-volatile memory medium, communication interface, power interface and the internal memory of system bus connection.Wherein, playback terminal 103 processor, which is used to provide, to be calculated and control ability, supports the operation of whole playback terminal 103.Playback terminal 103 it is non-easily The property lost storage medium is stored with operating system and a kind of computer applied algorithm of video play device, the video play device quilt During computing device, a kind of video broadcasting method is realized.The memory of playback terminal 103 is regarding in non-volatile memory medium The operation of frequency playing device provides environment, should.The network interface of playback terminal 103 is used to pass through network connection with server 102 And communication, the power interface of playback terminal 103 with external power source for being connected, and external power source is whole to playing by the power interface End 103 powers.Playback terminal 103 can be any equipment that can realize video playback, such as personal computer, movement Terminal, such as mobile phone, tablet personal computer etc.;Can also be other equipment with said structure.
The schematic flow sheet of the video transcoding method in one embodiment is shown in Fig. 4, this method is applied to server 102, as shown in figure 4, the video transcoding method in the embodiment includes:
Step S401:Receive the first video flowing that collection terminal is uploaded;
Step S402:According to the first transport protocol message between the collection terminal and server, to first video Stream carries out the first decapsulation processing, obtains the second video flowing;
Step S403:According to the second transport protocol message between server and playback terminal, to second video flowing It is packaged, obtains the 3rd video flowing, and the 3rd video is flowed into playback terminal transmission;
Step S404:Graphical analysis is carried out to second video flowing, image analysis result is obtained, according to described image point Analyse result and send image analysis information to the playback terminal.
It is appreciated that above-mentioned steps S404 obtains second with step S403 and without sequencing in step S402 After video flowing, step S403 process can be with parallel processing with step S404 process.
Scheme based on the embodiment, although server has carried out image analysis processing, it is not necessarily based on image point Analyse result and secondary coding is carried out to video flowing, help to reduce the processing load of server, improve the efficiency of video code conversion, take 3rd video flowing and image analysis information are given to playback terminal by business device, so that when playback terminal is played out, directly by image Analysis information, which is added in the second video flowing, to be played out, and improves the picture quality of the video played out after transcoding.
Wherein, in above-mentioned image analysis information, the position to be shown in the frame of video of second video flowing can be carried The positional information put.So that playback terminal is after image analysis information is received, the positional information can be based on, by phase After pass information is added in the frame of video of the correspondence position in the second video flowing, then play out.
In one example, after above-mentioned acquisition image analysis result, graphical analysis letter is sent to the playback terminal Before breath, step can also be included:Information categorization and/or demarcation processing are carried out to described image analysis result.Now, above-mentioned figure As analysis information includes the result after described information classification and/or demarcation processing.
Fig. 5 shows the schematic flow sheet of the video broadcasting method in one embodiment, and this method is applied to playback terminal. As shown in figure 5, the video broadcasting method in the embodiment includes:
Step S501:The 3rd video flowing that the reception server is sent, and according to second between server and playback terminal Transport protocol message, the second decapsulation processing is carried out to the 3rd video flowing, obtains the second video flowing;
Step S502:Receive the image analysis information associated with second video flowing that the server is sent;
Step S503:Played out after described image analysis information is added into second video flowing.
So as to, for playback terminal, it is to receive the 3rd video flowing and image analysis information respectively from server, and Played out after the second video flowing that image information is added to after handling the 3rd video flowing decapsulation, i.e. it is from service The 3rd video flowing that device is received does not have superimposed image analysis information, it is ensured that the image matter of the video played out after transcoding Amount.
Wherein, in above-mentioned image analysis information, the position to be shown in the frame of video of second video flowing can be carried The positional information put.So that playback terminal is after image analysis information is received, the positional information can be based on, by phase After pass information is added in the frame of video of the correspondence position in the second video flowing, then play out.
Based on embodiment as described above, Fig. 6 shows the friendship based on this embodiment scheme in a concrete application example The schematic diagram of mutual flow, it includes step S601 to step S608, schematic diagram such as Fig. 7 of the process structure of corresponding concrete application It is shown.It is with while containing the video code conversion process of server and the video playback mistake of playback terminal in shown in Fig. 6, Fig. 7 Illustrated exemplified by journey.
With reference to shown in Fig. 6, Fig. 7, in step s 601, collection terminal is being needed to server after video data is collected When sending video flowing, the video data of collection is sent to server in the way of video flowing.In order to by video streaming To server, collection terminal is needed based on its host-host protocol between server (for ease of server between playback terminal Host-host protocol distinguish, turn into the first host-host protocol in this example), video flowing is packaged, the first host-host protocol is used in acquisition It is referred to as the first video flowing in video flowing after encapsulation, this example, then will be to the first video stream to server.Collection terminal can Or the first video flowing may be packaged into when need any and be sent to server, specific limit is not done in the present embodiment It is fixed.For example, for field of video monitoring, when the collection terminal is video monitoring equipment, collection terminal can be every one The video data collected is just sent to server by the period in the way of the first video flowing, to embody the real-time of video monitoring Property.For net cast field, collection terminal can to carry out live terminal device, can be open it is live it Afterwards, then by the live video data of collection send to server.The field of video data is sent the need for other, can also be The other desired moment sends video flowing.
Server is received after the first video flowing of collection terminal upload, in step S602, according to server and collection The information of the first host-host protocol communicated is held, the first decapsulation processing is carried out to the first video flowing, first is obtained and decapsulates It is referred to as the second video flowing in video flowing after processing, this example.It is appreciated that collection terminal takes in order to which video data transmission is given Device be engaged in, it is necessary to be packaged using the first host-host protocol between collection terminal and server to the video data of collection, i.e., first Include the related words for being related to the first host-host protocol being packaged based on the first host-host protocol to video data in video flowing Section.When carrying out the first decapsulation processing, by being parsed to these relevant fields, it is hereby achieved that it is actual completely Video data, it is this not on the first host-host protocol field video data, as above-mentioned second video flowing.
Server is after the second video flowing is obtained, on the one hand, in step S603, according between server and playback terminal The second transport protocol message, second video flowing is packaged, the 3rd video flowing is obtained, and in step s 604 by institute State the 3rd video and flow to playback terminal transmission.It can be seen that, the video data in the 3rd video flowing that server is sent to playback terminal, It is original video data, other information is not superimposed, so as to is favorably improved the play quality of video.
Server is after the second video flowing is obtained, and on the other hand, in step s 605, server is also to second video flowing Graphical analysis is carried out, image analysis result is obtained.After image analysis result is obtained, image analysis result can also be carried out Information categorization and/or demarcation processing.
The specific process that graphical analysis is carried out to the second video flowing, can be entered by the way of any progress graphical analysis OK, as long as resulting in correspondence image analysis result.The mode of specific graphical analysis, can have with the field applied Close.
In one example, can as shown in Figure 7 flow into the second video exemplified by applying in field of video monitoring The decoding of row video is converted to after YUV (also known as YCrCb, a kind of colour coding method) form, and image preprocessing, figure are carried out successively As feature extraction, characteristic value determine and obtained the processing of Intelligent Recognition information, in other examples, it would however also be possible to employ its His mode carries out image analysis processing.Now, the image analysis result of above-mentioned acquisition can be whether corresponding target prison The result of control event, for example, if target monitoring personage occur, target object whether occur, target accident whether occur Deng.The specific mode to image characteristics extraction, can be carried out using existing any possible mode, such as based on depth The mode of habit, the mode of cascade sort.After whether acquisition has the result of corresponding target monitoring event, it can also be divided , e.g. there is target monitoring personage and target accident still occur in class and demarcation processing, so as to obtain final intelligence knowledge Other information, i.e., above-mentioned image analysis information.It is appreciated that the image analysis information can include whether target occur based on above-mentioned Monitoring personage, the information for target object whether occur, the analysis result of target accident etc. whether occur, such as occurring The specific markers (such as watermark, special efficacy, sound) of target monitoring personage, for there is the specific markers of target accident (such as water Print, special efficacy, sound), while also include positional information of each information relative to the second video flowing, it is specific in order to navigate to Frame of video.
In one example, exemplified by being applied to net cast field, its graphical analysis mode can be can with it is above-mentioned For the processing of monitor video similar mode, for example whether there is target monitoring personage, target object whether occur, whether occur Target accident etc., can realize the security audit to live video stream accordingly.In net cast field, there can also be it He intellectual analysis processing, such as in live video stream add advertisement, addition watermark, addition special efficacy, it is live during gift Thing information, it is live during the information of commodity sold etc..The image analysis information finally obtained can include based on upper State the letter for target monitoring personage whether occur, target object whether occur, the analysis result of target accident etc. whether occur Breath, such as there are the specific markers of target monitoring personage (such as watermark, special efficacy, sound), for there is target accident Specific markers (such as watermark, special efficacy, sound), while can also have the advertisement added in itself for the second video flowing, watermark, spy Effect, present, the information of commodity, while also including the position of each information position to be shown in the frame of video of the second video flowing Information, in order to navigate to the position in specific frame of video and frame of video.For needing the mistake in whole video render Situation about all being shown in journey, its corresponding positional information can be sky, with give tacit consent to indicate to need whole display or The label information of whole display is carried out the need for positional information is set into setting.It is appreciated that in other embodiments, also may be used To be to set the needs to carry out the label information of whole display in the other positions of image analysis information.
In one example, exemplified by being applied to educational video field, it carries out the image point obtained after graphical analysis Result is analysed, can be the relevant informations such as some mark, watermark, special efficacys of addition, while also including each information relative to second The positional information of position in the frame of video of video flowing, in order to navigate to the position in specific frame of video and frame.
It can be seen that, in the scheme of the present embodiment, service implement body carries out analyzing the mode for obtaining image analysis information can be with Carried out using various possible modes, the different modes for obtaining image analysis information may apply to the video of the present embodiment During transcoding, as long as final result in is easy to playback terminal to be added to the graphical analysis played out on the second video flowing Information.It is appreciated that the image analysis information carries positional information, the positional information can be vector position information.
After image analysis information is obtained, in step S606, the image information can be also sent to broadcasting by server Terminal, is easy to playback terminal to play out.
Playback terminal is after the 3rd video flowing is received, in step S607, according between server and playback terminal The second transport protocol message, to the 3rd video flowing carry out the second decapsulation processing, obtain the second video flowing.Playback terminal also connects Receive the image analysis information associated with the second video flowing that server is sent.It is appreciated that playback terminal receives the 3rd video flowing With the process of image analysis information, and may not have strict sequencing as shown in Figure 6, for example, being regarded receiving the 3rd During frequency flows, while image analysis information is received, as long as when carrying out intelligent connecting or to add image analysis information, The video flowing and image analysis information of correspondence position have been received by.In some application scenarios, decapsulated above-mentioned Can also be after yuv format, then to carry out intelligent connecting processing by second decoding video stream to after the second video flowing.
Then, in step S608, playback terminal carries out intelligence to the image analysis information received and the second video flowing Image analysis information, i.e., be added in the second video flowing, in order to which image analysis information can be based on the second video flowing by splicing Broadcasting and play display.The specific mode for carrying out intelligent connecting, can be carried out using any possible mode, for example based on The positional information carried in image analysis information, corresponding information is added to the corresponding position of the second video flowing, specifically Intelligent connecting or the mode of addition, the present embodiment are not specifically limited.
It can be seen that, the mode as described above based on the present embodiment, server does not carry out two in transcoding process to video Secondary coding, improves picture quality, and reduces the processing load of server, and improves the efficiency of video code conversion, Er Qiejie Transcoding resource is saved;And playback terminal is to be added to the second video flowing after the image analysis information of server transmission is received In, so that playback terminal can realize personalization according to various demand sweetly dispositions.
Fig. 8 shows the structural representation of the video code conversion device in one embodiment, and the video code conversion device is arranged at Server.As shown in figure 8, the device in the embodiment includes:
First receiving module 801, the first video flowing for receiving collection terminal upload;
First decapsulation module 802 is right for according to the first transport protocol message between the collection terminal and server First video flowing carries out the first decapsulation processing, obtains the second video flowing;
Package module 803, for according to the second transport protocol message between server and playback terminal, to described second Video flowing is packaged, and obtains the 3rd video flowing, and the 3rd video is flowed into playback terminal transmission;
Image analysis module 804, for carrying out graphical analysis to second video flowing, obtains image analysis result;
Information sending module 805 is analyzed, for sending image point to the playback terminal according to described image analysis result Analyse information.
It is appreciated that the processing procedure of above-mentioned package module 803 and image analysis module 804 and without sequencing, After the first decapsulation module 802 obtains the second video flowing, package module 803 can be located parallel with image analysis module 804 Reason.
Scheme based on the embodiment, although server has carried out image analysis processing, it is not necessarily based on image point Analyse result and secondary coding carried out to video flowing, so as to reduce the processing load of server, and improve the efficiency of video code conversion, Transcoding resource is saved, the 3rd video flowing and image analysis information are given to playback terminal by server, so that playback terminal is carried out During broadcasting, directly image analysis information is added in the second video flowing and played out, improves and is played out after transcoding Video picture quality.
Wherein, in above-mentioned image analysis information, the position to be shown in the frame of video of second video flowing can be carried The positional information put.So that playback terminal is after image analysis information is received, the positional information can be based on, by phase Played out in the frame of video for closing the correspondence position that information is added in the second video flowing.
In one example, as shown in figure 8, the video code conversion device in the embodiment can also include:
Processing module 806, for carrying out information categorization and/or demarcation processing to described image analysis result.
Now, above-mentioned image analysis information includes the result after described information classification and/or demarcation processing.
Fig. 9 shows the structural representation of the video play device in one embodiment, the video play device set or Applied to playback terminal.As shown in figure 9, the video play device in the embodiment includes:
Second receiving module 901, the 3rd video flowing sent for the reception server, and according to server and playback terminal Between the second transport protocol message, to the 3rd video flowing carry out the second decapsulation processing, obtain the second video flowing;
Information receiving module 902 is analyzed, for receiving the figure associated with second video flowing that the server is sent As analysis information;
Playing module 903 is superimposed, for being played out after described image analysis information is added into second video flowing.
So as to, for playback terminal, it is to receive the 3rd video flowing and image analysis information respectively from server, and Played out after the second video flowing that image information is added to after handling the 3rd video flowing decapsulation, i.e. it is from service The 3rd video flowing that device is received does not have superimposed image analysis information, it is ensured that the image matter of the video played out after transcoding Amount.
Wherein, in above-mentioned image analysis information, the position to be shown in the frame of video of second video flowing can be carried The positional information put.So that playback terminal is after image analysis information is received, the positional information can be based on by phase Information is closed to be added in the frame of video of the correspondence position in the second video flowing.
It is appreciated that the specific implementation of each module in video code conversion device, video play device, can use with Identical mode is handled in above method embodiment.
Based on example as described above, a kind of computer equipment is also provided in one embodiment, the computer equipment bag Include memory, processor and store the computer program that can be run on a memory and on a processor, wherein, computing device The method in any one embodiment in each embodiment as described above is realized during described program.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with The hardware of correlation is instructed to complete by computer program, it is non-volatile computer-readable that described program can be stored in one Take in storage medium, in such as embodiment of the present invention, the program can be stored in the storage medium of computer system, and is calculated by this At least one computing device in machine system, to realize the flow for including the embodiment such as above-mentioned each method.Wherein, it is described Storage medium can be magnetic disc, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
Accordingly, a kind of storage medium is also provided in one embodiment, computer program is stored thereon with, wherein, the journey The method in any one embodiment in each embodiment as described above is realized when sequence is executed by processor.
Each technical characteristic of embodiment described above can be combined arbitrarily, to make description succinct, not to above-mentioned reality Apply all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited In contradiction, the scope of this specification record is all considered to be.
Embodiment described above only expresses the several embodiments of the present invention, and it describes more specific and detailed, but simultaneously Can not therefore it be construed as limiting the scope of the patent.It should be pointed out that coming for one of ordinary skill in the art Say, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the protection of the present invention Scope.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.

Claims (14)

1. a kind of video transcoding method, applied to server, it is characterised in that including step:
Receive the first video flowing that collection terminal is uploaded;
According to the first transport protocol message between the collection terminal and server, first is carried out to first video flowing and is unsealed Dress processing, obtains the second video flowing;
According to the second transport protocol message between server and playback terminal, second video flowing is packaged, obtained 3rd video flowing, and the 3rd video is flowed into playback terminal transmission;
Graphical analysis is carried out to second video flowing, image analysis result is obtained, according to described image analysis result to described Playback terminal sends image analysis information.
2. video transcoding method according to claim 1, it is characterised in that:Also include step:Described image is analyzed and tied Fruit carries out information categorization and/or demarcation processing;
Described image analysis information includes the result after described information classification and/or demarcation processing.
3. video transcoding method according to claim 1 or 2, it is characterised in that:Described image analysis information, which is carried, to be waited to show Show the positional information of the position in the frame of video of second video flowing.
4. video transcoding method according to claim 3, it is characterised in that needing the process in whole video render In when all being shown, the positional information is empty or be set to the label information that needs to carry out whole display.
5. a kind of video broadcasting method, applied to playback terminal, it is characterised in that including step:
The 3rd video flowing that the reception server is sent, and according to the second transport protocol message between server and playback terminal, Second decapsulation processing is carried out to the 3rd video flowing, the second video flowing is obtained;
Receive the image analysis information associated with second video flowing that the server is sent;
Played out after described image analysis information is added into second video flowing.
6. video broadcasting method according to claim 5, it is characterised in that described image analysis information carry it is to be shown The positional information of position in the frame of video of second video flowing.
7. video broadcasting method according to claim 6, it is characterised in that the positional information be it is empty or be need into During the label information of the whole display of row, described image is analyzed into information whole process during video render and shown.
8. a kind of video code conversion device, applied to server, it is characterised in that including:
First receiving module, the first video flowing for receiving collection terminal upload;
First decapsulation module, for according to the first transport protocol message between the collection terminal and server, to described One video flowing carries out the first decapsulation processing, obtains the second video flowing;
Package module, for according to the second transport protocol message between server and playback terminal, to second video flowing It is packaged, obtains the 3rd video flowing, and the 3rd video is flowed into playback terminal transmission;
Image analysis module, for carrying out graphical analysis to second video flowing, obtains image analysis result;
Information sending module is analyzed, for sending image analysis information to the playback terminal according to described image analysis result.
9. video code conversion device according to claim 8, it is characterised in that:
Also include:Processing module, for carrying out information categorization and/or demarcation processing to described image analysis result;
Described image analysis information includes the result after described information classification and/or demarcation processing.
10. video code conversion device according to claim 8 or claim 9, it is characterised in that:Described image analysis information, which is carried, to be waited to show Show the positional information of the position in the frame of video of second video flowing.
11. a kind of video play device, applied to playback terminal, it is characterised in that including:
Second receiving module, the 3rd video flowing sent for the reception server, and according between server and playback terminal Second transport protocol message, the second decapsulation processing is carried out to the 3rd video flowing, obtains the second video flowing;
Information receiving module is analyzed, for receiving the graphical analysis associated with second video flowing the letter that the server is sent Breath;
Playing module is superimposed, for being played out after described image analysis information is added into second video flowing.
12. video play device according to claim 11, it is characterised in that described image analysis information carries to be shown The positional information of position in the frame of video of second video flowing.
13. a kind of computer equipment, including memory, processor and it is stored on the memory and can be in the processor The computer program of upper operation, it is characterised in that described in the computing device during computer program realize as claim 1 to Method described in 7 any one.
14. a kind of computer-readable storage medium, is stored thereon with computer program, it is characterised in that the program is executed by processor Methods of the Shi Shixian as described in claim 1 to 7 any one.
CN201710466100.7A 2017-06-19 2017-06-19 Video code conversion, video broadcasting method and device, computer equipment, storage medium Active CN107332830B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710466100.7A CN107332830B (en) 2017-06-19 2017-06-19 Video code conversion, video broadcasting method and device, computer equipment, storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710466100.7A CN107332830B (en) 2017-06-19 2017-06-19 Video code conversion, video broadcasting method and device, computer equipment, storage medium

Publications (2)

Publication Number Publication Date
CN107332830A true CN107332830A (en) 2017-11-07
CN107332830B CN107332830B (en) 2019-02-12

Family

ID=60195485

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710466100.7A Active CN107332830B (en) 2017-06-19 2017-06-19 Video code conversion, video broadcasting method and device, computer equipment, storage medium

Country Status (1)

Country Link
CN (1) CN107332830B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109376655A (en) * 2018-10-25 2019-02-22 兰州工业学院 A kind of analog platform of the pattern recognition method based on deep learning algorithm
CN110753243A (en) * 2019-11-05 2020-02-04 深圳市巨潮科技股份有限公司 Image processing method, image processing server and image processing system
CN112866786A (en) * 2021-01-14 2021-05-28 视联动力信息技术股份有限公司 Video data processing method and device, terminal equipment and storage medium
CN113992687A (en) * 2021-12-28 2022-01-28 浙江宇视科技有限公司 Intelligent service cluster scheduling method and device, electronic equipment and storage medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101188756A (en) * 2007-12-04 2008-05-28 武汉大学 A code conversion method from MPEG-4 SP to AVX video
CN101404767A (en) * 2008-11-24 2009-04-08 崔天龙 Parameter-variable automated video transcoding method based on image analysis and artificial intelligence
CN101583036A (en) * 2009-06-22 2009-11-18 浙江大学 Method for determining the relation between movement characteristics and high efficient coding mode in pixel-domain video transcoding
CN101640788A (en) * 2008-07-29 2010-02-03 深圳市朗驰欣创科技有限公司 Method and device for controlling monitoring and monitoring 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
JP5100572B2 (en) * 2008-08-25 2012-12-19 キヤノン株式会社 Encoder
CN103024445A (en) * 2012-12-13 2013-04-03 北京百度网讯科技有限公司 Cloud video transcode method and cloud server
US20130101014A1 (en) * 2011-10-25 2013-04-25 Microsoft Corporation Layered Screen Video Encoding
CN103731631A (en) * 2012-10-16 2014-04-16 华为软件技术有限公司 Method, device and system for transmitting video image
US20160306599A1 (en) * 2014-01-17 2016-10-20 Fujitsu Limited Computer product, image processing method, and image processing apparatus
CN106851332A (en) * 2017-01-04 2017-06-13 北京百度网讯科技有限公司 Video stream processing method, device and system

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101188756A (en) * 2007-12-04 2008-05-28 武汉大学 A code conversion method from MPEG-4 SP to AVX video
CN101640788A (en) * 2008-07-29 2010-02-03 深圳市朗驰欣创科技有限公司 Method and device for controlling monitoring and monitoring system
JP5100572B2 (en) * 2008-08-25 2012-12-19 キヤノン株式会社 Encoder
CN101404767A (en) * 2008-11-24 2009-04-08 崔天龙 Parameter-variable automated video transcoding method based on image analysis and artificial intelligence
CN101583036A (en) * 2009-06-22 2009-11-18 浙江大学 Method for determining the relation between movement characteristics and high efficient coding mode in pixel-domain video transcoding
CN102014284A (en) * 2010-12-10 2011-04-13 中兴通讯股份有限公司 Method, system and device for acquiring parameter set value of video code stream in transcoding business
US20130101014A1 (en) * 2011-10-25 2013-04-25 Microsoft Corporation Layered Screen Video Encoding
CN103731631A (en) * 2012-10-16 2014-04-16 华为软件技术有限公司 Method, device and system for transmitting video image
CN103024445A (en) * 2012-12-13 2013-04-03 北京百度网讯科技有限公司 Cloud video transcode method and cloud server
US20160306599A1 (en) * 2014-01-17 2016-10-20 Fujitsu Limited Computer product, image processing method, and image processing apparatus
CN106851332A (en) * 2017-01-04 2017-06-13 北京百度网讯科技有限公司 Video stream processing method, device and system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109376655A (en) * 2018-10-25 2019-02-22 兰州工业学院 A kind of analog platform of the pattern recognition method based on deep learning algorithm
CN110753243A (en) * 2019-11-05 2020-02-04 深圳市巨潮科技股份有限公司 Image processing method, image processing server and image processing system
CN112866786A (en) * 2021-01-14 2021-05-28 视联动力信息技术股份有限公司 Video data processing method and device, terminal equipment and storage medium
CN113992687A (en) * 2021-12-28 2022-01-28 浙江宇视科技有限公司 Intelligent service cluster scheduling method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN107332830B (en) 2019-02-12

Similar Documents

Publication Publication Date Title
CN107332830A (en) Video code conversion, video broadcasting method and device, computer equipment, storage medium
CN103460667B (en) The network flow of the video data asked using bytes range
FI127117B (en) Image processors and computer programs
CN105723682B (en) Transmission/reception broadcast singal method and apparatus
CN107223316A (en) System and method for supporting selectivity backtracking data recording
CN100512274C (en) Device and method for simulating communication system capable of easily controlling protocol message
CN103080951A (en) Method and apparatus for recognizing objects in media content
CN104463296B (en) A kind of generation, acquisition and the processing method and system of two-dimension code structure information
CN107071516B (en) A kind of photograph document handling method
CN107534798A (en) Broadcast singal sends equipment, broadcasting signal receiving, broadcast singal sending method and broadcast signal received method
CN103650431B (en) Method of transmitting video data and device
CN107481190B (en) A kind of image processing method and device
CN106254458A (en) A kind of image processing method based on cloud robot vision, platform and system
CN109005426A (en) A kind of photograph document handling method
CN105282110A (en) Mobile phone streaming media transmission method fusing GPS positioning information and system thereof
CN108713322A (en) Video with optional label covering auxiliary picture
CN105959633A (en) Video transmission method and device
CN104602105B (en) The player method and user equipment of video file
CN107370654A (en) A kind of encapsulation, de-encapsulation method and the relevant apparatus of pseudo-wire data message
CN106471813B (en) The device for sending broadcast singal, the device for receiving broadcast singal, the method for sending broadcast singal and the method for receiving broadcast singal
CN106507125A (en) A kind of pair of terminal coordinates live method and device
CN108307202A (en) Real-time video transcoding sending method, device and user terminal
US10165303B2 (en) Content streaming system and method
CN104904170B (en) The method and apparatus being effectively prioritized to the key element in the video flowing that is transmitted for low bandwidth
CN104778373B (en) The tactics recognition methods of sports and device

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
GR01 Patent grant
GR01 Patent grant