WO2022126386A1 - 视频录制方法、云台设备、移动终端和可读存储介质 - Google Patents

视频录制方法、云台设备、移动终端和可读存储介质 Download PDF

Info

Publication number
WO2022126386A1
WO2022126386A1 PCT/CN2020/136567 CN2020136567W WO2022126386A1 WO 2022126386 A1 WO2022126386 A1 WO 2022126386A1 CN 2020136567 W CN2020136567 W CN 2020136567W WO 2022126386 A1 WO2022126386 A1 WO 2022126386A1
Authority
WO
WIPO (PCT)
Prior art keywords
display
mobile terminal
video
ratio
recording method
Prior art date
Application number
PCT/CN2020/136567
Other languages
English (en)
French (fr)
Inventor
付洁
翁松伟
Original Assignee
深圳市大疆创新科技有限公司
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 深圳市大疆创新科技有限公司 filed Critical 深圳市大疆创新科技有限公司
Priority to PCT/CN2020/136567 priority Critical patent/WO2022126386A1/zh
Publication of WO2022126386A1 publication Critical patent/WO2022126386A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules

Definitions

  • the present application relates to the technical field of video recording, and in particular, to a video recording method, a PTZ device, a mobile terminal, and a readable storage medium.
  • the video output size of the PTZ device 102 ′ does not match the screen size of the mobile terminal 100 ′, or the video cannot be recorded according to the display ratio set by the user, resulting in an image appearing when the video is displayed.
  • the phenomenon of being stretched, cropped or black border 104' affects the user experience.
  • Embodiments of the present application provide a video recording method for a PTZ device, a video recording method for a mobile terminal, a PTZ device, a mobile terminal and a readable storage medium, which can solve the problem of recording using a PTZ device in the related art.
  • the problem that the video cannot be optimally matched with the mobile terminal.
  • an embodiment of the present application provides a video recording method for a PTZ device, including:
  • an embodiment of the present application provides a video recording method for a mobile terminal, including:
  • the recording interface of the PTZ device is displayed according to the display scale corresponding to the reference mark.
  • embodiments of the present application provide a pan-tilt device, including a processor and a memory, where a computer program is stored in the memory, and the processor is configured to implement any one of the foregoing first aspect embodiments when executing the computer program. Steps of the video recording method.
  • embodiments of the present application provide a mobile terminal, including a processor and a memory, where a computer program is stored in the memory, and the processor is configured to implement any one of the foregoing second aspect embodiments when the computer program is executed.
  • the steps of the video recording method are configured to implement any one of the foregoing second aspect embodiments when the computer program is executed.
  • the embodiments of the present application provide a readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of any video recording method in the foregoing first aspect embodiment can be implemented; Or, when the computer program is executed by the processor, the steps of any video recording method in the foregoing second aspect embodiment can be implemented.
  • FIG. 1 shows a schematic diagram of a display interface of a mobile terminal in the prior art
  • FIG. 2 shows a schematic flowchart of a video recording method according to an embodiment of the present application
  • FIG. 3 shows a schematic flowchart of a video recording method according to an embodiment of the present application
  • FIG. 4 shows a schematic structural diagram of a PTZ device and a mobile terminal according to an embodiment of the present application
  • FIG. 5 shows a schematic structural diagram of a PTZ device and a mobile terminal according to an embodiment of the present application
  • FIG. 6 shows a schematic flowchart of a video recording method according to an embodiment of the present application
  • FIG. 7 shows a schematic structural diagram of a reference mark according to an embodiment of the present application.
  • FIG. 8 shows a schematic structural diagram of a reference mark according to an embodiment of the present application.
  • FIG. 9 shows a schematic flowchart of a video recording method according to an embodiment of the present application.
  • FIG. 10 shows a schematic flowchart of a video recording method according to an embodiment of the present application.
  • FIG. 11 shows a schematic flowchart of a video recording method according to an embodiment of the present application.
  • FIG. 12 shows a schematic flowchart of a video recording method according to an embodiment of the present application.
  • FIG. 13 shows a schematic flowchart of a video recording method according to an embodiment of the present application.
  • FIG. 14 shows a schematic flowchart of a video recording method according to an embodiment of the present application.
  • FIG. 15 shows a schematic flowchart of a video recording method according to an embodiment of the present application.
  • FIG. 16 shows a schematic structural diagram of a PTZ device according to an embodiment of the present application.
  • FIG. 17 shows a schematic structural diagram of a mobile terminal according to an embodiment of the present application.
  • FIG. 18 shows a schematic flowchart of a video recording method according to an embodiment of the present application.
  • FIG. 19 shows a schematic structural diagram of a reference mark according to an embodiment of the present application.
  • 100' mobile terminal; 102': PTZ device; 104': black border.
  • 100 mobile terminal; 102: pan-tilt device; 106: reference mark; 108: reference mark one; 110: reference mark two; 112: reference mark three; 200: memory of the pan-tilt device; 202: processor of the pan-tilt device ; 300: a memory of the mobile terminal; 302: a processor of the mobile terminal.
  • a video recording method for a PTZ device proposed in this embodiment includes:
  • Step S102 Determine the mobile terminal that is communicatively connected to the PTZ device
  • Step S104 Determine at least one display scale corresponding to the mobile terminal
  • Step S106 control the PTZ device to record video according to the display ratio.
  • a mobile terminal connected to the pan-tilt device is determined, and one or more display ratios corresponding to the mobile terminal are determined.
  • the display ratio is the aspect ratio of the image displayed on the display screen of the mobile terminal, such as the common 4:3, 16:9, 9:16, 18:9 and so on.
  • the PTZ device is equipped with a camera, and can be used for stable shooting. When shooting, the PTZ device converts the captured video image into a video signal, sends it to the mobile terminal, and displays it on the mobile terminal.
  • the pan-tilt device and the mobile terminal are independent of each other, when the image signal sent by the pan-tilt device is displayed on the mobile terminal, the ratio of the image sent by the pan-tilt device may not match the screen ratio of the mobile terminal, resulting in the image cannot be moved.
  • the terminal displays correctly, but the image is stretched and deformed, or black borders or even the image is cropped. Therefore, in the video recording method in this embodiment, after the PTZ device determines the mobile terminal connected to the communication, it will determine a display ratio corresponding to the mobile terminal, and control the PTZ device to record video according to the display ratio. Since the PTZ device will record video according to the display ratio determined by the mobile terminal after determining the mobile terminal, the generated image signal can conform to the display ratio of the mobile terminal, so that the captured video can be better displayed on the mobile terminal.
  • the user can manually select and determine the display ratio according to the requirements of the shooting effect. Since the PTZ device and the mobile terminal are relatively independent devices and are only connected to each other through communication, the user can determine the display scale on the mobile terminal according to the shooting effect. Display ratio set on the terminal, and control the PTZ device to record video according to the display ratio.
  • the display scale of the mobile terminal may have multiple different display scales, and the pan-tilt device can acquire multiple display scales at the same time after being communicated and connected with the mobile terminal.
  • a video recording method for a PTZ device proposed in this embodiment includes:
  • Step S202 Determine the mobile terminal that is communicatively connected to the PTZ device
  • Step S204 controlling the video recording direction of the PTZ device to be the same as the shooting direction;
  • Step S206 Determine at least one display scale corresponding to the video recording direction
  • Step S208 control the PTZ device to record video according to the display ratio.
  • the mobile terminal connected to the PTZ device is a mobile phone, and one or more display ratios corresponding to the mobile phone are determined.
  • the display ratio is the aspect ratio of the image displayed on the display screen of the mobile phone, such as the common 4:3, 16:9, 9:16, 18:9 and so on.
  • the PTZ device is equipped with a camera, and can be used for stable shooting. When shooting, the PTZ device converts the captured video image into a video signal, sends it to the mobile phone, and displays it on the mobile phone.
  • the image ratio sent by the gimbal device may not match the screen ratio of the mobile phone, resulting in the image cannot be displayed correctly on the mobile phone.
  • the image is stretched and deformed, or black borders or even the image is cropped. Therefore, in the video recording method in this embodiment, after the PTZ device determines the mobile phone connected for communication, it will determine a display ratio corresponding to the mobile phone, and control the PTZ device to record video according to the display ratio. After the PTZ device determines the mobile phone, it will record the video according to the display ratio determined by the mobile phone, so the generated image signal can conform to the display ratio of the mobile phone, so that the captured video can be better displayed on the mobile phone.
  • the user can manually select and determine the display ratio according to the requirements of the shooting effect. Since the PTZ device and the mobile phone are relatively independent devices and only communicate with each other, the user can determine the display ratio on the mobile phone according to the shooting effect. After the PTZ device communicates with the mobile phone, it obtains the settings on the mobile phone. display ratio, and control the PTZ device to record video according to the display ratio.
  • the display scale of the mobile phone can have multiple different display scales, and after the PTZ device is connected to the mobile phone, it can obtain multiple display scales at the same time.
  • the display orientation of the mobile phone can be landscape or portrait. As shown in Figure 4, the mobile phone is displayed in a vertical orientation. As shown in Figure 5, the mobile phone is displayed in a landscape orientation. For different display modes of the mobile phone, before determining the display ratio of the mobile terminal, the shooting direction of the mobile terminal is also determined first.
  • the video recording direction of the PTZ device will be controlled to be the same as the shooting direction, so that the video recording direction of the device can match the mobile terminal, and finally the image displayed on the mobile terminal can be displayed on the mobile terminal.
  • Correct display on the screen increase the display area of the image on the display screen, and avoid large black borders or image stretching.
  • the mobile terminal when the mobile terminal is shooting, it will select a horizontal or vertical composition for shooting according to the shooting scene or target.
  • the traditional pan-tilt device cannot make corresponding adjustments according to the shooting direction of the mobile terminal. For example, if the user needs to shoot vertically, but the pan-tilt device cannot make corresponding adjustments according to the user's shooting needs, so the image sent to the mobile terminal may still be the same.
  • Horizontal, in vertical display only black borders can be added at the upper and lower ends of the image, which cannot meet the user's shooting needs.
  • determine the display ratio of the mobile phone which can effectively avoid the occurrence of black borders and stretched images due to mismatched display ratios.
  • a video recording method for a PTZ device proposed in this embodiment includes:
  • Step S302 Determine the mobile terminal that is communicatively connected to the PTZ device
  • Step S304 Determine at least one display scale corresponding to the mobile terminal
  • Step S306 if the display ratio is one, control the PTZ device to record the video at the display ratio;
  • Step S308 if there are multiple display ratios, determine a display ratio with the largest viewing angle parameter among the multiple display ratios;
  • Step S310 Control the PTZ device to record video at the display ratio with the largest viewing angle parameter.
  • a mobile phone connected to the PTZ device is determined, and one or more display ratios corresponding to the mobile phone are determined.
  • the display ratio is the aspect ratio of the image displayed on the display screen of the mobile phone, such as the common 4:3, 16:9, 9:16, 18:9 and so on.
  • the PTZ device is equipped with a camera, and can be used for stable shooting. When shooting, the PTZ device converts the captured video image into a video signal, sends it to the mobile phone, and displays it on the mobile phone.
  • the image ratio sent by the gimbal device may not match the screen ratio of the mobile phone, resulting in the image cannot be displayed correctly on the mobile phone.
  • the image is stretched and deformed, or black borders or even the image is cropped. Therefore, in the video recording method in this embodiment, after the PTZ device determines the mobile phone connected for communication, it will determine a display ratio corresponding to the mobile phone, and control the PTZ device to record video according to the display ratio. After the PTZ device determines the mobile phone, it will record the video according to the display ratio determined by the mobile phone, so the generated image signal can conform to the display ratio of the mobile phone, so that the captured video can be better displayed on the mobile phone.
  • the display scale can be one or more.
  • the most commonly used display ratio is the aspect ratio of the mobile phone screen.
  • the aspect ratios of the mobile phone screens are also different, such as 16:9, 18:9 and other types. Therefore, the display ratio used by some mobile phone applications may not necessarily match the aspect ratio of the display screen of the mobile phone used by the user.
  • the mobile phone application will stipulate the display ratio of the uploaded videos.
  • the video recording method should be able to determine the aspect ratio and enable the PTZ device to record the video according to the set aspect ratio.
  • the gimbal device should record video according to the display ratio.
  • the PTZ device will determine the display scale of the one with the largest viewing angle parameter among the multiple display scales.
  • the viewing angle parameter is the angular range that the camera can receive the image, which may also be called the field of view. It can be understood that, the larger the viewing angle parameter, the larger the range captured by the gimbal device, and the image captured by the display ratio with a large viewing angle parameter can include the image captured by the display ratio with a small viewing angle parameter. Therefore, determining the display ratio with the largest viewing angle parameter among the multiple display ratios as the display ratio of the currently recorded video can ensure that images of other display ratios in the image can also be completely captured.
  • a plurality of reference marks corresponding to different display scales are displayed on the display interface of the mobile terminal, and the user can select and set the display scale according to the reference marks.
  • the PTZ device After the user selects the reference mark of the display ratio, the PTZ device will receive the corresponding selection command to know the display ratio set by the user, and record the video according to the display ratio corresponding to the selection command.
  • the user can conveniently select and set the display ratio according to the needs of shooting or composition by means of human-computer interaction, so as to achieve the best shooting effect.
  • the reference mark 106 of the display scale is represented in a nested manner on the screen of the mobile phone.
  • reference marks 106 with different display scales are displayed on the screen of the mobile phone in a nine-square grid.
  • the same display scale may be represented by a plurality of reference signs.
  • Reference marks can also have various representations, such as straight line boxes, dashed line boxes, numbers, and the like. The most common is the dashed box.
  • the dotted frame will reduce the actual display screen. It can be understood that, for the same display scale, if multiple reference marks are used to correspond to it, the multiple reference marks must be proportionally scaled.
  • a video recording method for a PTZ device proposed in this embodiment includes:
  • Step S402 Determine the mobile terminal that is communicatively connected to the PTZ device
  • Step S404 Determine at least one display scale corresponding to the mobile terminal
  • Step S406 obtaining the original recording ratio of the PTZ device
  • Step S408 lock the display ratio
  • Step S410 recording a video according to the original recording ratio to generate an original video file
  • Step S412 Process the original video file according to the display ratio to generate a display video file.
  • a mobile phone connected to the PTZ device is determined, and one or more display ratios corresponding to the mobile phone are determined.
  • the display ratio is the aspect ratio of the image displayed on the display screen of the mobile phone, such as the common 4:3, 16:9, 9:16, 18:9 and so on.
  • the PTZ device is equipped with a camera, and can be used for stable shooting. When shooting, the PTZ device converts the captured video image into a video signal, sends it to the mobile phone, and displays it on the mobile phone.
  • the image ratio sent by the gimbal device may not match the screen ratio of the mobile phone, resulting in the image cannot be displayed correctly on the mobile phone.
  • the image is stretched and deformed, or black borders or even the image is cropped. Therefore, in the video recording method in this embodiment, after the PTZ device determines the mobile phone connected for communication, it will determine a display ratio corresponding to the mobile phone, and control the PTZ device to record video according to the display ratio. After the PTZ device determines the mobile phone, it will record the video according to the display ratio determined by the mobile phone, so the generated image signal can conform to the display ratio of the mobile phone, so that the captured video can be better displayed on the mobile phone.
  • the display scale can be one or more.
  • the most commonly used display ratio is the aspect ratio of the mobile phone screen.
  • the aspect ratios of the mobile phone screens are also different, such as 16:9, 18:9 and other types. Therefore, the display ratio used by some mobile phone applications may not necessarily match the aspect ratio of the display screen of the mobile phone used by the user.
  • the mobile phone application will stipulate the display ratio of the uploaded videos. To this end, the video recording method should be able to determine the display ratio, and enable the PTZ device to record the video according to the set display ratio.
  • the PTZ device when the PTZ device records the video, it will record the video according to the original recording ratio to generate the original video file.
  • the original video is the original recording ratio of the gimbal device itself, which can be understood as the maximum display ratio that the gimbal device can achieve.
  • the PTZ device After the PTZ device captures an image of the original recording ratio, it will intercept the video of the original ratio according to the display ratio of the mobile terminal, generate a video that conforms to the display ratio of the mobile terminal, and send it to the mobile terminal, so that it can be compressed and sent to the mobile terminal.
  • the data volume of the terminal improves the efficiency of video transmission.
  • the PTZ device can provide them accordingly. And generate an original video file, and then process the original video file according to the display ratio of the mobile terminal to generate a display video file.
  • the display ratio will be locked to prevent the display ratio from changing during the recording process and affecting the recording effect.
  • the display ratio of the screen of the mobile phone may follow the rotation.
  • the display ratio is locked to ensure the video recording effect.
  • a video recording method for a PTZ device proposed in this embodiment includes:
  • Step S502 Determine the mobile terminal that is communicatively connected to the PTZ device
  • Step S504 judging whether the connection state is a wireless communication connection
  • step S506 determine the mobile terminal that is communicatively connected to the PTZ device; if not, end directly;
  • Step S508 Determine at least one display scale corresponding to the mobile terminal
  • Step S510 Control the PTZ device to record video according to the display ratio.
  • the connection state between the PTZ device and the mobile terminal may be a wireless communication connection or a wired connection.
  • the PTZ device When the PTZ device is wired to the mobile terminal, its connection status is fixed, so the PTZ device does not need to determine the mobile terminal connected to it.
  • the PTZ device and the mobile terminal are wirelessly connected, the PTZ device can connect with different mobile terminals as required, and then communicate with each other after determining the connection relationship between them. Therefore, before determining the connection state between the pan-tilt device and the mobile terminal, it should first determine whether the connection is in a wireless communication state. The steps can be executed correctly.
  • the display ratio is the aspect ratio of the image displayed on the display screen of the mobile terminal, such as the common 4:3, 16:9, 9:16, 18:9 and so on.
  • the PTZ device is equipped with a camera, and can be used for stable shooting. When shooting, the PTZ device converts the captured video image into a video signal, sends it to the mobile terminal, and displays it on the mobile terminal.
  • the pan-tilt device and the mobile terminal are independent of each other, when the image signal sent by the pan-tilt device is displayed on the mobile terminal, the ratio of the image sent by the pan-tilt device may not match the screen ratio of the mobile terminal, resulting in the image cannot be moved.
  • the terminal displays correctly, but the image is stretched and deformed, or black borders or even the image is cropped. Therefore, in the video recording method in this embodiment, after the PTZ device determines the mobile terminal connected to the communication, it will determine a display ratio corresponding to the mobile terminal, and control the PTZ device to record video according to the display ratio. Since the PTZ device will record video according to the display ratio determined by the mobile terminal after determining the mobile terminal, the generated image signal can conform to the display ratio of the mobile terminal, so that the captured video can be better displayed on the mobile terminal.
  • the user can manually select and determine the display ratio according to the requirements of the shooting effect. Since the PTZ device and the mobile terminal are relatively independent devices and are only connected to each other through communication, the user can determine the display scale on the mobile terminal according to the shooting effect. Display ratio set on the terminal, and control the PTZ device to record video according to the display ratio.
  • a video recording method for a PTZ device proposed in this embodiment includes:
  • Step S802 Determine the mobile terminal that is communicatively connected to the PTZ device
  • Step S804 judging whether the connection state is a wireless communication connection
  • step S806 determine the mobile terminal that is communicatively connected to the PTZ device
  • Step S808 determine the shooting direction of the mobile terminal
  • Step S810 control the video recording direction of the PTZ device to be the same as the shooting direction;
  • Step S812 Determine at least one display scale corresponding to the video recording direction
  • Step S814 determine whether there are multiple display ratios
  • step S816 determine a display ratio with the largest viewing angle parameter among the multiple display ratios
  • Step S818 control the PTZ device to record video at the display ratio with the largest viewing angle parameter
  • step S820 may also be performed: displaying a plurality of reference marks corresponding to the display scale in the display interface of the mobile terminal;
  • Step S822 Receive a selection instruction corresponding to any reference mark
  • Step S824 display the recording interface according to the display scale corresponding to the reference mark according to the selection instruction
  • step S826 control the PTZ device to record video at the display ratio
  • Step S828 lock the display ratio
  • Step S830 obtaining the original recording ratio of the PTZ device
  • Step S832 Record a video according to the original recording ratio to generate an original video file.
  • a mobile terminal connected to the pan-tilt device is determined, and one or more display scales corresponding to the mobile terminal are determined.
  • the display ratio is the aspect ratio of the image displayed on the display screen of the mobile terminal, such as the common 4:3, 16:9, 9:16, 18:9 and so on.
  • the PTZ device is equipped with a camera, and can be used for stable shooting. When shooting, the PTZ device converts the captured video image into a video signal, sends it to the mobile terminal, and displays it on the mobile terminal.
  • the pan-tilt device and the mobile terminal are independent of each other, when the image signal sent by the pan-tilt device is displayed on the mobile terminal, the ratio of the image sent by the pan-tilt device may not match the screen ratio of the mobile terminal, resulting in the image cannot be moved.
  • the terminal displays correctly, but the image is stretched and deformed, or black borders or even the image is cropped. Therefore, in the video recording method in this embodiment, after the PTZ device determines the mobile terminal connected to the communication, it will determine a display ratio corresponding to the mobile terminal, and control the PTZ device to record video according to the display ratio. Since the PTZ device will record video according to the display ratio determined by the mobile terminal after determining the mobile terminal, the generated image signal can conform to the display ratio of the mobile terminal, so that the captured video can be better displayed on the mobile terminal.
  • the user can manually select and determine the display ratio according to the requirements of the shooting effect. Since the pan-tilt device and the mobile terminal are relatively independent devices and are only connected to each other through communication, the user can determine the display scale on the mobile terminal according to the shooting effect. Display ratio set on the terminal, and control the PTZ device to record video according to the display ratio.
  • the display scale of the mobile terminal may have multiple different display scales, and the pan-tilt device can acquire multiple display scales at the same time after being communicated and connected with the mobile terminal.
  • the shooting direction of the mobile terminal is also determined first.
  • the shooting directions of the mobile terminal usually include horizontal and vertical directions, and further, may also include shooting directions at any angle.
  • a common mobile terminal such as a mobile phone
  • Different shooting directions correspond to different display ratios.
  • a mobile phone display with a horizontal display ratio of 16:9 when the shooting orientation is horizontal, the image display ratio is 16:9, and when the shooting orientation is vertical, the image display ratio is 9:16. Therefore, the PTZ device will determine the display scale according to the shooting direction of the mobile terminal and according to the shooting direction.
  • the shooting direction of the mobile terminal is also determined first.
  • the shooting directions of the mobile terminal usually include horizontal and vertical directions, and further, may also include shooting directions at any angle.
  • a common mobile terminal such as a mobile phone
  • Different shooting directions correspond to different display ratios.
  • a mobile phone display with a horizontal display ratio of 16:9 when the shooting orientation is horizontal, the image display ratio is 16:9, and when the shooting orientation is vertical, the image display ratio is 9:16. Therefore, the pan-tilt device will determine the display scale according to the shooting direction of the mobile terminal and according to the shooting direction.
  • the video recording direction of the PTZ device will be controlled to be the same as the shooting direction, so that the video recording direction of the device can be matched with the mobile terminal, and finally the image displayed on the mobile terminal can be moved Correct display on the display screen of the terminal, increase the display area of the image on the display screen, and avoid large black borders or image stretching.
  • the mobile terminal when the mobile terminal is shooting, it will select a horizontal or vertical composition for shooting according to the shooting scene or target.
  • the traditional pan-tilt device cannot make corresponding adjustments according to the shooting direction of the mobile terminal. For example, the user needs to shoot vertically, but the pan-tilt device cannot make corresponding adjustments according to the user's shooting needs, so the image sent to the mobile terminal may still be the same.
  • the display scale may be one or more.
  • the gimbal device should record video according to the display ratio.
  • the PTZ device will determine the display scale of the one with the largest viewing angle parameter among the multiple display scales.
  • the viewing angle parameter is the angular range that the camera can receive the image, which may also be called the field of view. It can be understood that, the larger the viewing angle parameter, the larger the range captured by the gimbal device, and the image captured by the display ratio with a large viewing angle parameter can include the image captured by the display ratio with a small viewing angle parameter. Therefore, determining the display ratio with the largest viewing angle parameter among the multiple display ratios as the display ratio of the currently recorded video can ensure that images of other display ratios in the image can also be completely captured.
  • a plurality of reference marks corresponding to different display scales are displayed on the display interface of the mobile terminal, and the user can select and adjust the display scale according to the reference marks. set up. After the user selects the reference mark of the display ratio, the PTZ device will receive the corresponding selection command to know the display ratio set by the user, and record the video according to the display ratio corresponding to the selection command.
  • the user can conveniently select and set the display ratio according to the needs of shooting or composition by means of human-computer interaction, so as to achieve the best shooting effect.
  • the same display scale may be represented by a plurality of reference signs.
  • Reference marks can also have various representations, such as straight line boxes, dashed line boxes, numbers, and the like. The most common is the dashed box.
  • the dotted frame will reduce the actual display screen. It can be understood that, for the same display scale, if multiple reference marks are used to correspond to it, the multiple reference marks must be proportionally scaled.
  • the PTZ device when the PTZ device records the video, it will record the video according to the original recording ratio to generate the original video file.
  • the original video is the original recording ratio of the gimbal device itself, which can be understood as the maximum display ratio that the gimbal device can achieve.
  • the PTZ device After the PTZ device captures an image of the original recording ratio, it will intercept the video of the original ratio according to the display ratio of the mobile terminal, generate a video that conforms to the display ratio of the mobile terminal, and send it to the mobile terminal, so that it can be compressed and sent to the mobile terminal.
  • the data volume of the terminal improves the efficiency of video transmission.
  • the PTZ device can provide them accordingly. And generate an original video file, and then process the original video file according to the display ratio of the mobile terminal to generate a display video file.
  • the display ratio will be locked to prevent the display ratio from changing during the recording process and affecting the recording effect.
  • the display ratio of the screen of the mobile phone may follow the rotation.
  • the display ratio is locked to ensure the video recording effect.
  • a video recording method for a mobile terminal proposed in this embodiment includes:
  • Step S602 determine the screen display ratio of the mobile terminal
  • Step S604 Determine the reference mark according to the screen display ratio
  • Step S606 obtaining a selection instruction corresponding to any reference mark
  • Step S608 According to the selection instruction, display the recording interface of the PTZ device according to the display scale corresponding to the reference mark.
  • the screen display ratio of the mobile terminal is the aspect ratio of the screen of the mobile terminal.
  • different mobile phones have various screen display ratios, and the common ones are 16:9 and 16:10. Different screen display ratios will display different image effects. If the video recorded by the PTZ device cannot match the screen display ratio of the mobile terminal, the video image will be stretched or black borders will appear. Therefore, the mobile terminal first determines the screen display ratio.
  • the reference mark is determined according to the screen display ratio, and the selection instruction corresponding to the reference mark is further obtained.
  • the PTZ device receives the selection instruction set by the mobile terminal, it will record the video according to the display ratio set by the selection instruction, and send the recorded video to the mobile terminal.
  • the mobile terminal receives the video sent by the PTZ device, determines the display ratio according to the preset selection instruction, and can correctly display the video sent by the PTZ device on the display screen according to the user's preset settings.
  • the screen display ratio is also fixed.
  • the PTZ device may include different display ratios, and these display ratios all correspond to the screen display ratio, so the display ratios corresponding to the screen display ratio are proportionally scaled. Different display ratios have different display effects.
  • different display scales correspond to different reference marks.
  • the PTZ device can determine the display scale of the video recording according to the reference mark, so as to meet the usage requirements of the mobile terminal.
  • a video recording method for a mobile terminal includes:
  • Step S702 acquiring at least one video sharing software in the mobile terminal
  • Step S704 determine the video display ratio of each video sharing software
  • Step S706 determining a reference mark according to at least one video display scale
  • Step S708 obtaining a selection instruction corresponding to any reference mark
  • Step S710 According to the selection instruction, display the recording interface of the PTZ device according to the display scale corresponding to the reference mark.
  • the video recording method for a mobile terminal can be used to record a video for a video sharing software.
  • mobile video sharing software such as Douyin, Kuaishou, Douyu, etc.
  • the video recording method for the mobile terminal in this embodiment may determine the video display ratio according to the video sharing software.
  • the mobile terminal first acquires one or more video sharing software in the mobile terminal, and determines the video display ratio required by each video sharing software. Determine the corresponding reference mark according to each video sharing software to determine the video shooting of the PTZ device.
  • the default display ratio is 6:19, that is, vertical screen display. At this time, if the display ratio of the PTZ device is not set, the recorded video may not be displayed completely, or black borders may appear on the top and bottom, which will affect the final effect.
  • a video recording method for a PTZ device and a mobile terminal proposed in this embodiment includes:
  • Step S902 wireless communication connection between the PTZ device and the mobile terminal
  • Step S904 the mobile terminal determines the screen display ratio, and sends the corresponding display ratio to the PTZ device;
  • Step S906 the PTZ device obtains at least one display scale of the mobile terminal, and selects the display scale with the largest viewing angle parameter;
  • Step S908 the PTZ device records the video according to the display ratio, and sends the video to the mobile terminal;
  • Step S910 the mobile terminal acquires the video
  • Step S912 the mobile terminal determines the reference mark according to the screen display ratio
  • Step S914 the mobile terminal obtains a selection instruction corresponding to any reference mark
  • Step S916 The mobile terminal displays the recording interface of the video sent by the PTZ device according to the selection instruction and the display scale corresponding to the reference mark.
  • the PTZ device 102 first determines that the connection state with the mobile terminal 100 is a wireless connection, so as to ensure that the subsequent steps can be performed correctly.
  • the mobile terminal determines the display ratio of the screen. Depending on the actual situation, there may be multiple screen display ratios of the mobile terminal. Wherein, the screen display ratio of the mobile terminal corresponds to the display ratio of the PTZ device.
  • the mobile terminal sends the corresponding display ratio to the gimbal device. If there are multiple display ratios, the gimbal device will determine the display ratio with the largest viewing angle parameter, and control the gimbal device to record video according to the display ratio with the largest viewing angle parameter.
  • the recorded video can be sent to the mobile terminal, and the mobile terminal receives the video sent by the PTZ device.
  • the display ratio is determined, and the video sent by the PTZ device can be displayed correctly according to the user's preset settings. screen to display.
  • the mobile terminal may include different display ratios, and the display ratio is the aspect ratio of the image displayed on the display screen of the mobile terminal. Different display ratios have different display effects.
  • the screen display ratio of the mobile terminal needs to be determined before video recording.
  • different display scales correspond to different reference marks. By determining the reference mark, the PTZ device can determine the display ratio of the video recording according to the reference mark, so as to meet the usage requirements of the mobile terminal.
  • a video recording method for a PTZ device and a mobile terminal includes:
  • Step S1002 the PTZ device is wirelessly connected to the mobile terminal;
  • Step S1004 the mobile terminal acquires at least one video sharing software in the mobile terminal
  • Step S1006 the mobile terminal determines the video display ratio of each video sharing software, and sends the display ratio to the PTZ device;
  • Step S1008 the PTZ device obtains at least one display scale of the mobile terminal, and selects the display scale with the largest viewing angle parameter;
  • Step S1010 the PTZ device records the video according to the display ratio, and sends the video to the mobile terminal;
  • Step S1012 the mobile terminal acquires the video
  • Step S1014 the mobile terminal determines the reference mark according to the screen display ratio
  • Step S1016 the mobile terminal obtains a selection instruction corresponding to any reference mark
  • Step S1018 The mobile terminal displays the recording interface of the video sent by the PTZ device according to the selection instruction and according to the display scale corresponding to the reference mark.
  • video sharing software is installed for sharing the video recorded from the PTZ device.
  • the PTZ device first determines whether the connection state with the mobile terminal is a wireless connection, so as to ensure that the subsequent steps can be performed correctly.
  • the mobile terminal 100 acquires the video sharing software in the mobile terminal 100 and determines the video display ratio of each video sharing software.
  • the video display scale of the mobile terminal corresponds to the display scale of the PTZ device.
  • the mobile terminal sends the corresponding display scale to the PTZ device. If there are multiple display ratios, the gimbal device will determine the display ratio with the largest viewing angle parameter, and control the gimbal device to record video according to the display ratio with the largest viewing angle parameter.
  • the video recorded by the PTZ device can be sent to the mobile terminal, and the mobile terminal receives the video sent by the PTZ device.
  • the display ratio is determined, and the video sent by the PTZ device can be correctly set according to the user's preset. is displayed on the display.
  • the mobile terminal may include different display ratios, and the display ratio is the aspect ratio of the image displayed on the display screen of the mobile terminal. Different display ratios have different display effects.
  • the screen display ratio of the mobile terminal needs to be determined before video recording.
  • a pan-tilt device 102 proposed in this embodiment includes a processor 202 of the pan-tilt device and a memory 200 of the pan-tilt device.
  • the memory 200 of the pan-tilt device stores a computer program
  • the memory 200 of the pan-tilt device stores a computer program.
  • the processor 302 can execute the computer program stored in the memory, specifically: the processor 202 of the PTZ device determines the connection state between the PTZ device and the mobile terminal; when the connection state is a wireless communication connection, the processor 202 of the PTZ device controls The PTZ device communicates with the mobile terminal; the processor 202 of the PTZ device determines the mobile terminal that is communicatively connected to the PTZ device; the processor 202 of the PTZ device determines the shooting direction of the mobile terminal; if the display ratio is one, the cloud
  • the processor 202 of the platform device controls the pan-tilt device to record video at a display ratio; if there are multiple display ratios, the processor 202 of the pan-tilt device determines a display ratio with the largest viewing angle parameter among the multiple display ratios; the processing of the pan-tilt device
  • the controller 202 controls the pan-tilt device to record the video at the display ratio with the largest viewing angle parameter; if there are multiple display ratios, the processor 202 of the pan-tilt
  • the display ratio is locked; the processor 202 obtains the original recording ratio of the PTZ device; the processor 202 of the PTZ device records the video according to the original recording ratio, and generates the original video file; the processor 202 of the PTZ device compares the original video according to the display ratio The file is processed to generate a display video file.
  • a mobile terminal 100 proposed in this embodiment includes a processor 302 of the mobile terminal and a memory 300 of the mobile terminal.
  • the memory 300 of the mobile terminal stores a computer program, and the processor 302 of the mobile terminal can execute the computer program.
  • the computer program stored in the memory is specifically: the processor 302 of the mobile terminal determines the screen display scale of the mobile terminal; the processor 302 of the mobile terminal determines the reference mark according to the screen display scale; the processor 302 of the mobile terminal obtains and any reference mark The corresponding selection instruction; the processor 302 of the mobile terminal displays the recording interface of the PTZ device according to the display scale corresponding to the reference mark according to the selection instruction.
  • a mobile terminal 100 proposed in this embodiment includes a processor 302 of the mobile terminal and a memory 300 of the mobile terminal.
  • the memory 300 of the mobile terminal stores a computer program, and the processor 302 executable memory stores The computer program is specifically: the processor 302 of the mobile terminal determines the screen display ratio of the mobile terminal; the processor 302 of the mobile terminal determines the reference mark according to the screen display ratio; the processor 302 of the mobile terminal obtains at least one video sharing in the mobile terminal software; the processor 302 of the mobile terminal determines the video display scale of each video sharing software; the processor 302 of the mobile terminal determines the reference mark according to at least one video display scale; the processor 302 of the mobile terminal obtains the selection corresponding to any reference mark instruction; the processor 302 of the mobile terminal displays the recording interface of the PTZ device according to the display scale corresponding to the reference mark according to the selection instruction.
  • a readable storage medium proposed in this embodiment has a computer program stored thereon.
  • the processor determines the connection state between the pan-tilt device and the mobile terminal; when the connection state is a wireless communication connection, processing
  • the processor controls the PTZ device to communicate with the mobile terminal; the processor determines the mobile terminal that is communicatively connected to the PTZ device; the processor determines the shooting direction of the mobile terminal; if the display ratio is one, the processor controls the PTZ device to display the ratio Record video; if there are multiple display ratios, the processor determines the display ratio with the largest viewing angle parameter among the multiple display ratios; the processor controls the PTZ device to record the video at the display ratio with the largest viewing angle parameter; if there are multiple display ratios, Then, a plurality of reference marks corresponding to the display scale are displayed on the display interface of the mobile terminal; the processor receives a selection instruction corresponding to any reference mark; the processor displays the recording interface according to the display scale corresponding to the reference mark according to the selection instruction.
  • the processor controls the video recording direction of the PTZ device to be the same as the shooting direction; the processor determines at least one display ratio corresponding to the video recording direction to control the PTZ device to record video according to the display ratio; the processor controls the PTZ device to record video according to the display ratio. After that, the display ratio is locked; the processor obtains the original recording ratio of the PTZ device; the processor records the video according to the original recording ratio to generate the original video file; the processor processes the original video file according to the display ratio to generate the display video file.
  • a readable storage medium proposed in this embodiment which stores a computer program and a computer program executable by a processor, specifically: the processor determines the screen display ratio of the mobile terminal; the processor determines the reference mark according to the screen display ratio; The processor acquires a selection instruction corresponding to any reference mark; according to the selection instruction, the processor displays the recording interface of the PTZ device according to the display scale corresponding to the reference mark.
  • a readable storage medium proposed in this embodiment which stores a computer program and a computer program executable by a processor, specifically: the processor acquires at least one video sharing software in the mobile terminal; the processor determines each video sharing software The video display scale of the software; the processor determines a reference mark according to at least one video display scale; the processor obtains a selection instruction corresponding to any reference mark; the processor displays the recording of the PTZ device according to the display scale corresponding to the reference mark according to the selection instruction interface.
  • a video recording method for a PTZ device proposed in this embodiment includes:
  • Step S1102 Obtain communication with the mobile phone through the device application, and send a request to the user to confirm whether the mobile phone model can be read;
  • Step S1104 Determine the display ratio based on the display ratio obtained by the mobile phone model or according to user settings;
  • Step S1106 Prompt the user whether to determine the display ratio of the recorded video as a vertical screen of 16:9 or a specific size, so as to facilitate sharing the video in social software;
  • Step S1108 The gimbal device displays the corresponding scale dotted line in the device application with the maximum viewing angle parameter, and the dotted line frame is best displayed under the viewing angle parameter at the user's desired scale or the maximum resolution that can be obtained by the mobile phone, which is convenient for the user to compose the picture and record;
  • Step S1110 The PTZ device saves the original video at the original maximum viewing angle, but records the desired ratio of the corresponding mode, and generates a video of the corresponding desired ratio when the user downloads.
  • the PTZ device in this embodiment can be adapted to mobile terminals with different screen sizes.
  • a device application corresponding to the PTZ device is installed, and the PTZ device can be set in the application.
  • a button or reminder can be set.
  • the device application detects that the mobile phone and the gimbal device are in a wireless connection state, it will prompt the user whether to enable the horizontal or vertical screen shooting function of the gimbal device matching the mobile phone screen.
  • the PTZ device communicates with the mobile phone through the device application, and sends a request to the user to confirm whether the mobile phone model can be read.
  • the PTZ device can also communicate with the mobile phone through a Bluetooth connection.
  • the video recording method of the PTZ device will obtain the display ratio based on the mobile phone model, and the user can also set the desired display in this mode to obtain the desired display ratio of the mode.
  • the video recording method of the PTZ device will prompt the user whether to set the video size to the vertical screen size, such as 16:9 of the vertical screen, so that the user can share the video on social software such as Douyin.
  • the gimbal device displays the corresponding proportional dotted line in the device application with the original maximum FOV (ie, the viewing angle parameter), or the FOV with corrected distortion.
  • the resolution is best displayed under this FOV, which is convenient for users to compose and record.
  • the desired ratio of the direct display mode can also achieve the above effects.
  • the PTZ device directly displays the desired ratio of the mode in the device application with the largest FOV, and displays it optimally under the FOV, which is convenient for users to compose and record. It should be noted here that during video recording, the video recording method of the gimbal device will lock the display ratio expected by the current user, and will not change the current expected display ratio (ie horizontal and vertical) with the change of the posture of the mobile phone or gimbal during the recording process. No switching occurs when the screen changes to portrait orientation).
  • the reference marks arranged in descending order in the figure are reference mark one 108 , reference mark two 110 , and reference mark three 112 , all of which have the same aspect ratio, which is the ratio expected by the user.
  • the device application can automatically detect the user's screen size value, and adjust the dotted line ratio to the reference mark 108 in Figure 19 based on the screen, so as to achieve the full screen ratio as much as possible to achieve the best display. Therefore, the video recording method in this embodiment can solve the problem that when the user uses the PTZ device to record the video and shares the recorded video to the mobile phone, because the video size does not match, the video image may be stretched, cropped or displayed when the video is displayed.
  • the PTZ device can save the original video with the largest FOV of the device, but at the same time record the corresponding desired ratio, when the user downloads the video, the corresponding desired ratio video is generated.
  • the user can also adjust the display ratio later, and modify the saved original video, so as to share the video in the video sharing software.
  • the display ratio of the video recorded by the PTZ device can be determined according to the display ratio set by the mobile terminal, so that the recorded video can meet the requirements of mobile The display ratio requirements of the terminal or video sharing software. It can reduce the re-editing time and effort when users use social software to share after shooting and recording vertical-screen videos or photos, which is convenient for users to compose pictures, and meets the needs of users who expect to shoot vertical-screen videos.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Television Signal Processing For Recording (AREA)
  • Studio Devices (AREA)

Abstract

本申请的实施例提供了一种视频录制方法、云台设备、移动终端和可读存储介质,视频录制方法包括确定与云台设备通信连接的移动终端;确定与移动终端对应的至少一个显示比例;根据显示比例控制云台设备录制视频。本申请的技术方案中,视频录制方法可以根据移动终端设定的显示比例,确定云台设备录制视频的显示比例,使录制的视频能够满足移动终端或视频共享软件对显示比例的需求。

Description

视频录制方法、云台设备、移动终端和可读存储介质 技术领域
本申请涉及视频录制技术领域,具体而言,涉及一种视频录制方法、一种云台设备、一种移动终端和一种可读存储介质。
背景技术
随着移动终端在拍摄和直播中的广泛应用,为了提高拍摄效果,用户更多的开始使用云台设备配合移动终端进行拍摄。现有技术中,如图1所示,云台设备102'的视频输出尺寸与移动终端100'的屏幕尺寸不匹配,或者无法根据用户设定的显示比例录制视频,导致视频显示时会出现图像被拉伸、裁剪或出现黑边104'的现象,影响用户使用体验。
发明内容
本申请实施例提供了一种用于云台设备的视频录制方法、用于移动终端的视频录制方法、云台设备、移动终端和可读存储介质,能够解决相关技术中使用云台设备录制的视频无法与移动终端实现最佳匹配的问题。
为了解决上述问题,本申请是这样实现的:
第一方面,本申请的实施例提供了一种用于云台设备的视频录制方法,包括:
确定与云台设备通信连接的移动终端;
确定与移动终端对应的至少一个显示比例;
根据显示比例控制云台设备录制视频。
第二方面,本申请的实施例提供了一种用于移动终端的视频录制方法,包括:
确定与移动终端对应的多个参考标记;
获取与任一参考标记对应的选取指令;
根据选取指令,根据参考标记对应的显示比例显示云台设备的录制界面。
第三方面,本申请的实施例提供了一种云台设备,包括处理器和存储器,存储器中存储有计算机程序,处理器用于在执行计算机程序时以实现如上述第一方面实施例中任一项视频录制方法的步骤。
第四方面,本申请的实施例提供了一种移动终端,包括处理器和存储器,存储器中存储有计算机程序,处理器用于在执行计算机程序时以实现如上述第二方面实施例中任一项视频录制方法的步骤。
第五方面,本申请的实施例提供了一种可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时能够实现如上述第一方面实施例中任一视频录制方法的步骤;或计算机程序被处理器执行时能够实现如上述第二方面实施例中任一视频录制方法的步骤。
附图说明
图1示出了现有技术的移动终端的显示界面示意图;
图2示出了根据本申请的一个实施例的视频录制方法的流程示意图;
图3示出了根据本申请的一个实施例的视频录制方法的流程示意图;
图4示出了根据本申请的一个实施例的云台设备与移动终端的结构示意图;
图5示出了根据本申请的一个实施例的云台设备与移动终端的结构示意图;
图6示出了根据本申请的一个实施例的视频录制方法的流程示意图;
图7示出了根据本申请的一个实施例的参考标记的结构示意图;
图8示出了根据本申请的一个实施例的参考标记的结构示意图;
图9示出了根据本申请的一个实施例的视频录制方法的流程示意图;
图10示出了根据本申请的一个实施例的视频录制方法的流程示意图;
图11示出了根据本申请的一个实施例的视频录制方法的流程示意图;
图12示出了根据本申请的一个实施例的视频录制方法的流程示意图;
图13示出了根据本申请的一个实施例的视频录制方法的流程示意图;
图14示出了根据本申请的一个实施例的视频录制方法的流程示意图;
图15示出了根据本申请的一个实施例的视频录制方法的流程示意图;
图16示出了根据本申请的一个实施例的云台设备的结构示意图;
图17示出了根据本申请的一个实施例的移动终端的结构示意图;
图18示出了根据本申请的一个实施例的视频录制方法的流程示意图;
图19示出了根据本申请的一个实施例的参考标记的结构示意图。
其中,图1中附图标记与部件名称之间的对应关系为:
100':移动终端;102':云台设备;104':黑边。
图2至图19中附图标记与部件名称之间的对应关系为:
100:移动终端;102:云台设备;106:参考标记;108:参考标记一;110:参考标记二;112:参考标记三;200:云台设备的存储器;202:云台设备的处理器;300:移动终端的存储器;302:移动终端的处理器。
具体实施方式
为了能够更清楚地理解本申请的实施例的上述目的、特征和优点,下面结合附图和具体实施方式对本申请的实施例进行进一步的详细描述。需要说明的是,在不冲突的情况下,本申请的实施例及实施例中的特征可以相互组合。
在下面的描述中阐述了很多具体细节以便于充分理解本申请,但是,本申请的实施例还可以采用其他不同于在此描述的其他方式来实施,因此,本申请的保护范围并不限于下面公开的具体实施例的限制。
下面参照图2至图19描述根据本申请的一些实施例。
实施例一
如图2所示,本实施例提出的一种用于云台设备的视频录制方法,包括:
步骤S102:确定与云台设备通信连接的移动终端;
步骤S104:确定与移动终端对应的至少一个显示比例;
步骤S106:根据显示比例控制云台设备录制视频。
用于云台设备的视频录制方法,首先确定与云台设备连接的移动终端,确定与移动终端对应于一个或多个显示比例。显示比例为在移动终端的显示屏上显示的图像的长宽比,如常见的4:3,16:9,9:16,18:9等。 云台设备设有摄像装置,并可以使用摄像装置稳定地进行拍摄。在进行拍摄时,云台设备把拍摄到的视频图像转为视频信号,发送至移动终端,并在移动终端上进行显示。由于云台设备和移动终端相互独立,因此云台设备发送的图像信号在移动终端上进行显示时,可能会因云台设备发送的图像比例与移动终端的屏幕比例不能匹配,导致图像无法在移动终端正确显示,出现图像被拉伸变形,或出现黑边甚至图像被裁剪的情况。因此,本实施例中的视频录制方法中,云台设备在确定了通信连接的移动终端后,会确定与移动终端对应的一个显示比例,并根据显示比例控制云台设备录制视频。由于云台设备在确定了移动终端后,会根据移动终端确定的显示比例录制视频,因此生成的图像信号,可以符合移动终端的显示比例,使拍摄的视频能够较好的在移动终端进行显示。
进一步地,用户可以根据拍摄效果的要求,人为的选择并确定显示比例。由于云台设备与移动终端为相对独立的设备,相互之间只通过通信连接,因此,用户可以根据拍摄效果在移动终端上确定显示比例,云台设备在与移动终端进行通信连接后,获取移动终端上设定的显示比例,并根据显示比例控制云台设备录制视频。
需要说明的是,移动终端的显示比例可以有多个不同的显示比例,云台设备在与移动终端通信连接后,可以同时获取多个显示比例。
实施例二
如图3所示,本实施例提出的一种用于云台设备的视频录制方法,包括:
步骤S202:确定与云台设备通信连接的移动终端;
步骤S204:控制云台设备的视频录制方向与拍摄方向相同;
步骤S206:确定与视频录制方向对应的至少一个显示比例;
步骤S208:根据显示比例控制云台设备录制视频。
用于云台设备的视频录制方法,首先确定与云台设备连接的移动终端为手机,确定与手机对应于一个或多个显示比例。显示比例为在手机的显示屏上显示的图像的长宽比,如常见的4:3,16:9,9:16,18:9等。云台设备设有摄像装置,并可以使用摄像装置稳定地进行拍摄。在进行拍 摄时,云台设备把拍摄到的视频图像转为视频信号,发送至手机,并在手机上进行显示。由于云台设备和手机相互独立,因此云台设备发送的图像信号在手机上进行显示时,可能会因云台设备发送的图像比例与手机的屏幕比例不能匹配,导致图像无法在手机正确显示,出现图像被拉伸变形,或出现黑边甚至图像被裁剪的情况。因此,本实施例中的视频录制方法中,云台设备在确定了通信连接的手机后,会确定与手机对应的一个显示比例,并根据显示比例控制云台设备录制视频。由于云台设备在确定了手机后,会根据手机确定的显示比例录制视频,因此生成的图像信号,可以符合手机的显示比例,使拍摄的视频能够较好的在手机进行显示。
进一步地,用户可以根据拍摄效果的要求,人为的选择并确定显示比例。由于云台设备与手机为相对独立的设备,相互之间只通过通信连接,因此,用户可以根据拍摄效果在手机上确定显示比例,云台设备在与手机进行通信连接后,获取手机上设定的显示比例,并根据显示比例控制云台设备录制视频。
需要说明的是,手机的显示比例可以有多个不同的显示比例,云台设备在与手机通信连接后,可以同时获取多个显示比例。
由于手机的显示方向可以为横向或竖向。如图4所示,手机为竖向显示方式。如图5所示,手机为横向显示方式。针对手机的不同显示方式,在确定移动终端的显示比例之间,还会首先确定移动终端的拍摄方向。
在确定移动终端的拍摄方向后,会控制云台设备的视频录制方向与拍摄方向相同,以使设备的视频录制方向能够与移动终端相匹配,最终在移动终端显示的图像能够在移动终端的显示屏上正确的显示,提高图像在显示屏的显示的面积,避免出现较大面积的黑边,或者图像拉伸。
通常来说,当移动终端在拍摄时会根据拍摄的场景或目标,选取横向或竖向构图进行拍摄。传统云台设备,由于不能根据移动终端的拍摄方向进行对应的调整,如用户需要竖向拍摄,但是云台设备由于不能根据用户的拍摄需求进行对应调整,因此可能发送到移动终端的图像还是为横向,在竖向显示时,只能在图像上下两端增加黑边,无法满足用户拍摄需求。首先确定手机显示比例,可以有效的避免因显示比例不匹配导致出现图像 在显示时出现黑边、图像被拉伸等情况。
实施例三
如图6所示,本实施例提出的一种用于云台设备的视频录制方法,包括:
步骤S302:确定与云台设备通信连接的移动终端;
步骤S304:确定与移动终端对应的至少一个显示比例;
步骤S306:若显示比例为一个,则控制云台设备以显示比例录制视频;
步骤S308:若显示比例为多个,则确定多个显示比例中视角参数最大的一个显示比例;
步骤S310:控制云台设备以视角参数最大的显示比例录制视频。
用于云台设备的视频录制方法,首先确定与云台设备连接的手机,确定与手机对应于一个或多个显示比例。显示比例为在手机的显示屏上显示的图像的长宽比,如常见的4:3,16:9,9:16,18:9等。云台设备设有摄像装置,并可以使用摄像装置稳定地进行拍摄。在进行拍摄时,云台设备把拍摄到的视频图像转为视频信号,发送至手机,并在手机上进行显示。由于云台设备和手机相互独立,因此云台设备发送的图像信号在手机上进行显示时,可能会因云台设备发送的图像比例与手机的屏幕比例不能匹配,导致图像无法在手机正确显示,出现图像被拉伸变形,或出现黑边甚至图像被裁剪的情况。因此,本实施例中的视频录制方法中,云台设备在确定了通信连接的手机后,会确定与手机对应的一个显示比例,并根据显示比例控制云台设备录制视频。由于云台设备在确定了手机后,会根据手机确定的显示比例录制视频,因此生成的图像信号,可以符合手机的显示比例,使拍摄的视频能够较好的在手机进行显示。
对于手机而言,显示比例可以为一个或多个。对于手机显示屏幕来说,最常用的显示比例为手机屏幕的长宽比。但是由于当前的手机的型号多样,手机屏幕的长宽比也不同,如16:9,18:9等多种类型。因此一些手机应用所使用的显示比例不一定能够与用户所使用的手机的显示屏幕的长宽比吻合。为了防止用户上传的视频的显示比例能够统一,手机应用会规定上传视频的显示比例。为此,视频录制方法应能够确定显示比例,并使云台 设备能够按照设定的显示比例录制视频。
很明显,显示比例为一个时,云台设备应根据该显示比例录制视频。当显示比例为多个时,云台设备则会确定多个显示比例中视角参数最大的一个的显示比例。其中,视角参数为摄像头可以接收影像的角度范围,也可以称为视野。可以理解,视角参数越大,云台设备拍摄到的范围就越大,视角参数大的显示比例拍摄到的图像,可以包含视角参数小的显示比例拍摄到的图像。因此,确定多个显示比例中视角参数最大的显示比例作为当前录制视频的显示比例,可以保证图像中其他显示比例的图像也能够完整的拍摄到图像。
当显示比例为多个时,为了方便用户进行选取或设定,在移动终端的显示界面中显示多个对应于不同显示比例的参考标记,用户可以根据参考标记对显示比例进行选取和设定。在用户选取了显示比例的参考标记后,云台设备会接收对应的选取指令,以获知用户设定的显示比例,并根据选取指令对应的显示比例录制视频。
通过这种方式,用户可以人机交互的方式,方便的根据拍摄或构图的需要,选取并设定显示比例,以达到最佳的拍摄效果。如图7所示,在手机屏幕上以套叠的方式表示显示比例的参考标记106。如图8所示,在手机屏幕上以九宫格的方式显示不同的显示比例的参考标记106。
进一步地,为了表示方便,同一个显示比例,可以使用多个参考标记进行表示。参考标记的表示形式也可以有多种,如直线框、虚线框、数字形式等。最为常见的是虚线框。为了显示方便或为了便于在屏幕中展示,虚线框会对实际显示屏幕进行缩小。可以理解,对于同一显示比例,如果使用多个参考标记与之对应,那么多个参考标记之间,必然为等比例缩放。
实施例四
如图9所示,本实施例提出的一种用于云台设备的视频录制方法,包括:
步骤S402:确定与云台设备通信连接的移动终端;
步骤S404:确定与移动终端对应的至少一个显示比例;
步骤S406:获取云台设备的原始录制比例;
步骤S408:锁定显示比例;
步骤S410:根据原始录制比例录制视频,生成原始视频文件;
步骤S412:根据显示比例对原始视频文件进行处理,生成显示视频文件。
用于云台设备的视频录制方法,首先确定与云台设备连接的手机,确定与手机对应于一个或多个显示比例。显示比例为在手机的显示屏上显示的图像的长宽比,如常见的4:3,16:9,9:16,18:9等。云台设备设有摄像装置,并可以使用摄像装置稳定地进行拍摄。在进行拍摄时,云台设备把拍摄到的视频图像转为视频信号,发送至手机,并在手机上进行显示。由于云台设备和手机相互独立,因此云台设备发送的图像信号在手机上进行显示时,可能会因云台设备发送的图像比例与手机的屏幕比例不能匹配,导致图像无法在手机正确显示,出现图像被拉伸变形,或出现黑边甚至图像被裁剪的情况。因此,本实施例中的视频录制方法中,云台设备在确定了通信连接的手机后,会确定与手机对应的一个显示比例,并根据显示比例控制云台设备录制视频。由于云台设备在确定了手机后,会根据手机确定的显示比例录制视频,因此生成的图像信号,可以符合手机的显示比例,使拍摄的视频能够较好的在手机进行显示。
对于手机而言,显示比例可以为一个或多个。对于手机显示屏幕来说,最常用的显示比例为手机屏幕的长宽比。但是由于当前的手机的型号多样,手机屏幕的长宽比也不同,如16:9,18:9等多种类型。因此一些手机应用所使用的显示比例不一定能够与用户所使用的手机的显示屏幕的长宽比吻合。为了防止用户上传的视频的显示比例能够统一,手机应用会规定上传视频的显示比例。为此,视频录制方法应能够确定显示比例,并使云台设备能够按照设定的显示比例录制视频。
进一步地,云台设备在录制视频时,会根据原始录制比例录制视频,生成原始视频文件。原始视频是云台设备本身的原始录制比例,可以理解为云台设备可达到的最大显示比例。云台设备在拍摄到原始录制比例的图像后,根据移动终端的显示比例,对原始比例的视频进行截取,生成符合移动终端的显示比例的视频,并发送到移动终端,这样可以压缩发送到移 动终端的数据量,提高视频传送的效率。
但是为了能够保证云台设备录制的视频文件更完整,在用户需要查看不同显示比例的图像时,云台设备能够相应的进行提供,云台设备在录制视频时,首先根据原始录制比例录制视频,并生成原始视频文件,然后再根据移动终端的显示比例,对原始视频文件进行处理,生成显示视频文件。
进一步地,当根据显示比例控制云台设备开始录制视频后,显示比例会被锁定,以防止在录制过程中,显示比例发生改变,影响录制效果。
如移动终端为手机时,通常在手机转动时,手机屏幕的显示比例有可能会跟随发生转动。为了防止手机在转动时发生的屏幕转动导致云台设备的显示比例发生改变,影响实际拍摄效果,因此在云台设备开始录制时,即锁定显示比例,以保证视频录制效果。
实施例五
如图10所示,本实施例提出的一种用于云台设备的视频录制方法,包括:
步骤S502:确定与云台设备通信连接的移动终端;
步骤S504:判断连接状态是否为无线通信连接;
若是,则执行步骤S506:确定与云台设备通信连接的移动终端;若否,则直接结束;
步骤S508:确定与移动终端对应的至少一个显示比例;
步骤S510:根据显示比例控制云台设备录制视频。
在本实施例中,云台设备和移动终端的连接状态,可以为无线通信连接或有线连接。当云台设备与移动终端为有线连接时,其连接状态已固定,因此云台设备不需要确定与之相连的移动终端。而当云台设备与移动终端为无线连接时,云台设备可以根据需要,与不同的移动终端进行连接,在确定相互之间的连接关系后,再进行通信。因此,在确定云台设备与移运终端的连接状态之前,应首先判断连接是否为无线通信状态,当为无线通信状态,需要确定云台设备与移动终端之间的连接,以保证后序的步骤可以正确的执行。
在确定了云台设备与移动终端的连接状态后,确定与移动终端对应于一 个或多个显示比例。显示比例为在移动终端的显示屏上显示的图像的长宽比,如常见的4:3,16:9,9:16,18:9等。云台设备设有摄像装置,并可以使用摄像装置稳定地进行拍摄。在进行拍摄时,云台设备把拍摄到的视频图像转为视频信号,发送至移动终端,并在移动终端上进行显示。由于云台设备和移动终端相互独立,因此云台设备发送的图像信号在移动终端上进行显示时,可能会因云台设备发送的图像比例与移动终端的屏幕比例不能匹配,导致图像无法在移动终端正确显示,出现图像被拉伸变形,或出现黑边甚至图像被裁剪的情况。因此,本实施例中的视频录制方法中,云台设备在确定了通信连接的移动终端后,会确定与移动终端对应的一个显示比例,并根据显示比例控制云台设备录制视频。由于云台设备在确定了移动终端后,会根据移动终端确定的显示比例录制视频,因此生成的图像信号,可以符合移动终端的显示比例,使拍摄的视频能够较好的在移动终端进行显示。
进一步地,用户可以根据拍摄效果的要求,人为的选择并确定显示比例。由于云台设备与移动终端为相对独立的设备,相互之间只通过通信连接,因此,用户可以根据拍摄效果在移动终端上确定显示比例,云台设备在与移动终端进行通信连接后,获取移动终端上设定的显示比例,并根据显示比例控制云台设备录制视频。
实施例六
如图13所示,本实施例提出的一种用于云台设备的视频录制方法,包括:
步骤S802:确定与云台设备通信连接的移动终端;
步骤S804:判断连接状态是否为无线通信连接;
若是,则执行步骤S806:确定与云台设备通信连接的移动终端;
步骤S808:确定移动终端的拍摄方向;
步骤S810:控制云台设备的视频录制方向与拍摄方向相同;
步骤S812:确定与视频录制方向对应的至少一个显示比例;
步骤S814:判断显示比例是否为多个;
若是,则执行步骤S816:确定多个显示比例中视角参数最大的一个显 示比例;
步骤S818:控制云台设备以视角参数最大的显示比例录制视频;
若步骤S814的判断结果为是,还可能执行步骤S820:在移动终端的显示界面中显示多个对应于显示比例的参考标记;
步骤S822:接收与任一参考标记对应的选取指令;
步骤S824:根据选取指令,根据参考标记对应的显示比例显示录制界面;
若步骤S814的判断结果为否,则执行步骤S826:控制云台设备以显示比例录制视频;
步骤S828:锁定显示比例;
步骤S830:获取云台设备的原始录制比例;
步骤S832:根据原始录制比例录制视频,生成原始视频文件。
本实施例中,用于云台设备的视频录制方法,首先确定与云台设备连接的移动终端,确定与移动终端对应于一个或多个显示比例。显示比例为在移动终端的显示屏上显示的图像的长宽比,如常见的4:3,16:9,9:16,18:9等。云台设备设有摄像装置,并可以使用摄像装置稳定地进行拍摄。在进行拍摄时,云台设备把拍摄到的视频图像转为视频信号,发送至移动终端,并在移动终端上进行显示。由于云台设备和移动终端相互独立,因此云台设备发送的图像信号在移动终端上进行显示时,可能会因云台设备发送的图像比例与移动终端的屏幕比例不能匹配,导致图像无法在移动终端正确显示,出现图像被拉伸变形,或出现黑边甚至图像被裁剪的情况。因此,本实施例中的视频录制方法中,云台设备在确定了通信连接的移动终端后,会确定与移动终端对应的一个显示比例,并根据显示比例控制云台设备录制视频。由于云台设备在确定了移动终端后,会根据移动终端确定的显示比例录制视频,因此生成的图像信号,可以符合移动终端的显示比例,使拍摄的视频能够较好的在移动终端进行显示。
进一步地,用户可以根据拍摄效果的要求,人为的选择并确定显示比例。由于云台设备与移动终端为相对独立的设备,相互之间只通过通信连接,因此,用户可以根据拍摄效果在移动终端上确定显示比例,云台设备 在与移动终端进行通信连接后,获取移动终端上设定的显示比例,并根据显示比例控制云台设备录制视频。
需要说明的是,移动终端的显示比例可以有多个不同的显示比例,云台设备在与移动终端通信连接后,可以同时获取多个显示比例。
进一步地,在确定移动终端的显示比例之前,还会首先确定移动终端的拍摄方向。移动终端的拍摄方向通常包括横向和竖向,进一步地,也可以包括任意角度的拍摄方向。
常见的移动终端如手机,显示屏幕为长方形,用户可以选择横向进行拍摄也可以选择竖向进行拍摄,不同的拍摄方向对应的显示比例不同。如横向显示比例为16:9的手机显示屏,当拍摄方向为横向时,图像的显示比例为16:9,当拍摄方向为竖向时,图像的显示比例为9:16。因此,云台设备会根据移动终端的拍摄方向,并根据拍摄方向确定显示比例。
进一步地,在确定移动终端的显示比例之前,还会首先确定移动终端的拍摄方向。移动终端的拍摄方向通常包括横向和竖向,进一步地,也可以包括任意角度的拍摄方向。
常见的移动终端如手机,显示屏幕为长方形,用户可以选择横向进行拍摄也可以选择竖向进行拍摄,不同的拍摄方向对应的显示比例不同。如横向显示比例为16:9的手机显示屏,当拍摄方向为横向时,图像的显示比例为16:9,当拍摄方向为竖向时,图像的显示比例为9:16。因此,云台设备会根据移动终端的拍摄方向,并根据拍摄方向确定显示比例。
进一步地,在确定移动终端的拍摄方向后,会控制云台设备的视频录制方向与拍摄方向相同,以使设备的视频录制方向能够与移动终端相匹配,最终在移动终端显示的图像能够在移动终端的显示屏上正确的显示,提高图像在显示屏的显示的面积,避免出现较大面积的黑边,或者图像拉伸。
通常来说,当移动终端在拍摄时会根据拍摄的场景或目标,选取横向或竖向构图进行拍摄。传统云台设备,由于不能根据移动终端的拍摄方向进行对应的调整,如用户需要竖向拍摄,但是云台设备由于不能根据用户的拍摄需求进行对应调整,因此可能发送到移动终端的图像还是为横向,在竖向显示时,只能在图像上下两端增加黑边,无法满足用户拍摄需求。
进一步地,显示比例可以为一个或多个。很明显,显示比例为一个时,云台设备应根据该显示比例录制视频。当显示比例为多个时,云台设备则会确定多个显示比例中视角参数最大的一个的显示比例。其中,视角参数为摄像头可以接收影像的角度范围,也可以称为视野。可以理解,视角参数越大,云台设备拍摄到的范围就越大,视角参数大的显示比例拍摄到的图像,可以包含视角参数小的显示比例拍摄到的图像。因此,确定多个显示比例中视角参数最大的显示比例作为当前录制视频的显示比例,可以保证图像中其他显示比例的图像也能够完整的拍摄到图像。
进一步地,当显示比例为多个时,为了方便用户进行选取或设定,在移动终端的显示界面中显示多个对应于不同显示比例的参考标记,用户可以根据参考标记对显示比例进行选取和设定。在用户选取了显示比例的参考标记后,云台设备会接收对应的选取指令,以获知用户设定的显示比例,并根据选取指令对应的显示比例录制视频。
通过这种方式,用户可以人机交互的方式,方便的根据拍摄或构图的需要,选取并设定显示比例,以达到最佳的拍摄效果。
需要说明的是,为了表示方便,同一个显示比例,可以使用多个参考标记进行表示。参考标记的表示形式也可以有多种,如直线框、虚线框、数字形式等。最为常见的是虚线框。为了显示方便或为了便于在屏幕中展示,虚线框会对实际显示屏幕进行缩小。可以理解,对于同一显示比例,如果使用多个参考标记与之对应,那么多个参考标记之间,必然为等比例缩放。
进一步地,云台设备在录制视频时,会根据原始录制比例录制视频,生成原始视频文件。原始视频是云台设备本身的原始录制比例,可以理解为云台设备可达到的最大显示比例。云台设备在拍摄到原始录制比例的图像后,根据移动终端的显示比例,对原始比例的视频进行截取,生成符合移动终端的显示比例的视频,并发送到移动终端,这样可以压缩发送到移动终端的数据量,提高视频传送的效率。
但是为了能够保证云台设备录制的视频文件更完整,在用户需要查看不同显示比例的图像时,云台设备能够相应的进行提供,云台设备在录制 视频时,首先根据原始录制比例录制视频,并生成原始视频文件,然后再根据移动终端的显示比例,对原始视频文件进行处理,生成显示视频文件。
进一步地,当根据显示比例控制云台设备开始录制视频后,显示比例会被锁定,以防止在录制过程中,显示比例发生改变,影响录制效果。
如移动终端为手机时,通常在手机转动时,手机屏幕的显示比例有可能会跟随发生转动。为了防止手机在转动时发生的屏幕转动导致云台设备的显示比例发生改变,影响实际拍摄效果,因此在云台设备开始录制时,即锁定显示比例,以保证视频录制效果。
实施例七
如图11所示,本实施例提出的一种用于移动终端的视频录制方法,包括:
步骤S602:确定移动终端的屏幕显示比例;
步骤S604:根据屏幕显示比例确定参考标记;
步骤S606:获取与任一参考标记对应的选取指令;
步骤S608:根据选取指令,根据参考标记对应的显示比例显示云台设备的录制界面。
本实施例中,移动终端的屏幕显示比例即移动终端屏幕的长宽比。以手机为例,不同的手机,屏幕显示比例有多种,常见的有16:9,16:10等。不同的屏幕显示比例,其显示的图像效果不同。如果云台设备录制的视频与移动终端的屏幕显示比例不能匹配,则会出现视频图像被拉伸或出现黑边的情况。因此,移动终端首先确定屏幕显示比例。并根据屏幕显示比例确定参考标记,并进一步获取与参考标记对应的选取指令。云台设备接收到移动终端设定的选取指令后,会根据选取指令设定的显示比例进行视频录制,并将录制的视频发送至移动终端。移动终端接到云台设备发送的视频,根据预先设定的选取指令,确定显示比例,可以将云台设备发送的视频按照用户预先的设定正确的在显示屏进行显示。
可以理解,对于固定的移动终端,其屏幕显示比例也是固定的。云台设备可以包括不同的显示比例,这些显示比例都与屏幕显示比例相对应,因此对应于屏幕显示比例的显示比例之间为等比例缩放。不同的显示比例, 其显示效果不同。
进一步地,为了便于进行区分多个显示比例,不同的显示比例对应不同的参考标记。可以通过确定参考标记,使云台设备能够根据参考标记确定视频录制的显示比例,以符合移动终端的使用需求。
在另一个具体的实施例中,如图12所示,用于移动终端的视频录制方法,包括:
步骤S702:获取移动终端内的至少一个视频分享软件;
步骤S704:确定每个视频分享软件的视频显示比例;
步骤S706:根据至少一个视频显示比例确定参考标记;
步骤S708:获取与任一参考标记对应的选取指令;
步骤S710:根据选取指令,根据参考标记对应的显示比例显示云台设备的录制界面。
其中,用于移动终端的视频录制方法,可以用于为视频分享软件录制视频。当前流行的手机视频分享软件,如抖音、快手、斗鱼等,都支持用户自己通过手机录制视频后进行上传。不同的视频分享软件可接受的显示比例可能不同。为了使用户自己录制的视频能够适用于对应的视频分享软件,因此本实施例中用于移动终端的视频录制方法可以根据视频分享软件确定视频显示比例。移动终端首先获取移动终端内的一个或多个视频分享软件,并确定每个视频分享软件所要求的视频显示比例。根据每个视频分享软件确定对应的参考标记,以确定云台设备的视频拍摄。
以抖音为例,预设显示比例为6:19,即竖屏显示。此时,如果不对云台设备的显示比例进行设定,则可能出来录制的视频显示不全,或者上下出现黑边的情况,影响最终的效果。
实施例八
如图14所示,本实施例提出的一种用于云台设备和移动终端的视频录制方法,包括:
步骤S902:云台设备与移动终端的无线通信连接;
步骤S904:移动终端确定屏幕显示比例,并将对应的显示比例发送到云台设备;
步骤S906:云台设备获取移动终端的至少一个显示比例,并选取视角参数最大的显示比例;
步骤S908:云台设备根据显示比例录制视频,并将视频发送至移动终端;
步骤S910:移动终端获取视频;
步骤S912:移动终端根据屏幕显示比例确定参考标记;
步骤S914:移动终端获取与任一参考标记对应的选取指令;
步骤S916:移动终端根据选取指令,并根据参考标记对应的显示比例显示云台设备发送的视频的录制界面。
如图4所示,云台设备102首先确定与移动终端100的连接状态为无线连接,以保证后序的步骤可以正确的执行。
在确定连接后,移动终端确定屏幕的显示比例。根据实际情况不同,移动终端的屏幕显示比例可以有多个。其中,移动终端的屏幕显示比例与云台设备的显示比例相对应。移动终端将对应的显示比例发送至云台设备,如果显示比例为多个,云台设备会确定视角参数最大的显示比例,并根据视角参数最大的显示比例控制云台设备录制视频。
录制的视频可以发送至移动终端,移动终端接到云台设备发送的视频,根据预先设定的选取指令,确定显示比例,可以将云台设备发送的视频按照用户预先的设定正确的在显示屏进行显示。
其中,移动终端可以包括不同的显示比例,显示比例为移动终端的显示屏上显示的图像的长宽比。不同的显示比例,其显示效果不同。为了保证云台设备拍摄的图像能够符合设定的要求,在进行视频录制前,需要确定移动终端的屏幕显示比例。对于同一个移动终端,可以有多个显示比例,为了便于进行区分,不同的显示比例对应不同的参考标记。能过确定参考标记,使云台设备能够根据参考标记确定视频录制的显示比例,以符合移动终端的使用需求。
在另一个具体的实施例中,如图15所示,一种用于云台设备和移动终端的视频录制方法,包括:
步骤S1002:云台设备与移动终端无线通信连接;
步骤S1004:移动终端获取移动终端内的至少一个视频分享软件;
步骤S1006:移动终端确定每个视频分享软件的视频显示比例,并将显示比例发送到云台设备;
步骤S1008:云台设备获取移动终端的至少一个显示比例,并选取视角参数最大的显示比例;
步骤S1010:云台设备根据显示比例录制视频,并将视频发送至移动终端;
步骤S1012:移动终端获取视频;
步骤S1014:移动终端根据屏幕显示比例确定参考标记;
步骤S1016:移动终端获取与任一参考标记对应的选取指令;
步骤S1018:移动终端根据选取指令,并根据参考标记对应的显示比例显示云台设备发送的视频的录制界面。
在本实施例的移动终端内,安装有视频分享软件,用于分享从云台设备录制的视频。云台设备首先确定与移动终端的连接状态是否为无线连接,以保证后序的步骤可以正确的执行。
如图4所示,云台设备102在确定与移动终端100的无线连接后,移动终端100获取移动终端100内的视频分享软件,并确定每个视频分享软件的视频显示比例。
其中,移动终端的视频显示比例与云台设备的显示比例相对应。移动终端将对应的显示比例发送至云台设备。如果显示比例为多个,云台设备会确定视角参数最大的显示比例,并根据视角参数最大的显示比例控制云台设备录制视频。
云台设备录制的视频可以发送至移动终端,移动终端接到云台设备发送的视频,根据预先设定的选取指令,确定显示比例,可以将云台设备发送的视频按照用户预先的设定正确的在显示屏进行显示。
其中,移动终端可以包括不同的显示比例,显示比例为移动终端的显示屏上显示的图像的长宽比。不同的显示比例,其显示效果不同。为了保证云台设备拍摄的图像能够符合设定的要求,在进行视频录制前,需要确定移动终端的屏幕显示比例。对于同一个移动终端,可以有多个显示比例, 为了便于进行区分,不同的显示比例对应不同的参考标记。能过确定参考标记,使云台设备能够根据参考标记确定视频录制的显示比例,以符合移动终端的使用需求。
实施例九
如图16所示,本实施例提出的一种云台设备102,包括云台设备的处理器202和云台设备的存储器200,云台设备的存储器200中存储有计算机程序,云台设备的处理器302可执行存储器中存储的计算机程序,具体为:云台设备的处理器202确定云台设备与移动终端的连接状态;在连接状态为无线通信连接时,云台设备的处理器202控制云台设备与移动终端进行通信连接;云台设备的处理器202确定与云台设备通信连接的移动终端;云台设备的处理器202确定移动终端的拍摄方向;若显示比例为一个,则云台设备的处理器202控制云台设备以显示比例录制视频;若显示比例为多个,则云台设备的处理器202确定多个显示比例中视角参数最大的一个显示比例;云台设备的处理器202控制云台设备以视角参数最大的显示比例录制视频;若显示比例为多个,则云台设备的处理器202在移动终端的显示界面中显示多个对应于显示比例的参考标记;云台设备的处理器202接收与任一参考标记对应的选取指令;云台设备的处理器202根据选取指令,根据参考标记对应的显示比例显示录制界面;云台设备的处理器202控制云台设备的视频录制方向与拍摄方向相同;处理器202确定与视频录制方向对应的至少一个显示比例根据显示比例控制云台设备录制视频;云台设备的处理器202在根据显示比例控制云台设备录制视频后,锁定显示比例;处理器202获取云台设备的原始录制比例;云台设备的处理器202根据原始录制比例录制视频,生成原始视频文件;云台设备的处理器202根据显示比例对原始视频文件进行处理,生成显示视频文件。
实施例十
如图17所示,本实施例提出的一种移动终端100,包括移动终端的处理器302和移动终端的存储器300,移动终端的存储器300中存储有计算机程序,移动终端的处理器302可执行存储器中存储的计算机程序,具体为:移动终端的处理器302确定移动终端的屏幕显示比例;移动终端的处 理器302根据屏幕显示比例确定参考标记;移动终端的处理器302获取与任一参考标记对应的选取指令;移动终端的处理器302根据选取指令,根据参考标记对应的显示比例显示云台设备的录制界面。
实施例十一
如图17所示,本实施例提出的一种移动终端100,包括移动终端的处理器302和移动终端的存储器300,移动终端的存储器300中存储有计算机程序,处理器302可执行存储器中存储的计算机程序,具体为:移动终端的处理器302确定移动终端的屏幕显示比例;移动终端的处理器302根据屏幕显示比例确定参考标记;移动终端的处理器302获取移动终端内的至少一个视频分享软件;移动终端的处理器302确定每个视频分享软件的视频显示比例;移动终端的处理器302根据至少一个视频显示比例确定参考标记;移动终端的处理器302获取与任一参考标记对应的选取指令;移动终端的处理器302根据选取指令,根据参考标记对应的显示比例显示云台设备的录制界面。
实施例十二
本实施例提出的一种可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时,处理器确定云台设备与移动终端的连接状态;在连接状态为无线通信连接时,处理器控制云台设备与移动终端进行通信连接;处理器确定与云台设备通信连接的移动终端;处理器确定移动终端的拍摄方向;若显示比例为一个,则处理器控制云台设备以显示比例录制视频;若显示比例为多个,则处理器确定多个显示比例中视角参数最大的一个显示比例;处理器控制云台设备以视角参数最大的显示比例录制视频;若显示比例为多个,则在移动终端的显示界面中显示多个对应于显示比例的参考标记;处理器接收与任一参考标记对应的选取指令;处理器根据选取指令,根据参考标记对应的显示比例显示录制界面。处理器控制云台设备的视频录制方向与拍摄方向相同;处理器确定与视频录制方向对应的至少一个显示比例根据显示比例控制云台设备录制视频;处理器在根据显示比例控制云台设备录制视频后,锁定显示比例;处理器获取云台设备的原始录制比例;处理器根据原始录制比例录制视频,生成原始视频文件;处理器 根据显示比例对原始视频文件进行处理,生成显示视频文件。
实施例十三
本实施例提出的一种可读存储介质,其上存储有计算机程序,处理器可执行的计算机程序,具体为:处理器确定移动终端的屏幕显示比例;处理器根据屏幕显示比例确定参考标记;处理器获取与任一参考标记对应的选取指令;处理器根据选取指令,根据参考标记对应的显示比例显示云台设备的录制界面。
实施例十四
本实施例提出的一种可读存储介质,其上存储有计算机程序,处理器可执行的计算机程序,具体为:处理器获取移动终端内的至少一个视频分享软件;处理器确定每个视频分享软件的视频显示比例;处理器根据至少一个视频显示比例确定参考标记;处理器获取与任一参考标记对应的选取指令;处理器根据选取指令,根据参考标记对应的显示比例显示云台设备的录制界面。
实施例十五
如图18所示,本实施例提出的一种用于云台设备的视频录制方法,包括:
步骤S1102:通过设备应用与手机取得通信,向用户发送请求,确认是否可以读取手机型号;
步骤S1104:基于手机型号获取的显示比例或根据用户设置确定显示比例;
步骤S1106:提示用户是否将录制视频的显示比例确定为竖屏16:9或某一具体尺寸,以方便在社交软件中分享视频;
步骤S1108:云台设备以最大视角参数,在设备应用中显示相应的比例虚线,虚线框以用户期望比例或手机所能获得的最大分辨率在该视角参数下最佳显示,方便用户做构图并录制;
步骤S1110:云台设备以原最大视角保存原视频,但记录相应模式期望比例,用户下载时即生成相应的期望比例视频。
本实施例中的云台设备,可以适配于不同屏幕尺寸的手机终端。在使 用该云台设备的手机终端中,装有与云台设备对应的设备应用,可以在该应用中对云台设备进行设置。在手机终端的设备应用中,可以设置按钮或提醒,当设备应用检测到手机与云台设备为无线连接状态时,提示用户是否开启云台设备匹配手机屏幕的横屏或竖屏拍摄功能。
在云台设备通过设备应用与手机取得通信,向用户发送请求,确认是否可以读取手机型号。此外,云台设备还可以通过蓝牙的连接方式与手机取得通信。云台设备的视频录制方法会基于手机型号获取显示比例,用户也可以在该模式下设置期望显示,得到模式期望的显示比例。
进一步地,云台设备的视频录制方法会提示用户是否将视频尺寸定为竖屏尺寸,如竖屏的16:9,以便用户在如抖音等社交软件上进行视频分享。
进一步地,云台设备以原先最大的FOV(即视角参数),或者做了畸变较正的FOV,在设备应用中显示相应的比例虚线,虚线框以用户期望比例或手机比例所能获得的最大分辨率在该FOV下最佳显示,方便用户做构图去录制。当然,直接显示模式期望比例,也可以实现上述效果。
进一步地,云台设备以最大的FOV,在设备应用中直接显示模式期望比例,并在该FOV下最佳显示,方便用户做构图并进行录制。这里需要说明的是,在视频录制中,云台设备的视频录制方法会锁定当前用户期望的显示比例,在录制过程中不会随手机或云台姿势变化而改变当前期望的显示比例(即横屏变为竖屏时不进行切换)。
如图19所示,图中由大到小排列的参考标记为参考标记一108,参考标记二110,参考标记三112的长宽比例均为一样,均为用户期望比例。在用户的手机屏幕上,设备应用可以自动检测用户屏幕大小数值,基于屏幕调整虚线比例至图19中的参考标记一108,尽可能达到屏幕全占比,以达到最佳显示。因此,本实施例中视频录制方法,可以解决用户在使用云台设备录制视频,将录制的视频分享到手机后,因为视频尺寸不匹配,导致视频显示时,出现视频图像被拉伸、裁剪或黑边的情况,保证视频图像能够与屏幕完美匹配,提升用户使用的体验度,方便用户构图。此外,在使用云台设备录制视频时,还可以满足用户期望拍摄竖屏视频的需求。
进一步地,云台设备能够以设备最大的FOV保存原视频,但同时记录 相应的期望比例,用户下载视频时,即生成相应的期望比例视频。
进一步地,用户还可以后期调整显示比例,对保存的原视频进行修改,以便在视频共享软件中进行视频共享。
根据本申请的视频录制方法、云台设备和移动终端和可读存储介质的实施例,可以根据移动终端设定的显示比例,确定云台设备录制视频的显示比例,使录制的视频能够满足移动终端或视频共享软件对显示比例的需求。可以减少用户拍摄录制竖屏视频或照片后使用社交软件分享时的再编辑时间和精力,方便用户构图,满足用户期望拍摄竖屏视频的需求。
在本申请中,术语“第一”、“第二”、“第三”仅用于描述的目的,而不能理解为指示或暗示相对重要性;术语“多个”则指两个或两个以上,除非另有明确的限定。术语“安装”、“相连”、“连接”、“固定”等术语均应做广义理解,例如,“连接”可以是固定连接,也可以是可拆卸连接,或一体地连接;“相连”可以是直接相连,也可以通过中间媒介间接相连。对于本领域的普通技术人员而言,可以根据具体情况理解上述术语在本申请中的具体含义。
本申请的描述中,需要理解的是,术语“上”、“下”、“左”、“右”、“前”、“后”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本申请和简化描述,而不是指示或暗示所指的装置或单元必须具有特定的方向、以特定的方位构造和操作,因此,不能理解为对本申请的限制。
在本说明书的描述中,术语“一个实施例”、“一些实施例”、“具体实施例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或特点包含于本申请的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施例或实例。而且,描述的具体特征、结构、材料或特点可以在任何的一个或多个实施例或示例中以合适的方式结合。
以上仅为本申请的优选实施例而已,并不用于限制本申请,对于本领域的技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。

Claims (15)

  1. 一种视频录制方法,用于云台设备,其中,包括:
    确定与所述云台设备通信连接的移动终端;
    确定与所述移动终端对应的至少一个显示比例;
    根据所述显示比例控制所述云台设备录制视频。
  2. 根据权利要求1所述的视频录制方法,其中,在所述确定与所述移动终端对应的至少一个显示比例之前,还包括:
    确定所述移动终端的拍摄方向;
    所述确定与所述移动终端对应的至少一个显示比例,具体包括:
    控制所述云台设备根据所述拍摄方向确定至少一个显示比例。
  3. 根据权利要求2所述的视频录制方法,其中,所述控制所述云台设备根据所述拍摄方向确定至少一个显示比例,具体包括:
    控制所述云台设备的视频录制方向与所述拍摄方向相同;
    确定与所述视频录制方向对应的至少一个显示比例。
  4. 根据权利要求1所述的视频录制方法,其中,所述根据所述显示比例控制所述云台设备录制视频,具体包括:
    若所述显示比例为一个,则控制所述云台设备以所述显示比例录制视频;
    若所述显示比例为多个,则确定多个所述显示比例中视角参数最大的一个显示比例;
    控制所述云台设备以所述视角参数最大的显示比例录制视频。
  5. 根据权利要求4所述的视频录制方法,其中,还包括:
    若所述显示比例为多个,则在所述移动终端的显示界面中显示多个对应于所述显示比例的参考标记;
    接收与任一所述参考标记对应的选取指令;
    根据所述选取指令,根据所述参考标记对应的显示比例显示录制界面。
  6. 根据权利要求5所述的视频录制方法,其中,
    多个所述参考标记与一个所述显示比例相对应,与一个所述显示比例相对应的多个参考标记之间呈等比例缩放;或
    每个所述参考标记与一个所述显示比例相对应。
  7. 根据权利要求1至6中任一项所述的视频录制方法,其中,所述根据所述显示比例控制所述云台设备录制视频,具体包括:
    获取所述云台设备的原始录制比例;
    根据所述原始录制比例录制视频,生成原始视频文件;
    根据所述显示比例对所述原始视频文件进行处理,生成显示视频文件。
  8. 根据权利要求1至6中任一项所述的视频录制方法,其中,还包括:
    在根据所述显示比例控制所述云台设备录制视频后,锁定所述显示比例。
  9. 根据权利要求1至6中任一项所述的视频录制方法,其中,在所述确定与所述云台设备通信连接的移动终端之前,还包括:
    确定所述云台设备与所述移动终端的连接状态;
    在所述连接状态为无线通信连接时,执行所述确定与所述云台设备通信连接的移动终端的步骤。
  10. 一种视频录制方法,其中,用于移动终端,所述视频录制方法包括:
    确定与所述移动终端对应的多个参考标记;
    获取与任一所述参考标记对应的选取指令;
    根据所述选取指令,根据所述参考标记对应的显示比例显示与所述移动终端相连的云台设备的录制界面。
  11. 根据权利要求10所述的视频录制方法,其中,所述确定与所述移动终端对应的多个参考标记,具体包括:
    确定所述移动终端的屏幕显示比例;
    根据所述屏幕显示比例确定所述参考标记。
  12. 根据权利要求10所述的视频录制方法,其中,所述确定与所述移动终端对应的多个参考标记,具体包括:
    获取所述移动终端内的至少一个视频分享软件;
    确定每个所述视频分享软件的视频显示比例;
    根据至少一个所述视频显示比例确定所述参考标记。
  13. 一种云台设备,其中,包括:
    处理器和存储器,所述存储器中存储有计算机程序,所述处理器用于在执行所述计算机程序时以实现如权利要求1至9中任一项所述的视频录制方法的步骤。
  14. 一种移动终端,其中,包括:
    处理器和存储器,所述存储器中存储有计算机程序,所述处理器用于在执行所述计算机程序时以实现如权利要求10至12中任一项所述的视频录制方法的步骤。
  15. 一种可读存储介质,其上存储有计算机程序,其中,所述计算机程序被处理器执行时实现如权利要求1至9中任一项所述的视频录制方法的步骤;或所述计算机程序被处理器执行时实现如权利要求10至12中任一项所述的视频录制方法的步骤。
PCT/CN2020/136567 2020-12-15 2020-12-15 视频录制方法、云台设备、移动终端和可读存储介质 WO2022126386A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/136567 WO2022126386A1 (zh) 2020-12-15 2020-12-15 视频录制方法、云台设备、移动终端和可读存储介质

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/136567 WO2022126386A1 (zh) 2020-12-15 2020-12-15 视频录制方法、云台设备、移动终端和可读存储介质

Publications (1)

Publication Number Publication Date
WO2022126386A1 true WO2022126386A1 (zh) 2022-06-23

Family

ID=82058808

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/136567 WO2022126386A1 (zh) 2020-12-15 2020-12-15 视频录制方法、云台设备、移动终端和可读存储介质

Country Status (1)

Country Link
WO (1) WO2022126386A1 (zh)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217643A (zh) * 2007-12-26 2008-07-09 广东威创视讯科技股份有限公司 动态采集捕获、显示不同大小分辨率图像的方法及其装置
CN102984494A (zh) * 2012-12-06 2013-03-20 北京小米科技有限责任公司 一种视频通讯方法及装置
CN103209290A (zh) * 2012-01-12 2013-07-17 鸿富锦精密工业(深圳)有限公司 Ptz摄像装置控制系统及方法
CN103685894A (zh) * 2013-12-29 2014-03-26 广州视声电子科技有限公司 一种比例可调摄像头
CN106331488A (zh) * 2016-08-25 2017-01-11 天脉聚源(北京)传媒科技有限公司 一种界面调整方法及装置
US20170164024A1 (en) * 2015-12-03 2017-06-08 Hisense Mobile Communications Technology Co., Ltd. Device and method for displaying a video over a network
CN107948578A (zh) * 2017-12-28 2018-04-20 深圳华望技术有限公司 视频会议系统传送带宽及分辨率的调整方法及调整装置
CN108024155A (zh) * 2017-12-15 2018-05-11 北京小度互娱科技有限公司 自适应视频宽高比的视频播放方法和装置

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217643A (zh) * 2007-12-26 2008-07-09 广东威创视讯科技股份有限公司 动态采集捕获、显示不同大小分辨率图像的方法及其装置
CN103209290A (zh) * 2012-01-12 2013-07-17 鸿富锦精密工业(深圳)有限公司 Ptz摄像装置控制系统及方法
CN102984494A (zh) * 2012-12-06 2013-03-20 北京小米科技有限责任公司 一种视频通讯方法及装置
CN103685894A (zh) * 2013-12-29 2014-03-26 广州视声电子科技有限公司 一种比例可调摄像头
US20170164024A1 (en) * 2015-12-03 2017-06-08 Hisense Mobile Communications Technology Co., Ltd. Device and method for displaying a video over a network
CN106331488A (zh) * 2016-08-25 2017-01-11 天脉聚源(北京)传媒科技有限公司 一种界面调整方法及装置
CN108024155A (zh) * 2017-12-15 2018-05-11 北京小度互娱科技有限公司 自适应视频宽高比的视频播放方法和装置
CN107948578A (zh) * 2017-12-28 2018-04-20 深圳华望技术有限公司 视频会议系统传送带宽及分辨率的调整方法及调整装置

Similar Documents

Publication Publication Date Title
US20180184001A1 (en) Apparatus, system, and method of controlling image capturing, and recording medium
KR20200028481A (ko) 촬상 장치, 화상 표시 시스템 및 조작 방법
US20190340737A1 (en) Image processing apparatus, image processing system, image capturing system, image processing method, and recording medium
US10855916B2 (en) Image processing apparatus, image capturing system, image processing method, and recording medium
US20070291177A1 (en) System, method and computer program product for providing reference lines on a viewfinder
JP2020058069A (ja) 表示装置および撮像装置
US11750934B2 (en) Imaging apparatus, image processing apparatus, control method of these, and storage medium
KR20170013877A (ko) 동적 배향 잠금, 일정한 프레이밍 및 규정된 종횡비를 갖는 사진 비디오 카메라
JPWO2015098418A1 (ja) 撮像装置及びタイムラプス撮像方法
JP6727989B2 (ja) 画像処理装置およびその制御方法
TWI640197B (zh) 合成照片的系統及方法
JP2005128437A (ja) 撮影装置
KR20040098743A (ko) 카메라의 촬영방법
US9706074B2 (en) Method and apparatus for capturing images in an electronic device
JP5076717B2 (ja) 電子カメラ
US20190289206A1 (en) Image processing apparatus, image capturing system, image processing method, and recording medium
JP6141137B2 (ja) 遠隔操作装置およびその制御方法、撮像装置およびその制御方法、システム、並びにプログラム
WO2021077650A1 (zh) 一种拍摄方法、装置以及计算机可读存储介质
US10291835B2 (en) Information processing apparatus, imaging apparatus, information processing method, and imaging system
US20140055494A1 (en) Image display device capable of displaying image in a desired orientation, method of controlling the same, and storage medium
JP5045731B2 (ja) 撮像装置、ホワイトバランス設定方法、及び、プログラム
US11825213B2 (en) Removal of image capture device from omnidirectional image created by stitching partial images
WO2022126386A1 (zh) 视频录制方法、云台设备、移动终端和可读存储介质
JP6643008B2 (ja) 画像処理装置、その制御方法、および制御プログラム、並びに記憶媒体
JP6374535B2 (ja) 操作装置、追尾システム、操作方法、及びプログラム

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: 20965404

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: 20965404

Country of ref document: EP

Kind code of ref document: A1