[go: up one dir, main page]

WO2018077203A1 - Video photographing, playing and processing method and photographing terminal - Google Patents

Video photographing, playing and processing method and photographing terminal Download PDF

Info

Publication number
WO2018077203A1
WO2018077203A1 PCT/CN2017/107733 CN2017107733W WO2018077203A1 WO 2018077203 A1 WO2018077203 A1 WO 2018077203A1 CN 2017107733 W CN2017107733 W CN 2017107733W WO 2018077203 A1 WO2018077203 A1 WO 2018077203A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
photographing
posture
photographing posture
module
Prior art date
Application number
PCT/CN2017/107733
Other languages
French (fr)
Chinese (zh)
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 中兴通讯股份有限公司
Publication of WO2018077203A1 publication Critical patent/WO2018077203A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/2628Alteration of picture size, shape, position or orientation, e.g. zooming, rotation, rolling, perspective, translation
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects

Definitions

  • the present disclosure relates to the field of photographing, and in particular, to a video photographing, playing and processing method, and a photographing terminal.
  • the user may be shaken or tilted due to user shaking or external environment, and the horizontal posture may not be maintained, which may cause the recorded video to be tilted or even inverted when the video is being played.
  • the embodiments of the present disclosure provide a video capturing, playing, and processing method and apparatus, and a photographing terminal, to at least solve the problem that the shooting video playback screen is tilted due to the non-standard shooting posture in the related art.
  • a video capture method including:
  • the photographing posture When taking a video, acquiring a photographing posture of the photographing device, the photographing posture includes an angle between the photographing reference frame and the standard direction, and the standard direction includes a gravity direction and/or a horizontal direction;
  • the captured video is stored in correspondence with the photographing posture.
  • a video playback method including:
  • the photographing posture When playing a video, acquiring a photographing posture corresponding to the video, the photographing posture includes an angle between the photographing reference frame and the standard direction, and the standard direction includes a gravity direction and/or a horizontal direction;
  • a video processing method including:
  • the photographing posture When taking a video, acquiring a photographing posture of the photographing device, the photographing posture includes an angle between the photographing reference frame and the standard direction, and the standard direction includes a gravity direction and/or a horizontal direction; and the captured video is stored corresponding to the photographing posture;
  • the photographing posture corresponding to the video is obtained; according to the photographing posture, the display effect of the video is adjusted.
  • a video capture device including: an acquisition module and a storage module, wherein
  • the acquisition module is configured to acquire a photographing posture of the photographing device when the video is captured, and the photographing posture includes an angle between the photographing reference frame and the standard direction, and the standard direction includes a gravity direction and/or a horizontal direction;
  • the storage module is configured to store the captured video in correspondence with the photographing posture.
  • a video playback apparatus including: a calling module and a display module, where
  • the calling module is configured to obtain a photographing posture corresponding to the video when the video is played, and the photographing posture includes an angle between the photographing reference frame and the standard direction, and the standard direction includes a gravity direction and/or a horizontal direction;
  • the display module is used to adjust the display effect of the video according to the photographing posture.
  • a video processing device including: a camera module and a playback module, wherein
  • the photographing module is configured to obtain a photographing posture of the photographing device when photographing the video, the photographing posture includes an angle between the photographing reference frame and the standard direction, and the standard direction includes a gravity direction and/or a horizontal direction; and the captured video is stored corresponding to the photographing posture. ;
  • the playing module is configured to obtain a photographing posture corresponding to the video when playing the video; and adjust the display effect of the video according to the photographing posture.
  • a camera terminal including a camera, a gravity sensor, a display screen, a processor, and a memory, wherein
  • the camera is used to take a video
  • the display is used to play video
  • a gravity sensor is used to detect the direction of gravity and/or the horizontal direction
  • the processor is configured to acquire a photographing posture of the photographing device by using a gravity sensor when photographing the video, the photographing posture includes an angle between the photographing reference frame and the standard direction, and the standard direction includes a gravity direction and/or a horizontal direction; the captured video and the photographing posture are to be taken.
  • Correspondingly stored in the memory when playing a video, the corresponding photographing posture of the video is called; according to the photographing posture, the display effect of the video is adjusted.
  • a computer storage medium in which computer executable instructions are stored, and computer executable instructions are used to perform the aforementioned video photographing, playing, and processing methods.
  • the embodiment of the present disclosure provides a video processing method, which simultaneously records the current photographing posture when photographing, and the photographing posture includes an angle between the photographing reference frame and the standard direction, and the standard direction includes the gravity direction and/or the horizontal direction. And saved in the video file, in the playback, according to the photo posture saved in the video file, the video data is rotated correspondingly, or the user is photographed in the playback screen to solve the problem in the prior art.
  • the lack of standard poses a problem that causes the video playback screen to tilt.
  • FIG. 1 is a flowchart of a video processing method according to a first embodiment of the present disclosure
  • FIG. 2 is a schematic structural diagram of a video processing apparatus according to a second embodiment of the present disclosure
  • FIG. 3 is a schematic structural diagram of a photographing terminal according to a third embodiment of the present disclosure.
  • FIG. 4 is a flowchart of a video photographing method according to a fourth embodiment of the present disclosure.
  • FIG. 5 is a first flowchart of a video playing method according to a fourth embodiment of the present disclosure.
  • FIG. 6 is a second flowchart of a video playing method according to a fourth embodiment of the present disclosure.
  • FIG. 7 is a schematic structural diagram of a video terminal according to a fourth embodiment of the present disclosure.
  • FIG. 8 is a first schematic diagram of a photographing posture according to a fourth embodiment of the present disclosure.
  • FIG. 9 is a second schematic diagram of a photographing posture according to a fourth embodiment of the present disclosure.
  • FIG. 10 is a schematic diagram of photographed content provided by a fourth embodiment of the present disclosure.
  • FIG. 11 is a first schematic diagram of a play screen according to a fourth embodiment of the present disclosure.
  • FIG. 12 is a second schematic diagram of a play screen according to a fourth embodiment of the present disclosure.
  • the video to which the present disclosure relates includes a single video frame (ie, a photo), a video file in which a plurality of video frames are formed in chronological order.
  • FIG. 1 is a flowchart of a video processing method according to a first embodiment of the present disclosure. As shown in FIG. 1, the video processing method provided in this embodiment includes:
  • S101 Acquire a photographing posture of the photographing device when photographing the video, the photographing posture includes an angle between the photographing reference frame and the standard direction, the standard direction includes a gravity direction and/or a horizontal direction; and the captured video is stored corresponding to the photographing posture;
  • S102 When playing a video, obtain a photographing posture corresponding to the video; and adjust a display effect of the video according to the photographing posture.
  • the method in the above embodiment further includes: according to a user operation, setting whether to open a function of storing a photographing posture and/or adjusting a display effect of the video according to the photographing posture.
  • the present disclosure provides a video capture method, including:
  • the photographing posture When taking a video, acquiring a photographing posture of the photographing device, the photographing posture includes an angle between the photographing reference frame and the standard direction, and the standard direction includes a gravity direction and/or a horizontal direction;
  • the captured video is stored in correspondence with the photographing posture.
  • the photographing posture of the acquiring photographing device in the above embodiment includes:
  • the storing the captured video and the photographing gesture in the above embodiment includes:
  • the photographing posture is added to the video for storage;
  • the photographing gesture is stored as an extension file of the video, and stored separately.
  • the present disclosure provides a video playing method, including:
  • the photographing posture When playing a video, acquiring a photographing posture corresponding to the video, the photographing posture includes an angle between the photographing reference frame and the standard direction, and the standard direction includes a gravity direction and/or a horizontal direction;
  • the display effect of the adjusted video in the above embodiment includes:
  • the photographing posture is displayed in the play screen of the video.
  • FIG. 2 is a schematic structural diagram of a video processing apparatus according to a second embodiment of the present disclosure.
  • the video processing apparatus provided in this embodiment includes: a photographing module 21 and a playing module 22, wherein
  • the photographing module 21 is configured to acquire a photographing posture of the photographing device when photographing the video, the photographing posture includes an angle between the photographing reference frame and the standard direction, and the standard direction includes a gravity direction and/or a horizontal direction; and the captured video corresponds to the photographing posture storage;
  • the playing module 22 is configured to acquire a photographing posture corresponding to the video when playing the video; and adjust the display effect of the video according to the photographing posture.
  • the video processing apparatus in the above embodiment further includes an enabling module configured to set whether to enable the function of storing the photographing posture and/or adjusting the display effect of the video according to the photographing posture according to a user operation.
  • the present disclosure provides a video capture apparatus, including: an acquisition module and a storage module, where
  • the acquisition module is configured to acquire a photographing posture of the photographing device when the video is captured, and the photographing posture includes an angle between the photographing reference frame and the standard direction, and the standard direction includes a gravity direction and/or a horizontal direction;
  • the storage module is configured to store the captured video in correspondence with the photographing posture.
  • the acquisition module in the above embodiment is configured to acquire a photographing posture before/after capturing a video; and/or periodically acquire a photographing posture when photographing a video; and/or before photographing the video When the photographing posture changes, the photographing posture is acquired.
  • the storage module in the above embodiment is configured to add a photographing gesture to the video for storage; and/or to store the photographing gesture as an extended file of the video.
  • the present disclosure provides a video playback apparatus, including: a calling module and a display module, among them,
  • the calling module is configured to obtain a photographing posture corresponding to the video when the video is played, and the photographing posture includes an angle between the photographing reference frame and the standard direction, and the standard direction includes a gravity direction and/or a horizontal direction;
  • the display module is used to adjust the display effect of the video according to the photographing posture.
  • the display module in the above embodiment is used to zoom the play screen of the video, adjust the angle between the play screen and the playback device according to the photographing posture; and/or, on the play screen of the video, adopt a new map.
  • the layer mode displays the photographing posture; and/or, in the video playback screen, the photographing posture is displayed.
  • all the functional modules in the embodiment shown in FIG. 2 can be implemented by using a processor, an editing logic device, or the like.
  • the photographing terminal provided in this embodiment includes: a camera 31, a gravity sensor 32, a display screen 33, a processor 34, and a memory 35, wherein ,
  • the camera is used to take a video
  • the display is used to play video
  • a gravity sensor is used to detect the direction of gravity and/or the horizontal direction
  • the processor is configured to acquire a photographing posture of the photographing device by using a gravity sensor when photographing the video, the photographing posture includes an angle between the photographing reference frame and the standard direction, and the standard direction includes a gravity direction and/or a horizontal direction; the captured video and the photographing posture are to be taken.
  • Correspondingly stored in the memory when playing a video, the corresponding photographing posture of the video is called; according to the photographing posture, the display effect of the video is adjusted.
  • the processor in the above embodiment is configured to acquire a photographing posture before/after capturing a video; and/or periodically acquire a photographing posture when photographing a video; and/or, before taking a video and taking a photo When the posture changes, the photographing posture is acquired.
  • the processor in the above embodiment is configured to add a photographing gesture to the video for storage; and/or to store the photographing gesture as an extended file of the video, independently.
  • the processor in the above embodiment is used to zoom the play screen of the video, adjust the angle between the play screen and the playback device according to the photographing posture; and/or, on the play screen of the video, adopt a new layer.
  • the way to display the photographing posture; and/or, in the play screen of the video, the photographing posture is displayed.
  • the processor in the above embodiment is further configured to set whether to open a function of storing a photographing posture and/or adjusting a display effect of the video according to the photographing posture according to a user operation.
  • the embodiment provides a method for video shooting and playing.
  • the gravity direction data of the mobile phone at the time of synchronization is saved in the video file.
  • the video data is subjected to a corresponding rotation restoration operation, or the user is prompted for the gravity direction in the playback screen.
  • FIG. 4 is a schematic flowchart of a video capture method according to an embodiment of the present disclosure, specifically:
  • Step S401 Check whether the gravity shooting function switch is turned on
  • Step S402 Start a gravity sensing module
  • Step S403 The acquired gravity sensing module data is saved together with the video and audio data into the video file.
  • FIG. 5 is a schematic diagram of a first process of the video playback method according to the embodiment.
  • Step S501 Check whether the gravity beat play switch is turned on
  • Step S502 reading gravity direction data from the video file
  • Step S503 Perform corresponding rotation on the played video image according to the gravity sensor data.
  • FIG. 6 is a second schematic flowchart of a video playback method according to the embodiment.
  • Step S601 Check whether the gravity beat play switch is turned on
  • Step S602 reading gravity direction data from the video file
  • Step S603 prompting the user in the gravity direction according to the gravity direction data in the video playing screen.
  • FIG. 7 is a block diagram of a system structure of a camera terminal according to the embodiment.
  • FIG. 7 is as follows:
  • the gravity shooting and playback function switch configuration module is responsible for providing an interface for the user to achieve the purpose of configuring the gravity shooting function and the gravity playback function opening and closing functions respectively;
  • the gravity sensing module is responsible for judging the current posture of the mobile phone, and providing posture data for other modules, mainly by a gravity sensor built in the mobile phone;
  • the video capture and file save module is responsible for the video capture of the mobile phone through the built-in camera of the mobile phone, and the captured image data is saved to the file system of the mobile phone according to a certain video format.
  • the video file reading and playing module is responsible for reading the video file from the file system, performing decoding, and performing necessary graphic image processing operations, and presenting the graphic data saved in the file through the display module;
  • the display module refers to a built-in or external graphic output device of the mobile phone
  • Gravity shooting and playback master control module is responsible for coordinating each module to achieve gravity video capture and playback.
  • the method provided in this embodiment includes:
  • Step S401 Check whether the gravity shooting function switch is turned on
  • the gravity shooting and playback main control module reads the setting value of the gravity shooting function switch from the gravity shooting and playback switch control module, and if not, the mobile phone follows the normal video shooting process. If yes, the process proceeds to the next step S402.
  • Step S402 Start a gravity sensing module
  • the gravity sensing module is immediately activated.
  • Step S403 The acquired gravity sensing module data is saved together with the video and audio data into the video file.
  • the gravity shooting and playing main control module obtains the current gravity direction data of the mobile phone from the gravity sensing module according to a certain frequency, preferably, the camera picks up the image pickup frequency, such as 30 Hz, 60 Hz (with two-axis and three-axis gravity) In the mobile phone of the sensor, it is calculated by combining the X-axis and Y-axis gravity data, which belongs to the prior art). As shown in Figures 8 and 9, the angle a between the direction of gravity G and the downward direction D of the handset.
  • the gravity direction G is the plane of the mobile phone screen and the gradient of the horizontal plane is reduced; wherein the downward direction of the mobile phone is the vertical line of the line where the bottom end of the mobile phone screen is located on the plane of the screen, and points to the downward direction of the mobile phone.
  • the gravity shooting and playing main control module according to a certain frequency, preferably, the camera picks up the image pickup frequency, such as 30 Hz, 60 Hz, the angle value a is sent to the video shooting and saving module, and the latter passes the video file
  • the extension continuously saves the gravity direction data to the video file.
  • video files such as avi, rmvb, etc.
  • the index area internally stores the correspondence between the playback time point of the sample data of various multimedia data and the storage location in the file, and the index is The extension of the zone and data zone allows new types of media data to be added to the video file.
  • Step S501 Check whether the gravity beat play switch is turned on
  • the gravity shooting and playing main control module reads the setting value of the gravity playing function switch from the gravity shooting and playback switch control module, and if not, the mobile phone follows the normal video playing process. If yes, the process proceeds to the next step S502.
  • Step S502 reading gravity direction data from the video file
  • the gravity shooting and playing main control module sends a gravity play event to the video file to read the play module, or directly call
  • the video file reads the function interface of the playing module, and then the video file reading and playing module parses each audio and video track data of the video file frame by frame, and at the same time, parses out the gravity direction data contained in the file.
  • Step S503 Perform corresponding rotation on the played video image according to the gravity sensor data
  • the video file reading and playing module obtains the gravity direction data
  • the previously parsed image is rotated according to the angle, and then drawn into the graphic data buffer (screen) provided by the graphic system.
  • the graphic data buffer provided by the graphic system.
  • Figure 10 is the original image taken, and the attitude of the mobile phone at the time.
  • the display effect of step S503 is as shown in FIG. 11, wherein the G arrow and the D arrow are indications of the direction, and the inscribed circle, in the specific implementation, does not need to be drawn.
  • Step S601 Check whether the gravity beat play switch is turned on
  • the gravity shooting and playing main control module reads the setting value of the gravity playing function switch from the gravity shooting and playback switch control module, and if not, the mobile phone follows the normal video playing process. If yes, the process proceeds to the next step S602.
  • Step S602 reading gravity direction data from the video file
  • the gravity shooting and playing main control module sends a gravity playing event to the video file reading and playing module, or directly calls the video file to read the function interface of the playing module, and then the video file reading and playing module parses each audio and video track data of the video file frame by frame. At the same time, the gravity direction data contained in the file is parsed.
  • Step S603 prompting the user in the gravity direction according to the gravity direction data in the video playing screen
  • the gravity direction indication is drawn in the edge of the previously parsed image according to the angle, and then the graphic data buffer provided by the graphic system is drawn ( Inside the screen).
  • the embodiment of the present disclosure provides a video processing method, which simultaneously records the current photographing posture when photographing, and the photographing posture includes an angle between the photographing reference frame and the standard direction, and the standard direction includes the gravity direction and/or the horizontal direction. And saved in the video file, in the playback, according to the photo posture saved in the video file, the video data is rotated correspondingly, or the user is photographed in the playback screen to solve the problem in the prior art.
  • the lack of standard poses a problem that causes the video playback screen to tilt.
  • embodiments of the present disclosure can be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware aspects. Moreover, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Landscapes

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

Abstract

Embodiments of the present invention provide a video photographing, playing and processing method and a photographing terminal. The method comprises: obtaining a photographing posture of a photographing device during video photographing, the photographing posture comprising an included angle between a photographing reference box and a standard direction which comprises a gravitational direction and/or a horizontal direction; correspondingly storing the photographed video and the photographing posture; obtaining the photographing posture corresponding to the video during video playing; and adjusting the display effect of the video according to the photographing posture. In the present invention, during photographing, the current photographing posture is recorded synchronously, and is saved in a video file; during playing, according to the photographing posture saved in the video file, a rotary recovery operation is performed on video data correspondingly, or a photographing posture prompt is provided for a user in the played image, so that the problem in the prior art of the inclined played image of the photographed video caused by a nonstandard photographing posture. (Fig. 1)

Description

一种视频拍摄、播放和处理方法以及拍照终端Video shooting, playing and processing method and camera terminal 技术领域Technical field
本公开涉及拍照领域,尤其涉及一种视频拍摄、播放和处理方法以及拍照终端。The present disclosure relates to the field of photographing, and in particular, to a video photographing, playing and processing method, and a photographing terminal.
背景技术Background technique
在摄像过程中,由于用户晃动或者外部环境造成手机造成晃动、倾斜,无法保持水平姿态,进而导致录制的视频在播放的时候,出现画面倾斜甚至倒置的情况。During the imaging process, the user may be shaken or tilted due to user shaking or external environment, and the horizontal posture may not be maintained, which may cause the recorded video to be tilted or even inverted when the video is being played.
发明内容Summary of the invention
本公开实施例提供了一种视频拍摄、播放、处理方法及装置、拍照终端,以至少解决相关技术中因拍摄姿势不标准导致拍摄视频播放画面倾斜的问题。The embodiments of the present disclosure provide a video capturing, playing, and processing method and apparatus, and a photographing terminal, to at least solve the problem that the shooting video playback screen is tilted due to the non-standard shooting posture in the related art.
一方面,提供了一种视频拍摄方法,包括:In one aspect, a video capture method is provided, including:
在拍摄视频时,获取拍摄设备的拍照姿势,拍照姿势包括拍照基准框与标准方向的夹角,标准方向包括重力方向和/或水平方向;When taking a video, acquiring a photographing posture of the photographing device, the photographing posture includes an angle between the photographing reference frame and the standard direction, and the standard direction includes a gravity direction and/or a horizontal direction;
将拍摄得到的视频与拍照姿势对应存储。The captured video is stored in correspondence with the photographing posture.
一方面,提供了一种视频播放方法,包括:In one aspect, a video playback method is provided, including:
在播放视频时,获取视频对应的拍照姿势,拍照姿势包括拍照基准框与标准方向的夹角,标准方向包括重力方向和/或水平方向;When playing a video, acquiring a photographing posture corresponding to the video, the photographing posture includes an angle between the photographing reference frame and the standard direction, and the standard direction includes a gravity direction and/or a horizontal direction;
根据拍照姿势,调整视频的显示效果。Adjust the display effect of the video according to the photographing posture.
一方面,提供了一种视频处理方法,包括:In one aspect, a video processing method is provided, including:
在拍摄视频时,获取拍摄设备的拍照姿势,拍照姿势包括拍照基准框与标准方向的夹角,标准方向包括重力方向和/或水平方向;将拍摄得到的视频与拍照姿势对应存储;When taking a video, acquiring a photographing posture of the photographing device, the photographing posture includes an angle between the photographing reference frame and the standard direction, and the standard direction includes a gravity direction and/or a horizontal direction; and the captured video is stored corresponding to the photographing posture;
在播放视频时,获取视频对应的拍照姿势;根据拍照姿势,调整视频的显示效果。When the video is played, the photographing posture corresponding to the video is obtained; according to the photographing posture, the display effect of the video is adjusted.
一方面,提供了一种视频拍摄装置,包括:采集模块及存储模块,其中,In one aspect, a video capture device is provided, including: an acquisition module and a storage module, wherein
采集模块用于在拍摄视频时,获取拍摄设备的拍照姿势,拍照姿势包括拍照基准框与标准方向的夹角,标准方向包括重力方向和/或水平方向;The acquisition module is configured to acquire a photographing posture of the photographing device when the video is captured, and the photographing posture includes an angle between the photographing reference frame and the standard direction, and the standard direction includes a gravity direction and/or a horizontal direction;
存储模块用于将拍摄得到的视频与拍照姿势对应存储。 The storage module is configured to store the captured video in correspondence with the photographing posture.
一方面,提供了一种视频播放装置,包括:调用模块及显示模块,其中,In one aspect, a video playback apparatus is provided, including: a calling module and a display module, where
调用模块用于在播放视频时,获取视频对应的拍照姿势,拍照姿势包括拍照基准框与标准方向的夹角,标准方向包括重力方向和/或水平方向;The calling module is configured to obtain a photographing posture corresponding to the video when the video is played, and the photographing posture includes an angle between the photographing reference frame and the standard direction, and the standard direction includes a gravity direction and/or a horizontal direction;
显示模块用于根据拍照姿势,调整视频的显示效果。The display module is used to adjust the display effect of the video according to the photographing posture.
一方面,提供了一种视频处理装置,包括:拍照模块及播放模块,其中,In one aspect, a video processing device is provided, including: a camera module and a playback module, wherein
拍照模块用于在拍摄视频时,获取拍摄设备的拍照姿势,拍照姿势包括拍照基准框与标准方向的夹角,标准方向包括重力方向和/或水平方向;将拍摄得到的视频与拍照姿势对应存储;The photographing module is configured to obtain a photographing posture of the photographing device when photographing the video, the photographing posture includes an angle between the photographing reference frame and the standard direction, and the standard direction includes a gravity direction and/or a horizontal direction; and the captured video is stored corresponding to the photographing posture. ;
播放模块用于在播放视频时,获取视频对应的拍照姿势;根据拍照姿势,调整视频的显示效果。The playing module is configured to obtain a photographing posture corresponding to the video when playing the video; and adjust the display effect of the video according to the photographing posture.
一方面,提供了一种拍照终端,包括摄像头、重力传感器、显示屏、处理器及存储器,其中,In one aspect, a camera terminal is provided, including a camera, a gravity sensor, a display screen, a processor, and a memory, wherein
摄像头用于拍照视频;The camera is used to take a video;
显示屏用于播放视频;The display is used to play video;
重力传感器用于检测重力方向和/或水平方向;A gravity sensor is used to detect the direction of gravity and/or the horizontal direction;
处理器用于在拍摄视频时,通过重力传感器获取拍摄设备的拍照姿势,拍照姿势包括拍照基准框与标准方向的夹角,标准方向包括重力方向和/或水平方向;将拍摄得到的视频与拍照姿势对应存储在存储器内;在播放视频时,调用视频对应的拍照姿势;根据拍照姿势,调整视频的显示效果。The processor is configured to acquire a photographing posture of the photographing device by using a gravity sensor when photographing the video, the photographing posture includes an angle between the photographing reference frame and the standard direction, and the standard direction includes a gravity direction and/or a horizontal direction; the captured video and the photographing posture are to be taken. Correspondingly stored in the memory; when playing a video, the corresponding photographing posture of the video is called; according to the photographing posture, the display effect of the video is adjusted.
另一方面,提供了一种计算机存储介质,计算机存储介质中存储有计算机可执行指令,计算机可执行指令用于执行前述的视频拍照、播放、处理方法。In another aspect, a computer storage medium is provided, in which computer executable instructions are stored, and computer executable instructions are used to perform the aforementioned video photographing, playing, and processing methods.
本公开实施例的有益效果:Advantageous effects of embodiments of the present disclosure:
本公开实施例提供了一种视频处理方法,该方法在拍摄时,同步的纪录下当时的拍照姿势,拍照姿势包括拍照基准框与标准方向的夹角,标准方向包括重力方向和/或水平方向,并保存在视频文件中,在播放时,按照视频文件中保存的拍照姿势,对视频数据进行相应旋转复原操作,或者在播放画面中对用户进行拍照姿势提示,解决了现有技术中因拍摄姿势不标准导致拍摄视频播放画面倾斜的问题。The embodiment of the present disclosure provides a video processing method, which simultaneously records the current photographing posture when photographing, and the photographing posture includes an angle between the photographing reference frame and the standard direction, and the standard direction includes the gravity direction and/or the horizontal direction. And saved in the video file, in the playback, according to the photo posture saved in the video file, the video data is rotated correspondingly, or the user is photographed in the playback screen to solve the problem in the prior art. The lack of standard poses a problem that causes the video playback screen to tilt.
附图说明DRAWINGS
图1为本公开第一实施例提供的视频处理方法的流程图;FIG. 1 is a flowchart of a video processing method according to a first embodiment of the present disclosure;
图2为本公开第二实施例提供的视频处理装置的结构示意图; FIG. 2 is a schematic structural diagram of a video processing apparatus according to a second embodiment of the present disclosure;
图3为本公开第三实施例提供的拍照终端的结构示意图;FIG. 3 is a schematic structural diagram of a photographing terminal according to a third embodiment of the present disclosure;
图4为本公开第四实施例提供的视频拍照方法的流程图;4 is a flowchart of a video photographing method according to a fourth embodiment of the present disclosure;
图5为本公开第四实施例提供的视频播放方法的第一种流程图;FIG. 5 is a first flowchart of a video playing method according to a fourth embodiment of the present disclosure;
图6为本公开第四实施例提供的视频播放方法的第二种流程图;FIG. 6 is a second flowchart of a video playing method according to a fourth embodiment of the present disclosure;
图7为本公开第四实施例提供的视频终端的结构示意图;FIG. 7 is a schematic structural diagram of a video terminal according to a fourth embodiment of the present disclosure;
图8为本公开第四实施例提供的拍照姿势的第一种示意图;FIG. 8 is a first schematic diagram of a photographing posture according to a fourth embodiment of the present disclosure; FIG.
图9为本公开第四实施例提供的拍照姿势的第二种示意图;FIG. 9 is a second schematic diagram of a photographing posture according to a fourth embodiment of the present disclosure;
图10为本公开第四实施例提供的拍照内容的示意图;FIG. 10 is a schematic diagram of photographed content provided by a fourth embodiment of the present disclosure; FIG.
图11为本公开第四实施例提供的播放画面的第一种示意图;FIG. 11 is a first schematic diagram of a play screen according to a fourth embodiment of the present disclosure;
图12为本公开第四实施例提供的播放画面的第二种示意图。FIG. 12 is a second schematic diagram of a play screen according to a fourth embodiment of the present disclosure.
具体实施方式detailed description
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例只是本公开中一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。The technical solutions in the embodiments of the present disclosure are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present disclosure. It is obvious that the described embodiments are only a part of the embodiments of the present disclosure, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present disclosure without departing from the inventive scope are the scope of the disclosure.
本公开所涉及的视频包括单个视频帧(即照片)、多个视频帧按照时间顺序形成的视频文件。The video to which the present disclosure relates includes a single video frame (ie, a photo), a video file in which a plurality of video frames are formed in chronological order.
现通过具体实施方式结合附图的方式对本公开做出进一步的诠释说明。The present disclosure is further illustrated by the specific embodiments in conjunction with the accompanying drawings.
第一实施例:First embodiment:
图1为本公开第一实施例提供的视频处理方法的流程图,由图1可知,本实施例提供的视频处理方法包括:FIG. 1 is a flowchart of a video processing method according to a first embodiment of the present disclosure. As shown in FIG. 1, the video processing method provided in this embodiment includes:
S101:在拍摄视频时,获取拍摄设备的拍照姿势,拍照姿势包括拍照基准框与标准方向的夹角,标准方向包括重力方向和/或水平方向;将拍摄得到的视频与拍照姿势对应存储;S101: Acquire a photographing posture of the photographing device when photographing the video, the photographing posture includes an angle between the photographing reference frame and the standard direction, the standard direction includes a gravity direction and/or a horizontal direction; and the captured video is stored corresponding to the photographing posture;
S102:在播放视频时,获取视频对应的拍照姿势;根据拍照姿势,调整视频的显示效果。S102: When playing a video, obtain a photographing posture corresponding to the video; and adjust a display effect of the video according to the photographing posture.
在一些实施例中,上述实施例中的方法还包括:根据用户操作,设置是否开启存储拍照姿势和/或根据拍照姿势调整视频的显示效果的功能。In some embodiments, the method in the above embodiment further includes: according to a user operation, setting whether to open a function of storing a photographing posture and/or adjusting a display effect of the video according to the photographing posture.
在一些实施例中,本公开提供了一种视频拍摄方法,包括:In some embodiments, the present disclosure provides a video capture method, including:
在拍摄视频时,获取拍摄设备的拍照姿势,拍照姿势包括拍照基准框与标准方向的夹角,标准方向包括重力方向和/或水平方向;When taking a video, acquiring a photographing posture of the photographing device, the photographing posture includes an angle between the photographing reference frame and the standard direction, and the standard direction includes a gravity direction and/or a horizontal direction;
将拍摄得到的视频与拍照姿势对应存储。The captured video is stored in correspondence with the photographing posture.
在一些实施例中,上述实施例中的获取拍摄设备的拍照姿势包括:In some embodiments, the photographing posture of the acquiring photographing device in the above embodiment includes:
在拍摄视频前/后,获取拍照姿势; Get a photo pose before/after taking a video;
和/或,在拍摄视频时,周期性获取拍照姿势;And/or, when taking a video, periodically taking a photo gesture;
和/或,在拍摄视频前及拍照姿势变化时,获取拍照姿势。And/or, take a photo pose before the video is taken and the photographing posture changes.
在一些实施例中,上述实施例中的将拍摄得到的视频与拍照姿势对应存储包括:In some embodiments, the storing the captured video and the photographing gesture in the above embodiment includes:
如采用水印等方式,将拍照姿势增加到视频内进行存储;If a watermark or the like is used, the photographing posture is added to the video for storage;
和/或,将拍照姿势作为视频的扩展文件,独立存储。And/or, the photographing gesture is stored as an extension file of the video, and stored separately.
在一些实施例中,本公开提供了一种视频播放方法,包括:In some embodiments, the present disclosure provides a video playing method, including:
在播放视频时,获取视频对应的拍照姿势,拍照姿势包括拍照基准框与标准方向的夹角,标准方向包括重力方向和/或水平方向;When playing a video, acquiring a photographing posture corresponding to the video, the photographing posture includes an angle between the photographing reference frame and the standard direction, and the standard direction includes a gravity direction and/or a horizontal direction;
根据拍照姿势,调整视频的显示效果。Adjust the display effect of the video according to the photographing posture.
在一些实施例中,上述实施例中的调整视频的显示效果包括:In some embodiments, the display effect of the adjusted video in the above embodiment includes:
缩放视频的播放画面,根据拍照姿势,调整播放画面与播放设备的夹角;Zooming the playback screen of the video, adjusting the angle between the playback screen and the playback device according to the photographing posture;
和/或,在视频的播放画面上,采用新增图层的方式显示拍照姿势;And/or, on the play screen of the video, display the photographing posture by adding a new layer;
和/或,采用水印等方式,在视频的播放画面内,显示拍照姿势。And/or, using a watermark or the like, the photographing posture is displayed in the play screen of the video.
第二实施例:Second embodiment:
图2为本公开第二实施例提供的视频处理装置的结构示意图,由图2可知,本实施例提供的视频处理装置包括:拍照模块21及播放模块22,其中,2 is a schematic structural diagram of a video processing apparatus according to a second embodiment of the present disclosure. As shown in FIG. 2, the video processing apparatus provided in this embodiment includes: a photographing module 21 and a playing module 22, wherein
拍照模块21用于在拍摄视频时,获取拍摄设备的拍照姿势,拍照姿势包括拍照基准框与标准方向的夹角,标准方向包括重力方向和/或水平方向;将拍摄得到的视频与拍照姿势对应存储;The photographing module 21 is configured to acquire a photographing posture of the photographing device when photographing the video, the photographing posture includes an angle between the photographing reference frame and the standard direction, and the standard direction includes a gravity direction and/or a horizontal direction; and the captured video corresponds to the photographing posture storage;
播放模块22用于在播放视频时,获取视频对应的拍照姿势;根据拍照姿势,调整视频的显示效果。The playing module 22 is configured to acquire a photographing posture corresponding to the video when playing the video; and adjust the display effect of the video according to the photographing posture.
在一些实施例中,上述实施例中的视频处理装置,还包括使能模块,用于根据用户操作,设置是否开启存储拍照姿势和/或根据拍照姿势调整视频的显示效果的功能。In some embodiments, the video processing apparatus in the above embodiment further includes an enabling module configured to set whether to enable the function of storing the photographing posture and/or adjusting the display effect of the video according to the photographing posture according to a user operation.
在一些实施例中,本公开提供了一种视频拍摄装置,包括:采集模块及存储模块,其中,In some embodiments, the present disclosure provides a video capture apparatus, including: an acquisition module and a storage module, where
采集模块用于在拍摄视频时,获取拍摄设备的拍照姿势,拍照姿势包括拍照基准框与标准方向的夹角,标准方向包括重力方向和/或水平方向;The acquisition module is configured to acquire a photographing posture of the photographing device when the video is captured, and the photographing posture includes an angle between the photographing reference frame and the standard direction, and the standard direction includes a gravity direction and/or a horizontal direction;
存储模块用于将拍摄得到的视频与拍照姿势对应存储。The storage module is configured to store the captured video in correspondence with the photographing posture.
在一些实施例中,上述实施例中的采集模块用于在拍摄视频前/后,获取拍照姿势;和/或,在拍摄视频时,周期性获取拍照姿势;和/或,在拍摄视频前及拍照姿势变化时,获取拍照姿势。In some embodiments, the acquisition module in the above embodiment is configured to acquire a photographing posture before/after capturing a video; and/or periodically acquire a photographing posture when photographing a video; and/or before photographing the video When the photographing posture changes, the photographing posture is acquired.
在一些实施例中,上述实施例中的存储模块用于将拍照姿势增加到视频内进行存储;和/或,将拍照姿势作为视频的扩展文件,独立存储。In some embodiments, the storage module in the above embodiment is configured to add a photographing gesture to the video for storage; and/or to store the photographing gesture as an extended file of the video.
在一些实施例中,本公开提供了一种视频播放装置,包括:调用模块及显示模块, 其中,In some embodiments, the present disclosure provides a video playback apparatus, including: a calling module and a display module, among them,
调用模块用于在播放视频时,获取视频对应的拍照姿势,拍照姿势包括拍照基准框与标准方向的夹角,标准方向包括重力方向和/或水平方向;The calling module is configured to obtain a photographing posture corresponding to the video when the video is played, and the photographing posture includes an angle between the photographing reference frame and the standard direction, and the standard direction includes a gravity direction and/or a horizontal direction;
显示模块用于根据拍照姿势,调整视频的显示效果。The display module is used to adjust the display effect of the video according to the photographing posture.
在一些实施例中,上述实施例中的显示模块用于缩放视频的播放画面,根据拍照姿势,调整播放画面与播放设备的夹角;和/或,在视频的播放画面上,采用新增图层的方式显示拍照姿势;和/或,在视频的播放画面内,显示拍照姿势。In some embodiments, the display module in the above embodiment is used to zoom the play screen of the video, adjust the angle between the play screen and the playback device according to the photographing posture; and/or, on the play screen of the video, adopt a new map. The layer mode displays the photographing posture; and/or, in the video playback screen, the photographing posture is displayed.
在实际应用中,图2所示实施例中的所有功能模块,都可以采用处理器、编辑逻辑器件等方式实现。In practical applications, all the functional modules in the embodiment shown in FIG. 2 can be implemented by using a processor, an editing logic device, or the like.
第三实施例:Third embodiment:
图3为本公开第二实施例提供的拍照终端的结构示意图,由图3可知,本实施例提供的拍照终端包括:摄像头31、重力传感器32、显示屏33、处理器34及存储器35,其中,3 is a schematic structural diagram of a photographing terminal according to a second embodiment of the present disclosure. As shown in FIG. 3, the photographing terminal provided in this embodiment includes: a camera 31, a gravity sensor 32, a display screen 33, a processor 34, and a memory 35, wherein ,
摄像头用于拍照视频;The camera is used to take a video;
显示屏用于播放视频;The display is used to play video;
重力传感器用于检测重力方向和/或水平方向;A gravity sensor is used to detect the direction of gravity and/or the horizontal direction;
处理器用于在拍摄视频时,通过重力传感器获取拍摄设备的拍照姿势,拍照姿势包括拍照基准框与标准方向的夹角,标准方向包括重力方向和/或水平方向;将拍摄得到的视频与拍照姿势对应存储在存储器内;在播放视频时,调用视频对应的拍照姿势;根据拍照姿势,调整视频的显示效果。The processor is configured to acquire a photographing posture of the photographing device by using a gravity sensor when photographing the video, the photographing posture includes an angle between the photographing reference frame and the standard direction, and the standard direction includes a gravity direction and/or a horizontal direction; the captured video and the photographing posture are to be taken. Correspondingly stored in the memory; when playing a video, the corresponding photographing posture of the video is called; according to the photographing posture, the display effect of the video is adjusted.
在一些实施例中,上述实施例中的处理器用于在拍摄视频前/后,获取拍照姿势;和/或,在拍摄视频时,周期性获取拍照姿势;和/或,在拍摄视频前及拍照姿势变化时,获取拍照姿势。In some embodiments, the processor in the above embodiment is configured to acquire a photographing posture before/after capturing a video; and/or periodically acquire a photographing posture when photographing a video; and/or, before taking a video and taking a photo When the posture changes, the photographing posture is acquired.
在一些实施例中,上述实施例中的处理器用于将拍照姿势增加到视频内进行存储;和/或,将拍照姿势作为视频的扩展文件,独立存储。In some embodiments, the processor in the above embodiment is configured to add a photographing gesture to the video for storage; and/or to store the photographing gesture as an extended file of the video, independently.
在一些实施例中,上述实施例中的处理器用于缩放视频的播放画面,根据拍照姿势,调整播放画面与播放设备的夹角;和/或,在视频的播放画面上,采用新增图层的方式显示拍照姿势;和/或,在视频的播放画面内,显示拍照姿势。In some embodiments, the processor in the above embodiment is used to zoom the play screen of the video, adjust the angle between the play screen and the playback device according to the photographing posture; and/or, on the play screen of the video, adopt a new layer. The way to display the photographing posture; and/or, in the play screen of the video, the photographing posture is displayed.
在一些实施例中,上述实施例中的处理器还用于根据用户操作,设置是否开启存储拍照姿势和/或根据拍照姿势调整视频的显示效果的功能。In some embodiments, the processor in the above embodiment is further configured to set whether to open a function of storing a photographing posture and/or adjusting a display effect of the video according to the photographing posture according to a user operation.
第四实施例:Fourth embodiment:
现结合具体应用场景对本公开做进一步的诠释说明。The present disclosure will be further explained in conjunction with specific application scenarios.
本实施例提供了一种视频拍摄及播放的方法,在拍摄时,同步的纪录下手机当时的重力方向数据保存在视频文件中,相反地,在播放时,按照视频文件中保存的重力方向数据, 对视频数据进行相应旋转复原操作,或者在播放画面中对用户进行重力方向提示。The embodiment provides a method for video shooting and playing. When shooting, the gravity direction data of the mobile phone at the time of synchronization is saved in the video file. Conversely, during playback, according to the gravity direction data saved in the video file. , The video data is subjected to a corresponding rotation restoration operation, or the user is prompted for the gravity direction in the playback screen.
本实施例提供了一种手机视频拍摄及播放的方法,请参考图4,图4为本实施例提供的视频拍摄的方法的流程示意图,具体为:This embodiment provides a method for video capture and playback of a mobile phone. Referring to FIG. 4, FIG. 4 is a schematic flowchart of a video capture method according to an embodiment of the present disclosure, specifically:
步骤S401:检查重力拍摄功能开关是否打开;Step S401: Check whether the gravity shooting function switch is turned on;
步骤S402:启动重力传感模块;Step S402: Start a gravity sensing module;
步骤S403:获取的重力传感模块数据,连同视频、音频数据,一起保存到录像文件中。Step S403: The acquired gravity sensing module data is saved together with the video and audio data into the video file.
本实施例提供了一种手机视频拍摄及播放的方法,请参考图5,图5为本实施例提供的视频播放方法的第一种流程示意图,具体为:This embodiment provides a method for video capture and playback of a mobile phone. Referring to FIG. 5, FIG. 5 is a schematic diagram of a first process of the video playback method according to the embodiment.
步骤S501:检查重力拍播放能开关是否打开;Step S501: Check whether the gravity beat play switch is turned on;
步骤S502:从视频文件中读取重力方向数据;Step S502: reading gravity direction data from the video file;
步骤S503:按照重力传感器数据对播放的视频图像进行相应的旋转。Step S503: Perform corresponding rotation on the played video image according to the gravity sensor data.
本实施例提供了一种手机视频拍摄及播放的方法,请参考图6,图6为本实施例提供的视频播放方法的第二种流程示意图,具体为:This embodiment provides a method for video capture and playback of a mobile phone. Referring to FIG. 6 , FIG. 6 is a second schematic flowchart of a video playback method according to the embodiment.
步骤S601:检查重力拍播放能开关是否打开;Step S601: Check whether the gravity beat play switch is turned on;
步骤S602:从视频文件中读取重力方向数据;Step S602: reading gravity direction data from the video file;
步骤S603:按照重力方向数据在视频播放画面中对用户进行重力方向提示。Step S603: prompting the user in the gravity direction according to the gravity direction data in the video playing screen.
图7为本实施例提供的拍照终端的系统结构框图;如图7所示:FIG. 7 is a block diagram of a system structure of a camera terminal according to the embodiment; FIG. 7 is as follows:
重力拍摄及播放功能开关配置模块负责为用户提供接口,以达到分别对重力拍摄功能、重力播放功能的打开与关闭功能进行配置的目的;The gravity shooting and playback function switch configuration module is responsible for providing an interface for the user to achieve the purpose of configuring the gravity shooting function and the gravity playback function opening and closing functions respectively;
重力传感模块负责判断手机当前所处的姿态,为其他模块提供姿态数据,主要是通过内置于手机的重力传感器来实现;The gravity sensing module is responsible for judging the current posture of the mobile phone, and providing posture data for other modules, mainly by a gravity sensor built in the mobile phone;
视频拍摄及文件保存模块负责手机通过手机内置的摄像头进行视频的拍摄,及其将拍摄到的图像数据按照一定的视频格式保存到手机的文件系统中。The video capture and file save module is responsible for the video capture of the mobile phone through the built-in camera of the mobile phone, and the captured image data is saved to the file system of the mobile phone according to a certain video format.
视频文件读取播放模块负责从文件系统中读取视频文件,进行解码,并进行必要的图形图像处理操作,通过显示模块呈现文件中保存的图形数据;The video file reading and playing module is responsible for reading the video file from the file system, performing decoding, and performing necessary graphic image processing operations, and presenting the graphic data saved in the file through the display module;
显示模块指手机的内置、或者外置的图形输出设备;The display module refers to a built-in or external graphic output device of the mobile phone;
重力拍摄及播放主控模块负责协调各个模块实现重力视频拍摄及播放功能。Gravity shooting and playback master control module is responsible for coordinating each module to achieve gravity video capture and playback.
下面结合附图对视频拍摄方法的实施进行详细说明。The implementation of the video capture method will be described in detail below with reference to the accompanying drawings.
如图4所示,本实施例提供的方法包括:As shown in FIG. 4, the method provided in this embodiment includes:
步骤S401:检查重力拍摄功能开关是否打开;Step S401: Check whether the gravity shooting function switch is turned on;
当用户启动摄像功能的时候,重力拍摄及播放主控模块从重力拍摄及播放开关控制模块读取重力拍摄功能开关的设置值,如果否,则手机按照普通的视频拍摄流程进行。如果是,则进入下一步骤S402。When the user starts the camera function, the gravity shooting and playback main control module reads the setting value of the gravity shooting function switch from the gravity shooting and playback switch control module, and if not, the mobile phone follows the normal video shooting process. If yes, the process proceeds to the next step S402.
步骤S402:启动重力传感模块; Step S402: Start a gravity sensing module;
如果重力拍摄及播放主控模块判断出重力拍摄为打开状态,则立刻启动重力传感模块。If the gravity shooting and playback main control module determines that the gravity shooting is on, the gravity sensing module is immediately activated.
步骤S403:获取的重力传感模块数据,连同视频、音频数据,一起保存到录像文件中。Step S403: The acquired gravity sensing module data is saved together with the video and audio data into the video file.
重力拍摄及播放主控模块按照一定的频率,优选的,使摄像头对图像的拾取频率,如30Hz、60Hz,从重力传感模块中获取手机当前的重力方向数据(在具有二轴以及三轴重力传感器的手机中,通过结合X轴和Y轴重力数据计算而来,属于现有技术)。如图8、9中重力方向G与手机向下方向D的夹角a。其中重力方向G为手机屏幕所在平面与水平面梯度减方向;其中手机向下方向D为手机屏幕底端所在直线在屏幕所在平面的垂线,并且指向手机下方向。The gravity shooting and playing main control module obtains the current gravity direction data of the mobile phone from the gravity sensing module according to a certain frequency, preferably, the camera picks up the image pickup frequency, such as 30 Hz, 60 Hz (with two-axis and three-axis gravity) In the mobile phone of the sensor, it is calculated by combining the X-axis and Y-axis gravity data, which belongs to the prior art). As shown in Figures 8 and 9, the angle a between the direction of gravity G and the downward direction D of the handset. The gravity direction G is the plane of the mobile phone screen and the gradient of the horizontal plane is reduced; wherein the downward direction of the mobile phone is the vertical line of the line where the bottom end of the mobile phone screen is located on the plane of the screen, and points to the downward direction of the mobile phone.
当G方向在D方向的右侧,则夹角,如图8,a为负值。When the G direction is on the right side of the D direction, the angle is as shown in Fig. 8, and a is a negative value.
当G方向在D方向的左侧,则夹角,如图9,a为正值。When the G direction is on the left side in the D direction, the angle is as shown in Fig. 9, a is a positive value.
当G方向与D方向一致,则夹角为a为0。When the G direction coincides with the D direction, the angle a is 0.
当G方向与D方向相反,则夹角为a为+/-180。When the G direction is opposite to the D direction, the angle a is +/- 180.
接着,重力拍摄及播放主控模块按照一定的频率,优选的,使摄像头对图像的拾取频率,如30Hz、60Hz,将夹角值a发送给视频拍摄及保存模块,后者通过对视频文件进行扩展将重力方向数据持续不断的保存到视频文件中。Then, the gravity shooting and playing main control module according to a certain frequency, preferably, the camera picks up the image pickup frequency, such as 30 Hz, 60 Hz, the angle value a is sent to the video shooting and saving module, and the latter passes the video file The extension continuously saves the gravity direction data to the video file.
通常视频文件比如avi、rmvb等,都包含索引区和数据区,其中,索引区内部存放着各种多媒体数据的采样数据的播放时间点和在文件中存储位置之间的对应关系,通过对索引区和数据区的扩展,可以将新的类型的媒体数据添加到视频文件中。Generally, video files such as avi, rmvb, etc., include an index area and a data area, wherein the index area internally stores the correspondence between the playback time point of the sample data of various multimedia data and the storage location in the file, and the index is The extension of the zone and data zone allows new types of media data to be added to the video file.
以常用的mp4格式视频文件为例,可以通过在mp4文件中增加一个box type为“grav”的trackbox来实现,grav为重力gravity单词的缩写,因为mp4协议规定box type为4个字节。在grav track box内部增加tkhd、mdia,而在mdia内部则增加mdhd,hdlr和minf,在minf内部则增加header box和stbl,此header box应为Null Media Header Box,即指示非音视频数据使用。stbl为包含了关于track中sample所有时间和位置的信息,以及sample的编解码等信息。同时,按照每个夹角数占用4个字节的方式依次保存到mdat中。并在stbl中建立映射关系。Take the commonly used mp4 format video file as an example. You can add a trackbox with the box type to "grav" in the mp4 file. Grav is the abbreviation of gravity word, because the mp4 protocol specifies that the box type is 4 bytes. Add tkhd and mdia inside the grav track box, and add mdhd, hdlr and minf inside mdia. Add header box and stbl inside minf. This header box should be Null Media Header Box, which indicates the use of non-audio video data. Stbl contains information about all the time and location of the sample in the track, as well as the codec of the sample. At the same time, it is saved to mdat in turn according to the method of occupying 4 bytes for each angle. And establish a mapping relationship in stbl.
下面结合附图对第一种视频播放方法的实施进行详细说明:The implementation of the first video playing method will be described in detail below with reference to the accompanying drawings:
如图5所示:As shown in Figure 5:
步骤S501:检查重力拍播放能开关是否打开;Step S501: Check whether the gravity beat play switch is turned on;
当用户启动视频播放功能的时候,重力拍摄及播放主控模块从重力拍摄及播放开关控制模块读取重力播放功能开关的设置值,如果否,则手机按照普通的视频播放流程进行。如果是,则进入下一步骤S502。When the user starts the video playing function, the gravity shooting and playing main control module reads the setting value of the gravity playing function switch from the gravity shooting and playback switch control module, and if not, the mobile phone follows the normal video playing process. If yes, the process proceeds to the next step S502.
步骤S502:从视频文件中读取重力方向数据;Step S502: reading gravity direction data from the video file;
重力拍摄及播放主控模块发送重力播放事件给视频文件读取播放模块,或者直接调用 视频文件读取播放模块的函数接口,进而视频文件读取播放模块逐帧解析视频文件各个音视频track数据,与此同时,解析出文件中包含的重力方向数据。The gravity shooting and playing main control module sends a gravity play event to the video file to read the play module, or directly call The video file reads the function interface of the playing module, and then the video file reading and playing module parses each audio and video track data of the video file frame by frame, and at the same time, parses out the gravity direction data contained in the file.
步骤S503:按照重力传感器数据对播放的视频图像进行相应的旋转;Step S503: Perform corresponding rotation on the played video image according to the gravity sensor data;
视频文件读取播放模块获取到重力方向数据后,按照夹角对先前解析出的图像进行旋转,然后再绘制到图形系统提供的图形数据缓冲区(屏幕)内。但需要将图像缩放至缓冲区(屏幕)内切圆的内接矩形大小,并居中显示。After the video file reading and playing module obtains the gravity direction data, the previously parsed image is rotated according to the angle, and then drawn into the graphic data buffer (screen) provided by the graphic system. However, you need to scale the image to the size of the inscribed rectangle inside the circle (screen) and center it.
图10为拍摄的原图,及其当时手机的姿态。步骤S503的显示效果如图11所示,其中G箭头以及D箭头为方向的指示,内切圆,在具体实现时,不需要绘制。Figure 10 is the original image taken, and the attitude of the mobile phone at the time. The display effect of step S503 is as shown in FIG. 11, wherein the G arrow and the D arrow are indications of the direction, and the inscribed circle, in the specific implementation, does not need to be drawn.
下面结合附图对第二种视频播放方法的实施进行详细说明:The implementation of the second video playing method will be described in detail below with reference to the accompanying drawings:
如图6所示:As shown in Figure 6:
步骤S601:检查重力拍播放能开关是否打开;Step S601: Check whether the gravity beat play switch is turned on;
当用户启动视频播放功能的时候,重力拍摄及播放主控模块从重力拍摄及播放开关控制模块读取重力播放功能开关的设置值,如果否,则手机按照普通的视频播放流程进行。如果是,则进入下一步骤S602。When the user starts the video playing function, the gravity shooting and playing main control module reads the setting value of the gravity playing function switch from the gravity shooting and playback switch control module, and if not, the mobile phone follows the normal video playing process. If yes, the process proceeds to the next step S602.
步骤S602:从视频文件中读取重力方向数据;Step S602: reading gravity direction data from the video file;
重力拍摄及播放主控模块发送重力播放事件给视频文件读取播放模块,或者直接调用视频文件读取播放模块的函数接口,进而视频文件读取播放模块逐帧解析视频文件各个音视频track数据,与此同时,解析出文件中包含的重力方向数据。The gravity shooting and playing main control module sends a gravity playing event to the video file reading and playing module, or directly calls the video file to read the function interface of the playing module, and then the video file reading and playing module parses each audio and video track data of the video file frame by frame. At the same time, the gravity direction data contained in the file is parsed.
步骤S603:按照重力方向数据在视频播放画面中对用户进行重力方向提示;Step S603: prompting the user in the gravity direction according to the gravity direction data in the video playing screen;
如下图11所示,视频文件读取播放模块获取到重力方向数据后,按照夹角在先前解析出的图像边缘处中绘制出重力方向指示,然后再绘制到图形系统提供的图形数据缓冲区(屏幕)内。As shown in FIG. 11 below, after the video file reading and playing module obtains the gravity direction data, the gravity direction indication is drawn in the edge of the previously parsed image according to the angle, and then the graphic data buffer provided by the graphic system is drawn ( Inside the screen).
综上可知,通过本公开实施例的实施,至少存在以下有益效果:In summary, through the implementation of the embodiments of the present disclosure, at least the following beneficial effects exist:
本公开实施例提供了一种视频处理方法,该方法在拍摄时,同步的纪录下当时的拍照姿势,拍照姿势包括拍照基准框与标准方向的夹角,标准方向包括重力方向和/或水平方向,并保存在视频文件中,在播放时,按照视频文件中保存的拍照姿势,对视频数据进行相应旋转复原操作,或者在播放画面中对用户进行拍照姿势提示,解决了现有技术中因拍摄姿势不标准导致拍摄视频播放画面倾斜的问题。The embodiment of the present disclosure provides a video processing method, which simultaneously records the current photographing posture when photographing, and the photographing posture includes an angle between the photographing reference frame and the standard direction, and the standard direction includes the gravity direction and/or the horizontal direction. And saved in the video file, in the playback, according to the photo posture saved in the video file, the video data is rotated correspondingly, or the user is photographed in the playback screen to solve the problem in the prior art. The lack of standard poses a problem that causes the video playback screen to tilt.
本领域内的技术人员应明白,本公开的实施例可提供为方法、系统、或计算机程序产品。因此,本公开可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本公开可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present disclosure can be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware aspects. Moreover, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
本公开是参照根据本公开实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令 到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present disclosure. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions are available To a processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that instructions executed by a processor of a computer or other programmable data processing device are generated for implementation in a flowchart A device of a process or a plurality of processes and/or block diagrams of a function specified in a block or blocks.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
以上仅是本公开的具体实施方式而已,并非对本公开做任何形式上的限制,凡是依据本公开的技术实质对以上实施方式所做的任意简单修改、等同变化、结合或修饰,均仍属于本公开技术方案的保护范围。 The above is only a specific embodiment of the present disclosure, and is not intended to limit the present disclosure in any way. Any simple modification, equivalent change, combination or modification to the above embodiment in accordance with the technical spirit of the present disclosure still belongs to the present invention. The scope of protection of the disclosed technical solutions.

Claims (19)

  1. 一种视频拍摄方法,包括:A video capture method, including:
    在拍摄视频时,获取拍摄设备的拍照姿势,所述拍照姿势包括拍照基准框与标准方向的夹角,所述标准方向包括重力方向和/或水平方向;Obtaining a photographing posture of the photographing device, where the photographing posture includes an angle between the photographing reference frame and a standard direction, where the standard direction includes a gravity direction and/or a horizontal direction;
    将拍摄得到的视频与所述拍照姿势对应存储。The captured video is stored in correspondence with the photographing posture.
  2. 如权利要求1所述的视频拍摄方法,其中,所述获取拍摄设备的拍照姿势包括:The video photographing method according to claim 1, wherein the photographing posture of the photographing device is:
    在拍摄视频前/后,获取所述拍照姿势;Obtaining the photographing posture before/after photographing the video;
    和/或,在拍摄视频时,周期性获取所述拍照姿势;And/or, when the video is captured, the photographing posture is periodically acquired;
    和/或,在拍摄视频前及拍照姿势变化时,获取所述拍照姿势。And/or, the photographing posture is acquired before the video is taken and when the photographing posture is changed.
  3. 如权利要求1或2所述的视频拍摄方法,其中,所述将拍摄得到的视频与所述拍照姿势对应存储包括:The video capture method according to claim 1 or 2, wherein the storing the captured video corresponding to the photographing gesture comprises:
    将所述拍照姿势增加到所述视频内进行存储;Adding the photographing gesture to the video for storage;
    和/或,将所述拍照姿势作为所述视频的扩展文件,独立存储。And/or, the photographing gesture is stored as an extended file of the video, and stored independently.
  4. 一种视频播放方法,包括:A video playing method includes:
    在播放视频时,获取所述视频对应的拍照姿势,所述拍照姿势包括拍照基准框与标准方向的夹角,所述标准方向包括重力方向和/或水平方向;When the video is played, the photographing posture corresponding to the video is acquired, where the photographing posture includes an angle between the photographing reference frame and the standard direction, and the standard direction includes a gravity direction and/or a horizontal direction;
    根据所述拍照姿势,调整所述视频的显示效果。Adjusting the display effect of the video according to the photographing posture.
  5. 如权利要求4所述的视频播放方法,其中,所述调整所述视频的显示效果包括:The video playing method of claim 4, wherein the adjusting the display effect of the video comprises:
    缩放所述视频的播放画面,根据所述拍照姿势,调整所述播放画面与播放设备的夹角;And scaling a play screen of the video, and adjusting an angle between the play screen and the playback device according to the photographing posture;
    和/或,在所述视频的播放画面上,采用新增图层的方式显示所述拍照姿势;And/or displaying the photographing posture in a manner of adding a layer on a play screen of the video;
    和/或,在所述视频的播放画面内,显示所述拍照姿势。And/or, in the play screen of the video, the photographing gesture is displayed.
  6. 一种视频处理方法,包括:A video processing method comprising:
    在拍摄视频时,获取拍摄设备的拍照姿势,所述拍照姿势包括拍照基准框与标准方向的夹角,所述标准方向包括重力方向和/或水平方向;将拍摄得到的视频与所述拍照姿势对应存储;When taking a video, acquiring a photographing posture of the photographing device, the photographing posture including an angle between the photographing reference frame and a standard direction, the standard direction including a gravity direction and/or a horizontal direction; and the captured video and the photographing posture Corresponding storage
    在播放视频时,获取所述视频对应的拍照姿势;根据所述拍照姿势,调整所述视频的显示效果。When the video is played, the photographing posture corresponding to the video is acquired; and the display effect of the video is adjusted according to the photographing posture.
  7. 如权利要求6所述的视频处理方法,还包括:根据用户操作,设置是否开启存储所述拍照姿势和/或根据拍照姿势调整所述视频的显示效果的功能。 The video processing method according to claim 6, further comprising: setting whether to activate a function of storing the photographing posture and/or adjusting a display effect of the video according to the photographing posture according to a user operation.
  8. 一种视频拍摄装置,包括采集模块及存储模块,其中,A video capture device includes an acquisition module and a storage module, wherein
    所述采集模块设置为在拍摄视频时,获取拍摄设备的拍照姿势,所述拍照姿势包括拍照基准框与标准方向的夹角,所述标准方向包括重力方向和/或水平方向;The acquiring module is configured to acquire a photographing posture of the photographing device when the video is captured, where the photographing posture includes an angle between the photographing reference frame and a standard direction, and the standard direction includes a gravity direction and/or a horizontal direction;
    所述存储模块设置为将拍摄得到的视频与所述拍照姿势对应存储。The storage module is configured to store the captured video corresponding to the photographing gesture.
  9. 如权利要求8所述的视频拍摄装置,其中,所述采集模块设置为在拍摄视频前/后,获取所述拍照姿势;和/或,在拍摄视频时,周期性获取所述拍照姿势;和/或,在拍摄视频前及拍照姿势变化时,获取所述拍照姿势。The video photographing apparatus according to claim 8, wherein the acquisition module is configured to acquire the photographing posture before/after photographing a video; and/or to periodically acquire the photographing posture when photographing a video; and / or, the photographing posture is acquired before the video is taken and when the photographing posture is changed.
  10. 如权利要求8或9所述的视频拍摄装置,其中,所述存储模块设置为将所述拍照姿势增加到所述视频内进行存储;和/或,将所述拍照姿势作为所述视频的扩展文件,独立存储。The video photographing apparatus according to claim 8 or 9, wherein said storage module is configured to add said photographing gesture to said video for storage; and/or to use said photographing gesture as an extension of said video File, independent storage.
  11. 一种视频播放装置,包括调用模块及显示模块,其中,A video playing device, comprising a calling module and a display module, wherein
    所述调用模块设置为在播放视频时,获取所述视频对应的拍照姿势,所述拍照姿势包括拍照基准框与标准方向的夹角,所述标准方向包括重力方向和/或水平方向;The calling module is configured to acquire a photographing posture corresponding to the video when playing a video, where the photographing posture includes an angle between a photographing reference frame and a standard direction, and the standard direction includes a gravity direction and/or a horizontal direction;
    所述显示模块设置为根据所述拍照姿势,调整所述视频的显示效果。The display module is configured to adjust a display effect of the video according to the photographing posture.
  12. 如权利要求11所述的视频播放装置,其中,所述显示模块设置为缩放所述视频的播放画面,根据所述拍照姿势,调整所述播放画面与播放设备的夹角;和/或,在所述视频的播放画面上,采用新增图层的方式显示所述拍照姿势;和/或,在所述视频的播放画面内,显示所述拍照姿势。The video playback device of claim 11, wherein the display module is configured to zoom a play screen of the video, adjust an angle between the play screen and a playback device according to the photographing gesture; and/or, The photographing posture is displayed on the play screen of the video by adding a new layer; and/or, in the play screen of the video, the photographing gesture is displayed.
  13. 一种视频处理装置,包括拍照模块及播放模块,其中,A video processing device includes a camera module and a play module, wherein
    所述拍照模块设置为在拍摄视频时,获取拍摄设备的拍照姿势,所述拍照姿势包括拍照基准框与标准方向的夹角,所述标准方向包括重力方向和/或水平方向;将拍摄得到的视频与所述拍照姿势对应存储;The photographing module is configured to acquire a photographing posture of the photographing device when the video is captured, the photographing posture includes an angle between the photographing reference frame and the standard direction, and the standard direction includes a gravity direction and/or a horizontal direction; The video is stored corresponding to the photographing posture;
    所述播放模块设置为在播放视频时,获取所述视频对应的拍照姿势;根据所述拍照姿势,调整所述视频的显示效果。The playing module is configured to acquire a photographing posture corresponding to the video when playing a video, and adjust a display effect of the video according to the photographing posture.
  14. 如权利要求13所述的视频处理装置,还包括使能模块,设置为根据用户操作,设置是否开启存储所述拍照姿势和/或根据拍照姿势调整所述视频的显示效果的功能。The video processing device according to claim 13, further comprising an enabling module configured to set whether to activate a function of storing the photographing posture and/or adjusting a display effect of the video according to the photographing posture according to a user operation.
  15. 一种拍照终端,包括摄像头、重力传感器、显示屏、处理器及存储器,其中,A camera terminal includes a camera, a gravity sensor, a display screen, a processor, and a memory, wherein
    所述摄像头设置为拍照视频;The camera is set as a camera video;
    所述显示屏设置为播放视频;The display screen is set to play a video;
    所述重力传感器设置为检测重力方向和/或水平方向; The gravity sensor is configured to detect a gravity direction and/or a horizontal direction;
    所述处理器设置为在拍摄视频时,通过所述重力传感器获取拍摄设备的拍照姿势,所述拍照姿势包括拍照基准框与标准方向的夹角,所述标准方向包括重力方向和/或水平方向;将拍摄得到的视频与所述拍照姿势对应存储在所述存储器内;在播放视频时,调用所述视频对应的拍照姿势;根据所述拍照姿势,调整所述视频的显示效果。The processor is configured to acquire a photographing posture of the photographing device by the gravity sensor when the video is captured, the photographing posture includes an angle between the photographing reference frame and a standard direction, and the standard direction includes a gravity direction and/or a horizontal direction. And storing the captured video corresponding to the photographing posture in the memory; when playing the video, calling the photographing posture corresponding to the video; and adjusting the display effect of the video according to the photographing posture.
  16. 如权利要求15所述的拍摄终端,其中,所述处理器设置为在拍摄视频前/后,获取所述拍照姿势;和/或,在拍摄视频时,周期性获取所述拍照姿势;和/或,在拍摄视频前及拍照姿势变化时,获取所述拍照姿势。The photographing terminal according to claim 15, wherein the processor is configured to acquire the photographing posture before/after photographing a video; and/or, when photographing a video, periodically acquire the photographing posture; and/ Or, the photographing posture is acquired before the video is taken and when the photographing posture is changed.
  17. 如权利要求15所述的拍摄终端,其中,所述处理器设置为将所述拍照姿势增加到所述视频内进行存储;和/或,将所述拍照姿势作为所述视频的扩展文件,独立存储。The photographing terminal of claim 15, wherein the processor is configured to add the photographing gesture to the video for storage; and/or to use the photographing gesture as an extension file of the video, independent storage.
  18. 如权利要求15所述的拍摄终端,其中,所述处理器设置为缩放所述视频的播放画面,根据所述拍照姿势,调整所述播放画面与播放设备的夹角;和/或,在所述视频的播放画面上,采用新增图层的方式显示所述拍照姿势;和/或,在所述视频的播放画面内,显示所述拍照姿势。The photographing terminal according to claim 15, wherein the processor is configured to zoom a play screen of the video, and adjust an angle between the play screen and a playback device according to the photographing posture; and/or On the play screen of the video, the photographing gesture is displayed by adding a new layer; and/or, in the play screen of the video, the photographing gesture is displayed.
  19. 如权利要求15至18任一项所述的拍摄终端,其中,所述处理器还设置为根据用户操作,设置是否开启存储所述拍照姿势和/或根据拍照姿势调整所述视频的显示效果的功能。 The photographing terminal according to any one of claims 15 to 18, wherein the processor is further configured to set whether to open the photographing posture and/or adjust the display effect of the video according to the photographing posture according to a user operation. Features.
PCT/CN2017/107733 2016-10-27 2017-10-26 Video photographing, playing and processing method and photographing terminal WO2018077203A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610970478.6 2016-10-27
CN201610970478.6A CN107995439A (en) 2016-10-27 2016-10-27 A kind of video capture, broadcasting, processing method, photo terminal

Publications (1)

Publication Number Publication Date
WO2018077203A1 true WO2018077203A1 (en) 2018-05-03

Family

ID=62024311

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/107733 WO2018077203A1 (en) 2016-10-27 2017-10-26 Video photographing, playing and processing method and photographing terminal

Country Status (2)

Country Link
CN (1) CN107995439A (en)
WO (1) WO2018077203A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109743511B (en) * 2019-01-03 2021-04-20 苏州佳世达光电有限公司 Method and system for automatically adjusting display direction of playing picture
CN109874045B (en) * 2019-01-30 2021-04-06 影石创新科技股份有限公司 Portable terminal and method for acquiring gyroscope data to perform video processing
WO2021138768A1 (en) * 2020-01-06 2021-07-15 深圳市大疆创新科技有限公司 Method and device for image processing, movable platform, imaging apparatus and storage medium
CN111405190B (en) * 2020-04-23 2022-04-12 南京维沃软件技术有限公司 Image processing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008098916A (en) * 2006-10-11 2008-04-24 Canon Inc Moving image display device and moving image display method
CN102314679A (en) * 2010-03-22 2012-01-11 微软公司 Use accelerometer information to confirm the direction of picture and video image
US20130302007A1 (en) * 2012-05-14 2013-11-14 Samsung Electronics Co., Ltd. Camera system of mobile device for capturing images, and method adapted thereto
CN104363386A (en) * 2014-11-14 2015-02-18 广东欧珀移动通信有限公司 Photo processing method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102638656A (en) * 2012-04-18 2012-08-15 青岛海信移动通信技术股份有限公司 Video image processing method and device
CN103795892B (en) * 2012-11-01 2017-04-12 华为终端有限公司 Method and apparatus for processing collected image data
KR20140112909A (en) * 2013-03-14 2014-09-24 삼성전자주식회사 Electronic device and method for generating panorama image
CN103489155B (en) * 2013-09-18 2016-10-05 厦门美图网科技有限公司 A kind of photographic method of sensor-based horizontal automatic straightening
CN105208278A (en) * 2015-09-28 2015-12-30 广东欧珀移动通信有限公司 Shooting method and terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008098916A (en) * 2006-10-11 2008-04-24 Canon Inc Moving image display device and moving image display method
CN102314679A (en) * 2010-03-22 2012-01-11 微软公司 Use accelerometer information to confirm the direction of picture and video image
US20130302007A1 (en) * 2012-05-14 2013-11-14 Samsung Electronics Co., Ltd. Camera system of mobile device for capturing images, and method adapted thereto
CN104363386A (en) * 2014-11-14 2015-02-18 广东欧珀移动通信有限公司 Photo processing method and device

Also Published As

Publication number Publication date
CN107995439A (en) 2018-05-04

Similar Documents

Publication Publication Date Title
WO2018077203A1 (en) Video photographing, playing and processing method and photographing terminal
US9779775B2 (en) Automatic generation of compilation videos from an original video based on metadata associated with the original video
JP2022031324A (en) Communication management systems, communication systems, communication management methods, and programs
JP6400293B2 (en) Apparatus and method for controlling content by electronic device
WO2017125050A1 (en) Method, apparatus and storage medium for image processing
WO2012088939A1 (en) Mobile phone and camera processing method thereof
WO2017088609A1 (en) Image denoising apparatus and method
CN103037077A (en) Mobile terminal and image display method thereof
US11683440B2 (en) Systems and methods for determining viewing paths through videos
US20170085797A1 (en) Rotation stabilization
WO2014185170A1 (en) Image processing device, image processing method, and program
ITTO20110042A1 (en) PROCEDURES AND DEVICES FOR RECORDING AND REPRODUCTION OF MULTIMEDIA CONTENT USING DYNAMIC METADATES
WO2018076941A1 (en) Method and device for implementing panoramic photographing
US20240422437A1 (en) Systems and methods for stabilizing videos
JPWO2014034256A1 (en) Display control device, display control system, and display control method
JP2014042194A (en) Image display device, and control method and control program of the same
KR102138835B1 (en) Apparatus and method for providing information exposure protecting image
US20250029635A1 (en) Video framing based on device orientation
CN104754192A (en) Imaging Apparatus And Method Of Controlling The Same
JP2005277470A (en) Photography display and photography image display processing program
WO2009019651A2 (en) Method and device for creating a modified video from an input video
JP4948637B2 (en) Image processing method and apparatus
TW201640471A (en) Method for displaying video frames on a portable video capturing device and corresponding device
KR101396349B1 (en) Digital image processing apparatus including the rotating information of the image including a face and the method of controlling the same
US10965874B2 (en) Analytic triggers

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

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

Country of ref document: EP

Kind code of ref document: A1