CN110198486A - A kind of method, computer equipment and the readable storage medium storing program for executing of preview video material - Google Patents

A kind of method, computer equipment and the readable storage medium storing program for executing of preview video material Download PDF

Info

Publication number
CN110198486A
CN110198486A CN201910449300.0A CN201910449300A CN110198486A CN 110198486 A CN110198486 A CN 110198486A CN 201910449300 A CN201910449300 A CN 201910449300A CN 110198486 A CN110198486 A CN 110198486A
Authority
CN
China
Prior art keywords
track
video
edited
user
preview
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.)
Granted
Application number
CN201910449300.0A
Other languages
Chinese (zh)
Other versions
CN110198486B (en
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.)
Shanghai Bilibili Technology Co Ltd
Original Assignee
Shanghai Bilibili 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 Shanghai Bilibili Technology Co Ltd filed Critical Shanghai Bilibili Technology Co Ltd
Priority to CN201910449300.0A priority Critical patent/CN110198486B/en
Publication of CN110198486A publication Critical patent/CN110198486A/en
Application granted granted Critical
Publication of CN110198486B publication Critical patent/CN110198486B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects

Abstract

The invention discloses method, computer equipment and the readable storage medium storing program for executing of a kind of preview video material, this method comprises: obtaining video to be edited, according to the playing duration of the video to be edited, determine track length;Track of video is created according to the track length, and image frame of the addition for video to be edited described in preview in the track of video;When detecting the addition material in the video to be edited, material track is created according to the track length, and add the mark for indicating the material in the corresponding position of the material track;The track of video and the material track are shown in user's display interface;The present invention can add material information in video by real-time exhibition in video editing process, be convenient for user's later stage compilation video.

Description

A kind of method, computer equipment and the readable storage medium storing program for executing of preview video material
Technical field
The present invention relates to Internet technical fields, and in particular to a kind of method of preview video material, computer equipment and Readable storage medium storing program for executing.
Background technique
User often edits video using Video editing software after shooting video, such as: in video Add subtitle, paster, the materials such as music, and user can different time points in video add different types of material;? When the video that preview has been edited, each material having been added in video can only be successively shown with playback progress, it cannot be to adding The whole materials being added in video carry out whole displaying, can not show the details of each material;Since user is compiling It is frequently necessary to modify repeatedly during collecting video, can exist when using traditional Video editing software, which can not obtain addition, exist The information of whole materials in video and the problem of cannot navigate to the position of the material added easily, brings to user Inconvenience, it is poor so as to cause user experience.
Summary of the invention
The purpose of the present invention is to provide method, computer equipment and the readable storage medium storing program for executing of a kind of preview video material, Material information in video can be added by real-time exhibition in video editing process, be convenient for user's later stage compilation video.
According to an aspect of the invention, there is provided a kind of method of preview video material, this method comprises the following steps:
Video to be edited is obtained, according to the playing duration of the video to be edited, determines track length;
Track of video is created according to the track length, and is added in the track of video for be edited described in preview The image frame of video;
When detecting the addition material in the video to be edited, material track is created according to the track length, and The mark for indicating the material is added in the corresponding position of the material track;
The track of video and the material track are shown in user's display interface.
Optionally, the image frame of the addition for video to be edited described in preview in the track of video, it is specific to wrap It includes:
Time interval is determined according to the playing duration of the video to be edited;
Image frame is extracted from the video to be edited according to the time interval, and successively by the image frame extracted It is added in the track of video.
Optionally, described when detecting the addition material in the video to be edited, it is created according to the track length Material track, and the mark for indicating the material is added in the corresponding position of the material track, it specifically includes:
Judge whether there is material track corresponding with the type of the material;
If so, the mark for indicating the material is added in the corresponding position on already present material track;
If it is not, then creating material track corresponding with the type of the material, and position is corresponded on the material track of creation Add the mark for indicating the material in the place of setting.
Optionally, the mark for indicating the material is added in the corresponding position in the material track, specifically Include:
Determine that the material appears in the beginning and ending time point in the video to be edited;
Start-stop position corresponding with the beginning and ending time point is determined on the material track, and in the start-stop position Add the mark for indicating the material in place.
Optionally, described to show the track of video and the material track in user's display interface, it specifically includes:
By the track of video and the material track longitudinal arrangement in user's display interface, and the video track The initial position in road and the alignment of the initial position of the material track.
Optionally, it is described by the track of video and the material track longitudinal arrangement in user's display interface, It specifically includes:
The interface width of user's display interface is obtained, and it is long to judge whether the interface width is less than the track Degree;
If so, initial position of the interception apart from the track of video is the track for setting length from the track of video Content, and in the track from initial position of the interception apart from the material track in the material track for the setting length Hold, and by the track content longitudinal arrangement being truncated in user's display interface;Wherein, the setting length is less than described Interface width;
If it is not, then whole track content longitudinal arrangements of the track of video and the material track are shown in the user Show in interface.
Optionally, when the interface width is less than the track length, described by the track of video and the element After material track is shown in user's display interface, the method also includes:
During playing the video to be edited, according to playing speed, track of video described in synchronous translational and described Material track.
Optionally, when the interface width is less than the track length, described by the track of video and the element After material track is shown in user's display interface, the method also includes:
When getting video adjustment instruction in the track of video, determine corresponding with the video adjustment instruction Track translation distance and track translation direction;
The track of video and the material track track is translated according to the track translation direction simultaneously to translate Distance.
To achieve the goals above, the present invention also provides a kind of computer equipment, which is specifically included: storage Device, processor and it is stored in the computer program that can be run on the memory and on the processor, the processor The step of method of preview video material of above-mentioned introduction is realized when executing the computer program.
To achieve the goals above, the present invention also provides a kind of computer readable storage medium, it is stored thereon with computer The step of program, the computer program realizes the method for preview video material of above-mentioned introduction when being executed by processor.
Method, computer equipment and the readable storage medium storing program for executing of preview video material provided by the invention, obtain user to The each material added in editor's video, and corresponding material track is created for each type of material;For a material, The corresponding position addition material mark of the material track of corresponding types;Each material track with material mark is shown In user's display interface, in order to which user intuitively observes type information, the position of the material added in video to be edited Information and attribute information;In addition, when playing video to be edited, each material track can with playback progress synchronous adjustment with Track content in the display interface of family, so as to user's What You See Is What You Get;The present invention can in video editing process real-time exhibition The material information of addition in video, is convenient for user's later stage compilation video.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 is a kind of optional flow diagram of the method for the preview video material that embodiment one provides;
Fig. 2 is the schematic diagram of user's display interface comprising track of video and material track in embodiment one;
Fig. 3 is in embodiment one be user's display interface when not playing video to be edited schematic diagram;
Fig. 4 is a kind of optional program module schematic diagram of the device for the preview video material that embodiment two provides;
Fig. 5 is a kind of optional hardware structure schematic diagram for the computer equipment that embodiment three provides.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that described herein, specific examples are only used to explain the present invention, not For limiting the present invention.Based on the embodiments of the present invention, those of ordinary skill in the art are not before making creative work Every other embodiment obtained is put, shall fall within the protection scope of the present invention.
It to the method, apparatus of preview video material provided by the invention, computer equipment and readable deposits with reference to the accompanying drawing Storage media is illustrated.
Embodiment one
The embodiment of the invention provides a kind of method of preview video material, Fig. 1 is a kind of optional process of this method Schematic diagram, as shown in Figure 1, this method specifically includes the following steps:
Step S101: obtaining video to be edited, according to the playing duration of the video to be edited, determines track length.
Specifically, described obtain video to be edited, comprising:
The video to be edited is obtained from the local photograph album of terminal, alternatively, being regarded by the camera of the terminal Frequency shooting is to obtain the video to be edited.
Further, the playing duration according to the video to be edited, determines track length, comprising:
The playing duration is converted into normal play duration in seconds, is searched according to the normal play duration Track length is determined to corresponding duration and length ratio, and according to the duration and length ratio.
For example, when the playing duration of the video to be edited is 1 minute, the normal play duration of the video to be edited It is 60 seconds;Due to preset duration and length ratio be 10 seconds corresponding 1 centimetre, so the track length of the video to be edited is 6 centimetres.It should be noted that different duration and length ratio, example can be preset according to different normal play durations Such as, the video for normal play duration less than 20 seconds, duration and length ratio be 1 second corresponding 1 centimetre, when for normal play It is long to be greater than 20 seconds and the video less than 60 seconds, duration and length ratio for 10 seconds corresponding 1 centimetre.
Step S102: track of video is created according to the track length, and addition is used for preview in the track of video The image frame of the video to be edited.
Specifically, the image frame of the addition for video to be edited described in preview in the track of video, comprising:
Time interval is determined according to the playing duration of the video to be edited;
Image frame is extracted from the video to be edited according to the time interval, and successively by the image frame extracted It is added in the track of video.
For example, determining that time interval is 10 seconds, from described when the playing duration of the video to be edited is 1 minute The 10th second, the 20th second, the 30th second, the 40th second, the 50th second and the 60th second image frame is extracted in video to be edited, and will be extracted Image frame out is successively added in the track of video that track length is 6 centimetres.
By the image frame in the track of video can substantially video to be edited described in preview video content, in order to Later period user navigates to the position for needing to carry out video editing based on video content.
Step S103: when detecting the addition material in the video to be edited, element is created according to the track length Material track, and the mark for indicating the material is added in the corresponding position of the material track.
Specifically, step S103, comprising:
Judge whether there is material track corresponding with the type of the material;
If so, the mark for indicating the material is added in the corresponding position on already present material track;
If it is not, then creating material track corresponding with the type of the material, and position is corresponded on the material track of creation Add the mark for indicating the material in the place of setting.
In embodiments of the present invention, material includes following type: theme, filter, background music, text, paster, special efficacy; According to the type of material of the addition in the video to be edited, corresponding material track is created for each type of material;Example Such as, it is added to background music, text and paster in the video to be edited, then SoundBreeze Clubtunes track, text element is respectively created Material track and paster material track;In addition, in embodiments of the present invention, in order to avoid the repetition of material track creates, for same Multiple materials of one type only create a material track;For example, being punished at the beginning in the video to be edited with ending It is not added to two sections of background musics, then adds first identifier in the front position of SoundBreeze Clubtunes track, and in the music element The end-position of material track adds second identifier.It in practical applications, can be every in order to distinguish various types of material tracks Corresponding rail type iden is set before a material track;Addition is used to indicate that the mark of material can be in material track Material title and material attribute, such as: musical designation, special efficacy title.
Further, the mark for indicating the material is added in the corresponding position in the material track, tool Body includes:
Determine that the material appears in the beginning and ending time point in the video to be edited;
Start-stop position corresponding with the beginning and ending time point is determined on the material track, and in the start-stop position Add the mark for indicating the material in place.
For example, being to be added with text in 1 minute video to be edited, and text addition was at the 20th second to the in playing duration 40 seconds;According to 6 centimetres of track length, playing duration 1 minute and beginning and ending time point (20 seconds to the 40th second), start-stop is calculated Position (2 centimetres to 4 centimetres), i.e., at 2 centimetres of corresponding material track to 4 centimeters addition material mark.
Step S104: the track of video and the material track are shown in user's display interface.
Specifically, step S104, comprising:
By the track of video and the material track longitudinal arrangement in user's display interface, and the video track The initial position in road and the alignment of the initial position of the material track.
As shown in Fig. 2, being user's display interface comprising track of video and material track;User's display interface includes Two regions: video viewing area and track viewing area;The video viewing area is for playing the video to be edited, the track Viewing area is for showing track of video and each material track.
Further, it is described by the track of video and the material track longitudinal arrangement in user's display interface In, it specifically includes:
The interface width of user's display interface is obtained, and it is long to judge whether the interface width is less than the track Degree;
If so, initial position of the interception apart from the track of video is the track for setting length from the track of video Content, and in the track from initial position of the interception apart from the material track in the material track for the setting length Hold, and by the track content longitudinal arrangement being truncated in user's display interface;Wherein, the setting length is less than described Interface width;
If it is not, then whole track content longitudinal arrangements of the track of video and the material track are shown in the user Show in interface.
Since the playing duration of the video to be edited is changeable, since the corresponding track length of long video is longer, such as Fruit all shows track of video and each material track in user's display interface, and track content will be made crowded smaller to one Space, be unfavorable for the viewing and lookup of user.In order to solve long video track content display problem, the present invention implement Example in, only in user's display interface display portion track content.
When not playing the video to be edited, obtain from track of video and each material track apart from start bit respectively Install the track content of measured length;For example, as shown in figure 3, not play the signal of user's display interface when video to be edited Fiducial time line is arranged in figure, intermediate in the track viewing area of user's display interface, for determining the currently playing time Point;Since the interface width of user's display interface is 6 centimetres, so being obtained from track of video and each material track respectively First 3 centimetres of track content is taken, to show in user's display interface.
Further, when the interface width is less than the track length, described by the track of video and described After material track is shown in user's display interface, the method also includes:
During playing the video to be edited, according to playing speed, track of video described in synchronous translational and described Material track.
Specifically, described according to playing speed, track of video and the material track described in synchronous translational;It specifically includes:
According to the broadcasting speed determine it is per second need mobile track translation distance, while by track of video and each Material track is per second to move forward the track translation distance.
For example, when playing speed is single times of broadcasting, it is true according to track length (6 centimetres) and playing duration (1 minute) It makes and per second needs mobile 0.1 centimetre;During playing video, at the same by track of video and each material track it is per second to 0.1 centimetre of preceding movement.
Further, when the interface width is less than the track length, described by the track of video and institute It states after material track is shown in user's display interface, the method also includes:
Step A1: it when getting video adjustment instruction in the track of video, determines to refer to video adjustment Enable corresponding track translation distance and track translation direction;
Step A2: while the track of video and the material track are translated into the rail according to the track translation direction Road translation distance.
Wherein, the video adjustment instruction includes: user's sliding distance and user's glide direction;
Step A1, specifically includes:
According to user's sliding distance in the video adjustment instruction, errant translation distance is calculated;And according to described User's glide direction in video adjustment instruction determines the track translation direction.
In embodiments of the present invention, user can be adjusted by sliding track of video the broadcasting of the video to be edited into Degree;When user is by sliding track of video to adjust playback progress, the corresponding adjustment view of slide according to user is needed Frequency track and each material track.
In embodiments of the present invention, each material that user adds in video to be edited is obtained, and is each type of Material creates corresponding material track;For a material, material is added in the corresponding position of the material track of corresponding types Mark;Each material track with material mark is shown in user's display interface, in order to which user intuitively observes Type information, location information and the attribute information of the material added in video to be edited;In addition, when playing video to be edited When, each material track can be with track content of the playback progress synchronous adjustment in user's display interface, so as to seen in user That is gained.
Embodiment two
The method of the preview video material provided in one based on the above embodiment provides a kind of preview video in the present embodiment The device of material, specifically, Fig. 4 show the optional structural block diagram of the device of the preview video material, preview video element The device of material is divided into one or more program modules, one or more program module is stored in storage medium, and As performed by one or more processors, to complete the present invention.The so-called program module of the present invention is to refer to complete specific function The series of computation machine program instruction section of energy is more suitable for describing the device of preview video material in storage medium than program itself Implementation procedure, the function of each program module of the present embodiment will specifically be introduced by being described below.
As shown in figure 4, the device of preview video material provided in an embodiment of the present invention, specifically includes consisting of part:
Module 401 is obtained, for obtaining video to be edited, according to the playing duration of the video to be edited, determines and oversteps the limit Road length;
Video module 402 for creating track of video according to the track length, and is added in the track of video and is used The image frame of the video to be edited described in the preview;
Material module 403, for when detect in the video to be edited add material when, according to the track length Material track is created, and adds the mark for indicating the material in the corresponding position of the material track;
Display module 404, for showing the track of video and the material track in user's display interface.
Wherein, module 401 is obtained, comprising:
Acquiring unit, for obtaining the video to be edited from the local photograph album of terminal, alternatively, passing through the terminal Camera carries out video capture to obtain the video to be edited;
Computing unit, for the playing duration to be converted to normal play duration in seconds, according to the mark Quasi- playing duration finds corresponding duration and length ratio, and determines track length according to the duration and length ratio.
Video module 402, is used for:
Time interval is determined according to the playing duration of the video to be edited;According to the time interval from described wait compile It collects in video and extracts image frame, and the image frame extracted is successively added in the track of video.
Material module 403, is also used to:
Judge whether there is material track corresponding with the type of the material;If so, in already present material track On corresponding position add the mark for indicating the material;If it is not, then creating element corresponding with the type of the material Material track, and the mark for indicating the material is added in corresponding position on the material track of creation.
Further, Material module 403 are specifically used for:
Determine that the material appears in the beginning and ending time point in the video to be edited;It is determined on the material track Start-stop position corresponding with the beginning and ending time point out, and add at the start-stop position mark for indicating the material Know.
Display module 404, is used for:
By the track of video and the material track longitudinal arrangement in user's display interface, and the video track The initial position in road and the alignment of the initial position of the material track.
Further, display module 404 described exists the track of video and the material track longitudinal arrangement realizing When in user's display interface, it is specifically used for:
The interface width of user's display interface is obtained, and it is long to judge whether the interface width is less than the track Degree;If so, initial position of the interception apart from the track of video is the track content for setting length from the track of video, And initial position of the interception apart from the material track is the track content of the setting length from the material track, and will The track content longitudinal arrangement being truncated to is in user's display interface;Wherein, the setting length is less than the interface width Degree;If it is not, whole track content longitudinal arrangements of the track of video and the material track are then shown boundary in the user In face.
Further, described device further include:
Adjust module, for when the interface width is less than the track length, it is described by the track of video and After the material track is shown in user's display interface, during playing the video to be edited, according to broadcasting times It spends, track of video and the material track described in synchronous translational.
The adjustment module, is also used to:
When the interface width is less than the track length, the track of video and the material track are shown described After showing in user's display interface, when getting video adjustment instruction in the track of video, determine and the view The corresponding track translation distance of frequency adjustment instruction and track translation direction, while the track of video and the material track being pressed The track translation distance is translated according to the track translation direction.
Embodiment three
The present embodiment also provides a kind of computer equipment, can such as execute the smart phone, tablet computer, notebook of program Computer, desktop computer, rack-mount server, blade server, tower server or Cabinet-type server are (including independent Server cluster composed by server or multiple servers) etc..As shown in figure 5, the computer equipment 50 of the present embodiment to It is few to include but is not limited to: memory 501, the processor 502 of connection can be in communication with each other by system bus.It should be pointed out that Fig. 5 illustrates only the computer equipment 50 with component 501-502, it should be understood that being not required for implementing all show Component, the implementation that can be substituted is more or less component.
In the present embodiment, memory 501 (i.e. readable storage medium storing program for executing) includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory etc.), random access storage device (RAM), static random-access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read only memory (PROM), magnetic storage, magnetic Disk, CD etc..In some embodiments, memory 501 can be the internal storage unit of computer equipment 50, such as the calculating The hard disk or memory of machine equipment 50.In further embodiments, memory 501 is also possible to the external storage of computer equipment 50 The plug-in type hard disk being equipped in equipment, such as the computer equipment 50, intelligent memory card (Smart Media Card, SMC), peace Digital (Secure Digital, SD) card, flash card (Flash Card) etc..Certainly, memory 501 can also both include meter The internal storage unit for calculating machine equipment 50 also includes its External memory equipment.In the present embodiment, memory 501 is commonly used in depositing Storage is installed on the operating system and types of applications software of computer equipment 50, for example, embodiment two preview video material device Program code etc..In addition, memory 501 can be also used for temporarily storing all kinds of numbers that has exported or will export According to.
Processor 502 can be in some embodiments central processing unit (Central Processing Unit, CPU), Controller, microcontroller, microprocessor or other data processing chips.The processor 502 is commonly used in control computer equipment 50 overall operation.
Specifically, in the present embodiment, processor 502 is for executing the preview video material stored in processor 502 The program of the program of method, the method for the preview video material is performed realization following steps:
Video to be edited is obtained, according to the playing duration of the video to be edited, determines track length;
Track of video is created according to the track length, and is added in the track of video for be edited described in preview The image frame of video;
When detecting the addition material in the video to be edited, material track is created according to the track length, and The mark for indicating the material is added in the corresponding position of the material track;
The track of video and the material track are shown in user's display interface.
The specific embodiment process of above method step can be found in first embodiment, and the present embodiment is not repeated to go to live in the household of one's in-laws on getting married herein It states.
Example IV
The present embodiment also provides a kind of computer readable storage medium, such as flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory etc.), random access storage device (RAM), static random-access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read only memory (PROM), magnetic storage, magnetic Disk, CD, server, App are stored thereon with computer program, the computer program is held by processor using store etc. Following method and step is realized when row:
Video to be edited is obtained, according to the playing duration of the video to be edited, determines track length;
Track of video is created according to the track length, and is added in the track of video for be edited described in preview The image frame of video;
When detecting the addition material in the video to be edited, material track is created according to the track length, and The mark for indicating the material is added in the corresponding position of the material track;
The track of video and the material track are shown in user's display interface.
The specific embodiment process of above method step can be found in first embodiment, and the present embodiment is not repeated to go to live in the household of one's in-laws on getting married herein It states.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of method of preview video material, which is characterized in that the described method includes:
Video to be edited is obtained, according to the playing duration of the video to be edited, determines track length;
Track of video is created according to the track length, and addition is used for video to be edited described in preview in the track of video Image frame;
When detecting the addition material in the video to be edited, material track is created according to the track length, and in institute Add mark for indicating the material in the corresponding position for stating material track;
The track of video and the material track are shown in user's display interface.
2. the method for preview video material according to claim 1, which is characterized in that described to add in the track of video Add the image frame for video to be edited described in preview, specifically include:
Time interval is determined according to the playing duration of the video to be edited;
Image frame is extracted from the video to be edited according to the time interval, and the image frame extracted is successively added Into the track of video.
3. the method for preview video material according to claim 1, which is characterized in that described to detect described wait compile When collecting addition material in video, material track is created according to the track length, and in the corresponding position of the material track The mark for indicating the material is added, is specifically included:
Judge whether there is material track corresponding with the type of the material;
If so, the mark for indicating the material is added in the corresponding position on already present material track;
If it is not, then creating material track corresponding with the type of the material, and the corresponding position on the material track of creation Add the mark for indicating the material.
4. the method for preview video material according to claim 1 or 3, which is characterized in that described in the material track Corresponding position add the mark for indicating the material, specifically include:
Determine that the material appears in the beginning and ending time point in the video to be edited;
Start-stop position corresponding with the beginning and ending time point is determined on the material track, and is added at the start-stop position Add the mark for indicating the material.
5. the method for preview video material according to claim 1, which is characterized in that described by the track of video and institute It states material track to be shown in user's display interface, specifically include:
By the track of video and the material track longitudinal arrangement in user's display interface, and the track of video Initial position and the alignment of the initial position of the material track.
6. the method for preview video material according to claim 5, which is characterized in that described by the track of video and institute Material track longitudinal arrangement is stated in user's display interface, is specifically included:
The interface width of user's display interface is obtained, and judges whether the interface width is less than the track length;
If so, from initial position of the interception apart from the track of video in the track of video be in the track of setting length Hold, and initial position of the interception apart from the material track is the track content of the setting length from the material track, And by the track content longitudinal arrangement being truncated in user's display interface;Wherein, the setting length is less than the boundary Face width;
If it is not, whole track content longitudinal arrangements of the track of video and the material track are then shown boundary in the user In face.
7. the method for preview video material according to claim 6, which is characterized in that described in being less than when the interface width When track length, it is described the track of video and the material track are shown in user's display interface after, the side Method further include:
During playing the video to be edited, according to playing speed, track of video and the material described in synchronous translational Track.
8. the method for preview video material according to claim 6, which is characterized in that described in being less than when the interface width When track length, it is described the track of video and the material track are shown in user's display interface after, the side Method further include:
When getting video adjustment instruction in the track of video, track corresponding with the video adjustment instruction is determined Translation distance and track translation direction;
The track of video and the material track are translated into the track translation distance according to the track translation direction simultaneously.
9. a kind of computer equipment, the computer equipment includes: memory, processor and is stored on the memory simultaneously The computer program that can be run on the processor, which is characterized in that the processor executes real when the computer program The step of any one of existing claim 1 to 8 the method.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of any one of claim 1 to 8 the method is realized when being executed by processor.
CN201910449300.0A 2019-05-28 2019-05-28 Method for previewing video material, computer equipment and readable storage medium Active CN110198486B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910449300.0A CN110198486B (en) 2019-05-28 2019-05-28 Method for previewing video material, computer equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910449300.0A CN110198486B (en) 2019-05-28 2019-05-28 Method for previewing video material, computer equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN110198486A true CN110198486A (en) 2019-09-03
CN110198486B CN110198486B (en) 2022-04-05

Family

ID=67753193

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910449300.0A Active CN110198486B (en) 2019-05-28 2019-05-28 Method for previewing video material, computer equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN110198486B (en)

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110582018A (en) * 2019-09-16 2019-12-17 腾讯科技(深圳)有限公司 Video file processing method, related device and equipment
CN111050220A (en) * 2019-12-11 2020-04-21 深圳市米兰显示技术有限公司 Media data playing method and related device
CN111541945A (en) * 2020-04-28 2020-08-14 Oppo广东移动通信有限公司 Video playing progress control method and device, storage medium and electronic equipment
CN111629252A (en) * 2020-06-10 2020-09-04 北京字节跳动网络技术有限公司 Video processing method and device, electronic equipment and computer readable storage medium
CN111757013A (en) * 2020-07-23 2020-10-09 北京字节跳动网络技术有限公司 Video processing method, device, equipment and storage medium
CN112287128A (en) * 2020-10-23 2021-01-29 北京百度网讯科技有限公司 Multimedia file editing method and device, electronic equipment and storage medium
CN112506412A (en) * 2020-12-07 2021-03-16 北京达佳互联信息技术有限公司 Video editing method and device and electronic equipment
CN113347479A (en) * 2021-05-31 2021-09-03 网易(杭州)网络有限公司 Multimedia material editing method, device, equipment and storage medium
CN113453068A (en) * 2020-03-24 2021-09-28 脸谱公司 Timing elements in video clips
CN113473204A (en) * 2021-05-31 2021-10-01 北京达佳互联信息技术有限公司 Information display method and device, electronic equipment and storage medium
CN113473223A (en) * 2021-05-31 2021-10-01 北京达佳互联信息技术有限公司 Material processing method and device, electronic equipment and storage medium
CN114339446A (en) * 2021-12-28 2022-04-12 北京百度网讯科技有限公司 Audio and video editing method, device, equipment, storage medium and program product
CN114374872A (en) * 2021-12-08 2022-04-19 卓米私人有限公司 Video generation method and device, electronic equipment and storage medium
CN114827722A (en) * 2022-04-12 2022-07-29 咪咕文化科技有限公司 Video preview method, device, equipment and storage medium
CN115278306A (en) * 2022-06-20 2022-11-01 阿里巴巴(中国)有限公司 Video editing method and device
CN115297272A (en) * 2022-08-01 2022-11-04 北京字跳网络技术有限公司 Video processing method, device, equipment and storage medium
CN115442539A (en) * 2021-06-04 2022-12-06 北京字跳网络技术有限公司 Video editing method, device, equipment and storage medium
CN116055799A (en) * 2022-05-30 2023-05-02 荣耀终端有限公司 Multi-track video editing method, graphical user interface and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1783205A (en) * 2004-10-22 2006-06-07 索尼株式会社 Picture displaying method, picture displaying program, and editing apparatus
CN1863295A (en) * 2004-05-13 2006-11-15 索尼公司 Image data processing apparatus, image data processing method, program and recording medium
CN102881308A (en) * 2011-06-27 2013-01-16 索尼公司 Editing device, editing method, and program
US20130121668A1 (en) * 2011-11-14 2013-05-16 Brian Meaney Media editing with multi-camera media clips
CN106060343A (en) * 2016-06-21 2016-10-26 广州伟度计算机科技有限公司 Micro class assistant implementation system and method used for assisting teaching process

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1863295A (en) * 2004-05-13 2006-11-15 索尼公司 Image data processing apparatus, image data processing method, program and recording medium
CN1783205A (en) * 2004-10-22 2006-06-07 索尼株式会社 Picture displaying method, picture displaying program, and editing apparatus
CN102881308A (en) * 2011-06-27 2013-01-16 索尼公司 Editing device, editing method, and program
US20130121668A1 (en) * 2011-11-14 2013-05-16 Brian Meaney Media editing with multi-camera media clips
CN106060343A (en) * 2016-06-21 2016-10-26 广州伟度计算机科技有限公司 Micro class assistant implementation system and method used for assisting teaching process

Cited By (35)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110582018A (en) * 2019-09-16 2019-12-17 腾讯科技(深圳)有限公司 Video file processing method, related device and equipment
CN111050220A (en) * 2019-12-11 2020-04-21 深圳市米兰显示技术有限公司 Media data playing method and related device
CN111050220B (en) * 2019-12-11 2022-12-06 深圳市米兰显示技术有限公司 Media data playing method and related device
CN113453068A (en) * 2020-03-24 2021-09-28 脸谱公司 Timing elements in video clips
CN111541945B (en) * 2020-04-28 2022-05-10 Oppo广东移动通信有限公司 Video playing progress control method and device, storage medium and electronic equipment
CN111541945A (en) * 2020-04-28 2020-08-14 Oppo广东移动通信有限公司 Video playing progress control method and device, storage medium and electronic equipment
JP7307864B2 (en) 2020-06-10 2023-07-12 北京字節跳動網絡技術有限公司 Video processing method, apparatus, 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
CN111629252B (en) * 2020-06-10 2022-03-25 北京字节跳动网络技术有限公司 Video processing method and device, electronic equipment 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
CN111629252A (en) * 2020-06-10 2020-09-04 北京字节跳动网络技术有限公司 Video processing method and device, electronic equipment 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
CN111757013A (en) * 2020-07-23 2020-10-09 北京字节跳动网络技术有限公司 Video processing method, device, equipment and storage medium
US11887628B2 (en) 2020-07-23 2024-01-30 Beijing Bytedance Network Technology Co., Ltd. Video processing method and apparatus, device, and storage medium
CN111757013B (en) * 2020-07-23 2022-04-29 北京字节跳动网络技术有限公司 Video processing method, device, equipment and storage medium
CN112287128B (en) * 2020-10-23 2024-01-12 北京百度网讯科技有限公司 Method and device for editing multimedia file, electronic equipment and storage medium
CN112287128A (en) * 2020-10-23 2021-01-29 北京百度网讯科技有限公司 Multimedia file editing method and device, electronic equipment and storage medium
CN112506412A (en) * 2020-12-07 2021-03-16 北京达佳互联信息技术有限公司 Video editing method and device and electronic equipment
CN112506412B (en) * 2020-12-07 2022-09-30 北京达佳互联信息技术有限公司 Video editing method and device and electronic equipment
CN113473204B (en) * 2021-05-31 2023-10-13 北京达佳互联信息技术有限公司 Information display method and device, electronic equipment and storage medium
CN113347479A (en) * 2021-05-31 2021-09-03 网易(杭州)网络有限公司 Multimedia material editing method, device, equipment and storage medium
CN113473223A (en) * 2021-05-31 2021-10-01 北京达佳互联信息技术有限公司 Material processing method and device, electronic equipment and storage medium
CN113473204A (en) * 2021-05-31 2021-10-01 北京达佳互联信息技术有限公司 Information display method and device, electronic equipment and storage medium
WO2022252528A1 (en) * 2021-05-31 2022-12-08 北京达佳互联信息技术有限公司 Information presentation method and apparatus
CN115442539B (en) * 2021-06-04 2023-11-07 北京字跳网络技术有限公司 Video editing method, device, equipment and storage medium
CN115442539A (en) * 2021-06-04 2022-12-06 北京字跳网络技术有限公司 Video editing method, device, equipment and storage medium
CN114374872A (en) * 2021-12-08 2022-04-19 卓米私人有限公司 Video generation method and device, electronic equipment and storage medium
CN114339446A (en) * 2021-12-28 2022-04-12 北京百度网讯科技有限公司 Audio and video editing method, device, equipment, storage medium and program product
CN114339446B (en) * 2021-12-28 2024-04-05 北京百度网讯科技有限公司 Audio/video editing method, device, equipment, storage medium and program product
CN114827722A (en) * 2022-04-12 2022-07-29 咪咕文化科技有限公司 Video preview method, device, equipment and storage medium
CN116055799A (en) * 2022-05-30 2023-05-02 荣耀终端有限公司 Multi-track video editing method, graphical user interface and electronic equipment
CN116055799B (en) * 2022-05-30 2023-11-21 荣耀终端有限公司 Multi-track video editing method, graphical user interface and electronic equipment
CN115278306A (en) * 2022-06-20 2022-11-01 阿里巴巴(中国)有限公司 Video editing method and device
CN115297272A (en) * 2022-08-01 2022-11-04 北京字跳网络技术有限公司 Video processing method, device, equipment and storage medium
CN115297272B (en) * 2022-08-01 2024-03-15 北京字跳网络技术有限公司 Video processing method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN110198486B (en) 2022-04-05

Similar Documents

Publication Publication Date Title
CN110198486A (en) A kind of method, computer equipment and the readable storage medium storing program for executing of preview video material
CN101957752B (en) FLASH video previewing method and system thereof, and FLASH player
KR100781623B1 (en) System and method for annotating multi-modal characteristics in multimedia documents
JP3892342B2 (en) Video editing method and apparatus for editing video projects
CN105051702B (en) A kind of computer system of video program for individual generation editor
CN104994425A (en) Video labeling method and device
US20040034869A1 (en) Method and system for display and manipulation of thematic segmentation in the analysis and presentation of film and video
US9881215B2 (en) Apparatus and method for identifying a still image contained in moving image contents
KR101540686B1 (en) An apparatus for providing comments and statistical information to video segments and the method thereof
CN101141622B (en) Interactive edit and extended expression method of network video link information
JP2011521395A (en) User interface for editing video clips
CN102405639A (en) Verification and synchronization of files obtained separately from a video content
US20080256448A1 (en) Multi-Frame Video Display Method and Apparatus
US20110107214A1 (en) Technique for synchronizing audio and slides in a presentation
US20160283478A1 (en) Method and Systems for Arranging A Media Object In A Media Timeline
CN114450935A (en) Video editing system, method and user interface
CN104751870A (en) Information processing method and electronic equipment
CN112887794B (en) Video editing method and device
CN113518187A (en) Video editing method and device
US20120027380A1 (en) Automatically bookmarking digital content
CN105898169A (en) Video processing method and device
CN105915965B (en) It is a kind of to broadcast single inspection method and device
JP4331706B2 (en) Editing apparatus and editing method
CN114374872A (en) Video generation method and device, electronic equipment and storage medium
CN110730358B (en) Live video time shifting control method, terminal and storage medium

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40010929

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant