WO2020062684A1 - Video processing method and device, terminal, and storage medium - Google Patents

Video processing method and device, terminal, and storage medium Download PDF

Info

Publication number
WO2020062684A1
WO2020062684A1 PCT/CN2018/124781 CN2018124781W WO2020062684A1 WO 2020062684 A1 WO2020062684 A1 WO 2020062684A1 CN 2018124781 W CN2018124781 W CN 2018124781W WO 2020062684 A1 WO2020062684 A1 WO 2020062684A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
aspect ratio
target
playback
resolution
Prior art date
Application number
PCT/CN2018/124781
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 WO2020062684A1 publication Critical patent/WO2020062684A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440263Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by altering the spatial resolution, e.g. for displaying on a connected PDA
    • H04N21/440272Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by altering the spatial resolution, e.g. for displaying on a connected PDA for performing aspect ratio conversion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/44016Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving splicing one content stream with another content stream, e.g. for substituting a video clip
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47205End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for manipulating displayed content, e.g. interacting with MPEG-4 objects, editing locally

Definitions

  • the present disclosure relates to the field of Internet technologies, and for example, to a video processing method, device, terminal, and medium.
  • video interactive applications support providing users with multiple types of video resources, such as funny, humorous, scientific, current affairs, and life. At the same time, it also supports users to shoot different styles of video anytime, anywhere And add a variety of special effects, set different types of background music and so on.
  • the present disclosure provides a video processing method, device, terminal, and medium to improve video display effects.
  • An embodiment of the present disclosure provides a video processing method.
  • the method includes:
  • An embodiment of the present disclosure further provides a video processing apparatus, where the apparatus includes:
  • a resolution detection module configured to perform resolution detection on at least two video segments, and determine an aspect ratio of each video segment according to the resolution of each video segment;
  • a target aspect ratio determination module configured to determine a target aspect ratio according to an aspect ratio of each video clip and a preset adjustment rule
  • the resolution adaptation module is configured to adapt the at least two video fragments to the target aspect ratio to synthesize a target video based on the at least two video fragments.
  • An embodiment of the present disclosure further provides a terminal, including:
  • One or more processing devices are One or more processing devices;
  • a storage device configured to store one or more programs
  • the one or more processing devices are caused to implement the video processing method according to any embodiment of the present disclosure.
  • An embodiment of the present disclosure further provides a computer-readable storage medium storing a computer program, which is executed by a device to implement the video processing method according to any embodiment of the present disclosure.
  • the technical solution provided by the present disclosure solves the problem of poor display effect in the video editing process, realizes the uniform video resolution in the video synthesis process, improves the video display effect, and further improves the user's ability to synthesize a complete video based on video fragments.
  • Video sharing experience; and, video-based interactive applications can support video editing operations, simplify the video editing process, and improve the convenience of video editing.
  • FIG. 1 is a schematic flowchart of a video processing method according to an embodiment of the present disclosure
  • FIG. 2 is a schematic diagram of a video selection interface according to an embodiment of the present disclosure
  • FIG. 3 is a schematic diagram of a video editing interface provided with a video preview area according to an embodiment of the present disclosure
  • FIG. 4 is a schematic flowchart of another video processing method according to an embodiment of the present disclosure.
  • FIG. 5 is a schematic structural diagram of a video processing apparatus according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic diagram of a hardware structure of a terminal according to an embodiment of the present disclosure.
  • FIG. 1 is a schematic flowchart of a video processing method according to an embodiment of the present disclosure. This embodiment may be applicable to a case where a video is processed, for example, editing a video resolution during a video synthesis process.
  • the method can be executed by a video processing device, which can be implemented in software and / or hardware, and can be configured on any terminal with network communication functions, such as a smart phone, a computer, and an Apple iPad.
  • the video processing method provided in the embodiment of the present disclosure may include the following steps.
  • S110 Perform resolution detection on at least two video segments, and determine an aspect ratio of each video segment according to a resolution of each video segment.
  • the resolution of multiple video clips selected by the user cannot always be consistent. If the video is synthesized based on multiple video clips with inconsistent resolutions, the final video picture display effect is not good. Therefore, it is necessary for the video interactive application to perform resolution detection on at least two video segments selected by the user to determine whether there are video segments with inconsistent resolutions in the video segments. When resolution inconsistencies are detected, the aspect ratio of each video segment is determined according to the resolution of each video segment.
  • S120 Determine a target aspect ratio according to an aspect ratio and a preset adjustment rule of each video segment.
  • the preset adjustment rule defines the basis for determining the target aspect ratio in the video synthesis process. For example, it may include determining the target aspect ratio according to the screen resolution of the terminal, or determining the target aspect ratio according to a user-defined setting. Or the target aspect ratio is determined based on the aspect ratios of multiple video clips selected by the user.
  • the preset adjustment rule includes selecting an aspect ratio with a maximum value from an aspect ratio of the video clip as a target aspect ratio. For example, based on the relationship between the resolution and the screen display ratio, three video segments a, b, and c with different resolutions are determined to have a 16: 9 aspect ratio corresponding to the resolution of video segment a and the resolution of video segment b. The corresponding aspect ratio is 15: 9, and the resolution of video segment c corresponds to the aspect ratio of 4: 3. 16: 9 is the largest of the three ratios. Then 16: 9 is the video segment a, b. And c target aspect ratio.
  • the resolution of the video clips can be unified, thereby ensuring the display effect of the synthesized target video, which helps improve the user's experience of synthesizing a complete video based on the video clips for video sharing.
  • the target aspect ratio is 16: 9.
  • the screen display of the target video based on the video segments a, b, and c is synthesized The ratio will be unified to 16: 9, which avoids the phenomenon of inconsistent resolution of the display picture in the complete video obtained by the synthesis, and thus can ensure a better display effect.
  • the video interactive application itself can support multiple video editing operations, users do not need to resort to other video synthesis tools, such as third-party applications for video synthesis, in the process of synthesizing video, thereby simplifying the video editing process and improving Convenience of video editing.
  • the method further includes: in response to a video multiple selection request triggered on the video selection interface, acquiring at least two selected video clips, wherein the video selection interface triggers the video by triggering the video
  • the specific logo of the shooting interface or audio details interface is displayed.
  • the user when the user enables the video interactive application on the terminal, it can trigger the specific identification of the video shooting interface or music details interface of the video interactive application, such as the upload logo or share logo, etc., and switch from the current interface to the video selection interface, which is the video selection interface.
  • the local video clips of the terminal can be displayed synchronously to facilitate user selection.
  • the video selection interface is switched from the music detail interface, the user can use the audio of the music detail page as the background music of the synthesized video.
  • the video interactive application After the user triggers the video multiple selection request, the video interactive application records the selection order of the video clips selected by the user while obtaining the information of the video clips selected by the user.
  • the video can be synthesized based on the user's selection order.
  • the video in the process of synthesizing the video, the video may also be synthesized according to the arrangement order of the user-defined video clips.
  • the user can touch the video thumbnail position on the video selection interface to preview the video to determine whether to select the video clip.
  • the duration of the video segment selected by the user is greater than or equal to the duration threshold, and the immediate length threshold determines the effective video segment that the user can select.
  • the duration threshold is set to 3 seconds, and when the duration of the video clip a selected by the user is 2 seconds, a prompt box (pop toast) may pop up to prompt the user that the currently selected video clip a is invalid and needs to be selected again.
  • the number of user-selectable video clips can be adaptively set, for example, it can be set to 12, which is not limited in this embodiment. When the number of video clips selected by the user reaches the preset number requirement, other video thumbnails on the video selection interface can cover the white mask layer, and the user selection is no longer supported.
  • FIG. 2 is a schematic diagram of a video selection interface provided in this embodiment.
  • a multi-select control 21 is set on the video selection interface. After the user triggers a video multi-select request, each time a video clip is selected, the video clip The corresponding video thumbnail will display a number in the upper left corner, which is used as the recording information of the video clip selected by the user.
  • the multi-select control 21 can be set at any position on the edge of the interface.
  • FIG. 2 is only an example, and the multi-select control 21 is set at the lower left.
  • the video synthesis process in addition to the resolution editing of video clips, at least one of the following operations: cropping, playback speed editing, playback screen rotation, video deletion, and adding display effects can be performed.
  • the above-mentioned editing operation involves overall editing with a composite continuous video as an editing object and individual editing with each video clip as an editing object.
  • the effects of video editing, including resolution editing effects can be displayed to the user through the video preview area of the video editing interface, that is, after the user's video editing operation is completed, the video interactive application will generate a video preview effect corresponding to the editing operation for User preview and saved in the terminal cache.
  • FIG. 3 is a schematic diagram showing a video editing interface provided with a video preview area in this embodiment as an example.
  • the video editing interface can be switched directly from the video selection interface.
  • the video editing interface includes a video preview area 31, a video cropping area 32, and a video clip area 33.
  • the video preview area 31 is used to preview the video editing effect during the video editing process, such as the editing effect of the preliminary synthesized continuous video; the handles on the left and right sides of the video cropping area 32 can be moved as the user drags To adjust the preview video duration; the pointer in the video cropping area 32 moves as the preview video plays; the video clip area 33 displays multiple video clips selected by the user.
  • the edge position of the video editing interface or the gap between the video preview area 31 and the video cropping area 32 can be used to set editing controls, such as a cropping control, a playback speed editing control, a resolution editing control, and the like.
  • the target video is saved in the video format to a specific storage location of the terminal; at the same time, if a video sharing request is detected, the target is saved Video is shared to the server.
  • the technical solution of the embodiment of the present disclosure first determines the aspect ratio of at least two video segments through resolution detection; then, determines the target aspect ratio according to the aspect ratio of each video segment and a preset adjustment rule; finally, at least Both video clips are adapted to the target aspect ratio to synthesize the target video based on at least two video clips, which solves the problem of poor display effects during video editing and achieves uniform video resolution during video synthesis , Improve the video display effect, thereby improving the user's experience of synthesizing a complete video based on video clips for video sharing; and because the video interactive application itself can support multiple video editing operations, users do not need to resort to additional videos during the process of synthesizing videos A compositing tool that makes video editing easier.
  • FIG. 4 is a schematic flowchart of another video processing method according to an embodiment of the present disclosure, and is described based on various optional solutions in the foregoing embodiment.
  • the video processing method provided in the embodiment of the present disclosure may include the following steps.
  • S210 Perform resolution detection on at least two video segments, and determine an aspect ratio of each video segment according to the resolution of each video segment.
  • S220 Determine a target aspect ratio according to an aspect ratio and a preset adjustment rule of each video segment.
  • S230 Determine a target video clip from at least two video clips according to a video playback mode in the current state, where the video playback modes include horizontal screen playback and vertical screen playback.
  • the playback mode of multiple video clips selected by the user in the current state is not necessarily the same. For example, some video clips may be played in horizontal screen and some video clips may be played in vertical screen. Or, in the process of editing a video clip, a difference occurs in the playback manner of multiple video clips.
  • the purpose of determining the target video clip is to perform video rotation on the target video clip to finally obtain multiple video clips with a uniform playback mode.
  • the target video segment may be any one of the video segments selected by the user.
  • the adaptation operation includes at least picture scaling and picture frame filling.
  • the adaptation operations are based on maintaining the original aspect ratio of the video clip, and adjusting the video clip to the target aspect ratio, so that under the premise of achieving a uniform resolution, the video clip's picture will not be distorted.
  • the original aspect ratio of video segment a needs to be maintained to scale the display image of video segment a until the target aspect ratio is met; and
  • the other side can be filled with edges, such as filling the black edges, so that the entire display screen meets the target.
  • the technical solution of the embodiment of the present disclosure first determines the aspect ratio of at least two video clips through resolution detection; then, determines the target aspect ratio according to the aspect ratio and preset adjustment rules of each video clip; finally, through the video Rotate to obtain at least two video clips with uniform playback mode and uniformly adapt the video clips in the current state to the target aspect ratio, which solves the problem of poor display effect during video editing and realizes the video synthesis process
  • the unified video resolution in the video is consistent with the video playback method, which improves the video display effect, thereby improving the user's experience of synthesizing a complete video based on video clips for video sharing.
  • FIG. 5 is a schematic structural diagram of a video processing apparatus according to an embodiment of the present disclosure. This embodiment is applicable to processing a video, for example, when editing a video resolution.
  • the video processing device may be implemented in software and / or hardware, and may be configured on any terminal having a network communication function.
  • the video processing device may include a resolution detection module 510, a target aspect ratio determination module 520, and a resolution adaptation module 530.
  • the resolution detection module 510 It is configured to perform resolution detection on at least two video clips, and determine the aspect ratio of each video clip according to the resolution of each video clip;
  • the target aspect ratio determination module 520 is set to be based on each existing video The aspect ratio and preset adjustment rules of the segment determine the target aspect ratio;
  • the resolution adaptation module 530 is configured to adapt at least two video segments to the target aspect ratio to synthesize the target based on the at least two video segments video.
  • the preset adjustment rule includes selecting an aspect ratio with a maximum value from an aspect ratio of at least two video clips as a target aspect ratio.
  • the resolution adaptation module 530 includes: a target video segment determining unit configured to determine a target video segment from at least two video segments according to a video playback manner in a current state, where the video playback manner includes Horizontal and vertical playback; the target video clip rotation unit is set to rotate the playback video of the target video clip to get at least two video clips with the same video playback mode; the resolution adaptation unit is set to uniform video playback mode At least two video clips of are adapted to the target aspect ratio.
  • the adaptation operation includes at least picture scaling and picture frame filling.
  • the device further includes a video clip obtaining module configured to obtain at least two selected video clips in response to a video multiple selection request triggered on the video selection interface, wherein the video selection interface triggers the video by the user
  • a video clip obtaining module configured to obtain at least two selected video clips in response to a video multiple selection request triggered on the video selection interface, wherein the video selection interface triggers the video by the user
  • the specific logo of the shooting interface or audio details interface is displayed.
  • the video processing apparatus described above can execute the video processing method provided by any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of executing the method.
  • FIG. 6 is a schematic diagram of a hardware structure of a terminal according to an embodiment of the present disclosure.
  • the terminal in the embodiment of the present disclosure may include, but is not limited to, such as a mobile phone, a notebook computer, a digital broadcast receiver, a Personal Digital Assistant (PDA), a tablet computer (Portable Android Device, PAD), and a portable multimedia player ( Portable media (PMP), mobile terminals such as car terminals (such as car navigation terminals), and fixed terminals such as digital televisions (TVs), desktop computers, and the like.
  • PDA Personal Digital Assistant
  • PAD Portable Android Device
  • PMP Portable media
  • mobile terminals such as car terminals (such as car navigation terminals)
  • TVs digital televisions
  • desktop computers and the like.
  • the terminal shown in FIG. 6 is only an example, and should not impose any limitation on the functions and scope of use of the embodiments of the present disclosure.
  • the terminal 800 may include one or more processors (for example, a central processing unit, a graphics processor, etc.) 801 and a memory 808 configured to store one or more programs.
  • the processor 801 may execute at least one appropriate according to a program stored in a read-only memory (ROM) 802 or a program loaded from the memory 808 to a random access memory (Random Access Memory (RAM) 803). Action and handling.
  • ROM read-only memory
  • RAM Random Access Memory
  • the processor 801, the ROM 802, and the RAM 803 are connected to each other through a bus 804.
  • An input / output (I / O) interface 805 is also connected to the bus 804.
  • the following devices can be connected to the I / O interface 805: including input devices 806 such as a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc .; including, for example, a liquid crystal display (Liquid Crystal Display, LCD)
  • An output device 807 such as a speaker, a vibrator, and the like; includes a memory 808 such as a magnetic tape, a hard disk, and the like; and a communication device 809.
  • the communication device 809 may allow the terminal 800 to perform wireless or wired communication with other devices to exchange data.
  • FIG. 6 shows a terminal 800 having a variety of devices, it is not required to implement or have all the devices shown. More or fewer devices may be implemented or provided instead.
  • the process described above with reference to the flowchart may be implemented as a computer software program.
  • embodiments of the present disclosure include a computer program product including a computer program borne on a computer-readable medium, the computer program containing program code for performing a method shown in a flowchart.
  • the computer program may be downloaded and installed from the network through the communication device 809, or installed from the memory 808, or installed from the ROM 802.
  • the processor 801 the functions defined in the method of the embodiment of the present disclosure are executed.
  • the computer-readable medium of the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the two.
  • the computer-readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof.
  • Examples of computer-readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer disks, hard disks, RAM, ROM, Erasable Programmable Read-Only Memory (EPROM) ) Or flash memory, optical fiber, compact disc read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the foregoing.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in combination with an instruction execution system, device, or device.
  • a computer-readable signal medium may include a data signal that is transmitted in baseband or transmitted as part of a carrier wave, and the computer-readable signal medium carries computer-readable program code. Such a propagated data signal may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, and the computer-readable signal medium may send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device .
  • the program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: electric wires, optical cables, radio frequency (RF), etc., or any suitable combination of the foregoing.
  • the computer-readable medium may be included in the terminal described above, or may exist alone without being assembled into the terminal.
  • the above computer-readable medium carries one or more programs, and when the one or more programs are executed by the terminal, the terminal is caused to perform resolution detection on at least two video fragments, and according to the resolution of each video fragment Determining an aspect ratio of each video segment; determining a target aspect ratio according to the aspect ratio of each video segment and a preset adjustment rule; and adapting the at least two video segments to the target aspect ratio Than synthesizing a target video based on the at least two video clips. .
  • Computer program code for performing the operations of the present disclosure may be written in one or more programming languages or a combination of programming languages, the programming languages including object-oriented programming languages such as Java, Smalltalk, C ++, Also included are conventional procedural programming languages-such as "C" or similar programming languages.
  • the program code can be executed entirely on the user's computer, partly on the user's computer, as an independent software package, partly on the user's computer, partly on a remote computer, or entirely on a remote computer or server.
  • the remote computer can be connected to the user's computer through any kind of network-including a local area network (LAN) or a wide area network (WAN)-or it can be connected to an external computer ( (E.g. using an Internet service provider to connect via the Internet).
  • LAN local area network
  • WAN wide area network
  • each block in the flowchart or block diagram may represent a module, a program segment, or a part of code, which contains one or more functions to implement a specified logical function Executable instructions.
  • Each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts can be implemented in a dedicated hardware-based system that performs the specified function or operation, or can be implemented in dedicated hardware In combination with computer instructions.
  • the units described in the embodiments of the present disclosure may be implemented by software or hardware. Among them, the name of the unit does not constitute a limitation on the unit itself in some cases.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The embodiments of the present disclosure disclose a video processing method and device, a terminal, and a storage medium, wherein the method comprises: performing resolution detection on at least two video segments, and determining, according to the resolution of each video segment, respective aspect ratios of the video segments; determining a target aspect ratio on the basis of the aspect ratio and preset adjustment rules of each video segment; and configuring the at least two video segments to fit the target aspect ratio, so as to synthesize a target video on the basis of the at least two video segments.

Description

视频处理方法、装置、终端和介质Video processing method, device, terminal and medium
本公开要求在2018年09月30日提交中国专利局、申请号为201811161951.1的中国专利申请的优先权,该申请的全部内容通过引用结合在本公开中。This disclosure claims the priority of a Chinese patent application filed with the Chinese Patent Office on September 30, 2018, with an application number of 201811161951.1, the entire contents of which are incorporated herein by reference.
技术领域Technical field
本公开涉及互联网技术领域,例如涉及一种视频处理方法、装置、终端和介质。The present disclosure relates to the field of Internet technologies, and for example, to a video processing method, device, terminal, and medium.
背景技术Background technique
网络技术的发展,使得视频交互应用在人们的日常生活中非常流行。The development of network technology has made video interactive applications very popular in people's daily lives.
对于视频交互应用的互联网企业而言,满足用户需求,为用户提供满意的产品体验,是保持企业竞争力不可忽视的关键因素。针对广泛的用户群体,视频交互应用支持为用户提供多种类型的视频资源,例如搞笑类、幽默类、科学类、时事类和生活类等;同时,还支持用户随时随地拍摄不同风格的视频,并添加多种特效,设置不同类型的背景音乐等。For Internet companies with video interactive applications, meeting the needs of users and providing users with a satisfying product experience is a key factor that cannot be ignored to maintain the competitiveness of the enterprise. Aiming at a wide range of user groups, video interactive applications support providing users with multiple types of video resources, such as funny, humorous, scientific, current affairs, and life. At the same time, it also supports users to shoot different styles of video anytime, anywhere And add a variety of special effects, set different types of background music and so on.
但是,视频交互应用软件的视频编辑功能依然存在缺陷,导致视频展示效果不佳。However, the video editing function of the video interactive application software still has defects, resulting in poor video display effects.
发明内容Summary of the Invention
本公开提供一种视频处理方法、装置、终端和介质,以提高视频展示效果。The present disclosure provides a video processing method, device, terminal, and medium to improve video display effects.
本公开实施例提供了一种视频处理方法,该方法包括:An embodiment of the present disclosure provides a video processing method. The method includes:
对至少两个视频片段进行分辨率检测,并根据每个视频片段的分辨率确定所述每个视频片段的高宽比;Performing resolution detection on at least two video segments, and determining an aspect ratio of each video segment according to the resolution of each video segment;
依据每个视频片段的高宽比和预设调整规则,确定目标高宽比;Determine the target aspect ratio according to the aspect ratio and preset adjustment rules of each video clip;
将所述至少两个视频片段适配至所述目标高宽比,以基于所述至少两个视频片段合成目标视频。Adapting the at least two video segments to the target aspect ratio to synthesize a target video based on the at least two video segments.
本公开实施例还提供了一种视频处理装置,该装置包括:An embodiment of the present disclosure further provides a video processing apparatus, where the apparatus includes:
分辨率检测模块,设置为对至少两个视频片段进行分辨率检测,并根据每个视频片段的分辨率确定所述每个视频片段的高宽比;A resolution detection module, configured to perform resolution detection on at least two video segments, and determine an aspect ratio of each video segment according to the resolution of each video segment;
目标高宽比确定模块,设置为依据每个视频片段的高宽比和预设调整规则,确定目标高宽比;A target aspect ratio determination module configured to determine a target aspect ratio according to an aspect ratio of each video clip and a preset adjustment rule;
分辨率适配模块,设置为将所述至少两个视频片段均适配至所述目标高宽比,以基于所述至少两个视频片段合成目标视频。The resolution adaptation module is configured to adapt the at least two video fragments to the target aspect ratio to synthesize a target video based on the at least two video fragments.
本公开实施例还提供了一种终端,包括:An embodiment of the present disclosure further provides a terminal, including:
一个或多个处理装置;One or more processing devices;
存储装置,设置为存储一个或多个程序,A storage device configured to store one or more programs,
当所述一个或多个程序被所述一个或多个处理装置执行,使得所述一个或多个处理装置实现如本公开任一实施例所述的视频处理方法。When the one or more programs are executed by the one or more processing devices, the one or more processing devices are caused to implement the video processing method according to any embodiment of the present disclosure.
本公开实施例还提供了一种计算机可读存储介质,存储有计算机程序,该程序被装置执行时实现如本公开任一实施例所述的视频处理方法。An embodiment of the present disclosure further provides a computer-readable storage medium storing a computer program, which is executed by a device to implement the video processing method according to any embodiment of the present disclosure.
本公开提供的技术方案解决了视频编辑过程中出现的展示效果不佳的问题,实现了视频合成过程中的视频分辨率统一,提高了视频展示效果,进而提高了用户基于视频片段合成完整视频进行视频分享的体验;并且,基于视频交互应用本身可以支持视频编辑操作,简化了视频编辑过程,提高了视频编辑的便捷性。The technical solution provided by the present disclosure solves the problem of poor display effect in the video editing process, realizes the uniform video resolution in the video synthesis process, improves the video display effect, and further improves the user's ability to synthesize a complete video based on video fragments. Video sharing experience; and, video-based interactive applications can support video editing operations, simplify the video editing process, and improve the convenience of video editing.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1是本公开实施例提供的一种视频处理方法的流程示意图;FIG. 1 is a schematic flowchart of a video processing method according to an embodiment of the present disclosure;
图2是本公开实施例提供的一种视频选择界面的示意图;2 is a schematic diagram of a video selection interface according to an embodiment of the present disclosure;
图3是本公开实施例提供的一种设置有视频预览区的视频编辑界面的示意图;3 is a schematic diagram of a video editing interface provided with a video preview area according to an embodiment of the present disclosure;
图4是本公开实施例提供的另一种视频处理方法的流程示意图;4 is a schematic flowchart of another video processing method according to an embodiment of the present disclosure;
图5是本公开实施例提供的一种视频处理装置的结构示意图;5 is a schematic structural diagram of a video processing apparatus according to an embodiment of the present disclosure;
图6是本公开实施例提供的一种终端的硬件结构示意图。FIG. 6 is a schematic diagram of a hardware structure of a terminal according to an embodiment of the present disclosure.
具体实施方式detailed description
下面结合附图和实施例对本公开进行说明。此处所描述的具体实施例仅仅用于解释本公开,而非对本公开的限定。另外,为了便于描述,附图中仅示出了与本公开相关的部分而非全部结构。The disclosure is described below with reference to the drawings and embodiments. The specific embodiments described herein are only used to explain the disclosure, but not to limit the disclosure. In addition, for convenience of description, only some parts, but not all structures, related to the present disclosure are shown in the drawings.
实施例Examples
图1是本公开实施例提供的一种视频处理方法的流程示意图,本实施例可适用于对视频进行处理的情况,例如在合成视频过程中编辑视频分辨率。该方法可以由视频处理装置来执行,该装置可以采用软件和/或硬件的方式实现,并可配置于任何具有网络通信功能的终端上,例如智能手机、电脑和苹果平板电脑(ipad)等。FIG. 1 is a schematic flowchart of a video processing method according to an embodiment of the present disclosure. This embodiment may be applicable to a case where a video is processed, for example, editing a video resolution during a video synthesis process. The method can be executed by a video processing device, which can be implemented in software and / or hardware, and can be configured on any terminal with network communication functions, such as a smart phone, a computer, and an Apple iPad.
如图1所示,本公开实施例中提供的视频处理方法可以包括如下步骤。As shown in FIG. 1, the video processing method provided in the embodiment of the present disclosure may include the following steps.
S110、对至少两个视频片段进行分辨率检测,并根据每个视频片段的分辨率确定所述每个视频片段的高宽比。S110. Perform resolution detection on at least two video segments, and determine an aspect ratio of each video segment according to a resolution of each video segment.
利用视频交互应用进行视频合成的过程中,考虑视频片段的拍摄方式、拍摄相机的参数设置以及拍摄条件之间的差异,用户选择的多个视频片段的分辨率并不能保证始终一致。如果基于多个分辨率不一致的视频片段合成视频,最终的视频画面展示效果不佳。因此,视频交互应用有必要对用户选择的至少两个视频片段进行分辨率检测,以确定视频片段中是否存在分辨率不一致的视频片段。当检测出分辨率不一致时,则根据每个视频片段的分辨率,确定出所述每个视频片段的高宽比。In the process of video synthesis using a video interactive application, considering the differences between the shooting modes of the video clips, the settings of the shooting camera parameters, and the shooting conditions, the resolution of multiple video clips selected by the user cannot always be consistent. If the video is synthesized based on multiple video clips with inconsistent resolutions, the final video picture display effect is not good. Therefore, it is necessary for the video interactive application to perform resolution detection on at least two video segments selected by the user to determine whether there are video segments with inconsistent resolutions in the video segments. When resolution inconsistencies are detected, the aspect ratio of each video segment is determined according to the resolution of each video segment.
S120、依据每个视频片段的高宽比和预设调整规则,确定目标高宽比。S120. Determine a target aspect ratio according to an aspect ratio and a preset adjustment rule of each video segment.
本实施例中,预设调整规则定义了视频合成过程中确定目标高宽比的依据,例如,可以包括依据终端的屏幕分辨率确定目标高宽比,或者依据用户的自定义设置确定目标高宽比,或者依据用户选择的多个视频片段的高宽比确定目标高宽比。In this embodiment, the preset adjustment rule defines the basis for determining the target aspect ratio in the video synthesis process. For example, it may include determining the target aspect ratio according to the screen resolution of the terminal, or determining the target aspect ratio according to a user-defined setting. Or the target aspect ratio is determined based on the aspect ratios of multiple video clips selected by the user.
在一实施例中,预设调整规则包括从视频片段的高宽比中选择数值最大的高宽比作为目标高宽比。例如,分辨率不同的3个视频片段a、b和c,基于分 辨率与画面显示比例的关系,确定出视频片段a的分辨率对应的高宽比为16∶9,视频片段b的分辨率对应的高宽比为15∶9,视频片段c的分辨率对应的高宽比为4∶3,16∶9属于三个比例值中最大的值,则16∶9便是视频片段a、b和c的目标高宽比。In an embodiment, the preset adjustment rule includes selecting an aspect ratio with a maximum value from an aspect ratio of the video clip as a target aspect ratio. For example, based on the relationship between the resolution and the screen display ratio, three video segments a, b, and c with different resolutions are determined to have a 16: 9 aspect ratio corresponding to the resolution of video segment a and the resolution of video segment b. The corresponding aspect ratio is 15: 9, and the resolution of video segment c corresponds to the aspect ratio of 4: 3. 16: 9 is the largest of the three ratios. Then 16: 9 is the video segment a, b. And c target aspect ratio.
S130、将每个视频片段适配至目标高宽比,以基于至少两个视频片段合成目标视频。S130. Adapt each video segment to a target aspect ratio to synthesize a target video based on at least two video segments.
通过对视频片段的适配操作,可以统一视频片段的分辨率,进而保证了合成的目标视频的展示效果,这有助于提高用户基于视频片段合成完整视频进行视频分享的体验。继续以上述示例为例,目标高宽比是16∶9,通过将视频片段a、b和c适配至16∶9的显示比例,基于视频片段a、b和c合成的目标视频的画面显示比例将统一为16∶9,避免了合成得到的完整视频中显示画面的分辨率不一致的现象,因而可以保证较佳的展示效果。Through the adaptation operation of the video clips, the resolution of the video clips can be unified, thereby ensuring the display effect of the synthesized target video, which helps improve the user's experience of synthesizing a complete video based on the video clips for video sharing. Continuing the above example as an example, the target aspect ratio is 16: 9. By adapting the video segments a, b, and c to a 16: 9 display ratio, the screen display of the target video based on the video segments a, b, and c is synthesized The ratio will be unified to 16: 9, which avoids the phenomenon of inconsistent resolution of the display picture in the complete video obtained by the synthesis, and thus can ensure a better display effect.
此外,由于视频交互应用本身可以支持多种视频编辑操作,用户合成视频的过程中便无需额外借助其他视频合成工具,例如用于视频合成的第三方应用等,因而简化了视频编辑过程,提高了视频编辑的便捷性。In addition, since the video interactive application itself can support multiple video editing operations, users do not need to resort to other video synthesis tools, such as third-party applications for video synthesis, in the process of synthesizing video, thereby simplifying the video editing process and improving Convenience of video editing.
在一实施例中,在上述技术方案的基础上,该方法还包括:响应于在视频选择界面上触发的视频多选请求,获取选择的至少两个视频片段,其中,视频选择界面通过触发视频拍摄界面或者音频详情界面的特定标识而显示。In an embodiment, on the basis of the above technical solution, the method further includes: in response to a video multiple selection request triggered on the video selection interface, acquiring at least two selected video clips, wherein the video selection interface triggers the video by triggering the video The specific logo of the shooting interface or audio details interface is displayed.
即当用户启用终端上的视频交互应用后,可以触发视频交互应用的视频拍摄界面或者音乐详情界面的特定标识,例如上传标识或者分享标识等,由当前界面切换至视频选择界面,该视频选择界面可以同步显示终端本地的视频片段,以方便用户选择。在一实施例中,如果视频选择界面是由音乐详情界面切换进入,则用户可以使用该音乐详情页的音频作为合成视频的背景音乐。That is, when the user enables the video interactive application on the terminal, it can trigger the specific identification of the video shooting interface or music details interface of the video interactive application, such as the upload logo or share logo, etc., and switch from the current interface to the video selection interface, which is the video selection interface. The local video clips of the terminal can be displayed synchronously to facilitate user selection. In one embodiment, if the video selection interface is switched from the music detail interface, the user can use the audio of the music detail page as the background music of the synthesized video.
用户触发视频多选请求后,视频交互应用在获取用户选择的视频片段的信息的同时,记录用户选择视频片段的选择顺序,视频合成时,可以基于用户的选择顺序合成视频。在本实施例中,在合成视频的过程中,也可以按照用户自定义的视频片段的排列顺序合成视频。After the user triggers the video multiple selection request, the video interactive application records the selection order of the video clips selected by the user while obtaining the information of the video clips selected by the user. When the video is synthesized, the video can be synthesized based on the user's selection order. In this embodiment, in the process of synthesizing the video, the video may also be synthesized according to the arrangement order of the user-defined video clips.
在用户选择过程中,用户可以触控视频选择界面上的视频缩略图位置进行视频预览,以决定是否选择该视频片段。在一实施例中,用户选择的视频片段 的时长大于或等于时长阈值,即时长阈值决定了用户可选择的有效视频片段。示例性的,时长阈值设置为3秒,当用户选择的视频片段a的时长为2秒时,可以弹出提示框(弹toast),提示用户当前选择的视频片段a无效,需要重新进行选择。用户可选择的视频片段的数量可以适应性设置,例如可以设置为12,本实施例对此不做限定。当用户选择的视频片段的数量达到预设数量要求时,视频选择界面上的其他视频缩略图可以覆盖白色蒙层,并且不再支持用户选择。During the user selection process, the user can touch the video thumbnail position on the video selection interface to preview the video to determine whether to select the video clip. In one embodiment, the duration of the video segment selected by the user is greater than or equal to the duration threshold, and the immediate length threshold determines the effective video segment that the user can select. For example, the duration threshold is set to 3 seconds, and when the duration of the video clip a selected by the user is 2 seconds, a prompt box (pop toast) may pop up to prompt the user that the currently selected video clip a is invalid and needs to be selected again. The number of user-selectable video clips can be adaptively set, for example, it can be set to 12, which is not limited in this embodiment. When the number of video clips selected by the user reaches the preset number requirement, other video thumbnails on the video selection interface can cover the white mask layer, and the user selection is no longer supported.
图2是本实施例提供的一种视频选择界面的示意图,如图2所示,视频选择界面上设置多选控件21,用户触发视频多选请求后,每次选择一个视频片段,该视频片段对应的视频缩略图左上角将会显示编号,作为用户选择视频片段的记录信息。本实施例中,多选控件21可以设置在界面边缘的任意位置,图2仅作为示例,将多选控件21设置在左下方。FIG. 2 is a schematic diagram of a video selection interface provided in this embodiment. As shown in FIG. 2, a multi-select control 21 is set on the video selection interface. After the user triggers a video multi-select request, each time a video clip is selected, the video clip The corresponding video thumbnail will display a number in the upper left corner, which is used as the recording information of the video clip selected by the user. In this embodiment, the multi-select control 21 can be set at any position on the edge of the interface. FIG. 2 is only an example, and the multi-select control 21 is set at the lower left.
在一实施例中,在视频合成过程中,除了可以对视频片段进行分辨率编辑外,还可以进行剪裁、播放速度编辑、播放画面旋转、视频删除和添加显示特效中的至少一种操作。上述编辑操作涉及以合成的连续视频为编辑对象而进行的整体编辑和以每个视频片段为编辑对象而进行的单独编辑。视频编辑的效果,包括分辨率编辑效果等,均可以通过视频编辑界面的视频预览区展示给用户,即用户的视频编辑操作结束后,视频交互应用会生成编辑操作对应的视频预览效果,以供用户预览,同时保存在终端缓存中。In one embodiment, in the video synthesis process, in addition to the resolution editing of video clips, at least one of the following operations: cropping, playback speed editing, playback screen rotation, video deletion, and adding display effects can be performed. The above-mentioned editing operation involves overall editing with a composite continuous video as an editing object and individual editing with each video clip as an editing object. The effects of video editing, including resolution editing effects, can be displayed to the user through the video preview area of the video editing interface, that is, after the user's video editing operation is completed, the video interactive application will generate a video preview effect corresponding to the editing operation for User preview and saved in the terminal cache.
图3作为示例,示出了本实施例中的一种设置有视频预览区的视频编辑界面的示意图。如图3所示,视频编辑界面可以由视频选择界面直接切换进入,该视频编辑界面包括视频预览区31、视频裁剪区32和视频片段区33。本实施例中,视频预览区31用于在视频编辑过程中预览视频编辑效果,例如对初步合成的连续视频的编辑效果;视频裁剪区32左右两侧的把手可以随着用户的拖动而移动,以实现调整预览的视频时长;视频裁剪区32内的指针随着预览视频的播放而移动;视频片段区33展示用户选择的多个视频片段,通过在该区域内的左右滑动,可以查看用户选择的所有视频片段。视频编辑界面的边缘位置,或者视频预览区31和视频裁剪区32之间的空隙,均可以用于设置编辑控件,例如剪裁控件、播放速度编辑控件、分辨率编辑控件等。FIG. 3 is a schematic diagram showing a video editing interface provided with a video preview area in this embodiment as an example. As shown in FIG. 3, the video editing interface can be switched directly from the video selection interface. The video editing interface includes a video preview area 31, a video cropping area 32, and a video clip area 33. In this embodiment, the video preview area 31 is used to preview the video editing effect during the video editing process, such as the editing effect of the preliminary synthesized continuous video; the handles on the left and right sides of the video cropping area 32 can be moved as the user drags To adjust the preview video duration; the pointer in the video cropping area 32 moves as the preview video plays; the video clip area 33 displays multiple video clips selected by the user. By swiping left and right in this area, you can view the user All selected video clips. The edge position of the video editing interface or the gap between the video preview area 31 and the video cropping area 32 can be used to set editing controls, such as a cropping control, a playback speed editing control, a resolution editing control, and the like.
当检测到在视频编辑界面触发的编辑确定请求,即用户对所有的编辑效果 进行保留,则将目标视频以视频格式保存至终端特定的存储位置;同时,如果检测到视频分享请求,则将目标视频分享至服务端。When an edit determination request triggered on the video editing interface is detected, that is, the user retains all the editing effects, the target video is saved in the video format to a specific storage location of the terminal; at the same time, if a video sharing request is detected, the target is saved Video is shared to the server.
本公开实施例技术方案首先通过分辨率检测,确定至少两个视频片段的高宽比;然后,依据每个视频片段的高宽比和预设调整规则,确定目标高宽比;最后,将至少两个视频片段均适配至目标高宽比,以基于至少两个视频片段合成目标视频,解决了视频编辑过程中出现的展示效果不佳的问题,实现了视频合成过程中的视频分辨率统一,提高了视频展示效果,进而提高了用户基于视频片段合成完整视频进行视频分享的体验;并且,由于视频交互应用本身可以支持多种视频编辑操作,用户合成视频的过程中便无需额外借助其他视频合成工具,因而提高了视频编辑的便捷性。The technical solution of the embodiment of the present disclosure first determines the aspect ratio of at least two video segments through resolution detection; then, determines the target aspect ratio according to the aspect ratio of each video segment and a preset adjustment rule; finally, at least Both video clips are adapted to the target aspect ratio to synthesize the target video based on at least two video clips, which solves the problem of poor display effects during video editing and achieves uniform video resolution during video synthesis , Improve the video display effect, thereby improving the user's experience of synthesizing a complete video based on video clips for video sharing; and because the video interactive application itself can support multiple video editing operations, users do not need to resort to additional videos during the process of synthesizing videos A compositing tool that makes video editing easier.
图4是本公开实施例提供的另一种视频处理方法的流程示意图,以上述实施例中各个可选方案为基础进行说明。FIG. 4 is a schematic flowchart of another video processing method according to an embodiment of the present disclosure, and is described based on various optional solutions in the foregoing embodiment.
如图4所示,本公开实施例中提供的视频处理方法可以包括如下步骤。As shown in FIG. 4, the video processing method provided in the embodiment of the present disclosure may include the following steps.
S210、对至少两个视频片段进行分辨率检测,并根据每个视频片段的分辨率确定所述每个视频片段的的高宽比。S210: Perform resolution detection on at least two video segments, and determine an aspect ratio of each video segment according to the resolution of each video segment.
S220、依据每个视频片段的高宽比和预设调整规则,确定目标高宽比。S220. Determine a target aspect ratio according to an aspect ratio and a preset adjustment rule of each video segment.
S230、根据当前状态下的视频播放方式,从至少两个视频片段中确定出目标视频片段,其中,视频播放方式包括横屏播放和竖屏播放。S230. Determine a target video clip from at least two video clips according to a video playback mode in the current state, where the video playback modes include horizontal screen playback and vertical screen playback.
视频播放方式的不同,不仅导致视频画面的分辨率不一致,而且会影响用户的观看体验。考虑视频片段之间的差异,用户选择的多个视频片段在当前状态下的播放方式并不一定相同,例如,可能部分视频片段是横屏播放,而部分视频片段则是竖屏播放。或者,在对视频片段进行编辑过程中,多个视频片段的播放方式产生了差异。确定目标视频片段的目的便在于通过对目标视频片段进行视频旋转,最终得到播放方式统一的多个视频片段。目标视频片段可以是用户选择的视频片段中的任意一个视频片段。Different video playback methods not only result in inconsistent resolution of the video picture, but also affect the user's viewing experience. Considering the differences between video clips, the playback mode of multiple video clips selected by the user in the current state is not necessarily the same. For example, some video clips may be played in horizontal screen and some video clips may be played in vertical screen. Or, in the process of editing a video clip, a difference occurs in the playback manner of multiple video clips. The purpose of determining the target video clip is to perform video rotation on the target video clip to finally obtain multiple video clips with a uniform playback mode. The target video segment may be any one of the video segments selected by the user.
S240、旋转目标视频片段的播放画面,以得到视频播放方式统一的至少两个视频片段。S240. Rotate the playback picture of the target video clip to obtain at least two video clips in a unified video playback mode.
S250、将视频播放方式统一的至少两个视频片段均适配至目标高宽比。S250. Adapt at least two video clips with a uniform video playback mode to the target aspect ratio.
在一实施例中,适配操作至少包括画面缩放和画面边框填充。适配操作均是在保持视频片段原始高宽比的基础上,将视频片段调整至目标高宽比,这样在实现分辨率统一的前提下,并不会引起视频片段的画面失真。In an embodiment, the adaptation operation includes at least picture scaling and picture frame filling. The adaptation operations are based on maintaining the original aspect ratio of the video clip, and adjusting the video clip to the target aspect ratio, so that under the premise of achieving a uniform resolution, the video clip's picture will not be distorted.
示例性的,视频片段a的原始高宽比大于目标高宽比,则需要保持视频片段a的原始高宽比对视频片段a的显示画面进行缩放,直到符合目标高宽比;并且,如果缩放过程中出现显示画面的高度或宽度中只有一方能满足对应的目标高宽比中的高度或宽度时,则可以通过对另一方进行边缘填充的方式,例如填充黑色边缘,使得整个显示画面满足目标高宽比。For example, if the original aspect ratio of video segment a is greater than the target aspect ratio, the original aspect ratio of video segment a needs to be maintained to scale the display image of video segment a until the target aspect ratio is met; and When only one of the height or width of the display screen can meet the height or width of the corresponding target aspect ratio during the process, the other side can be filled with edges, such as filling the black edges, so that the entire display screen meets the target. Aspect Ratio.
本公开实施例技术方案首先通过分辨率检测,确定至少两个视频片段的高宽比;然后,依据每个视频片段的高宽比和预设调整规则,确定目标高宽比;最后,通过视频旋转得到播放方式统一的至少两个视频片段,并将当前状态下的视频片段统一均适配至目标高宽比,解决了视频编辑过程中出现的展示效果不佳的问题,实现了视频合成过程中的视频分辨率统一与视频播放方式的一致,提高了视频展示效果,进而提高了用户基于视频片段合成完整视频进行视频分享的体验。The technical solution of the embodiment of the present disclosure first determines the aspect ratio of at least two video clips through resolution detection; then, determines the target aspect ratio according to the aspect ratio and preset adjustment rules of each video clip; finally, through the video Rotate to obtain at least two video clips with uniform playback mode and uniformly adapt the video clips in the current state to the target aspect ratio, which solves the problem of poor display effect during video editing and realizes the video synthesis process The unified video resolution in the video is consistent with the video playback method, which improves the video display effect, thereby improving the user's experience of synthesizing a complete video based on video clips for video sharing.
图5是本公开实施例提供的一种视频处理装置的结构示意图,本实施例可适用于对视频进行处理,例如编辑视频分辨率的情况。该视频处理装置可以采用软件和/或硬件的方式实现,并可配置于任何具有网络通信功能的终端上。FIG. 5 is a schematic structural diagram of a video processing apparatus according to an embodiment of the present disclosure. This embodiment is applicable to processing a video, for example, when editing a video resolution. The video processing device may be implemented in software and / or hardware, and may be configured on any terminal having a network communication function.
如图5所示,本公开实施例中提供的视频处理装置可以包括分辨率检测模块510、目标高宽比确定模块520和分辨率适配模块530,本实施例中,分辨率检测模块510,设置为对至少两个视频片段进行分辨率检测,并根据每个视频片段的分辨率确定所述每个视频片段的高宽比;目标高宽比确定模块520,设置为依据每个现有视频片段的高宽比和预设调整规则,确定目标高宽比;分辨率适配模块530,设置为将至少两个视频片段均适配至目标高宽比,以基于至少两个视频片段合成目标视频。As shown in FIG. 5, the video processing device provided in the embodiment of the present disclosure may include a resolution detection module 510, a target aspect ratio determination module 520, and a resolution adaptation module 530. In this embodiment, the resolution detection module 510, It is configured to perform resolution detection on at least two video clips, and determine the aspect ratio of each video clip according to the resolution of each video clip; the target aspect ratio determination module 520 is set to be based on each existing video The aspect ratio and preset adjustment rules of the segment determine the target aspect ratio; the resolution adaptation module 530 is configured to adapt at least two video segments to the target aspect ratio to synthesize the target based on the at least two video segments video.
在一实施例中,预设调整规则包括从至少两个视频片段的高宽比中选择数值最大的高宽比作为目标高宽比。In an embodiment, the preset adjustment rule includes selecting an aspect ratio with a maximum value from an aspect ratio of at least two video clips as a target aspect ratio.
在一实施例中,分辨率适配模块530包括:目标视频片段确定单元,设置为根据当前状态下的视频播放方式,从至少两个视频片段中确定出目标视频片段,其中,视频播放方式包括横屏播放和竖屏播放;目标视频片段旋转单元,设置为旋转目标视频片段的播放画面,以得到视频播放方式统一的至少两个视频片段;分辨率适配单元,设置为将视频播放方式统一的至少两个视频片段均适配至目标高宽比。In an embodiment, the resolution adaptation module 530 includes: a target video segment determining unit configured to determine a target video segment from at least two video segments according to a video playback manner in a current state, where the video playback manner includes Horizontal and vertical playback; the target video clip rotation unit is set to rotate the playback video of the target video clip to get at least two video clips with the same video playback mode; the resolution adaptation unit is set to uniform video playback mode At least two video clips of are adapted to the target aspect ratio.
在一实施例中,适配操作至少包括画面缩放和画面边框填充。In an embodiment, the adaptation operation includes at least picture scaling and picture frame filling.
在一实施例中,该装置还包括:视频片段获取模块,设置为响应于在视频选择界面上触发的视频多选请求,获取选择的至少两个视频片段,其中,视频选择界面通过用户触发视频拍摄界面或者音频详情界面的特定标识而显示。In an embodiment, the device further includes a video clip obtaining module configured to obtain at least two selected video clips in response to a video multiple selection request triggered on the video selection interface, wherein the video selection interface triggers the video by the user The specific logo of the shooting interface or audio details interface is displayed.
上述视频处理装置可执行本公开任意实施例所提供的视频处理方法,具备执行方法相应的功能模块和有益效果。The video processing apparatus described above can execute the video processing method provided by any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of executing the method.
图6是本公开实施例提供的一种终端的硬件结构示意图。下面参考图6,图6示出了适于用来实现本公开实施例的终端800的结构示意图。本公开实施例中的终端可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、个人数字助理(Personal Digital Assistant,PDA)、平板电脑(Portable Android Device,PAD)、便携式多媒体播放器(Portable Media Player,PMP)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字电视(television,TV)、台式计算机等等的固定终端。图6示出的终端仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。FIG. 6 is a schematic diagram of a hardware structure of a terminal according to an embodiment of the present disclosure. Reference is made below to FIG. 6, which illustrates a schematic structural diagram of a terminal 800 suitable for implementing embodiments of the present disclosure. The terminal in the embodiment of the present disclosure may include, but is not limited to, such as a mobile phone, a notebook computer, a digital broadcast receiver, a Personal Digital Assistant (PDA), a tablet computer (Portable Android Device, PAD), and a portable multimedia player ( Portable media (PMP), mobile terminals such as car terminals (such as car navigation terminals), and fixed terminals such as digital televisions (TVs), desktop computers, and the like. The terminal shown in FIG. 6 is only an example, and should not impose any limitation on the functions and scope of use of the embodiments of the present disclosure.
如图6所示,终端800可以包括一个或多个处理器(例如中央处理器、图形处理器等)801,以及设置为存储一个或多个程序的存储器808。其中,处理器801可以根据存储在只读存储器(Read-Only Memory,ROM)802中的程序或者从存储器808加载到随机访问存储器(Random Access Memory,RAM)803中的程序而执行至少一种适当的动作和处理。在RAM 803中,还存储有终端800操作所需的至少一种程序和数据。处理器801、ROM 802以及RAM 803通过总线804彼此相连。输入/输出(I/O)接口805也连接至总线804。As shown in FIG. 6, the terminal 800 may include one or more processors (for example, a central processing unit, a graphics processor, etc.) 801 and a memory 808 configured to store one or more programs. Among them, the processor 801 may execute at least one appropriate according to a program stored in a read-only memory (ROM) 802 or a program loaded from the memory 808 to a random access memory (Random Access Memory (RAM) 803). Action and handling. In the RAM 803, at least one program and data required for the operation of the terminal 800 are also stored. The processor 801, the ROM 802, and the RAM 803 are connected to each other through a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.
通常,以下装置可以连接至I/O接口805:包括例如触摸屏、触摸板、键盘、 鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置806;包括例如液晶显示器(Liquid Crystal Display,LCD)、扬声器、振动器等的输出装置807;包括例如磁带、硬盘等的存储器808;以及通信装置809。通信装置809可以允许终端800与其他设备进行无线或有线通信以交换数据。虽然图6示出了具有多种装置的终端800,但是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。Generally, the following devices can be connected to the I / O interface 805: including input devices 806 such as a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc .; including, for example, a liquid crystal display (Liquid Crystal Display, LCD) An output device 807 such as a speaker, a vibrator, and the like; includes a memory 808 such as a magnetic tape, a hard disk, and the like; and a communication device 809. The communication device 809 may allow the terminal 800 to perform wireless or wired communication with other devices to exchange data. Although FIG. 6 shows a terminal 800 having a variety of devices, it is not required to implement or have all the devices shown. More or fewer devices may be implemented or provided instead.
根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,计算机程序产品包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置809从网络上被下载和安装,或者从存储器808被安装,或者从ROM 802被安装。在该计算机程序被处理器801执行时,执行本公开实施例的方法中限定的上述功能。According to an embodiment of the present disclosure, the process described above with reference to the flowchart may be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product including a computer program borne on a computer-readable medium, the computer program containing program code for performing a method shown in a flowchart. In such an embodiment, the computer program may be downloaded and installed from the network through the communication device 809, or installed from the memory 808, or installed from the ROM 802. When the computer program is executed by the processor 801, the functions defined in the method of the embodiment of the present disclosure are executed.
本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、RAM、ROM、可擦式可编程只读存储器(Erasable Programmable Read-Only Memory,EPROM)或闪存、光纤、便携式紧凑磁盘只读存储器(Compact Disc Read-Only Memory,CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与指令执行系统、装置或者器件结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,计算机可读信号介质中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、射频(Radio  Frequency,RF)等等,或者上述的任意合适的组合。The computer-readable medium of the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the two. The computer-readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. Examples of computer-readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer disks, hard disks, RAM, ROM, Erasable Programmable Read-Only Memory (EPROM) ) Or flash memory, optical fiber, compact disc read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in combination with an instruction execution system, device, or device. In the present disclosure, a computer-readable signal medium may include a data signal that is transmitted in baseband or transmitted as part of a carrier wave, and the computer-readable signal medium carries computer-readable program code. Such a propagated data signal may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. The computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, and the computer-readable signal medium may send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device . The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: electric wires, optical cables, radio frequency (RF), etc., or any suitable combination of the foregoing.
上述计算机可读介质可以是上述终端中所包含的;也可以是单独存在,而未装配入该终端中。The computer-readable medium may be included in the terminal described above, or may exist alone without being assembled into the terminal.
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该终端执行时,使得该终端:对至少两个视频片段进行分辨率检测,并根据每个视频片段的分辨率确定所述每个视频片段的高宽比;依据每个视频片段的高宽比和预设调整规则,确定目标高宽比;将所述至少两个视频片段均适配至所述目标高宽比,以基于所述至少两个视频片段合成目标视频。。The above computer-readable medium carries one or more programs, and when the one or more programs are executed by the terminal, the terminal is caused to perform resolution detection on at least two video fragments, and according to the resolution of each video fragment Determining an aspect ratio of each video segment; determining a target aspect ratio according to the aspect ratio of each video segment and a preset adjustment rule; and adapting the at least two video segments to the target aspect ratio Than synthesizing a target video based on the at least two video clips. .
可以以一种或多种程序设计语言或多种程序设计语言组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括面向对象的程序设计语言-诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言-诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(Local Area Network,LAN)或广域网(Wide Area Network,WAN)-连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for performing the operations of the present disclosure may be written in one or more programming languages or a combination of programming languages, the programming languages including object-oriented programming languages such as Java, Smalltalk, C ++, Also included are conventional procedural programming languages-such as "C" or similar programming languages. The program code can be executed entirely on the user's computer, partly on the user's computer, as an independent software package, partly on the user's computer, partly on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any kind of network-including a local area network (LAN) or a wide area network (WAN)-or it can be connected to an external computer ( (E.g. using an Internet service provider to connect via the Internet).
附图中的流程图和框图,图示了按照本公开多种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagram may represent a module, a program segment, or a part of code, which contains one or more functions to implement a specified logical function Executable instructions. Each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented in a dedicated hardware-based system that performs the specified function or operation, or can be implemented in dedicated hardware In combination with computer instructions.
描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在某种情况下并不构成对该单元本身的限定。The units described in the embodiments of the present disclosure may be implemented by software or hardware. Among them, the name of the unit does not constitute a limitation on the unit itself in some cases.

Claims (10)

  1. 一种视频处理方法,包括:A video processing method includes:
    对至少两个视频片段进行分辨率检测,并根据每个视频片段的分辨率确定所述每个视频片段的高宽比;Performing resolution detection on at least two video segments, and determining an aspect ratio of each video segment according to the resolution of each video segment;
    依据每个视频片段的高宽比和预设调整规则,确定目标高宽比;Determine the target aspect ratio according to the aspect ratio and preset adjustment rules of each video clip;
    将所述至少两个视频片段均适配至所述目标高宽比,以基于所述至少两个视频片段合成目标视频。Adapting the at least two video fragments to the target aspect ratio to synthesize a target video based on the at least two video fragments.
  2. 根据权利要求1所述的方法,其中,所述预设调整规则包括从所述至少两个视频片段的高宽比中选择数值最大的高宽比作为目标高宽比。The method according to claim 1, wherein the preset adjustment rule comprises selecting an aspect ratio having a maximum value from an aspect ratio of the at least two video clips as a target aspect ratio.
  3. 根据权利要求1或2所述的方法,其中,将所述至少两个视频片段均适配至所述目标高宽比,包括:The method according to claim 1 or 2, wherein adapting the at least two video clips to the target aspect ratio comprises:
    根据当前状态下的视频播放方式,从所述至少两个视频片段中确定出目标视频片段,其中,所述视频播放方式包括横屏播放和竖屏播放;Determining a target video clip from the at least two video clips according to the video playback mode in the current state, wherein the video playback modes include horizontal screen playback and vertical screen playback;
    旋转所述目标视频片段的播放画面,以得到视频播放方式统一的至少两个视频片段;Rotating the playback picture of the target video clip to obtain at least two video clips in a unified video playback mode;
    将所述视频播放方式统一的至少两个视频片段均适配至所述目标高宽比。At least two video clips unified in the video playing manner are adapted to the target aspect ratio.
  4. 根据权利要求1-3中任一所述的方法,其中,适配操作至少包括画面缩放和画面边框填充。The method according to any one of claims 1-3, wherein the adaptation operation includes at least picture scaling and picture frame filling.
  5. 根据权利要求4所述的方法,还包括:The method according to claim 4, further comprising:
    响应于在视频选择界面上触发的视频多选请求,获取选择的至少两个视频片段,其中,所述视频选择界面通过触发视频拍摄界面或者音频详情界面的特定标识而显示。In response to a video multiple selection request triggered on a video selection interface, at least two selected video clips are acquired, wherein the video selection interface is displayed by triggering a specific identification of a video shooting interface or an audio detail interface.
  6. 一种视频处理装置,包括:A video processing device includes:
    分辨率检测模块,设置为对至少两个视频片段进行分辨率检测,并根据每个视频片段的分辨率确定所述每个视频片段的高宽比;A resolution detection module, configured to perform resolution detection on at least two video segments, and determine an aspect ratio of each video segment according to the resolution of each video segment;
    目标高宽比确定模块,设置为依据每个视频片段的高宽比和预设调整规则,确定目标高宽比;A target aspect ratio determination module configured to determine a target aspect ratio according to an aspect ratio of each video clip and a preset adjustment rule;
    分辨率适配模块,设置为将所述至少两个视频片段均适配至所述目标高宽比,以基于所述至少两个视频片段合成目标视频。The resolution adaptation module is configured to adapt the at least two video fragments to the target aspect ratio to synthesize a target video based on the at least two video fragments.
  7. 根据权利要求6所述的装置,其中,所述预设调整规则包括从所述至少两个视频片段的高宽比中选择数值最大的高宽比作为目标高宽比。The apparatus according to claim 6, wherein the preset adjustment rule comprises selecting an aspect ratio having a maximum value from an aspect ratio of the at least two video clips as a target aspect ratio.
  8. 根据权利要求6或7所述的装置,其中,所述分辨率适配模块包括:The apparatus according to claim 6 or 7, wherein the resolution adaptation module comprises:
    目标视频片段确定单元,设置为根据当前状态下的视频播放方式,从所述至少两个视频片段中确定出目标视频片段,其中,所述视频播放方式包括横屏播放和竖屏播放;The target video clip determining unit is configured to determine a target video clip from the at least two video clips according to a video playback method in a current state, wherein the video playback method includes horizontal screen playback and vertical screen playback;
    目标视频片段旋转单元,设置为旋转所述目标视频片段的播放画面,以得到视频播放方式统一的至少两个视频片段;A target video clip rotation unit configured to rotate a playback picture of the target video clip to obtain at least two video clips in a unified video playback manner;
    分辨率适配单元,设置为将所述视频播放方式统一的至少两个视频片段均适配至所述目标高宽比。The resolution adaptation unit is configured to adapt at least two video clips unified in the video playing manner to the target aspect ratio.
  9. 一种终端,包括:A terminal including:
    至少一个处理器;At least one processor;
    存储器,设置为存储至少一个程序,Memory, configured to store at least one program,
    当所述至少一个程序被所述至少一个处理器执行,使得所述至少一个处理器实现如权利要求1~5中任一所述的视频处理方法。When the at least one program is executed by the at least one processor, the at least one processor implements the video processing method according to any one of claims 1 to 5.
  10. 一种计算机可读存储介质,存储有计算机程序,所述计算机程序被处理装置执行时实现如权利要求1~5中任一所述的视频处理方法。A computer-readable storage medium stores a computer program that, when executed by a processing device, implements the video processing method according to any one of claims 1 to 5.
PCT/CN2018/124781 2018-09-30 2018-12-28 Video processing method and device, terminal, and storage medium WO2020062684A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811161951.1 2018-09-30
CN201811161951.1A CN109120997A (en) 2018-09-30 2018-09-30 Method for processing video frequency, device, terminal and medium

Publications (1)

Publication Number Publication Date
WO2020062684A1 true WO2020062684A1 (en) 2020-04-02

Family

ID=64856325

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/124781 WO2020062684A1 (en) 2018-09-30 2018-12-28 Video processing method and device, terminal, and storage medium

Country Status (2)

Country Link
CN (1) CN109120997A (en)
WO (1) WO2020062684A1 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110913167A (en) * 2018-09-14 2020-03-24 北汽福田汽车股份有限公司 Vehicle monitoring method, cloud server and vehicle
CN110225251B (en) 2019-05-31 2020-10-16 维沃移动通信(杭州)有限公司 Video recording method and terminal
CN110636353B (en) * 2019-06-10 2022-09-02 海信视像科技股份有限公司 Display device
CN111405182B (en) * 2020-03-26 2021-07-23 杭州小影创新科技股份有限公司 Video editing method for adjusting lens proportion
CN111629252B (en) * 2020-06-10 2022-03-25 北京字节跳动网络技术有限公司 Video processing method and device, electronic equipment and computer readable storage medium
CN117609547A (en) * 2021-08-12 2024-02-27 荣耀终端有限公司 Video thumbnail display method, apparatus and storage medium
CN114051120A (en) * 2021-10-26 2022-02-15 远光软件股份有限公司 Video alarm method, device, storage medium and electronic equipment
CN116419029A (en) * 2021-12-31 2023-07-11 北京字跳网络技术有限公司 Video synthesis method and device
CN114466145B (en) * 2022-01-30 2024-04-12 北京字跳网络技术有限公司 Video processing method, device, equipment and storage medium
CN115529488A (en) * 2022-11-23 2022-12-27 中育博(北京)科技有限公司 Video recording and splicing method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102857794A (en) * 2011-06-28 2013-01-02 上海聚力传媒技术有限公司 Method and device for merging video segments
CN103931199A (en) * 2011-11-14 2014-07-16 苹果公司 Generation of multi -views media clips
CN105187692A (en) * 2014-06-16 2015-12-23 腾讯科技(北京)有限公司 Video recording method and device
CN106028056A (en) * 2016-06-27 2016-10-12 北京金山安全软件有限公司 Video production method and device and electronic equipment
US20180102143A1 (en) * 2016-10-12 2018-04-12 Lr Acquisition, Llc Modification of media creation techniques and camera behavior based on sensor-driven events

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105657538B (en) * 2015-12-31 2019-01-08 杭州雅乐互动科技有限公司 One kind carrying out synthetic method and device to video file by mobile terminal
CN106791915B (en) * 2016-11-24 2020-02-11 广州华多网络科技有限公司 Method and device for displaying video image
CN107371062B (en) * 2017-08-25 2020-06-02 四川长虹电器股份有限公司 Method for automatically zooming video picture

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102857794A (en) * 2011-06-28 2013-01-02 上海聚力传媒技术有限公司 Method and device for merging video segments
CN103931199A (en) * 2011-11-14 2014-07-16 苹果公司 Generation of multi -views media clips
CN105187692A (en) * 2014-06-16 2015-12-23 腾讯科技(北京)有限公司 Video recording method and device
CN106028056A (en) * 2016-06-27 2016-10-12 北京金山安全软件有限公司 Video production method and device and electronic equipment
US20180102143A1 (en) * 2016-10-12 2018-04-12 Lr Acquisition, Llc Modification of media creation techniques and camera behavior based on sensor-driven events

Also Published As

Publication number Publication date
CN109120997A (en) 2019-01-01

Similar Documents

Publication Publication Date Title
WO2020062684A1 (en) Video processing method and device, terminal, and storage medium
JP7139515B2 (en) Video imaging method, video imaging device, electronic device, and computer-readable storage medium
US11670339B2 (en) Video acquisition method and device, terminal and medium
WO2020062685A1 (en) Video processing method and apparatus, terminal and medium
WO2020077855A1 (en) Video photographing method and apparatus, electronic device and computer readable storage medium
US11178448B2 (en) Method, apparatus for processing video, electronic device and computer-readable storage medium
US11490033B2 (en) Video generating method, apparatus, electronic device and computer storage medium
WO2020233142A1 (en) Multimedia file playback method and apparatus, electronic device, and storage medium
WO2021073368A1 (en) Video file generating method and device, terminal, and storage medium
BR112013004857B1 (en) Computer- and system-implemented method of controlling, using a mobile device, presentation of media content performed by a media client, and computer-implemented method of presenting media content from a media client on a display device
US11849211B2 (en) Video processing method, terminal device and storage medium
JP7407340B2 (en) Hotspot list display methods, devices, electronic devices and storage media
US11076121B2 (en) Apparatus and associated methods for video presentation
US20240119082A1 (en) Method, apparatus, device, readable storage medium and product for media content processing
WO2023104102A1 (en) Live broadcasting comment presentation method and apparatus, and device, program product and medium
WO2017080175A1 (en) Multi-camera used video player, playing system and playing method
CN111258519B (en) Screen split implementation method, device, terminal and medium
WO2021083145A1 (en) Video processing method and device, terminal, and storage medium
WO2022242497A1 (en) Video photographing method and apparatus, electronic device, and storage medium
WO2024104333A1 (en) Cast picture processing method and apparatus, electronic device, and storage medium
WO2023202360A1 (en) Video preview method and apparatus, readable medium, and electronic device
WO2020062743A1 (en) Video code rate adjustment method and apparatus, terminal, and storage medium
WO2021083146A1 (en) Video processing method and apparatus, and terminal and storage medium
WO2022242544A1 (en) Live-streaming video stream playing method and apparatus, and electronic device and storage medium

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 01.07.2021)

122 Ep: pct application non-entry in european phase

Ref document number: 18935397

Country of ref document: EP

Kind code of ref document: A1