WO2016095071A1 - Video processing method, video processing device and playing device - Google Patents

Video processing method, video processing device and playing device Download PDF

Info

Publication number
WO2016095071A1
WO2016095071A1 PCT/CN2014/093785 CN2014093785W WO2016095071A1 WO 2016095071 A1 WO2016095071 A1 WO 2016095071A1 CN 2014093785 W CN2014093785 W CN 2014093785W WO 2016095071 A1 WO2016095071 A1 WO 2016095071A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
attribute information
segment
video segment
editing
Prior art date
Application number
PCT/CN2014/093785
Other languages
French (fr)
Chinese (zh)
Inventor
白高平
赖雅君
梁泰文
Original Assignee
深圳市大疆创新科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市大疆创新科技有限公司 filed Critical 深圳市大疆创新科技有限公司
Priority to PCT/CN2014/093785 priority Critical patent/WO2016095071A1/en
Priority to CN201480010538.9A priority patent/CN105519095B/en
Priority to JP2016536996A priority patent/JP6367334B2/en
Priority to CN201580009864.2A priority patent/CN107005624B/en
Priority to EP15868878.8A priority patent/EP3167604B1/en
Priority to CN202111113818.0A priority patent/CN113766161B/en
Priority to PCT/CN2015/075458 priority patent/WO2016095361A1/en
Priority to EP15868884.6A priority patent/EP3123644B1/en
Priority to CN202010206245.5A priority patent/CN111432152A/en
Priority to EP21158401.6A priority patent/EP3846454A1/en
Priority to PCT/CN2015/076015 priority patent/WO2016095367A1/en
Priority to CN201580067797.XA priority patent/CN107223316B/en
Priority to DK15868884.6T priority patent/DK3123644T3/en
Priority to ES15868884T priority patent/ES2877224T3/en
Publication of WO2016095071A1 publication Critical patent/WO2016095071A1/en
Priority to US15/349,958 priority patent/US9973728B2/en
Priority to US15/598,170 priority patent/US10567700B2/en
Priority to US15/942,862 priority patent/US10284808B2/en
Priority to US16/270,122 priority patent/US10771734B2/en
Priority to US16/789,651 priority patent/US11095847B2/en
Priority to US16/939,653 priority patent/US20200358979A1/en

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/02Editing, e.g. varying the order of information signals recorded on, or reproduced from, record carriers
    • G11B27/031Electronic editing of digitised analogue information signals, e.g. audio or video signals
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/414Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance
    • 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

Definitions

  • the present invention relates to the field of multimedia technologies, and in particular, to a video processing method, apparatus, and playback apparatus.
  • the editing of video generally includes: adding music, subtitle editing in some recorded videos, splicing multiple recorded videos into one combined video, and applying a professional video clip application to a recorded video. Editing, including removing unwanted video content, retains only the content you need.
  • the current video editing method uses a more professional video editing application to edit the recorded video, which is inconvenient for ordinary users, and takes time and effort.
  • the technical problem to be solved by the embodiments of the present invention is to provide a video processing method, a video processing device, and a playback device, which can conveniently and quickly perform editing and recording on the currently played video.
  • an embodiment of the present invention provides a video processing method, including:
  • the present invention also provides a video processing apparatus, including:
  • An obtaining module configured to acquire an editing operation for the currently played target video, and determine a video segment selected by the editing operation
  • a recording module configured to record attribute information of the selected video segment to facilitate editing the target video.
  • an embodiment of the present invention further provides a playback apparatus, including: a player and a processor;
  • the player is configured to play a video
  • the processor is configured to acquire an edit operation for the currently played target video, determine a video segment selected by the editing operation, and record attribute information of the selected video segment to facilitate the target The video is edited.
  • the user by determining a video segment on the target video and storing the video segment information, the user can synthesize the video file according to the attribute information of the stored video segment, without editing by a dedicated video editing software, and the operation is simple.
  • FIG. 1 is a schematic flow chart of a video processing method according to an embodiment of the present invention.
  • FIG. 2 is a schematic flowchart diagram of another video processing method according to an embodiment of the present invention.
  • FIG. 3 is a schematic flow chart of still another video processing method according to an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a video processing apparatus according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of another video processing apparatus according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of an acquisition module of the video processing device of FIG. 4 or FIG. 5;
  • Figure 7 is a schematic diagram of a recording module of the video processing device of Figure 4 or Figure 5;
  • Figure 8 is a schematic diagram of an editing module of the video processing device of Figure 5;
  • Figure 9 is a schematic diagram of a synthesis module of the video processing device of Figure 5.
  • Figure 10 is a schematic diagram of a processing module of the video processing device of Figure 5;
  • FIG. 11 is a schematic structural diagram of a playback apparatus according to an embodiment of the present invention.
  • FIG. 1 is a schematic flowchart of a video processing method according to an embodiment of the present invention.
  • the method in the embodiment of the present invention may be implemented in an electronic device capable of playing video such as an aerial camera, a mobile phone, or a tablet computer.
  • the method includes:
  • S101 Acquire an editing operation for the currently played target video, and determine a video segment selected by the editing operation.
  • the currently played target video may be a video being recorded, a video that has been recorded for preview playback, or a video that is played back.
  • a video capture device such as a camera, a video camera, or the like
  • a third-party electronic device such as a mobile phone, a tablet, or a personal computer. Play on electronic devices.
  • the editing operation for the target video is detected and acquired, and when the editing operation is detected, the video segment is determined from the target video according to the determination rule associated with the editing operation.
  • Edit operations can be click operations, double-click operations, or long press operations.
  • the specific determination rules are:
  • a predetermined length of the video segment is determined by extending a predetermined length of time from the clicked time point to the two sides on the target video.
  • the click time point is extended to the start direction of the target video for 2 seconds, and the end direction of the target video is extended by 3 seconds, and a video clip having a duration of 5 seconds is determined.
  • the extension time can also be set to other values, such as extending to the target video starting direction for 5 seconds, and extending to the target video ending direction for 5 seconds to determine a video clip with a duration of 10 seconds.
  • the video clip between the two double-click operations is determined according to the time points of the two double-click operations.
  • the video clip between the start time point and the end time point is determined from the target video according to the start time point and the end time point of the long press operation.
  • the time point at which the function button is pressed can be extended forward by a few seconds and used as a starting point, thereby ensuring that the captured video segment is more complete.
  • the start direction of the target video is extended by 2 seconds.
  • the predetermined time length may be extended to the end direction of the target video.
  • S102 Record attribute information of the selected video segment to facilitate editing the target video.
  • the attribute information of the video segment determined in the S101 is stored, wherein the attribute information includes a start time point, an end time point of the video segment in the target video, and time information when the video segment is selected.
  • the attribute information may also include some description information, such as the format of the video clip, the duration, the occupied memory size, the shooting location, the shooting route, and the file name, resolution, frame rate, and the like of the target video from which the video clip is selected.
  • the attribute information recorded by the video clip can be used to edit the target video. Specifically, when the video synthesis instruction is detected, all the video segments corresponding to the attribute information may be extracted from the target video according to the recorded attribute information, and the extracted video segments are combined to form a video file. Wherein, when the video clips are merged, the video clips may be sorted according to the time points of the video clips in the target video, and then merged; or the video clips may be sorted according to the determined time points of the video clips in the target video, and then merge.
  • the specific consolidation rules are based on user needs.
  • the video segment may be determined on the locally cached video, and the description information corresponding to the video segment may be stored, and the description information corresponding to each saved video segment may be subsequently followed.
  • Corresponding video segments are extracted from a storage medium on the aerial camera, such as a video recorded on a memory card. Therefore, if the locally buffered video resolution is lower and the video resolution recorded in the aerial storage medium is higher, the description information of the video segment may be first determined on the low resolution video and subsequently determined from the high resolution according to the description information.
  • the video clip is extracted from the rate video.
  • the resolution of the video clip can also be changed when the video clip is extracted from the target video. For example, the resolution of the video clip is reduced to save space; or the resolution of the video clip can be improved by using an interpolation technique or the like.
  • the attribute information of the video segment may also be edited according to the editing operation instruction.
  • the editing operation includes: modifying one or more of modifying the attribute information, adding new attribute information, and deleting the attribute information.
  • the editing operation is a modification of the recorded attribute information
  • receiving the modification operation instruction the start time point and/or the end time point of the video in the attribute information may be modified, thereby extending or shortening the determined video segment, or the video segment Move forward or backward.
  • the new operation instruction is received, the target video is replayed, the editing operation for the target video is received again, and the video segment selected by the editing operation is determined, thereby increasing the recording of the new video.
  • the attribute information of the selected video clip is
  • the deletion operation instruction is received, and the attribute information corresponding to the specified video segment is deleted according to the video segment specified by the deletion operation instruction.
  • the video segments are extracted from the target video according to the edited attribute information, and merged into a video file.
  • the determined video segment may be stored, and the video stream of the video segment is in a specific format, such as MP4 (Moving Picture Experts Group Audio Layer IV), Formats such as AVI (Audio Video Interleave) and MOV (Quick Time Movie Format) are stored in a storage medium.
  • the user can preview each video clip and also merge the video clips into a video file for playback or preview.
  • the stored video clip may be selected during one play or may be selected by playing the target video multiple times, so the time sequence of the storage time of the video clip and the time sequence of the video clip in the target video may be inconsistent.
  • the video clips may be sequentially superimposed according to the time sequence in which the video clips are stored, or may be sorted according to the time points of the video clips in the target video, and then merged into video files.
  • selecting a video clip from the target video and extracting the video clip based on the attribute information of the video clip, and synthesizing the video clip as a video file can all be done by a dedicated application.
  • the video processing method provided in the embodiment of the present invention is simple in operation, and does not require the user to have professional video editing skills.
  • FIG. 2 is a schematic flowchart of another video processing method according to the present invention. Specifically, the method includes:
  • the currently played target video may be the video being recorded, the video that has been recorded for preview playback, or the video being played back.
  • S202 Determine a video segment from the target video according to a determination rule associated with the editing operation.
  • the editing operation includes clicking, double clicking, or long pressing on a physical button or a function button in the application.
  • the video clip is determined by extending a predetermined duration from the time point of the click operation on the target video.
  • the video segment between the two double-click operations is determined according to the time points of the two double-click operations.
  • the video clip between the start time point and the end time point is determined from the target video according to the start time point and the end time point of the long press operation.
  • S203 Acquire attribute information of the video segment.
  • the attribute information of the video segment is extracted.
  • the determined video clips can also be stored.
  • the attribute information of the video clip is stored in a document, and the name of the document is associated with the name of the target video, so the user can conveniently find the target video corresponding to the attribute according to the document name of the attribute information.
  • This document is independent of the target video.
  • S205 Acquire a synthetic video operation instruction.
  • the video segment indicated by the attribute information is extracted from the target video according to the attribute information in the document.
  • the attribute information Before extracting the video segment indicated by the attribute information from the target video according to the attribute information in the document, the attribute information may be edited according to the user's needs, the attribute information of some video segments is deleted from the document, and the corresponding video segments are modified. Attribute information or add attribute information for new video clips to the document.
  • the document can also be edited multiple times.
  • the video clip is extracted from the target video according to the modified attribute information document.
  • the synthesized extracted video segment is a video file.
  • the video clips When synthesizing a video file, the video clips may be sorted according to the time sequence of the video clips in the target video or the time points at which the video clips are determined in the target video, thereby merging the sorted video clips into video files.
  • the video clip can be played back or exported to a storage medium such as a personal computer, mobile phone, tablet or mobile hard disk for later playback.
  • a storage medium such as a personal computer, mobile phone, tablet or mobile hard disk for later playback.
  • the user opens a new target video and selects a video clip from the new target video, the above steps are repeated, the video clip is determined from the new target video, and the attribute information of the video clip is stored in the new document.
  • the attribute information of the video segment is stored in the preset document, and even if the video clip of the user clip is not stored, the video may be extracted from the target video according to the information in the document, thereby saving memory space.
  • FIG. 3 is a schematic flowchart of still another video processing method according to the present invention. Specifically, the method includes:
  • S301 Acquire an editing operation for the currently played target video.
  • S302 Determine a video segment from the target video according to a determination rule associated with the editing operation.
  • the attribute information of the acquired video segment is embedded in the target video, such as marking a start time point and an end time point of the video segment on the target video, and the video segment may be named or simply described, and It is also possible to mark the point in time at which the video clip was determined.
  • the attribute information of the video clip is encapsulated into the target video. After opening the target video, the user can click on the determined video clip to preview the video clip.
  • S305 Acquire a synthetic video operation instruction.
  • the video segment indicated by the attribute information is extracted from the target video according to the attribute information in the document.
  • the target video is opened, the determined video segment is extracted, and the video segment is stored.
  • the synthesized extracted video segment is a video file.
  • the video clips Before the extracted video segments are merged, the video clips may be sorted according to the time in the target video or the determined time points of the video segments, and then the sorted video segments are combined to obtain a video file.
  • the attribute information of the selected video segment is embedded on the target video, so that the attribute information of the video segment can be obtained at the same time when the target video is played, and the user can simultaneously view the video segment during the target video playing process.
  • the attribute information is modified.
  • the user by determining a video segment on the target video and storing the video segment information, the user can synthesize the video file according to the attribute information of the stored video segment, and can edit the video file by editing the attribute information of the video segment, without Edited with dedicated video editing software for easy operation.
  • Video clips can also be marked during recording, eliminating the need to play back the target video to determine the video clip, saving time.
  • a video processing device and a playback device are described below.
  • FIG. 4 it is a schematic structural diagram of a video processing apparatus according to an embodiment of the present invention.
  • the video processing apparatus may be configured in an electronic device capable of playing video such as an aerial camera, a mobile phone, a tablet computer, a video camera, or an aerial camera.
  • the video processing device includes:
  • the obtaining module 1 is configured to acquire an editing operation for the currently played target video, and determine a video segment selected by the editing operation;
  • the recording module 2 is configured to record attribute information of the selected video segment to facilitate editing the target video.
  • the acquisition module 1 acquires the user's editing operation on the target video, such as a click operation, a double-click operation, or a long-press operation performed by the user during the editing operation, and according to the click operation, the double-click operation, and the long-press operation.
  • a corresponding determination rule determines a video segment from the target video.
  • the recording module 2 stores attribute information of the video segment determined by the obtaining module 1 to subsequently edit the target video according to the stored attribute information.
  • the video processing device may further include a playing module 3, an editing module 4, a synthesizing module 5, and a processing module 6.
  • the playing module 3 is used to play a video.
  • the video played by the playing module 3 may be a video that is being recorded, has been recorded for preview playback, or a video that is played back, or may be a determined video clip or a final synthesized video file.
  • the editing module 4 is configured to edit attribute information of the recorded video segment, including modifying and deleting attribute information of some video segments and attribute information of the newly added video segment.
  • the synthesis module 5 is used to synthesize a video file.
  • the processing module 6 is for processing the video clip.
  • the acquisition module 1 includes an edit acquisition unit 11 and a video marker unit 12.
  • the edit acquisition unit 11 is configured to acquire an edit operation for the currently played target video, including a click operation, a double click operation, and a long press operation.
  • the video tagging unit 12 is configured to determine a video segment from the currently played target video according to a determination rule associated with the editing operation.
  • the video marking unit 12 extends a predetermined length of time from the time point of the click to the two sides on the target video to determine a video segment of a certain length.
  • the click time point is extended to the start direction of the target video for 2 seconds, and the end direction of the target video is extended by 3 seconds, and a video clip having a duration of 5 seconds is determined.
  • the extension time can also be set to other values, such as extending to the target video starting direction for 5 seconds, and extending to the target video ending direction for 5 seconds to determine a video clip with a duration of 10 seconds.
  • the video marking unit 12 determines the video segment between the two double-click operations according to the time points of the two double-click operations.
  • the video marking unit 12 determines the video between the start time point and the end time point from the target video according to the start time point and the end time point of the long press operation. Fragment.
  • the time point at which the function button is pressed can be extended forward by a few seconds and used as a starting point, thereby ensuring that the captured video clip of interest is more complete.
  • the start direction of the target video is extended by 2 seconds.
  • the predetermined time length may be extended to the end direction of the target video.
  • the recording module 2 includes an attribute obtaining unit 21, a first attribute storage unit 22, and a second attribute storage unit 23.
  • the attribute obtaining unit 21 is configured to acquire attribute information of the video segment, including a start time point, an end time point of the video segment in the target video, and time information when the video segment is determined.
  • the attribute information may further include description information such as a format, a duration, a memory size, a shooting location, a shooting route, a file name of the target video from which the video clip is selected, a resolution, a frame rate, and the like.
  • the first attribute storage unit 22 is configured to store attribute information of the video segment acquired by the attribute obtaining unit 21 into a preset document.
  • the name of the document is associated with the name of the target video, so the user can conveniently find the corresponding one according to the document name of the attribute information.
  • Target video can also be named other names. This document is independent of the target video.
  • the second attribute storage unit 23 is configured to embed the attribute information of the video segment acquired by the attribute obtaining unit 21 into the information of the target video.
  • the attribute information of the video segment is stored in a manner embedded in the target video
  • the attribute information of the obtained video segment is embedded in the target video, such as marking the start time point and the end time point of the video segment on the target video.
  • the video clip can be named or simply described.
  • the time point at which the video clip is determined can also be marked.
  • the information of the video clip is encapsulated into the target video. After opening the target video, the user can click on the determined video clip to preview the video clip.
  • the editing module 4 when the attribute information of the stored video clip needs to be edited, the editing module 4 is used for editing.
  • the editing module 4 includes an instruction acquisition unit 41 and an editing unit 42.
  • the instruction acquisition unit 41 is configured to acquire an editing operation instruction for editing the recorded attribute information.
  • the editing unit 42 edits the attribute information of the video segment according to the acquired editing operation instruction.
  • the editing operation includes: modifying one or more of modifying the attribute information, adding new attribute information, and deleting the attribute information.
  • the instruction acquisition unit 41 receives the modification operation instruction, modifying any one or more of the start time point, the end time point, and the description information recorded in the attribute information of the video segment;
  • the instruction acquisition unit 41 When the instruction acquisition unit 41 receives the deletion operation instruction, deleting the attribute information corresponding to the specified video segment according to the video segment specified by the deletion instruction;
  • the instruction acquisition unit 41 When the instruction acquisition unit 41 receives the new operation instruction, replays the target video, receives an editing operation for the replayed target video, determines the video segment selected by the editing operation, and increases the recording of the selected video.
  • the attribute information of the fragment is
  • the synthesis module 5 includes a control unit 51 and a synthesis unit 52.
  • the synthesizing module 4 is configured to edit the video according to the attribute information of the video segment recorded by the recording module 2.
  • the control unit 51 is configured to extract, from the current target video, a video segment indicated by the attribute information when a video synthesis event is detected.
  • the synthesizing unit 52 combines the respective video segments extracted by the control unit 51 to obtain a video file.
  • synthesizing a video file it can be sorted according to the point in time sequence of the video clip in the target video or the determined time of the video clip, and then merged.
  • the video clip can be played back or exported to a storage medium such as a personal computer, mobile phone, tablet or mobile hard disk for later playback.
  • the processing module 6 is used to directly merge video segments.
  • the recording module 2 also stores the video segments marked by the acquisition module 1 together, the stored video segments can be directly synthesized into a video file by the processing module 6.
  • the processing module 6 includes a video acquisition unit 61 and a video processing unit 62, wherein the video acquisition unit 61 is configured to acquire the determined video segments, and the video processing unit 62 synthesizes the video segments.
  • the video clips may be sequentially superimposed to synthesize a video file, or the video clips may be sorted according to the time points of the video clips in the target video, and the sorted video clips may be merged.
  • the user by determining a video segment on the target video and storing the video segment information, the user can synthesize the video file according to the attribute information of the stored video segment, and can edit the video file by editing the attribute information of the video segment, without Edited with dedicated video editing software for easy operation.
  • Video clips can also be marked during recording, eliminating the need to play back the target video to determine the video clip, saving time.
  • FIG. 11 is a schematic structural diagram of a playback device according to an embodiment of the present invention.
  • the playback device in the embodiment of the present invention may be an electronic device capable of playing video such as an aerial camera, a mobile phone, a tablet computer, a video camera, or an aerial camera.
  • the playback device of the present invention includes a player 100 and a processor 200.
  • the player 100 is configured to play a video
  • the processor 200 is configured to acquire an edit operation for the currently played target video, determine a video segment selected by the editing operation, and record attribute information of the selected video segment to facilitate the The target video is edited.
  • the player 100 is configured to play a target video
  • the target video may be a video being recorded, a video that has been recorded for preview playback, or a video played back, and may also be used for playing on the target video. Out of the video clip or the final synthesized video file.
  • the processor 200 is configured to acquire an editing operation for the target video played by the player 100, determine a video segment selected by the editing operation according to a determining rule associated with the editing operation, and record the selected The attribute information of the video clip.
  • the processor 200 acquires a click operation, a double-click operation, or a long-press operation on the target video played by the player 100, and determines a video segment on the target video according to the determination rule associated with the editing operation. .
  • the predetermined time length is extended forward and/or backward at a selected time point of the click operation, and a video segment is determined from the target video;
  • the acquired editing operation is two double-click operations, determining a video segment between the two double-click operations from the target video according to the time points of the two double-click operations before and after;
  • the video segment is determined from the target video according to the start time point and the end time point of the long press operation.
  • the processor 200 is specifically configured to acquire attribute information of a video segment, and store the attribute information into a preset document, or embed the attribute information into the information of the target video.
  • the attribute information may include a time point of the video segment in the target video and a time point when the video segment is selected, and may further include description information such as a shooting location, a shooting trajectory, and a resolution.
  • the processor 200 edits the attribute information according to the editing operation instruction.
  • the editing operation includes any one or more of modifying the recorded attribute information, adding new attribute information, and deleting the attribute information.
  • the target video is replayed, the editing operation for the replayed target video is received, the video segment selected by the editing operation is determined, and the attribute information of the selected video segment is recorded. .
  • the processor 200 acquires the video synthesis instruction, the video segment indicated by the attribute information is extracted from the target video; and the extracted video segments are synthesized into a video file.
  • the video files may be sorted according to the time points of the video clips in the target video, and then merged; or sorted according to the determined time points of the video clips, and then merged.
  • the processor 200 can also directly store the video segment determined from the target video, so when the video synthesis command is received, the determined video segment is directly obtained, and the merge is performed by sequentially superimposing or according to the foregoing.
  • the video clips are sorted at the point in time in the target video and then merged.
  • the user by determining a video segment on the target video and storing the video segment information, the user can synthesize the video file according to the attribute information of the stored video segment, and can edit the video file by editing the attribute information of the video segment, without Edited with dedicated video editing software for easy operation.
  • Video clips can also be marked during recording, eliminating the need to play back the target video to determine the video clip, saving time.
  • the related apparatus and method disclosed may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the modules or units is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined. Or it can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical, mechanical or otherwise.
  • the units that are not described separately may or may not be physically separated.
  • the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the technical solution of the present invention which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer processor to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Television Signal Processing For Recording (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Management Or Editing Of Information On Record Carriers (AREA)

Abstract

A video processing method, a video processing device and a playing device are provided by embodiments of the present invention, wherein the method includes: obtaining editing operation on a currently played object video, and determining a video clip selected by the editing operation; and recording attribute information of the selected video clip so as to edit the object video. In the present invention, by determining the video clip on the object video and storing the information of the video clip, a user can compose video files according to the attribute information of the stored video clip without editing the video by special video edition software, and operation is simple.

Description

一种视频处理方法、装置及播放装置Video processing method, device and playing device 技术领域Technical field
本发明涉及多媒体技术领域,尤其涉及一种视频处理方法、装置及播放装置。The present invention relates to the field of multimedia technologies, and in particular, to a video processing method, apparatus, and playback apparatus.
背景技术Background technique
随着电子产品的普遍使用,数码相机和摄像机以及智能手机等多具有了摄像功能,且被人们广泛使用来记录视频。With the widespread use of electronic products, digital cameras and camcorders, as well as smart phones, have many camera functions and are widely used to record video.
目前对视频的编辑一般包括:在某些录制好的视频中添加音乐、字幕的编辑,将多个已录制好的视频拼接为一个组合视频,对一个已录制好的视频通过专业的视频剪辑应用进行剪辑,包括去掉不需要的视频内容,仅保留需要的内容。At present, the editing of video generally includes: adding music, subtitle editing in some recorded videos, splicing multiple recorded videos into one combined video, and applying a professional video clip application to a recorded video. Editing, including removing unwanted video content, retains only the content you need.
目前的视频编辑方式,是使用较为专业的视频剪辑应用对已录制好的视频进行编辑处理,对普通用户来讲操作不便,耗费精力和时间。The current video editing method uses a more professional video editing application to edit the recorded video, which is inconvenient for ordinary users, and takes time and effort.
发明内容Summary of the invention
本发明实施例主要解决的技术问题是提供一种视频处理方法、视频处理装置及播放装置,可方便、快捷地实现对对当前播放的视频进行编辑记录。The technical problem to be solved by the embodiments of the present invention is to provide a video processing method, a video processing device, and a playback device, which can conveniently and quickly perform editing and recording on the currently played video.
一方面,本发明实施例提供了一种视频处理方法,包括:In one aspect, an embodiment of the present invention provides a video processing method, including:
获取针对当前播放的目标视频的编辑操作,确定出所述编辑操作所选定的视频片段;Obtaining an editing operation for the currently played target video, and determining a video segment selected by the editing operation;
记录所述选定的视频片段的属性信息,以便于对所述目标视频进行编辑。Recording attribute information of the selected video clip to facilitate editing of the target video.
另一方面,本发明还提供了一种视频处理装置,包括:In another aspect, the present invention also provides a video processing apparatus, including:
获取模块,用于获取针对当前播放的目标视频的编辑操作,确定出所述编辑操作所选定的视频片段;An obtaining module, configured to acquire an editing operation for the currently played target video, and determine a video segment selected by the editing operation;
记录模块,用于记录所述选定的视频片段的属性信息,以便于对所述目标视频进行编辑。And a recording module, configured to record attribute information of the selected video segment to facilitate editing the target video.
再一方面,本发明实施例还提供了一种播放装置,包括:播放器和处理器;In another aspect, an embodiment of the present invention further provides a playback apparatus, including: a player and a processor;
所述播放器,用于播放视频;The player is configured to play a video;
所述处理器,用于获取针对当前播放的目标视频的编辑操作,确定出所述编辑操作所选定的视频片段;并记录所述选定的视频片段的属性信息,以便于对所述目标视频进行编辑。The processor is configured to acquire an edit operation for the currently played target video, determine a video segment selected by the editing operation, and record attribute information of the selected video segment to facilitate the target The video is edited.
本发明实施例通过在目标视频上确定出视频片段并存储视频片段信息,用户可以根据存储的视频片段的属性信息合成视频文件,无需通过专用的视频编辑软件进行编辑,操作简单。In the embodiment of the present invention, by determining a video segment on the target video and storing the video segment information, the user can synthesize the video file according to the attribute information of the stored video segment, without editing by a dedicated video editing software, and the operation is simple.
附图说明DRAWINGS
图1是本发明实施例的一种视频处理方法的流程示意图;1 is a schematic flow chart of a video processing method according to an embodiment of the present invention;
图2是本发明实施例的另一种视频处理方法的流程示意图;2 is a schematic flowchart diagram of another video processing method according to an embodiment of the present invention;
图3是本发明实施例的再一种视频处理方法的流程示意图;3 is a schematic flow chart of still another video processing method according to an embodiment of the present invention;
图4是本发明实施例的一种视频处理装置的结构示意图;4 is a schematic structural diagram of a video processing apparatus according to an embodiment of the present invention;
图5是本发明实施例的另一种视频处理装置的结构示意图;FIG. 5 is a schematic structural diagram of another video processing apparatus according to an embodiment of the present invention; FIG.
图6是图4或图5中视频处理装置的获取模块的示意图;6 is a schematic diagram of an acquisition module of the video processing device of FIG. 4 or FIG. 5;
图7是图4或图5中视频处理装置的记录模块的示意图;Figure 7 is a schematic diagram of a recording module of the video processing device of Figure 4 or Figure 5;
图8是图5中视频处理装置的编辑模块的示意图;Figure 8 is a schematic diagram of an editing module of the video processing device of Figure 5;
图9是图5中视频处理装置的合成模块的示意图;Figure 9 is a schematic diagram of a synthesis module of the video processing device of Figure 5;
图10是图5中视频处理装置的处理模块的示意图;Figure 10 is a schematic diagram of a processing module of the video processing device of Figure 5;
图11是本发明实施例的一种播放装置的结构示意图。FIG. 11 is a schematic structural diagram of a playback apparatus according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
在不冲突的情况下,下述的实施例及实施例中的特征可以相互组合。The features of the embodiments and examples described below can be combined with each other without conflict.
请参见图1,是本发明实施例的一种视频处理方法的流程示意图,本发明实施例的所述方法可以在航拍器、手机、平板电脑等可播放视频的电子装置中实现。具体地,所述方法包括:1 is a schematic flowchart of a video processing method according to an embodiment of the present invention. The method in the embodiment of the present invention may be implemented in an electronic device capable of playing video such as an aerial camera, a mobile phone, or a tablet computer. Specifically, the method includes:
S101:获取针对当前播放的目标视频的编辑操作,确定出所述编辑操作所选定的视频片段。S101: Acquire an editing operation for the currently played target video, and determine a video segment selected by the editing operation.
所述当前播放的目标视频可以为正在录制中的视频、已经录制完成进行预览播放的视频,或回放的视频。当对已经录制完成的视频进行预览播放或回放时,可以在视屏采集设备,如相机、摄像机等具有摄像功能的电子设备上播放,也可以在第三方电子设备,如手机、平板电脑、个人电脑等电子设备上播放。The currently played target video may be a video being recorded, a video that has been recorded for preview playback, or a video that is played back. When previewing or playing back a video that has already been recorded, it can be played on a video capture device, such as a camera, a video camera, or the like, or on a third-party electronic device, such as a mobile phone, a tablet, or a personal computer. Play on electronic devices.
在视频播放过程中,检测并获取针对目标视频所做的编辑操作,当检测到编辑操作后,根据与编辑操作关联的确定规则,从目标视频中确定出视频片段。During the video playback process, the editing operation for the target video is detected and acquired, and when the editing operation is detected, the video segment is determined from the target video according to the determination rule associated with the editing operation.
编辑操作可以为单击操作、双击操作或长按操作。Edit operations can be click operations, double-click operations, or long press operations.
具体的确定规则为:The specific determination rules are:
当编辑操作为单击操作时,在目标视频上从单击的时间点向两边延伸预定时长,确定出一定长度的视频片段。本实施例中,从单击时间点向目标视频的起始方向扩展2秒,向目标视频的结束方向扩展3秒,确定出时长为5秒的视频片段。当然也可以将扩展时间设为其他值,如向目标视频起始方向扩展5秒,向目标视频结束方向扩展5秒,以确定出时长为10秒的视频片段等。When the editing operation is a click operation, a predetermined length of the video segment is determined by extending a predetermined length of time from the clicked time point to the two sides on the target video. In this embodiment, the click time point is extended to the start direction of the target video for 2 seconds, and the end direction of the target video is extended by 3 seconds, and a video clip having a duration of 5 seconds is determined. Of course, the extension time can also be set to other values, such as extending to the target video starting direction for 5 seconds, and extending to the target video ending direction for 5 seconds to determine a video clip with a duration of 10 seconds.
当编辑操作为两次双击操作时,根据前后两此双击操作的时间点,确定出该两次双击操作之间的视频片段。When the editing operation is two double-click operations, the video clip between the two double-click operations is determined according to the time points of the two double-click operations.
当编辑操作为长按操作时,根据该长按操作的开始时间点和结束时间点,从目标视频上确定出开始时间点和结束时间点之间的视频片段。为避免用户按下功能按钮的动作滞后于视频的播放,也可以将功能按钮被按下的时间点向前扩展几秒并将其作为起始点,进而保证截取的视频片段更加完整。本实施例中,按下功能按钮时,向目标视频的起始方向扩展2秒,当然,也可以扩展其他时长,同样,也可以向目标视频的结束方向扩展预定时长。When the editing operation is a long press operation, the video clip between the start time point and the end time point is determined from the target video according to the start time point and the end time point of the long press operation. In order to prevent the user from pressing the function button lags behind the video playback, the time point at which the function button is pressed can be extended forward by a few seconds and used as a starting point, thereby ensuring that the captured video segment is more complete. In the present embodiment, when the function button is pressed, the start direction of the target video is extended by 2 seconds. Of course, other time lengths may be extended, and similarly, the predetermined time length may be extended to the end direction of the target video.
S102:记录所述选定的视频片段的属性信息,以便于对所述目标视频进行编辑。S102: Record attribute information of the selected video segment to facilitate editing the target video.
存储所述S101中确定的视频片段的属性信息,其中,该属性信息包括视频片段在目标视频中的开始时间点、结束时间点及该视频片段被选定时的时间信息。此外,属性信息还可以包括一些描述信息,如视频片段的格式、时长、占用内存大小、拍摄地点、拍摄路线及视频片段所选自的目标视频的文件名、分辨率、帧率等。The attribute information of the video segment determined in the S101 is stored, wherein the attribute information includes a start time point, an end time point of the video segment in the target video, and time information when the video segment is selected. In addition, the attribute information may also include some description information, such as the format of the video clip, the duration, the occupied memory size, the shooting location, the shooting route, and the file name, resolution, frame rate, and the like of the target video from which the video clip is selected.
该视频片段记录的属性信息,可以用于对目标视频进行编辑。具体地,当检测到视频合成指令时,可以根据记录的属性信息,从目标视频中提取所有的属性信息所对应的视频片段,并对所提取的视频片段进行合并,制成视频文件。其中,在合并视频片段时,可以根据视频片段在目标视频中的时间点对视频片段进行排序,然后进行合并;也可以根据视频片段在目标视频中被确定的时间点对视频片段进行排序,然后合并。具体的合并规则根据用户需要而定。The attribute information recorded by the video clip can be used to edit the target video. Specifically, when the video synthesis instruction is detected, all the video segments corresponding to the attribute information may be extracted from the target video according to the recorded attribute information, and the extracted video segments are combined to form a video file. Wherein, when the video clips are merged, the video clips may be sorted according to the time points of the video clips in the target video, and then merged; or the video clips may be sorted according to the determined time points of the video clips in the target video, and then merge. The specific consolidation rules are based on user needs.
此外,对于航拍器等视频获取与本地操作分开的设备,可以在本地缓存的视频上确定视频片段,存储所述视频片段对应的描述信息,后续可以根据所保存的各个视频片段所对应的描述信息从所述航拍器上的存储介质,如存储卡中所记录的视频上提取相应的视频片段。故如果本地缓存的视频分辨率较低而航拍器的存储介质中记录的视频分辨率较高时,则可以先在低分辨率的视频上确定视频片段的描述信息并根据描述信息后续从高分辨率的视频上提取视频片段。In addition, for a device that is separated from the local operation, such as an aerial camera, the video segment may be determined on the locally cached video, and the description information corresponding to the video segment may be stored, and the description information corresponding to each saved video segment may be subsequently followed. Corresponding video segments are extracted from a storage medium on the aerial camera, such as a video recorded on a memory card. Therefore, if the locally buffered video resolution is lower and the video resolution recorded in the aerial storage medium is higher, the description information of the video segment may be first determined on the low resolution video and subsequently determined from the high resolution according to the description information. The video clip is extracted from the rate video.
当从目标视频中提取视频片段时,也可以改变视频片段的分辨率。如缩小所述视频片段的分辨率,以节省空间;或可以使用插值技术等方法提高视频片段的分辨率。The resolution of the video clip can also be changed when the video clip is extracted from the target video. For example, the resolution of the video clip is reduced to save space; or the resolution of the video clip can be improved by using an interpolation technique or the like.
此外,当接收并获取到对已记录的属性信息进行编辑的编辑操作指令时,还可根据编辑操作指令对视频片段的属性信息进行编辑。具体地,该编辑操作包括:对已记录的属性信息的修改、增加新的属性信息、删除属性信息中的任意一种或多种。In addition, when an editing operation instruction for editing the recorded attribute information is received and acquired, the attribute information of the video segment may also be edited according to the editing operation instruction. Specifically, the editing operation includes: modifying one or more of modifying the attribute information, adding new attribute information, and deleting the attribute information.
当编辑操作为对已记录的属性信息的修改时,接收到修改操作指令,可以修改属性信息中视频的开始时间点和/或结束时间点,从而延长或缩短确定的视频片段,或将视频片段前移或后移。还可以修改视频片段的其他属性信息,如拍摄地点、格式、分辨率等描述信息中。When the editing operation is a modification of the recorded attribute information, receiving the modification operation instruction, the start time point and/or the end time point of the video in the attribute information may be modified, thereby extending or shortening the determined video segment, or the video segment Move forward or backward. You can also modify other attribute information of the video clip, such as the location, format, resolution, etc.
当编辑操作为增加新的属性信息时,接收到新增操作指令,重新播放目标视频,再次接收针对目标视频的编辑操作,并确定出该编辑操作所选定的视频片段,从而增加记录该新选定的视频片段的属性信息。When the editing operation is to add new attribute information, the new operation instruction is received, the target video is replayed, the editing operation for the target video is received again, and the video segment selected by the editing operation is determined, thereby increasing the recording of the new video. The attribute information of the selected video clip.
当编辑操作为删除属性信息时,接收到删除操作指令,根据删除操作指令所指定的视频片段,删除该指定的视频片段所对应的属性信息。When the editing operation is to delete the attribute information, the deletion operation instruction is received, and the attribute information corresponding to the specified video segment is deleted according to the video segment specified by the deletion operation instruction.
当对属性信息编辑完成后,若检测到视频合成指令,则根据编辑后的属性信息从目标视频中提取视频片段,并合并制成视频文件。After the editing of the attribute information is completed, if the video synthesis instruction is detected, the video segments are extracted from the target video according to the edited attribute information, and merged into a video file.
进一步地,在确定出视频片段后,可以将确定出的视频片段进行存储,视频片段的视频流按照特定格式,如MP4(Moving Picture Experts Group Audio Layer IV,动态影像专家压缩标准音频层面4)、AVI(Audio Video Interleave,音频视频交错)和MOV(Quicktime Movie Format,快时影片格式)等格式存储于存储介质中。用户可以对每个视频片段进行预览,且也可以将视频片段合并成为一段视频文件进行播放或预览。存储的视频片段可能是在一次播放过程中所选定,也可以是多次播放目标视频而选定,故视频片段的存储时间的时间顺序和视频片段在目标视频中的时间顺序可能不一致。在对视频片段合并过程中,可根据视频片段存储时的时间顺序依次叠加,也可以根据视频片段在目标视频中的时间点进行排序,然后合并成视频文件。Further, after the video segment is determined, the determined video segment may be stored, and the video stream of the video segment is in a specific format, such as MP4 (Moving Picture Experts Group Audio Layer IV), Formats such as AVI (Audio Video Interleave) and MOV (Quick Time Movie Format) are stored in a storage medium. The user can preview each video clip and also merge the video clips into a video file for playback or preview. The stored video clip may be selected during one play or may be selected by playing the target video multiple times, so the time sequence of the storage time of the video clip and the time sequence of the video clip in the target video may be inconsistent. In the process of merging video clips, the video clips may be sequentially superimposed according to the time sequence in which the video clips are stored, or may be sorted according to the time points of the video clips in the target video, and then merged into video files.
在该实施例中,从目标视频中选取视频片段和根据视频片段的属性信息提取视频片段,以及合成视频片段为视频文件都可以通过专用的应用程序完成。In this embodiment, selecting a video clip from the target video and extracting the video clip based on the attribute information of the video clip, and synthesizing the video clip as a video file can all be done by a dedicated application.
本发明实施例中所提供的视频处理方法,操作简单,无需用户具备专业的视频编辑技能。The video processing method provided in the embodiment of the present invention is simple in operation, and does not require the user to have professional video editing skills.
再请参见图2,为本发明的另一种视频处理方法流程示意图,具体的,所述方法包括:2 is a schematic flowchart of another video processing method according to the present invention. Specifically, the method includes:
S201:获取针对当前播放的目标视频的编辑操作。S201: Acquire an editing operation for the currently played target video.
本实施例中,当前播放的目标视频可以为正在录制中的视频、已经录制完成预览播放的视频,或回放的视频。In this embodiment, the currently played target video may be the video being recorded, the video that has been recorded for preview playback, or the video being played back.
S202:根据与所述编辑操作关联的确定规则,从所述目标视频中确定出视频片段。S202: Determine a video segment from the target video according to a determination rule associated with the editing operation.
所述编辑操作包括对物理按键或应用程序中的功能按键进行单击、双击、或长按操作。The editing operation includes clicking, double clicking, or long pressing on a physical button or a function button in the application.
当编辑操作为单击操作时,在目标视频上从单击操作的时间点向前后延伸预定时长,从而确定出视频片段。When the editing operation is a click operation, the video clip is determined by extending a predetermined duration from the time point of the click operation on the target video.
当编辑操作为双击操作时,根据前后两此双击操作的时间点,确定出该两次双击操作之间的视频片段。When the editing operation is a double-click operation, the video segment between the two double-click operations is determined according to the time points of the two double-click operations.
当编辑操作为长按操作时,根据该长按操作的开始时间点和结束时间点,从目标视频上确定出开始时间点和结束时间点之间的视频片段。When the editing operation is a long press operation, the video clip between the start time point and the end time point is determined from the target video according to the start time point and the end time point of the long press operation.
S203:获取所述视频片段的属性信息。S203: Acquire attribute information of the video segment.
从目标视频上确定出视频片段后,提取视频片段的属性信息。After the video segment is determined from the target video, the attribute information of the video segment is extracted.
此外,对确定出的视频片段也可以进行存储。In addition, the determined video clips can also be stored.
S204:将所述属性信息存储到预置的文档中。S204: Store the attribute information into a preset document.
将所述视频片段的属性信息存储到文档中,所述文档的名称与目标视频的名称相关联,故用户可以根据属性信息的文档名称方便的找到其所对应的目标视频。该文档独立于所述目标视频。The attribute information of the video clip is stored in a document, and the name of the document is associated with the name of the target video, so the user can conveniently find the target video corresponding to the attribute according to the document name of the attribute information. This document is independent of the target video.
S205:获取合成视频操作指令。在检测到视频合成事件时,根据所述文档中的属性信息从目标视频中提取出属性信息所指示的视频片段。S205: Acquire a synthetic video operation instruction. When the video composition event is detected, the video segment indicated by the attribute information is extracted from the target video according to the attribute information in the document.
在根据文档中的属性信息从目标视频中提取属性信息所指示的视频片段之前,可以根据用户需要对属性信息进行编辑,从文档中删除某些视频片段的属性信息、修改某些视频片段对应的属性信息或向文档中增加新的视频片段的属性信息。也可以对所述文档进行多次编辑。Before extracting the video segment indicated by the attribute information from the target video according to the attribute information in the document, the attribute information may be edited according to the user's needs, the attribute information of some video segments is deleted from the document, and the corresponding video segments are modified. Attribute information or add attribute information for new video clips to the document. The document can also be edited multiple times.
当编辑后的视频片段的属性信息的文档符合用户要求时,根据修改后的属性信息的文档从目标视频中提取视频片段。When the document of the attribute information of the edited video clip meets the user's request, the video clip is extracted from the target video according to the modified attribute information document.
S206:合成提取的视频片段为视频文件。S206: The synthesized extracted video segment is a video file.
合成视频文件时,可以根据视频片段在目标视频中的时间顺序或视频片段在目标视频中被确定的时间点进行排序,进而合并排序后的视频片段为视频文件。When synthesizing a video file, the video clips may be sorted according to the time sequence of the video clips in the target video or the time points at which the video clips are determined in the target video, thereby merging the sorted video clips into video files.
该视频剪辑可在合成后即进行播放或导出存入到存储介质如个人电脑、手机、平板电脑或移动硬盘等电子设备中供后续播放。The video clip can be played back or exported to a storage medium such as a personal computer, mobile phone, tablet or mobile hard disk for later playback.
用户打开新的目标视频并从新的目标视频上选取视频片段时,重复上述的步骤,从新的目标视频中确定出视频片段,并将视频片段的属性信息存储到新的文档中。When the user opens a new target video and selects a video clip from the new target video, the above steps are repeated, the video clip is determined from the new target video, and the attribute information of the video clip is stored in the new document.
本发明实施例中将视频片段的属性信息存储到预置的文档中,即使用户剪辑的视频片段未进行存储,仍可根据该文档中的信息从目标视频中提取视频,节省内存空间。In the embodiment of the present invention, the attribute information of the video segment is stored in the preset document, and even if the video clip of the user clip is not stored, the video may be extracted from the target video according to the information in the document, thereby saving memory space.
请再参阅图3,为本发明的又一种视频处理方法流程示意图,具体的,所述方法包括:Please refer to FIG. 3 again, which is a schematic flowchart of still another video processing method according to the present invention. Specifically, the method includes:
S301:获取针对当前播放的目标视频的编辑操作。S301: Acquire an editing operation for the currently played target video.
S302:根据与所述编辑操作关联的确定规则,从所述目标视频中确定出视频片段。S302: Determine a video segment from the target video according to a determination rule associated with the editing operation.
S303:获取所述视频片段的属性信息。S303: Acquire attribute information of the video segment.
S304:将所述属性信息内嵌到目标视频中。S304: Embed the attribute information into the target video.
具体地,将获取的视频片段的属性信息内嵌到目标视频中,如在目标视频上标记出视频片段的开始时间点和结束时间点,并可以对该视频片段进行命名或简单的描述,另外,还可以标记出该视频片段被确定的时间点。该视频片段的属性信息被一并封装到目标视频中。用户可以在打开目标视频后,点击确定出的视频片段,对视频片段进行预览。Specifically, the attribute information of the acquired video segment is embedded in the target video, such as marking a start time point and an end time point of the video segment on the target video, and the video segment may be named or simply described, and It is also possible to mark the point in time at which the video clip was determined. The attribute information of the video clip is encapsulated into the target video. After opening the target video, the user can click on the determined video clip to preview the video clip.
S305:获取合成视频操作指令。在检测到视频合成事件时,根据所述文档中的属性信息从目标视频中提取出属性信息所指示的视频片段。S305: Acquire a synthetic video operation instruction. When the video composition event is detected, the video segment indicated by the attribute information is extracted from the target video according to the attribute information in the document.
获取合成视频操作指令时,打开目标视频,提取确定出的视频片段,并将视频片段进行存储。When the composite video operation instruction is acquired, the target video is opened, the determined video segment is extracted, and the video segment is stored.
S306:合成提取的视频片段为视频文件。S306: The synthesized extracted video segment is a video file.
对提取的视频片段进行合并之前,可以根据视频片段在目标视频中的时间或视频片段被确定出的时间点进行排序,然后对排序后的视频片段进行合并,得到视频文件。Before the extracted video segments are merged, the video clips may be sorted according to the time in the target video or the determined time points of the video segments, and then the sorted video segments are combined to obtain a video file.
本实施例中,在目标视频上内嵌选定的视频片段的属性信息,故在播放目标视频时即可同时获知视频片段的属性信息,且在目标视频播放过程中,用户可以随时对视频片段的属性信息进行修改。In this embodiment, the attribute information of the selected video segment is embedded on the target video, so that the attribute information of the video segment can be obtained at the same time when the target video is played, and the user can simultaneously view the video segment during the target video playing process. The attribute information is modified.
本发明实施例通过在目标视频上确定出视频片段并存储视频片段信息,用户可以根据存储的视频片段的属性信息合成视频文件,而且可以通过编辑视频片段的属性信息实现对视频文件的编辑,无需通过专用的视频编辑软件进行编辑,操作简单。且在录制过程中也可对视频片段进行标记,无需后续回放目标视频以确定视频片段,节省时间。In the embodiment of the present invention, by determining a video segment on the target video and storing the video segment information, the user can synthesize the video file according to the attribute information of the stored video segment, and can edit the video file by editing the attribute information of the video segment, without Edited with dedicated video editing software for easy operation. Video clips can also be marked during recording, eliminating the need to play back the target video to determine the video clip, saving time.
下面对本发明实施例的一种视频处理装置及播放装置进行描述。A video processing device and a playback device according to an embodiment of the present invention are described below.
请参见图4,所示为本发明实施例的一种视频处理装置的结构示意图,该视频处理装置可以配置在航拍器、手机、平板电脑、摄像机、航拍器等可播放视频的电子装置中,具体地,所述视频处理装置包括:Referring to FIG. 4, it is a schematic structural diagram of a video processing apparatus according to an embodiment of the present invention. The video processing apparatus may be configured in an electronic device capable of playing video such as an aerial camera, a mobile phone, a tablet computer, a video camera, or an aerial camera. Specifically, the video processing device includes:
获取模块1,用于获取针对当前播放的目标视频的编辑操作,确定出所述编辑操作所选定的视频片段;The obtaining module 1 is configured to acquire an editing operation for the currently played target video, and determine a video segment selected by the editing operation;
记录模块2,用于记录所述选定的视频片段的属性信息,以便于对所述目标视频进行编辑。The recording module 2 is configured to record attribute information of the selected video segment to facilitate editing the target video.
在目标视频播放过程中,获取模块1获取用户对目标视频的编辑操作,如用户编辑操作时所做的单击操作、双击操作或长按操作,并根据单击操作、双击操作及长按操作对应的确定规则从目标视频上确定出视频片段。During the target video playback process, the acquisition module 1 acquires the user's editing operation on the target video, such as a click operation, a double-click operation, or a long-press operation performed by the user during the editing operation, and according to the click operation, the double-click operation, and the long-press operation. A corresponding determination rule determines a video segment from the target video.
记录模块2存储所述获取模块1所确定出的视频片段的属性信息,以便后续根据所存储的属性信息对目标视频进行编辑。The recording module 2 stores attribute information of the video segment determined by the obtaining module 1 to subsequently edit the target video according to the stored attribute information.
请再参考图5,所述视频处理装置还可以包括播放模块3、编辑模块4、合成模块5及处理模块6。Referring to FIG. 5 again, the video processing device may further include a playing module 3, an editing module 4, a synthesizing module 5, and a processing module 6.
所述播放模块3用于播放视频。所述播放模块3播放的视频可以是正在录制中、已经录制完成预览播放的视频,或回放的视频,也可以是确定出的视频片段或最终合成的视频文件。The playing module 3 is used to play a video. The video played by the playing module 3 may be a video that is being recorded, has been recorded for preview playback, or a video that is played back, or may be a determined video clip or a final synthesized video file.
编辑模块4用于对所记录的视频片段的属性信息进行编辑,包括修改、删除某些视频片段的属性信息及新增视频片段的属性信息。所述合成模块5用于合成视频文件。处理模块6用于对视频片段进行处理。The editing module 4 is configured to edit attribute information of the recorded video segment, including modifying and deleting attribute information of some video segments and attribute information of the newly added video segment. The synthesis module 5 is used to synthesize a video file. The processing module 6 is for processing the video clip.
请参考图6,所述获取模块1包括编辑获取单元11和视频标记单元12。所述编辑获取单元11用于获取针对当前播放的目标视频的编辑操作,包括单击操作、双击操作及长按操作。视频标记单元12用于根据与所述编辑操作关联的确定规则,从所述当前播放的目标视频中确定出视频片段。Referring to FIG. 6, the acquisition module 1 includes an edit acquisition unit 11 and a video marker unit 12. The edit acquisition unit 11 is configured to acquire an edit operation for the currently played target video, including a click operation, a double click operation, and a long press operation. The video tagging unit 12 is configured to determine a video segment from the currently played target video according to a determination rule associated with the editing operation.
具体地,当编辑获取单元11获取的编辑操作为单击操作时,视频标记单元12在目标视频上从单击的时间点向两边延伸预定时长,确定出一定长度的视频片段。本实施例中,从单击时间点向目标视频的起始方向扩展2秒,向目标视频的结束方向扩展3秒,确定出时长为5秒的视频片段。当然也可以将扩展时间设为其他值,如向目标视频起始方向扩展5秒,向目标视频结束方向扩展5秒,以确定出时长为10秒的视频片段等。Specifically, when the editing operation acquired by the editing acquisition unit 11 is a click operation, the video marking unit 12 extends a predetermined length of time from the time point of the click to the two sides on the target video to determine a video segment of a certain length. In this embodiment, the click time point is extended to the start direction of the target video for 2 seconds, and the end direction of the target video is extended by 3 seconds, and a video clip having a duration of 5 seconds is determined. Of course, the extension time can also be set to other values, such as extending to the target video starting direction for 5 seconds, and extending to the target video ending direction for 5 seconds to determine a video clip with a duration of 10 seconds.
当编辑获取单元11获取的编辑操作为两次双击操作时,视频标记单元12根据前后两此双击操作的时间点,确定出该两次双击操作之间的视频片段。When the editing operation acquired by the editing acquisition unit 11 is two double-click operations, the video marking unit 12 determines the video segment between the two double-click operations according to the time points of the two double-click operations.
当编辑获取单元11获取的编辑操作为长按操作时,视频标记单元12根据该长按操作的开始时间点和结束时间点,从目标视频上确定出开始时间点和结束时间点之间的视频片段。为避免用户按下功能按钮的动作滞后于视频的播放,也可以将功能按钮被按下的时间点向前扩展几秒并将其作为起始点,进而保证截取的兴趣视频片段更加完整。本实施例中,按下功能按钮时,向目标视频的起始方向扩展2秒,当然,也可以扩展其他时长,同样,也可以向目标视频的结束方向扩展预定时长。When the editing operation acquired by the editing acquisition unit 11 is a long-press operation, the video marking unit 12 determines the video between the start time point and the end time point from the target video according to the start time point and the end time point of the long press operation. Fragment. In order to prevent the user from pressing the function button lags behind the video playback, the time point at which the function button is pressed can be extended forward by a few seconds and used as a starting point, thereby ensuring that the captured video clip of interest is more complete. In the present embodiment, when the function button is pressed, the start direction of the target video is extended by 2 seconds. Of course, other time lengths may be extended, and similarly, the predetermined time length may be extended to the end direction of the target video.
请参阅图7,所述记录模块2包括属性获取单元21、第一属性存储单元22及第二属性存储单元23。Referring to FIG. 7, the recording module 2 includes an attribute obtaining unit 21, a first attribute storage unit 22, and a second attribute storage unit 23.
所述属性获取单元21用于获取所述视频片段的属性信息,包括视频片段在目标视频中的开始时间点、结束时间点及该视频片段被确定时的时间信息。此外,属性信息还可以包括视频片段的格式、时长、占用内存大小、拍摄地点、拍摄路线、视频片段所选自的目标视频的文件名、分辨率、帧率等描述信息。The attribute obtaining unit 21 is configured to acquire attribute information of the video segment, including a start time point, an end time point of the video segment in the target video, and time information when the video segment is determined. In addition, the attribute information may further include description information such as a format, a duration, a memory size, a shooting location, a shooting route, a file name of the target video from which the video clip is selected, a resolution, a frame rate, and the like.
所述第一属性存储单元22用于将所述属性获取单元21获取的视频片段的属性信息存储到预置的文档中。The first attribute storage unit 22 is configured to store attribute information of the video segment acquired by the attribute obtaining unit 21 into a preset document.
当所述视频片段的属性信息以存储到预置的文档中的方式存储时,所述文档的名称与目标视频的名称相关联,故用户可以根据属性信息的文档名称方便的找到其所对应的目标视频。当然,此文档也可以被命名为其他名称。该文档独立于所述目标视频。When the attribute information of the video clip is stored in a manner stored in a preset document, the name of the document is associated with the name of the target video, so the user can conveniently find the corresponding one according to the document name of the attribute information. Target video. Of course, this document can also be named other names. This document is independent of the target video.
所述第二属性存储单元23用于将所述属性获取单元21获取到的视频片段的属性信息内嵌到目标视频的信息中。The second attribute storage unit 23 is configured to embed the attribute information of the video segment acquired by the attribute obtaining unit 21 into the information of the target video.
当所述视频片段的属性信息以内嵌到目标视频的方式存储时,将获取的视频片段的属性信息内嵌到目标视频中,如在目标视频上标记出视频片段的开始时间点和结束时间点,并可以对该视频片段进行命名或简单的描述,另外,还可以标记出该视频片段被确定的时间点。该视频片段的信息被一并封装到目标视频中。用户可以在打开目标视频后,点击确定出的视频片段,对视频片段进行预览。When the attribute information of the video segment is stored in a manner embedded in the target video, the attribute information of the obtained video segment is embedded in the target video, such as marking the start time point and the end time point of the video segment on the target video. And the video clip can be named or simply described. In addition, the time point at which the video clip is determined can also be marked. The information of the video clip is encapsulated into the target video. After opening the target video, the user can click on the determined video clip to preview the video clip.
请再参阅图8,当需要对存储的视频片段的属性信息进行编辑时,使用编辑模块4进行编辑。所述编辑模块4包括指令获取单元41和编辑单元42。所述指令获取单元41用于获取用于对已记录的属性信息进行编辑的编辑操作指令。当指令获取单元41接收并获取到对已记录的属性信息进行编辑的编辑操作指令时,所述编辑单元42根据获取到的编辑操作指令对视频片段的属性信息进行编辑。具体地,该编辑操作包括:对已记录的属性信息的修改、增加新的属性信息、删除属性信息中的任意一种或多种。Referring to FIG. 8, when the attribute information of the stored video clip needs to be edited, the editing module 4 is used for editing. The editing module 4 includes an instruction acquisition unit 41 and an editing unit 42. The instruction acquisition unit 41 is configured to acquire an editing operation instruction for editing the recorded attribute information. When the instruction acquisition unit 41 receives and acquires an editing operation instruction for editing the recorded attribute information, the editing unit 42 edits the attribute information of the video segment according to the acquired editing operation instruction. Specifically, the editing operation includes: modifying one or more of modifying the attribute information, adding new attribute information, and deleting the attribute information.
当指令获取单元41接收到修改操作指令时,修改所述视频片段的属性信息中记录到的开始时间点、结束时间点及描述信息中的任意一种或多种;When the instruction acquisition unit 41 receives the modification operation instruction, modifying any one or more of the start time point, the end time point, and the description information recorded in the attribute information of the video segment;
当指令获取单元41接收到删除操作指令时,根据删除指令所指定的视频片段,删除该指定的视频片段对应的属性信息;When the instruction acquisition unit 41 receives the deletion operation instruction, deleting the attribute information corresponding to the specified video segment according to the video segment specified by the deletion instruction;
当指令获取单元41接收到新增操作指令时,重新播放目标视频,接收针对重新播放的目标视频的编辑操作,确定出所述编辑操作所选定的视频片段,增加记录所述选定的视频片段的属性信息。When the instruction acquisition unit 41 receives the new operation instruction, replays the target video, receives an editing operation for the replayed target video, determines the video segment selected by the editing operation, and increases the recording of the selected video. The attribute information of the fragment.
请再参阅图9,所述合成模块5包括控制单元51和合成单元52。所述合成模块4用于根据所述记录模块2所记录的视频片段的属性信息对视频进行编辑。Referring to FIG. 9 again, the synthesis module 5 includes a control unit 51 and a synthesis unit 52. The synthesizing module 4 is configured to edit the video according to the attribute information of the video segment recorded by the recording module 2.
所述控制单元51,用于在检测到视频合成事件时,从所述当前目标视频中提取出所述属性信息所指示的视频片段。合成单元52则将控制单元51提取到的各个视频片段进行合并从而得到视频文件。合成视频文件时,可以根据视频片段在目标视频中的时间点顺序或视频片段的确定时间进行排序,然后再进行合并。该视频剪辑可在合成后即进行播放或导出存入到存储介质如个人电脑、手机、平板电脑或移动硬盘等电子设备中供后续播放。The control unit 51 is configured to extract, from the current target video, a video segment indicated by the attribute information when a video synthesis event is detected. The synthesizing unit 52 combines the respective video segments extracted by the control unit 51 to obtain a video file. When synthesizing a video file, it can be sorted according to the point in time sequence of the video clip in the target video or the determined time of the video clip, and then merged. The video clip can be played back or exported to a storage medium such as a personal computer, mobile phone, tablet or mobile hard disk for later playback.
请再参阅图10,处理模块6用于直接对视频片段进行合并。当记录模块2将获取模块1所标记处的视频片段也一并进行存储时,可以直接通过处理模块6将存储的视频片段合成为视频文件。处理模块6包括视频获取单元61和视频处理单元62,其中视频获取单元61用于获取确定出的视频片段,视频处理单元62将所述视频片段进行合成。合并时,可以依次叠加所述视频片段以合成视频文件,或根据所述视频片段在目标视频中的时间点对所述视频片段进行排序,并合并所述排序后的视频片段。Referring again to Figure 10, the processing module 6 is used to directly merge video segments. When the recording module 2 also stores the video segments marked by the acquisition module 1 together, the stored video segments can be directly synthesized into a video file by the processing module 6. The processing module 6 includes a video acquisition unit 61 and a video processing unit 62, wherein the video acquisition unit 61 is configured to acquire the determined video segments, and the video processing unit 62 synthesizes the video segments. When merging, the video clips may be sequentially superimposed to synthesize a video file, or the video clips may be sorted according to the time points of the video clips in the target video, and the sorted video clips may be merged.
本发明实施例中的视频处理装置中各个模块及单元的具体实现可参考图1至图3对应实施例中的描述。For specific implementations of the modules and units in the video processing apparatus in the embodiments of the present invention, reference may be made to the description in the corresponding embodiments in FIG. 1 to FIG. 3.
本发明实施方式通过在目标视频上确定出视频片段并存储视频片段信息,用户可以根据存储的视频片段的属性信息合成视频文件,而且可以通过编辑视频片段的属性信息实现对视频文件的编辑,无需通过专用的视频编辑软件进行编辑,操作简单。且在录制过程中也可对视频片段进行标记,无需后续回放目标视频以确定视频片段,节省时间。In the embodiment of the present invention, by determining a video segment on the target video and storing the video segment information, the user can synthesize the video file according to the attribute information of the stored video segment, and can edit the video file by editing the attribute information of the video segment, without Edited with dedicated video editing software for easy operation. Video clips can also be marked during recording, eliminating the need to play back the target video to determine the video clip, saving time.
再请参阅图11,为本发明实施例的播放装置的结构示意图,本发明实施例的所述播放装置可以为航拍器、手机、平板电脑、摄像机、航拍器等可播放视频的电子装置。本发明的播放装置包括:播放器100和处理器200。FIG. 11 is a schematic structural diagram of a playback device according to an embodiment of the present invention. The playback device in the embodiment of the present invention may be an electronic device capable of playing video such as an aerial camera, a mobile phone, a tablet computer, a video camera, or an aerial camera. The playback device of the present invention includes a player 100 and a processor 200.
所述播放器100用于播放视频;The player 100 is configured to play a video;
所述处理器200,用于获取针对当前播放的目标视频的编辑操作,确定出所述编辑操作所选定的视频片段;并记录所述选定的视频片段的属性信息,以便于对所述目标视频进行编辑。The processor 200 is configured to acquire an edit operation for the currently played target video, determine a video segment selected by the editing operation, and record attribute information of the selected video segment to facilitate the The target video is edited.
其中具体地,所述播放器100用于播放目标视频,所述目标视频可以是正在录制中的视频、已经录制完成预览播放的视频,或回放的视频,还可以用于播放在目标视频上确定出的视频片段或最终合成的视频文件。Specifically, the player 100 is configured to play a target video, and the target video may be a video being recorded, a video that has been recorded for preview playback, or a video played back, and may also be used for playing on the target video. Out of the video clip or the final synthesized video file.
所述处理器200,用于获取针对播放器100所播放的目标视频的编辑操作,根据与编辑操作关联的确定规则,确定出所述编辑操作所选定的视频片段;并记录所述选定的视频片段的属性信息。The processor 200 is configured to acquire an editing operation for the target video played by the player 100, determine a video segment selected by the editing operation according to a determining rule associated with the editing operation, and record the selected The attribute information of the video clip.
进一步具体地,所述处理器200,获取对播放器100所播放的目标视频的单击操作、双击操作或长按操作,并根据与编辑操作关联的确定规则,在目标视频上确定出视频片段。More specifically, the processor 200 acquires a click operation, a double-click operation, or a long-press operation on the target video played by the player 100, and determines a video segment on the target video according to the determination rule associated with the editing operation. .
若获取的编辑操作为单击操作,于所述单击操作所选定的时间点向前和/或向后扩展预定时间长度,从所述目标视频中确定出视频片段;If the acquired editing operation is a click operation, the predetermined time length is extended forward and/or backward at a selected time point of the click operation, and a video segment is determined from the target video;
若获取的编辑操作为两次双击操作,根据所述前后两次双击操作的时间点,从所述目标视频中确定出所述两次双击操作之间的视频片段;If the acquired editing operation is two double-click operations, determining a video segment between the two double-click operations from the target video according to the time points of the two double-click operations before and after;
若获取的编辑操作为长按操作,根据所述长按操作的开始时间点和结束时间点,从所述目标视频上确定出视频片段。If the acquired editing operation is a long press operation, the video segment is determined from the target video according to the start time point and the end time point of the long press operation.
进一步具体地,所述处理器200,具体用于获取视频片段的属性信息,并将属性信息存储到预置的文档中,或将属性信息内嵌到目标视频的信息中。其中,所述属性信息可以包括视频片段在目标视频中的时间点及所述视频片段被选定时的时间点,还可以包括拍摄地点、拍摄轨迹、分辨率等描述信息。More specifically, the processor 200 is specifically configured to acquire attribute information of a video segment, and store the attribute information into a preset document, or embed the attribute information into the information of the target video. The attribute information may include a time point of the video segment in the target video and a time point when the video segment is selected, and may further include description information such as a shooting location, a shooting trajectory, and a resolution.
若处理器200获取到用于对已记录的属性信息进行编辑的编辑操作指令,则处理器200根据编辑操作指令对属性信息进行编辑。其中,所述编辑操作包括对已记录的属性信息的修改、增加新的属性信息、删除属性信息中的任意一种或多种。If the processor 200 acquires an editing operation instruction for editing the recorded attribute information, the processor 200 edits the attribute information according to the editing operation instruction. The editing operation includes any one or more of modifying the recorded attribute information, adding new attribute information, and deleting the attribute information.
具体地,当接收到修改操作指令时,修改所述视频片段的属性信息中记录到的开始时间点、结束时间点及描述信息中的任意一种或多种;Specifically, when receiving the modification operation instruction, modifying one or more of a start time point, an end time point, and description information recorded in the attribute information of the video segment;
当接收到删除操作指令时,根据删除指令所指定的视频片段,删除该指定的视频片段对应的属性信息;When receiving the delete operation instruction, deleting the attribute information corresponding to the specified video segment according to the video segment specified by the delete instruction;
当接收到新增操作指令时,重新播放目标视频,接收针对重新播放的目标视频的编辑操作,确定出所述编辑操作所选定的视频片段,增加记录所述选定的视频片段的属性信息。When the new operation instruction is received, the target video is replayed, the editing operation for the replayed target video is received, the video segment selected by the editing operation is determined, and the attribute information of the selected video segment is recorded. .
进一步具体地,若处理器200获取到视频合成指令,则从目标视频中提取所述属性信息所指示的视频片段;并将提取到的各个视频片段合成为视频文件。合成视频文件时,可以按照所述视频片段在目标视频中的时间点进行排序,然后合并;或按照视频片段被确定的时间点进行排序,再进行合并。Further specifically, if the processor 200 acquires the video synthesis instruction, the video segment indicated by the attribute information is extracted from the target video; and the extracted video segments are synthesized into a video file. When the video files are synthesized, they may be sorted according to the time points of the video clips in the target video, and then merged; or sorted according to the determined time points of the video clips, and then merged.
此外,处理器200还可以将从目标视频上确定出的视频片段直接进行存储,故当接收到视频合成指令时,直接获取确定出的视频片段,通过依次叠加的方式进行合并或先根据所述视频片段在目标视频中的时间点对所述视频片段进行排序,然后进行合并。In addition, the processor 200 can also directly store the video segment determined from the target video, so when the video synthesis command is received, the determined video segment is directly obtained, and the merge is performed by sequentially superimposing or according to the foregoing. The video clips are sorted at the point in time in the target video and then merged.
本发明实施例通过在目标视频上确定出视频片段并存储视频片段信息,用户可以根据存储的视频片段的属性信息合成视频文件,而且可以通过编辑视频片段的属性信息实现对视频文件的编辑,无需通过专用的视频编辑软件进行编辑,操作简单。且在录制过程中也可对视频片段进行标记,无需后续回放目标视频以确定视频片段,节省时间。In the embodiment of the present invention, by determining a video segment on the target video and storing the video segment information, the user can synthesize the video file according to the attribute information of the stored video segment, and can edit the video file by editing the attribute information of the video segment, without Edited with dedicated video editing software for easy operation. Video clips can also be marked during recording, eliminating the need to play back the target video to determine the video clip, saving time.
在本发明所提供的几个实施例中,应该理解到,所揭露的相关装置和方法,可以通过其他的方式实现。例如,以上描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以组合或者可以集成到另一个***,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其他形式。In the several embodiments provided by the present invention, it should be understood that the related apparatus and method disclosed may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined. Or it can be integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical, mechanical or otherwise.
所述的分离不见说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units that are not described separately may or may not be physically separated. The components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得计算机处理器(processor)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer processor to perform all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
以上所述仅为本发明的实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above is only the embodiment of the present invention, and is not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformation of the present invention and the contents of the drawings may be directly or indirectly applied to other related technologies. The fields are all included in the scope of patent protection of the present invention.

Claims (51)

  1. 一种视频处理方法,其特征在于,包括:A video processing method, comprising:
    获取针对当前播放的目标视频的编辑操作,确定出所述编辑操作所选定的视频片段;Obtaining an editing operation for the currently played target video, and determining a video segment selected by the editing operation;
    记录所述选定的视频片段的属性信息,以便于对所述目标视频进行编辑。Recording attribute information of the selected video clip to facilitate editing of the target video.
  2. 如权利要求1所述的视频处理方法,其特征在于,所述记录所述选定的视频片段的属性信息,以便于对所述目标视频进行编辑,包括:The video processing method according to claim 1, wherein the recording the attribute information of the selected video segment to facilitate editing the target video comprises:
    获取所述视频片段的属性信息;Obtaining attribute information of the video segment;
    将所述属性信息存储到预置的文档中。The attribute information is stored in a preset document.
  3. 如权利要求1所述的视频处理方法,其特征在于,记录所述选定的视频片段的属性信息,以便于对所述目标视频进行编辑,包括:The video processing method according to claim 1, wherein the attribute information of the selected video segment is recorded to facilitate editing of the target video, including:
    将所述选定的视频片段的属性信息内嵌于所述目标视频的信息中。The attribute information of the selected video segment is embedded in the information of the target video.
  4. 如权利要求2或3所述的视频处理方法,其特征在于,所述选定的视频片段的属性信息包括:The video processing method according to claim 2 or 3, wherein the attribute information of the selected video segment comprises:
    所述视频片段在目标视频中的时间点及所述视频片段被选定时的时间点和/或所述视频片段的描述信息。a point in time of the video clip in the target video and a point in time when the video clip is selected and/or description information of the video clip.
  5. 如权利要求2或3所述的视频处理方法,其特征在于,还包括:The video processing method according to claim 2 or 3, further comprising:
    在检测到视频合成指令时,从所述当前目标视频中提取出所述属性信息所指示的视频片段;When the video synthesis instruction is detected, the video segment indicated by the attribute information is extracted from the current target video;
    将提取到的各个视频片段合成为视频文件。The extracted individual video segments are synthesized into a video file.
  6. 如权利要求5所述的视频处理方法,其特征在于,所述从所述当前目标视频中提取出所述属性信息所指示的视频片段,还包括:The video processing method according to claim 5, wherein the extracting the video segment indicated by the attribute information from the current target video further comprises:
    从当前目标视频提取视频片段时,调节所述视频片段的分辨率。When the video clip is extracted from the current target video, the resolution of the video clip is adjusted.
  7. 如权利要求5所述的视频处理方法,其特征在于,所述将提取到的各个视频片段合成为视频文件,包括:The video processing method according to claim 5, wherein the synthesizing the extracted video segments into a video file comprises:
    按照所述视频片段在所述目标视频中的时间点,将各个视频片段合成为视频文件。Each video segment is synthesized into a video file according to the point in time at which the video clip is in the target video.
  8. 如权利要求1所述的视频处理方法,其特征在于,还包括:The video processing method according to claim 1, further comprising:
    获取用于对已记录的属性信息进行编辑的编辑操作指令;Obtaining an edit operation instruction for editing the recorded attribute information;
    根据所述编辑操作指令对所述视频片段的属性信息进行编辑;Editing attribute information of the video segment according to the editing operation instruction;
    其中,所述编辑操作包括:对已记录的属性信息的修改、增加新的属性信息、删除属性信息中的任意一种或多种。The editing operation includes: modifying one or more of modifying the attribute information, adding new attribute information, and deleting the attribute information.
  9. 如权利要求8所述的视频处理方法,其特征在于,当所述编辑操作为对已记录的属性信息的修改,所述根据所述编辑操作指令对所述视频片段的属性信息进行编辑,包括:The video processing method according to claim 8, wherein when the editing operation is a modification of the recorded attribute information, the editing the attribute information of the video segment according to the editing operation instruction, including :
    当接收到修改操作指令时,修改所述视频片段的属性信息中记录到的开始时间点、结束时间点及描述信息中的任意一种或多种。When receiving the modification operation instruction, modifying one or more of the start time point, the end time point, and the description information recorded in the attribute information of the video segment.
  10. 如权利要求8所述的视频处理方法,其特征在于,当所述编辑操作为删除属性信息,所述根据所述编辑操作指令对所述视频片段的属性信息进行编辑,包括:The video processing method according to claim 8, wherein when the editing operation is to delete the attribute information, the editing the attribute information of the video segment according to the editing operation instruction comprises:
    当接收到删除操作指令时,根据删除指令所指定的视频片段,删除该指定的视频片段对应的属性信息。When the delete operation instruction is received, the attribute information corresponding to the specified video segment is deleted according to the video segment specified by the delete instruction.
  11. 如权利要求8所述的视频处理方法,其特征在于,当编辑操作为增加新的属性信息时,根据所述编辑操作指令对所述视频片段的属性信息进行编辑,包括:The video processing method according to claim 8, wherein when the editing operation is to add new attribute information, the attribute information of the video segment is edited according to the editing operation instruction, including:
    当接收到新增操作指令时,重新播放目标视频;Replay the target video when a new operation instruction is received;
    接收针对重新播放的目标视频的编辑操作,确定出所述编辑操作所选定的视频片段;Receiving an editing operation for the replayed target video, determining a video segment selected by the editing operation;
    增加记录所述选定的视频片段的属性信息。Adding attribute information for recording the selected video clip.
  12. 如权利要求1所述的视频处理方法,其特征在于,所述当前播放的目标视频包括:The video processing method according to claim 1, wherein the currently played target video comprises:
    当前播放的正在录制的视频或录制完成进行预览播放的视频,或回放的视频。The currently playing video being recorded or the video that was recorded for preview playback, or the video being played back.
  13. 如权利要求1至3中任意一项所述的视频处理方法,其特征在于,所述获取针对当前播放的目标视频的编辑操作,确定出所述编辑操作所选定的视频片段,包括:The video processing method according to any one of claims 1 to 3, wherein the obtaining an edit operation for the currently played target video and determining the video segment selected by the editing operation comprises:
    获取针对当前播放的目标视频的编辑操作;Get an edit operation for the currently played target video;
    根据与所述编辑操作关联的确定规则,从所述当前播放的目标视频中确定出视频片段。A video segment is determined from the currently played target video according to a determination rule associated with the editing operation.
  14. 如权利要求13所述的视频处理方法,其特征在于,所述根据与所述编辑操作关联的确定规则,从所述当前播放的目标视频中确定出视频片段,包括:The video processing method according to claim 13, wherein the determining a video segment from the currently played target video according to the determining rule associated with the editing operation comprises:
    若获取的编辑操作为单击操作;If the obtained edit operation is a click operation;
    于所述单击操作所选定的时间点向前和/或向后扩展预定时间长度,从所述目标视频中确定出视频片段。A video clip is determined from the target video by extending forward and/or backward for a predetermined length of time at a selected point in time of the click operation.
  15. 如权利要求13所述的视频处理方法,其特征在于,所述根据与所述编辑操作关联的确定规则,从所述当前播放的目标视频中确定出视频片段,包括:The video processing method according to claim 13, wherein the determining a video segment from the currently played target video according to the determining rule associated with the editing operation comprises:
    若获取的编辑操作为两次双击操作;If the obtained edit operation is two double-click operations;
    根据所述前后两次双击操作的时间点,从所述目标视频中确定出所述两次双击操作之间的视频片段。The video segment between the two double-click operations is determined from the target video according to the time point of the two double-click operations.
  16. 如权利要求13所述的视频处理方法,其特征在于,所述根据与所述编辑操作关联的确定规则,从所述当前播放的目标视频中确定出视频片段,包括:The video processing method according to claim 13, wherein the determining a video segment from the currently played target video according to the determining rule associated with the editing operation comprises:
    若获取的编辑操作为长按操作;If the obtained editing operation is a long press operation;
    根据所述长按操作的开始时间点和结束时间点,从所述目标视频上确定出视频片段。A video segment is determined from the target video according to a start time point and an end time point of the long press operation.
  17. 如权利要求13所述的视频处理方法,其特征在于,还包括:The video processing method according to claim 13, further comprising:
    获取所述确定出的视频片段;Obtaining the determined video segment;
    依次叠加所述视频片段以合成视频文件。The video clips are sequentially superimposed to synthesize a video file.
  18. 如权利要求13所述的视频处理方法,其特征在于,还包括:The video processing method according to claim 13, further comprising:
    获取所述确定出的视频片段;Obtaining the determined video segment;
    根据所述视频片段在目标视频中的时间点对所述视频片段进行排序;Sorting the video segments according to a time point of the video clip in the target video;
    合并所述排序后的视频片段。The sorted video clips are merged.
  19. 如权利要求17或18所述的视频处理方法,其特征在于,所述获取所述确定出的视频片段,包括:The video processing method according to claim 17 or 18, wherein the obtaining the determined video segment comprises:
    获取所述视频片段时,调节所述视频片段的分辨率。When the video clip is acquired, the resolution of the video clip is adjusted.
  20. 一种视频处理装置,其特征在于,包括:A video processing device, comprising:
    获取模块,用于获取针对当前播放的目标视频的编辑操作,确定出所述编辑操作所选定的视频片段;An obtaining module, configured to acquire an editing operation for the currently played target video, and determine a video segment selected by the editing operation;
    记录模块,用于记录所述选定的视频片段的属性信息,以便于对所述目标视频进行编辑。And a recording module, configured to record attribute information of the selected video segment to facilitate editing the target video.
  21. 如权利要求20所述的视频处理装置,其特征在于,所述记录模块包括:The video processing device of claim 20, wherein the recording module comprises:
    属性获取单元,用于获取所述视频片段的属性信息;An attribute obtaining unit, configured to acquire attribute information of the video segment;
    第一属性存储单元,用于将所述属性信息存储到预置的文档中。And a first attribute storage unit, configured to store the attribute information in a preset document.
  22. 如权利要求20所述的视频处理装置,其特征在于,所述记录模块包括:The video processing device of claim 20, wherein the recording module comprises:
    属性获取单元,用于获取所述视频片段的属性信息;An attribute obtaining unit, configured to acquire attribute information of the video segment;
    第二属性存储单元,用于将所述属性信息内嵌于所述目标视频的信息中。And a second attribute storage unit, configured to embed the attribute information in the information of the target video.
  23. 如权利要求21或22所述的视频处理装置,其特征在于,A video processing device according to claim 21 or 22, wherein
    所述属性获取单元,具体用于获取所述视频片段在目标视频中的时间点及所述视频片段被选定时的时间点和/或所述视频片段的描述信息。The attribute obtaining unit is specifically configured to acquire a time point of the video segment in the target video and a time point when the video segment is selected and/or description information of the video segment.
  24. 如权利要求21或22所述的视频处理装置,其特征在于,还包括:The video processing device according to claim 21 or 22, further comprising:
    合成模块,所述合成模块包括:a synthesis module, the synthesis module comprising:
    控制单元,用于在检测到视频合成指令时,从所述当前目标视频中提取出所述属性信息所指示的视频片段;a control unit, configured to: when the video synthesis instruction is detected, extract a video segment indicated by the attribute information from the current target video;
    合成单元,用于将提取到的各个视频片段合成为视频文件。A synthesizing unit, configured to synthesize each of the extracted video segments into a video file.
  25. 如权利要求24所述的视频处理装置,其特征在于,A video processing device according to claim 24, wherein
    所述控制单元,具体用于当从所述当前目标视频中提取视频片段时,调节所述视频片段的分辨率。The control unit is specifically configured to adjust a resolution of the video segment when the video segment is extracted from the current target video.
  26. 如权利要求24所述的视频处理装置,其特征在于,A video processing device according to claim 24, wherein
    所述合成单元,具体用于按照所述视频片段在所述目标视频中的时间点,将各个视频片段合成为视频文件。The synthesizing unit is specifically configured to synthesize each video segment into a video file according to a time point of the video segment in the target video.
  27. 如权利要求20所述的视频处理装置,其特征在于,还包括:The video processing device of claim 20, further comprising:
    编辑模块,所述编辑模块包括:Editing module, the editing module includes:
    指令获取单元,用于获取用于对已记录的属性信息进行编辑的编辑操作指令;An instruction obtaining unit, configured to acquire an editing operation instruction for editing the recorded attribute information;
    编辑单元,用于根据所述编辑操作指令对所述视频片段的属性信息进行编辑,其中,所述编辑操作包括:对已记录的属性信息的修改、增加新的属性信息、删除属性信息中的任意一种或多种。An editing unit, configured to edit attribute information of the video segment according to the editing operation instruction, where the editing operation includes: modifying a recorded attribute information, adding new attribute information, and deleting attribute information Any one or more.
  28. 如权利要求27所述的视频处理装置,其特征在于,A video processing device according to claim 27, wherein
    所述编辑单元,具体用于:The editing unit is specifically configured to:
    当接收到修改操作指令时,修改所述视频片段的属性信息中记录到的开始时间点、结束时间点及描述信息中的任意一种或多种;When receiving the modification operation instruction, modifying one or more of a start time point, an end time point, and description information recorded in the attribute information of the video segment;
    当接收到删除操作指令时,根据删除指令所指定的视频片段,删除该指定的视频片段对应的属性信息;When receiving the delete operation instruction, deleting the attribute information corresponding to the specified video segment according to the video segment specified by the delete instruction;
    当接收到新增操作指令时,重新播放目标视频,接收针对重新播放的目标视频的编辑操作,确定出所述编辑操作所选定的视频片段,增加记录所述选定的视频片段的属性信息。When the new operation instruction is received, the target video is replayed, the editing operation for the replayed target video is received, the video segment selected by the editing operation is determined, and the attribute information of the selected video segment is recorded. .
  29. 如权利要求20所述的视频处理装置,其特征在于,A video processing device according to claim 20, wherein
    播放模块,用于播放正在录制中的视频或播放录制完成进行预览播放的视频,或回放的视频。A playback module for playing a video being recorded or playing a video that has been recorded for preview playback, or a video that is played back.
  30. 如权利要求20至22中任意一项所述的视频处理装置,其特征在于,所述获取模块,包括:The video processing device according to any one of claims 20 to 22, wherein the acquisition module comprises:
    编辑获取单元,用于获取针对当前播放的目标视频的编辑操作;An editing acquisition unit, configured to acquire an editing operation for the currently played target video;
    视频标记单元,用于根据与所述编辑操作关联的确定规则,从所述当前播放的目标视频中确定出视频片段。a video marking unit, configured to determine a video segment from the currently played target video according to a determining rule associated with the editing operation.
  31. 如权利要求30所述的视频处理装置,其特征在于,A video processing device according to claim 30, wherein
    若所述编辑获取单元获取的编辑操作为单击操作,所述视频标记单元于所述单击操作所选定的时间点向前和/或向后扩展预定时间长度,从所述目标视频中确定出视频片段。If the editing operation acquired by the editing acquisition unit is a click operation, the video marking unit expands forward and/or backward by a predetermined time length at a selected time point of the click operation, from the target video. Identify the video clip.
  32. 如权利要求30所述的视频处理装置,其特征在于,A video processing device according to claim 30, wherein
    若所述编辑获取单元获取的编辑操作为两次双击操作,所述视频标记单元根据所述前后两次双击操作的时间点,从所述目标视频中确定出所述两次双击操作之间的视频片段。If the editing operation acquired by the editing acquisition unit is two double-click operations, the video marking unit determines, between the two double-click operations, from the target video according to the time point of the two double-click operations Video clip.
  33. 如权利要求30所述的视频处理装置,其特征在于,A video processing device according to claim 30, wherein
    若所述编辑获取单元获取的编辑操作为长按操作,所述视频标记单元根据所述长按操作的开始时间点和结束时间点,从所述目标视频上确定出视频片段。If the editing operation acquired by the editing acquisition unit is a long press operation, the video marking unit determines a video segment from the target video according to a start time point and an end time point of the long press operation.
  34. 如权利要求30所述的视频处理装置,其特征在于,还包括:The video processing device of claim 30, further comprising:
    处理模块,所述处理模块包括:Processing module, the processing module includes:
    视频获取单元,用于获取所述确定出的视频片段;a video acquiring unit, configured to acquire the determined video segment;
    视频处理单元,用于依次叠加所述视频片段以合成视频文件。a video processing unit for sequentially superimposing the video segments to synthesize a video file.
  35. 如权利要求30所述的视频处理装置,其特征在于,还包括:The video processing device of claim 30, further comprising:
    处理模块,所述处理模块包括:Processing module, the processing module includes:
    视频获取单元,用于获取所述确定出的视频片段;a video acquiring unit, configured to acquire the determined video segment;
    视频处理单元,用于根据所述视频片段在目标视频中的时间点对所述视频片段进行排序,并合并所述排序后的视频片段。a video processing unit, configured to sort the video segments according to a time point of the video segment in the target video, and merge the sorted video segments.
  36. 如权利要求34或35所述的视频处理装置,其特征在于,A video processing device according to claim 34 or 35, wherein
    所述视频获取单元,具体用于获取所述确定出的视频片段时,调节所述视频片段的分辨率。The video acquiring unit is configured to adjust a resolution of the video segment when the determined video segment is obtained.
  37. 一种播放装置,其特征在于,包括:播放器和处理器,A playback device, comprising: a player and a processor,
    所述播放器,用于播放视频;The player is configured to play a video;
    所述处理器,用于获取针对当前播放的目标视频的编辑操作,确定出所述编辑操作所选定的视频片段;并记录所述选定的视频片段的属性信息,以便于对所述目标视频进行编辑。The processor is configured to acquire an edit operation for the currently played target video, determine a video segment selected by the editing operation, and record attribute information of the selected video segment to facilitate the target The video is edited.
  38. 如权利要求37所述的播放装置,其特征在于,A playback device according to claim 37, wherein
    所述处理器,具体用于获取所述视频片段的属性信息,并将所述属性存储到预置的文档中。The processor is specifically configured to acquire attribute information of the video segment, and store the attribute in a preset document.
  39. 如权利要求37所述的播放装置,其特征在于,A playback device according to claim 37, wherein
    所述处理器,具体用于获取所述视频片段的属性信息,并将所述属性信息内嵌于所述目标视频的信息中。The processor is specifically configured to acquire attribute information of the video segment, and embed the attribute information in the information of the target video.
  40. 如权利要求38或39所述的播放装置,其特征在于,A playback apparatus according to claim 38 or 39, wherein
    所述处理器,具体用于获取所述视频片段在目标视频中的时间点及所述视频片段被选定时的时间点和/或所述视频片段的描述信息。The processor is specifically configured to acquire a time point of the video segment in the target video and a time point when the video segment is selected and/or description information of the video segment.
  41. 如权利要求38或39所述的播放装置,其特征在于,A playback apparatus according to claim 38 or 39, wherein
    所述处理器,具体用于在检测到视频合成指令时,从所述当前目标视频中提取出所述属性信息所指示的视频片段;并将提取到的各个视频片段合成为视频文件。The processor is configured to: when the video synthesis instruction is detected, extract a video segment indicated by the attribute information from the current target video; and synthesize the extracted video segments into a video file.
  42. 如权利要求41所述的播放装置,其特征在于,A playback device according to claim 41, wherein
    所述处理器,具体用于从所述当前目标视频中提取出所述属性信息所指示的视频片段时,调节所述视频片段的分辨率。The processor is configured to adjust a resolution of the video segment when the video segment indicated by the attribute information is extracted from the current target video.
  43. 如权利要求41所述的播放装置,其特征在于,A playback device according to claim 41, wherein
    所述处理器,具体用于按照所述视频片段在所述目标视频中的时间点,将各个视频片段合成为视频文件。The processor is specifically configured to synthesize each video segment into a video file according to a time point of the video segment in the target video.
  44. 如权利要求37所述的播放装置,其特征在于,A playback device according to claim 37, wherein
    所述处理器,具体用于获取用于对已记录的属性信息进行编辑的编辑操作指令;并根据所述编辑操作指令对所述视频片段的属性信息进行编辑,其中,所述编辑操作包括:对已记录的属性信息的修改、增加新的属性信息、删除属性信息中的任意一种或多种。The processor is specifically configured to acquire an editing operation instruction for editing the recorded attribute information, and edit the attribute information of the video segment according to the editing operation instruction, where the editing operation includes: Any one or more of the modification of the recorded attribute information, the addition of new attribute information, and the deletion of the attribute information.
  45. 如权利要求44所述的播放装置,其特征在于,A playback device according to claim 44, wherein
    所述处理器,具体用于:The processor is specifically configured to:
    当接收到修改操作指令时,修改所述视频片段的属性信息中记录到的开始时间点、结束时间点及描述信息中的任意一种或多种;When receiving the modification operation instruction, modifying one or more of a start time point, an end time point, and description information recorded in the attribute information of the video segment;
    当接收到删除操作指令时,根据删除指令所指定的视频片段,删除该指定的视频片段对应的属性信息;When receiving the delete operation instruction, deleting the attribute information corresponding to the specified video segment according to the video segment specified by the delete instruction;
    当接收到新增操作指令时,重新播放目标视频,接收针对重新播放的目标视频的编辑操作,确定出所述编辑操作所选定的视频片段,增加记录所述选定的视频片段的属性信息。When the new operation instruction is received, the target video is replayed, the editing operation for the replayed target video is received, the video segment selected by the editing operation is determined, and the attribute information of the selected video segment is recorded. .
  46. 如权利要求37所述的播放装置,其特征在于,A playback device according to claim 37, wherein
    所述播放器,用于播放正在录制的视频、录制完成进行预览播放的视频,或回放的视频。The player is used to play a video being recorded, a video recorded for preview playback, or a video played back.
  47. 如权利要求37至39中任意一项所述的播放装置,其特征在于,A playback apparatus according to any one of claims 37 to 39, wherein
    所述处理器,具体用于获取针对当前播放的目标视频的编辑操作;并根据与所述编辑操作关联的确定规则,从所述当前播放的目标视频中确定出视频片段。The processor is specifically configured to acquire an editing operation for the currently played target video; and determine a video segment from the currently played target video according to the determining rule associated with the editing operation.
  48. 如权利要求47所述的播放装置,其特征在于,A playback device according to claim 47, wherein
    所述处理器,具体用于:The processor is specifically configured to:
    若获取的编辑操作为单击操作,于所述单击操作所选定的时间点向前和/或向后扩展预定时间长度,从所述目标视频中确定出视频片段;If the acquired editing operation is a click operation, the predetermined time length is extended forward and/or backward at a selected time point of the click operation, and a video segment is determined from the target video;
    若获取的编辑操作为两次双击操作,根据所述前后两次双击操作的时间点,从所述目标视频中确定出所述两次双击操作之间的视频片段;If the acquired editing operation is two double-click operations, determining a video segment between the two double-click operations from the target video according to the time points of the two double-click operations before and after;
    若获取的编辑操作为长按操作,根据所述长按操作的开始时间点和结束时间点,从所述目标视频上确定出视频片段。If the acquired editing operation is a long press operation, the video segment is determined from the target video according to the start time point and the end time point of the long press operation.
  49. 如权利要求47所述播放装置,其特征在于,A playback apparatus according to claim 47, wherein:
    所述处理器,具体用于获取所述确定出的视频片段;并依次叠加所述视频片段以合成视频文件。The processor is specifically configured to acquire the determined video segment; and sequentially overlay the video segment to synthesize a video file.
  50. 如权利要求47所述播放装置,其特征在于,A playback apparatus according to claim 47, wherein:
    所述处理器,具体用于获取所述确定出的视频片段;并根据所述视频片段在目标视频中的时间点对所述视频片段进行排序,并合并所述排序后的视频片段。The processor is specifically configured to acquire the determined video segment, and sort the video segments according to a time point of the video segment in the target video, and merge the sorted video segments.
  51. 如权利要求49或50所述的播放装置,其特征在于,A playback apparatus according to claim 49 or 50, wherein
    所述处理器,具体用于获取所述确定出的视频片段时,调节所述视频片段的分辨率。The processor is configured to adjust a resolution of the video segment when the determined video segment is obtained.
PCT/CN2014/093785 2014-12-14 2014-12-14 Video processing method, video processing device and playing device WO2016095071A1 (en)

Priority Applications (20)

Application Number Priority Date Filing Date Title
PCT/CN2014/093785 WO2016095071A1 (en) 2014-12-14 2014-12-14 Video processing method, video processing device and playing device
CN201480010538.9A CN105519095B (en) 2014-12-14 2014-12-14 A kind of method for processing video frequency, device and playing device
JP2016536996A JP6367334B2 (en) 2014-12-14 2014-12-14 Video processing method, apparatus, and playback apparatus
CN201580009864.2A CN107005624B (en) 2014-12-14 2015-03-31 Method, system, terminal, device, processor and storage medium for processing video
EP15868878.8A EP3167604B1 (en) 2014-12-14 2015-03-31 Methods and systems of video processing
CN202111113818.0A CN113766161B (en) 2014-12-14 2015-03-31 Video processing method and system
PCT/CN2015/075458 WO2016095361A1 (en) 2014-12-14 2015-03-31 Methods and systems of video processing
CN202010206245.5A CN111432152A (en) 2014-12-14 2015-04-07 Data processing method, device and system, non-transitory computer readable medium
ES15868884T ES2877224T3 (en) 2014-12-14 2015-04-07 System and method to support selective back data logging
EP15868884.6A EP3123644B1 (en) 2014-12-14 2015-04-07 System and method for supporting selective backtracking data recording
EP21158401.6A EP3846454A1 (en) 2014-12-14 2015-04-07 System and method for supporting selective backtracking data recording
PCT/CN2015/076015 WO2016095367A1 (en) 2014-12-14 2015-04-07 System and method for supporting selective backtracking data recording
CN201580067797.XA CN107223316B (en) 2014-12-14 2015-04-07 System and method for supporting selective backtracking data recording
DK15868884.6T DK3123644T3 (en) 2014-12-14 2015-04-07 SYSTEM AND METHOD OF SUPPORTING SELECTIVE BACKTRACKING OF DATA RECORDING
US15/349,958 US9973728B2 (en) 2014-12-14 2016-11-11 System and method for supporting selective backtracking data recording
US15/598,170 US10567700B2 (en) 2014-12-14 2017-05-17 Methods and systems of video processing
US15/942,862 US10284808B2 (en) 2014-12-14 2018-04-02 System and method for supporting selective backtracking data recording
US16/270,122 US10771734B2 (en) 2014-12-14 2019-02-07 System and method for supporting selective backtracking data recording
US16/789,651 US11095847B2 (en) 2014-12-14 2020-02-13 Methods and systems of video processing
US16/939,653 US20200358979A1 (en) 2014-12-14 2020-07-27 System and method for supporting selective backtracking data recording

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/093785 WO2016095071A1 (en) 2014-12-14 2014-12-14 Video processing method, video processing device and playing device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/093786 Continuation-In-Part WO2016095072A1 (en) 2014-12-14 2014-12-14 Video processing method, video processing device and display device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/075458 Continuation-In-Part WO2016095361A1 (en) 2014-12-14 2015-03-31 Methods and systems of video processing

Publications (1)

Publication Number Publication Date
WO2016095071A1 true WO2016095071A1 (en) 2016-06-23

Family

ID=55725078

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/093785 WO2016095071A1 (en) 2014-12-14 2014-12-14 Video processing method, video processing device and playing device

Country Status (3)

Country Link
JP (1) JP6367334B2 (en)
CN (1) CN105519095B (en)
WO (1) WO2016095071A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110309351A (en) * 2018-02-14 2019-10-08 阿里巴巴集团控股有限公司 Video image generation, device and the computer system of data object
CN112135187A (en) * 2020-07-30 2020-12-25 广州华多网络科技有限公司 Multimedia data generation method, interception method, device, equipment and storage medium
CN114900713A (en) * 2022-07-13 2022-08-12 深圳市必提教育科技有限公司 Video clip processing method and system

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106791909B (en) * 2016-12-01 2020-03-17 中央电视台 Video data processing method and device and server
CN106851385B (en) * 2017-02-20 2019-12-27 北京乐我无限科技有限责任公司 Video recording method and device and electronic equipment
CN108632541B (en) * 2017-03-20 2021-07-20 杭州海康威视数字技术股份有限公司 Multi-video-clip merging method and device
CN107809670B (en) * 2017-10-31 2020-05-12 长光卫星技术有限公司 Video editing system and method suitable for large-area-array meter-level high-resolution satellite
CN110612721B (en) 2018-01-19 2022-08-09 深圳市大疆创新科技有限公司 Video processing method and terminal equipment
CN108965919A (en) * 2018-07-31 2018-12-07 优视科技新加坡有限公司 Method for processing video frequency, device, equipment/terminal/server and computer readable storage medium
CN109104642A (en) * 2018-09-26 2018-12-28 北京搜狗科技发展有限公司 A kind of video generation method and device
CN111263211B (en) * 2018-12-03 2022-02-08 深圳市炜博科技有限公司 Method for caching video data and terminal equipment
WO2021137671A1 (en) * 2020-01-03 2021-07-08 Samsung Electronics Co., Ltd. Video generation apparatus and video generation method performed by the video generation apparatus
CN113645482A (en) * 2020-04-27 2021-11-12 阿里巴巴集团控股有限公司 Video processing method and device, electronic equipment and storage medium
CN112997506A (en) * 2020-05-28 2021-06-18 深圳市大疆创新科技有限公司 Video file editing method, device, system and computer readable storage medium
CN112422846B (en) * 2020-11-18 2022-08-30 维沃移动通信有限公司 Video recording method and electronic equipment
WO2022114924A1 (en) * 2020-11-30 2022-06-02 키네마스터 주식회사 Video editing ui control method and device
CN115567655A (en) * 2022-09-16 2023-01-03 广西电网有限责任公司南宁供电局 Circuit breaker mechanism image acquisition system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101681665A (en) * 2006-12-22 2010-03-24 苹果公司 Fast creation of video segments
CN103716712A (en) * 2013-12-31 2014-04-09 上海艾麒信息科技有限公司 Video processing method based on mobile terminal
CN103916535A (en) * 2013-01-04 2014-07-09 Lg电子株式会社 Mobile terminal and controlling method thereof
CN104052935A (en) * 2014-06-18 2014-09-17 广东欧珀移动通信有限公司 Video editing method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11176137A (en) * 1997-12-15 1999-07-02 Matsushita Electric Ind Co Ltd Optical disk medium and its recording method and device
JP3663362B2 (en) * 2001-03-30 2005-06-22 インターナショナル・ビジネス・マシーンズ・コーポレーション Index generator
JP4396567B2 (en) * 2005-04-15 2010-01-13 ソニー株式会社 Material recording apparatus and material recording method
JP4960121B2 (en) * 2007-03-12 2012-06-27 パナソニック株式会社 Content shooting device
JP2012049840A (en) * 2010-08-27 2012-03-08 Nippon Telegr & Teleph Corp <Ntt> Video editing device, video editing method, video editing program, and computer readable storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101681665A (en) * 2006-12-22 2010-03-24 苹果公司 Fast creation of video segments
CN103916535A (en) * 2013-01-04 2014-07-09 Lg电子株式会社 Mobile terminal and controlling method thereof
CN103716712A (en) * 2013-12-31 2014-04-09 上海艾麒信息科技有限公司 Video processing method based on mobile terminal
CN104052935A (en) * 2014-06-18 2014-09-17 广东欧珀移动通信有限公司 Video editing method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110309351A (en) * 2018-02-14 2019-10-08 阿里巴巴集团控股有限公司 Video image generation, device and the computer system of data object
CN112135187A (en) * 2020-07-30 2020-12-25 广州华多网络科技有限公司 Multimedia data generation method, interception method, device, equipment and storage medium
CN114900713A (en) * 2022-07-13 2022-08-12 深圳市必提教育科技有限公司 Video clip processing method and system

Also Published As

Publication number Publication date
CN105519095B (en) 2018-06-12
JP6367334B2 (en) 2018-08-01
CN105519095A (en) 2016-04-20
JP2017505012A (en) 2017-02-09

Similar Documents

Publication Publication Date Title
WO2016095071A1 (en) Video processing method, video processing device and playing device
WO2016095072A1 (en) Video processing method, video processing device and display device
US11756587B2 (en) Masking in video stream
WO2018149175A1 (en) Video-recording method and apparatus, and electronic device
WO2016056871A1 (en) Video editing using contextual data and content discovery using clusters
WO2013141562A1 (en) Method and apparatus for processing media file for augmented reality service
CN109547841B (en) Short video data processing method and device and electronic equipment
WO2016028042A1 (en) Method of providing visual sound image and electronic device implementing the same
WO2015076537A1 (en) Video-providing method and video-providing system
WO2013139185A1 (en) File name display method and system, and computer storage medium
CA2213524A1 (en) Combined editing system and digital moving picture recording system
WO2015109993A1 (en) Data processing method and apparatus for network system
CN112399189B (en) Delay output control method, device, system, equipment and medium
WO2013123816A1 (en) Mobile phone and file configuration method thereof
WO2021056766A1 (en) Video screen capture method, terminal, and computer-readable storage medium
WO2016195219A1 (en) Display device and method of controlling the same
US20240146863A1 (en) Information processing device, information processing program, and recording medium
JP4940333B2 (en) Electronic apparatus and moving image reproduction method
US7844163B2 (en) Information editing device, information editing method, and computer product
WO2013029439A1 (en) Method for recording streaming media files and corresponding device
WO2022239988A1 (en) Dance matching method and system
WO2017065334A1 (en) Method and device for generating content
WO2018106069A1 (en) Method and apparatus for producing content
JP2004128570A (en) Contents creation and demonstration system, and contents creation and demonstration method
WO2017051955A1 (en) Apparatus and method for applying video effect

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2016536996

Country of ref document: JP

Kind code of ref document: A

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14908106

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14908106

Country of ref document: EP

Kind code of ref document: A1