WO2016192467A1 - 一种播放视频的方法及装置 - Google Patents
一种播放视频的方法及装置 Download PDFInfo
- Publication number
- WO2016192467A1 WO2016192467A1 PCT/CN2016/079203 CN2016079203W WO2016192467A1 WO 2016192467 A1 WO2016192467 A1 WO 2016192467A1 CN 2016079203 W CN2016079203 W CN 2016079203W WO 2016192467 A1 WO2016192467 A1 WO 2016192467A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- view
- attention
- angle
- devices
- portable
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
Definitions
- the present invention relates to the field of video playback technologies, and in particular, to a method and apparatus for playing video.
- TV programs that use fixed venues and fixed lights such as TV programs and melodrama
- multiple cameras such as the ones shown in Figure 1.
- the video shot with multiple cameras has multiple angles and multiple scenes, so the performance is more comprehensive.
- the video captured by one camera is played at a certain moment.
- the method of selecting the target camera from multiple cameras is manually selected, for example, Figure 1 It is shown that A, B, and C are all oriented to the podium. The angles of A, B, and C are different, which results in different effects of the captured video. If the camera is judged by artificial eyes, it will exist. Defects with lower accuracy, which in turn affect playback quality.
- the method for playing video has the defect of poor playback quality.
- the embodiment of the invention provides a method and a device for playing a video, which are used to solve the defects of poor playback quality existing in the prior art.
- the first aspect provides a method for playing a video, which is applied to a scenario where there are at least two portable attention-view acquisition devices and at least two video capture devices, including:
- the video capture device that meets the condition that the first attention angle of view and the common focus angle of the at least two video capture devices meet the condition is used as the target video capture device;
- a video capture device that meets a condition that a corresponding first attention view and the common view angle satisfy the condition in the at least two video capture devices is used as a target video capture device.
- a video capture device corresponding to the second view vector that meets the first preset condition is used as the target video capture device.
- the second corresponding to the video capture device is calculated according to the first attention view corresponding to the video capture device.
- the view vector it also includes:
- selecting, from all second view vectors, the first preset condition that meets the first view vector Before the two-view vector it also includes:
- the second view vector corresponding to the selected absolute value of the minimum difference is used as the second view vector that conforms to the first preset condition.
- selecting, from all the second view vectors, the first preset condition that matches the first view vector Before the two-view vector it also includes:
- the second view vector corresponding to the selected absolute value of the minimum difference is used as the second view vector that conforms to the first preset condition.
- the calculating the first view vector of the common view angle includes:
- the average of all the third view vectors is taken as the first view vector of the common view angle.
- a sixth possible implementation manner before determining the common attention angle of the at least two portable attention viewing angle acquiring devices, :
- the at least two portable attention angle acquisition devices are classified into N types of portable attention angle acquisition devices, and N is an integer greater than or equal to 2;
- Determining a common perspective of the at least two portable attention viewing acquisition devices including:
- the video capture of the corresponding first attention angle and the common focus angle in the at least two video collection devices are met
- the device, as the target video capture device includes:
- a video capture device that satisfies a condition that a first attention angle of view of the at least two video capture devices and a common focus view of the portable focus view acquisition device meets the condition
- the first target video capture device includes the first target video capture device.
- the video captured by the target video capture device is played, including:
- All the video captured by the first target video capture device is aggregated into a spliced screen for playing; or
- the videos collected by all the first target video capture devices are separately played.
- the corresponding first attention angle of the at least two video collection devices and the any one type of portable attention The video capture device that satisfies the condition of the device with the same view angle as the first target video capture device, and includes:
- the at least two portable attention viewing angle acquiring devices are classified into the N-type portable attention viewing angle acquiring device, including:
- the preset rule Determining the root of any one of the two types of portable attention angle acquisition devices in the two types of portable attention angle acquisition devices Whether the preset rule can be further divided into two types of portable attention angle acquisition devices, and if so, the arbitrary type of portable attention angle acquisition device is divided into two types of portable attention angle acquisition devices according to the preset rule, Any one of the two types of portable attention angle acquisition devices obtained in the two types of portable attention angle acquisition devices returns to the determination step, otherwise, the division is stopped.
- the at least two portable attention viewing angle acquiring devices are divided into two types of portable attention viewing angle acquiring devices according to a preset rule, including :
- the portable attention angle acquisition device performs:
- the portable attention viewing angle acquiring device is divided into a first type of portable attention viewing angle acquiring device; if the viewing angle difference is smaller than the preset viewing angle threshold, The portable attention angle acquisition device is divided into a second type of portable attention angle acquisition device.
- the method further includes:
- the threshold value is to be played by the video captured by the video capture device that captures the video with a panoramic view.
- a second aspect provides a device for playing a video, where the scenario includes the presence of at least two portable attention-view acquisition devices and at least two video capture devices, including:
- a determining unit configured to determine a common focus of view of the at least two portable attention viewing angle acquiring devices
- An acquiring unit configured to acquire a first attention angle corresponding to each of the at least two video collection devices
- the determining unit is further configured to: use a video capture device that meets a condition that the first attention angle of view and the common focus angle of the at least two video capture devices meet the condition as the target video collection device;
- a playing unit configured to play the video captured by the target video capturing device.
- the determining unit as a target, a video capture device that meets a condition that a corresponding first attention angle of the at least two video collection devices and the common attention angle of view meet the condition Video capture device, specifically:
- the video capture device corresponding to the second view vector that meets the first preset condition is used as the target video capture device Ready.
- the acquiring unit is further configured to acquire the first geographic location information of the any one of the video collection devices;
- the determining unit calculates a second view vector corresponding to the any one of the video capture devices according to the first attention view corresponding to the video capture device, specifically:
- the determining unit is further configured to:
- the determining unit selects, from all the second view vectors, a second view vector that meets the first preset condition with the first view vector, specifically:
- the second view vector corresponding to the selected absolute value of the minimum difference is used as the second view vector that conforms to the first preset condition.
- the determining unit is further configured to:
- the determining unit selects, from all the second view vectors, a second view vector that meets the first preset condition with the first view vector, specifically:
- the second view vector corresponding to the selected absolute value of the minimum difference is used as the second view vector that conforms to the first preset condition.
- the determining unit calculates a first view vector of the common attention view, specifically:
- the average of all the third view vectors is taken as the first view vector of the common view angle.
- the method further includes: a dividing unit, configured to: use the at least two portable attention viewing angle acquiring devices Divided into N types of portable off Note the viewing angle acquisition device, N is an integer greater than or equal to 2;
- the determining unit determines a common attention angle of the at least two portable attention angle acquiring devices, specifically:
- the determining unit is configured to meet a corresponding first attention angle and the common attention angle in the at least two video collection devices
- the conditional video capture device, as the target video capture device specifically:
- a video capture device that satisfies a condition that a first attention angle of view of the at least two video capture devices and a common focus view of the portable focus view acquisition device meets the condition
- the first target video capture device, the target video capture device includes the first target video capture device.
- the playing unit is specifically configured to:
- All the video captured by the first target video capture device is aggregated into a spliced screen for playing; or
- the videos collected by all the first target video capture devices are separately played.
- the determining unit is further configured to:
- the dividing unit is specifically configured to:
- the portable attention-of-view acquisition device of any type is divided into two types of portable attention-angle acquisition devices, and any one of the two types of portable attention-angle acquisition devices of the two types of portable attention-view acquisition devices obtained by the division is returned to the judgment step; otherwise, Stop dividing.
- the dividing unit divides the at least two portable attention viewing angle acquiring devices into two types of portable attention viewing angles according to a preset rule.
- the portable attention angle acquisition device performs:
- the portable attention viewing angle acquiring device is divided into a first type of portable attention viewing angle acquiring device; if the viewing angle difference is smaller than the preset viewing angle threshold, The portable attention angle acquisition device is divided into a second type of portable attention angle acquisition device.
- the playing unit is further configured to:
- the threshold value is to be played by the video captured by the video capture device that captures the video with a panoramic view.
- a method for playing a video is provided in the embodiment of the present invention, and is applied to a scenario where there are at least two portable attention viewing angle acquiring devices and at least two video capturing devices, the method comprising: determining common attention of at least two portable attention viewing angle acquiring devices Observing a first attention angle corresponding to the at least two video collection devices; and selecting, as the target video collection device, the corresponding first attention view and the common focus view satisfying the condition of the at least two video capture devices; The video captured by the target video capture device is played.
- the target video capture device is selected from at least two video capture devices according to the common view angle and the first attention view, and no manual selection is needed, thereby improving The accuracy of the selected target video capture device is improved, thereby improving the playback quality.
- 2A is a flowchart of playing a video in an embodiment of the present invention.
- FIG. 2B is a schematic diagram of smart glasses according to an embodiment of the present invention.
- 2C is a schematic diagram of a change in a common view angle in an embodiment of the present invention.
- FIG. 2D is another schematic diagram of a common concern viewing angle change in an embodiment of the present invention.
- 2E is a schematic diagram of a plurality of changes in common viewing angles in an embodiment of the present invention.
- 2F is a schematic diagram of a panoramic view taken in an embodiment of the present invention.
- FIG. 4 is a schematic structural diagram of an apparatus for playing a video according to an embodiment of the present invention.
- FIG. 5 is another schematic structural diagram of an apparatus for playing a video according to an embodiment of the present invention.
- a method for playing a video is provided, which is applied to a scenario where there are at least two portable attention-view acquisition devices and at least two video capture devices.
- the process of the method is as follows:
- Step 200 Determine a common view angle of view of at least two portable attention angle acquisition devices
- Step 210 Acquire a first attention angle corresponding to each of the at least two video collection devices.
- Step 220 The video capture device that meets the first attention angle of view and the common focus angle of the at least two video capture devices is used as the target video capture device.
- Step 230 Play the video captured by the target video capture device.
- the target video capture device is selected from the at least two video capture devices according to the common focus view and the first focus view, and the target video capture device is not manually selected from the at least two video capture devices.
- the accuracy of the selected target video capture device is improved, thereby improving the playback quality.
- steps 200-230 There are a plurality of execution entities in steps 200-230.
- the following takes the main server as an example for description.
- the portable attention angle acquiring device has various forms, for example, smart glasses (such as Google glasses), as shown in FIG. 2B, smart helmet, personal direction locator, and handheld shooting in a certain direction.
- smart glasses such as Google glasses
- FIG. 2B smart helmet
- personal direction locator smart weapon
- handheld shooting in a certain direction a portable device
- the portable device may also be in other forms, and is not limited to the above several forms, and will not be described in detail herein.
- smart glasses have the same functions as smart phones, which can control photos, video calls and identify directions, as well as surfing the Internet, processing text messages and e-mail.
- each of the at least two portable attention angle acquisition devices is required to register with the primary server. After the portable attention viewing angle acquisition device registers with the primary server, the portable attention viewing angle acquisition device can determine a common viewing angle of the at least two portable attention viewing angle acquiring devices.
- the portable attention viewing angle acquiring device when the portable attention viewing angle acquiring device registers with the main server, it can be registered by WIFI (Wireless Fidelity), or can be registered through Bluetooth, and can also pass NFC (Near Field Communication, close range).
- the wireless communication technology is registered. Of course, it can also be registered by other means, and is not limited to the above several registration forms, and will not be described in detail here.
- the video collection device when the first attention angle is obtained, the video collection device may report to the main server in real time, or the video collection device may also use the periodic reporting manner to avoid waste of resources.
- the first attention angle corresponding to the video collection device in the embodiment of the present invention refers to an angle that the video collection device can capture when the current location does not rotate.
- the 1 can shoot at an angle of 30°-120°
- the video capture device 2 can shoot at an angle of 80°-160°.
- the video capture device that meets the condition that the first attention view and the common view angle meet the condition of the at least two video capture devices are multiple, and optionally, the following manner may be adopted.
- the video capture device corresponding to the second view vector that meets the first preset condition is used as the target video capture device.
- the view vector is used to represent the corresponding view angle of interest. Since only the angle of interest is known, the corresponding direction of interest is not known, and when the view angle is used to represent the view of interest, not only the angle of interest is known. How much can you know the direction of attention.
- the second view vector corresponding to any video capture device is calculated according to the first attention view corresponding to any video capture device, optionally, the following manner may be adopted:
- the method before selecting the second view vector that meets the preset condition with the first view vector from all the second view vectors, the method further includes:
- the second view vector corresponding to the selected absolute value of the minimum difference is used as the second view vector conforming to the first preset condition.
- the second view vector corresponding to the absolute value of any one of the minimum differences may be used as the second view vector that conforms to the first preset condition.
- the absolute value of the smallest difference is directly selected from the absolute values of all differences, and the selected minimum difference is selected.
- the second view vector corresponding to the absolute value of the value is used as the second view vector that meets the first preset condition.
- the target search absolute value that meets the second preset condition may be selected from all the absolute values of the difference;
- the absolute value of the minimum difference value is selected from the absolute values of the target difference values. Therefore, in the embodiment of the present invention, the second view vector corresponding to the first preset condition is selected from all the second view vectors.
- the second view vector corresponding to the selected absolute value of the minimum difference is used as the second view vector conforming to the first preset condition.
- Absolute value 4 absolute value of difference 5, absolute value of difference 6, the absolute value of the minimum difference of the above six difference absolute values is the absolute value of the difference of 4, in this case, the absolute value of the difference 4 can be
- the second view vector is a second view vector that conforms to the first preset condition.
- the second angle of view corresponding to the absolute value of any one of the plurality of minimum difference absolute values may be used.
- Vector as a second view vector that conforms to the first preset condition.
- the attention angle acquisition device also has the function of video collection, and the target portable attention angle acquisition device can be selected from the portable attention angle acquisition device, and the target portable attention angle acquisition device is selected from the portable attention angle acquisition device, and the video collection is performed.
- the method of selecting the target video capture device in the device is not described here.
- the video captured by the video capturing device that collects the video using the panoramic viewing angle may be played at this time.
- the target video when the video captured by the target video capture device is played, there is a difference between the current view angle of the target video capture device and the common view angle.
- the target video In order to improve the quality of the played video, the target video may be There is a difference between the current focus of the collection device and the common view, and the focus of the target video capture device is adjusted.
- the common attention angles of at least two portable attention-angle acquiring devices are not static and may change.
- the target video capturing device is re-selected and re-selected.
- the manner of selecting the target video capture device is the same as that of the selection target video capture device of steps 200-230, and details are not described herein.
- the common focus view determined at the beginning is the common focus view 1
- the target video capture device is selected as the target video capture device 1 according to the common focus view 1 using the method of selecting the target video capture device described in steps 200-230.
- the video captured by the target video capture device 1 can be played.
- the common view angle may be changed to the common view angle 2, as shown in FIG. 2C, as shown in FIG. 2D.
- Steps 200-230 describe the manner of selecting the target video capture device, selecting the target video capture device as the target video capture device 2, and playing the video captured by the target video capture device 2.
- the method may be as follows:
- the portable attention angle acquisition device performs:
- the average of all the third view vectors is taken as the first view vector of the common view angle.
- the WIFI mode when the primary server obtains the second attention angle and the second geographic location corresponding to any portable attention viewing angle acquiring device, the WIFI mode may be adopted through the Bluetooth mode, and of course, the NFC mode may be used. It is limited to this and will not be described in detail here.
- the main server may obtain the real-time acquisition or the periodic acquisition, and may also be other acquisition modes. Details will not be repeated here.
- the common attention angle of at least two portable attention angle acquisition devices in the embodiment of the present invention refers to an average value of each second attention angle in at least two portable attention angle acquisition devices, for example, a common 50 smart glasses, divided into five types of smart glasses: the first type of intelligent terminal, the second type of intelligent terminal, the third type of intelligent terminal, the fourth type of intelligent terminal and the fifth type of intelligent terminal, for the first type of intelligent terminal, the The common focus of the intelligent terminals is the average of the second attention angles of the smart terminals included in the first type of intelligent terminals; and for the second type of intelligent terminals, the common viewing angle of the smart terminals is included in the second type of intelligent terminals.
- the average value of the second attention angle of each intelligent terminal is the average value of the second attention angle of each intelligent terminal included in the third type of smart terminal;
- Four types of intelligent terminals the common focus of the intelligent terminals is the second of the intelligent terminals included in the fourth type of intelligent terminals.
- the manner of determining the common view angle of the at least two portable attention angle acquisition devices may be selected as follows:
- the 10 smart glasses are divided into two categories.
- the first type of smart glasses is Focusing on the perspective of the teacher's smart glasses
- the second type of smart glasses is the smart glasses with the attention angle toward the back, and then determining a first common focus for the first type of smart glasses and a second common concern for the second type of smart glasses.
- the perspective, the way of calculating the first common view angle and the way of calculating the second common view angle are the same as the way of calculating the common view angle when there is only one common view angle described above, and will not be described in detail here.
- the smart glasses worn by the 8 people who look at the teacher can form a first common perspective, and the 2 people looking backwards wear
- the smart glasses can form a second common view of interest, and the first common view angle is calculated according to the attention angles of the eight smart glasses, and the second common view angle is calculated according to the attention angles of the two smart glasses.
- the manner of calculating the first common focus view and calculating the second common view angle is similar to the way of calculating a common view angle according to the attention angle of the 10 smart glasses.
- a common attention viewing angle is calculated for each type of portable attention viewing angle acquiring device, and N common viewing angles are obtained, and for each common viewing angle, Selecting a target video capture device, and then performing video capture and playback on the corresponding target video capture device for different common views. Therefore, in the embodiment of the present invention, at least two video capture devices are corresponding.
- the video capture device that satisfies the condition of the first focus view and the common focus view can be used as the target video capture device in the following manner:
- the video capture device that satisfies the condition that the first attention angle of the at least two video capture devices meets the common focus angle of any one of the portable attention view acquisition devices is used as the first target video capture for any type of portable attention angle acquisition device.
- the device target video capture device includes a first target video capture device.
- target video capture device selected by each type of portable attention angle acquisition device may be Same, it can be different.
- smart glasses 1-10 are the first type of smart glasses
- smart glasses 11-20 are the second type of smart glasses
- smart glasses 31-40 are the fourth type of smart glasses
- smart glasses 41-50 are the fifth type of smart glasses
- the first type of smart glasses determine the common concern angle 1 and according to the common concern 1
- Selecting the target video capture device 1 for the second type of smart glasses, determining the common view angle 2, and selecting the target video capture device 2 according to the common focus view 2
- for the third type of smart glasses determining the common view 3
- for the fourth type of smart glasses determining the common attention angle 4, and selecting the target video collection device 4 according to the common attention angle 4
- the fifth type of smart glasses The common view angle 5 is determined, and the target video capture device 5 is selected according to the common view 5 of interest.
- the target video capture device 1, the target video capture device 2, the target video capture device 3, the target video capture device 4, and any two target video capture devices of the target video capture device 5 may be the same or different.
- there are multiple first target video capture devices there are multiple methods for playing the video captured by the target video capture device. Alternatively, the following methods may be adopted:
- the video captured by all the first target video capture devices is played separately.
- the device since the number of the video collection devices is limited, and the number of the portable attention angle acquisition devices included in a certain type of portable attention angle acquisition device is small, at this time, the device may be obtained without the included portable attention angle of view.
- a small number of such portable attention-angle acquisition devices select a video capture device, and therefore, a video of a first attention angle of at least two video capture devices and a common focus of any type of portable attention-angle acquisition device meets the condition Before the acquisition device is used as the first target video collection device, it also includes the following:
- the first type of portable attention angle acquisition device includes 28 portable attention angle acquisition devices
- the second type of portable attention angle acquisition device includes 29 portable attention angle acquisition devices.
- the third type of portable attention angle acquisition device includes three portable attention angle acquisition devices, and at this time, there are two video collection devices, and since the third type of portable attention angle acquisition device includes a small number of portable attention angle acquisition devices, The video capture device may not be selected for the third type of portable attention viewing device acquisition device.
- any type of portable attention angle acquisition device in two types of portable attention angle acquisition devices it is determined whether it can be further divided into two types of portable attention angle acquisition devices according to a preset rule, and if so, any type of portable attention angle according to a preset rule
- the acquisition device is divided into two types of portable attention angle acquisition devices, and two types of portable devices are obtained for the division. Focusing on the angle of view acquisition device of any type of portable attention angle acquisition device, returning to the judgment step, otherwise, stopping the division.
- a total of 60 smart glasses the first time divided into two types of smart glasses: the first type of smart glasses and the second type of smart glasses, and then, for the first type of smart glasses, to determine whether it can be divided, because it can be determined to continue to divide
- the first type of smart glasses are classified into the third type of smart glasses and the fourth type of smart glasses, and the second type of smart glasses judges that they cannot be divided and cannot be divided. Therefore, the division is stopped, and the third type is The smart glasses and the fourth type of smart glasses judged that they could not continue to be divided. Therefore, the division continued to be divided, and finally three types of smart glasses, namely, the second type of smart glasses, the third type of smart glasses, and the fourth type of smart glasses were obtained.
- the at least two portable attention viewing angle acquiring devices are divided into two types of portable attention viewing angle acquiring devices according to a preset rule, there are multiple ways, and optionally, the following manners may be adopted:
- the portable attention angle acquisition device performs:
- the portable attention viewing angle acquiring device is divided into the first type of portable attention viewing angle acquiring device; if the viewing angle difference is smaller than the preset viewing angle threshold, the portable attention viewing angle acquiring device is divided into the first The second type of portable attention angle acquisition device.
- determining the angle of view difference according to the second focus view and the common view angle may be determined by using the following formula:
- v collectively views the perspective as a first perspective vector of a common perspective
- the second view angle of view is a third view vector of the second view of interest
- ⁇ determines the viewing angle difference for the second attention angle and the common attention angle.
- the calculation method of the first view vector of the common view angle has been described above, and will not be described in detail here.
- the calculation method of the third view vector of the second view angle has been described above and will not be described in detail herein.
- the v common focus angle in the formula 1 is the first perspective vector of the common attention angle of the portable attention angle acquisition device.
- v common attention angles are formed for the 10 smart glasses.
- the first perspective vector of the common concern perspective in the second division, the first type of smart glasses should be divided.
- v common attention angle is the first perspective of the common focus of the first type of smart glasses.
- v common attention angle is the first perspective vector of the common attention angle formed by the second type of smart glasses
- the glasses category for the third time division, v common interest perspective to the first perspective vector perspective of common concern third category of smart glasses formed Similarly, for the fourth class intelligent
- the v focus on the first perspective vector of the common focus of the fourth type of smart glasses may continue to divide, but The division method is similar and will not be described in detail here.
- the video can be collected and played in a panoramic view, and the panoramic view can also be called a God view, for example:
- the N is greater than the threshold value of the preset selection video collection device, or the number of the portable attention viewing angle acquisition devices included in each type of the portable attention viewing angle acquisition device of the N-type portable attention viewing device is less than or equal to the preset number of thresholds.
- the video captured by the video capture device that collects video using the panoramic view is played, as shown in FIG. 2F.
- the attention angle of view may be a focus angle of view within a two-dimensional range, or may be a focus angle of view within a range of three or more dimensions.
- Step 300 Divide 50 smart glasses into five categories: first type smart glasses, second type smart glasses, third type smart glasses, fourth type smart glasses, and fifth type smart glasses;
- Step 310 Determine, for the first type of smart glasses, a common view angle 1 of the first type of smart glasses, and calculate a first view vector 1 of the common view angle 1;
- Step 320 Performing, for each of the five video capture devices, the second view vector corresponding to any video capture device according to the first attention view according to the first attention view corresponding to any video capture device. , obtaining 5 second view vectors;
- Step 330 Select, from the five second view vectors, a second view vector whose absolute value of the difference from the first view vector is a minimum value;
- the second view vector determined in the step is the second view vector 1;
- Step 340 The video capture device corresponding to the second view vector 1 is used as the target video capture device.
- the target video capture device determined in this step is the video capture device 1.
- Step 350 Determine whether the target video capture device has been determined for all of the five types of smart glasses, and if so, step 360 is performed; otherwise, step 310 is performed;
- step 310 if the process returns to step 310, it is not necessary to continue to determine the target video capture device for the first type of smart glasses, but to determine the target video capture device for the smart glasses that do not determine the target video capture device. For example, when the target video capture device for the fourth type of smart glasses and the fifth type of smart glasses is not determined, if it returns to step 310, the target video capture device for the fourth type of smart glasses or the fifth type of smart glasses is determined.
- Step 360 Play the determined video captured by all the target video capture devices.
- a device for playing a video is provided, where the device is applied to a scenario where there are at least two portable attention-view acquisition devices and at least two video capture devices, and the device includes a determining unit 40, An acquisition unit 41 and a playback unit 42, wherein
- a determining unit 40 configured to determine a common view angle of view of the at least two portable attention angle acquisition devices
- the acquiring unit 41 is configured to acquire a first attention angle corresponding to each of the at least two video collection devices;
- the determining unit 40 is further configured to: use a video capture device that meets a condition that the first attention angle of view and the common focus angle of the at least two video capture devices meet the condition as the target video collection device;
- the playing unit 42 is configured to play the video captured by the target video capturing device.
- the determining unit 40 is configured to use the video capture device that meets the conditions of the first and second views of the at least two video capture devices as the target video capture device, specifically:
- the video capture device corresponding to the second view vector that meets the first preset condition is used as the target video capture device.
- the acquiring unit 41 is further configured to acquire first geographic location information of any video capture device.
- the determining unit 40 calculates a second view vector corresponding to any video capture device according to the first attention view corresponding to any video capture device, specifically:
- the determining unit 40 is further configured to:
- the determining unit 40 selects, from all the second viewing angle vectors, a second viewing angle vector that conforms to the first preset condition with the first viewing angle vector, specifically:
- the second view vector corresponding to the selected absolute value of the minimum difference is used as the second view vector conforming to the first preset condition.
- the determining unit 40 is further configured to:
- the determining unit 40 selects, from all the second viewing angle vectors, a second viewing angle vector that conforms to the first preset condition with the first viewing angle vector, specifically:
- the second view vector corresponding to the selected absolute value of the minimum difference is used as the second view vector conforming to the first preset condition.
- the determining unit 40 calculates a first view vector of a common view angle, which is specifically:
- the portable attention angle acquisition device performs:
- the average of all the third view vectors is taken as the first view vector of the common view angle.
- the embodiment of the present invention further includes a dividing unit 43 configured to classify at least two portable attention viewing angle acquiring devices into N types of portable attention viewing angle acquiring devices, where N is an integer greater than or equal to 2;
- the determining unit 40 determines a common attention angle of view of the at least two portable attention angle acquiring devices, specifically:
- the determining unit 40 is configured to use the video capture device that meets the conditions of the first and second views of the at least two video capture devices as the target video capture device, specifically:
- the video capture device that satisfies the condition that the first attention angle of the at least two video capture devices meets the common focus angle of any one of the portable attention view acquisition devices is used as the first target video capture for any type of portable attention angle acquisition device.
- the device, the target video capture device includes a first target video capture device.
- the playing unit 42 is specifically configured to:
- the video captured by all the first target video capture devices is played separately.
- the determining unit 40 is further configured to:
- the dividing unit is specifically configured to:
- any type of portable attention angle acquisition device in two types of portable attention angle acquisition devices it is determined whether it can be further divided into two types of portable attention angle acquisition devices according to a preset rule, and if so, any type of portable attention angle according to a preset rule
- the acquisition device is divided into two types of portable attention angle acquisition devices, and the portable attention angle acquisition device of any of the two types of portable attention angle acquisition devices obtained by the division is returned to the judgment step, otherwise, the division is stopped.
- the dividing unit divides the at least two portable attention viewing angle acquiring devices into two types of portable attention viewing angle acquiring devices according to a preset rule, specifically:
- the portable attention angle acquisition device performs:
- the portable attention viewing angle acquiring device is divided into the first type of portable attention The angle of view acquisition device; if the angle of view difference is less than the preset angle of view threshold, the portable attention angle acquisition device is divided into the second type of portable attention angle acquisition device.
- the playing unit 42 is further configured to:
- the N is greater than the threshold value of the preset selection video collection device, or the number of the portable attention viewing angle acquisition devices included in each type of the portable attention viewing angle acquisition device of the N-type portable attention viewing device is less than or equal to the preset number of thresholds.
- FIG. 5 another schematic structural diagram of an apparatus for deploying a controller in an SDN according to an embodiment of the present invention includes at least one processor 501, a communication bus 502, a memory 503, and at least one communication interface 504.
- the communication bus 502 is used to implement the connection and communication between the above components, and the communication interface 504 is used to connect and communicate with external devices.
- the memory 503 is configured to store executable program code, and the processor 501 executes the program code for:
- the video capture device that meets the first attention angle of view and the common focus angle of the at least two video capture devices is used as the target video capture device;
- processor 501 is further configured to perform other operations performed by the determining unit 40, the obtaining unit 41, the playing unit 42, and the dividing unit 43 shown in FIG. 4, and details are not described herein again.
- the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
- the apparatus functions in one or more blocks of a flow or a flow diagram and/or block diagram of a flowchart.
- These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
- the instructions provide steps for implementing the functions in one or more blocks of the flowchart or in a flow or block of the flowchart.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Image Analysis (AREA)
Abstract
本发明公开了一种播放视频的方法及装置,应用于存在至少两个便携式关注视角获取设备及至少两个视频采集设备的场景,该方法包括:确定至少两个便携式关注视角获取设备的共同关注视角;获取至少两个视频采集设备分别对应的第一关注视角;将至少两个视频采集设备中对应的第一关注视角与共同关注视角满足条件的视频采集设备,作为目标视频采集设备;将目标视频采集设备所采集的视频进行播放,在该方案中,根据共同关注视角及第一关注视角,从至少两个视频采集设备中选择出目标视频采集设备,不需要人工来选择,因此,提高了选择出的目标视频采集设备的准确度,进而提高了播放质量。
Description
本申请要求于2015年5月29日提交中国专利局、申请号为201510289809.5、发明名称为“一种播放视频的方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本发明涉及视频播放技术领域,特别涉及一种播放视频的方法及装置。
在电视节目制作中,对于采用固定场地、固定灯光类的节目,比如电视栏目、情景剧等节目,一般用多台摄像机拍摄,如图1所示的环行摆放的摄像机。用多台摄像机拍摄后的视频具有多角度、多景别的特点,因此,表现的更全面。
对于在用多台摄像机拍摄的过程中,在某一时刻播放的是某一台摄像机拍摄的视频,目前,在从多个摄像机中选择出目标摄像机的方式是通过人工来选择,例如,图1中所示的是A、B、C均是面向讲台的,A、B、C放置的角度不同,导致拍摄的视频的效果不一样,如果通过人工肉眼判断哪个摄像机拍摄效果比较好的话,会存在准确度较低的缺陷,进而影响播放质量。
综上所述,本发明实施例中,播放视频的方法存在播放质量较差的缺陷。
发明内容
本发明实施例提供一种播放视频的方法及装置,用以解决现有技术中存在的播放质量较差的缺陷。
第一方面,提供一种播放视频的方法,应用于存在至少两个便携式关注视角获取设备及至少两个视频采集设备的场景,包括:
确定所述至少两个便携式关注视角获取设备的共同关注视角;
获取所述至少两个视频采集设备分别对应的第一关注视角;
将所述至少两个视频采集设备中对应的第一关注视角与所述共同关注视角满足条件的视频采集设备,作为目标视频采集设备;
将所述目标视频采集设备所采集的视频进行播放。
结合第一方面,在第一种可能的实现方式中,将所述至少两个视频采集设备中对应的第一关注视角与所述共同关注视角满足条件的视频采集设备,作为目标视频采集设备,包括:
计算所述共同关注视角的第一视角矢量;
针对所述至少两个视频采集设备中的任意一视频采集设备,分别执行:
根据所述任意一视频采集设备对应的第一关注视角,计算所述任意一视频采集设备对应的第二视角矢量;
从所有第二视角矢量中选择出与所述第一视角矢量符合第一预设条件的第二视角矢量;
将与符合所述第一预设条件的第二视角矢量所对应的视频采集设备作为目标视频采集设备。
结合第一方面的第一种可能的实现方式,在第二种可能的实现方式中,根据所述任意一视频采集设备对应的第一关注视角,计算所述任意一视频采集设备对应的第二视角矢量之前,还包括:
获取所述任意一视频采集设备的第一地理位置信息;
根据所述任意一视频采集设备对应的第一关注视角,计算所述任意一视频采集设备对应的第二视角矢量,包括:
根据所述第一地理位置信息和所述第一关注视角,计算所述任意一视频采集设备对应的第二视角矢量。
结合第一方面的第一或者第二种可能的实现方式,在第三种可能的实现方式中,从所有第二视角矢量中选择出与所述第一视角矢量符合第一预设条件的第二视角矢量之前,还包括:
计算每一个第二视角矢量与所述第一视角矢量的差值绝对值;
从所有差值绝对值中选择出最小差值绝对值;
从所有第二视角矢量中选择出与所述第一视角矢量符合第一预设条件的第二视角矢量,包括:
将选择出的最小差值绝对值所对应的第二视角矢量,作为符合所述第一预设条件的第二视角矢量。
结合第一方面的第一或者第二种可能的实现方式,在第四种可能的实现方式中,从所有第二视角矢量中选择出与所述第一视角矢量符合第一预设条件的第二视角矢量之前,还包括:
计算每一个第二视角矢量与所述第一视角矢量的差值绝对值;
从所有差值绝对值中选择出符合第二预设条件的目标差值绝对值;
从所述目标差值绝对值中选择出最小差值绝对值;
从所有第二视角矢量中选择出与所述第一视角矢量符合第一预设条件的第二视角矢量,包括:
将选择出的最小差值绝对值所对应的第二视角矢量,作为符合所述第一预设条件的第二视角矢量。
结合第一方面的第一至第四种可能的实现方式,在第五种可能的实现方式中,计算所述共同关注视角的第一视角矢量,包括:
针对所述至少两个便携式关注视角获取设备中的任意一便携式关注视角获取设备,分别
执行:
获取所述任意一便携式关注视角获取设备对应的第二关注视角及第二地理位置;
根据所述第二关注视角和所述第二地理位置计算所述任意一便携式关注视角获取设备的第三视角矢量;
将所有的第三视角矢量的平均值作为所述共同关注视角的第一视角矢量。
结合第一方面,或者第一方面的第一至第五种可能的实现方式,在第六种可能的实现方式中,确定所述至少两个便携式关注视角获取设备的共同关注视角之前,还包括:
将所述至少两个便携式关注视角获取设备分为N类便携式关注视角获取设备,N为大于或者等于2的整数;
确定所述至少两个便携式关注视角获取设备的共同关注视角,包括:
计算所述N类便携式关注视角获取设备中的每一类便携式关注视角获取设备对应的共同关注视角,得到N个共同关注视角。
结合第一方面的第六种可能的实现方式,在第七种可能的实现方式中,将所述至少两个视频采集设备中对应的第一关注视角与所述共同关注视角满足条件的视频采集设备,作为目标视频采集设备,包括:
针对所述N类便携式关注视角获取设备中的任意一类便携式关注视角获取设备,分别执行:
将所述至少两个视频采集设备中对应的第一关注视角与所述任意一类便携式关注视角获取设备的共同关注视角满足条件的视频采集设备,作为针对所述任意一类便携式关注视角获取设备的第一目标视频采集设备所述目标视频采集设备包括所述第一目标视频采集设备。
结合第一方面的第七种可能的实现方式,在第八种可能的实现方式中,将所述目标视频采集设备所采集的视频进行播放,包括:
将所有所述第一目标视频采集设备所采集的视频汇总为一个拼接画面进行播放;或者
将所有所述第一目标视频采集设备所采集的视频分别进行播放。
结合第一方面的第七或者第八种可能的实现方式,在第九种可能的实现方式中,将所述至少两个视频采集设备中对应的第一关注视角与所述任意一类便携式关注视角获取设备的共同关注视角满足条件的视频采集设备,作为第一目标视频采集设备之前,还包括:
确定所述任意一类便携式关注视角获取设备中包括的便携式关注视角获取设备的数量大于预设数量门限值。
结合第一方面的第六至第九种可能的实现方式,在第十种可能的实现方式中,将所述至少两个便携式关注视角获取设备分为N类便携式关注视角获取设备,包括:
根据预设规则将所述至少两个便携式关注视角获取设备划分为两类便携式关注视角获取设备;
针对所述两类便携式关注视角获取设备中的任意一类便携式关注视角获取设备,判断根
据所述预设规则是否能够继续划分为两类便携式关注视角获取设备,若是,根据所述预设规则将所述任意一类便携式关注视角获取设备划分为两类便携式关注视角获取设备,针对划分得到的所述两类便携式关注视角获取设备中的任意一类便携式关注视角获取设备,返回判断步骤,否则,停止划分。
结合第一方面的第十种可能的实现方式,在第十一种可能的实现方式中,根据预设规则将所述至少两个便携式关注视角获取设备划分为两类便携式关注视角获取设备,包括:
针对所述至少两个便携式关注视角获取设备中的任意一个便携式关注视角获取设备,分别执行:
获取所述任意一便携式关注视角获取设备对应的第二关注视角;
根据所述第二关注视角和所述共同关注视角确定视角差值;
若所述视角差值大于预设视角门限值,将所述便携式关注视角获取设备划分为第一类便携式关注视角获取设备;若所述视角差值小于所述预设视角门限值,将所述便携式关注视角获取设备划分为第二类便携式关注视角获取设备。
结合第一方面的第六种至第十一种可能的实现方式,在第十二种可能的实现方式中,所述方法还包括:
若所述N大于预设选择视频采集设备门限值,或者所述N类便携式关注视角获取设备中每一类便携式关注视角获取设备包括的便携式关注视角获取设备的数量均小于或者等于预设数量门限值,将采用全景视角采集视频的视频采集设备所采集的视频进行播放。
第二方面,提供一种播放视频的装置,应用于存在至少两个便携式关注视角获取设备及至少两个视频采集设备的场景,包括:
确定单元,用于确定所述至少两个便携式关注视角获取设备的共同关注视角;
获取单元,用于获取所述至少两个视频采集设备分别对应的第一关注视角;
所述确定单元还用于,将所述至少两个视频采集设备中对应的第一关注视角与所述共同关注视角满足条件的视频采集设备,作为目标视频采集设备;
播放单元,用于将所述目标视频采集设备所采集的视频进行播放。
结合第二方面,在第一种可能的实现方式中,所述确定单元将所述至少两个视频采集设备中对应的第一关注视角与所述共同关注视角满足条件的视频采集设备,作为目标视频采集设备,具体为:
计算所述共同关注视角的第一视角矢量;
针对所述至少两个视频采集设备中的任意一视频采集设备,分别执行:
根据所述任意一视频采集设备对应的第一关注视角,计算所述任意一视频采集设备对应的第二视角矢量;
从所有第二视角矢量中选择出与所述第一视角矢量符合第一预设条件的第二视角矢量;
将与符合所述第一预设条件的第二视角矢量所对应的视频采集设备作为目标视频采集设
备。
结合第二方面的第一种可能的实现方式,在第二种可能的实现方式中,获取单元还用于,获取所述任意一视频采集设备的第一地理位置信息;
所述确定单元根据所述任意一视频采集设备对应的第一关注视角,计算所述任意一视频采集设备对应的第二视角矢量,具体为:
根据所述第一地理位置信息和所述第一关注视角,计算所述任意一视频采集设备对应的第二视角矢量。
结合第二方面的第一或者第二种可能的实现方式,在第三种可能的实现方式中,所述确定单元还用于:
计算每一个第二视角矢量与所述第一视角矢量的差值绝对值;
从所有差值绝对值中选择出最小差值绝对值;
所述确定单元从所有第二视角矢量中选择出与所述第一视角矢量符合第一预设条件的第二视角矢量,具体为:
将选择出的最小差值绝对值所对应的第二视角矢量,作为符合所述第一预设条件的第二视角矢量。
结合第二方面的第一或者第二种可能的实现方式,在第四种可能的实现方式中,所述确定单元还用于:
计算每一个第二视角矢量与所述第一视角矢量的差值绝对值;
从所有差值绝对值中选择出符合第二预设条件的目标差值绝对值;
从所述目标差值绝对值中选择出最小差值绝对值;
所述确定单元从所有第二视角矢量中选择出与所述第一视角矢量符合第一预设条件的第二视角矢量,具体为:
将选择出的最小差值绝对值所对应的第二视角矢量,作为符合所述第一预设条件的第二视角矢量。
结合第二方面的第一至第四种可能的实现方式,在第五种可能的实现方式中,所述确定单元计算所述共同关注视角的第一视角矢量,具体为:
针对所述至少两个便携式关注视角获取设备中的任意一便携式关注视角获取设备,分别执行:
获取所述任意一便携式关注视角获取设备对应的第二关注视角及第二地理位置;
根据所述第二关注视角和所述第二地理位置计算所述任意一便携式关注视角获取设备的第三视角矢量;
将所有的第三视角矢量的平均值作为所述共同关注视角的第一视角矢量。
结合第二方面,或者第二方面的第一至第五种可能的实现方式,在第六种可能的实现方式中,还包括划分单元,用于:将所述至少两个便携式关注视角获取设备分为N类便携式关
注视角获取设备,N为大于或者等于2的整数;
所述确定单元确定所述至少两个便携式关注视角获取设备的共同关注视角,具体为:
计算所述N类便携式关注视角获取设备中的每一类便携式关注视角获取设备对应的共同关注视角,得到N个共同关注视角。
结合第二方面的第六种可能的实现方式,在第七种可能的实现方式中,所述确定单元将所述至少两个视频采集设备中对应的第一关注视角与所述共同关注视角满足条件的视频采集设备,作为目标视频采集设备,具体为:
针对所述N类便携式关注视角获取设备中的任意一类便携式关注视角获取设备,分别执行:
将所述至少两个视频采集设备中对应的第一关注视角与所述任意一类便携式关注视角获取设备的共同关注视角满足条件的视频采集设备,作为针对所述任意一类便携式关注视角获取设备的第一目标视频采集设备,所述目标视频采集设备包括所述第一目标视频采集设备。
结合第二方面的第七种可能的实现方式,在第八种可能的实现方式中,所述播放单元具体用于:
将所有所述第一目标视频采集设备所采集的视频汇总为一个拼接画面进行播放;或者
将所有所述第一目标视频采集设备所采集的视频分别进行播放。
结合第二方面的第七或者第八种可能的实现方式,在第九种可能的实现方式中,所述确定单元还用于:
确定所述任意一类便携式关注视角获取设备中包括的便携式关注视角获取设备的数量大于预设数量门限值。
结合第二方面的第六至第九种可能的实现方式,在第十种可能的实现方式中,所述划分单元具体用于:
根据预设规则将所述至少两个便携式关注视角获取设备划分为两类便携式关注视角获取设备;
针对所述两类便携式关注视角获取设备中的任意一类便携式关注视角获取设备,判断根据所述预设规则是否能够继续划分为两类便携式关注视角获取设备,若是,根据所述预设规则将所述任意一类便携式关注视角获取设备划分为两类便携式关注视角获取设备,针对划分得到的所述两类便携式关注视角获取设备中的任意一类便携式关注视角获取设备,返回判断步骤,否则,停止划分。
结合第二方面的第十种可能的实现方式,在第十一种可能的实现方式中,所述划分单元根据预设规则将所述至少两个便携式关注视角获取设备划分为两类便携式关注视角获取设备,具体为:
针对所述至少两个便携式关注视角获取设备中的任意一个便携式关注视角获取设备,分别执行:
获取所述任意一便携式关注视角获取设备对应的第二关注视角;
根据所述第二关注视角和所述共同关注视角确定视角差值;
若所述视角差值大于预设视角门限值,将所述便携式关注视角获取设备划分为第一类便携式关注视角获取设备;若所述视角差值小于所述预设视角门限值,将所述便携式关注视角获取设备划分为第二类便携式关注视角获取设备。
结合第二方面的第六种至第十一种可能的实现方式,在第十二种可能的实现方式中,所述播放单元还用于:
若所述N大于预设选择视频采集设备门限值,或者所述N类便携式关注视角获取设备中每一类便携式关注视角获取设备包括的便携式关注视角获取设备的数量均小于或者等于预设数量门限值,将采用全景视角采集视频的视频采集设备所采集的视频进行播放。
本发明实施例中提出一种播放视频的方法,应用于存在至少两个便携式关注视角获取设备及至少两个视频采集设备的场景,该方法包括:确定至少两个便携式关注视角获取设备的共同关注视角;获取至少两个视频采集设备分别对应的第一关注视角;将至少两个视频采集设备中对应的第一关注视角与共同关注视角满足条件的视频采集设备,作为目标视频采集设备;;将目标视频采集设备所采集的视频进行播放,在该方案中,根据共同关注视角及第一关注视角,从至少两个视频采集设备中选择出目标视频采集设备,不需要人工来选择,因此,提高了选择出的目标视频采集设备的准确度,进而提高了播放质量。
图1为现有技术中多台摄像机摆放的示意图;
图2A为本发明实施例中播放视频的流程图;
图2B为本发明实施例中智能眼镜的示意图;
图2C为本发明实施例中共同关注视角改变的一种示意图;
图2D为本发明实施例中共同关注视角改变的另一种示意图;
图2E为本发明实施例中多个共同关注视角改变的示意图;
图2F为本发明实施例中采用全景视角拍摄的示意图;
图3为本发明实施例中播放视频的实施例;
图4为本发明实施例中播放视频的装置的一种结构示意图;
图5为本发明实施例中播放视频的装置的另一种结构示意图。
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明
一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
下面结合说明书附图对本发明实施例进行详细说明,应当理解,此处所描述的实施例仅用于说明和解释本发明,并不用于限定本发明,并且在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。
下面结合附图对本发明实施例进行详细说明。
参阅图2A所示,本发明实施例中,提出一种播放视频的方法,应用于存在至少两个便携式关注视角获取设备及至少两个视频采集设备的场景,该方法的流程如下:
步骤200:确定至少两个便携式关注视角获取设备的共同关注视角;
步骤210:获取至少两个视频采集设备分别对应的第一关注视角;
步骤220:将至少两个视频采集设备中对应的第一关注视角与共同关注视角满足条件的视频采集设备,作为目标视频采集设备;
步骤230:将目标视频采集设备所采集的视频进行播放。
在该方案中,根据共同关注视角及第一关注视角,从至少两个视频采集设备中选择出目标视频采集设备,不需要人工从至少两个视频采集设备中选择出目标视频采集设备,因此,提高了选择出的目标视频采集设备的准确度,进而提高了播放质量。
步骤200-230的执行主体有多种,下面以主服务器为例进行说明。
本发明实施例中,便携式关注视角获取设备有多种形式,例如,可以为,智能眼镜(如谷歌眼镜)如图2B所示、智能头盔、个人方向定位仪、朝某个方向进行拍摄的手持便携设备,当然,还可能为其他形式,并不限定于上述几种形式,在此不再进行一一详述。
其中,智能眼镜具有和智能手机一样的功能,可以通过声音可以实现控制拍照、视频通话和辨明方向,以及上网冲浪、处理文字信息和电子邮件等功能。
本发明实施例中,主服务器在确定至少两个便携式关注视角获取设备的共同关注视角之前,至少两个便携式关注视角获取设备中的每一个便携式关注视角获取设备均要向主服务器进行注册,在便携式关注视角获取设备向主服务器注册之后,便携式关注视角获取设备可以确定至少两个便携式关注视角获取设备的共同关注视角。
本发明实施例中,便携式关注视角获取设备向主服务器进行注册时,可以通过WIFI(Wireless Fidelity,无线保真)进行注册,也可以通过蓝牙进行注册,还可以通过NFC(Near Field Communication,近距离无线通信技术)进行注册,当然,也可以通过其他方式进行注册,并不限定于上述几种注册形式,在此不再进行一一详述。本发明实施例中,获取第一关注视角时,可以为视频采集设备实时向主服务器上报,或者,为了避免资源浪费,视频采集设备也可以采用周期性上报的方式。
本发明实施例中所说的与视频采集设备对应的第一关注视角指的是,该视频采集设备在当前所处位置不转动的情况下所能够拍摄的角度。例如,有两个视频采集设备,视频采集设
备1可以拍摄的角度为30°-120°,视频采集设备2可以拍摄的角度为80°-160°。
本发明实施例中,将至少两个视频采集设备中对应的第一关注视角与共同关注视角满足条件的视频采集设备,作为目标视频采集设备的方式有多种,可选的,可以采用如下方式:
计算共同关注视角的第一视角矢量;
在针对至少两个视频采集设备中的任意一视频采集设备,分别执行:
根据任意一视频采集设备对应的第一关注视角,根据第一关注视角计算任意一视频采集设备对应的第二视角矢量;
从所有第二视角矢量中选择出与第一视角矢量符合第一预设条件的第二视角矢量;
将与符合第一预设条件的第二视角矢量所对应的视频采集设备作为目标视频采集设备。
本发明实施例中,视角矢量是用于表征对应的关注视角的,由于只是知道关注角度的话,是不知道对应的关注方向的,而用视角矢量来表征关注视角的话,不仅可以知道关注角度是多少,还可以知道关注的方向。
本发明实施例中,根据任意一视频采集设备对应的第一关注视角,计算任意一视频采集设备对应的第二视角矢量之前,还包括如下操作:
获取任意一视频采集设备的第一地理位置信息;
此时,在根据任意一视频采集设备对应的第一关注视角,计算任意一视频采集设备对应的第二视角矢量时,可选的,可以采用如下方式:
根据第一地理位置信息和第一关注视角,计算任意一视频采集设备对应的第二视角矢量。
本发明实施例中,从所有第二视角矢量中选择出与第一视角矢量符合预设条件的第二视角矢量之前,还包括:
计算每一个第二视角矢量与第一视角矢量的差值绝对值;
从所有差值绝对值中选择出最小差值绝对值;
此时,从所有第二视角矢量中选择出与第一视角矢量符合第一预设条件的第二视角矢量时,可选的,可以采用如下方式:
将选择出的最小差值绝对值所对应的第二视角矢量,作为符合第一预设条件的第二视角矢量。
例如:共有10个第二视角矢量,计算每一个第二视角矢量与第一视角矢量差值,然后取差值的绝对值,得到差值绝对值,共得到10个差值绝对值:差值绝对值1、差值绝对值2、差值绝对值3、差值绝对值4、差值绝对值5、差值绝对值6、差值绝对值7、差值绝对值8、差值绝对值9、差值绝对值10,若上述10个差值绝对值中差值绝对值8为最小值,此时,可以将差值绝对值8所对应的第二视角矢量,作为符合第一预设条件的第二视角矢量。
当然,如果最小差值绝对值有多个的话,可以将任意一个最小差值绝对值所对应的第二视角矢量,作为符合第一预设条件的第二视角矢量。
上述讲述的是,直接从所有差值绝对值中选择出最小差值绝对值,并将选择出的最小差
值绝对值所对应的第二视角矢量,作为符合第一预设条件的第二视角矢量,当然,也可以为从所有差值绝对值中选择出符合第二预设条件的目标查找绝对值;然后,从目标差值绝对值中选择出最小差值绝对值,因此,本发明实施例中,从所有第二视角矢量中选择出与第一视角矢量符合第一预设条件的第二视角矢量之前,还包括如下操作:
计算每一个第二视角矢量与第一视角矢量的差值绝对值;
从所有差值绝对值中选择出符合第二预设条件的目标差值绝对值;
从目标差值绝对值中选择出最小差值绝对值;
此时,从所有第二视角矢量中选择出与第一视角矢量符合第一预设条件的第二视角矢量时,可选的,可以采用如下方式:
将选择出的最小差值绝对值所对应的第二视角矢量,作为符合第一预设条件的第二视角矢量。
例如:共有10个第二视角矢量,计算每一个第二视角矢量与第一视角矢量差值,然后取差值的绝对值,得到差值绝对值,共得到10个差值绝对值:差值绝对值1、差值绝对值2、差值绝对值3、差值绝对值4、差值绝对值5、差值绝对值6、差值绝对值7、差值绝对值8、差值绝对值9、差值绝对值10,若上述10个差值绝对值中符合第二预设条件的差值绝对值为:差值绝对值1、差值绝对值2、差值绝对值3、差值绝对值4、差值绝对值5、差值绝对值6,上述6个差值绝对值中的最小差值绝对值为差值绝对值4,此时,可以将差值绝对值4所对应的第二视角矢量,作为符合第一预设条件的第二视角矢量。
当然,从目标差值绝对值中选择出的最小差值绝对值也可能有多个,此时,可以将多个最小差值绝对值中的任意一最小差值绝对值所对应的第二视角矢量,作为符合第一预设条件的第二视角矢量。
在这种方案中,如果在从所有差值绝对值中选择符合第二预设条件的目标差值绝对值的过程中,如果不存在符合第二预设条件的目标差值绝对值,且便携式关注视角获取设备也具备视频采集的功能的话,可以从便携式关注视角获取设备中选择出目标便携式关注视角获取设备,从便携式关注视角获取设备中选择出目标便携式关注视角获取设备的方法,与视频采集设备中选择出目标视频采集设备方法类此,在此不再进行一一详述。
进一步的,如果便携式关注视角获取设备中也不存在目标便携式关注视角获取设备的话,此时,可以将采用全景视角采集视频的视频采集设备所采集的视频进行播放。
本发明实施例中,将目标视频采集设备所采集的视频进行播放的时候,目标视频采集设备当前的关注视角与共同关注视角之间存在差值,为了提高播放的视频的质量,可以根据目标视频采集设备当前的关注视角与共同关注视角之间存在差值,对目标视频采集设备的关注视角进行调整。
需要说明的是,至少两个便携式关注视角获取设备的共同关注视角不是一成不变的,可能会发生变化,当共同关注视角发生变化的时候,要重新选择目标视频采集设备,重新选择
目标视频采集设备的方式与步骤200-230的选择目标视频采集设备的选择方式相同,在此不再进行一一详述。
例如,一开始确定的共同关注视角为共同关注视角1,根据共同关注视角1采用步骤200-230描述的选择目标视频采集设备的方式,选择出目标视频采集设备为目标视频采集设备1,并将目标视频采集设备1采集的视频进行播放即可,随着场景的变化,共同关注视角可能更改为共同关注视角2,如图2C所示,图2D所示,此时,根据共同关注视角2采用步骤200-230描述的选择目标视频采集设备的方式,选择出目标视频采集设备为目标视频采集设备2,并将目标视频采集设备2采集的视频进行播放即可。
本发明实施例中,计算共同关注视角的第一视角矢量的方式有多种,可选的,可以采用如下方式:
针对至少两个便携式关注视角获取设备中的任意一便携式关注视角获取设备,分别执行:
获取任意一便携式关注视角获取设备对应的第二关注视角及第二地理位置;
根据第二关注视角和第二地理位置计算任意一便携式关注视角获取设备的第三视角矢量;
将所有的第三视角矢量的平均值作为共同关注视角的第一视角矢量。
本发明实施例中,主服务器获取任意一便携式关注视角获取设备对应的第二关注视角及第二地理位置时,可以通过WIFI方式,可以通过蓝牙方式,当然,也可以通过NFC方式,当然并不限定于此,在此不再进行一一详述。
本发明实施例中,主服务器获取任意一便携式关注视角获取设备对应的第二关注视角及第二地理位置时,可以为实时获取,也可以周期性的获取,当然,还可以为其他获取方式,在此不再进行一一详述。
需要说明的是,本发明实施例中所说至少两个便携式关注视角获取设备的共同关注视角指的是至少两个便携式关注视角获取设备中的每一个第二关注视角的平均值,例如,共有50个智能眼镜,分为五类智能眼镜:第一类智能终端、第二类智能终端、第三类智能终端、第四类智能终端和第五类智能终端,针对第一类智能终端,该类智能终端的共同关注视角为第一类智能终端包括的各个智能终端的第二关注视角的平均值;针对第二类智能终端,该类智能终端的共同关注视角为第二类智能终端包括的各个智能终端的第二关注视角的交平均值;针对第三类智能终端,该类智能终端的共同关注视角为第三类智能终端包括的各个智能终端的第二关注视角的平均值;针对第四类智能终端,该类智能终端的共同关注视角为第四类智能终端包括的各个智能终端的第二关注视角的平均值;针对第五类智能终端,该类智能终端的共同关注视角为第五类智能终端包括的各个智能终端的第二关注视角的平均值。
上述描述的是,只存在一个共同关注视角的情况,当然,在实际应用中,也可能同时存在多个共同关注视角的情况,如图2E所示,有两个参会人员在激烈争论,有部分人关注争论者1,有部分人关注争论者2,则关注争论者1的关注视角为共同关注视角1,关注争论者2的关注视角为共同关注视角2。
又例如,教室里共有10个人,这10个人均戴着智能眼镜,有8个人朝老师看,这8个人存在一个共同关注视角,有2个人朝后看,这2个人存在一个共同关注视角。因此,本发明实施例中,确定至少两个便携式关注视角获取设备的共同关注视角之前,还包括如下操作:
将至少两个便携式关注视角获取设备分为N类便携式关注视角获取设备,N为大于或者等于2的整数;
此时,确定至少两个便携式关注视角获取设备的共同关注视角的方式,可选的,可以采用如下方式:
计算N类便携式关注视角获取设备中的每一类便携式关注视角获取设备对应的共同关注视角,得到N个共同关注视角。
例如:教室里共有10个人,这10个人均戴着智能眼镜,有8个人朝老师看,有2个人朝后看,因此,将这10个智能眼镜分为两类,第一类智能眼镜为关注视角朝向老师的智能眼镜,第二类智能眼镜为关注视角朝向后面的智能眼镜,然后,针对第一类智能眼镜确定一个第一共同关注视角,针对第二类智能眼镜确定一个第二共同关注视角,计算第一共同关注视角的方式及计算第二共同关注视角的方式,与上述讲述的只有一个共同关注视角的时候计算共同关注视角的方式是一样的,在此不再进行详述。
也就是说,无论共同关注视角是有一个还是有多个,计算共同关注视角的方式是类似的。
例如:教室里共有10个人,这10个人均戴着智能眼镜,这10个人均朝向老师,则此时只有一个共同关注视角,根据这10个智能眼镜的关注视角来计算这一个共同关注视角即可,如果这10个人中有8个人朝老师看,有2个人朝后看,则朝老师看的8个人戴着的智能眼镜可以形成一个第一共同关注视角,朝后看的2个人戴着的智能眼镜可以形成一个第二共同关注视角,则根据8个智能眼镜的关注视角来计算第一共同关注视角,根据2个智能眼镜的关注视角来计算第二共同关注视角。其中,计算第一共同关注视角和计算第二共同关注视角的方式,与根据10个智能眼镜的关注视角来计一个共同关注视角的方式是类似的。
本发明实施例中,将便携式关注视角获取设备分为N类后,针对每一类便携式关注视角获取设备都会计算得出一个共同关注视角,得到N个共同关注视角,针对每一个共同关注视角,选择出一个目标视频采集设备,然后,针对不同的共同关注视角,采用与之对应的目标视频采集设备进行视频采集并播放,因此,本发明实施例中,将至少两个视频采集设备中对应的第一关注视角与共同关注视角满足条件的视频采集设备,作为目标视频采集设备,可以采用如下方式:
针对N类便携式关注视角获取设备中的任意一类便携式关注视角获取设备,分别执行:
将至少两个视频采集设备中对应的第一关注视角与任意一类便携式关注视角获取设备的共同关注视角满足条件的视频采集设备,作为针对任意一类便携式关注视角获取设备的第一目标视频采集设备目标视频采集设备包括第一目标视频采集设备。
需要说明的是,针对每一类便携式关注视角获取设备选择出的目标视频采集设备可以相
同,也可以不同。
例如:会场共有50个人戴着智能眼镜,这50个智能眼镜分为5类,智能眼镜1-10为第一类智能眼镜,智能眼镜11-20为第二类智能眼镜,智能眼镜21-30为第三类智能眼镜,智能眼镜31-40为第四类智能眼镜,智能眼镜41-50为第五类智能眼镜,针对第一类智能眼镜,确定出共同关注视角1,并根据共同关注视角1选择出目标视频采集设备1;针对第二类智能眼镜,确定出共同关注视角2,并根据共同关注视角2选择出目标视频采集设备2;针对第三类智能眼镜,确定出共同关注视角3,并根据共同关注视角3选择出目标视频采集设备3;针对第四类智能眼镜,确定出共同关注视角4,并根据共同关注视角4选择出目标视频采集设备4;针对第五类智能眼镜,确定出共同关注视角5,并根据共同关注视角5选择出目标视频采集设备5。
其中,目标视频采集设备1、目标视频采集设备2、目标视频采集设备3、目标视频采集设备4、目标视频采集设备5中的任意两个目标视频采集设备可以相同,也可以不同。本发明实施例中,如果有多个第一目标视频采集设备的话,将目标视频采集设备所采集的视频进行播放的方法有多种,可选的,可以采用如下方式:
将所有第一目标视频采集设备所采集的视频汇总为一个拼接画面进行播放;或者
将所有第一目标视频采集设备所采集的视频分别进行播放。
本发明实施例中,由于视频采集设备的数量有限,而某一类便携式关注视角获取设备中包括的便携式关注视角获取设备的数量较少,此时,可以不给包括的便携式关注视角获取设备的数量较少的这类便携式关注视角获取设备,选择视频采集设备,因此,将至少两个视频采集设备中对应的第一关注视角与任意一类便携式关注视角获取设备的共同关注视角满足条件的视频采集设备,作为第一目标视频采集设备之前,还包括如下:
确定任意一类便携式关注视角获取设备中包括的便携式关注视角获取设备的数量大于预设数量门限值。
例如,共有60个便携式关注视角获取设备,分为三类,第一类便携式关注视角获取设备包括28个便携式关注视角获取设备,第二类便携式关注视角获取设备包括29个便携式关注视角获取设备,第三类便携式关注视角获取设备包括3个便携式关注视角获取设备,而此时共有两个视频采集设备,由于第三类便携式关注视角获取设备包括的便携式关注视角获取设备的数量较少,因此,可以不给第三类便携式关注视角获取设备选择视频采集设备。
本发明实施例中,将至少两个便携式关注视角获取设备分为N类便携式关注视角获取设备的方式有多种,可选的,可以采用如下方式:
根据预设规则将至少两个便携式关注视角获取设备划分为两类便携式关注视角获取设备;
针对两类便携式关注视角获取设备中的任意一类便携式关注视角获取设备,判断根据预设规则是否能够继续划分为两类便携式关注视角获取设备,若是,根据预设规则将任意一类便携式关注视角获取设备划分为两类便携式关注视角获取设备,针对划分得到的两类便携式
关注视角获取设备中的任意一类便携式关注视角获取设备,返回判断步骤,否则,停止划分。
例如:共有60个智能眼镜,第一次划分为两类智能眼镜:第一类智能眼镜和第二类智能眼镜,然后,针对第一类智能眼镜,判断是否能够划分,由于判断出可以继续划分为两类,因此,将第一类智能眼镜划分为第三类智能眼镜和第四类智能眼镜,而第二类智能眼镜判断出不能够划分不能够划分,因此,停止划分,针对第三类智能眼镜和第四类智能眼镜判断出不能继续划分,因此,停止继续划分,最终得到三类智能眼镜,即第二类智能眼镜、第三类智能眼镜和第四类智能眼镜。
上面是以第二类智能眼镜、第三类智能眼镜和第四类智能眼镜均不能继续划分,最终得到三类智能眼镜为例进行说明,当然,实际应用中,还可以继续划分,但是继续划分的方式与上述过程类似,在此不再进行详述。
本发明实施例中,根据预设规则将至少两个便携式关注视角获取设备划分为两类便携式关注视角获取设备时,有多种方式,可选的,可以采用如下方式:
针对至少两个便携式关注视角获取设备中的任意一个便携式关注视角获取设备,分别执行:
获取任意一便携式关注视角获取设备对应的第二关注视角;
根据第二关注视角和共同关注视角确定视角差值;
若视角差值大于预设视角门限值,将便携式关注视角获取设备划分为第一类便携式关注视角获取设备;若视角差值小于预设视角门限值,将便携式关注视角获取设备划分为第二类便携式关注视角获取设备。
其中,根据第二关注视角和共同关注视角确定视角差值可以采用如下公式进行确定:
其中,v共同关注视角为共同关注视角的第一视角矢量;
v第二关注视角为第二关注视角的第三视角矢量;
θ为第二关注视角和共同关注视角确定视角差值。
共同关注视角的第一视角矢量的计算方式在前面已经描述,在此不再进行详述,第二关注视角的第三视角矢量的计算方式在前面已经描述,在此不再进行详述。
需要说明的是,针对某一类便携式关注视角获取设备进行划分的时候,公式一中的v共同关注视角为这一类便携式关注视角获取设备的共同关注视角的第一视角矢量。
例如,共有10个智能眼镜,第一次划分为两类智能眼镜,得到第一类智能眼镜和第二类智能眼镜,在第一次划分的时候,v共同关注视角为这10个智能眼镜形成的共同关注视角的第一视角矢量,在第二次划分的时候,要对第一类智能眼镜进行划分,此时,v共同关注视角为第一类智能眼镜形成的共同关注视角的第一视角矢量,同理,对第二类智能眼镜进行划分的时候,此时,v共同关注视角为第二类智能眼镜形成的共同关注视角的第一视角矢量,若第一类智能眼镜又划分为第三类智能眼镜和第四类智能眼镜,针对第三类智能眼镜划分的时候,v共同关注视角为
第三类智能眼镜形成的共同关注视角的第一视角矢量,同理,针对第四类智能眼镜划分的时候,v共同关注视角为第四类智能眼镜形成的共同关注视角的第一视角矢量,当然,还可能继续划分,但是划分方式是类似的,在此不再进行详述。
本发明实施例中,有些场景下没有统一的共同关注视角,例如,在会议开始之前,此时,可以采用全景视角采集视频,并播放,全景视角也可以叫做上帝视角,例如:
若N大于预设选择视频采集设备门限值,或者N类便携式关注视角获取设备中每一类便携式关注视角获取设备包括的便携式关注视角获取设备的数量均小于或者等于预设数量门限值,将采用全景视角采集视频的视频采集设备所采集的视频进行播放,如图2F所示。
本发明实施了在中,关注视角可以是二维范围内的一个关注视角,也可以是一个三维或者三维以上范围内的一个关注视角。
为了更好地理解本发明实施例,以下给出具体应用场景,针对视频播放的过程,进行举例描述,如图3所示:
步骤300:将50个智能眼镜分为5类:第一类智能眼镜、第二类智能眼镜、第三类智能眼镜、第四类智能眼镜、第五类智能眼镜;
步骤310:针对第一类智能眼镜,确定出第一类智能眼镜的共同关注视角1,并计算出共同关注视角1的第一视角矢量1;
步骤320:针对5个视频采集设备中的任意一视频采集设备,分别执行:根据任意一视频采集设备对应的第一关注视角,根据第一关注视角计算任意一视频采集设备对应的第二视角矢量,得到5个第二视角矢量;
步骤330:从5个第二视角矢量中选择出与第一视角矢量的差值绝对值为最小值的第二视角矢量;
该步骤中确定出的第二视角矢量为第二视角矢量1;
步骤340:将第二视角矢量1所对应的视频采集设备作为目标视频采集设备;
该步骤中确定出的目标视频采集设备为视频采集设备1。
步骤350:判断针对5类智能眼镜是否已经全部确定出目标视频采集设备,若是,执行步骤360,否则,执行步骤310;
在该步骤中,若返回步骤310的话,不是要继续确定针对第一类智能眼镜的目标视频采集设备,而是要针对未确定出目标视频采集设备的那一类智能眼镜确定出目标视频采集设备,例如,未确定出针对第四类智能眼镜和第五类智能眼镜的目标视频采集设备时,返回步骤310的话,要确定针对第四类智能眼镜或者第五类智能眼镜的目标视频采集设备。
步骤360:将确定出的全部目标视频采集设备所采集的视频进行播放。
参阅图4所示,本发明实施例中,提出一种播放视频的装置,该装置应用于存在至少两个便携式关注视角获取设备及至少两个视频采集设备的场景,该装置包括确定单元40、获取单元41和播放单元42,其中
确定单元40,用于确定至少两个便携式关注视角获取设备的共同关注视角;
获取单元41,用于获取至少两个视频采集设备分别对应的第一关注视角;
确定单元40还用于,将至少两个视频采集设备中对应的第一关注视角与共同关注视角满足条件的视频采集设备,作为目标视频采集设备;
播放单元42,用于将目标视频采集设备所采集的视频进行播放。
本发明实施例中,可选的,确定单元40将至少两个视频采集设备中对应的第一关注视角与共同关注视角满足条件的视频采集设备,作为目标视频采集设备,具体为:
计算共同关注视角的第一视角矢量;
针对至少两个视频采集设备中的任意一视频采集设备,分别执行:
根据任意一视频采集设备对应的第一关注视角,计算任意一视频采集设备对应的第二视角矢量;
从所有第二视角矢量中选择出与第一视角矢量符合第一预设条件的第二视角矢量;
将与符合第一预设条件的第二视角矢量所对应的视频采集设备作为目标视频采集设备。
本发明实施例中,进一步的,获取单元41,还用于获取任意一视频采集设备的第一地理位置信息;
确定单元40根据任意一视频采集设备对应的第一关注视角,计算任意一视频采集设备对应的第二视角矢量,具体为:
根据第一地理位置信息和第一关注视角,计算任意一视频采集设备对应的第二视角矢量。
本发明实施例中,进一步的,确定单元40还用于:
计算每一个第二视角矢量与第一视角矢量的差值绝对值;
从所有差值绝对值中选择出最小差值绝对值;
确定单元40从所有第二视角矢量中选择出与第一视角矢量符合第一预设条件的第二视角矢量,具体为:
将选择出的最小差值绝对值所对应的第二视角矢量,作为符合第一预设条件的第二视角矢量。
本发明实施例中,进一步的,确定单元40还用于:
计算每一个第二视角矢量与第一视角矢量的差值绝对值;
从所有差值绝对值中选择出符合第二预设条件的目标差值绝对值;
从目标差值绝对值中选择出最小差值绝对值;
确定单元40从所有第二视角矢量中选择出与第一视角矢量符合第一预设条件的第二视角矢量,具体为:
将选择出的最小差值绝对值所对应的第二视角矢量,作为符合第一预设条件的第二视角矢量。
本发明实施例中,可选的,确定单元40计算共同关注视角的第一视角矢量,具体为:
针对至少两个便携式关注视角获取设备中的任意一便携式关注视角获取设备,分别执行:
获取任意一便携式关注视角获取设备对应的第二关注视角及第二地理位置;
根据第二关注视角和第二地理位置计算任意一便携式关注视角获取设备的第三视角矢量;
将所有的第三视角矢量的平均值作为共同关注视角的第一视角矢量。
本发明实施例中,进一步的,还包括划分单元43,用于:将至少两个便携式关注视角获取设备分为N类便携式关注视角获取设备,N为大于或者等于2的整数;
确定单元40确定至少两个便携式关注视角获取设备的共同关注视角,具体为:
计算N类便携式关注视角获取设备中的每一类便携式关注视角获取设备对应的共同关注视角,得到N个共同关注视角。
本发明实施例中,可选的,确定单元40将至少两个视频采集设备中对应的第一关注视角与共同关注视角满足条件的视频采集设备,作为目标视频采集设备,具体为:
针对N类便携式关注视角获取设备中的任意一类便携式关注视角获取设备,分别执行:
将至少两个视频采集设备中对应的第一关注视角与任意一类便携式关注视角获取设备的共同关注视角满足条件的视频采集设备,作为针对任意一类便携式关注视角获取设备的第一目标视频采集设备,目标视频采集设备包括第一目标视频采集设备。
本发明实施例中,可选的,播放单元42具体用于:
将所有第一目标视频采集设备所采集的视频汇总为一个拼接画面进行播放;或者
将所有第一目标视频采集设备所采集的视频分别进行播放。
本发明实施例中,进一步的,确定单元40还用于:
确定任意一类便携式关注视角获取设备中包括的便携式关注视角获取设备的数量大于预设数量门限值。
本发明实施例中,可选的,划分单元具体用于:
根据预设规则将至少两个便携式关注视角获取设备划分为两类便携式关注视角获取设备;
针对两类便携式关注视角获取设备中的任意一类便携式关注视角获取设备,判断根据预设规则是否能够继续划分为两类便携式关注视角获取设备,若是,根据预设规则将任意一类便携式关注视角获取设备划分为两类便携式关注视角获取设备,针对划分得到的两类便携式关注视角获取设备中的任意一类便携式关注视角获取设备,返回判断步骤,否则,停止划分。
本发明实施例中,可选的,划分单元根据预设规则将至少两个便携式关注视角获取设备划分为两类便携式关注视角获取设备,具体为:
针对至少两个便携式关注视角获取设备中的任意一个便携式关注视角获取设备,分别执行:
获取任意一便携式关注视角获取设备对应的第二关注视角;
根据第二关注视角和共同关注视角确定视角差值;
若视角差值大于预设视角门限值,将便携式关注视角获取设备划分为第一类便携式关注
视角获取设备;若视角差值小于预设视角门限值,将便携式关注视角获取设备划分为第二类便携式关注视角获取设备。
本发明实施例中,进一步的,播放单元42还用于:
若N大于预设选择视频采集设备门限值,或者N类便携式关注视角获取设备中每一类便携式关注视角获取设备包括的便携式关注视角获取设备的数量均小于或者等于预设数量门限值,将采用全景视角采集视频的视频采集设备所采集的视频进行播放。
如图5所示,为本发明实施例提供的SDN中部署控制器的装置的另一种结构示意图,包括至少一个处理器501,通信总线502,存储器503以及至少一个通信接口504。
其中,通信总线502用于实现上述组件之间的连接并通信,通信接口504用于与外部设备连接并通信。
其中,存储器503用于存储有可执行的程序代码,处理器501通过执行这些程序代码,以用于:
确定至少两个便携式关注视角获取设备的共同关注视角;
获取至少两个视频采集设备分别对应的第一关注视角;
将至少两个视频采集设备中对应的第一关注视角与共同关注视角满足条件的视频采集设备,作为目标视频采集设备;
将目标视频采集设备所采集的视频进行播放。
需要说明的是,处理器501还用于执行图4中所示的确定单元40、获取单元41、播放单元42和划分单元43所执行的其他操作,在此不再进行详述。
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中的功能的步骤。
尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,
则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。
显然,本领域的技术人员可以对本发明实施例进行各种改动和变型而不脱离本发明实施例的精神和范围。这样,倘若本发明实施例的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。
Claims (26)
- 一种播放视频的方法,应用于存在至少两个便携式关注视角获取设备及至少两个视频采集设备的场景,其特征在于,包括:确定所述至少两个便携式关注视角获取设备的共同关注视角;获取所述至少两个视频采集设备分别对应的第一关注视角;将所述至少两个视频采集设备中对应的第一关注视角与所述共同关注视角满足条件的视频采集设备,作为目标视频采集设备;将所述目标视频采集设备所采集的视频进行播放。
- 如权利要求1所述的方法,其特征在于,将所述至少两个视频采集设备中对应的第一关注视角与所述共同关注视角满足条件的视频采集设备,作为目标视频采集设备,包括:计算所述共同关注视角的第一视角矢量;针对所述至少两个视频采集设备中的任意一视频采集设备,分别执行:根据所述任意一视频采集设备对应的第一关注视角,计算所述任意一视频采集设备对应的第二视角矢量;从所有第二视角矢量中选择出与所述第一视角矢量符合第一预设条件的第二视角矢量;将与符合所述第一预设条件的第二视角矢量所对应的视频采集设备作为目标视频采集设备。
- 如权利要求2所述的方法,其特征在于,根据所述任意一视频采集设备对应的第一关注视角,计算所述任意一视频采集设备对应的第二视角矢量之前,还包括:获取所述任意一视频采集设备的第一地理位置信息;根据所述任意一视频采集设备对应的第一关注视角,计算所述任意一视频采集设备对应的第二视角矢量,包括:根据所述第一地理位置信息和所述第一关注视角,计算所述任意一视频采集设备对应的第二视角矢量。
- 如权利要求2或3所述的方法,其特征在于,从所有第二视角矢量中选择出与所述第一视角矢量符合第一预设条件的第二视角矢量之前,还包括:计算每一个第二视角矢量与所述第一视角矢量的差值绝对值;从所有差值绝对值中选择出最小差值绝对值;从所有第二视角矢量中选择出与所述第一视角矢量符合第一预设条件的第二视角矢量,包括:将选择出的最小差值绝对值所对应的第二视角矢量,作为符合所述第一预设条件的第二视角矢量。
- 如权利要求2或3所述的方法,其特征在于,从所有第二视角矢量中选择出与所述第一视角矢量符合第一预设条件的第二视角矢量之前,还包括:计算每一个第二视角矢量与所述第一视角矢量的差值绝对值;从所有差值绝对值中选择出符合第二预设条件的目标差值绝对值;从所述目标差值绝对值中选择出最小差值绝对值;从所有第二视角矢量中选择出与所述第一视角矢量符合第一预设条件的第二视角矢量,包括:将选择出的最小差值绝对值所对应的第二视角矢量,作为符合所述第一预设条件的第二视角矢量。
- 如权利要求2-5任一项所述的方法,其特征在于,计算所述共同关注视角的第一视角矢量,包括:针对所述至少两个便携式关注视角获取设备中的任意一便携式关注视角获取设备,分别执行:获取所述任意一便携式关注视角获取设备对应的第二关注视角及第二地理位置;根据所述第二关注视角和所述第二地理位置计算所述任意一便携式关注视角获取设备的第三视角矢量;将所有的第三视角矢量的平均值作为所述共同关注视角的第一视角矢量。
- 如权利要求1-6任一项所述的方法,其特征在于,确定所述至少两个便携式关注视角获取设备的共同关注视角之前,还包括:将所述至少两个便携式关注视角获取设备分为N类便携式关注视角获取设备,N为大于或者等于2的整数;确定所述至少两个便携式关注视角获取设备的共同关注视角,包括:计算所述N类便携式关注视角获取设备中的每一类便携式关注视角获取设备对应的共同关注视角,得到N个共同关注视角。
- 如权利要求7所述的方法,其特征在于,将所述至少两个视频采集设备中对应的第一关注视角与所述共同关注视角满足条件的视频采集设备,作为目标视频采集设备,包括:针对所述N类便携式关注视角获取设备中的任意一类便携式关注视角获取设备,分别执行:将所述至少两个视频采集设备中对应的第一关注视角与所述任意一类便携式关注视角获取设备的共同关注视角满足条件的视频采集设备,作为针对所述任意一类便携式关注视角获取设备的第一目标视频采集设备所述目标视频采集设备包括所述第一目标视频采集设备。
- 如权利要求8所述的方法,其特征在于,将所述目标视频采集设备所采集的视频进行播放,包括:将所有所述第一目标视频采集设备所采集的视频汇总为一个拼接画面进行播放;或者将所有所述第一目标视频采集设备所采集的视频分别进行播放。
- 如权利要求8或9所述的方法,其特征在于,将所述至少两个视频采集设备中对应的第一关注视角与所述任意一类便携式关注视角获取设备的共同关注视角满足条件的视频采集设备,作为第一目标视频采集设备之前,还包括:确定所述任意一类便携式关注视角获取设备中包括的便携式关注视角获取设备的数量大于预设数量门限值。
- 如权利要求7-10任一项所述的方法,其特征在于,将所述至少两个便携式关注视角获取设备分为N类便携式关注视角获取设备,包括:根据预设规则将所述至少两个便携式关注视角获取设备划分为两类便携式关注视角获取设备;针对所述两类便携式关注视角获取设备中的任意一类便携式关注视角获取设备,判断根据所述预设规则是否能够继续划分为两类便携式关注视角获取设备,若是,根据所述预设规则将所述任意一类便携式关注视角获取设备划分为两类便携式关注视角获取设备,针对划分得到的所述两类便携式关注视角获取设备中的任意一类便携式关注视角获取设备,返回判断步骤,否则,停止划分。
- 如权利要求11所述的方法,其特征在于,根据预设规则将所述至少两个便携式关注视角获取设备划分为两类便携式关注视角获取设备,包括:针对所述至少两个便携式关注视角获取设备中的任意一个便携式关注视角获取设备,分别执行:获取所述任意一便携式关注视角获取设备对应的第二关注视角;根据所述第二关注视角和所述共同关注视角确定视角差值;若所述视角差值大于预设视角门限值,将所述便携式关注视角获取设备划分为第一类便携式关注视角获取设备;若所述视角差值小于所述预设视角门限值,将所述便携式关注视角获取设备划分为第二类便携式关注视角获取设备。
- 如权利要求7-12任一项所述的方法,其特征在于,所述方法还包括:若所述N大于预设选择视频采集设备门限值,或者所述N类便携式关注视角获取设备中每一类便携式关注视角获取设备包括的便携式关注视角获取设备的数量均小于或者等于预设数量门限值,将采用全景视角采集视频的视频采集设备所采集的视频进行播放。
- 一种播放视频的装置,应用于存在至少两个便携式关注视角获取设备及至少两个视频采集设备的场景,其特征在于,包括:确定单元,用于确定所述至少两个便携式关注视角获取设备的共同关注视角;获取单元,用于获取所述至少两个视频采集设备分别对应的第一关注视角;所述确定单元还用于,将所述至少两个视频采集设备中对应的第一关注视角与所述共同关注视角满足条件的视频采集设备,作为目标视频采集设备;播放单元,用于将所述目标视频采集设备所采集的视频进行播放。
- 如权利要求14所述的装置,其特征在于,所述确定单元将所述至少两个视频采集设备中对应的第一关注视角与所述共同关注视角满足条件的视频采集设备,作为目标视频采集设备,具体为:计算所述共同关注视角的第一视角矢量;针对所述至少两个视频采集设备中的任意一视频采集设备,分别执行:根据所述任意一视频采集设备对应的第一关注视角,计算所述任意一视频采集设备对应的第二视角矢量;从所有第二视角矢量中选择出与所述第一视角矢量符合第一预设条件的第二视角矢量;将与符合所述第一预设条件的第二视角矢量所对应的视频采集设备作为目标视频采集设备。
- 如权利要求15所述的装置,其特征在于,所述获取单元还用于,获取所述任意一视频采集设备的第一地理位置信息;所述确定单元根据所述任意一视频采集设备对应的第一关注视角,计算所述任意一视频采集设备对应的第二视角矢量,具体为:根据所述第一地理位置信息和所述第一关注视角,计算所述任意一视频采集设备对应的第二视角矢量。
- 如权利要求15或16所述的装置,其特征在于,所述确定单元还用于:计算每一个第二视角矢量与所述第一视角矢量的差值绝对值;从所有差值绝对值中选择出最小差值绝对值;所述确定单元从所有第二视角矢量中选择出与所述第一视角矢量符合第一预设条件的第二视角矢量,具体为:将选择出的最小差值绝对值所对应的第二视角矢量,作为符合所述第一预设条件的第二视角矢量。
- 如权利要求15或16所述的装置,其特征在于,所述确定单元还用于:计算每一个第二视角矢量与所述第一视角矢量的差值绝对值;从所有差值绝对值中选择出符合第二预设条件的目标差值绝对值;从所述目标差值绝对值中选择出最小差值绝对值;所述确定单元从所有第二视角矢量中选择出与所述第一视角矢量符合第一预设条件的第二视角矢量,具体为:将选择出的最小差值绝对值所对应的第二视角矢量,作为符合所述第一预设条件的第二视角矢量。
- 如权利要求15-18任一项所述的装置,其特征在于,所述确定单元计算所述共同关注视角的第一视角矢量,具体为:针对所述至少两个便携式关注视角获取设备中的任意一便携式关注视角获取设备,分别执行:获取所述任意一便携式关注视角获取设备对应的第二关注视角及第二地理位置;根据所述第二关注视角和所述第二地理位置计算所述任意一便携式关注视角获取设备的第三视角矢量;将所有的第三视角矢量的平均值作为所述共同关注视角的第一视角矢量。
- 如权利要求14-19任一项所述的装置,其特征在于,还包括划分单元,用于:将所述至少两个便携式关注视角获取设备分为N类便携式关注视角获取设备,N为大于或者等于2的整数;所述确定单元确定所述至少两个便携式关注视角获取设备的共同关注视角,具体为:计算所述N类便携式关注视角获取设备中的每一类便携式关注视角获取设备对应的共同关注视角,得到N个共同关注视角。
- 如权利要求20所述的装置,其特征在于,所述确定单元将所述至少两个视频采集设备中对应的第一关注视角与所述共同关注视角满足条件的视频采集设备,作为目标视频采集设备,具体为:针对所述N类便携式关注视角获取设备中的任意一类便携式关注视角获取设备,分别执行:将所述至少两个视频采集设备中对应的第一关注视角与所述任意一类便携式关注视角获取设备的共同关注视角满足条件的视频采集设备,作为针对所述任意一类便携式关注视角获取设备的第一目标视频采集设备,所述目标视频采集设备包括所述第一目标视频采集设备。
- 如权利要求21所述的装置,其特征在于,所述播放单元具体用于:将所有所述第一目标视频采集设备所采集的视频汇总为一个拼接画面进行播放;或者将所有所述第一目标视频采集设备所采集的视频分别进行播放。
- 如权利要求21或22所述的装置,其特征在于,所述确定单元还用于:确定所述任意一类便携式关注视角获取设备中包括的便携式关注视角获取设备的数量大于预设数量门限值。
- 如权利要求20-23任一项所述的装置,其特征在于,所述划分单元具体用于:根据预设规则将所述至少两个便携式关注视角获取设备划分为两类便携式关注视角获取设备;针对所述两类便携式关注视角获取设备中的任意一类便携式关注视角获取设备,判断根据所述预设规则是否能够继续划分为两类便携式关注视角获取设备,若是,根据所述预设规则将所述任意一类便携式关注视角获取设备划分为两类便携式关注视角获取设备,针对划分得到的所述两类便携式关注视角获取设备中的任意一类便携式关注视角获取设备,返回判断步骤,否则,停止划分。
- 如权利要求24所述的装置,其特征在于,所述划分单元根据预设规则将所述至少两个便携式关注视角获取设备划分为两类便携式关注视角获取设备,具体为:针对所述至少两个便携式关注视角获取设备中的任意一个便携式关注视角获取设备,分别执行:获取所述任意一便携式关注视角获取设备对应的第二关注视角;根据所述第二关注视角和所述共同关注视角确定视角差值;若所述视角差值大于预设视角门限值,将所述便携式关注视角获取设备划分为第一类便携式关注视角获取设备;若所述视角差值小于所述预设视角门限值,将所述便携式关注视角获取设备划分为第二类便携式关注视角获取设备。
- 如权利要求20-25任一项所述的装置,其特征在于,所述播放单元还用于:若所述N大于预设选择视频采集设备门限值,或者所述N类便携式关注视角获取设备中每一类便携式关注视角获取设备包括的便携式关注视角获取设备的数量均小于或者等于预设数量门限值,将采用全景视角采集视频的视频采集设备所采集的视频进行播放。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510289809.5 | 2015-05-29 | ||
CN201510289809.5A CN104918011B (zh) | 2015-05-29 | 2015-05-29 | 一种播放视频的方法及装置 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2016192467A1 true WO2016192467A1 (zh) | 2016-12-08 |
Family
ID=54086666
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/079203 WO2016192467A1 (zh) | 2015-05-29 | 2016-04-13 | 一种播放视频的方法及装置 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104918011B (zh) |
WO (1) | WO2016192467A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112188219A (zh) * | 2020-09-29 | 2021-01-05 | 北京达佳互联信息技术有限公司 | 视频接收方法和装置以及视频发送方法和装置 |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104918011B (zh) * | 2015-05-29 | 2018-04-27 | 华为技术有限公司 | 一种播放视频的方法及装置 |
CN110225405B (zh) * | 2019-07-12 | 2021-06-25 | 青岛一舍科技有限公司 | 一种全景视频播放方法及装置 |
CN112766033B (zh) * | 2020-11-27 | 2022-07-15 | 天津大学 | 一种基于多视角相机估计场景下行人共同关注目标的方法 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1574961A (zh) * | 2003-06-18 | 2005-02-02 | 松下电器产业株式会社 | 视频监视系统、监视视频合成装置以及视频监视服务器 |
US20110176006A1 (en) * | 2010-01-21 | 2011-07-21 | Hon Hai Precision Industry Co., Ltd. | Video monitoring system and method |
CN102148965A (zh) * | 2011-05-09 | 2011-08-10 | 上海芯启电子科技有限公司 | 多目标跟踪特写拍摄视频监控系统 |
CN103595963A (zh) * | 2013-11-14 | 2014-02-19 | 浙江宇视科技有限公司 | 多摄像机视频监控系统、移动目标追踪装置及方法 |
CN104918011A (zh) * | 2015-05-29 | 2015-09-16 | 华为技术有限公司 | 一种播放视频的方法及装置 |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102186038A (zh) * | 2011-05-17 | 2011-09-14 | 浪潮(山东)电子信息有限公司 | 一种在数字电视屏幕上同步播放多视角画面的方法 |
US9625720B2 (en) * | 2012-01-24 | 2017-04-18 | Accipiter Radar Technologies Inc. | Personal electronic target vision system, device and method |
US8805158B2 (en) * | 2012-02-08 | 2014-08-12 | Nokia Corporation | Video viewing angle selection |
CN102932605B (zh) * | 2012-11-26 | 2014-12-24 | 南京大学 | 一种视觉感知网络中摄像机的组合选择方法 |
-
2015
- 2015-05-29 CN CN201510289809.5A patent/CN104918011B/zh active Active
-
2016
- 2016-04-13 WO PCT/CN2016/079203 patent/WO2016192467A1/zh active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1574961A (zh) * | 2003-06-18 | 2005-02-02 | 松下电器产业株式会社 | 视频监视系统、监视视频合成装置以及视频监视服务器 |
US20110176006A1 (en) * | 2010-01-21 | 2011-07-21 | Hon Hai Precision Industry Co., Ltd. | Video monitoring system and method |
CN102148965A (zh) * | 2011-05-09 | 2011-08-10 | 上海芯启电子科技有限公司 | 多目标跟踪特写拍摄视频监控系统 |
CN103595963A (zh) * | 2013-11-14 | 2014-02-19 | 浙江宇视科技有限公司 | 多摄像机视频监控系统、移动目标追踪装置及方法 |
CN104918011A (zh) * | 2015-05-29 | 2015-09-16 | 华为技术有限公司 | 一种播放视频的方法及装置 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112188219A (zh) * | 2020-09-29 | 2021-01-05 | 北京达佳互联信息技术有限公司 | 视频接收方法和装置以及视频发送方法和装置 |
Also Published As
Publication number | Publication date |
---|---|
CN104918011B (zh) | 2018-04-27 |
CN104918011A (zh) | 2015-09-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6759406B2 (ja) | カメラ撮影制御方法、装置、インテリジェント装置およびコンピュータ記憶媒体 | |
US9065967B2 (en) | Method and apparatus for providing device angle image correction | |
CN108154058B (zh) | 图形码展示、位置区域确定方法及装置 | |
US20160360267A1 (en) | Process for increasing the quality of experience for users that watch on their terminals a high definition video stream | |
CN105282421B (zh) | 一种去雾图像获取方法、装置及终端 | |
US8903130B1 (en) | Virtual camera operator | |
US9396757B2 (en) | Video remixing system | |
US10506248B2 (en) | Foreground detection for video stabilization | |
WO2016192467A1 (zh) | 一种播放视频的方法及装置 | |
US20150139601A1 (en) | Method, apparatus, and computer program product for automatic remix and summary creation using crowd-sourced intelligence | |
EP2892205B1 (en) | Method and device for determining a sharing terminal | |
WO2016184131A1 (zh) | 基于双摄像头拍摄图像的方法、装置及计算机存储介质 | |
CN105701762B (zh) | 一种图片处理方法和电子设备 | |
WO2014183533A1 (zh) | 一种图像处理方法、用户终端、图像处理终端及系统 | |
WO2016082590A1 (zh) | 图片处理方法、装置和存储介质 | |
CN103997616B (zh) | 一种处理视频会议画面的方法、装置及会议终端 | |
CN110809797B (zh) | 微视频系统、格式和生成方法 | |
US20170076177A1 (en) | Method and device for capturing a video in a communal acquisition | |
WO2019061020A1 (zh) | 图像生成方法、图像生成装置和机器可读存储介质 | |
CN106034207A (zh) | 图像获得方法以及电子设备 | |
KR102571876B1 (ko) | 적어도 하나의 플렌옵틱 비디오를 리포커싱하기 위한 방법 및 디바이스 | |
TWI658434B (zh) | 影像處理裝置及方法 | |
WO2018137393A1 (zh) | 一种图像处理方法及电子设备 | |
CN104954717B (zh) | 一种终端及视频片头生成方法 | |
CN105516706A (zh) | 制作立体影像方法 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16802390 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 16802390 Country of ref document: EP Kind code of ref document: A1 |