[go: up one dir, main page]

CN109120997A - Method for processing video frequency, device, terminal and medium - Google Patents

Method for processing video frequency, device, terminal and medium Download PDF

Info

Publication number
CN109120997A
CN109120997A CN201811161951.1A CN201811161951A CN109120997A CN 109120997 A CN109120997 A CN 109120997A CN 201811161951 A CN201811161951 A CN 201811161951A CN 109120997 A CN109120997 A CN 109120997A
Authority
CN
China
Prior art keywords
video
existing
width ratio
depth
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811161951.1A
Other languages
Chinese (zh)
Inventor
韩旭
王海婷
付平非
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Microlive Vision Technology Co Ltd
Original Assignee
Beijing Microlive Vision Technology Co Ltd
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 Beijing Microlive Vision Technology Co Ltd filed Critical Beijing Microlive Vision Technology Co Ltd
Priority to CN201811161951.1A priority Critical patent/CN109120997A/en
Priority to PCT/CN2018/124781 priority patent/WO2020062684A1/en
Publication of CN109120997A publication Critical patent/CN109120997A/en
Pending legal-status Critical Current

Links

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

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 embodiment of the present disclosure discloses a kind of method for processing video frequency, device, terminal and medium, wherein this method comprises: carrying out resolution ratio detections at least two existing video clips, and determines respective depth-width ratio according to the resolution ratio of each existing video clip;According to the depth-width ratio and default adjustment rule of each existing video clip, target depth-width ratio is determined;At least two existing video clips are adapted to target depth-width ratio, to synthesize target video based at least two existing video clips.The embodiment of the present disclosure solves the problems, such as that the bandwagon effect occurred in existing video editing process is bad, realize the video resolution unification during Video Composition, video display effect is improved, and then improves the experience that user carries out video sharing based on existing video clip synthesis complete video;And improve the convenience of video editing.

Description

Method for processing video frequency, device, terminal and medium
Technical field
The present embodiments relate to Internet technical field more particularly to a kind of method for processing video frequency, device, terminal and Jie Matter.
Background technique
The development of network technology, so that video interactive application is very popular in people's daily life.
For the Internet enterprises of video interactive application, meets user demand, satisfied product body is provided for user It tests, is to maintain the very important key factor of enterprise competitiveness.For extensive user group, video interactive application is supported to use Family provides a plurality of types of video resources, such as class of making laughs, humorous class, Science, current events class and life kind etc.;Meanwhile it also propping up It holds user and shoots the video of different-style whenever and wherever possible, and add various special efficacys, different types of background music etc. is set.
But the video editing function of existing video interactive application software still remains defect, leads to video display effect It is bad.
Summary of the invention
The embodiment of the present invention provides a kind of method for processing video frequency, device, terminal and medium, to improve video display effect.
In a first aspect, the embodiment of the invention provides a kind of method for processing video frequency, this method comprises:
Resolution ratio detection is carried out at least two existing video clips, and true according to the resolution ratio of each existing video clip Fixed respective depth-width ratio;
According to the depth-width ratio and default adjustment rule of each existing video clip, target depth-width ratio is determined;
Described at least two existing video clips are adapted to the target depth-width ratio, with existing based on described at least two Video clip synthesizes target video.
Optionally, the default adjustment rule includes selecting numerical value maximum from the depth-width ratio of the existing video clip Depth-width ratio is as target depth-width ratio.
Optionally, described at least two existing video clips are adapted to the target depth-width ratio, comprising:
According to the video playing mode under current state, determine that target is regarded from described at least two existing video clips Frequency segment, wherein the video playing mode includes that transverse screen plays and vertical screen broadcasting;
The broadcasting pictures for rotating the target video segment, to obtain unified existing video clip in a manner of video playing;
The unified existing video clip of the video playing mode is adapted to the target depth-width ratio.
Optionally, adapting operation includes at least picture scaling and the filling of picture frame.
Optionally, the method also includes:
In response to the video multiselect request that user triggers on video selection interface, obtain user's selection at least two are existing There is video clip, wherein the spy at video capture interface or audio details interface is triggered by user in the video selection interface Calibration is known and is shown.
Second aspect, the embodiment of the invention also provides a kind of video process apparatus, which includes:
Resolution ratio detection module, for carrying out resolution ratio detection at least two existing video clips, and according to each existing There is the resolution ratio of video clip to determine respective depth-width ratio;
Target depth-width ratio determining module, for the depth-width ratio and default adjustment rule according to each existing video clip, really Set the goal depth-width ratio;
Resolution adaptation module, for being adapted to described at least two existing video clips to the target depth-width ratio, with Target video is synthesized based on described at least two existing video clips.
Optionally, the default adjustment rule includes selecting numerical value maximum from the depth-width ratio of the existing video clip Depth-width ratio is as target depth-width ratio.
Optionally, the resolution adaptation module includes:
Target video segment determination unit, for according to the video playing mode under current state, from described at least two Target video segment is determined in existing video clip, wherein the video playing mode includes that transverse screen plays and vertical screen broadcasting;
Target video segment rotary unit is broadcast for rotating the broadcasting pictures of the target video segment with obtaining video Put the unified existing video clip of mode;
Resolution adaptation unit, for being adapted to the unified existing video clip of the video playing mode to the target Depth-width ratio.
Optionally, adapting operation includes at least picture scaling and the filling of picture frame.
Optionally, described device further include:
Video clip obtains module, and the video multiselect request for triggering on video selection interface in response to user obtains Take at least two existing video clips of family selection, wherein the video selection interface video capture circle is triggered by user The specific identifier at face or audio details interface and show.
The third aspect, the embodiment of the present disclosure additionally provide a kind of terminal, comprising:
One or more processing units;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processing units, so that one or more of places Manage method for processing video frequency of the device realization as described in disclosure any embodiment.
Fourth aspect, the embodiment of the present disclosure additionally provide a kind of computer readable storage medium, are stored thereon with computer Program realizes the method for processing video frequency as described in the disclosure any embodiment when program is executed by device.
The embodiment of the present disclosure is first by carrying out resolution ratio detections at least two existing video clips, and according to each existing There is the resolution ratio of video clip to determine respective depth-width ratio;Then, according to the depth-width ratio of each existing video clip and default tune Whole rule determines target depth-width ratio;Finally, at least two existing video clips are adapted to target depth-width ratio, based at least Two existing video clips synthesize target videos, solve that the bandwagon effect occurred in existing video editing process is bad to ask Topic realizes the video resolution unification during Video Composition, improves video display effect, and then improve user and be based on Existing video clip synthesis complete video carries out the experience of video sharing;Also, being applied based on video interactive itself can support Video editing operations simplify video editing process, improve the convenience of video editing.
Detailed description of the invention
Fig. 1 is a kind of flow diagram for method for processing video frequency that the embodiment of the present disclosure provides;
Fig. 2 is a kind of schematic diagram at video selection interface that the embodiment of the present disclosure provides;
Fig. 3 is a kind of schematic diagram at video editing interface for being provided with video preview area that the embodiment of the present disclosure provides;
Fig. 4 is the flow diagram for another method for processing video frequency that the embodiment of the present disclosure provides;
Fig. 5 is a kind of structural schematic diagram for video process apparatus that the embodiment of the present disclosure provides;
Fig. 6 is a kind of hardware structural diagram for terminal that the embodiment of the present disclosure provides.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Optional feature and example are provided simultaneously in following each embodiments, each feature recorded in embodiment can carry out group It closes, forms multiple optinal plans.
Embodiment
Fig. 1 is a kind of flow diagram for method for processing video frequency that the embodiment of the present disclosure provides, and the present embodiment is applicable to The case where video is handled, such as video resolution is edited during synthetic video.This method can be handled by video Device executes, which can be realized by the way of software and/or hardware, and is configured in and any has network communication function In the terminal of energy, such as smart phone, computer and ipad etc..
As shown in Figure 1, the method for processing video frequency provided in the embodiment of the present disclosure may include:
S110, at least two existing video clips are carried out with resolution ratio detection, and according to point of each existing video clip Resolution determines respective depth-width ratio.
During carrying out Video Composition using video interactive application, style of shooting, the shooting of existing video clip are considered The resolution ratio of difference between the parameter setting and shooting condition of camera, multiple existing video clips of user's selection can not Guarantee consistent always.If based on the inconsistent existing video clip synthetic video of multiple resolution ratio, final video pictures exhibition Show that effect is necessarily bad.Therefore, video interactive is using it is necessary at least two existing video clips selected user to divide Resolution detection, whether there is the inconsistent video clip of resolution ratio in the existing video clip of determination.When detecting resolution ratio not When consistent, then according to the resolution ratio of each existing video clip, respective depth-width ratio is determined.
S120, depth-width ratio and default adjustment rule according to each existing video clip, determine target depth-width ratio.
Wherein, the foundation that adjustment rule defines determining target depth-width ratio during Video Composition is preset, for example, can wrap It includes and determines target depth-width ratio according to the screen resolution of terminal, or the customized setting according to user determines target depth-width ratio, Or the depth-width ratio of multiple existing video clips according to user's selection determines target depth-width ratio.
Optionally, presetting adjustment rule includes that the maximum depth-width ratio of numerical value is selected to make from the depth-width ratio of existing video clip For target depth-width ratio.For example, 3 existing video clip a, b and c that resolution ratio is different, based on resolution ratio and picture display scale Relationship, determine have video clip a the corresponding depth-width ratio of resolution ratio be 16:9, the resolution ratio pair of existing video clip b The depth-width ratio answered is 15:9, and the corresponding depth-width ratio of resolution ratio of existing video clip c is 4:3, and 16:9 belongs in three ratio values Maximum value, then 16:9 is the target depth-width ratio of existing video clip a, b and c.
S130, at least two existing video clips are adapted to target depth-width ratio, to be based at least two existing piece of video Duan Hecheng target video.
By the adapting operation to existing video clip, the resolution ratio of existing video clip can be unified, and then ensure that The bandwagon effect of the target video of synthesis, this helps to improve user and is based on existing video clip synthesis complete video progress video The experience of sharing.Continue taking the above example as an example, target depth-width ratio is 16:9, by by existing video clip a, b and c be adapted to The picture display scale of the display scale of 16:9, the target video based on existing video clip a, b and c synthesis will be unified for 16: 9, it avoids in the complete video that synthesis obtains and shows the inconsistent phenomenon of the resolution ratio of picture, thus can guarantee preferably to open up Show effect.
Further, since video interactive, which is applied, itself can support various video edit operation, the process of user's synthetic video In just without additionally by other Video Composition tools, such as the third-party application for Video Composition etc., thus simplify view Frequency editing process improves the convenience of video editing.
Based on the above technical solution, optionally, this method further include:
In response to the video multiselect request that user triggers on video selection interface, obtain user's selection at least two are existing There is video clip, wherein the specific mark at video capture interface or audio details interface is triggered by user in video selection interface Know and shows.
I.e. after user enables the video interactive application in terminal, its video capture interface or music details can be triggered The specific identifier at interface, such as upload mark or share mark etc., video selection interface is switched to by current interface, the video Selection interface can be with the existing video clip of simultaneous display terminal local, to facilitate user to select.Wherein, if video selection circle Face is entered by music details changing interface, then background of the audio of the music details page as synthetic video can be used in user Music.
After user triggers the request of video multiselect, video interactive applies the information in the existing video clip for obtaining user's selection While, record user selects the selecting sequence of existing video clip, when Video Composition, can be closed based on the selecting sequence of user At video.It certainly, can also be according to the conjunction that puts in order of the customized existing video clip of user during synthetic video At video.
In specific user's selection course, user can be carried out with the video thumbnails position on touch-control video selection interface Video preview, to decide whether to select the video clip.Optionally, the duration of the existing video clip of user's selection is greater than or waits In duration threshold value, i.e. duration threshold value determines at user option effective video segment.Illustratively, duration threshold value is set as 3 Second, when the existing video clip a of user's selection when a length of 2 seconds when, prompting frame (play toast) can be popped up, user is prompted to work as The existing video clip a of preceding selection is invalid, needs to re-start selection.The quantity of at user option existing video clip can be with Adaptability setting, such as can be set to 12, the present embodiment is not specifically limited in this embodiment.When the existing video clip of user's selection Quantity when reaching preset quantity and requiring, other video thumbnails on video selection interface can cover white mask, and No longer support user's selection.
Fig. 2 is a kind of schematic diagram at video selection interface provided in this embodiment, as shown in Fig. 2, on video selection interface Multiselect control 21 is set, after user triggers the request of video multiselect, selects an existing video clip, corresponding video contracting every time The sketch map upper left corner will show number, and the record information of existing video clip is selected as user.Wherein, multiselect control 21 can be with Any position of interface edge is set, and Fig. 2 is only as an example, be disposed at lower left.
It should be noted that during Video Composition, other than it can carry out resolution edits to existing video clip, It can also be cut out, broadcasting speed editor, broadcasting pictures rotation, video is deleted and at least one of addition special display effect behaviour Make.Above-mentioned edit operation is specifically related to the whole editor carried out using the continuous videos of synthesis as edit object and with each existing The independent editor that video clip carries out for edit object.Effect of video editing, including resolution edits effect etc., can be with User is showed by the video preview area at video editing interface, i.e., after the current video edit operation of user, video is handed over Mutually application can generate the corresponding video preview effect of edit operation, for user's preview, while be stored in terminal buffers.
Fig. 3 shows as an example, showing one of the present embodiment and being provided with the video editing interface in video preview area It is intended to.As shown in figure 3, video editing interface can directly be switched by video selection interface, which includes Video preview area 31, video Crop Area 32 and video clip area 33.Wherein, video preview area 31 is used in video editing process Preview video edit effect, such as the edit effect to the continuous videos tentatively synthesized;The handle of 32 left and right sides of video Crop Area Hand can be moved with the dragging of user, to realize the video length of adjustment preview;Pointer in video Crop Area 32 with The broadcasting of preview video and move;Video clip area 33 shows multiple existing video clips of user's selection, by the region Interior horizontally slips, and can check all existing video clips of user's selection.The marginal position at video editing interface, or view Gap between frequency preview region 31 and video Crop Area 32 may be incorporated for setting edit control, such as cuts out control, plays speed Spend edit control, resolution edits control etc..
When the editor for detecting user and triggering at video editing interface determines request, i.e., user to all edit effects into Row retains, then saves target video to the specific storage location of terminal with video format;Meanwhile if detecting the view of user Frequency sharing request then shares target video to server-side.
Embodiment of the present disclosure technical solution is detected by resolution ratio first, determines that the height of at least two existing video clips is wide Than;Then, according to the depth-width ratio of each existing video clip and default adjustment rule, target depth-width ratio is determined;Finally, will at least Two existing video clips are adapted to target depth-width ratio, to synthesize target video based at least two existing video clips, are solved The bad problem of the bandwagon effect occurred in existing video editing process, realizes the video resolution during Video Composition It is unified, video display effect is improved, and then improve user and be based on existing video clip synthesis complete video progress video point The experience enjoyed;Also, being applied due to video interactive itself can support various video edit operation, the process of user's synthetic video In just without additionally by other Video Composition tools, thus improve the convenience of video editing.
Fig. 4 is the flow diagram for another method for processing video frequency that the embodiment of the present disclosure provides, in above-described embodiment It is embodied based on each optinal plan, it can be in conjunction with optinal plan each in above-described embodiment.
As shown in figure 4, the method for processing video frequency provided in the embodiment of the present disclosure may include:
S210, at least two existing video clips are carried out with resolution ratio detection, and according to point of each existing video clip Resolution determines respective depth-width ratio.
S220, depth-width ratio and default adjustment rule according to each existing video clip, determine target depth-width ratio.
S230, according to the video playing mode under current state, determine target from least two existing video clips Video clip, wherein video playing mode includes that transverse screen plays and vertical screen broadcasting.
The difference of video playing mode, the resolution ratio for not only resulting in video pictures is inconsistent, and will affect the sight of user See experience.Consider the difference between existing video clip, multiple existing video clip broadcasting under current state of user's selection The mode of putting might not be identical, for example, it may be possible to which the existing video clip in part is that transverse screen plays, and the existing video clip in part is then Vertical screen plays.Alternatively, carrying out in editing process to existing video clip, the broadcast mode of multiple existing video clips is produced Difference.Determine that the purpose of target video segment is just to finally obtain broadcasting by carrying out video rotation to target video segment The unified multiple existing video clips of mode.Target video segment can be any one in the existing video clip of user's selection A video clip.
The broadcasting pictures of S240, rolling target video clip, to obtain unified existing video clip in a manner of video playing.
S250, the unified existing video clip of video playing mode is adapted to target depth-width ratio.
Specifically, adapting operation includes at least picture scaling and the filling of picture frame.Adapting operation is to keep existing On the basis of the original depth-width ratio of video clip, adjusted to target depth-width ratio, in this way under the premise of realizing that resolution ratio is unified, It can't cause the distortion of existing video clip.
Illustratively, the original depth-width ratio of existing video clip a is greater than target depth-width ratio, then needs to keep existing piece of video The original depth-width ratio of section a shows that picture zooms in and out to it, until meeting target depth-width ratio;Also, if gone out during scaling It now shows in the height or width of picture only one when can meet the height or width in corresponding target depth-width ratio, then it can be with By way of carrying out edge filling to another party, such as filling black border, so that it is high wide entirely to show that picture meets target Than.
Embodiment of the present disclosure technical solution is detected by resolution ratio first, determines that the height of at least two existing video clips is wide Than;Then, according to the depth-width ratio of each existing video clip and default adjustment rule, target depth-width ratio is determined;Finally, passing through view Frequency rotation obtains the unified existing video clip of broadcast mode, and the existing video clip unification under current state is adapted to mesh Depth-width ratio is marked, solves the problems, such as that the bandwagon effect occurred in existing video editing process is bad, realizes Video Composition process In video resolution it is unified consistent with video playing mode, improve video display effect, and then improve user and be based on Existing video clip synthesis complete video carries out the experience of video sharing.
Fig. 5 is a kind of structural schematic diagram for video process apparatus that the embodiment of the present disclosure provides, and the present embodiment is applicable to Video is handled, such as the case where editor's video resolution.The video process apparatus can be using software and/or hardware Mode is realized, and is configured in any terminal with network communicating function.
As shown in figure 5, the video process apparatus provided in the embodiment of the present disclosure may include resolution ratio detection module 510, Target depth-width ratio determining module 520 and resolution adaptation module 530, in which:
Resolution ratio detection module 510, for carrying out resolution ratio detection at least two existing video clips, and according to each The resolution ratio of existing video clip determines respective depth-width ratio;
Target depth-width ratio determining module 520 for the depth-width ratio according to each existing video clip and presets adjustment rule, Determine target depth-width ratio;
Resolution adaptation module 530, for being adapted at least two existing video clips to target depth-width ratio, based on extremely Few two existing video clips synthesize target video.
Optionally, presetting adjustment rule includes that the maximum depth-width ratio of numerical value is selected to make from the depth-width ratio of existing video clip For target depth-width ratio.
Optionally, resolution adaptation module 530 includes:
Target video segment determination unit, it is existing from least two for according to the video playing mode under current state Target video segment is determined in video clip, wherein video playing mode includes that transverse screen plays and vertical screen broadcasting;
Target video segment rotary unit, for the broadcasting pictures of rolling target video clip, to obtain video playing side The unified existing video clip of formula;
Resolution adaptation unit, for being adapted to the unified existing video clip of video playing mode to target depth-width ratio.
Optionally, adapting operation includes at least picture scaling and the filling of picture frame.
Optionally, the device further include:
Video clip obtains module, and the video multiselect request for triggering on video selection interface in response to user obtains Take family selection at least two existing video clips, wherein video selection interface by user triggering video capture interface or The specific identifier at person's audio details interface and show.
Method for processing video frequency provided by disclosure any embodiment can be performed in above-mentioned video process apparatus, has the side of execution The corresponding functional module of method and beneficial effect.
Fig. 6 is a kind of hardware structural diagram for terminal that the embodiment of the present disclosure provides.Below with reference to Fig. 6, it illustrates Suitable for being used to realize the structural schematic diagram of the terminal 800 of the embodiment of the present disclosure.Terminal in the embodiment of the present disclosure may include but Be not limited to such as mobile phone, laptop, digit broadcasting receiver, PDA (personal digital assistant), PAD (tablet computer), The mobile terminal of PMP (portable media player), car-mounted terminal (such as vehicle mounted guidance terminal) etc. and such as number The fixed terminal of TV, desktop computer etc..Terminal shown in Fig. 6 is only an example, should not be to the embodiment of the present disclosure Function and use scope bring any restrictions.
As shown in fig. 6, terminal 800 may include one or more processing units (such as central processing unit, graphics processor Deng) 801, and the storage device 808 for storing one or more programs.Wherein, processing unit 801 can be according to being stored in Program in read-only memory (ROM) 802 is loaded into the journey in random access storage device (RAM) 803 from storage device 808 Sequence and execute various movements appropriate and processing.In RAM 803, be also stored with terminal 800 operate required various programs and Data.Processing unit 801, ROM 802 and RAM 803 are connected with each other by bus 804.Input/output (I/O) interface 805 It is also connected to bus 804.
In general, following device can connect to I/O interface 805: including such as touch screen, touch tablet, keyboard, mouse, taking the photograph As the input unit 806 of head, microphone, accelerometer, gyroscope etc.;Including such as liquid crystal display (LCD), loudspeaker, vibration The output device 807 of dynamic device etc.;Storage device 808 including such as tape, hard disk etc.;And communication device 809.Communication device 809, which can permit terminal 800, is wirelessly or non-wirelessly communicated with other equipment to exchange data.Although Fig. 6, which is shown, to be had respectively The terminal 800 of kind device, it should be understood that being not required for implementing or having all devices shown.It can be alternatively real Apply or have more or fewer devices.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium On computer program, which includes the program code for method shown in execution flow chart.In such reality It applies in example, which can be downloaded and installed from network by communication device 809, or from storage device 808 It is mounted, or is mounted from ROM 802.When the computer program is executed by processing unit 801, the embodiment of the present disclosure is executed Method in the above-mentioned function that limits.
It should be noted that the above-mentioned computer-readable medium of the disclosure can be computer-readable signal media or meter Calculation machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but not Be limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.Meter The more specific example of calculation machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, just of one or more conducting wires Taking formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only storage Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device, Or above-mentioned any appropriate combination.In the disclosure, computer readable storage medium can be it is any include or storage journey The tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.And at this In open, computer-readable signal media may include in a base band or as the data-signal that carrier wave a part is propagated, In carry computer-readable program code.The data-signal of this propagation can take various forms, including but not limited to Electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer-readable and deposit Any computer-readable medium other than storage media, the computer-readable signal media can send, propagate or transmit and be used for By the use of instruction execution system, device or device or program in connection.Include on computer-readable medium Program code can transmit with any suitable medium, including but not limited to: electric wire, optical cable, RF (radio frequency) etc. are above-mentioned Any appropriate combination.
Above-mentioned computer-readable medium can be included in above-mentioned terminal;It is also possible to individualism, and it is unassembled Enter in the terminal.
Above-mentioned computer-readable medium carries one or more program, when said one or multiple programs are by the end When end executes, so that the terminal: obtaining at least two internet protocol addresses;Send to Node evaluation equipment includes described at least two The Node evaluation of a internet protocol address is requested, wherein the Node evaluation equipment is from least two internet protocol address In, it chooses internet protocol address and returns;Receive the internet protocol address that the Node evaluation equipment returns;Wherein, acquired Internet protocol address instruction content distributing network in fringe node.
Alternatively, above-mentioned computer-readable medium carries one or more program, when said one or multiple programs When being executed by the terminal, so that the terminal: receiving the Node evaluation including at least two internet protocol addresses and request;From it is described to In few two internet protocol addresses, internet protocol address is chosen;Return to the internet protocol address selected;Wherein, it receives Internet protocol address indicates the fringe node in content distributing network.
The calculating of the operation for executing the disclosure can be write with one or more programming languages or combinations thereof Machine program code, above procedure design language include object oriented program language-such as Java, Smalltalk, C+ +, it further include conventional procedural programming language-such as " C " language or similar programming language.Program code can Fully to execute, partly execute on the user computer on the user computer, be executed as an independent software package, Part executes on the remote computer or executes on a remote computer or server completely on the user computer for part. In situations involving remote computers, remote computer can pass through the network of any kind --- including local area network (LAN) Or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as utilize Internet service Provider is connected by internet).
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the disclosure, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction Combination realize.
Being described in unit involved in the embodiment of the present disclosure can be realized by way of software, can also be by hard The mode of part is realized.Wherein, the title of unit does not constitute the restriction to the unit itself under certain conditions, for example, the One acquiring unit is also described as " obtaining the unit of at least two internet protocol addresses ".
Above description is only the preferred embodiment of the disclosure and the explanation to institute's application technology principle.Those skilled in the art Member is it should be appreciated that the open scope involved in the disclosure, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic Scheme, while should also cover in the case where not departing from design disclosed above, it is carried out by above-mentioned technical characteristic or its equivalent feature Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed in the disclosure Can technical characteristic replaced mutually and the technical solution that is formed.

Claims (10)

1. a kind of method for processing video frequency characterized by comprising
Resolution ratio detection is carried out at least two existing video clips, and is determined respectively according to the resolution ratio of each existing video clip From depth-width ratio;
According to the depth-width ratio and default adjustment rule of each existing video clip, target depth-width ratio is determined;
Described at least two existing video clips are adapted to the target depth-width ratio, to be based on described at least two existing videos Segment synthesizes target video.
2. the method according to claim 1, wherein the default adjustment rule includes from the existing piece of video Select the maximum depth-width ratio of numerical value as target depth-width ratio in the depth-width ratio of section.
3. the method according to claim 1, wherein being adapted to described at least two existing video clips to described Target depth-width ratio, comprising:
According to the video playing mode under current state, target video piece is determined from described at least two existing video clips Section, wherein the video playing mode includes that transverse screen plays and vertical screen broadcasting;
The broadcasting pictures for rotating the target video segment, to obtain unified existing video clip in a manner of video playing;
The unified existing video clip of the video playing mode is adapted to the target depth-width ratio.
4. method according to claim 1 to 3, which is characterized in that adapting operation includes at least picture and scales and draw The filling of face frame.
5. according to the method described in claim 4, it is characterized in that, the method also includes:
In response to the video multiselect request that user triggers on video selection interface, at least two existing views of user's selection are obtained Frequency segment, wherein the specific mark at video capture interface or audio details interface is triggered by user in the video selection interface Know and shows.
6. a kind of video process apparatus characterized by comprising
Resolution ratio detection module, for carrying out resolution ratio detection at least two existing video clips, and according to each existing view The resolution ratio of frequency segment determines respective depth-width ratio;
Target depth-width ratio determining module determines mesh for the depth-width ratio and default adjustment rule according to each existing video clip Mark depth-width ratio;
Resolution adaptation module, for being adapted to described at least two existing video clips to the target depth-width ratio, to be based on At least two existing video clip synthesizes target video.
7. device according to claim 6, which is characterized in that the default adjustment rule includes from the existing piece of video Select the maximum depth-width ratio of numerical value as target depth-width ratio in the depth-width ratio of section.
8. device according to claim 6, which is characterized in that the resolution adaptation module includes:
Target video segment determination unit, it is existing from described at least two for according to the video playing mode under current state Target video segment is determined in video clip, wherein the video playing mode includes that transverse screen plays and vertical screen broadcasting;
Target video segment rotary unit, for rotating the broadcasting pictures of the target video segment, to obtain video playing side The unified existing video clip of formula;
Resolution adaptation unit, it is high wide to the target for being adapted to the unified existing video clip of the video playing mode Than.
9. a kind of terminal characterized by comprising
One or more processing units;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processing units, so that one or more of processing fill Set the method for processing video frequency realized as described in any in Claims 1 to 5.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that program dress processed Set the method for processing video frequency realized as described in any in Claims 1 to 5 when execution.
CN201811161951.1A 2018-09-30 2018-09-30 Method for processing video frequency, device, terminal and medium Pending CN109120997A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201811161951.1A CN109120997A (en) 2018-09-30 2018-09-30 Method for processing video frequency, device, terminal and medium
PCT/CN2018/124781 WO2020062684A1 (en) 2018-09-30 2018-12-28 Video processing method and device, terminal, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
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
CN109120997A true CN109120997A (en) 2019-01-01

Family

ID=64856325

Family Applications (1)

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

Country Status (2)

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

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110225251A (en) * 2019-05-31 2019-09-10 维沃移动通信(杭州)有限公司 A kind of video recording method and terminal
CN110913167A (en) * 2018-09-14 2020-03-24 北汽福田汽车股份有限公司 Vehicle monitoring method, cloud server and vehicle
CN111221457A (en) * 2020-01-08 2020-06-02 腾讯科技(深圳)有限公司 Method, device and equipment for adjusting multimedia content and readable storage medium
CN111405182A (en) * 2020-03-26 2020-07-10 杭州趣维科技有限公司 Video editing method for adjusting lens proportion
CN111629252A (en) * 2020-06-10 2020-09-04 北京字节跳动网络技术有限公司 Video processing method and device, electronic equipment and computer readable storage medium
WO2020248640A1 (en) * 2019-06-10 2020-12-17 海信视像科技股份有限公司 Display device
CN113918766A (en) * 2021-08-12 2022-01-11 荣耀终端有限公司 Video thumbnail display method, device and storage medium
CN114051120A (en) * 2021-10-26 2022-02-15 远光软件股份有限公司 Video alarm method, device, storage medium and electronic equipment
CN114466145A (en) * 2022-01-30 2022-05-10 北京字跳网络技术有限公司 Video processing method, device, equipment and storage medium
CN115529488A (en) * 2022-11-23 2022-12-27 中育博(北京)科技有限公司 Video recording and splicing method and system
WO2023125097A1 (en) * 2021-12-31 2023-07-06 北京字跳网络技术有限公司 Video synthesis method and apparatus

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105657538A (en) * 2015-12-31 2016-06-08 北京东方云图科技有限公司 Method and device for synthesizing video file by mobile terminal
CN106028056A (en) * 2016-06-27 2016-10-12 北京金山安全软件有限公司 Video production method and device and electronic equipment
CN106791915A (en) * 2016-11-24 2017-05-31 广州华多网络科技有限公司 A kind of method and apparatus for showing video image
CN107371062A (en) * 2017-08-25 2017-11-21 四川长虹电器股份有限公司 The method of video pictures auto zoom

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102857794B (en) * 2011-06-28 2018-03-06 上海聚力传媒技术有限公司 A kind of method and apparatus for being used to merge video segmentation
US9111579B2 (en) * 2011-11-14 2015-08-18 Apple Inc. Media editing with multi-camera media clips
CN105187692B (en) * 2014-06-16 2018-05-18 腾讯科技(北京)有限公司 Video capture method and device
WO2018071557A1 (en) * 2016-10-12 2018-04-19 Lr Acquisition, Llc Media creation based on sensor-driven events

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105657538A (en) * 2015-12-31 2016-06-08 北京东方云图科技有限公司 Method and device for synthesizing video file by mobile terminal
CN106028056A (en) * 2016-06-27 2016-10-12 北京金山安全软件有限公司 Video production method and device and electronic equipment
CN106791915A (en) * 2016-11-24 2017-05-31 广州华多网络科技有限公司 A kind of method and apparatus for showing video image
CN107371062A (en) * 2017-08-25 2017-11-21 四川长虹电器股份有限公司 The method of video pictures auto zoom

Cited By (21)

* 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
CN110225251A (en) * 2019-05-31 2019-09-10 维沃移动通信(杭州)有限公司 A kind of video recording method and terminal
US11838637B2 (en) 2019-05-31 2023-12-05 Vivo Mobile Communication Co., Ltd. Video recording method and terminal
WO2020248640A1 (en) * 2019-06-10 2020-12-17 海信视像科技股份有限公司 Display device
CN111221457A (en) * 2020-01-08 2020-06-02 腾讯科技(深圳)有限公司 Method, device and equipment for adjusting multimedia content and readable storage medium
CN111405182A (en) * 2020-03-26 2020-07-10 杭州趣维科技有限公司 Video editing method for adjusting lens proportion
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
CN111629252A (en) * 2020-06-10 2020-09-04 北京字节跳动网络技术有限公司 Video processing method and device, electronic equipment and computer readable storage medium
WO2021249168A1 (en) * 2020-06-10 2021-12-16 北京字节跳动网络技术有限公司 Video processing method and apparatus, electronic device, and computer readable storage medium
US12456496B2 (en) 2020-06-10 2025-10-28 Beijing Bytedance Network Technology Co., Ltd. Video processing method and apparatus, electronic device, and computer readable storage medium
US12068006B2 (en) 2020-06-10 2024-08-20 Beijing Bytedance Network Technology Co., Ltd. Video processing method and apparatus, electronic device, and computer readable storage medium
KR20230016049A (en) * 2020-06-10 2023-01-31 베이징 바이트댄스 네트워크 테크놀로지 컴퍼니, 리미티드 Video processing method and device, electronic device, and computer readable storage medium
KR102575848B1 (en) 2020-06-10 2023-09-06 베이징 바이트댄스 네트워크 테크놀로지 컴퍼니, 리미티드 Video processing method and device, electronic device, and computer readable storage medium
CN113918766A (en) * 2021-08-12 2022-01-11 荣耀终端有限公司 Video thumbnail display method, device and storage medium
CN113918766B (en) * 2021-08-12 2023-10-13 荣耀终端有限公司 Video thumbnail display method, device and storage medium
CN114051120A (en) * 2021-10-26 2022-02-15 远光软件股份有限公司 Video alarm method, device, storage medium and electronic equipment
WO2023125097A1 (en) * 2021-12-31 2023-07-06 北京字跳网络技术有限公司 Video synthesis method and apparatus
CN114466145B (en) * 2022-01-30 2024-04-12 北京字跳网络技术有限公司 Video processing method, device, equipment and storage medium
CN114466145A (en) * 2022-01-30 2022-05-10 北京字跳网络技术有限公司 Video processing method, device, equipment and storage medium
CN115529488A (en) * 2022-11-23 2022-12-27 中育博(北京)科技有限公司 Video recording and splicing method and system

Also Published As

Publication number Publication date
WO2020062684A1 (en) 2020-04-02

Similar Documents

Publication Publication Date Title
CN109120997A (en) Method for processing video frequency, device, terminal and medium
CN109275028A (en) Video acquiring method, device, terminal and medium
CN108989691B (en) Video shooting method and device, electronic equipment and computer readable storage medium
US11490033B2 (en) Video generating method, apparatus, electronic device and computer storage medium
CN112911379B (en) Video generation method, device, electronic equipment and storage medium
CN109151595B (en) Method for processing video frequency, device, terminal and medium
JP7139515B2 (en) Video imaging method, video imaging device, electronic device, and computer-readable storage medium
CN111050203B (en) Video processing method and device, video processing equipment and storage medium
CN109495791A (en) A kind of adding method, device, electronic equipment and the readable medium of video paster
CN110312162A (en) Selected stage treatment method, device, electronic equipment and readable medium
US20240339132A1 (en) Video generation method and apparatus, and electronic device and medium
JP2016126445A (en) Server, control method thereof, and program
CN109195010A (en) Code rate adjusting method and device
CN114285961A (en) Image processing method, device, computer equipment and storage medium
CN111258519A (en) Screen split implementation method, device, terminal and medium
JP2025502797A (en) Method, device, electronic device, medium and program product for displaying video recordings
WO2022194070A1 (en) Video processing method for application, and electronic device
CN110381356A (en) Audio-video generation method, device, electronic equipment and readable medium
CN105491440B (en) A kind of application method of play control, terminal and server
WO2025067392A1 (en) Travel record generation method and apparatus, electronic device, and storage medium
CN116016817B (en) Video editing method, device, electronic device and storage medium
WO2024099370A1 (en) Video production method and apparatus, device and medium
JP7638691B2 (en) Information processing device, communication system, content playback program, and content playback method
JP2019106201A (en) Server, server controlling method, and program
CN111290995A (en) Resource management method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190101

RJ01 Rejection of invention patent application after publication