CN115209005A - Video shooting terminal, video shooting and playing method and storage medium - Google Patents

Video shooting terminal, video shooting and playing method and storage medium Download PDF

Info

Publication number
CN115209005A
CN115209005A CN202110394024.XA CN202110394024A CN115209005A CN 115209005 A CN115209005 A CN 115209005A CN 202110394024 A CN202110394024 A CN 202110394024A CN 115209005 A CN115209005 A CN 115209005A
Authority
CN
China
Prior art keywords
video
shooting
camera
playing
path
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110394024.XA
Other languages
Chinese (zh)
Inventor
纪德威
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN202110394024.XA priority Critical patent/CN115209005A/en
Publication of CN115209005A publication Critical patent/CN115209005A/en
Pending legal-status Critical Current

Links

Images

Abstract

The embodiment of the invention provides a video shooting terminal, a video shooting and playing method and a storage medium, wherein at least two cameras which have the same shooting direction and different shooting focus sections are arranged on a terminal main body, and a shooting controller controls the at least two cameras to simultaneously and respectively carry out video shooting to obtain at least two paths of video frames with different shooting focus sections and independently store the video frames in the same video file when a multi-focus section video shooting condition is triggered; in the process of playing the video file, the currently played video frame can be switched to one path of video frame corresponding to the image zooming instruction in the video file for playing according to the obtained image zooming instruction, so that the playing flexibility of the video file can be improved, a user can watch the video frames of a plurality of shooting focal segments, and the satisfaction degree of the watching experience of the user is improved.

Description

Video shooting terminal, video shooting and playing method and storage medium
Technical Field
The embodiment of the invention relates to the field of shooting, in particular to a video shooting terminal, a video shooting and playing method and a storage medium.
Background
Intelligent terminals with camera shooting functions, such as video shooting terminals of smart phones, IPAD smart watches and the like, play an increasingly important role in life and work of people. There are increasing demands for video quality of videos photographed through video photographing terminals and video functions. In the related art, when people use a video shooting terminal to shoot a video, a single shooting focal length is generally shot by using one camera on the video shooting terminal, and the shooting focal length of each video frame in a shot video file is single. Therefore, in the process of playing the video file, only the video with the same shooting focal length can be watched, the switching of different optical focal lengths of the picture can not be realized, the improvement of the quality of the shot video is not facilitated, and the video shooting and watching experience of the user is also seriously influenced.
Disclosure of Invention
The embodiment of the invention provides a video shooting terminal, a video shooting and playing method and a storage medium, and solves the technical problems that: the problem that in the prior art, a shooting focal length used when a video shooting terminal carries out video shooting is single, and satisfaction of shooting experience and watching experience of a user is poor is solved.
The embodiment of the invention provides a video shooting terminal, which comprises a terminal main body, wherein a shooting controller is arranged in the terminal main body, and at least two cameras which have the same shooting direction and different shooting focal sections are arranged on the terminal main body; the shooting controller controls the at least two cameras to simultaneously and respectively carry out video shooting to obtain at least two paths of video frames when a multi-focus video shooting condition is triggered, and independently stores the video frames in each path in the same video file, wherein the video frames shot at the same time in the video frames in each path correspond to each other.
An embodiment of the present invention further provides a video shooting method for the video shooting terminal, including: when the multi-focus video shooting condition is detected to be triggered, controlling the at least two cameras to simultaneously carry out video shooting to obtain at least two paths of video frames; and independently storing the video frames of each path in the same video file, wherein the video frames shot at the same moment in the video files correspond to each other.
The embodiment of the invention also provides a video playing method, which comprises the following steps: detecting a picture zooming instruction in the process of playing a video file, wherein the video file comprises at least two paths of video frames shot by at least two cameras with different shooting focal sections, and the video frames shot at the same moment in the video files correspond to each other; and switching to a path of video frames corresponding to the image zooming instruction in the video file for playing according to the image zooming instruction.
The embodiment of the invention also provides a video shooting terminal, which comprises a memory, a processor and a communication bus for connecting the memory and the shooting controller; the memory stores one or more first computer programs executable by the processor to implement the steps of the video capture method as described above; and/or the memory stores one or more second computer programs executable by the processor to implement the steps of the video playback method as described above.
Embodiments of the present invention further provide a computer-readable storage medium, where one or more first computer programs are stored, and the one or more first computer programs are executable by one or more processors to implement the steps of the video shooting method as described above; and/or the computer readable storage medium stores one or more second computer programs executable by the processor to implement the steps of the video playback method as described above.
According to the video shooting terminal, the video shooting and playing method and the storage medium provided by the embodiment of the invention, the terminal main body is provided with at least two cameras which have the same shooting direction and different shooting focal sections, the shooting controller controls the at least two cameras to simultaneously and respectively carry out video shooting to obtain at least two paths of video frames with different shooting focal sections when the multi-focal-section video shooting condition is triggered, and the video frames in the paths are independently stored in the same video file, and the video frames shot at the same time in the paths of the shooting frames correspond to each other in the video file; the video file obtained by shooting comprises at least two paths of video frames with different shooting focus sections, so that the obtained video file has higher quality and richer content, and the shooting experience of a user can be improved;
in the process of playing the video file, the currently played video frame can be switched to one path of video frame corresponding to the image zooming instruction in the video file to be played according to the obtained image zooming instruction, that is, in the process of playing the video file, the video frame can be switched between the paths of video frames at any time, so that the video frames shot by different shooting focal segments are presented to a user, the flexibility of playing the video file can be improved, the user can watch the video frames of a plurality of shooting focal segments, and the satisfaction degree of the watching experience of the user can be improved.
Additional features and corresponding advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
Fig. 1 is a first schematic structural diagram of a video shooting terminal according to a first embodiment of the present invention;
fig. 2 is a schematic structural diagram of a video shooting terminal according to a first embodiment of the present invention;
fig. 3 is a schematic structural diagram of a video shooting terminal according to the first embodiment of the present invention;
fig. 4 is a schematic structural diagram of a video capturing terminal according to the first embodiment of the present invention;
fig. 5 is a first flowchart illustrating a video shooting method according to a first embodiment of the present invention;
fig. 6 is a schematic flow chart of a video shooting method according to a first embodiment of the present invention;
fig. 7-1 is a schematic image diagram of a first path of video frames according to an embodiment of the present invention;
FIG. 7-2 is a diagram illustrating a second path of video frames according to an embodiment of the present invention;
fig. 7-3 is a schematic image diagram of a third video frame according to an embodiment of the present invention;
fig. 8 is a schematic flow chart of a video playing method according to a second embodiment of the present invention;
fig. 9-1 is a schematic view illustrating video playing according to a second embodiment of the present invention;
fig. 9-2 is a schematic view illustrating video playing according to a second embodiment of the present invention;
fig. 9-3 are schematic diagrams of video playing provided by the second embodiment of the present invention;
fig. 9-4 are schematic diagrams illustrating video playing according to a second embodiment of the present invention;
fig. 9-5 are schematic diagrams illustrating video playing according to a second embodiment of the present invention;
fig. 10-1 is a schematic view showing video playing according to a second embodiment of the present invention;
fig. 10-2 is a schematic view illustrating video playing according to a second embodiment of the present invention;
fig. 10-3 is a schematic view eight illustrating video playing according to the second embodiment of the present invention;
FIG. 11-1 is a first schematic diagram of a gesture provided in accordance with a second embodiment of the present invention;
FIG. 11-2 is a second gesture diagram provided in the second embodiment of the present invention;
FIG. 11-3 is a third schematic diagram of a gesture provided in the second embodiment of the invention;
fig. 12 is a schematic flowchart of a video playing method according to a second embodiment of the present invention;
fig. 13 is a schematic structural diagram of a video shooting terminal according to a third embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention are described in detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The first embodiment is as follows:
in the related art, when a video shooting terminal is used for shooting a video, a camera on the video shooting terminal is used for shooting with a single shooting focal length, and the shooting focal length of each video frame in a shot video file is single. Therefore, in the process of playing the video file, only the video with the same shooting focal length can be watched, the switching of different optical focal lengths of the picture can not be realized, the improvement of the quality of the shot video is not facilitated, and the problems of video shooting and watching experience of a user are also seriously influenced. The embodiment provides a video shooting terminal and a video shooting method, wherein at least two cameras with the same shooting direction and different shooting focus sections are arranged on a terminal main body of the video shooting terminal, the at least two cameras can be controlled to simultaneously and respectively carry out video shooting to obtain at least two paths of video frames with different shooting focus sections during video shooting, each path of video frame is independently stored in the same video file, and the video frames shot at the same time in each path of shooting frame correspond to each other in the video file; the video file obtained by shooting comprises at least two paths of video frames with different shooting focus sections, the obtained video file has higher quality and richer content, and the shooting experience of a user can be improved. In the process of playing the video file, the currently played video frame can be switched to one path of video frame corresponding to the image zooming instruction in the video file to be played according to requirements, and the video frame can be switched to be played among the paths of video frames so as to watch the videos shot by different shooting focal sections, so that the playing flexibility of the video file can be improved, and the satisfaction degree of the watching experience of a user can be improved.
The shooting focal length in this embodiment refers to a range of shooting focal lengths supported by the camera. It should be understood that the camera in this embodiment may adopt a fixed focus camera, that is, the focal length is fixed and not adjustable, or may adopt a zoom camera, that is, the focal length may be adjusted at a fixed focus Duan Na as required. The method can be flexibly adopted according to the requirements. The shooting focal length of the camera is different, the corresponding shooting visual angle range is also different, the shooting focal length Duan Yuexiao is larger, and the corresponding shooting visual angle range is larger; conversely, the smaller the corresponding field of view angle range is for the shot focus Duan Yueda.
In this embodiment, the shooting focal sections between the at least two cameras are different, and there may be no intersection or an intersection between the shooting focal sections between the cameras; when there is intersection, it is only necessary to satisfy that the shooting of each camera is different in the specific shooting focal length that is adopted in the video shooting process.
For ease of understanding, the present embodiment will hereinafter exemplify a video capture terminal and a video capture method of the video capture terminal, respectively.
The video capturing terminal provided in this embodiment may be a mobile terminal, such as a smartphone, an IPAD, a recorder, a camera, and the like, which has a video capturing terminal, or a non-mobile terminal, such as a computer, a monitor, and various terminals having a video capturing function. The video shooting terminal in the embodiment comprises a terminal main body, wherein a shooting controller is arranged in the terminal main body, and at least two cameras which have the same shooting direction and different shooting focal sections are arranged on the terminal main body; that is, the shooting directions of the at least two cameras are all towards one direction. It should be understood that the at least two cameras in this embodiment may be disposed on the same plane of the terminal body, or may be disposed on different planes according to requirements, as long as the same shooting direction is satisfied. Of course, in some examples of this embodiment, at least the camera may be set as a camera whose shooting direction can be flexibly adjusted, for example, the shooting direction of the camera can be flexibly adjusted by a rotating structure; in this case, the shooting direction of each camera can be made the same by rotation control during shooting.
It should be understood that in some examples, the video capture terminal may be provided with at least two sets of cameras, each set of cameras including at least two cameras having different capture focal lengths and the same capture directions as shown above. For example, when the video shooting terminal is a mobile phone, a group of cameras can be arranged on the front side of the mobile phone, and a group of cameras can be arranged on the back side of the mobile phone, and each group of cameras can adopt the scheme provided by the embodiment to shoot videos.
In this embodiment, when a multi-focal-length video shooting condition is triggered, that is, when a multi-focal-length video shooting condition needs to be adopted for video shooting (that is, a plurality of cameras with different focal lengths are used for shooting), the shooting controller controls at least two cameras with different focal lengths to simultaneously and respectively perform video shooting, so as to obtain at least two paths of video frames, and independently store the obtained paths of video frames in the same video file, where the video frames shot at the same time in the paths of video frames correspond to each other. It should be understood that the photographing controller in the present embodiment may be implemented by at least one of hardware such as, but not limited to, a processor, an image processor, etc., and may also be implemented by software or a combination of software and hardware.
In this embodiment, the independent storage of each path of video frame corresponding to different shooting focus segments in the video file means that each path of video frame exists independently in the video file, and the video frames of each path are not fused. In the video file, the video frames shot at the same time in all the paths of camera frames are set to be corresponding, so that the subsequent video file can be conveniently and flexibly synchronously switched among all the paths of video frames in the playing process. Of course, in some examples, video frames captured at the same time in the respective image capturing frames may also be set so as not to correspond.
In this embodiment, when the shooting controller triggers the multi-focus video shooting condition, the shooting controller controls at least two cameras with different shooting focus segments to simultaneously and respectively carry out video shooting, that is, controls the at least two cameras to carry out synchronous shooting, thereby ensuring that the at least two cameras shoot the same shooting object at the same moment and improving the shooting quality. Of course, it should be understood that in some application scenarios, at least a part of the at least two cameras may be set according to the requirement to perform asynchronous shooting, so as to improve flexibility and interestingness of shooting control. For example, in one example, the cameras may be controlled to shoot in sequence.
It should be understood that, in this embodiment, the shooting directions set on the terminal body are the same, and the number of cameras with different shooting focal lengths can be flexibly set, for example, can be set to be two, three, four or more. When setting up threely or three more, in the shooting process, can control wherein two at least cameras and open and shoot respectively simultaneously, also can control all cameras and open and shoot respectively simultaneously, specifically can set for in a flexible way according to the demand.
For example, in one example, a second camera having a second shooting focus segment is provided on the terminal body, the second camera can be used as a main camera of the terminal body, and at least one of the following cameras is further provided on the terminal body, and the shooting direction of the second camera is the same as that of the first camera:
a first camera having a first camera focal length;
a third camera having a third camera focal length;
a fourth camera having a fourth camera focal length;
the specific values of the first shooting focus Duan Xiaoyu, the second shooting focus Duan Xiaoyu, the third shooting focus Duan Xiaoyu and the fourth shooting focus can be flexibly set according to application requirements. For example, in an application scenario, the first shooting focus segment may be 0.5X to 1X, the second shooting focus segment may be greater than 1X and less than or equal to 3X, the third shooting focus segment may be greater than 3X and less than or equal to 5X, and the fourth shooting focus segment may be greater than 5X (e.g., greater than 5X and less than 10X).
The specific combination mode of the first camera to the fourth camera can be flexibly set according to requirements, and it should be understood that the cameras in the embodiment are not limited to the first camera to the fourth camera in the above example, and more cameras can be set according to requirements. For ease of understanding, several combinations are exemplified below by taking the above first to fourth cameras as examples.
The first combination mode is as follows: the terminal body is provided with a second camera with a second shooting focal length and one of the first camera, the third camera and the fourth camera. And when the shooting controller triggers the multi-focus video shooting condition, the shooting controller controls the second camera and one of the first camera, the third camera and the fourth camera to simultaneously and respectively carry out video shooting. For example, as shown in fig. 1, the video shooting terminal 1 is provided with a second camera 12 and a first camera 11, which have the same shooting direction and different shooting focal lengths.
The second combination mode is as follows: the terminal main body is provided with a first camera, a second camera and a third camera, and the shooting controller controls at least two of the first camera, the second camera and the third camera to simultaneously and respectively carry out video shooting when a multi-focal-length video shooting condition is triggered; for example, as shown in fig. 2, the video shooting terminal 1 is provided with a second camera 12, and further provided with a first camera 11 and a third camera 13, and the shooting directions of the first camera 11, the second camera 12, and the third camera 13 are the same, and have different shooting focal lengths. When the shooting controller triggers the multi-focus video shooting condition, the shooting controller can control the first camera 11, the second camera 12 and the third camera 13 to respectively shoot videos at the same time.
The third combination mode is as follows: the terminal main body is provided with a second camera, a third camera and a fourth camera, and the shooting controller controls at least two of the second camera, the third camera and the fourth camera to simultaneously and respectively carry out video shooting when a multi-focal-length video shooting condition is triggered; for example, as shown in fig. 3, the video shooting terminal 1 is provided with a second camera 12, and further provided with a first camera 11 and a fourth camera 14, where the shooting directions of the first camera 11, the second camera 12, and the fourth camera 14 are the same, and the first camera 11, the second camera 12, and the fourth camera 14 have different shooting focal lengths. When the multi-focus video shooting condition is triggered, the shooting controller can control the first camera 11, the second camera 12 and the fourth camera 14 to respectively shoot videos at the same time.
The fourth combination mode is as follows: the terminal main body is provided with a first camera, a second camera, a third camera and a fourth camera, and the shooting controller controls at least two of the first camera, the second camera, the third camera and the fourth camera to simultaneously and respectively shoot videos when a multi-focal-length video shooting condition is triggered; for example, as shown in fig. 4, the video shooting terminal 1 is provided with a second camera 12, and further provided with a first camera 11, a third camera 13, and a fourth camera 14, where the shooting directions of the first camera 11, the second camera 12, the third camera 13, and the fourth camera 14 are the same, and the first camera 11, the second camera 12, the third camera 13, and the fourth camera 14 have different shooting focal lengths. When the multi-focus video shooting condition is triggered, the shooting controller can control the first camera 11, the second camera 12, the third camera 13 and the fourth camera 14 to respectively shoot videos at the same time.
Of course, a fifth combination mode can be set according to requirements: the terminal body is provided with a first camera, a third camera and a fourth camera, and the shooting controller controls at least two of the first camera, the third camera and the fourth camera to simultaneously and respectively carry out video shooting when a multi-focal-length video shooting condition is triggered.
For ease of understanding, the present embodiment will now be described by way of example of a video capture method of the video capture terminal shown above, and with reference to fig. 5, the method includes:
s501: and when the triggering of the multi-focus video shooting condition is detected, controlling at least two cameras to simultaneously carry out video shooting to obtain at least two paths of video frames.
It should be understood that the multi-focus video photographing conditions in the present embodiment can be flexibly set. For example, the multi-focus video capture conditions in one scene may include, but are not limited to, at least one of:
detecting entry into a video shooting mode (this case sets up video shooting with different plural shooting focal lengths by default as soon as the video shooting mode is entered);
receiving a multi-shooting focal length shooting instruction, wherein the multi-shooting focal length shooting instruction can be issued by a user or can be automatically generated according to other preset conditions; when the user issues the command, the user can adopt a single camera to shoot in the shooting process, and can also issue a shooting command of multiple shooting focal sections to switch to adopt cameras of multiple different shooting focal sections to shoot when needed;
detecting that the current shooting scene accords with a preset target shooting scene; for example, the target shooting scene may include, but is not limited to, at least one of detecting that a currently shot object is far away from the user (i.e., long shot), that the current shooting environment is low in brightness, that the current shooting time is a preset target time period, and that the currently shot object is a preset object.
S502: and independently storing each path of video frame in the same video file, wherein the video frames shot at the same moment in each path of camera frame correspond to each other in the video file.
For ease of understanding, a specific shooting scene is described below as an example, and is shown in fig. 6, including but not limited to:
s601: and receiving a camera opening instruction and entering a video shooting interface.
S602: and receiving a multi-shooting focal length shooting instruction, switching to a multi-shooting mode, and starting at least two cameras with the same shooting direction and different shooting focal lengths under the multi-shooting mode. For example, in this example, the camera includes the first camera, the second camera, and the third camera of the above example.
S603: detecting whether a shooting starting instruction is received, if so, turning to S604; otherwise, continuing the detection.
S604: and controlling the plurality of cameras to shoot respectively and simultaneously. Referring to fig. 7-1 to 7-3, for the same shooting picture, the shooting focus Duan Zuixiao of the first camera has the largest shooting angle, and the range of the shot image is shown in fig. 7-1; the shooting focal length of the second camera is larger than that of the first camera, the shooting visual angle is relatively smaller, and the range of the shot image is shown in the figure 7-2; the shooting focal length of the third camera is larger than that of the second camera, the shooting visual angle is relatively minimum, and the range of the shot image is shown in fig. 7-3. In the video shooting process, the view interface can display a set path of video frames, and can also display at least two paths or all paths of video frames through a plurality of display windows. The device can be flexibly set according to requirements.
S605: and packaging and storing multiple paths of video frames shot by a plurality of cameras into one video file.
S606: and (4) ending the shooting or detecting the exit of the multi-shot simultaneous shooting mode, and ending the multi-shot simultaneous shooting mode (directly exiting the camera when the shooting is ended).
It can be seen that the video shooting terminal provided by this embodiment has a new video shooting method, and at least two cameras having the same shooting direction and different shooting focus segments on the terminal main body can be utilized to simultaneously and respectively perform video shooting to obtain at least two video frames having different shooting focus segments, and each video frame is independently stored in the same video file, so that the shot video file includes the video frames of at least two different shooting focus segments, the obtained video file has higher quality and richer content, and the shooting experience of a user can be improved; and the video file provides a file basis for switching to each path of video frame corresponding to different shooting focal lengths for watching in the subsequent playing process.
Example two:
the embodiment provides a video playing method, where a video file played by the video playing method includes at least two paths of video frames shot by at least two cameras with different shooting focal lengths, and video frames shot at the same time in each path of the video frames correspond to each other in the video file. It should be understood that the video file in the present embodiment can be captured by, but is not limited to, the video capture terminal in the above-described embodiment. Or from the network side or other terminals. In addition, it should be understood that in some application scenarios, at least one of the at least two video frames included in the video file is not limited to being obtained by shooting, and may be generated by other means.
The video playing method provided by this embodiment is shown in fig. 8, which includes but is not limited to:
s801: during playing of the video file, a picture zooming instruction is detected.
It should be understood that, before S801, a process of selecting a video file and opening the video file for playing is further included, and various manners can be adopted for the video selection manner and the video opening manner, which are not described herein again.
S802: and switching to a path of video frames corresponding to the image zooming instruction in the video file for playing according to the image zooming instruction.
It should be understood that, in the present embodiment, in general, the shot focus segment of the one path of video frame played after switching and the shot focus Duan Butong of the one path of video frame played before switching. Of course, according to the requirement, in some cases, the shot focus segment of the one path of video frame played after switching can be the same as the shot focus Duan Yeke of the one path of video frame played before switching.
In this embodiment, when the video file is initially opened for playing, which video file in the video file to play specifically can be flexibly set. For example, the setting mode can adopt any one of, but is not limited to, the following three modes:
the method I comprises the following steps: a path of video frame is preset as an initial playing video frame, and when a video file is initially opened, the preset initial video frame can be played by default for playing. For example, in an application scenario, a video file includes video frames captured by a second camera (i.e., the main camera shown in the above example) having a second capture focal length, the path of video frames captured by the second camera (hereinafter referred to as the second path of video frames) may be preset as an initial play video frame, and when a play instruction for playing the video file is received, the second path of video frames in the video file is initially played by default.
The second method comprises the following steps: and receiving a playing instruction for playing the video file, and respectively previewing and displaying each path of video frame in the video file through a preview window. That is, after receiving a playing instruction for playing a video file, before playing the video file, a preview window may be generated on the playing interface, and then each path of video frames is previewed and displayed in the preview window, so that a user can select which path of video frames to play; and then, playing the path of video frame selected according to the initial video selection instruction as an initial playing video frame.
In an application scenario, the number of generated preview windows may be the same as the number of paths of video frames included in a video file, each path of video frame may be displayed and previewed in a corresponding preview window, at least one video frame located at a head, middle or tail position in each path of video frame may be displayed for previewing, and the positions of the video frames displayed by each path of video frame may be the same or different. For example, in an application example, it is assumed that the video files include a first path of video files shot by using a first shooting focal segment, a second path of video files shot by using a second shooting focal segment, and a third path of video files shot by using a third shooting focal segment, and videos at the same position in the three paths of video files are respectively shown in fig. 7-1 to fig. 7-3. Referring to fig. 9-1, when the video file is initially played, a first preview window 25, a second preview window 26 and a third preview window 27 may be generated to display the first path of video file, the second path of video file and the third path of video file, respectively, for the user to select, and the path of video file in the preview window selected by the user is played as the initial video playing file. In the example shown in fig. 9-1, when the user selects the second path of video file displayed in the second preview window 26, the second path of video file is played as the initial video playing file.
In some examples, when the initial video selection instruction is not received within a preset time period, the second path of video file displayed in the second preview window 26 is set by default to be played as the initial video playing file, or the path of video file in any one of the other preview windows is set by default to be played as the initial video playing file according to requirements.
In another application scenario, the number of the generated preview windows may be smaller than the number of the video frames included in the video file, and each path of the video frames may be sequentially displayed and previewed in the corresponding preview window. For example, a preview window may be generated, each path of video frames may be displayed in the preview window for the user to select, and the next path of video frames may be paused for a certain time or played for a certain time before being polled to display the next path of video frames.
The third method comprises the following steps: and after receiving a playing instruction for playing the video file, generating at least two playing windows, and respectively playing the at least two paths of video frames in the video file in the at least two playing windows.
For example, in one example, the number of playing windows generated after receiving a playing instruction for playing a video file is the same as the number of video frames included in the video file. Therefore, each path of video frame can be directly and respectively played in the corresponding playing window, and the video frames can be synchronously played or asynchronously played during playing. The switching of the played video frames can be performed in at least one play window at this time.
In another example, two playing windows can be generated after a playing instruction for playing a video file is received, and each path of video frame in the video file is played through the two windows; when the video files comprise two paths of video files, the two paths of video files are respectively played in two playing windows; when the video files comprise more than two paths of video files, the two paths of video files are respectively played in two playing windows, and the rest at least one path of video files are used as the video files to be switched or are polled and played in the corresponding playing windows by adopting a set sequential playing rule. During the playing process, the switching of the played video frames can be performed in at least one of the playing windows.
It should be understood that the playing window in the present embodiment may be generated on one display screen. For example, as shown in fig. 9-2, a first playing window 21 and a second playing window 22 are generated on a display screen, a first path of video frames is played in the first playing window 21, a second path of video frames is played in the second playing window 22, and a third path of video frames is used as video frames to be switched, but at this time, the first path of video frames and the second path of video frames may also be used as video frames to be switched. For example, referring to fig. 9-3, as compared to fig. 9-2, the first playing window 21 is switched from the originally played first path of video frames to the played second path of video frames, and the second playing window is switched from the originally played second path of video frames to the played third path of video frames. Of course, it is also possible to set the video frame played in one of the playing windows to be unchanged, and only the video frame played in the other playing window can be switched.
It should be understood that the playing window in this embodiment may also be generated on a different display screen on the terminal. For example, as shown in fig. 9-4, a third playing window 23 is generated on one display screen, a fourth playing window 24 is generated on the other display screen, a first path of video frames is played in the third playing window 23, a second path of video frames is played in the fourth playing window 24, and the third path of video frames is used as video frames to be switched, but at this time, the first path of video frames and the second path of video frames may also be used as video frames to be switched. For example, referring to fig. 9-5, in contrast to fig. 9-4, the fourth playing window 24 switches from playing the second path of video frames to playing the third path of video frames.
In some examples of the present embodiment, during video playing, it may be set that only one-way switching is possible when video frame switching is performed, for example, it may be set that only direction switching is possible for the shooting focus Duan Xiaode to be shot by the shooting focus Duan Dachao, or only direction switching is possible for the shooting focus Duan Dade to be shot by the shooting focus Duan Xiaochao. Of course, in other examples, the direction switching may be set to be bidirectional, that is, the direction switching may be performed by the shooting focus Duan Dachao, the shooting focus Duan Xiaode, or the direction switching may be performed by the shooting focus Duan Xiaochao, the shooting focus Duan Dade. The method can be flexibly set according to application requirements. That is, in the present embodiment, the above-mentioned screen zoom instruction may include, but is not limited to, at least one of a focal length increase instruction and a focal length decrease instruction.
The focal length increasing instruction can be generated when the trigger of the focal length increasing condition is detected, and the direction switching of the shooting focus Duan Dade is instructed by the shooting focus Duan Xiaochao. It should be understood that the focal length increasing condition in the present embodiment can be flexibly set, and for example, may include but is not limited to at least one of the following:
detecting that the playing progress bar is pulled towards a first direction, wherein the first direction can be flexibly set, such as left or right;
detecting that a sliding gesture sliding towards a second direction exists on the screen; the second direction can be flexibly set, such as one or two of up, down, left and right; the detection mode can be detected by but not limited to pressure sensor detection, touch sensor detection or image sensor detection;
detecting a first control gesture that changes from a contracted state to an expanded state; the detection mode can be detected by but not limited to pressure sensor detection, touch sensor detection or image sensor detection; for example, the first control gesture for changing from the contracted state to the expanded state may include, but is not limited to, the gestures shown in fig. 11-1 and 11-2, and the specific gesture may be flexibly set, and after the gesture is detected, the currently played video frame is switched to the third video frame shown in fig. 10-2, assuming that the currently played video frame is the second video frame shown in fig. 9-1. The first control gesture can also be defined by a sliding change situation of two fingers or more than three fingers, for example, if two fingers are changed from contraction to expansion, the first control gesture is determined to be changed from a contraction state to an expansion state; similarly for more than three fingers;
detecting that a certain preview window is selected, wherein the shooting focal length of the path of video frame displayed in the preview window is larger than that of the path of video frame currently played; in this example, a preview window may also be displayed while playing, at least one of the video frames or other videos except the currently played video frame is displayed in the preview window, and a user may select the corresponding preview window to trigger switching. For example, referring to fig. 10-3, while playing the second path of video frames, at least the first path of video frames and the third path of video frames are displayed for preview through the first preview window 25 and the third preview window 27, and the second path of video may not be displayed through the second preview window 26, or may be displayed through the second preview window 26. At this time, the user can select the third preview window, so that the played video frames are switched from the second path of video frames to the third path of video frames for playing;
detecting that the screen is clicked for N times continuously, wherein N is an odd number greater than 1, and for example, N can be set to 3, 5, 7 and the like; the specific detection means are not described herein again;
the method comprises the steps of detecting a first preset graph which slides out of a screen, wherein the first graph can be flexibly set, for example, the first preset graph can be set to be a closed graph, also can be set to be a non-closed graph, can be set to be a regular graph, and also can be set to be a non-regular graph.
The focus reduction instruction may be generated when the focus reduction condition trigger is detected, and the shooting focus Duan Dachao is switched to the shooting focus Duan Xiaode. It should be understood that the focal length reduction condition in the present embodiment can be flexibly set, and may include, but is not limited to, at least one of the following, for example:
detecting that the playing progress bar is pulled towards a third direction, wherein the third direction is different from the first direction and can be flexibly set, and the description is omitted;
detecting that a sliding gesture sliding towards a fourth direction exists on the screen, wherein the fourth direction is different from the second direction, and the fourth direction can be flexibly set specifically and is not described again;
detecting a second control gesture changing from an expanded state to a contracted state, wherein the detection mode can be detected by but not limited to pressure sensor detection, touch sensor detection or image sensor detection; for example, the second control gesture for changing from the expanded state to the contracted state may include, but is not limited to, the gesture shown in fig. 11-3, and the specific gesture may be flexibly set, and after the gesture is detected, assuming that the currently played video frame is the second path of video frame shown in fig. 9-1, the currently played video frame is switched to the first path of video frame shown in fig. 10-1 at this time; the second control gesture can also be defined by a sliding change situation of two fingers or more than three fingers, for example, if two fingers are switched from a contraction state to an expansion state, the second control gesture is determined to be the second control gesture changed from the expansion state to the contraction state; similarly for more than three fingers;
detecting that a certain preview window is selected, wherein the shooting focal length of the path of video frame displayed in the preview window is smaller than that of the path of video frame currently played; for example, as shown in fig. 10-3, while playing the second path of video frames, at least the first path of video frames and the third path of video frames are displayed and previewed through the first preview window 25 and the third preview window 27, at this time, the user may select the first preview window 25, so as to switch the played video frames from the second path of video frames to the first path of video frames for playing;
detecting that the screen is clicked for M times continuously, wherein M is an even number more than or equal to 2; for example, M may be set to 2, 4, 6, etc.; the specific detection means are not described herein again;
and detecting a second graph preset by sliding out of the screen, wherein the second graph can be flexibly set, for example, the second graph can be set as a closed graph, also can be set as a non-closed graph, can be set as a regular graph, also can be set as a non-regular graph, and can be different from the first graph.
It should be understood that the conditions shown in the above examples in this embodiment may optionally also support user-defined settings and/or updates.
In this embodiment, when switching to one path of video frames in the video file corresponding to the image zooming instruction for playing, the playing mode may include any one of the following:
switching to a path of video frames corresponding to the image zooming instruction in the video file, and starting playing from a first frame in the path of video frames, wherein the path of video frames after switching can be played from the beginning at the moment;
switching to a path of video frames corresponding to the image zooming instruction in the video file, and starting playing from a video frame corresponding to the current playing time in the path of video frames, wherein the video frame at the current playing time of the path of video frames can start playing;
switching to a path of video frames corresponding to the image zooming instruction in the video file, and starting to play from the first K frames of the video frames corresponding to the current playing time in the path of video frames, wherein K is greater than or equal to 1 and less than L, and L is the number of the video frames between the first frame in the path of video frames and the video frame corresponding to the current playing time, namely, the video frames can be played from the first K frames of the video frames corresponding to the current playing time at the moment, so that the video frames are more beneficial to the continuous watching of a user, and the watching satisfaction degree is improved. The value of K can be flexibly set, for example, it can be set to 1, 2, or 3, and optionally, it can also support user-defined setting.
For ease of understanding, the following is illustrated in connection with a playback control process for a video file, as shown in FIG. 12, which includes but is not limited to:
s1201: and receiving a video opening instruction to open the video file.
S1202: and acquiring an initial playing video frame in the playing video file.
S1203: and playing the obtained initial playing video frame.
S1204: detecting whether a picture zooming instruction is received, if so, turning to S1205; otherwise, the detection is continued.
S1205: and switching to a path of video frames corresponding to the image zooming instruction in the video file for playing.
S1206: if the playback is finished, if yes, go to S1207; otherwise, go to S1204.
S1207: and exiting the video watching.
Therefore, in the video playing method provided by this embodiment, in the process of playing a video file, a currently played video frame can be switched to one video frame corresponding to an obtained picture zooming instruction in the video file to be played, that is, in the playing process of the video file, switching can be performed between the video frames at any time, so as to present video frames shot by different shooting focal segments in front of a user, which not only can improve the flexibility of playing the video file, but also enables the user to watch the video frames of multiple shooting focal segments, thereby improving the satisfaction degree of the user in watching experience.
Example three:
the present embodiment further provides a video shooting terminal, referring to fig. 13, the video shooting terminal includes a processor 1301, a memory 1302, and a communication bus 1303, where:
the communication bus 1303 is used for realizing connection communication between the processor 1301 and the memory 1302;
the processor 1301 is configured to execute one or more first computer programs stored in the memory 1302 to implement at least one step of the above-described video capture method;
and/or the presence of a gas in the gas,
the processor 1301 is configured to execute one or more second computer programs stored in the memory 1302 to implement at least one step of the video playback method described above.
The present embodiments also provide a computer-readable storage medium including volatile or non-volatile, removable or non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, computer program modules or other data. Computer-readable storage media include, but are not limited to, RAM (Random Access Memory), ROM (Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), flash Memory or other Memory technology, CD-ROM (Compact disk Read-Only Memory), digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer.
The computer-readable storage medium in the present embodiment may be used to store one or more first computer programs, and the stored one or more first computer programs may be executed by a processor to implement at least one step of the video shooting method exemplified by the above-described embodiments;
and/or after the completion of the treatment,
the computer readable storage medium in this embodiment may be used to store one or more second computer programs, and the stored one or more second computer programs may be executed by a processor to implement at least one step of the video playing method exemplified by the above embodiments.
The present embodiment further provides a first computer program (or first computer software), which can be distributed on a computer readable medium and executed by a computing device to implement at least one step of the video shooting method in the foregoing embodiments; and in some cases, at least one step of the video capturing method other than the examples of the embodiments described above may be adopted.
The present embodiment further provides a second computer program (or called second computer software), which can be distributed on a computer readable medium and executed by a computing apparatus, so as to implement at least one step of the video playing method in the foregoing embodiments; and in some cases, at least one step of the video playing method other than the above-described various example embodiments may be adopted.
It should be understood that in some cases, at least one of the steps shown or described may be performed in a different order than described in the embodiments above.
The present embodiment also provides a computer program product comprising a computer readable means on which the first computer program and/or the second computer program as shown above is/are stored. The computer readable means in this embodiment may include a computer readable storage medium as shown above.
It will be apparent to those skilled in the art that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software (which may be implemented in computer program code executable by a computing device), firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit.
In addition, communication media typically embodies computer readable instructions, data structures, computer program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to one of ordinary skill in the art. Thus, the present invention is not limited to any specific combination of hardware and software.
The foregoing is a more detailed description of embodiments of the present invention, and the present invention is not to be considered limited to such descriptions. For those skilled in the art to which the invention pertains, several simple deductions or substitutions can be made without departing from the spirit of the invention, and all shall be considered as belonging to the protection scope of the invention.

Claims (11)

1. A video shooting terminal is characterized by comprising a terminal main body, wherein a shooting controller is arranged in the terminal main body, and at least two cameras which have the same shooting direction and different shooting focal sections are arranged on the terminal main body;
the shooting controller controls the at least two cameras to simultaneously and respectively carry out video shooting to obtain at least two paths of video frames when a multi-focus video shooting condition is triggered, and independently stores the video frames in each path in the same video file, wherein the video frames shot at the same time in the video frames in each path correspond to each other.
2. The video shooting terminal of claim 1, wherein a second camera having a second shooting focal length is provided on the terminal body, and at least one of the following cameras is further provided in the same shooting direction as the second camera:
a first camera having a first camera focal length;
a third camera having a third camera focal length;
a fourth camera having a fourth camera focal length;
the first shot focus Duan Xiaoyu, the second shot focus Duan Xiaoyu, the third shot focus Duan Xiaoyu, and the fourth shot focus stage.
3. The video shooting terminal of claim 2, wherein the terminal body is provided with the first camera, the second camera and the third camera, and the shooting controller controls at least two of the first camera, the second camera and the third camera to respectively perform video shooting simultaneously when the multi-focus video shooting condition is triggered;
or the like, or, alternatively,
the terminal main body is provided with the second camera, the third camera and the fourth camera, and the shooting controller controls at least two of the second camera, the third camera and the fourth camera to simultaneously and respectively shoot videos when the multi-focal-length video shooting condition is triggered;
or the like, or, alternatively,
the terminal comprises a terminal body and is characterized in that the terminal body is provided with a first camera, a second camera, a third camera and a fourth camera, and a shooting controller controls at least two of the first camera, the second camera, the third camera and the fourth camera to respectively carry out video shooting simultaneously when a multi-focal-length video shooting condition is triggered.
4. A video photographing method of the video photographing terminal according to any one of claims 1 to 3, comprising:
when the multi-focus video shooting condition is detected to be triggered, controlling the at least two cameras to simultaneously carry out video shooting to obtain at least two paths of video frames;
and independently storing the video frames of each path in the same video file, wherein the video frames shot at the same moment in the video files correspond to each other.
5. A video playback method, comprising:
detecting a picture zooming instruction in the process of playing a video file, wherein the video file comprises at least two paths of video frames shot by at least two cameras with different shooting focal sections, and the video frames shot at the same moment in the video file correspond to each other in each path of the video frames;
and switching to a path of video frames corresponding to the image zooming instruction in the video file for playing according to the image zooming instruction.
6. The video playback method of claim 5, wherein the video file includes therein a video frame shot by a second camera having a second shot focal length; before the detecting of the picture zooming instruction, the method further comprises:
receiving a playing instruction for playing the video file, and playing a path of video frames shot by the second camera in the video file as an initial playing video frame;
or the like, or, alternatively,
receiving a playing instruction for playing the video file, and respectively previewing and displaying each path of video frame in the video file through a preview window;
playing a path of video frames selected according to the initial video selection instruction as initial playing video frames;
or the like, or a combination thereof,
and generating at least two playing windows after receiving a playing instruction for playing the video file, and playing at least two paths of video frames in the video file in the at least two playing windows respectively.
7. The video playback method of claim 5 or 6, wherein the picture zoom instruction comprises at least one of:
detecting a focal length increasing instruction generated when a focal length increasing condition is triggered;
and detecting a focus reducing instruction generated when the focus reducing condition is triggered.
8. The video playback method of claim 7, wherein the focus increase condition comprises at least one of:
detecting that the playing progress bar is pulled towards a first direction;
detecting that a sliding gesture sliding towards a second direction exists on the screen;
detecting a first control gesture that changes from a contracted state to an expanded state;
detecting that a certain preview window is selected, wherein the shooting focal length of the path of video frame displayed in the preview window is larger than that of the path of video frame currently played;
detecting that a screen is clicked for N times continuously, wherein N is an odd number larger than 1;
detecting that a preset first graph slides out of a screen;
the focal length reduction condition includes at least one of:
detecting that the playing progress bar is pulled towards a third direction;
detecting that a sliding gesture sliding towards a fourth direction exists on the screen;
detecting a second control gesture that changes from an expanded state to a contracted state;
detecting that a certain preview window is selected, wherein the shooting focal length of the path of video frame displayed in the preview window is smaller than that of the path of video frame currently played;
detecting that a screen is clicked for M times continuously, wherein M is an even number which is more than or equal to 2;
and detecting that the screen slides out of a preset second graph.
9. The video playing method according to claim 5 or 6, wherein the switching to play the video file in the path of video frames corresponding to the frame zooming instruction includes any one of:
switching to a path of video frames corresponding to the image zooming instruction in the video file, and starting to play from a first frame in the path of video frames;
switching to a path of video frames corresponding to the image zooming instruction in the video file, and starting playing from a video frame corresponding to the current playing time in the path of video frames;
and switching to a path of video frames corresponding to the image zooming instruction in the video file, and starting to play from the first K frames of the video frames corresponding to the current playing time in the path of video frames, wherein K is greater than or equal to 1 and less than L, and L is the video frame number between the first frame in the path of video frames and the video frame corresponding to the current playing time.
10. A video shooting terminal comprising a memory, a processor, and a communication bus connecting the memory and a shooting controller;
the memory stores one or more first computer programs executable by the processor to perform the steps of the video capture method of claim 4;
and/or the memory stores one or more second computer programs executable by the processor to implement the steps of the video playback method as claimed in any one of claims 5 to 9.
11. A computer-readable storage medium, characterized in that the computer-readable storage medium stores one or more first computer programs executable by one or more processors to implement the steps of the video capturing method of claim 4;
and/or the computer readable storage medium stores one or more second computer programs executable by a processor to implement the steps of the video playback method as claimed in any one of claims 5 to 9.
CN202110394024.XA 2021-04-13 2021-04-13 Video shooting terminal, video shooting and playing method and storage medium Pending CN115209005A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110394024.XA CN115209005A (en) 2021-04-13 2021-04-13 Video shooting terminal, video shooting and playing method and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110394024.XA CN115209005A (en) 2021-04-13 2021-04-13 Video shooting terminal, video shooting and playing method and storage medium

Publications (1)

Publication Number Publication Date
CN115209005A true CN115209005A (en) 2022-10-18

Family

ID=83570858

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110394024.XA Pending CN115209005A (en) 2021-04-13 2021-04-13 Video shooting terminal, video shooting and playing method and storage medium

Country Status (1)

Country Link
CN (1) CN115209005A (en)

Similar Documents

Publication Publication Date Title
US11218646B2 (en) Real time video special effects system and method
CN111654629B (en) Camera switching method and device, electronic equipment and readable storage medium
JP2010122856A (en) Image processing apparatus, image displaying method, and image display program
JP5806623B2 (en) Imaging apparatus, imaging method, and program
US20160342301A1 (en) Display apparatus for displaying images
JP2015029250A (en) Moving image processing apparatus, imaging apparatus and moving image processing method
JP5627383B2 (en) MOVIE REPRODUCTION DEVICE, ITS CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM
CN112532808A (en) Image processing method and device and electronic equipment
CN113256491A (en) Free visual angle data processing method, device, equipment and storage medium
CN112887617A (en) Shooting method and device and electronic equipment
CN113923350A (en) Video shooting method and device, electronic equipment and readable storage medium
KR101645427B1 (en) Operation method of camera apparatus through user interface
US20230308752A1 (en) Video recording method and electronic device
CN115209005A (en) Video shooting terminal, video shooting and playing method and storage medium
JP2021524171A (en) Systems and methods for performing rewind operations using mobile image capture devices
CN114025087A (en) Video shooting method, device, storage medium and program product
CN113973172A (en) Shooting method, shooting device, storage medium and electronic equipment
CN115134505A (en) Preview picture generation method and device, electronic equipment and storage medium
CN115209004A (en) Image file viewing method, intelligent terminal, photographing method of intelligent terminal and storage medium
JP6452519B2 (en) REPRODUCTION CONTROL DEVICE, ITS CONTROL METHOD, PROGRAM, AND STORAGE MEDIUM
CN112019735A (en) Shooting method and device, storage medium and electronic device
JP3565445B2 (en) Video display device
WO2021153205A1 (en) Display control device and control method for same
JP6006567B2 (en) Movie playback apparatus and movie playback method
JP7346063B2 (en) Image processing device and its control method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination