CN104994405A - Instant-video transmission method and electronic equipment - Google Patents

Instant-video transmission method and electronic equipment Download PDF

Info

Publication number
CN104994405A
CN104994405A CN201510346227.6A CN201510346227A CN104994405A CN 104994405 A CN104994405 A CN 104994405A CN 201510346227 A CN201510346227 A CN 201510346227A CN 104994405 A CN104994405 A CN 104994405A
Authority
CN
China
Prior art keywords
instant video
user
shape
video frame
transmission
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
CN201510346227.6A
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.)
Zhang Ying Information Technology Co Ltd Of Us
Original Assignee
Zhang Ying Information Technology Co Ltd Of Us
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 Zhang Ying Information Technology Co Ltd Of Us filed Critical Zhang Ying Information Technology Co Ltd Of Us
Priority to CN201510346227.6A priority Critical patent/CN104994405A/en
Publication of CN104994405A publication Critical patent/CN104994405A/en
Priority to PCT/CN2016/086144 priority patent/WO2016202287A1/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • H04N21/23418Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

Embodiments of the invention provide an instant-video transmission method and electronic equipment, and belong to the video field. The method comprises obtaining a shape input by a user, determining a region indicated by the shape input by the user in a current instant-video frame, and executing any one of following operations according to preset conditions satisfied by network band widths and transmission strategies supported by the electronic equipment: transmitting the current instant-video frame according the first transmission strategy if the network band width satisfies the first preset condition, transmitting the current instant-video frame according the second transmission strategy if the network band width satisfies the second preset condition, transmitting the current instant-video frame according the third transmission strategy if the network band width satisfies the third preset condition, and transmitting the current instant-video frame according the fourth transmission strategy if the network band width satisfies the fourth preset condition. The different transmission strategies are taken for the current instant-video frame comprising the region indicated by the shape input by the user according to the different network band widths, a user's diverse demand in the instant-video process is satisfied, and user experience is improved.

Description

A kind of transmission method of instant video and electronic equipment
Technical field
The present invention relates to video field, particularly a kind of transmission method of instant video and electronic equipment.
Background technology
Universal along with mobile device and instant video mechanics of communication, increasing user's Selection utilization mobile device realizes the mutual of instant video, under the scene of instant video interactive, may occur that the attention rate of user to a certain region in instant video is greater than other regions; Or, there will be the requirement of user to the definition in a certain region and details reserved and be greater than other regions; Or, there will be user and wish that attention rate is migrated to the problems such as the region specified by user by mutual other participants of instant video, make the transmission method needing to provide a kind of instant video, meet that the attention rate of user to a certain region in instant video is greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions and user wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video.
Because prior art does not provide the transmission method of this instant video, thus make user in instant video process, the diversified demand that user is above-mentioned cannot be met, reduce Consumer's Experience.
Summary of the invention
In order to meet the diversified demand of user in instant video process, improving Consumer's Experience, embodiments providing a kind of transmission method and electronic equipment of instant video.Described technical scheme is as follows:
First aspect, provides a kind of transmission method of instant video, and described method comprises:
Obtain the shape of user's input;
The region indicated by described shape is determined in current instant video frame;
According to the network bandwidth the transmission policy supported of the pre-conditioned and electronic equipment that meets, perform any one in following operation:
If the network bandwidth meets first pre-conditioned, then according to the first transmission policy, transmission comprises the described current instant video frame in the region indicated by described shape; Or,
If the network bandwidth meets second pre-conditioned, then according to the second transmission policy, transmission comprises the described current instant video frame in the region indicated by described shape; Or,
If the network bandwidth meets the 3rd pre-conditioned, then according to the 3rd transmission policy, transmission comprises the described current instant video frame in the region indicated by described shape; Or,
If the network bandwidth meets the 4th pre-conditioned, then according to the 4th transmission policy, transmission comprises the described current instant video frame in the region indicated by described shape.
In conjunction with first aspect, in the implementation that the first is possible, the shape of the described user's input of described acquisition comprises:
Obtain the curve of user's input, the partial trace that described Curves comprises is closed curve, and determines that the shape indicated by described closed curve is the shape that described user inputs;
Obtain the location parameter of described user input, described location parameter comprises any one in coordinate parameters and characteristic parameter.
In conjunction with the first possible implementation of first aspect or first aspect, in the implementation that the second is possible, by any one in following operation, in current instant video frame, determine the region indicated by described shape:
Described location parameter comprises coordinate parameters, according to described coordinate parameters, determines the region indicated by described shape in current instant video frame; Or,
Described location parameter comprises characterising parameter, identifies the details indicated by described characterising parameter in described current instant video frame;
According to described details, in described current instant video frame, determine the region indicated by described shape.
In conjunction with first aspect to the arbitrary possible implementation of the second of first aspect, in the implementation that the third is possible, described according to the first transmission policy, the described current instant video frame that transmission comprises the region indicated by shape of described user input comprises:
According to the importance matrix corresponding with described current instant video frame, described current instant video is processed, obtain the instant video frame after process;
Transmit the instant video frame after described process.
In conjunction with first aspect to the third arbitrary possible implementation of first aspect, in the 4th kind of possible implementation, described according to the second transmission policy, the described current instant video frame strategy that transmission comprises the region indicated by shape of described user input comprises:
The instant video frame in region indicated by the shape at least comprising described user input is divided at least one macro block, and the described quantization parameter corresponding at least one macro block of composition is set;
According to described quantization parameter, at least one macro block described is encoded, generate the instant video frame after coding;
Transmit the instant video frame after described coding.
In conjunction with first aspect to the 4th kind of arbitrary possible implementation of first aspect, in the 5th kind of possible implementation, described according to the 3rd transmission policy, the described current instant video frame that transmission comprises the region indicated by shape of described user input comprises:
Obtain the residual error data between the current instant video frame in the region indicated by shape comprising described user input and reference frame;
Transmit described residual error data.
In conjunction with the implementation that the second of first aspect is possible, in the 6th kind of possible implementation, described according to the 4th transmission policy, the described current instant video frame that transmission comprises the region indicated by shape of described user input comprises:
Obtain the characteristic parameter in the region indicated by the shape for describing described user input;
Transmit described characteristic parameter.
In conjunction with first aspect to the 6th kind of arbitrary possible implementation of first aspect, in the 7th kind of possible implementation, described method also comprises:
The shape that described user inputs is sent to other electronic equipments.
Second aspect, provides a kind of display packing of instant video, and described method comprises:
Obtain the current instant video frame of electronic equipment according to any one transmission in the first transmission policy, the second transmission policy, the 3rd transmission policy and the 4th transmission policy;
Obtain the shape of user's input;
The transmission policy that the shape inputted according to described user and electronic equipment are supported, shows described current instant video frame.
The third aspect, provides a kind of electronic equipment, and described electronic equipment comprises:
Acquisition module, for obtaining the shape of user's input;
First processing module, for determining the region indicated by described shape in current instant video frame;
Judging module, for judge the network bandwidth whether meet first pre-conditioned, second pre-conditioned, the 3rd pre-conditioned and the 4th pre-conditioned in any one;
Described first processing module also for according to the network bandwidth the transmission policy supported of the pre-conditioned and electronic equipment that meets, trigger with any one in lower module:
Second processing module, for meet at the network bandwidth first pre-conditioned time, according to the first transmission policy, transmission comprises the described current instant video frame in the region indicated by shape of described user input; Or,
3rd processing module, for meet at the network bandwidth second pre-conditioned time, according to the second transmission policy, transmission comprises the described current instant video frame in the region indicated by shape of described user input; Or,
4th processing module, for meet at the network bandwidth the 3rd pre-conditioned time, according to the 3rd transmission policy, transmission comprises the described current instant video frame in the region indicated by shape of described user input; Or,
5th processing module, for meet at the network bandwidth the 4th pre-conditioned time, according to the 4th transmission policy, transmission comprises the described current instant video frame in the region indicated by shape of described user input.
In conjunction with the third aspect, in the implementation that the first is possible, described acquisition module specifically for:
Obtain the curve of user's input, the partial trace that described Curves comprises is closed curve, and determines that the shape indicated by described closed curve is the shape that described user inputs;
Obtain the location parameter of described user input, described location parameter comprises any one in coordinate parameters and characteristic parameter.
In conjunction with the first possible implementation of the third aspect or the third aspect, in the implementation that the second is possible, described first processing module is for performing any one in following operation:
Described location parameter comprises coordinate parameters, according to described coordinate parameters, determines the region indicated by described shape in current instant video frame; Or,
Described location parameter comprises characterising parameter, identifies the details indicated by described characterising parameter in described current instant video frame;
According to described details, in described current instant video frame, determine the region indicated by described shape.
In conjunction with the third aspect to the arbitrary possible implementation of the second of the third aspect, in the implementation that the third is possible, described second processing module specifically for:
According to the importance matrix corresponding with described current instant video frame, described current instant video is processed, obtain the instant video frame after process;
Transmit the instant video frame after described process.
In conjunction with the third aspect to the third arbitrary possible implementation of the third aspect, in the 4th kind of possible implementation, described 3rd processing module specifically for:
The instant video frame in region indicated by the shape at least comprising described user input is divided at least one macro block, and the described quantization parameter corresponding at least one macro block of composition is set;
According to described quantization parameter, at least one macro block described is encoded, generate the instant video frame after coding;
Transmit the instant video frame after described coding.
In conjunction with the third aspect to the 4th kind of arbitrary possible implementation of the third aspect, in the 5th kind of possible implementation, described 4th processing module specifically for:
Obtain the residual error data between the current instant video frame in the region indicated by shape comprising described user input and reference frame;
Transmit described residual error data.
In conjunction with the implementation that the second of the third aspect is possible, in the 6th kind of possible implementation, described 5th processing module is specifically for comprising:
Obtain the characteristic parameter in the region indicated by the shape for describing described user input;
Transmit described characteristic parameter.
In conjunction with the third aspect to the 6th kind of arbitrary possible implementation of the third aspect, in the 7th kind of possible implementation, described electronic equipment also comprises sending module, for:
The shape that described user inputs is sent to other electronic equipments.
Fourth aspect, provide a kind of electronic equipment, the processor that described electronic equipment comprises sending module, memory and is connected with described sending module, described memory, wherein, described memory is for storing batch processing code, and described processor calls program code that described memory stores for performing following operation:
Obtain the shape of user's input;
The region indicated by described shape is determined in current instant video frame;
According to the network bandwidth the transmission policy supported of the pre-conditioned and electronic equipment that meets, perform any one in following operation:
If the network bandwidth meets first pre-conditioned, then according to the first transmission policy, transmission comprises the described current instant video frame in the region indicated by described shape; Or,
If the network bandwidth meets second pre-conditioned, then according to the second transmission policy, transmission comprises the described current instant video frame in the region indicated by described shape; Or,
If the network bandwidth meets the 3rd pre-conditioned, then according to the 3rd transmission policy, transmission comprises the described current instant video frame in the region indicated by described shape; Or,
If the network bandwidth meets the 4th pre-conditioned, then according to the 4th transmission policy, transmission comprises the described current instant video frame in the region indicated by described shape.
In conjunction with fourth aspect, in the implementation that the first is possible, described processor calls program code that described memory stores for performing following operation:
Obtain the curve of user's input, the partial trace that described Curves comprises is closed curve, and determines that the shape indicated by described closed curve is the shape that described user inputs;
Obtain the location parameter of described user input, described location parameter comprises any one in coordinate parameters and characteristic parameter.
In conjunction with the first possible implementation of fourth aspect or fourth aspect, in the implementation that the second is possible, described processor calls program code that described memory stores for performing any one in following operation:
Described location parameter comprises coordinate parameters, according to described coordinate parameters, determines the region indicated by described shape in current instant video frame; Or,
Described location parameter comprises characterising parameter, identifies the details indicated by described characterising parameter in described current instant video frame;
According to described details, in described current instant video frame, determine the region indicated by described shape.
In conjunction with fourth aspect to the arbitrary possible implementation of the second of fourth aspect, in the implementation that the third is possible, described processor calls program code that described memory stores for performing following operation:
According to the importance matrix corresponding with described current instant video frame, described current instant video is processed, obtain the instant video frame after process;
Transmit the instant video frame after described process.
In conjunction with fourth aspect to the third arbitrary possible implementation of fourth aspect, in the 4th kind of possible implementation, described processor calls program code that described memory stores for performing following operation:
The instant video frame in region indicated by the shape at least comprising described user input is divided at least one macro block, and the described quantization parameter corresponding at least one macro block of composition is set;
According to described quantization parameter, at least one macro block described is encoded, generate the instant video frame after coding;
Transmit the instant video frame after described coding.
In conjunction with fourth aspect to the 4th kind of arbitrary possible implementation of fourth aspect, in the 5th kind of possible implementation, described processor calls program code that described memory stores for performing following operation:
Obtain the residual error data between the current instant video frame in the region indicated by shape comprising described user input and reference frame;
Transmit described residual error data.
In conjunction with the implementation that the second of fourth aspect is possible, in the 6th kind of possible implementation, described processor calls program code that described memory stores for performing following operation:
Obtain the characteristic parameter in the region indicated by the shape for describing described user input;
Transmit described characteristic parameter.
In conjunction with fourth aspect to the 6th kind of arbitrary possible implementation of fourth aspect, in the 7th kind of possible implementation, described processor calls program code that described memory stores for performing following operation:
The shape that described user inputs is sent to other electronic equipments.
5th aspect, provides a kind of electronic equipment, and described electronic equipment comprises:
First acquisition module, for obtaining the current instant video frame of electronic equipment according to any one transmission in the first transmission policy, the second transmission policy, the 3rd transmission policy and the 4th transmission policy;
Second acquisition module, for obtaining the shape of user's input;
Display module, for the transmission policy that the shape that inputs according to described user and electronic equipment are supported, shows described current instant video frame.
6th aspect, provide a kind of electronic equipment, the processor that described electronic equipment comprises display screen, memory and is connected with described display screen, described memory, wherein, described memory stores batch processing code, and described processor calls program code that described memory stores for performing following operation:
Obtain the current instant video frame of electronic equipment according to any one transmission in the first transmission policy, the second transmission policy, the 3rd transmission policy and the 4th transmission policy;
Obtain the shape of user's input;
According to the shape that described user inputs, show described current instant video frame.
Embodiments provide a kind of transmission method and electronic equipment of instant video, comprising: the shape obtaining user's input; The region indicated by the shape that user inputs is determined in current instant video frame; Judge the network bandwidth whether meet first pre-conditioned, second pre-conditioned, the 3rd pre-conditioned and the 4th pre-conditioned in any one; If the network bandwidth meets first pre-conditioned, then according to the first transmission policy, transmission comprises the current instant video frame in the region indicated by shape of user's input; If the network bandwidth meets second pre-conditioned, then according to the second transmission policy, transmission comprises the current instant video frame in the region indicated by shape of user's input; If the network bandwidth meets the 3rd pre-conditioned, then according to the 3rd transmission policy, transmission comprises the current instant video frame in the region indicated by shape of user's input; If the network bandwidth meets the 4th pre-conditioned, then according to the 4th transmission policy, transmission comprises the current instant video frame in the region indicated by shape of user's input.First pre-conditioned by judging that whether the network bandwidth meets, second is pre-conditioned, 3rd pre-conditioned and the 4th pre-conditioned in any one, thus different transmission policys can be taked according to the different network bandwidths to the current instant video frame in region indicated by the shape comprising user's input, compared to the transmission method of traditional instant video, not only meet the attention rate of user to a certain region in instant video and be greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions and user and wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video, improve Consumer's Experience, also improve the utilance of the network bandwidth, save Internet resources, thus improve the efficiency of transmission of instant video, improve Consumer's Experience, in addition, method due to the embodiment of the present invention is after obtain the region indicated by the shape of user's input from current instant video frame, current instant video frame is processed, make compared to traditional instant video coding method, when bandwidth resources are constant, more broadband resource is used for the transmission in the region indicated by shape of user's input, thus ensure that the transmission in the region indicated by the shape that user inputs, meet the attention rate of user to a certain region in instant video further and be greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions and user and wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video, improve Consumer's Experience.In addition, by obtaining the shape of user's input, add the form that user inputs indicated region, improve the mutual interest of instant video and interactivity, add the interaction mode of user in instant video interactive process, meet the diversified demand of user further, improve Consumer's Experience.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the transmission method flow chart of a kind of instant video that the embodiment of the present invention provides;
Fig. 2 is a kind of instant video display packing flow chart that the embodiment of the present invention provides;
Fig. 3 is the transmission method flow chart of a kind of instant video that the embodiment of the present invention provides;
Fig. 4 is a kind of interface schematic diagram that the embodiment of the present invention provides;
Fig. 5 is a kind of interface schematic diagram that the embodiment of the present invention provides;
Fig. 6 is a kind of interface schematic diagram that the embodiment of the present invention provides;
Fig. 7 is a kind of interface schematic diagram that the embodiment of the present invention provides;
Fig. 8 is a kind of instant video display packing flow chart that the embodiment of the present invention provides;
Fig. 9 is a kind of interface schematic diagram that the embodiment of the present invention provides;
Figure 10 is the transmission method flow chart of a kind of instant video that the embodiment of the present invention provides;
Figure 11 is a kind of interface schematic diagram that the embodiment of the present invention provides;
Figure 12 is a kind of instant video display packing flow chart that the embodiment of the present invention provides;
Figure 13 is a kind of interface schematic diagram that the embodiment of the present invention provides;
Figure 14 is a kind of electronic devices structure schematic diagram that the embodiment of the present invention provides;
Figure 15 is a kind of electronic devices structure schematic diagram that the embodiment of the present invention provides;
Figure 16 is a kind of electronic devices structure schematic diagram that the embodiment of the present invention provides;
Figure 17 is a kind of electronic devices structure schematic diagram that the embodiment of the present invention provides.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Embodiments provide a kind of transmission method of instant video, the method is used for a kind of interactive system at least comprising two electronic equipments, wherein, in this interactive system, these at least two electronic equipments realize the mutual of instant video by running the application program self stored, electronic equipment at least comprises transmission/acquisition module, video input module and there is the display module of touch controllable function, this video input module comprises camera, display module can comprise display screen, electronic equipment realizes transmission and the acquisition of instant video by transmission/acquisition module, the input of instant video is realized by video input module, realize the display of instant video by the display module with touch controllable function and obtain the instruction of user's triggering.
It should be noted that, according to the difference of electronic equipment, the transmission policy that this electronic equipment is supported is also different, electronic equipment supports that transmission policy comprises the pre-configured code corresponding with this transmission policy of electronic equipment, this transmission policy comprises the transmission of instant video and the acquisition of instant video, and the transmission policy supported described in electronic equipment comprises: electronic equipment supports the first transmission policy, the second transmission policy, the 3rd transmission policy and the 4th transmission policy simultaneously; Any one in the first transmission policy, the second transmission policy, the 3rd transmission policy and the 4th transmission policy supported by electronic equipment; Electronic equipment supports any two in the first transmission policy, the second transmission policy, the 3rd transmission policy and the 4th transmission policy; Electronic equipment supports any three in the first transmission policy, the second transmission policy, the 3rd transmission policy and the 4th transmission policy.
Above-mentioned interactive system is only exemplary, and being the method provided to further illustrate the embodiment of the present invention, not refering in particular to, the embodiment of the present invention is not limited concrete interactive system.
The transmission method of a kind of instant video that embodiment one provides for the embodiment of the present invention, shown in figure 1, the method specifically comprises:
101, the shape of user's input is obtained.
Concrete, obtain the curve of user's input, the partial trace that Curves comprises is closed curve, and determines that the shape indicated by closed curve is the shape that user inputs;
Obtain the location parameter of user's input, location parameter comprises any one in coordinate parameters and characterising parameter.
102, in current instant video frame, determine the region indicated by shape.
Concrete, by any one in following operation, in current instant video frame, determine the region indicated by shape:
Location parameter comprises coordinate parameters, according to coordinate parameters, determines the region indicated by shape in current instant video frame; Or,
Location parameter comprises characterising parameter, identifies the details indicated by characterising parameter in current instant video frame;
According to details, in current instant video frame, determine the region indicated by shape.
103, judge the network bandwidth whether meet first pre-conditioned, second pre-conditioned, the 3rd pre-conditioned and the 4th pre-conditioned in any one.
If 104 network bandwidths meet first pre-conditioned, and the first transmission policy supported by electronic equipment, then according to the first transmission policy, transmission comprises the current instant video frame in the region indicated by shape of user's input, terminates.
Concrete, according to the importance matrix corresponding with current instant video frame, current instant video is processed, obtain the instant video frame after process;
Instant video frame after transmission process.
If the network bandwidth meets first pre-conditioned, and the first transmission policy do not supported by electronic equipment, then terminate, and after finalization, by the transmission means transmission instant video frame of routine.
If 105 network bandwidths meet second pre-conditioned, and the second transmission policy supported by electronic equipment, then according to the second transmission policy, transmission comprises the current instant video frame in the region indicated by shape of user's input, terminates.
Concrete, the instant video frame in the region indicated by the shape at least comprising user's input is divided at least one macro block, and the quantization parameter of composition corresponding at least one macro block is set;
According to quantization parameter, at least one macro block is encoded, generate the instant video frame after coding;
Instant video frame after transfer encoding.
If the network bandwidth meets second pre-conditioned, and the second transmission policy supported by electronic equipment, then terminate, and after finalization, by the transmission means transmission instant video frame of routine.
If 106 network bandwidths meet the 3rd pre-conditioned, and the 3rd transmission policy supported by electronic equipment, then according to the 3rd transmission policy, transmission comprises the current instant video frame in the region indicated by shape of user's input, terminates.
Concrete, obtain the residual error data between the current instant video frame in the region indicated by shape comprising user's input and reference frame;
Transmission residual error data.
If the network bandwidth meets the 3rd pre-conditioned, and the 3rd transmission policy do not supported by electronic equipment, then terminate, and after finalization, by the transmission means transmission instant video frame of routine.
If 107 network bandwidths meet the 4th pre-conditioned, and the 4th transmission policy supported by electronic equipment, then according to the 4th transmission policy, transmission comprises the current instant video frame in the region indicated by shape of user's input, terminates.
Concrete, obtain the characteristic parameter in the region indicated by the shape for describing user's input;
Transmission feature parameter.
If the network bandwidth meets the 4th pre-conditioned, and the 4th transmission policy do not supported by electronic equipment, then terminate, and after finalization, by the transmission means transmission instant video frame of routine.
Optionally, in addition to the foregoing steps, the method that the embodiment of the present invention provides can also comprise:
The shape that user inputs is sent to other electronic equipments.
Embodiments provide a kind of transmission method of instant video, first pre-conditioned by judging that whether the network bandwidth meets, second is pre-conditioned, 3rd pre-conditioned and the 4th pre-conditioned in any one, thus different transmission policys can be taked according to the different network bandwidths to the current instant video frame in region indicated by the shape comprising user's input, compared to the transmission method of traditional instant video, not only meet the attention rate of user to a certain region in instant video and be greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions and user and wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video, improve Consumer's Experience, also improve the utilance of the network bandwidth, save Internet resources, thus improve the efficiency of transmission of instant video, improve Consumer's Experience, in addition, method due to the embodiment of the present invention is after obtain the region indicated by the shape of user's input from current instant video frame, current instant video frame is processed, make compared to traditional instant video coding method, when bandwidth resources are constant, more broadband resource is used for the transmission in the region indicated by shape of user's input, thus ensure that the transmission in the region indicated by the shape that user inputs, meet the attention rate of user to a certain region in instant video further and be greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions and user and wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video, improve Consumer's Experience.In addition, by obtaining the shape of user's input, add the form that user inputs indicated region, improve the mutual interest of instant video and interactivity, add the interaction mode of user in instant video interactive process, meet the diversified demand of user further, improve Consumer's Experience.
The display packing of a kind of instant video that embodiment two provides for the embodiment of the present invention, with reference to shown in Fig. 2, the method comprises:
201, the current instant video frame of electronic equipment according to any one transmission in the first transmission policy, the second transmission policy, the 3rd transmission policy and the 4th transmission policy is obtained.
202, the shape of user's input is obtained.
203, according to the transmission policy that shape and the user of user's input support, current instant video frame is shown.
Embodiments provide a kind of display packing of instant video, by obtaining and showing the current instant video frame according to any one transmission in the first transmission policy, the second transmission policy, the 3rd transmission policy and the 4th transmission policy, meet the demand that user in instant video process wishes to be greater than the definition in selected region and details reserved other regions, further increase Consumer's Experience.In addition, by obtaining the shape of user's input, add the form that user inputs indicated region, improve the mutual interest of instant video and interactivity, add the interaction mode of user in instant video interactive process, meet the diversified demand of user further, improve Consumer's Experience.
The transmission method of a kind of instant video that embodiment three provides for the embodiment of the present invention, in embodiments of the present invention, location parameter comprises coordinate parameters, and with reference to shown in Fig. 3, the method comprises:
301, obtain the curve of user's input, the partial trace that Curves comprises is closed curve.
Concrete, obtain the curve that user inputs at least one frame instant video frame, wherein, the process obtaining the partial trace corresponding with this any frame instant video frame of any frame instant video frame input of user in this at least one frame instant video frame can be:
The location parameter of multiple partial trace that all frame instant video frames of acquisition user before this any frame instant video frame input and the plurality of partial trace, this location parameter comprises at least one in coordinate parameters and characteristic parameter;
According to the location parameter of multiple partial trace, the plurality of partial trace is copied to this any frame instant video frame;
Obtain the partial trace corresponding with this any frame instant video frame of any frame instant video frame input of user in this at least one frame instant video frame;
Obtain the location parameter of this partial trace of user's input.
By obtaining the curve of user's input, the curve made it possible to by inputting according to user determines the region indicated by user, the region indicated by user is determined compared to the shape selecting user to input by user, this process simplify operating procedure, improve the step that user inputs indicated region, improve the efficiency of transmission of instant video, meet the attention rate of user to a certain region in instant video further and be greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions and user and wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video, improve Consumer's Experience, in addition, by obtaining the curve of user's input, add the form that user inputs indicated region, meet that the attention rate of user to a certain region in instant video is greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions further and user wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video, improve Consumer's Experience.
In order to the method making those skilled in the art further understand the embodiment of the present invention, be further described below in conjunction with the method for accompanying drawing to the embodiment of the present invention, suppose that instant video interface is with reference to shown in a in Fig. 4, the curve that user inputs at this interface is with reference to shown in the b in Fig. 4.
302, determine that the shape indicated by closed curve is the shape that user inputs.
Concrete, the embodiment of the present invention is not limited concrete deterministic process.
By determining that the shape indicated by closed curve is the shape that user inputs, add the form that user inputs indicated region, meet that the attention rate of user to a certain region in instant video is greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions further and user wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video, improve Consumer's Experience.
Suppose that curve that user inputs is with reference to shown in the b in Fig. 4, then determine shape indicated by closed curve for the shape that user inputs then can with reference to shown in Fig. 5.
303, obtain the location parameter of user's input, location parameter comprises coordinate parameters.
Concrete, this coordinate parameters is the coordinate parameters of the geometric center of the shape that user inputs.
The embodiment of the present invention is not limited concrete determination mode.
It should be noted that step 301 to step 303 is the processes realizing the shape obtaining user's input, except the mode of above-mentioned steps, can also realize this process by other means, the embodiment of the present invention is not limited concrete mode.
By obtaining the shape of user's input, add the form that user inputs indicated region, improve the mutual interest of instant video and interactivity, meet that the attention rate of user to a certain region in instant video is greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions further and user wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video, improve Consumer's Experience.
304, in current instant video frame, determine the region indicated by shape.
Concrete, according to coordinate parameters, in current instant video frame, determine the region indicated by the shape that user inputs.
This process can be:
At least one point indicated by this coordinate parameters is determined in current instant video frame;
Arranging this at least one point is at least one point describing preset shape, and this at least one point describing preset shape comprises the center of preset shape.
If so, and the first transmission policy supported by electronic equipment 305, judge whether the network bandwidth is greater than or equal to the first preset value, then perform step 306; If not, then judge whether the network bandwidth is less than the first preset value, and be greater than or equal to the second preset value; If so, and the second transmission policy supported by electronic equipment, then step 308 is performed; If not, then judge that the network bandwidth is less than the second preset value, and be greater than or equal to the 3rd preset value; If so, and electronic equipment support the 3rd transmission policy, then perform step 311; If not, and the 4th transmission policy supported by electronic equipment, then perform step 313.
Concrete, judge the network bandwidth and the first preset value, numerical relation between the second preset value and the 3rd preset value, the embodiment of the present invention is not limited concrete judgment mode.
If the network bandwidth is greater than or equal to the first preset value, then decision network bandwidth meets first pre-conditioned;
If the network bandwidth is less than the first preset value, and be greater than or equal to the second preset value, then decision network bandwidth meets second pre-conditioned;
If the network bandwidth is less than the second preset value, and be greater than or equal to the 3rd preset value, then decision network bandwidth meets the 3rd pre-conditioned;
If the network bandwidth is less than the 3rd pre-conditioned, then decision network bandwidth meets the 4th pre-conditioned.
Judge the network bandwidth and the first preset value, the process of numerical relation between the second preset value and the 3rd preset value can be:
Judge whether the network bandwidth is greater than or equal to the first preset value, if so, then decision network bandwidth meets first pre-conditioned, and performs step 306; If not then judge whether the network bandwidth is greater than or equal to the second preset value, if so, then decision network bandwidth meets second pre-conditioned, and performs step 308; If not then judge whether the network bandwidth is greater than or equal to the 3rd preset value, if so, then decision network bandwidth meets the 3rd pre-conditioned, and performs step 311; If not then decision network bandwidth meets the 4th pre-conditioned, and performs step 313.
Wherein, in actual applications, the first preset value can be 100kb/s, and the second preset value can be 50kb/s, and the 3rd preset value can be 10kb/s.
Optionally, due to the unsteadiness of network bandwidth during Internet Transmission, so, in the preset time period before can current time being judged the mean value of the network bandwidth whether meet first pre-conditioned, second pre-conditioned, the 3rd pre-conditioned and the 4th pre-conditioned in any one.
Wherein, in actual applications, preset time period can be 0.2 second.
By judging whether the mean value of the network bandwidth in the preset time period between current time meets pre-conditioned, eliminates the unsteadiness of network bandwidth during Internet Transmission, ensure that and the reliability that instant video is encoded improve Consumer's Experience.
It should be noted that, if the network bandwidth is greater than or equal to the first preset value, and the first transmission policy do not supported by electronic equipment, then by conventional transmission means transmission instant video frame.
If the network bandwidth is less than the first preset value, be greater than or equal to the second preset value, and the second transmission policy do not supported by electronic equipment, then by conventional transmission means transmission instant video frame.
If the network bandwidth is less than the second preset value, be greater than or equal to the 3rd preset value, and the 3rd transmission policy do not supported by electronic equipment, then by conventional transmission means transmission instant video frame.
If the network bandwidth is less than the 3rd preset value, and the 4th transmission policy do not supported by electronic equipment, then by conventional transmission means transmission instant video frame.
Due to pre-conditioned by judging whether the network bandwidth meets, so when decision network bandwidth is low, instant video is processed, not only can improve the utilance of the network bandwidth, save Internet resources, improve the efficiency of transmission of instant video, can also when the network bandwidth be low, meet the attention rate of user to a certain region in instant video and be greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions and user and wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video, further increase Consumer's Experience.
306, according to the importance matrix corresponding with current instant video frame, current instant video is processed, obtain the instant video frame after process.
Concrete, carry out low-pass filtering to current instant video frame, the embodiment of the present invention is not limited concrete filtering mode.
According to filtered current instant video frame, current instant video frame and importance matrix, obtain the instant video frame after process.
By the generating algorithm preset, on the basis of importance matrix, can merge current instant video frame and filtered current instant video frame, obtain the instant video frame after process, this algorithm can be:
o u t = ∂ * s r c + ( 1 - ∂ ) * l o w
Wherein, out is the instant video frame after process, and src is current instant video frame, and low is filtered current instant video frame, for importance matrix.
By carrying out low-pass filtering to current instant video, eliminate the high-frequency signal in this current instant video, reduce the bandwidth resources shared by current instant video, thus the efficiency of transmission of instant video can be improved, meet that the attention rate of user to a certain region in instant video is greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions further and user wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video, improve Consumer's Experience, in addition, due to importance matrix indicate in instant video frame user input shape indicated by region and non-user input shape indicated by region, so, by importance matrix, region indicated by the shape input the user indicated by importance matrix retains, the region indicated by shape of the non-user input in instant video frame is replaced in the region indicated by shape utilizing the non-user in the instant video frame after low-pass filtering to input, the image making the region indicated by shape of user's input in the instant video frame after the process exported is distortionless original image, the image in the region indicated by shape of non-user input is the image not comprising high-frequency signal, thus when making the instant video frame after transmitting this process, bandwidth resources required when decreasing transmission, improve the efficiency of transmission of instant video, meet the attention rate of user to a certain region in instant video further and be greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions and user and wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video, improve Consumer's Experience.
307, the instant video frame after transmission process, terminates.
Concrete, by the instant video frame input coding device after this process, by encoder, the instant video frame after this process is encoded, generated code flow data;
Transmit this bit stream data, the embodiment of the present invention is not limited concrete transmission means.
It should be noted that, step 306 to step 307 realizes according to the first transmission policy, transmission comprises the process of the current instant video frame in the region indicated by shape of user's input, except the mode of above-mentioned steps, can also realize this process by other means, the embodiment of the present invention is not limited concrete mode.
Because the embodiment of the present invention processes current instant video frame according to importance matrix, and importance matrix indicates the importance measures value of each pixel in current instant video, thus each pixel is processed, improve the image quality of the instant video after process, meet the attention rate of user to a certain region in instant video further and be greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions and user and wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video, improve Consumer's Experience.
308, the instant video frame in region indicated by the shape at least comprising user's input is divided at least one macro block, and the quantization parameter of composition corresponding at least one macro block is set.
Concrete, according to the division rule preset, the current instant video frame after process can be divided at least one macro block, the embodiment of the present invention is not limited concrete division rule.
The quantization parameter arranging the macro block in the region indicated by shape comprising all or part of user input is the first numerical value; Due in actual applications, the span of quantization parameter is between 0 to 51, so this first numerical value can for any one any number defined in user between 0 to 25 or system.
The quantization parameter arranging the macro block in the region indicated by shape not comprising all or part of user input is second value; This second value can for any one any number defined in user between 25 to 51 or system.
Due under the scene of instant video interactive, mutual both sides require to be greater than other regions for the attention rate in the region in instant video indicated by the shape of the user such as face region input and image quality, so, can be the first numerical value by the quantization parameter of the macro block arranging the region indicated by this shape comprising all or part of user input, in an encoding process, the details in the region indicated by shape of this user of more reservation input, make the image quality in the region that can ensure in instant video process indicated by the shape that user inputs, meet the requirement of the picture detail in the region indicated by shape of user to user input, meet the attention rate of user to a certain region in instant video further and be greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions and user and wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video, improve Consumer's Experience.In addition, due under the scene of instant video interactive, mutual both sides require to be greater than other regions for the attention rate in the region in instant video indicated by the shape of the user such as face region input and image quality, so, the quantization parameter that can arrange the macro block in the region indicated by shape not comprising all or part of user input is second value, in an encoding process, the details of macro block in the region indicated by the shape do not comprise all or part of user input to this does not retain, reduce the bandwidth that the macro block in the region indicated by shape not comprising all or part of user input is shared when transmitting, make compared to traditional instant video transmission method, bandwidth resources needed for the method are less, thus can bandwidth resources be saved, improve the efficiency of instant video transmission, meet the attention rate of user to a certain region in instant video further and be greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions and user and wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video, improve Consumer's Experience.In addition, the quantization parameter being comprised the macro block in the region indicated by shape of all or part of user input by setting is the first numerical value, the quantization parameter arranging the macro block in the region indicated by shape not comprising all or part of user input is second value, make in an encoding process, remain the details in the region indicated by shape of user's input, the details in the region indicated by the shape input non-user does not retain, make on the basis that undistorted transmission is carried out in the region indicated by the shape inputted user, further reduce the bandwidth that the region indicated by shape of non-user input is shared when transmitting, make compared to traditional instant video transmission method, the method can not only ensure the image quality in the region indicated by the shape that user inputs, and required bandwidth resources are less, thus bandwidth resources can be saved further, improve the efficiency of instant video transmission, meet the attention rate of user to a certain region in instant video further and be greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions and user and wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video, improve Consumer's Experience.
309, according to quantization parameter, at least one macro block is encoded, generate the instant video frame after coding.
Concrete, according to the first numerical value and second value, the instant video frame after this process is encoded.
The embodiment of the present invention is not limited concrete coded system.
310, the instant video frame after transfer encoding, terminates.
Concrete, the embodiment of the present invention is not limited concrete transmission means.
It should be noted that, step 308 to step 310 realizes according to the second transmission policy, transmission comprises the process of the current instant video frame in the region indicated by shape of user's input, except the mode of above-mentioned steps, can also realize this process by other means, the embodiment of the present invention is not limited concrete mode.
Because basis is used to indicate the quantization parameter of macro block fine degree in an encoding process, at least one macro block is encoded, make in an encoding process, remain the details in the region indicated by shape of user's input, the details in the region indicated by shape of non-user input is not retained, not only more broadband resource is used for the transmission in the region indicated by shape of user's input, and ensure that the image quality in the region indicated by shape that user inputs in instant video, thus ensure that the transmission in the region indicated by the shape that user inputs, improve the efficiency of transmission of instant video, meet the attention rate of user to a certain region in instant video further and be greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions and user and wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video, improve Consumer's Experience.
Optionally, in actual applications, before execution step 308, step 306 can also be performed.
311, the residual error data between the current instant video frame in the region indicated by shape comprising user's input and reference frame is obtained.
Concrete, from current instant video frame, obtain location parameter and the attitude parameter in the region indicated by shape of user's input.
Location parameter and attitude parameter are normalized, generate normal place parameter and standard attitude parameter.
According to normal place parameter and standard attitude parameter, obtain the residual error data between the current instant video frame in the region indicated by shape comprising user's input and reference frame.Wherein, in this reference frame, the attitude parameter in the region indicated by shape of user's input is standard attitude parameter.
Due to user's input in current instant video frame shape indicated by the attitude parameter in region and reference frame in the attitude parameter in region indicated by the shape that inputs of user be standard attitude parameter, so according to normal place parameter and standard attitude parameter, obtain the residual error data between the current instant video frame in the region indicated by shape comprising user's input and reference frame, compared to the attitude parameter location parameter in the region indicated by the shape of user's input in current instant video frame, with the location parameter in reference frame and attitude parameter, generate residual error data, decrease volume of transmitted data and treating capacity in instant video transmitting procedure, improve the efficiency of transmission of instant video, meet the attention rate of user to a certain region in instant video further and be greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions and user and wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video, improve Consumer's Experience.In addition, residual error data between the region indicated by shape that region indicated by the shape inputted by the user obtained in current instant video frame and the user in reference frame are inputted, realize the transmission of instant video, compared to traditional instant video transmission method, the method further reduces volume of transmitted data and treating capacity in instant video transmitting procedure, thus improve the efficiency of transmission of instant video, meet the attention rate of user to a certain region in instant video further and be greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions and user and wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video, improve Consumer's Experience.
312, transmit residual error data, terminate.
Concrete, the embodiment of the present invention is not limited concrete transmission means.
It should be noted that, step 311 to step 312 realizes according to the 3rd transmission policy, transmission comprises the process of the current instant video frame in the region indicated by shape of user's input, except the mode of above-mentioned steps, can also realize this process by other means, the embodiment of the present invention is not limited concrete mode.
Owing to obtaining and transmitting the residual error data between the current instant video frame in the region indicated by the shape comprising user's input and reference frame, compared to the whole instant video frame of traditional transmission, this method save network bandwidth resources, ensure that the image quality in the region indicated by shape of user's input in instant video simultaneously, ensure that the transmission in the region indicated by the shape that user inputs, thus improve the efficiency of transmission of instant video, meet the attention rate of user to a certain region in instant video further and be greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions and user and wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video, improve Consumer's Experience.
Optionally, in actual applications, before execution step 311, at least one in step 306 and step 308 can also be performed.
313, the characteristic parameter in the region indicated by shape for describing user's input is obtained.
Concrete, triangle segmentation is carried out in the region indicated by the shape input user, obtains at least one Delta Region.
Obtain location parameter and the attitude parameter of three characteristic points for describing any one Delta Region.
According to location parameter and the attitude parameter of three characteristic points, generate the attitude parameter corresponding with any one Delta Region and location parameter.
The attitude parameter corresponding according at least one Delta Region and location parameter, generating feature parameter.
The embodiment of the present invention is not limited concrete generating mode.
Because the attitude parameter of Delta Region and location parameter indicate current position, Delta Region and attitude, by adjusting this characteristic parameter, the driving to Delta Region can be realized, by the attitude parameter of at least one Delta Region and the location parameter in the region indicated by the shape that forms this user input in this current instant video, adjust attitude parameter and the location parameter of identical Delta Region in the instant video frame transmitted, can realize the zone migration indicated by the shape of the user's input in current instant video frame to the instant video frame transmitted, compared to the current instant video frame of transmission, save the network bandwidth, improve the efficiency of transmission of instant video, meet the attention rate of user to a certain region in instant video further and be greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions and user and wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video, improve Consumer's Experience.
314, transmission feature parameter.
Concrete, the embodiment of the present invention is not limited concrete transmission means.
It should be noted that, step 313 to step 314 realizes according to the 4th transmission policy, transmission comprises the process of the current instant video frame in the region indicated by shape of user's input, except the mode of above-mentioned steps, can also realize this process by other means, the embodiment of the present invention is not limited concrete mode.
By only transmitting the characteristic parameter in the region indicated by the shape for describing user's input, compared to the whole instant video frame data of transmission, save bandwidth resources, thus further increase the efficiency of transmission of instant video, meet that the attention rate of user to a certain region in instant video is greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions further and user wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video, improve Consumer's Experience.
Optionally, in addition to the foregoing steps, the method that the embodiment of the present invention provides can also comprise:
315, the shape that user inputs is sent to other electronic equipments.
By this selection instruction is sent to other electronic equipments, make other electronic equipments can show the shape of the user's input indicated by this selection instruction, add the interactive form of instant video, meet the diversified demand of user in instant video process, further increase Consumer's Experience.In addition, by this selection instruction is sent to other electronic equipments, the data compared to the shape this user inputted are sent to other electronic equipments, decrease data volume during transmission, save Internet resources, improve the efficiency of transmission of instant video, further increase Consumer's Experience.
The effect that the method provided to further illustrate the embodiment of the present invention reaches, below in conjunction with accompanying drawing, the method that the embodiment of the present invention provides is further illustrated, suppose that the shape that user-selected fixed user inputs is the shape shown in Fig. 6, after a in Fig. 7 being performed to the method for the embodiment of the present invention, the interface generated can with reference to shown in the b in Fig. 7, in the figure 7, definition indicated by second display effect and details reserved are greater than or equal to definition indicated by the first display effect and details reserved, definition indicated by 3rd display effect and details reserved are less than definition indicated by the first display effect and details reserved.
Under the scene of instant video interactive, the method that the embodiment of the present invention provides meets that the attention rate of user to a certain region in instant video is greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions and user wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video, add interactivity and the interest of instant video, further increase Consumer's Experience.
Embodiments provide a kind of transmission method of instant video, first pre-conditioned by judging that whether the network bandwidth meets, second is pre-conditioned, 3rd pre-conditioned and the 4th pre-conditioned in any one, thus different transmission policys can be taked according to the different network bandwidths to the current instant video frame in region indicated by the shape comprising user's input, compared to the transmission method of traditional instant video, not only meet the attention rate of user to a certain region in instant video and be greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions and user and wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video, improve Consumer's Experience, also improve the utilance of the network bandwidth, save Internet resources, thus improve the efficiency of transmission of instant video, improve Consumer's Experience, in addition, method due to the embodiment of the present invention is after obtain the region indicated by the shape of user's input from current instant video frame, current instant video frame is processed, make compared to traditional instant video coding method, when bandwidth resources are constant, more broadband resource is used for the transmission in the region indicated by shape of user's input, thus ensure that the transmission in the region indicated by the shape that user inputs, meet the attention rate of user to a certain region in instant video further and be greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions and user and wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video, improve Consumer's Experience.In addition, by obtaining the shape of user's input, add the form that user inputs indicated region, improve the mutual interest of instant video and interactivity, add the interaction mode of user in instant video interactive process, meet the diversified demand of user further, improve Consumer's Experience.
The display packing of a kind of instant video that embodiment four provides for the embodiment of the present invention, in embodiments of the present invention, location parameter comprises coordinate parameters, and with reference to shown in Fig. 8, the method comprises:
801, the current instant video frame of electronic equipment according to any one transmission in the first transmission policy, the second transmission policy, the 3rd transmission policy and the 4th transmission policy is obtained.
Concrete, electronic equipment can obtain the current instant video frame after the process of other electronic equipments transmission, also the selection instruction being used to indicate the shape of user-selected user's input of user's triggering can be obtained at this electronic equipment, and the network bandwidth meet pre-conditioned after, the importance matrix in the region indicated by the shape of user's input, the current instant video frame at least comprising region is processed, obtains the current instant video frame after process.
802, the shape of user's input is obtained;
Concrete, this selection instruction comprises the location parameter of the shape of user's input, and this location parameter comprises coordinate parameters.
Electronic equipment can obtain the selection instruction that other electronic equipments send, also the selection instruction being used to indicate the shape of user-selected user's input of user's triggering can be obtained at this electronic equipment, and the network bandwidth meet pre-conditioned after, the importance matrix in the region indicated by the shape of user's input, the current instant video frame at least comprising region is processed, after obtaining the current instant video frame after process, obtain this selection instruction.
803, according to the transmission policy that shape and the electronic equipment of user's input are supported, current instant video frame is shown.
Concrete, according to position coordinates, show the shape of this user input.
The embodiment of the present invention is not limited concrete display mode.
Wherein, if the transmission policy corresponding to current instant video frame obtained do not supported by this electronic equipment, then send information to the electronic equipment or server that send this instant video frame, the transmission policy corresponding to current instant video frame obtained is not supported to point out this electronic equipment, with the electronic equipment making server or send this instant video frame after getting this information, the code corresponding with this transmission policy is sent, so that this code of this electronic configurations to this electronic equipment.
The image quality in the region indicated by the shape that user in current instant video frame inputs is better than other regions, thus meet the region indicated by shape user's attention rate of this electronic equipment being migrated to user's input in instant video, thus meet the attention rate of user to a certain region in instant video and be greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions and user and wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video, improve Consumer's Experience.In addition, by the shape of display user input, user's attention rate of this electronic equipment can be realized to migrate to the region indicated by shape of user's input in instant video further, thus meet that the attention rate of user to a certain region in instant video is greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions and user wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video, improve Consumer's Experience.In addition, because selection instruction comprises at least one in the special effect parameters of the size parameter of the shape of user's input, the location parameter of the shape of user's input, the frame parameter of the shape of user's input and the shape of user's input, so add the display format of instant video, meet the diversified demand of user further, improve Consumer's Experience.
The effect that the method provided to further illustrate the embodiment of the present invention reaches, below in conjunction with accompanying drawing, the method that the embodiment of the present invention provides is further illustrated, suppose that the shape that user-selected fixed user inputs is the shape shown in Fig. 6, the interface obtaining the current instant video frame display after process can with reference to shown in the b in Fig. 9, a in Fig. 9 is the interface shown after obtaining current instant video frame, in fig .9, definition indicated by second display effect and details reserved are greater than or equal to definition indicated by the first display effect and details reserved, definition indicated by 3rd display effect and details reserved are less than definition indicated by the first display effect and details reserved.
Embodiments provide a kind of display packing of instant video, by obtaining and showing the current instant video frame according to any one transmission in the first transmission policy, the second transmission policy, the 3rd transmission policy and the 4th transmission policy, meet the demand that user in instant video process wishes to be greater than the definition in selected region and details reserved other regions, further increase Consumer's Experience.In addition, by obtaining the shape of user's input, add the form that user inputs indicated region, improve the mutual interest of instant video and interactivity, add the interaction mode of user in instant video interactive process, meet the diversified demand of user further, improve Consumer's Experience.
The transmission method of a kind of instant video that embodiment five provides for the embodiment of the present invention, in embodiments of the present invention, the location parameter of the shape of user's input comprises characterising parameter, this characterising parameter for user-selected fixed user input in instant video frame described shape indicated by details in region, exemplary, if at least comprise face in region indicated by the shape of user-selected fixed user input, then this details can be the eyes of user, nose, mouth and eyebrow etc., with reference to shown in Figure 10, the method comprises:
1001, obtain the curve of user's input, the partial trace that Curves comprises is closed curve.
Concrete, this step is identical with step 301, is or else repeated herein.
By obtaining the curve of user's input, the curve made it possible to by inputting according to user determines the region indicated by user, the region indicated by user is determined compared to the shape selecting user to input by user, this process simplify operating procedure, improve the step that user inputs indicated region, improve the efficiency of transmission of instant video, meet the attention rate of user to a certain region in instant video further and be greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions and user and wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video, improve Consumer's Experience, in addition, by obtaining the curve of user's input, add the form that user inputs indicated region, meet that the attention rate of user to a certain region in instant video is greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions further and user wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video, improve Consumer's Experience.
1002, determine that the shape indicated by closed curve is the shape that user inputs.
Concrete, this step is identical with step 302, is or else repeated herein.
By determining that the shape indicated by closed curve is the shape that user inputs, add the form that user inputs indicated region, meet that the attention rate of user to a certain region in instant video is greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions further and user wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video, improve Consumer's Experience.
1003, obtain the location parameter of user's input, location parameter comprises characterising parameter.
Concrete, this step is identical with step 303, is or else repeated herein.
It should be noted that step 1001 to step 1003 is the processes realizing the shape obtaining user's input, except the mode of above-mentioned steps, can also realize this process by other means, the embodiment of the present invention is not limited concrete mode.
By obtaining the shape of user's input, add the form that user inputs indicated region, improve the mutual interest of instant video and interactivity, meet that the attention rate of user to a certain region in instant video is greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions further and user wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video, improve Consumer's Experience.
1004, in current instant video frame, identify the details indicated by characterising parameter.
Concrete, obtain the characteristic parameter of all characteristic points in current instant video frame;
The similarity obtained between characteristic parameter included in characteristic parameter and selection instruction is greater than or equal to all characteristic points of predetermined threshold value;
Determine the details of details indicated by characterising parameter that this all characteristic point forms.
The attention rate of user to a certain region in instant video is greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions and user and wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video, that other regions are greater than to the attention rate of the details in this region, other regions are greater than to the definition of the details in this region and the requirement of details reserved and wish that attention rate is migrated to the details in the region specified by user by mutual other participants of instant video, by identifying the details indicated by characterising parameter in current instant video frame, meet the attention rate of user to the details in this region and be greater than other regions, other regions are greater than to the definition of the details in this region and the requirement of details reserved and wish that attention rate is migrated to the diversified demand of the details in the region specified by user by mutual other participants of instant video.
1005, according to details, in current instant video frame, the region indicated by shape is determined.
Concrete, the coordinate of the characteristic point of this this details of composition is set to the coordinate of the point in the region inputted.
In addition, can also by other means, realize according to details, in current instant video frame, determine the region inputted, the embodiment of the present invention be limited concrete mode.
Because the position of the details in the region of input can change, so determine the region inputted in current instant video frame according to details, further meet that the attention rate of user to a certain region in instant video is greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions and user wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video, add interactivity and the interest of instant video, further increase Consumer's Experience.
It should be noted that, step 1004 to step 1005 is the processes realizing determining the region indicated by the shape that user inputs in current instant video frame, except the mode of above-mentioned steps, can also realize this process by other means, the embodiment of the present invention is not limited concrete mode.
By identifying the details indicated by characterising parameter in current instant video frame, and according to details, the region inputted is determined in current instant video frame, details position in the region inputted in instant frame of video changes, meet the attention rate of user to the details in the region of input and be greater than other regions, other regions are greater than to the definition of details in region of input and the requirement of details reserved and wish that attention rate is migrated to the details in the region of input by mutual other participants of instant video, thus meet the attention rate of user to a certain region in instant video further and be greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions and user and wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video, add interactivity and the interest of instant video, further increase Consumer's Experience.
If so, and the first transmission policy supported by electronic equipment 1006, judge whether the network bandwidth is greater than or equal to the first preset value, then perform step 1007; If not, then judge whether the network bandwidth is less than the first preset value, and be greater than or equal to the second preset value; If so, and the second transmission policy supported by electronic equipment, then step 1009 is performed; If not, then judge that the network bandwidth is less than the second preset value, and be greater than or equal to the 3rd preset value; If so, and electronic equipment support the 3rd transmission policy, then perform step 1012; If not, and the 4th transmission policy supported by electronic equipment, then perform step 1014.
Concrete, this step is identical with step 303, is or else repeated herein.
Optionally, due to the unsteadiness of network bandwidth during Internet Transmission, so, in the preset time period before can current time being judged the mean value of the network bandwidth whether meet first pre-conditioned, second pre-conditioned, the 3rd pre-conditioned and the 4th pre-conditioned in any one.
Wherein, in actual applications, preset time period can be 0.2 second.
By judging whether the mean value of the network bandwidth in the preset time period between current time meets pre-conditioned, eliminates the unsteadiness of network bandwidth during Internet Transmission, ensure that and the reliability that instant video is encoded improve Consumer's Experience.
It should be noted that, if the network bandwidth is greater than or equal to the first preset value, and the first transmission policy do not supported by electronic equipment, then by conventional transmission means transmission instant video frame.
If the network bandwidth is less than the first preset value, be greater than or equal to the second preset value, and the second transmission policy do not supported by electronic equipment, then by conventional transmission means transmission instant video frame.
If the network bandwidth is less than the second preset value, be greater than or equal to the 3rd preset value, and the 3rd transmission policy do not supported by electronic equipment, then by conventional transmission means transmission instant video frame.
If the network bandwidth is less than the 3rd preset value, and the 4th transmission policy do not supported by electronic equipment, then by conventional transmission means transmission instant video frame.
Due to pre-conditioned by judging whether the network bandwidth meets, so when decision network bandwidth is low, instant video is processed, not only can improve the utilance of the network bandwidth, save Internet resources, improve the efficiency of transmission of instant video, can also when the network bandwidth be low, meet the attention rate of user to a certain region in instant video and be greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions and user and wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video, further increase Consumer's Experience.
1007, according to the importance matrix corresponding with current instant video frame, current instant video is processed, obtain the instant video frame after process.
Concrete, this step is identical with step 304, is or else repeated herein.
By carrying out low-pass filtering to current instant video, eliminate the high-frequency signal in this current instant video, reduce the bandwidth resources shared by current instant video, thus the efficiency of transmission of instant video can be improved, meet that the attention rate of user to a certain region in instant video is greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions further and user wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video, improve Consumer's Experience, in addition, due to importance matrix indicate in instant video frame user input shape indicated by region and non-user input shape indicated by region, so, by importance matrix, region indicated by the shape input the user indicated by importance matrix retains, the region indicated by shape of the non-user input in instant video frame is replaced in the region indicated by shape utilizing the non-user in the instant video frame after low-pass filtering to input, the image making the region indicated by shape of user's input in the instant video frame after the process exported is distortionless original image, the image in the region indicated by shape of non-user input is the image not comprising high-frequency signal, thus when making the instant video frame after transmitting this process, bandwidth resources required when decreasing transmission, improve the efficiency of transmission of instant video, meet the attention rate of user to a certain region in instant video further and be greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions and user and wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video, improve Consumer's Experience.
1008, the instant video frame after transmission process, terminates.
Concrete, this step is identical with step 305, is or else repeated herein.
It should be noted that, step 1007 to step 1008 realizes according to the first transmission policy, transmission comprises the process of the current instant video frame in the region indicated by shape of user's input, except the mode of above-mentioned steps, can also realize this process by other means, the embodiment of the present invention is not limited concrete mode.
Because the embodiment of the present invention processes current instant video frame according to importance matrix, and importance matrix indicates the importance measures value of each pixel in current instant video, thus each pixel is processed, improve the image quality of the instant video after process, meet the attention rate of user to a certain region in instant video further and be greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions and user and wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video, improve Consumer's Experience.
1009, the instant video frame in region indicated by the shape at least comprising user's input is divided at least one macro block, and the quantization parameter of composition corresponding at least one macro block is set.
Concrete, this step is identical with step 306, is or else repeated herein.
Due under the scene of instant video interactive, mutual both sides require to be greater than other regions for the attention rate in the region in instant video indicated by the shape of the user such as face region input and image quality, so, can be the first numerical value by the quantization parameter of the macro block arranging the region indicated by this shape comprising all or part of user input, in an encoding process, the details in the region indicated by shape of this user of more reservation input, make the image quality in the region that can ensure in instant video process indicated by the shape that user inputs, meet the requirement of the picture detail in the region indicated by shape of user to user input, meet the attention rate of user to a certain region in instant video further and be greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions and user and wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video, improve Consumer's Experience.In addition, due under the scene of instant video interactive, mutual both sides require to be greater than other regions for the attention rate in the region in instant video indicated by the shape of the user such as face region input and image quality, so, the quantization parameter that can arrange the macro block in the region indicated by shape not comprising all or part of user input is second value, in an encoding process, the details of macro block in the region indicated by the shape do not comprise all or part of user input to this does not retain, reduce the bandwidth that the macro block in the region indicated by shape not comprising all or part of user input is shared when transmitting, make compared to traditional instant video transmission method, bandwidth resources needed for the method are less, thus can bandwidth resources be saved, improve the efficiency of instant video transmission, meet the attention rate of user to a certain region in instant video further and be greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions and user and wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video, improve Consumer's Experience.In addition, the quantization parameter being comprised the macro block in the region indicated by shape of all or part of user input by setting is the first numerical value, the quantization parameter arranging the macro block in the region indicated by shape not comprising all or part of user input is second value, make in an encoding process, remain the details in the region indicated by shape of user's input, the details in the region indicated by the shape input non-user does not retain, make on the basis that undistorted transmission is carried out in the region indicated by the shape inputted user, further reduce the bandwidth that the region indicated by shape of non-user input is shared when transmitting, make compared to traditional instant video transmission method, the method can not only ensure the image quality in the region indicated by the shape that user inputs, and required bandwidth resources are less, thus bandwidth resources can be saved further, improve the efficiency of instant video transmission, meet the attention rate of user to a certain region in instant video further and be greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions and user and wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video, improve Consumer's Experience.
1010, according to quantization parameter, at least one macro block is encoded, generate the instant video frame after coding.
Concrete, this step is identical with step 307, is or else repeated herein.
1011, the instant video frame after transfer encoding, terminates.
Concrete, this step is identical with step 308, is or else repeated herein.
It should be noted that, step 1009 to step 1011 realizes according to the second transmission policy, transmission comprises the process of the current instant video frame in the region indicated by shape of user's input, except the mode of above-mentioned steps, can also realize this process by other means, the embodiment of the present invention is not limited concrete mode.
Because basis is used to indicate the quantization parameter of macro block fine degree in an encoding process, at least one macro block is encoded, make in an encoding process, remain the details in the region indicated by shape of user's input, the details in the region indicated by shape of non-user input is not retained, not only more broadband resource is used for the transmission in the region indicated by shape of user's input, and ensure that the image quality in the region indicated by shape that user inputs in instant video, thus ensure that the transmission in the region indicated by the shape that user inputs, improve the efficiency of transmission of instant video, meet the attention rate of user to a certain region in instant video further and be greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions and user and wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video, improve Consumer's Experience.
1012, the residual error data between the current instant video frame in the region indicated by shape comprising user's input and reference frame is obtained.
Concrete, this step is identical with step 309, is or else repeated herein.
Due to user's input in current instant video frame shape indicated by the attitude parameter in region and reference frame in the attitude parameter in region indicated by the shape that inputs of user be standard attitude parameter, so according to normal place parameter and standard attitude parameter, obtain the residual error data between the current instant video frame in the region indicated by shape comprising user's input and reference frame, compared to the attitude parameter location parameter in the region indicated by the shape of user's input in current instant video frame, with the location parameter in reference frame and attitude parameter, generate residual error data, decrease volume of transmitted data and treating capacity in instant video transmitting procedure, improve the efficiency of transmission of instant video, meet the attention rate of user to a certain region in instant video further and be greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions and user and wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video, improve Consumer's Experience.In addition, residual error data between the region indicated by shape that region indicated by the shape inputted by the user obtained in current instant video frame and the user in reference frame are inputted, realize the transmission of instant video, compared to traditional instant video transmission method, the method further reduces volume of transmitted data and treating capacity in instant video transmitting procedure, thus improve the efficiency of transmission of instant video, meet the attention rate of user to a certain region in instant video further and be greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions and user and wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video, improve Consumer's Experience.
1013, transmit residual error data, terminate.
Concrete, this step is identical with step 310, is or else repeated herein.
It should be noted that, step 1012 to step 1013 realizes according to the 3rd transmission policy, transmission comprises the process of the current instant video frame in the region indicated by shape of user's input, except the mode of above-mentioned steps, can also realize this process by other means, the embodiment of the present invention is not limited concrete mode.
Owing to obtaining and transmitting the residual error data between the current instant video frame in the region indicated by the shape comprising user's input and reference frame, compared to the whole instant video frame of traditional transmission, this method save network bandwidth resources, ensure that the image quality in the region indicated by shape of user's input in instant video simultaneously, ensure that the transmission in the region indicated by the shape that user inputs, thus improve the efficiency of transmission of instant video, meet the attention rate of user to a certain region in instant video further and be greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions and user and wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video, improve Consumer's Experience.
Optionally, in actual applications, before execution step 1012, at least one in step 1007 and step 1011 can also be performed.
1014, the characteristic parameter in the region indicated by shape for describing user's input is obtained.
Concrete, this step is identical with step 311, is or else repeated herein.
Because the attitude parameter of Delta Region and location parameter indicate current position, Delta Region and attitude, by adjusting this characteristic parameter, the driving to Delta Region can be realized, by the attitude parameter of at least one Delta Region and the location parameter in the region indicated by the shape that forms this user input in this current instant video, adjust attitude parameter and the location parameter of identical Delta Region in the instant video frame transmitted, can realize the zone migration indicated by the shape of the user's input in current instant video frame to the instant video frame transmitted, compared to the current instant video frame of transmission, save the network bandwidth, improve the efficiency of transmission of instant video, meet the attention rate of user to a certain region in instant video further and be greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions and user and wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video, improve Consumer's Experience.
1015, transmission feature parameter.
Concrete, this step 312 is identical, is or else repeated herein.
It should be noted that, step 1014 to step 1015 realizes according to the 4th transmission policy, transmission comprises the process of the current instant video frame in the region indicated by shape of user's input, except the mode of above-mentioned steps, can also realize this process by other means, the embodiment of the present invention is not limited concrete mode.
By only transmitting the characteristic parameter in the region indicated by the shape for describing user's input, compared to the whole instant video frame data of transmission, save bandwidth resources, thus further increase the efficiency of transmission of instant video, meet that the attention rate of user to a certain region in instant video is greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions further and user wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video, improve Consumer's Experience.
Optionally, in addition to the foregoing steps, the method that the embodiment of the present invention provides can also comprise:
1016, the shape that user inputs is sent to other electronic equipments.
By this selection instruction is sent to other electronic equipments, make other electronic equipments can show the shape of the user's input indicated by this selection instruction, add the interactive form of instant video, meet the diversified demand of user in instant video process, further increase Consumer's Experience.In addition, by this selection instruction is sent to other electronic equipments, the data compared to the shape this user inputted are sent to other electronic equipments, decrease data volume during transmission, save Internet resources, improve the efficiency of transmission of instant video, further increase Consumer's Experience.
The effect that the method provided to further illustrate the embodiment of the present invention reaches, below in conjunction with accompanying drawing, the method that the embodiment of the present invention provides is further illustrated, suppose that the shape that user inputs is the shape shown in Fig. 6, after a in Figure 11 being performed to the method for the embodiment of the present invention, the interface generated can with reference to shown in the b in Figure 11, if the position of the user in instant video interface in picture changes, then interface can with reference to shown in the c in Figure 11, in fig. 11, definition indicated by second display effect and details reserved are greater than or equal to definition indicated by the first display effect and details reserved, definition indicated by 3rd display effect and details reserved are less than definition indicated by the first display effect and details reserved.
Under the scene of instant video interactive, the method that the embodiment of the present invention provides meets that the attention rate of user to a certain region in instant video is greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions and user wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video, add interactivity and the interest of instant video, further increase Consumer's Experience.In addition, the position of the details in the region indicated by the shape that user inputs can change, so determine the region indicated by the shape that user inputs according to details in current instant video frame, details position in the region indicated by shape of user's input in instant frame of video is changed, still can ensure the image quality of this details region, thus further meet the attention rate of user to a certain region in instant video and be greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions and user and wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video, add interactivity and the interest of instant video, further increase Consumer's Experience.Such as, face is comprised, by performing the method for the embodiment of the present invention, when face location changes in the region indicated by shape of user's input, the position in the region indicated by shape of user's input also can change along with face, thus ensures the image quality of this face region.
Embodiments provide a kind of transmission method of instant video, first pre-conditioned by judging that whether the network bandwidth meets, second is pre-conditioned, 3rd pre-conditioned and the 4th pre-conditioned in any one, thus different transmission policys can be taked according to the different network bandwidths to the current instant video frame in region indicated by the shape comprising user's input, compared to the transmission method of traditional instant video, not only meet the attention rate of user to a certain region in instant video and be greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions and user and wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video, improve Consumer's Experience, also improve the utilance of the network bandwidth, save Internet resources, thus improve the efficiency of transmission of instant video, improve Consumer's Experience, in addition, method due to the embodiment of the present invention is after obtain the region indicated by the shape of user's input from current instant video frame, current instant video frame is processed, make compared to traditional instant video coding method, when bandwidth resources are constant, more broadband resource is used for the transmission in the region indicated by shape of user's input, thus ensure that the transmission in the region indicated by the shape that user inputs, meet the attention rate of user to a certain region in instant video further and be greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions and user and wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video, improve Consumer's Experience.In addition, by obtaining the shape of user's input, add the form that user inputs indicated region, improve the mutual interest of instant video and interactivity, add the interaction mode of user in instant video interactive process, meet the diversified demand of user further, improve Consumer's Experience.In addition, by determining the region indicated by the shape that user inputs in current instant video frame according to details, details position in the region indicated by shape of user's input in instant frame of video is changed, still can ensure the image quality of this details region, thus further meet the attention rate of user to a certain region in instant video and be greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions and user and wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video, add interactivity and the interest of instant video, further increase Consumer's Experience.
The display packing of a kind of instant video that embodiment six provides for the embodiment of the present invention, in embodiments of the present invention, the location parameter of the shape of user's input comprises characterising parameter, this characterising parameter for user-selected fixed user input in instant video frame described shape indicated by details in region, exemplary, if at least comprise face in region indicated by the shape of user-selected fixed user input, then this details can be the eyes of user, nose, mouth and eyebrow etc., with reference to shown in Figure 12, the method comprises:
1201, the current instant video frame of electronic equipment according to any one transmission in the first transmission policy, the second transmission policy, the 3rd transmission policy and the 4th transmission policy is obtained.
Concrete, this step is identical with step 801, is or else repeated herein.
1202, the shape of user's input is obtained;
Concrete, this selection instruction comprises the location parameter of the shape of user's input, and this location parameter comprises characterising parameter.
In addition, this step is identical with step 802, is or else repeated herein.
1203, in current instant video frame, identify the details indicated by characterising parameter.
Concrete, this step is identical with step 1004, is or else repeated herein.
The attention rate of user to a certain region in instant video is greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions and user and wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video, that other regions are greater than to the attention rate of the details in this region, other regions are greater than to the definition of the details in this region and the requirement of details reserved and wish that attention rate is migrated to the details in the region specified by user by mutual other participants of instant video, by identifying the details indicated by characterising parameter in current instant video frame, meet the attention rate of user to the details in this region and be greater than other regions, other regions are greater than to the definition of the details in this region and the requirement of details reserved and wish that attention rate is migrated to the diversified demand of the details in the region specified by user by mutual other participants of instant video.
1204, according to the transmission policy that details and electronic equipment are supported, the region in current instant video frame indicated by display shape.
Concrete, the coordinate of the characteristic point of this this details of composition is set to the coordinate of the point in the region inputted.
According to this coordinate, the current instant video frame after Graphics Processing.
In addition, can also by other means, realize according to details, determine in current instant video frame and show the region inputted, the embodiment of the present invention be limited concrete mode.
Because the position of the details in the region of input can change, so determine the region inputted in current instant video frame according to details, further meet that the attention rate of user to a certain region in instant video is greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions and user wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video, add interactivity and the interest of instant video, further increase Consumer's Experience.
It should be noted that, step 1203 to step 1204 realizes the shape according to user's input, shows the process of current instant video frame, except the mode of above-mentioned steps, can also realize this process by other means, the embodiment of the present invention is not limited concrete mode.
Because the image quality in the region inputted in the current instant video frame after process is better than other regions, thus meet user's attention rate of this electronic equipment is migrated to the region inputted in instant video, thus meet that the attention rate of user to a certain region in instant video is greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions and user wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video, improve Consumer's Experience.Additionally by the details identified in current instant video frame indicated by characterising parameter, and according to details, the region inputted is determined in current instant video frame, details position in the region inputted in instant frame of video changes, meet the attention rate of user to the details in the region of input and be greater than other regions, other regions are greater than to the definition of details in region of input and the requirement of details reserved and wish that attention rate is migrated to the details in the region of input by mutual other participants of instant video, thus meet the attention rate of user to a certain region in instant video further and be greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions and user and wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video, add interactivity and the interest of instant video, further increase Consumer's Experience.In addition, by the shape of display user input, user's attention rate of this electronic equipment can be realized to migrate to the region indicated by shape of user's input in instant video further, thus meet that the attention rate of user to a certain region in instant video is greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions and user wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video, improve Consumer's Experience.
In the embodiment of the present invention, current instant video frame after process is in the shape obtaining user's input, and the network bandwidth meet pre-conditioned after, according to the importance matrix in the region of input, carry out processing to the current instant video frame in the region indicated by the shape at least comprising input and obtain, wherein, the process obtaining the current instant video frame after process can realize on other electronic equipments, also can realize on this electronic equipment.
Wherein, if the transmission policy corresponding to current instant video frame obtained do not supported by this electronic equipment, then send information to the electronic equipment or server that send this instant video frame, the transmission policy corresponding to current instant video frame obtained is not supported to point out this electronic equipment, with the electronic equipment making server or send this instant video frame after getting this information, the code corresponding with this transmission policy is sent, so that this code of this electronic configurations to this electronic equipment.
The effect that the method provided to further illustrate the embodiment of the present invention reaches, below in conjunction with accompanying drawing, the method that the embodiment of the present invention provides is further illustrated, suppose that the shape that user-selected fixed user inputs is the shape shown in Fig. 6, the interface obtaining the current instant video frame display after process can with reference to shown in the b in Figure 13, a in Figure 13 is the interface shown after obtaining current instant video frame, if the position of the user in instant video interface in picture changes, then interface can with reference to shown in the c in Figure 13, in fig. 13, definition indicated by second display effect and details reserved are greater than or equal to definition indicated by the first display effect and details reserved, definition indicated by 3rd display effect and details reserved are less than definition indicated by the first display effect and details reserved.
Embodiments provide a kind of display packing of instant video, by obtaining and showing the current instant video frame according to any one transmission in the first transmission policy, the second transmission policy, the 3rd transmission policy and the 4th transmission policy, meet the demand that user in instant video process wishes to be greater than the definition in selected region and details reserved other regions, further increase Consumer's Experience.In addition, by obtaining the shape of user's input, add the form that user inputs indicated region, improve the mutual interest of instant video and interactivity, add the interaction mode of user in instant video interactive process, meet the diversified demand of user further, improve Consumer's Experience.In addition, by determine in current instant video frame according to details and show user input shape indicated by region, details position in the region indicated by shape of user's input in instant frame of video is changed, still can ensure the image quality of this details region, thus further meet the attention rate of user to a certain region in instant video and be greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions and user and wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video, add interactivity and the interest of instant video, further increase Consumer's Experience.
A kind of electronic equipment 14 that embodiment seven provides for the embodiment of the present invention, with reference to shown in Figure 14, this electronic equipment 14 comprises:
Acquisition module 1401, for obtaining the shape of user's input;
First processing module 1402, for determining the region indicated by shape in current instant video frame;
Judging module 1403, for judge the network bandwidth whether meet first pre-conditioned, second pre-conditioned, the 3rd pre-conditioned and the 4th pre-conditioned in any one;
First processing module 1402 also for according to the network bandwidth the transmission policy supported of the pre-conditioned and electronic equipment that meets, trigger with any one in lower module:
Second processing module 1404, for meet at the network bandwidth first pre-conditioned time, according to the first transmission policy, transmission comprises the current instant video frame in the region indicated by shape of user's input; Or,
3rd processing module 1405, for meet at the network bandwidth second pre-conditioned time, according to the second transmission policy, transmission comprises the current instant video frame in the region indicated by shape of user's input; Or,
4th processing module 1406, for meet at the network bandwidth the 3rd pre-conditioned time, according to the 3rd transmission policy, transmission comprises the current instant video frame in the region indicated by shape of user's input; Or,
5th processing module 1407, for meet at the network bandwidth the 4th pre-conditioned time, according to the 4th transmission policy, transmission comprises the current instant video frame in the region indicated by shape of user's input.
Optionally, acquisition module 1401 specifically for:
Obtain the curve of user's input, the partial trace that Curves comprises is closed curve, and determines that the shape indicated by closed curve is the shape that user inputs;
Obtain the location parameter of user's input, location parameter comprises any one in coordinate parameters and characteristic parameter.
Optionally, the first processing module 1402 is for performing any one in following operation:
Location parameter comprises coordinate parameters, according to coordinate parameters, determines the region indicated by shape in current instant video frame; Or,
Location parameter comprises characterising parameter, identifies the details indicated by characterising parameter in current instant video frame;
According to details, in current instant video frame, determine the region indicated by shape.
Optionally, the second processing module 1404 specifically for:
According to the importance matrix corresponding with current instant video frame, current instant video is processed, obtain the instant video frame after process;
Instant video frame after transmission process.
Optionally, the 3rd processing module 1405 specifically for:
The instant video frame in region indicated by the shape at least comprising user's input is divided at least one macro block, and the quantization parameter of composition corresponding at least one macro block is set;
According to quantization parameter, at least one macro block is encoded, generate the instant video frame after coding;
Instant video frame after transfer encoding.
Optionally, the 4th processing module 1406 specifically for:
Obtain the residual error data between the current instant video frame in the region indicated by shape comprising user's input and reference frame;
Transmission residual error data.
Optionally, the 5th processing module 1407 is specifically for comprising:
Obtain the characteristic parameter in the region indicated by the shape for describing user's input;
Transmission feature parameter.
Optionally, electronic equipment also comprises sending module, for:
The shape that user inputs is sent to other electronic equipments.
Embodiments provide a kind of electronic equipment, this electronic equipment is by judging that the network bandwidth is whether satisfied first pre-conditioned, second is pre-conditioned, 3rd pre-conditioned and the 4th pre-conditioned in any one, thus different transmission policys can be taked according to the different network bandwidths to the current instant video frame in region indicated by the shape comprising user's input, compared to the transmission method of traditional instant video, not only meet the attention rate of user to a certain region in instant video and be greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions and user and wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video, improve Consumer's Experience, also improve the utilance of the network bandwidth, save Internet resources, thus improve the efficiency of transmission of instant video, improve Consumer's Experience, in addition, method due to the embodiment of the present invention is after obtain the region indicated by the shape of user's input from current instant video frame, current instant video frame is processed, make compared to traditional instant video coding method, when bandwidth resources are constant, more broadband resource is used for the transmission in the region indicated by shape of user's input, thus ensure that the transmission in the region indicated by the shape that user inputs, meet the attention rate of user to a certain region in instant video further and be greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions and user and wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video, improve Consumer's Experience.In addition, by obtaining the shape of user's input, add the form that user inputs indicated region, improve the mutual interest of instant video and interactivity, add the interaction mode of user in instant video interactive process, meet the diversified demand of user further, improve Consumer's Experience.
A kind of electronic equipment 15 that embodiment eight provides for the embodiment of the present invention, with reference to shown in Figure 15, the processor 1503 that this electronic equipment 15 comprises sending module 1501, memory 1502 and is connected with sending module 1501, memory 1502, wherein, memory 1502 is for storing batch processing code, and processor 1503 calls program code that memory 1502 stores for performing following operation:
Obtain the shape of user's input;
The region indicated by shape is determined in current instant video frame;
According to the network bandwidth the transmission policy supported of the pre-conditioned and electronic equipment that meets, perform any one in following operation:
If the network bandwidth meets first pre-conditioned, then according to the first transmission policy, transmission comprises the current instant video frame in the region indicated by shape; Or,
If the network bandwidth meets second pre-conditioned, then according to the second transmission policy, transmission comprises the current instant video frame in the region indicated by shape; Or,
If the network bandwidth meets the 3rd pre-conditioned, then according to the 3rd transmission policy, transmission comprises the current instant video frame in the region indicated by shape; Or,
If the network bandwidth meets the 4th pre-conditioned, then according to the 4th transmission policy, transmission comprises the current instant video frame in the region indicated by shape.
Optionally, processor 1503 calls program code that memory 1502 stores for performing following operation:
Obtain the curve of user's input, the partial trace that Curves comprises is closed curve, and determines that the shape indicated by closed curve is the shape that user inputs;
Obtain the location parameter of user's input, location parameter comprises any one in coordinate parameters and characteristic parameter.
Optionally, processor 1503 calls program code that memory 1502 stores for performing any one in following operation:
Location parameter comprises coordinate parameters, according to coordinate parameters, determines the region indicated by shape in current instant video frame; Or,
Location parameter comprises characterising parameter, identifies the details indicated by characterising parameter in current instant video frame;
According to details, in current instant video frame, determine the region indicated by shape.
Optionally, processor 1503 calls program code that memory 1502 stores for performing following operation:
According to the importance matrix corresponding with current instant video frame, current instant video is processed, obtain the instant video frame after process;
Instant video frame after transmission process.
Optionally, processor 1503 calls program code that memory 1502 stores for performing following operation:
The instant video frame in region indicated by the shape at least comprising user's input is divided at least one macro block, and the quantization parameter of composition corresponding at least one macro block is set;
According to quantization parameter, at least one macro block is encoded, generate the instant video frame after coding;
Instant video frame after transfer encoding.
Optionally, processor 1503 calls program code that memory 1502 stores for performing following operation:
Obtain the residual error data between the current instant video frame in the region indicated by shape comprising user's input and reference frame;
Transmission residual error data.
Optionally, processor 1503 calls program code that memory 1502 stores for performing following operation:
Obtain the characteristic parameter in the region indicated by the shape for describing user's input;
Transmission feature parameter.
Optionally, processor 1503 calls program code that memory 1502 stores for performing following operation:
The shape that user inputs is sent to other electronic equipments.
Embodiments provide a kind of electronic equipment, this electronic equipment is by judging that the network bandwidth is whether satisfied first pre-conditioned, second is pre-conditioned, 3rd pre-conditioned and the 4th pre-conditioned in any one, thus different transmission policys can be taked according to the different network bandwidths to the current instant video frame in region indicated by the shape comprising user's input, compared to the transmission method of traditional instant video, not only meet the attention rate of user to a certain region in instant video and be greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions and user and wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video, improve Consumer's Experience, also improve the utilance of the network bandwidth, save Internet resources, thus improve the efficiency of transmission of instant video, improve Consumer's Experience, in addition, method due to the embodiment of the present invention is after obtain the region indicated by the shape of user's input from current instant video frame, current instant video frame is processed, make compared to traditional instant video coding method, when bandwidth resources are constant, more broadband resource is used for the transmission in the region indicated by shape of user's input, thus ensure that the transmission in the region indicated by the shape that user inputs, meet the attention rate of user to a certain region in instant video further and be greater than other regions, the requirement of user to the definition in a certain region and details reserved is greater than other regions and user and wishes that attention rate is migrated to the diversified demand in the region specified by user by mutual other participants of instant video, improve Consumer's Experience.In addition, by obtaining the shape of user's input, add the form that user inputs indicated region, improve the mutual interest of instant video and interactivity, add the interaction mode of user in instant video interactive process, meet the diversified demand of user further, improve Consumer's Experience.
A kind of electronic equipment 16 that embodiment nine provides for the embodiment of the present invention, with reference to shown in Figure 16, this electronic equipment 16 comprises:
First acquisition module 1601, for obtaining the current instant video frame of electronic equipment according to any one transmission in the first transmission policy, the second transmission policy, the 3rd transmission policy and the 4th transmission policy;
Second acquisition module 1602, for obtaining the shape of user's input;
Display module 1603, for the transmission policy that the shape that inputs according to described user and electronic equipment are supported, shows current instant video frame.
Embodiments provide a kind of electronic equipment, this electronic equipment is by obtaining and showing the current instant video frame according to any one transmission in the first transmission policy, the second transmission policy, the 3rd transmission policy and the 4th transmission policy, meet the demand that user in instant video process wishes to be greater than the definition in selected region and details reserved other regions, further increase Consumer's Experience.In addition, by obtaining the shape of user's input, add the form that user inputs indicated region, improve the mutual interest of instant video and interactivity, add the interaction mode of user in instant video interactive process, meet the diversified demand of user further, improve Consumer's Experience.
A kind of electronic equipment 17 that embodiment ten provides for the embodiment of the present invention, with reference to shown in Figure 17, the processor 1703 that this electronic equipment 17 comprises display screen 1701, memory 1702 and is connected with display screen 1701, memory 1702, wherein, memory 1702 stores batch processing code, and processor 1703 calls program code that memory 1702 stores for performing following operation:
Obtain the current instant video frame of electronic equipment according to any one transmission in the first transmission policy, the second transmission policy, the 3rd transmission policy and the 4th transmission policy;
Obtain the shape of user's input;
The transmission policy that the shape inputted according to described user and electronic equipment are supported, shows current instant video frame.
Embodiments provide a kind of electronic equipment, this electronic equipment is by obtaining and showing the current instant video frame according to any one transmission in the first transmission policy, the second transmission policy, the 3rd transmission policy and the 4th transmission policy, meet the demand that user in instant video process wishes to be greater than the definition in selected region and details reserved other regions, further increase Consumer's Experience.In addition, by obtaining the shape of user's input, add the form that user inputs indicated region, improve the mutual interest of instant video and interactivity, add the interaction mode of user in instant video interactive process, meet the diversified demand of user further, improve Consumer's Experience.
It should be noted that the interface in the embodiment of the present invention is only exemplary, be that the method in order to provide the embodiment of the present invention is further described, not refer in particular to herein, the embodiment of the present invention is not limited concrete interface.
Above-mentioned all alternatives, can adopt and combine arbitrarily formation optional embodiment of the present invention, this is no longer going to repeat them.
It should be noted that: the electronic equipment that above-described embodiment provides is when carrying out the coding of instant video, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, internal structure by equipment is divided into different functional modules, to complete all or part of function described above.In addition, the transmission method embodiment of the electronic equipment that above-described embodiment provides and instant video belongs to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be read-only memory, disk or CD etc.
These are only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (11)

1. a transmission method for instant video, is characterized in that, described method comprises:
Obtain the shape of user's input;
The region indicated by described shape is determined in current instant video frame;
According to the network bandwidth the transmission policy supported of the pre-conditioned and electronic equipment that meets, perform any one in following operation:
If the described network bandwidth meets first pre-conditioned, then according to the first transmission policy, transmission comprises the described current instant video frame in the region indicated by described shape; Or,
If the described network bandwidth meets second pre-conditioned, then according to the second transmission policy, transmission comprises the described current instant video frame in the region indicated by described shape; Or,
If the described network bandwidth meets the 3rd pre-conditioned, then according to the 3rd transmission policy, transmission comprises the described current instant video frame in the region indicated by described shape; Or,
If the described network bandwidth meets the 4th pre-conditioned, then according to the 4th transmission policy, transmission comprises the described current instant video frame in the region indicated by described shape.
2. method according to claim 1, is characterized in that, the shape of the described user's input of described acquisition comprises:
Obtain the curve of user's input, the partial trace that described Curves comprises is closed curve, and determines that the shape indicated by described closed curve is the shape that described user inputs;
Obtain the location parameter of described user input, described location parameter comprises any one in coordinate parameters and characteristic parameter.
3. method according to claim 1 and 2, is characterized in that, by any one in following operation, determines the region indicated by described shape in current instant video frame:
Described location parameter comprises coordinate parameters, according to described coordinate parameters, determines the region indicated by described shape in current instant video frame; Or,
Described location parameter comprises characterising parameter, identifies the details indicated by described characterising parameter in described current instant video frame;
According to described details, in described current instant video frame, determine the region indicated by described shape.
4. according to the arbitrary described method of claims 1 to 3, it is characterized in that, described according to the first transmission policy, the described current instant video frame that transmission comprises the region indicated by shape of described user input comprises:
According to the importance matrix corresponding with described current instant video frame, described current instant video is processed, obtain the instant video frame after process;
Transmit the instant video frame after described process.
5. according to the arbitrary described method of Claims 1-4, it is characterized in that, described according to the second transmission policy, the described current instant video frame strategy that transmission comprises the region indicated by shape of described user input comprises:
The instant video frame in region indicated by the shape at least comprising described user input is divided at least one macro block, and the described quantization parameter corresponding at least one macro block of composition is set;
According to described quantization parameter, at least one macro block described is encoded, generate the instant video frame after coding;
Transmit the instant video frame after described coding.
6. according to the arbitrary described method of claim 1 to 5, it is characterized in that, described according to the 3rd transmission policy, the described current instant video frame that transmission comprises the region indicated by shape of described user input comprises:
Obtain the residual error data between the current instant video frame in the region indicated by shape comprising described user input and reference frame;
Transmit described residual error data.
7. method according to claim 3, is characterized in that, described according to the 4th transmission policy, and the described current instant video frame that transmission comprises the region indicated by shape of described user input comprises:
Obtain the characteristic parameter in the region indicated by the shape for describing described user input;
Transmit described characteristic parameter.
8., according to the arbitrary described method of claim 1 to 7, it is characterized in that, described method also comprises:
The shape that described user inputs is sent to other electronic equipments.
9. an instant video display packing, is characterized in that, described method comprises:
Obtain the current instant video frame of electronic equipment according to any one transmission in the first transmission policy, the second transmission policy, the 3rd transmission policy and the 4th transmission policy;
Obtain the shape of user's input;
The transmission policy that the shape inputted according to described user and electronic equipment are supported, shows described current instant video frame.
10. an electronic equipment, is characterized in that, described electronic equipment comprises:
Acquisition module, for obtaining the shape of user's input;
First processing module, for determining the region indicated by described shape in current instant video frame;
Judging module, for judge the network bandwidth whether meet first pre-conditioned, second pre-conditioned, the 3rd pre-conditioned and the 4th pre-conditioned in any one;
Described first processing module also for according to the network bandwidth the transmission policy supported of the pre-conditioned and electronic equipment that meets, trigger with any one in lower module:
Second processing module, for meet at the network bandwidth first pre-conditioned time, according to the first transmission policy, transmission comprises the described current instant video frame in the region indicated by shape of described user input; Or,
3rd processing module, for meet at the network bandwidth second pre-conditioned time, according to the second transmission policy, transmission comprises the described current instant video frame in the region indicated by shape of described user input; Or,
4th processing module, for meet at the network bandwidth the 3rd pre-conditioned time, according to the 3rd transmission policy, transmission comprises the described current instant video frame in the region indicated by shape of described user input; Or,
5th processing module, for meet at the network bandwidth the 4th pre-conditioned time, according to the 4th transmission policy, transmission comprises the described current instant video frame in the region indicated by shape of described user input.
11. 1 kinds of electronic equipments, is characterized in that, described electronic equipment comprises:
First acquisition module, for obtaining the current instant video frame of electronic equipment according to any one transmission in the first transmission policy, the second transmission policy, the 3rd transmission policy and the 4th transmission policy;
Second acquisition module, for obtaining the shape of user's input;
Display module, for the transmission policy that the shape that inputs according to described user and electronic equipment are supported, shows described current instant video frame.
CN201510346227.6A 2015-06-19 2015-06-19 Instant-video transmission method and electronic equipment Pending CN104994405A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510346227.6A CN104994405A (en) 2015-06-19 2015-06-19 Instant-video transmission method and electronic equipment
PCT/CN2016/086144 WO2016202287A1 (en) 2015-06-19 2016-06-17 Real-time video transmission method and electronic apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510346227.6A CN104994405A (en) 2015-06-19 2015-06-19 Instant-video transmission method and electronic equipment

Publications (1)

Publication Number Publication Date
CN104994405A true CN104994405A (en) 2015-10-21

Family

ID=54306143

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510346227.6A Pending CN104994405A (en) 2015-06-19 2015-06-19 Instant-video transmission method and electronic equipment

Country Status (1)

Country Link
CN (1) CN104994405A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016202285A1 (en) * 2015-06-19 2016-12-22 美国掌赢信息科技有限公司 Real-time video transmission method and electronic apparatus
WO2016202287A1 (en) * 2015-06-19 2016-12-22 美国掌赢信息科技有限公司 Real-time video transmission method and electronic apparatus
CN114245198A (en) * 2021-12-17 2022-03-25 北京达佳互联信息技术有限公司 Media content processing method and device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101079716A (en) * 2006-04-06 2007-11-28 通用电气公司 Adaptive selection of image streaming mode
CN101164341A (en) * 2005-03-01 2008-04-16 高通股份有限公司 Quality metric-biased region-of-interest coding for video telephony
CN101588496A (en) * 2008-05-20 2009-11-25 吴平 A kind of communication system of the finely-coded local regions based on video content
CN102238374A (en) * 2010-04-21 2011-11-09 腾讯科技(深圳)有限公司 Method and device for compressing and coding image data
WO2014000238A1 (en) * 2012-06-28 2014-01-03 宇龙计算机通信科技(深圳)有限公司 Terminal and video image compression method
US20140136686A1 (en) * 2012-11-09 2014-05-15 Institute For Information Industry Dynamic resolution regulating system and dynamic resolution regulating method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101164341A (en) * 2005-03-01 2008-04-16 高通股份有限公司 Quality metric-biased region-of-interest coding for video telephony
CN101079716A (en) * 2006-04-06 2007-11-28 通用电气公司 Adaptive selection of image streaming mode
CN101588496A (en) * 2008-05-20 2009-11-25 吴平 A kind of communication system of the finely-coded local regions based on video content
CN102238374A (en) * 2010-04-21 2011-11-09 腾讯科技(深圳)有限公司 Method and device for compressing and coding image data
WO2014000238A1 (en) * 2012-06-28 2014-01-03 宇龙计算机通信科技(深圳)有限公司 Terminal and video image compression method
US20140136686A1 (en) * 2012-11-09 2014-05-15 Institute For Information Industry Dynamic resolution regulating system and dynamic resolution regulating method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016202285A1 (en) * 2015-06-19 2016-12-22 美国掌赢信息科技有限公司 Real-time video transmission method and electronic apparatus
WO2016202287A1 (en) * 2015-06-19 2016-12-22 美国掌赢信息科技有限公司 Real-time video transmission method and electronic apparatus
CN114245198A (en) * 2021-12-17 2022-03-25 北京达佳互联信息技术有限公司 Media content processing method and device, electronic equipment and storage medium
CN114245198B (en) * 2021-12-17 2024-02-06 北京达佳互联信息技术有限公司 Method and device for processing media content, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110418177B (en) Video encoding method, apparatus, device and storage medium
US10681355B2 (en) Describing method and coding method of panoramic video ROIs
CN105049949A (en) Coding method of instant video and electronic equipment
CN101707714B (en) Image processing method and device of multi-picture video session
CN105049947A (en) Transmission method of instant video and electronic equipment
CN104967914A (en) Instant video coding method and electronic device
CN105163195A (en) Real-time video coding method and electronic equipment
CN105049948A (en) Coding method of instant video and electronic equipment
CN104994405A (en) Instant-video transmission method and electronic equipment
CN104967917A (en) Instant video coding method and electronic device
CN112312229A (en) Video transmission method and device, electronic equipment and storage medium
CN105163197A (en) Real-time video coding method and electronic equipment
CN110620924A (en) Method and device for processing coded data, computer equipment and storage medium
CN105163196A (en) Real-time video coding method and electronic equipment
CN106791850A (en) Method for video coding and device
CN104052992B (en) A kind of image processing method and electronic equipment
CN113691812B (en) Hongmon system-based distributed video processing method, terminal and readable medium
CN105163125A (en) Real-time video coding method and electronic equipment
CN105163199A (en) Real-time video coding method and electronic equipment
WO2013165812A1 (en) Data transfer reduction during video broadcasts
CN105554375B (en) The method and device of video preview in a kind of hard disk video recorder
WO2016202285A1 (en) Real-time video transmission method and electronic apparatus
CN104967867A (en) Instant video coding method and electronic device
CN105163194A (en) Real-time video coding method and electronic equipment
CN105163198A (en) Real-time video coding method and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20151021

WD01 Invention patent application deemed withdrawn after publication