CN103607564B - The method and device that a kind of video acquisition based on photographic head realizes - Google Patents

The method and device that a kind of video acquisition based on photographic head realizes Download PDF

Info

Publication number
CN103607564B
CN103607564B CN201310557009.8A CN201310557009A CN103607564B CN 103607564 B CN103607564 B CN 103607564B CN 201310557009 A CN201310557009 A CN 201310557009A CN 103607564 B CN103607564 B CN 103607564B
Authority
CN
China
Prior art keywords
video
key frame
terminal unit
transmission
decoding
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.)
Expired - Fee Related
Application number
CN201310557009.8A
Other languages
Chinese (zh)
Other versions
CN103607564A (en
Inventor
汪心旺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TVMining Beijing Media Technology Co Ltd
Original Assignee
TVMining Beijing Media Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by TVMining Beijing Media Technology Co Ltd filed Critical TVMining Beijing Media Technology Co Ltd
Priority to CN201310557009.8A priority Critical patent/CN103607564B/en
Publication of CN103607564A publication Critical patent/CN103607564A/en
Application granted granted Critical
Publication of CN103607564B publication Critical patent/CN103607564B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of video acquisition realization method based on photographic head and device.Described method includes: according to the type information of each terminal unit playing Internet video, determine the optimum size of video acquisition;According to the network bandwidth of transmission network video, adjust the transmission code rate that Internet video is transmitted;The configuration parameter of the codec according to each terminal unit, determines that the encoding and decoding of Internet video gather rank;According to the hardware configuration information of each terminal unit, determine the key frame frame frequency of Network Video Collection;According to the definition requirement to video playback of each terminal unit, determine the quantity of key frame between the key frame benefit of Network Video Collection;The quantity of key frame between gathering rank, key frame frame frequency according to the described optimum size determined, transmission code rate, encoding and decoding and mend, to camera collection to the relevant parameter of original video be adjusted processing, obtain described Internet video waiting for transmission.

Description

The method and device that a kind of video acquisition based on photographic head realizes
Technical field
The present invention relates to technical field of video processing, particularly relate to a kind of video acquisition based on photographic head and realize Method and device.
Background technology
Along with the development of Internet network technology, the collection of Internet video and application are more and more extensive, pass through Network collection video image and sound are transferred to Correspondent Node, regard realizing both sides or real-time voice in many ways Frequency exchange.Such as: the instant messaging scenes such as Internet video chat, internet video meeting are required for video Gather and transmission.
Internet video is due to the characteristic of its wide-scale distribution, therefore, for playing the terminal unit of Internet video also Having multiformity, transmitted by network, Internet video can be transferred to personal computer (PC), move Terminal unit or PAD etc. are various can be play on the terminal unit of Internet video, and these terminal units can Can specifically there be different hardware configuration, screen size, video resolution etc., so institute can be regarded by it in a broadcasting The requirement of frequency is also not quite similar.
And the photographic head being generally used for video acquisition typically has its acquisition parameter given tacit consent to, including the picture gathered Face size, the various factors such as readability, but the video image collected under this fixing acquisition parameter, After being transferred to other-end by network, it is impossible to the broadcasting being well adapted for different types of terminal unit pair needs Ask, thus after causing Network Video Transmission, it including definition, retardance, video pictures size etc. including Result of broadcast can not reach state well, it is impossible to meet the broadcast request of different video playback terminal.
And when the parameter configuration of Network Video Collection is unreasonable, also result in video playback real-time and Seriality is affected, and makes Internet video occur getting stuck or interrupting, and existing video acquisition can not be according to network Practical situation adjust and configure various acquisition parameters, thus it is continuous to ensure that Internet video is play well Property and real-time.
Summary of the invention
The embodiment of the present invention provides a kind of video acquisition realization method based on photographic head, is used for realizing network video Frequency gathers the broadcasting demand that can adapt to different terminal equipment, and well ensures that Network Video Collection passes Defeated real-time and seriality.
The embodiment of the present invention provides a kind of video acquisition realization method based on photographic head, comprises the following steps:
According to the type information of each terminal unit playing Internet video, determine the optimum size of video acquisition;
According to the network bandwidth of transmission network video, adjust the transmission code rate that Internet video is transmitted;
The configuration parameter of the codec according to each terminal unit, determines that the encoding and decoding of Internet video gather level Not;
According to the hardware configuration information of each terminal unit, determine the key frame frame frequency of Network Video Collection;
According to the definition requirement to video playback of each terminal unit, determine that the key frame of Network Video Collection is mended Between the quantity of key frame;
According to the described optimum size determined, transmission code rate, encoding and decoding gather rank, key frame frame frequency and The quantity of key frame between benefit, to camera collection to the relevant parameter of original video be adjusted processing, To described Internet video waiting for transmission.
In some optional embodiments, the described type letter according to each terminal unit playing Internet video Breath, determines the optimum size of video acquisition, specifically includes:
According to the type information of each terminal unit playing Internet video, obtain the screen size of each terminal unit Information;
According to getting screen size information, determine that the video being applicable in the upper broadcasting of each terminal unit is broadcast Put size, obtain the optimum size of described video acquisition.
In some optional embodiments, the described network bandwidth according to transmission network video, adjust network The transmission code rate that video is transmitted, specifically includes:
Obtain the network bandwidth being currently used in transmission network video, inquire about the network bandwidth and transmission code rate preset Corresponding relation, obtain the transmission code rate corresponding with the network bandwidth got, carry out as to Internet video The transmission code rate of transmission.
In some optional embodiments, the configuration parameter of the described codec according to each terminal unit, really The encoding and decoding determining Internet video gather rank, specifically include:
According to the configuration parameter of each terminal unit codec, obtain what each terminal unit codec was supported Encoding and decoding rank, selects described optimum size and the encoding and decoding rank conduct of transmission code rate supporting to be determined The encoding and decoding of Internet video gather rank.
In some optional embodiments, when described hardware configuration information includes the battery electric quantity of terminal unit Time, the described hardware configuration information according to each terminal unit, determine the key frame frame frequency of Network Video Collection, Specifically include:
Obtain the battery electric quantity of terminal unit, the battery electric quantity pass corresponding with key frame frame frequency that inquiry is preset System, obtains the key frame frame frequency corresponding with the battery electric quantity got, as the key frame of Network Video Collection Frame frequency.
In some optional embodiments, above-mentioned video acquisition realization method based on photographic head, also include:
It is provided for the pre-set bandwidths of transmission network video, determines the transmission code of correspondence according to described pre-set bandwidths Rate, and gather level according to transmission code rate corresponding to the described optimum size determined, pre-set bandwidths, encoding and decoding Not, key frame frame frequency and the quantity of key frame between mending, the relevant parameter of the original video that camera collection is arrived It is adjusted processing, is locally generated the monitoring of the Internet video that photographic head is gathered with reference to video;
The video playing quality of the Internet video actual play that monitoring Correspondent Node receives and described monitoring ginseng According to the video playing quality of video, when the video playing quality of Internet video actual play is less than the quality set During standard, monitor transmission code rate corresponding to described pre-set bandwidths corresponding to reference video, encoding and decoding with reference to described The quantity of key frame between gathering rank, key frame frame frequency and mending, adjust described Internet video transmission code rate, Encoding and decoding gather at least one between rank, key frame frame frequency and benefit in the quantity of key frame.
The embodiment of the present invention provides a kind of video acquisition based on photographic head to realize device, including:
Size arranges module, for the type information according to each terminal unit playing Internet video, determines and regards The optimum size that frequency gathers;
Code check adjusting module, for the network bandwidth according to transmission network video, adjusts and carries out Internet video The transmission code rate of transmission;
Rank determination module, for the configuration parameter of the codec according to each terminal unit, determines network video The encoding and decoding of frequency gather rank;
Frame frequency determines module, for the hardware configuration information according to each terminal unit, determines Network Video Collection Key frame frame frequency;
Module is determined, for according to the definition requirement to video playback of each terminal unit, determining network between benefit The quantity of key frame between the key frame benefit of video acquisition;
Video adjusting module, for according to the described optimum size determined, transmission code rate, encoding and decoding collection The quantity of key frame between rank, key frame frame frequency and benefit, the corresponding ginseng of the original video that camera collection is arrived Number is adjusted processing, and obtains described Internet video waiting for transmission.
In some optional embodiments, described size arranges module, specifically for:
According to the type information of each terminal unit playing Internet video, obtain the screen size of each terminal unit Information;
According to getting screen size information, determine that the video being applicable in the upper broadcasting of each terminal unit is broadcast Put size, obtain the optimum size of described video acquisition.
In some optional embodiments, described code check adjusting module, specifically for:
Obtain the network bandwidth being currently used in transmission network video, inquire about the network bandwidth and transmission code rate preset Corresponding relation, obtain the transmission code rate corresponding with the network bandwidth got, carry out as to Internet video The transmission code rate of transmission.
In some optional embodiments, described rank determination module, specifically for:
According to the configuration parameter of each terminal unit codec, obtain what each terminal unit codec was supported Encoding and decoding rank, selects described optimum size and the encoding and decoding rank conduct of transmission code rate supporting to be determined The encoding and decoding of Internet video gather rank.
In some optional embodiments, described frame frequency determines module, specifically for:
When described hardware configuration information includes the battery electric quantity of terminal unit, obtain the battery electricity of terminal unit Amount, inquires about the corresponding relation of battery electric quantity and the key frame frame frequency preset, the battery electric quantity obtaining Yu getting Corresponding key frame frame frequency, as the key frame frame frequency of Network Video Collection.
In some optional embodiments, above-mentioned video acquisition based on photographic head realizes device, also includes:
Video monitoring module, for being provided for the pre-set bandwidths of transmission network video, according to described default band Width determines the transmission code rate of correspondence, and according to transmission corresponding to the described optimum size determined, pre-set bandwidths Code check, encoding and decoding gather the quantity of key frame between rank, key frame frame frequency and benefit, arrive camera collection The relevant parameter of original video is adjusted processing, and is locally generated the prison of the Internet video that photographic head is gathered Control is with reference to video;The video playing quality of the Internet video actual play that monitoring Correspondent Node receives is with described Monitoring is with reference to the video playing quality of video, when the video playing quality of Internet video actual play is less than setting Quality standard time, with reference to described monitoring with reference to transmission code rate corresponding to described pre-set bandwidths corresponding to video, Encoding and decoding gather the quantity of key frame between rank, key frame frame frequency and benefit, adjust the transmission of described Internet video Code check, encoding and decoding gather at least one between rank, key frame frame frequency and benefit in the quantity of key frame.
The video acquisition realization method based on photographic head of embodiment of the present invention offer and device, according to playing net The type of each terminal unit of network video determines that one is reasonably most preferably play size, determines according to the network bandwidth Go out rational transmission code rate, determine that suitable encoding and decoding gather rank, root according to the configuration parameter of codec Determine key frame frame frequency according to the hardware configuration of terminal unit, require to determine key between key frame benefit according to definition The quantity of frame, according to these parameters determined, to camera collection to original video be adjusted place Reason so that it is can adapt to the broadcasting demand of various high-end devices, gets broadcasting pictures clearly, meanwhile, The parameter that transmission is relevant is determined, it is possible to make real-time and the delay of the Internet video of transmission according to network condition Property is protected, and enables Internet video to play the most smoothly.
Other features and advantages of the present invention will illustrate in the following description, and, partly from explanation Book becomes apparent, or understands by implementing the present invention.The purpose of the present invention and other advantages can Realize by structure specifically noted in the description write, claims and accompanying drawing and obtain ?.
Below by drawings and Examples, technical scheme is described in further detail.
Accompanying drawing explanation
Accompanying drawing is for providing a further understanding of the present invention, and constitutes a part for description, with this Bright embodiment is used for explaining the present invention together, is not intended that limitation of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of video acquisition realization method based on photographic head in the embodiment of the present invention one;
Fig. 2 is the flow chart of video acquisition realization method based on photographic head in the embodiment of the present invention two;
Fig. 3 is the structural representation that in the embodiment of the present invention three, video acquisition based on photographic head realizes device.
Detailed description of the invention
Below in conjunction with accompanying drawing, the preferred embodiments of the present invention are illustrated, it will be appreciated that described herein Preferred embodiment is merely to illustrate and explains the present invention, is not intended to limit the present invention.
In order to solve that prior art can not meet difference present in Network Video Collection transmission playing process The broadcast request of video playing terminal, causes Internet video to play real-time, the problem of poor continuity, this Bright embodiment provides a kind of video acquisition realization method based on photographic head, according to the concrete feelings of each terminal unit Condition, is pre-configured with the relevant parameter adjusting video acquisition, to adapt to each terminal unit of broadcasting Internet video Concrete condition, reaches preferably video acquisition and result of broadcast, and adjusts what transmission was correlated with according to network condition Parameter, it is ensured that the seriality of video playback, reduces transmission delay.Describe in detail below by specific embodiment Should video acquisition realization method based on photographic head.
Embodiment one
The embodiment of the present invention one provides a kind of video acquisition realization method based on photographic head, and the method flow process is such as Shown in Fig. 1, comprise the steps:
Step S101: according to the type information of each terminal unit playing Internet video, determine video acquisition Optimum size.
Owing to Internet video is after transmission, the type of the opposite equip. receiving Internet video is the most true Fixed, it may be possible to mobile terminal device, it is also possible to personal computer (PC), it is also possible to be panel computer (PAD), the size that these different types of terminal units play screen is not quite similar, the chi to video playback Very little requirement is also not quite similar, and therefore, realizes in this step according to each terminal unit playing Internet video Type information, determines the optimum size of video acquisition, according to the type of each terminal unit playing Internet video Information, obtains the screen size information of each terminal unit;According to getting screen size information, determine and can fit For the video playback size of the upper broadcasting at each terminal unit, obtain the optimum size of video acquisition.
It is said that in general, optimal result is to determine that one is suitable for different types of according to each terminal unit The optimum size play on terminal unit, carries out video acquisition according to this optimum size, such that it is able to respectively Can well play on individual terminal unit.
Such as, the default size of camera video acquisition generally has 800*600,400*300, optimal aspect ratio For 3:4(i.e. AspectRatio=3/4), in order to not affect other performances of browser or player, finally combine Having closed the broadcasting dimensional requirement of different types of terminal unit, the optimum size determined (VideoSize) is 320*240, when carrying out parameter configuration, is then configured to VideoSize*Video:320*240(4/3).
Step S102: according to the network bandwidth of transmission network video, adjust the biography that Internet video is transmitted Defeated code check.
Internet video retardance accounts for critically important factor when transmission of video is play, and keeps the network video of transmission The broadcasting seriality of frequency is necessary, and seriality for this angle, real-time is heavier than image definition Want.And the seriality of Internet video is affected by transmission code rate, therefore, this step realizes according to transmission The network bandwidth of Internet video, adjusts the transmission code rate being transmitted Internet video, thus remains able to the greatest extent The seriality of guarantee Internet video broadcasting that may be good.
Concrete, when adjusting, obtaining the network bandwidth being currently used in transmission network video, inquiry is preset The network bandwidth and the corresponding relation of transmission code rate, obtain the transmission code rate corresponding with the network bandwidth got, As the transmission code rate that Internet video is transmitted.
Such as, the network bandwidth preset and the corresponding relation of transmission code rate can be according to the biggest transmission of the network bandwidth The rule that code check is the highest is preset, and during so that Netowrk tape is roomy, can improve transmission code rate, transmission More video data, makes the result of broadcast of Internet video more, and the network bandwidth hour suitably reduces transmission Code check, to guarantee to obtain the best video display effect in the range of bandwidth allows, and don't Make Internet video play to occur interrupting, it is ensured that the fluency of video playback.
For example, it is possible to setting/VideoQuolity: dynamically adjust meet maximum bandwidth require/.
Step S103: according to the configuration parameter of the codec of each terminal unit, determine the volume solution of Internet video Code gathers rank.
Now Network Video Collection playing platform, such as, WebFlash platform etc., the most built-in sound regards Frequently codec, this basic-level support can preferably be compressed video, reduce bandwidth demand.Codec leads to Certain encoding and decoding rank is often had to arrange.When Network Video Collection, it is also desirable to according to the collection being arranged above with The parameter such as optimum size, transmission code rate, selects in the case of these parameters of guarantee meet condition as far as possible Most suitable encoding and decoding rank.Therefore, joining of the codec according to each terminal unit is realized in this step Put parameter, determine that the encoding and decoding of Internet video gather rank.
Concrete, according to the configuration parameter of each terminal unit codec, obtain each terminal unit codec The encoding and decoding rank supported, selects optimum size and the encoding and decoding rank of transmission code rate supporting to be determined Encoding and decoding as Internet video gather rank.Generally, if codec encoding and decoding rank select mistake Low meeting causes browser or the interference of other functions of player and CPU to cross consumption, and therefore, codec is compiled and solved The selection of code rank receives the impact of the hardware configuration of the terminal unit of user, and usual rank exists About Level.LEVEL_3_1, is i.e. configured to/H264Level.LEVEL_3_1 during parameter configuration;/.
Step S104: according to the hardware configuration information of each terminal unit, determine the key frame of Network Video Collection Frame frequency.
Key frame frame frequency (Frames Per Second, FPS) will affect the definition that Internet video is play, Meanwhile, key frame frame frequency is excessive, it is also possible to cause the rising of transmission code rate, therefore, joining of key frame frame frequency Put for ensure video playback definition be the most necessary.
The configuration of key frame frame frequency can configure according to the hardware configuration information of the terminal unit of user. Such as, when the hardware configuration information of terminal unit includes the battery electric quantity of terminal unit, set according to each terminal Standby hardware configuration information, determines the key frame frame frequency of Network Video Collection, specifically includes acquisition terminal unit Battery electric quantity, the corresponding relation of battery electric quantity and key frame frame frequency that inquiry is preset, obtain and get The key frame frame frequency that battery electric quantity is corresponding, as the key frame frame frequency of Network Video Collection.This is due to key Frame frame frequency is the highest, the most more needs the support of more battery electric quantity, when battery electric quantity is the fewest, if transmission code Rate configuration is too high, will directly affect laser propagation effect.
Certainly, except battery electric quantity, other hardware configuration information is likely to become and affects key frame frame frequency and join The factor put, through practice, the best practices scope of general key frame frame frequency is 15~24.I.e. parameter configuration Time be configured to/FPS:*FPS=20;/.
Step S105: according to the definition requirement to video playback of each terminal unit, determine Network Video Collection Key frame mend between the quantity of key frame.
Generally after determining key frame frame frequency, between the benefit between two key frames, key frame quantity is the most, Its definition play and seriality are the best, key frame between key frame benefit, act on non-on video optimum efficiency Chang great.But, between the benefit of transmission, key frame is the most, and the data of required transmission are the most, therefore, When determining key frame quantity between benefit, its quantity is excessive too small all can be had the definition of video playback and seriality The biggest impact, too small image is at abnormal packet loss, and picture can be the fuzzyyest, and generally, optimum is 48, i.e. / keyFrameInterval:48/ it is configured to during parameter configuration.
Step S106: gather rank, key frame according to the optimum size determined, transmission code rate, encoding and decoding Frame frequency and the quantity of key frame between mending, to camera collection to the relevant parameter of original video be adjusted place Reason, obtains described Network Video Transmission waiting for transmission to Correspondent Node.
Above-mentioned steps S101 determines the optimum size of video acquisition, and step S102 determines applicable Netowrk tape Wide transmission code rate, step S103 determines that applicable encoding and decoding gather rank, and step S104 determines pass Key frame frame frequency, step S105 is determined between benefit after the quantity of key frame, can be according to these configuration parameters pair Camera collection to original video process accordingly, make the Internet video collected, then entered net When showing on various terminal units after network transmission, all can get preferably image definition, and make to regard Retardance when frequency is play on the terminal device is the least, audiovideo in holding video as much as possible Broadcasting there is preferably seriality.
Embodiment two
The embodiment of the present invention two provides a kind of video acquisition realization method based on photographic head, and the method is being implemented On the basis of the method for example one, monitor the broadcasting of Internet video, and the basis generated by parameter preset further Simulation broadcasting pictures, the parameters of real-time adjustment Internet video, to reach more preferably result of broadcast, When avoiding network state to change, the Internet video of parameter preset plays the biography after can not meeting network state change Defeated and play demand.The method flow process is as in figure 2 it is shown, comprise the steps:
Step S201: preset the relevant parameter of Network Video Collection.
Use step S101 in embodiment one~the setting up procedure shown in step S105, Internet video is set and adopts The relevant parameter of collection.
Step S202: gather rank, key frame according to the optimum size determined, transmission code rate, encoding and decoding Frame frequency and the quantity of key frame between mending, to camera collection to the relevant parameter of original video be adjusted place Reason, obtains Network Video Transmission waiting for transmission to Correspondent Node.
Step S203: be provided for the pre-set bandwidths of transmission network video, determines correspondence according to pre-set bandwidths Transmission code rate.
Realizing analog network situation here by a default bandwidth, monitoring Internet video is under pre-set bandwidths Transmission play situation.
Step S204: adopt according to transmission code rate corresponding to the optimum size determined, pre-set bandwidths, encoding and decoding Collection rank, key frame frame frequency and the quantity of key frame between mending, the original video that camera collection is arrived corresponding Parameter is adjusted processing, and is locally generated the monitoring of the Internet video that photographic head is gathered with reference to video.
The optimum size, the encoding and decoding that are determined by out gather the number of key frame between rank, key frame frame frequency and benefit Amount, generates the monitoring reference video under the transmission code rate that pre-set bandwidths is corresponding, if the video playback generated When effect, image quality can not meet the requirement of setting, at least one in above-mentioned parameter can be adjusted Whole, to obtain preferably parameter configuration.
Step S205: the video playing quality of the Internet video actual play that monitoring Correspondent Node receives and basis The monitoring that ground generates is with reference to the video playing quality of video.
This step realizes the real-time monitoring to Network Video Transmission result of broadcast, when result of broadcast is relatively good Time, keep monitor state, when result of broadcast is the best, be referred to the optimum size of Internet video, transmission Code check, encoding and decoding gather these parameter configuration of key frame between rank, key frame frame frequency and benefit, with monitoring ginseng Rank, key frame frame frequency is gathered according to transmission code rate corresponding to the optimum size of video, pre-set bandwidths, encoding and decoding And mend between key frame these parameter configuration of quantity between difference, these parameters of Internet video are entered Row sum-equal matrix.
Step S206: whether the video playing quality of Internet video actual play is less than the quality standard set.
The monitoring of video quality can be realized by terminal unit to compare herein, if Internet video actual play Video playing quality compares with reference to the play quality of video with monitoring, and its quality sets with reference to video less than monitoring Reference standard time, it is believed that the video video quality of actual play less than set quality standard;Also may be used Directly the actual play video of Internet video is compared with the quality standard parameter of setting, when less than setting During threshold value, it is believed that the video quality of actual play video is less than the quality standard set.
It is of course also possible to the video quality of manual monitoring Internet video, by the reality of artificial judgment Internet video Play the video quality of video whether less than the quality standard set, and think less than time manually trigger step The operation of S207.
If it is not, continue executing with step S205;If so, step S207 is performed.
Step S207: adopt with reference to transmission code rate corresponding to the pre-set bandwidths that video is corresponding, encoding and decoding with reference to monitoring Between collection rank, key frame frame frequency and benefit, the quantity of key frame, adjusts the transmission code rate of Internet video, encoding and decoding At least one in the quantity of key frame between gathering rank, key frame frame frequency and mending.
When the video quality of actual play video is less than the quality standard set, if monitoring is with reference to video Video quality is the quality standard meeting setting, then can be directly with reference to monitoring corresponding the presetting of reference video Between transmission code rate, encoding and decoding collection rank, key frame frame frequency and benefit that bandwidth is corresponding, the quantity of key frame, adjusts Between the transmission code rate of whole Internet video, encoding and decoding collection rank, key frame frame frequency and benefit in the quantity of key frame At least one, make the image quality of Internet video meet the requirements.If monitoring is with reference to the video quality of video Also it is the quality standard not meeting setting, then can first adjust monitoring corresponding with reference to the pre-set bandwidths of video Between transmission code rate, encoding and decoding collection rank, key frame frame frequency and benefit in these parameters of quantity of key frame One or several, when making monitoring reach required quality standard with reference to the play quality of video, further according to tune Monitoring after whole gathers rank, key with reference to transmission code rate corresponding to pre-set bandwidths corresponding to video, encoding and decoding The quantity of key frame between frame frame frequency and benefit, adjusts the transmission code rate of Internet video, encoding and decoding collection rank, pass Between key frame frame frequency and benefit, at least one in the quantity of key frame, makes the image quality of Internet video conform to Ask.
Above-mentioned video-quality measure can be video playback resolution standard, video playback seriality standard, One or several combination in video playback retardance standard.
Embodiment three
The embodiment of the present invention one provides a kind of video acquisition based on photographic head to realize device, and this device can set Put on the terminal unit realizing Network Video Collection, after camera collection to original video, regard original Frequency processes, to adapt to the broadcasting demand of each terminal unit of network transmission demand and broadcasting video.This dress The structure put is as it is shown on figure 3, include: size arranges module 11, code check adjusting module 12, rank determine Module 13, frame frequency determine module 14, mend between determine module 15 and video adjusting module 16.
Size arranges module 11, for the type information according to each terminal unit playing Internet video, determines The optimum size of video acquisition.
Code check adjusting module 12, for the network bandwidth according to transmission network video, adjusts to enter Internet video The transmission code rate of row transmission.
Rank determination module 13, for the configuration parameter of the codec according to each terminal unit, determines network The encoding and decoding of video gather rank.
Frame frequency determines module 14, for the hardware configuration information according to each terminal unit, determines that Internet video is adopted The key frame frame frequency of collection.
Module 15 is determined, for according to the definition requirement to video playback of each terminal unit, determining net between benefit The quantity of key frame between the key frame benefit of network video acquisition.
Video adjusting module 16, for gathering level according to the optimum size determined, transmission code rate, encoding and decoding Not, key frame frame frequency and the quantity of key frame between mending, the relevant parameter of the original video that camera collection is arrived It is adjusted processing, obtains Internet video waiting for transmission.
Preferably, above-mentioned size arranges module 11, specifically for according to each terminal unit playing Internet video Type information, obtain the screen size information of each terminal unit;According to getting screen size information, really Surely it is applicable to the video playback size of upper broadcasting at each terminal unit, obtains the optimal of described video acquisition Size.
Preferably, above-mentioned code check adjusting module 12, specifically for obtaining the net being currently used in transmission network video Network bandwidth, inquires about the corresponding relation of the network bandwidth and the transmission code rate preset, the Netowrk tape obtaining Yu getting Wide corresponding transmission code rate, as the transmission code rate being transmitted Internet video.
Preferably, above-mentioned rank determination module 13, specifically for the configuration according to each terminal unit codec Parameter, obtains the encoding and decoding rank that each terminal unit codec is supported, selects to support to be determined The encoding and decoding rank of good size and transmission code rate gathers rank as the encoding and decoding of Internet video.
Preferably, above-mentioned frame frequency determines module 14, includes specifically for the hardware configuration information when terminal unit During the battery electric quantity of terminal unit, obtain the battery electric quantity of terminal unit, battery electric quantity that inquiry is preset and pass The corresponding relation of key frame frame frequency, obtains the key frame frame frequency corresponding with the battery electric quantity got, as network The key frame frame frequency of video acquisition.
Preferably, above-mentioned video acquisition based on photographic head realizes device, also includes:
Video monitoring module 17, for being provided for the pre-set bandwidths of transmission network video, according to pre-set bandwidths Determine the transmission code rate of correspondence, and according to transmission code rate corresponding to the optimum size determined, pre-set bandwidths, Encoding and decoding gather rank, key frame frame frequency and mend between the quantity of key frame, to camera collection to original regard The relevant parameter of frequency is adjusted processing, and is locally generated the monitoring reference of the Internet video that photographic head is gathered Video;The video playing quality of Internet video actual play that monitoring Correspondent Node receives with state monitoring reference The video playing quality of video, when the video playing quality of Internet video actual play is less than the quality mark set On time, transmission code rate corresponding to pre-set bandwidths corresponding to reference video, encoding and decoding collection level are monitored with reference to described Not, key frame frame frequency and the quantity of key frame between mending, adjust the transmission code rate of Internet video, encoding and decoding collection At least one in the quantity of key frame between rank, key frame frame frequency and benefit.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or meter Calculation machine program product.Therefore, the present invention can use complete hardware embodiment, complete software implementation or knot The form of the embodiment in terms of conjunction software and hardware.And, the present invention can use and wherein wrap one or more Computer-usable storage medium containing computer usable program code (include but not limited to disk memory and Optical memory etc.) form of the upper computer program implemented.
The present invention is with reference to method, equipment (system) and computer program product according to embodiments of the present invention The flow chart of product and/or block diagram describe.It should be understood that can by computer program instructions flowchart and / or block diagram in each flow process and/or flow process in square frame and flow chart and/or block diagram and/ Or the combination of square frame.These computer program instructions can be provided to general purpose computer, special-purpose computer, embedding The processor of formula datatron or other programmable data processing device is to produce a machine so that by calculating The instruction that the processor of machine or other programmable data processing device performs produces for realizing at flow chart one The device of the function specified in individual flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and computer or the process of other programmable datas can be guided to set In the standby computer-readable memory worked in a specific way so that be stored in this computer-readable memory Instruction produce and include the manufacture of command device, this command device realizes in one flow process or multiple of flow chart The function specified in flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, makes Sequence of operations step must be performed to produce computer implemented place on computer or other programmable devices Reason, thus the instruction performed on computer or other programmable devices provides for realizing flow chart one The step of the function specified in flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
Obviously, those skilled in the art can carry out various change and modification without deviating from this to the present invention Bright spirit and scope.So, if the present invention these amendment and modification belong to the claims in the present invention and Within the scope of its equivalent technologies, then the present invention is also intended to comprise these change and modification.

Claims (10)

1. a video acquisition realization method based on photographic head, it is characterised in that comprise the following steps:
According to the type information of each terminal unit playing Internet video, determine the optimum size of video acquisition;
According to the network bandwidth of transmission network video, adjust the transmission code rate that Internet video is transmitted;
The configuration parameter of the codec according to each terminal unit, determines that the encoding and decoding of Internet video gather level Not;
According to the hardware configuration information of each terminal unit, determine the key frame frame frequency of Network Video Collection;
According to the definition requirement to video playback of each terminal unit, determine that the key frame of Network Video Collection is mended Between the quantity of key frame;
According to the described optimum size determined, transmission code rate, encoding and decoding gather rank, key frame frame frequency and The quantity of key frame between benefit, to camera collection to the relevant parameter of original video be adjusted processing, To described Internet video waiting for transmission;
It is provided for the pre-set bandwidths of transmission network video, determines the transmission code of correspondence according to described pre-set bandwidths Rate, and gather level according to transmission code rate corresponding to the described optimum size determined, pre-set bandwidths, encoding and decoding Not, key frame frame frequency and the quantity of key frame between mending, the relevant parameter of the original video that camera collection is arrived It is adjusted processing, is locally generated the monitoring of the Internet video that photographic head is gathered with reference to video;
The video playing quality of the Internet video actual play that monitoring terminal equipment receives and described monitoring ginseng According to the video playing quality of video, when the video playing quality of Internet video actual play is less than the quality set During standard, monitor transmission code rate corresponding to described pre-set bandwidths corresponding to reference video, encoding and decoding with reference to described The quantity of key frame between gathering rank, key frame frame frequency and mending, adjust described Internet video transmission code rate, Encoding and decoding gather at least one between rank, key frame frame frequency and benefit in the quantity of key frame.
2. the method for claim 1, it is characterised in that described according to playing each of Internet video The type information of terminal unit, determines the optimum size of video acquisition, specifically includes:
According to the type information of each terminal unit playing Internet video, obtain the screen size of each terminal unit Information;
According to getting screen size information, determine the video playback being applicable on each terminal unit play Size, obtains the optimum size of described video acquisition.
3. the method for claim 1, it is characterised in that the described net according to transmission network video Network bandwidth, adjusts the transmission code rate being transmitted Internet video, specifically includes:
Obtain the network bandwidth being currently used in transmission network video, inquire about the network bandwidth and transmission code rate preset Corresponding relation, obtain the transmission code rate corresponding with the network bandwidth got, carry out as to Internet video The transmission code rate of transmission.
4. the method for claim 1, it is characterised in that the described volume solution according to each terminal unit The configuration parameter of code device, determines that the encoding and decoding of Internet video gather rank, specifically includes:
According to the configuration parameter of each terminal unit codec, obtain what each terminal unit codec was supported Encoding and decoding rank, selects described optimum size and the encoding and decoding rank conduct of transmission code rate supporting to be determined The encoding and decoding of Internet video gather rank.
5. the method for claim 1, it is characterised in that when described hardware configuration information includes end During the battery electric quantity of end equipment, the described hardware configuration information according to each terminal unit, determine that Internet video is adopted The key frame frame frequency of collection, specifically includes:
Obtain the battery electric quantity of terminal unit, the battery electric quantity pass corresponding with key frame frame frequency that inquiry is preset System, obtains the key frame frame frequency corresponding with the battery electric quantity got, as the key frame of Network Video Collection Frame frequency.
6. a video acquisition based on photographic head realizes device, it is characterised in that including:
Size arranges module, for the type information according to each terminal unit playing Internet video, determines and regards The optimum size that frequency gathers;
Code check adjusting module, for the network bandwidth according to transmission network video, adjusts and carries out Internet video The transmission code rate of transmission;
Rank determination module, for the configuration parameter of the codec according to each terminal unit, determines network video The encoding and decoding of frequency gather rank;
Frame frequency determines module, for the hardware configuration information according to each terminal unit, determines Network Video Collection Key frame frame frequency;
Module is determined, for according to the definition requirement to video playback of each terminal unit, determining network between benefit The quantity of key frame between the key frame benefit of video acquisition;
Video adjusting module, for according to the described optimum size determined, transmission code rate, encoding and decoding collection The quantity of key frame between rank, key frame frame frequency and benefit, the corresponding ginseng of the original video that camera collection is arrived Number is adjusted processing, and obtains described Internet video waiting for transmission;
Video monitoring module, for being provided for the pre-set bandwidths of transmission network video, according to described default band Width determines the transmission code rate of correspondence, and according to transmission corresponding to the described optimum size determined, pre-set bandwidths Code check, encoding and decoding gather the quantity of key frame between rank, key frame frame frequency and benefit, arrive camera collection The relevant parameter of original video is adjusted processing, and is locally generated the prison of the Internet video that photographic head is gathered Control is with reference to video;The video playing quality of the Internet video actual play that monitoring terminal equipment receives is with described Monitoring is with reference to the video playing quality of video, when the video playing quality of Internet video actual play is less than setting Quality standard time, with reference to described monitoring with reference to transmission code rate corresponding to described pre-set bandwidths corresponding to video, Encoding and decoding gather the quantity of key frame between rank, key frame frame frequency and benefit, adjust the transmission of described Internet video Code check, encoding and decoding gather at least one between rank, key frame frame frequency and benefit in the quantity of key frame.
7. device as claimed in claim 6, it is characterised in that described size arranges module, specifically uses In:
According to the type information of each terminal unit playing Internet video, obtain the screen size of each terminal unit Information;
According to getting screen size information, determine the video playback being applicable on each terminal unit play Size, obtains the optimum size of described video acquisition.
8. device as claimed in claim 6, it is characterised in that described code check adjusting module, specifically uses In:
Obtain the network bandwidth being currently used in transmission network video, inquire about the network bandwidth and transmission code rate preset Corresponding relation, obtain the transmission code rate corresponding with the network bandwidth got, carry out as to Internet video The transmission code rate of transmission.
9. device as claimed in claim 6, it is characterised in that described rank determination module, specifically uses In:
According to the configuration parameter of each terminal unit codec, obtain what each terminal unit codec was supported Encoding and decoding rank, selects described optimum size and the encoding and decoding rank conduct of transmission code rate supporting to be determined The encoding and decoding of Internet video gather rank.
10. device as claimed in claim 6, it is characterised in that described frame frequency determines module, specifically uses In:
When described hardware configuration information includes the battery electric quantity of terminal unit, obtain the battery electricity of terminal unit Amount, inquires about the corresponding relation of battery electric quantity and the key frame frame frequency preset, the battery electric quantity obtaining Yu getting Corresponding key frame frame frequency, as the key frame frame frequency of Network Video Collection.
CN201310557009.8A 2013-11-11 2013-11-11 The method and device that a kind of video acquisition based on photographic head realizes Expired - Fee Related CN103607564B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310557009.8A CN103607564B (en) 2013-11-11 2013-11-11 The method and device that a kind of video acquisition based on photographic head realizes

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310557009.8A CN103607564B (en) 2013-11-11 2013-11-11 The method and device that a kind of video acquisition based on photographic head realizes

Publications (2)

Publication Number Publication Date
CN103607564A CN103607564A (en) 2014-02-26
CN103607564B true CN103607564B (en) 2016-08-17

Family

ID=50125763

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310557009.8A Expired - Fee Related CN103607564B (en) 2013-11-11 2013-11-11 The method and device that a kind of video acquisition based on photographic head realizes

Country Status (1)

Country Link
CN (1) CN103607564B (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016178419A (en) * 2015-03-19 2016-10-06 株式会社リコー Communication controller, communication system, communication method and program
CN105163134B (en) * 2015-08-03 2018-09-07 腾讯科技(深圳)有限公司 Video coding parameter setting method, device and the video encoder of live video
CN105828219A (en) * 2016-03-21 2016-08-03 乐视网信息技术(北京)股份有限公司 Online playing-based multimedia data traffic automatic adjusting method and device
CN106375789B (en) * 2016-09-05 2019-02-26 腾讯科技(深圳)有限公司 Medium living broadcast method and apparatus
CN108200374A (en) * 2017-12-26 2018-06-22 深圳市泛海三江科技发展有限公司 A kind of building talkback method and system
CN111741335B (en) * 2019-05-21 2022-12-27 北京京东尚科信息技术有限公司 Data processing method and device, mobile terminal and computer readable storage medium
CN111327865B (en) * 2019-11-05 2021-12-28 杭州海康威视系统技术有限公司 Video transmission method, device and equipment
CN114846810B (en) * 2019-12-31 2023-08-22 华为技术有限公司 Communication method, device and storage medium
CN111641804A (en) * 2020-06-16 2020-09-08 广州迈聆信息科技有限公司 Video data processing method and device, terminal, camera and video conference system
CN111866586B (en) * 2020-07-28 2022-08-02 精英数智科技股份有限公司 Underground video data processing method and device, electronic equipment and storage medium
CN112118420A (en) * 2020-08-28 2020-12-22 湖南三湘银行股份有限公司 Automatic configuration method and device for monitoring system
CN115314723B (en) * 2022-06-17 2023-12-12 百果园技术(新加坡)有限公司 Method, device, equipment and storage medium for transmitting initial gear video stream
CN114827617B (en) * 2022-06-27 2022-10-18 致讯科技(天津)有限公司 Video coding and decoding method and system based on perception model
CN115348478B (en) * 2022-07-25 2023-09-19 深圳市九洲电器有限公司 Equipment interactive display method and device, electronic equipment and readable storage medium
CN116233372B (en) * 2023-05-10 2023-07-14 北京城建智控科技股份有限公司 Safety monitoring method and system for interior of mobile shelter

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1668109A (en) * 2004-03-10 2005-09-14 浙江大学 Adaptive video transcoding gateway having multiple transforming functions
CN101511010A (en) * 2009-03-27 2009-08-19 北京中星微电子有限公司 Method and device for sending medium stream
CN101521832A (en) * 2009-03-16 2009-09-02 广州杰赛科技股份有限公司 Monitoring system and monitoring method for signal quality of television networks
EP2216961A1 (en) * 2009-01-27 2010-08-11 Sony Corporation Communication control device, communication control method, program and communication system
CN102045540A (en) * 2009-10-20 2011-05-04 华为软件技术有限公司 Video monitoring method, system and equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1668109A (en) * 2004-03-10 2005-09-14 浙江大学 Adaptive video transcoding gateway having multiple transforming functions
EP2216961A1 (en) * 2009-01-27 2010-08-11 Sony Corporation Communication control device, communication control method, program and communication system
CN101521832A (en) * 2009-03-16 2009-09-02 广州杰赛科技股份有限公司 Monitoring system and monitoring method for signal quality of television networks
CN101511010A (en) * 2009-03-27 2009-08-19 北京中星微电子有限公司 Method and device for sending medium stream
CN102045540A (en) * 2009-10-20 2011-05-04 华为软件技术有限公司 Video monitoring method, system and equipment

Also Published As

Publication number Publication date
CN103607564A (en) 2014-02-26

Similar Documents

Publication Publication Date Title
CN103607564B (en) The method and device that a kind of video acquisition based on photographic head realizes
CN111628847B (en) Data transmission method and device
CN105955689A (en) Screen adaption method and device during multi-screen interaction
CN102802054B (en) Control method during a kind of multi-stream video is live and device
CN104125429B (en) The adjusting method and device of video data transmission
CN104811787A (en) Game video recording method and game video recording device
WO2017088440A1 (en) Method for extending operable duration of terminal device and terminal device
CN105898388B (en) A kind of node download schedule method and apparatus
CN107465936A (en) A kind of live list mirror image methods of exhibiting, live Platform Server and client
CN106303648A (en) A kind of method and device synchronizing to play multi-medium data
CN105163156B (en) Video resume method, playback equipment and system
CN105827633A (en) Video transmission method and device
CN104461520A (en) Method and device for adjusting playing frame frequency of animation
CN105407323A (en) Screen splitting method and device of monitor video
CN104244083A (en) Online video downloading method and electronic device
CN109391843A (en) Online Video speed playback method, device, medium and intelligent terminal
CN105828158A (en) Multi-window video playing-based playing quality adjusting method and device
CN104808946A (en) Image playing and controlling method and device
CN104918120A (en) Playing progress adjustment method and electronic apparatus
CN107770624A (en) It is a kind of it is live during multimedia file player method, device and storage medium
CN110996097A (en) VR multimedia experience quality determination method and device
CN105898403A (en) Online media service code stream self-adaptive method and system
CN107438175B (en) For the rapid screenshot method and system of extensive video
CN104469406A (en) Method and device for processing network resources
Hu et al. Energy-Aware CPU Frequency Scaling for Mobile Video Streaming.

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Camera-based video acquisition realization method and apparatus

Effective date of registration: 20170401

Granted publication date: 20160817

Pledgee: Silicon Valley Bank Co.,Ltd.

Pledgor: TVMINING (BEIJING) MEDIA TECHNOLOGY Co.,Ltd.

Registration number: 2017310000019

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160817

Termination date: 20211111