CN106412702A - Video clip interception method and device - Google Patents

Video clip interception method and device Download PDF

Info

Publication number
CN106412702A
CN106412702A CN201510448280.7A CN201510448280A CN106412702A CN 106412702 A CN106412702 A CN 106412702A CN 201510448280 A CN201510448280 A CN 201510448280A CN 106412702 A CN106412702 A CN 106412702A
Authority
CN
China
Prior art keywords
video
intercepting
file
decoded
video data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510448280.7A
Other languages
Chinese (zh)
Other versions
CN106412702B (en
Inventor
陈俊峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Yayue Technology Co ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201510448280.7A priority Critical patent/CN106412702B/en
Priority to MYPI2017704144A priority patent/MY190923A/en
Priority to PCT/CN2016/085994 priority patent/WO2017016339A1/en
Publication of CN106412702A publication Critical patent/CN106412702A/en
Priority to US15/729,439 priority patent/US10638166B2/en
Application granted granted Critical
Publication of CN106412702B publication Critical patent/CN106412702B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47217End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4408Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving video stream encryption, e.g. re-encrypting a decrypted video stream for redistribution in a home network

Landscapes

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

Abstract

The embodiment of the present invention discloses a video clip interception method and device used for improving the processing efficiency of the video clip interception. A video image interception method provided by the embodiment of the present invention comprises the steps of receiving a video interception instruction sent by a user via a current playing terminal; from the playing time, namely an interception starting time point and according to the video interception instruction, obtaining the decoded video data corresponding to a video interception area in a currently playing video file, at the playing time, namely an interception ending time point, stopping obtaining the decoded video data corresponding to the video interception area in the currently playing video file; since the interception ending time point, according to the video interception instruction, carrying out the file format coding on obtained decoded video data to generate the video clips intercepted from the video file; according to the target uses, outputting the video clips.

Description

A kind of intercept method of video segment and device
Technical field
The present invention relates to field of computer technology, more particularly, to a kind of intercept method of video segment and device.
Background technology
In recent years, since, multimedia information technology development is quick, and user increasingly gets used to handheld terminal to broadcast Put video, when user is during viewing video, when very interested in certain fragment of video, user Have and intercept the needs that one section of video stores from the video play.And in prior art, there are image The technical scheme intercepting, user can submit sectional drawing order to terminal, and terminal needs to stop currently playing regarding Frequently, and preserve the current video image stopping and playing, this video intercepting scheme is merely able to realize to video The timely crawl of certain picture, this obviously cannot meet the needs that user intercepts to video segment.
In order to realize the intercepting to video segment, Chinese patent application publication No. CN103747362A is public Open a kind of method and apparatus intercepting video segment, the method for the intercepting video segment disclosed in this patent Comprise the steps:Receive and intercept initiation command, according to default video intercepting parameter, from currently playing The video image play is obtained in video;The video image of described acquisition is intercepted, obtains institute State the sectional drawing of the video image of acquisition;Receive to intercept and terminate order, suitable according to every video image of intercepting Sequence and described default video intercepting parameter, the sectional drawing of described every video image is generated the first video Fragment.In prior art, this technical scheme is passed through to intercept multiple video images, according still further to intercepting video image Order team leader's video image is combined, finally obtain the video segment of intercepting.
The present inventor finds during realizing the present invention:Existing such scheme regards to multiple The sectional drawing of frequency image merges the video segment obtaining intercepting, and the intercept method of this video segment is only applicable to Need to intercept that duration is shorter, video segment that is only being combined by minority video pictures, if what user needed to intercept When being the big video segment of time span, it is accomplished by the especially many video images of sectional drawing according to the method described above, The intercepting efficiency of therefore video segment is very low.In addition, intercepting the frequency of video image in existing such scheme How rate controls also is difficult to hold, if the frequency intercepting video image is very low, then what combination obtained regards Frequency fragment occurs broadcasting discontinuously, if the frequency intercepting video image is very big, then be accomplished by intercepting a lot Video image, deal with also very complicated.
Content of the invention
Embodiments provide a kind of intercept method of video segment and device, for improving piece of video The treatment effeciency that section intercepts.
For solving above-mentioned technical problem, the embodiment of the present invention provides technical scheme below:
In a first aspect, the embodiment of the present invention provides a kind of intercept method of video segment, including:
Receive user is instructed by the video intercepting that currently playing terminal sends, described video intercepting instruction bag Include:What described user determined needs to intercept the intercepting sart point in time of video and intercepts end time point, institute State video intercepting region and the described user that user delimit in the broadcast interface of described currently playing terminal The intended applications selecting;
From reproduction time be described intercepting sart point in time from the beginning of, according to described video intercepting instruction obtain with Decoded video data corresponding with described video intercepting region in the video file being currently played, directly Being described intercepting end time point to reproduction time, stop obtaining and the video literary composition being currently played Decoded video data corresponding with video intercepting region in part;
From the beginning of described intercepting end time point, instructed to the decoding getting according to described video intercepting Video data carries out file format coding, generates the video segment intercepting out from described video file;
According to described intended applications, described video segment is exported.
Second aspect, the embodiment of the present invention also provides a kind of capture device of video segment, including:
Receiver module, is instructed by the video intercepting that currently playing terminal sends for receive user, described Video intercepting instruction includes:What described user determined needs to intercept intercepting sart point in time and the intercepting of video The video intercepting area that end time point, described user delimit in the broadcast interface of described currently playing terminal Domain and the intended applications of described user selection;
Video data acquisition module, from the beginning of being described intercepting sart point in time from reproduction time, according to The instruction of described video intercepting obtain with the video file being currently played in described video intercepting region pair The decoded video data answered, till reproduction time is described intercepting end time point, stops obtaining With decoded video data corresponding with video intercepting region in the video file being currently played;
Document No. module, for, from the beginning of described intercepting end time point, referring to according to described video intercepting Order carries out file format coding to the decoded video data getting, and generates and cuts from described video file The video segment taking out;
Video segment output module, for exporting described video segment according to described intended applications.
As can be seen from the above technical solutions, the embodiment of the present invention has advantages below:
In embodiments of the present invention, when user sends video intercepting instruction by currently playing terminal, first Receive video intercepting instruction, may include intercepting sart point in time in video intercepting instruction and intercept the end time Video intercepting region and the intended applications of user's selection that point, user delimit, the broadcast interface in terminal is opened After beginning playing video file, when reproduction time reach intercepting sart point in time after, can obtain with currently In the video file play, decoded video data corresponding with video intercepting region, terminates in intercepting Before time point is also not up to it is still necessary to continue to obtain with the video file that is currently played in video Intercept region corresponding decoded video data, can be got according to video intercepting instruction and multiple decode Video data, after intercepting end time point and reaching, instructs to the solution getting according to video intercepting Code video data carries out file format coding, such that it is able to generate the piece of video intercepting out from video file Section, the intended applications output that can also be selected according to user after generating the video segment being truncated to.This It is by obtaining the video file corresponding decoded video data play in bright, then again to solving The mode that code video data carries out file format coding obtains the video segment that needs intercept, rather than passes through Capture the video image of multiple and obtain video segment to combine, even if needing in the present invention to intercept time span Big video segment it is only necessary to by user setup intercept sart point in time and intercept end time point, The intercepting process efficiency of video segment is also very high.
Brief description
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, below will be in embodiment description The accompanying drawing of required use be briefly described it should be apparent that, drawings in the following description be only this Some embodiments of invention, to those skilled in the art, can also obtain according to these accompanying drawings Other accompanying drawings.
Fig. 1 is a kind of process blocks schematic diagram of the intercept method of video segment provided in an embodiment of the present invention;
Fig. 2 is the acquisition modes schematic diagram in video intercepting region in the embodiment of the present invention;
Fig. 3 is a kind of intercepting schematic flow sheet of video segment in the embodiment of the present invention;
Fig. 4 is the handling process schematic diagram of decoded video data provided in an embodiment of the present invention;
Fig. 5-a is a kind of composition structural representation of terminal provided in an embodiment of the present invention;
Fig. 5-b is a kind of composition structural representation of video data acquisition module provided in an embodiment of the present invention;
Fig. 5-c is that the composition structure of the capture device of another kind video segment provided in an embodiment of the present invention is shown It is intended to;
Fig. 5-d is that the composition structure of the capture device of another kind video segment provided in an embodiment of the present invention is shown It is intended to;
Fig. 5-e is that the composition structure of the capture device of another kind video segment provided in an embodiment of the present invention is shown It is intended to;
Fig. 5-f is that the composition structure of the capture device of another kind video segment provided in an embodiment of the present invention is shown It is intended to;
Fig. 6 is that the intercept method of video segment provided in an embodiment of the present invention is applied to the composition structure of terminal Schematic diagram.
Specific embodiment
Embodiments provide a kind of intercept method of video segment and device, for improving piece of video The treatment effeciency that section intercepts.
For enabling the goal of the invention of the present invention, feature, advantage more obvious and understandable, below will In conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Ground describes it is clear that the embodiments described below are only a part of embodiment of the present invention, and not all Embodiment.Based on the embodiment in the present invention, the every other enforcement that those skilled in the art is obtained Example, broadly falls into the scope of protection of the invention.
Term " comprising " and " having " in description and claims of this specification and above-mentioned accompanying drawing And their any deformation is it is intended that cover non-exclusive comprising, to comprise a series of units Process, method, system, product or equipment are not necessarily limited to those units, but may include not clearly Listing or for these processes, method, product or the intrinsic other units of equipment.
It is described in detail individually below.
One embodiment of the intercept method of video segment of the present invention, specifically can apply to video playback Need in terminal, in the scene intercept video segment, to refer to shown in Fig. 1, one embodiment of the invention carries For video segment intercept method, may include steps of:
101st, receive user is instructed by the video intercepting that currently playing terminal sends.
Wherein, video intercepting instruction includes:Intercept sart point in time and intercept end time point, Yong Hu The video intercepting region delimited in the broadcast interface of currently playing terminal and the intended applications of user's selection.
In embodiments of the present invention, user operate terminal carry out video playback when, user is watching very During the video of thanks interest, user can operate the intercepting video button in terminal, thus triggering terminal is held The intercepting of row video segment, for example, in the Touch screen of terminal display one intercepting video button, when with When family needs to intercept video, the intercepting video button on user's point touching screen, user sends to terminal The instruction of one video intercepting, the instruction of this video intercepting includes the intercepting sart point in time of user's needs, when with When family needs not continue to intercept video, user can again tap on the intercepting video button in Touch screen, User can send a video intercepting instruction to terminal again, and the instruction of this video intercepting includes user's needs Intercept end time point.Do not limit, in embodiments of the present invention, user directly can determine needs The video duration intercepting, then user can be to one video intercepting instruction of terminal transmission, in this video intercepting Instruction includes intercepting sart point in time, intercepts end time point, and which time point is terminal can determine from Start to intercept video, and the video of this intercepting how long section, by intercepting sart point in time and intercepting End time point can determine the video duration needing to intercept.
In addition, in embodiments of the present invention, when user needs the portion of the broadcast interface to currently playing terminal Split screen region is intercepted, without intercept whole broadcast interface video pictures when, user equipment A video intercepting region can be delimited in the broadcast interface of currently playing terminal, then cut in this video The picture beyond region is taken not intercept, now user equipment can also carry use in video intercepting instruction The video intercepting region that family delimited from broadcast interface.In addition, user instructed by video intercepting acceptable Selection target purposes, is truncated to video segment with instruction terminal and can export according to specific intended applications and regard Frequency fragment, such as user by the video segment being truncated to achieve, or achieve after share QQ space or In person's wechat, intended applications specify the special-purpose that user needs the video segment of output, the then present invention The video segment that middle video intercepting obtains can meet the requirement to above-mentioned intended applications for the user.
In some embodiments of the invention, user is sent to the video intercepting instruction of terminal except including cutting Take sart point in time, intercept the mesh that end time point, the video intercepting region of user's delimitation and user select Outside mark purposes, can also include user needs the other information of instruction terminal, and for example, user can refer to Show that terminal should export and meet the video segment what video parameter requires, can also enter in the present invention The video segment to intercepting output of one step to export corresponding piece of video according to the video parameter that user requires Section, such that it is able to meet user to the more requirements intercepting video.
Specifically, in some embodiments of the invention, video intercepting instruction can also specifically include user The destination file format selecting, that is, user video parameter can be exported as destination file format with instruction terminal Video segment, wherein, file format refers to the form of the file of video file itself, can be for example MP4, Mkv etc., destination file format specifies user needs the particular file format of output, then regard in the present invention Frequently intercept the video segment obtaining and can meet the requirement to above-mentioned destination file format for the user.
In some embodiments of the invention, video intercepting instruction can also specifically include the mesh of user's selection Mark resolution ratio, that is, user can be with the instruction terminal output video segment as target resolution for the video parameter, its In, resolution ratio refers to the setting of display how much information of video file, generally wide and high with 16 multiples is all Step units, can be for example i.e. 16 × n (n=1,2,3 ... .), such as 176 × 144,352 × 288 etc., Target resolution specifies user needs the specified resolution of output, then video intercepting obtains in the present invention Video segment can meet the requirement to above-mentioned target resolution for the user.
In some embodiments of the invention, video intercepting instruction can also specifically include the mesh of user's selection Mark video format, that is, user can export video parameter for the video segment of target video form with instruction terminal, Wherein, video format refers to the encoding video content form of video file, for example, can be H264 etc., mesh Mark video format specifies user needs the particular video formats of output, then in the present invention, video intercepting obtains Video segment can meet the requirement to above-mentioned target video form for the user.
In some embodiments of the invention, video intercepting instruction can also specifically include the mesh of user's selection Mark video quality, that is, user can export the video segment as objective video quality for the video parameter with instruction terminal, Wherein, video quality refers to the transmission of video class requirement of video file, can characterize answering of video format Miscellaneous degree, for example, be divided into 3 grades or 5 grades by video quality, and user can select the mesh needing Mark video quality is level III, and objective video quality specifies user needs particular video frequency quality of output etc. Level, then the video segment that in the present invention, video intercepting obtains can meet user to above-mentioned objective video quality Requirement.It should be noted that video quality can also include other parameters of video in the present invention, Illustrate, video quality can be used to indicate that the picture group (gop, group of picture) of video is middle and closes Number of frames between key frame, video quality can be used to indicate that quantization parameter (qp, the quantization of video Parameter, can determine compression rates and the precision of images of quantizer, and video quality can be also used for table Show the configuration of video, for example, comprise the main setting index such as baseline, main, high.
In some embodiments of the invention, video intercepting instruction can also specifically include the mesh of user's selection Mark video frame rate, that is, user can export video parameter for the video segment of target video frame per second with instruction terminal, Wherein, video frame rate refers to the video playback speed of video file, represents that each second plays how many frame pictures, Such as video frame rate can be 30fps, and it is 20fps that user can select the target video frame per second needing, mesh Mark video frame rate specifies user needs the particular video frequency frame per second of output, then in the present invention, video intercepting obtains Video segment can meet the requirement to above-mentioned target video frame per second for the user.
In some embodiments of the invention, video intercepting instruction can also specifically include the mesh of user's selection Mark purposes, that is, user can be with the video segment of instruction terminal output special-purpose, and wherein, intended applications are Refer to video file be intercepted after output pathway, can be for example history file or achieve after share, mesh Mark purposes specifies the special-purpose that user needs the video segment of output, then in the present invention, video intercepting obtains To video segment can meet the requirement to above-mentioned intended applications for the user.
It should be noted that the video intercepting instruction in foregoing teachings, terminal in the present invention being received includes Various video parameters be described in detail it is to be understood that in the present invention video intercepting instruction in One or more above-mentioned video parameters can also be included, specifically need user to select which kind of or which Plant video parameter, specifically can be determined with connected applications scene.
102nd, from the beginning of reproduction time is to intercept sart point in time, obtained and current according to video intercepting instruction Decoded video data corresponding with video intercepting region in the video file play, until when playing Between for intercept end time point till, stop obtain and the video file being currently played in cut with video Take region corresponding decoded video data.
In embodiments of the present invention, the video intercepting that terminal receives including intercepting sart point in time instructs it Afterwards, in the view screen of terminal-pair terminal, currently playing video file is monitored, when getting broadcasting Between progress, when reproduction time reach intercepting sart point in time when, the reproduction time being currently played is For intercepting sart point in time, light from this intercepting time started, terminal gets in real time with currently Play video file in decoded video data corresponding with video intercepting region, and in the present invention from Intercept sart point in time start terminal need in the video file obtaining always and being currently played with video Intercept region corresponding decoded video data, be not received by comprising the video of intercepting end time point Obtain decoded video data before intercepting instruction will not stop.
Wherein, the process of video playback is exactly that video file is decoded as the process that initial data shows again, To intercept sart point in time for mark, obtain the video file being currently played, due to video file quilt Become decoded video data, according to right before and after decoding after software decoder or hardware decoder decoding Should be related to, corresponding decoded video data can be found by the video file correspondence being currently played, Decoded video data is typically a kind of raw data format, by Y (brightness), U (colourity), V (colourity) three Individual component composition, is generally used for field of video compression, conventional is that decoded video data can be YUV420.For example, the time shaft of reproduction time shows that playing is 4 points of video files of 20 seconds, If the intercepting sart point in time carrying in the instruction of video intercepting that terminal receives be 4 points 22 seconds, currently When the time shaft of reproduction time goes to 4 points and 22 seconds, obtain the video file that this moment playing corresponding Decoded video data, and from 4 points from the beginning of 22 seconds, terminal needs to obtain always and is currently played Decoded video data corresponding with video intercepting region in video file.
In embodiments of the present invention, terminal is receiving the video intercepting instruction comprising to intercept sart point in time Afterwards, the process obtaining decoded video data, from the beginning of intercepting sart point in time, is being not reaching to intercept During the reproduction time of end time point, terminal needs to continuously carry out the process obtaining decoded video data. When terminal receive comprise intercept end time point after, the time shaft of terminal monitoring reproduction time, at that time When countershaft goes to intercepting end time point, terminal no longer obtain and the video file that is currently played in Video intercepting region corresponding decoded video data.It is understood that terminal obtains in the present invention To decoded video data identical with before and after the playing sequence of video file in playback terminal.
In some embodiments of the invention, step 102 obtains with currently according to video intercepting instruction Play video file in decoded video data corresponding with video intercepting region, specifically can include as Lower step:
Deviation post between A1, calculating video intercepting region and the broadcast interface of currently playing terminal;
The deviation post that A2, basis calculate, determines video intercepting region and the video being currently played The coordinate mapping relations of the video image in file;
A3, read from the frame buffer of currently playing terminal and video intercepting area according to coordinate mapping relations Domain corresponding decoded video data.
Wherein, the display screen of currently playing terminal can be arranged a video intercepting frame, user is permissible Drag video intercepting frame it is possible to video intercepting frame is carried out with size, length, wide high adjustment scaling, Terminal gets, to the adjustment situation of video intercepting frame, the video that user delimit in broadcast interface according to user Intercept region, thus terminal can determine user and needs which partly or completely regards in broadcast interface Frequency picture is intercepted.Refer to as shown in Fig. 2 for the obtaining of video intercepting region in the embodiment of the present invention Take schematic diagram, in Fig. 2, region A is the full screen region of terminal, and region B to region C is Video playback area, region B is broadcast interface, the video intercepting region that region C delimit for user.When So, the position of region C and area size can be pulled video intercepting frame to adjust by user.
After determining the video intercepting region that user delimit, execution step A1, terminal calculates video intercepting area Deviation post between the broadcast interface of domain and currently playing terminal is that is to say, that the broadcast interface of terminal For rectangle frame, video intercepting region is rectangle frame, needs to calculate four corner phases in video intercepting region For the deviation post at four angles of the broadcast interface of currently playing terminal, thus being assured that out video Intercept the deviation post between region and the broadcast interface of currently playing terminal.As shown in Fig. 2 video is civilian When part is play on the display screen, can be full screen play, as shown in region A in Fig. 2 it is also possible to It is non-full screen region, as shown in the region B in Fig. 2.Can also be that region B is any to region A One region.No matter being in what region, user can mark in video playback area one square Region, is used as the video intercepting region wanting to intercept, can be calculated according to location of pixels relation and draw Determine the deviation post that region is with respect to four angles of video playback area.
After getting the deviation post that video intercepting region is with respect to video playback interface, execution step A2, According to the deviation post calculating, determine video intercepting region with the video file being currently played in The coordinate mapping relations of video image.The video intercepting region calculating in step A1 is broadcast with respect to video Put the deviation post at interface, and between video playback interface and original video image, also there is scaling relation, It is possible to video playback interface identical with original video image, then be exactly one to one equal proportion, It is also possible to user when operating terminal, original video image to be zoomed in or out, be shown as working as Front video playback interface, then be accomplished by the video intercepting calculating region with respect to video playback circle The deviation post in face is remapped, with the video literary composition obtaining video intercepting region be currently played The coordinate mapping relations of the video image in part.For example as shown in Fig. 2 sitting for original video image Mark mapping, because region B to region C is uncertain, that is, the size of video playback area is regarded with original Frequency image not of uniform size fixed equal, so in addition it is also necessary to calculate after completing above-mentioned deviation post Coordinate mapping relations in original video image for this deviation post.
In some embodiments of the invention, step A3 according to coordinate mapping relations from currently playing terminal Decoded video data corresponding with video intercepting region is read in frame buffer.Wherein, currently playing end In end just in playing video file, video file pass through software decoder or hardware decoder incited somebody to action Video file is decoded as decoded video data, and terminal reads decoded video data from frame buffer, so Terminal will be shown as broadcast interface in the decoded video reading data output to display screen afterwards, this Can be obtained in real time when intercepting beginning by means of the decoded video data preserving in frame buffer in bright Between point start, the video file that each reproduction time is being play corresponding decoded video data, obtain To after the video file play corresponding decoded video data, carried out according to coordinate mapping relations Transformation of scale, gets decoded video data corresponding with video intercepting region, and in broadcast interface Decoded video data beyond video intercepting region is not within the scope of the decoded video obtaining.
It should be noted that in some embodiments of the invention, what terminal acquisition was currently played regards In frequency file, decoded video data corresponding with video intercepting region can also have other implementations, For example get the corresponding source file of the video file being currently played first, then source file is carried out Again decode, decoded video data can be generated, carry out transformation of scale according to coordinate mapping relations, obtain Get decoded video data corresponding with video intercepting region, can also get in such a manner Decoded video data.
In some embodiments of the invention, if the target that video intercepting instruction also includes user's selection is differentiated Rate, step 103, from the beginning of intercepting end time point, instructs to the decoding getting according to video intercepting Before video data carries out file format coding, the intercept method of the video segment that the present invention provides is acceptable Comprise the steps:
The former resolution of video image in the corresponding video file of decoded video data that B1, judgement get Whether rate is identical with target resolution;
If the former resolution ratio of B2 and target resolution differ, the decoded video data getting is corresponded to Video file in the resolution ratio of video image changed, obtain comprising getting of target resolution Decoded video data.
Wherein, after step 102 gets decoded video data, if the video that terminal receives cuts Target resolution is also included, then explanation user needs to specify the resolution of the video segment being truncated in instruction fetch Rate, terminal can get the former resolution ratio of video image first from the File header information of video file, In video file, the former resolution ratio of video image is that the video file play in the display screen of terminal is played When the resolution ratio that shows, if user needs to the former resolution ratio of video image in video file to adjust, terminal Display screen on can with display resolution adjust menu, be specified the video segment being truncated to by user Resolution ratio (target resolution carrying in video intercepting instruction), obtains video image in video file After former resolution ratio, judge whether target resolution is identical with former resolution ratio, if target resolution and former point Resolution is identical, then need not carry out the conversion of resolution ratio again, if target resolution and former resolution ratio differ, Then need resolution ratio is changed, specifically, third party library (such as ffmpeg) can be called real The conversion of existing resolution ratio, obtains the decoded video data getting comprising target resolution, then subsequently Carry out file format coding in step 103 is exactly described herein to comprise getting of target resolution Decoded video data, the decoded video data getting described in step 103 specially comprises mesh The decoded video data getting of mark resolution ratio.
In some embodiments of the invention, if the target that video intercepting instruction also includes user's selection is differentiated Rate, under the aforementioned application scenarios performing step A1 to A3, step 103 is from intercepting end time point Start, before file format coding is carried out to the decoded video data getting according to video intercepting instruction, The intercept method of the video segment that the present invention provides can also comprise the steps:
C1, regard using coordinate mapping relations with the corresponding video file of decoded video data that gets The former resolution ratio of frequency image calculates resolution ratio mapping value;
C2, judge whether resolution ratio mapping value is identical with target resolution;
If C3 resolution ratio mapping value is differed with target resolution, to the decoded video data getting In corresponding video file, video image zooms in and out process, and the decoding getting after being scaled regards Frequency evidence.
Wherein, after step 102 gets decoded video data, if the video that terminal receives cuts Target resolution is also included, then explanation user needs to specify the resolution of the video segment being truncated in instruction fetch Rate, terminal can get the former resolution ratio of video image first from the File header information of video file, In video file, the former resolution ratio of video image is that the video file play in the display screen of terminal is played When the resolution ratio that shows, if user needs to the former resolution ratio of video image in video file to adjust, terminal Display screen on can with display resolution adjust menu, be specified the video segment being truncated to by user Resolution ratio (target resolution carrying in video intercepting instruction), obtains video image in video file After former resolution ratio, in conjunction with the application scenarios of aforementioned execution step A1 to A3, user is to original video figure As being adjusted, then can generate coordinate mapping relations, i.e. video according to above-mentioned steps A1 to A3 Intercept the coordinate mapping relations of the video image in region and the video file being currently played, in conjunction with this Coordinate mapping relations and former resolution ratio calculate resolution ratio mapping value, then judge target resolution and resolution Whether rate mapping value is identical, if target resolution is identical with resolution ratio mapping value, need not be to video file Middle video image zooms in and out, if target resolution and resolution ratio mapping value differ, needs to video In file, video image zooms in and out, and specifically, third party library (such as ffmpeg) can be called real The scaling of existing video image is processed, and the decoded video data getting after being scaled then subsequently walks Carry out file format coding in rapid 103 be exactly described herein scaling after the decoded video getting Data, the decoded video data that gets described in step 103 is specially getting after scaling Decoded video data.
In some embodiments of the invention, if video intercepting instruction also includes the target video of user's selection Form, step 103, from the beginning of intercepting end time point, instructs to the solution getting according to video intercepting Before code video data carries out file format coding, the intercept method of the video segment that the present invention provides also may be used To comprise the steps:
The former video format of the corresponding video file of decoded video data and target that D1, judgement get Whether video format is identical;
If the former video format of D2 and target video form differ, to the decoded video data getting The video format of corresponding video file is changed, and obtains comprising getting of target video form Decoding video data.
Wherein, after step 102 gets decoded video data, if the video that terminal receives cuts Target video form is also included, then explanation user needs to specify regarding of the video segment being truncated in instruction fetch Frequency form, terminal can get the former video of video image first from the File header information of video file Form, in video file, the former video format of video image is the video literary composition play in the display screen of terminal Video format when part is played, if user needs to the former video format of video image in video file to adjust Whole, the display screen of terminal can show video format adjustment menu, to be specified by user and to be truncated to The video format (the target video form carrying in video intercepting instruction) of video segment, obtains video literary composition After the former video format of video image in part, judge whether target video form is identical with former video format, The conversion of video format if target video form is identical with former video format, need not be carried out again, if target Video format and former video format differ, then need video format is changed, specifically, permissible Call third party library (such as ffmpeg) to realize the conversion of video format, obtain comprising target video lattice The decoded video data getting of formula, then carry out file format coding in subsequent step 103 is exactly The decoded video data getting comprising target video form described herein, i.e. institute in step 103 State the decoded video getting that the decoded video data getting specially comprises target video form Data.
In some embodiments of the invention, if video intercepting instruction also includes the target video of user's selection Quality, step 103, from the beginning of intercepting end time point, instructs to the solution getting according to video intercepting Before code video data carries out file format coding, the intercept method of the video segment that the present invention provides also may be used To comprise the steps:
The former video quality of the corresponding video file of decoded video data and target that E1, judgement get Whether video quality is identical;
If the former video quality of E2 and objective video quality differ, to the decoded video data getting The video quality of corresponding video file is adjusted, and obtains comprising getting of objective video quality Decoding video data.
Wherein, after step 102 gets decoded video data, if the video that terminal receives cuts Objective video quality is also included, then explanation user needs to specify regarding of the video segment being truncated in instruction fetch Frequency quality, terminal can get the former video of video image first from the File header information of video file Quality, in video file, the former video quality of video image is the video literary composition play in the display screen of terminal The video quality that part shows when being played, if user needs to the former video quality of video image in video file Adjust, the display screen of terminal can show video quality adjustment menu, to be specified intercepting by user To video segment video quality (i.e. the objective video quality that carries in video intercepting instruction), depending on After the former video quality of video image in frequency file, judge whether are objective video quality and former video quality Identical, the adjustment of video quality if objective video quality is identical with former video quality, need not be carried out again, For example, if video quality specifically represents the number of frames in the picture group of video between key frame, video quality Represent the quantization parameter of video, video quality represents the configuration of video, if objective video quality and former video Identical in quality, then above-mentioned video parameter is all identical.If objective video quality and former video quality differ, Then need video quality is adjusted, specifically, third party library (such as ffmpeg) can be called Realize the conversion of video quality, obtain the decoded video data getting comprising objective video quality, Then carry out file format coding in subsequent step 103 is exactly described herein to comprise objective video quality The decoded video data getting, the decoded video data getting described in step 103 is concrete For comprising the decoded video data getting of objective video quality.
In some embodiments of the invention, if video intercepting instruction also includes the target video of user's selection Frame per second, step 103, from the beginning of intercepting end time point, instructs to the solution getting according to video intercepting Before code video data carries out file format coding, the intercept method of the video segment that the present invention provides also may be used To comprise the steps:
The former video frame rate of the corresponding video file of decoded video data and target that F1, judgement get Whether video frame rate is identical;
If the former video frame rate of F2 and target video frame per second differ, to the decoded video data getting The video frame rate of corresponding video file is changed, and obtains comprising getting of target video frame per second Decoding video data.
Wherein, after step 102 gets decoded video data, if the video that terminal receives cuts Target video frame per second is also included, then explanation user needs to specify regarding of the video segment being truncated in instruction fetch Frequency frame per second, terminal can get the former video of video image first from the File header information of video file Frame per second, in video file, the former video frame rate of video image is the video literary composition play in the display screen of terminal The video frame rate that part shows when being played, if user needs to the former video frame rate of video image in video file Adjust, the display screen of terminal can adjust menu with frame of display video rate, to be specified intercepting by user To video segment video frame rate (i.e. the target video frame per second that carries in video intercepting instruction), depending on After the former video frame rate of video image in frequency file, judge whether are target video frame per second and former video frame rate Identical, the conversion of video frame rate if target video frame per second is identical with former video frame rate, need not be carried out again, If target video frame per second and former video frame rate differ, need video frame rate is changed, specifically, Third party library (such as ffmpeg) can be called to realize the conversion of video frame rate, obtain comprising target regarding The decoded video data getting of frequency frame per second, then carry out file format coding in subsequent step 103 The decoded video data getting comprising target video frame per second exactly described herein, i.e. step 103 Described in the decoded video data that gets specially comprise the decoding getting of target video frame per second Video data.
103rd, from the beginning of intercepting end time point, instructed to the decoded video getting according to video intercepting Data carries out file format coding, generates the video segment intercepting out from video file.
In inventive embodiments, get in abovementioned steps 102 from intercepting sart point in time until intercepting Multiple decoded video data of end time point, when intercepting the arrival of end time point, terminal stops obtaining Take decoded video data, then can be from the beginning of intercepting end time point, terminal has got needs and has cut The video file corresponding decoded video data taking, next enters to the decoded video data getting Row packing encapsulation, makes the decoded video data getting by step 102 be packaged as the form of file, File format coding can be carried out to the decoded video data getting, thus can get user's needs The video segment intercepting, the video segment of generation is that the video file play from the broadcast interface of terminal obtains Arrive.
In some embodiments of the invention, if video intercepting instruction also includes the file destination of user's selection Form, then step 103 from the beginning of intercepting end time point, according to video intercepting instruction to getting Decoding video data carries out file format coding, specifically may include steps of:
G1, using file synthesis device by the decoded video getting data encoding be meet file destination lattice The video segment of formula, and carry File header information in video segment, File header information includes:Piece of video The attribute information of section.
Wherein, after step 102 gets decoded video data, if the video that terminal receives cuts Destination file format is also included, then explanation user needs to specify the literary composition of the video segment being truncated in instruction fetch Part form, after execution step 102 gets decoded video data, specifically can use file synthesis The decoded video getting data encoding is the video segment meeting destination file format by device, specifically, Third party library (such as ffmpeg) can be called to realize the conversion of file format, be met target literary composition The video segment of part form, is believed using carrying file header in the video segment generating during file synthesis device Breath, carry in File header information is the basic feature information of video segment, and such as File header information includes: The attribute information of video segment.
104th, according to intended applications, video segment is exported.
In embodiments of the present invention, video intercepting instruction also includes the intended applications of user's selection, then step 103 from the beginning of intercepting end time point, according to video intercepting instruction, the decoded video data getting is entered Style of writing part said shank, after generating the video segment that intercepts out from video file in addition it is also necessary to according to The selection at family exporting the video segment being truncated to, thus terminal can solve the need to video intercepting for the user Ask.
That is, after in the present invention, terminal intercepts out video segment from video file, can also be by According to user need video segment is exported in specific purpose purposes, such as user is by regarding of being truncated to Frequency fragment achieves, or shares in QQ space or wechat after archive, and intended applications specify user Need the special-purpose of the video segment of output, then the video segment that in the present invention, video intercepting obtains is permissible Meet the requirement to above-mentioned intended applications for the user.
By the description to the embodiment of the present invention for the above example, receive video intercepting instruction first, Video intercepting instruction includes:Intercept sart point in time, intercept end time point, then from reproduction time be Intercept sart point in time to start, in the video file being obtained according to video intercepting instruction and being currently played Decoded video data corresponding with video intercepting region, until reproduction time is to intercept end time point to be Only, stop decoding corresponding with video intercepting region with the video file being currently played of acquisition to regard Frequency evidence, from the beginning of intercepting end time point, instructs to the decoded video getting according to video intercepting Data carries out file format coding, generates the video segment intercepting out from above-mentioned video file.The present invention After broadcast interface in middle terminal commences play out video file, when reproduction time reaches intercepting sart point in time Afterwards, can obtain and corresponding with video intercepting region with the video file being currently played decode Video data, is intercepting before end time point is also not up to it is still necessary to continuing to obtain and currently broadcasting Decoded video data corresponding with video intercepting region in the video file put, instructs according to video intercepting Multiple decoded video data can be got, after intercepting end time point and reaching, cut according to video Instruction fetch carries out file format coding to the decoded video data getting, such that it is able to generate from video The video segment intercepting out in file.It is corresponding by obtaining the video file play in the present invention Decoded video data, the mode then carrying out file format coding to decoded video data again is needed Video segment to be intercepted, rather than obtain video segment by capturing the video image of multiple and combining, Even if needing in the present invention to intercept the big video segment of time span it is only necessary to be intercepted by user setup Time point and intercepting end time point, the intercepting process efficiency of video segment is also very high.
For ease of being better understood from and implementing the such scheme of the embodiment of the present invention, illustrate below and accordingly should It is specifically described with scene.
So that user is using QQ browser viewing video as a example illustrated, user runs into the video liked and draws Face, can select to intercept whole video pictures fragment or partial video picture segments, be made as without sound The video segment of frequency, is saved in local or is shared with good friend.Refer to as shown in figure 3, being the present invention The intercepting schematic flow sheet of middle video segment.
S1, video intercepting region deviation post calculate
When video file is play on the display screen of terminal, can be that full screen is play, in Fig. 2 Shown in the A of region, can be non-full screen region, as shown in the region B in Fig. 2.It can also be region Any one region of B to region A.No matter being in what region, user can be in video playback area Mark a square region in domain, be used as wanting the video intercepting region intercepting it is necessary first to calculate Go out the deviation post that defined area is with respect to four angles of video playback area.
S2, the coordinate mapping of raw video image
Because region B to region C is uncertain, i.e. the size of video playback area and original video Image is not of uniform size fixed equal, so after completing above-mentioned deviation post, needing to calculate this skew Coordinate mapping relations in original video image for the position.
After the completion of S1 and S2, carry out the menu setecting of following P1, P2, P3, on the display screen of terminal Need to provide a menu and allow user's selection, specifically, including following menu:
P1, purposes selects:Determine that the video segment that is truncated to is only history file or share after achieving.
P2, configuration selects:Resolution ratio, video format, video quality, file format, video frame rate, Video intercepting duration (intercepts sart point in time, intercepts end time point).
P3, model selection:Determine that needs intercept out single video segment or multiple video segment.
S3, the process of decoded video data
When user carries out the operation of S1 defined area, acquiescence is from current point in time start to process.Video playback Process it is simply that video file is decoded as with the process that initial data shows again, usual initial data is YUV420 form.Start synthetic video fragment from initial data, decoding source file can be saved again Link, can more save the processor resource of terminal it is also possible to save the electricity of terminal.
As shown in figure 4, being the handling process schematic diagram of decoded video data provided in an embodiment of the present invention, Wherein, the description that this process specifically may include steps of:
Step m1, obtains the target resolution that user selects, target video form from video intercepting instruction And objective video quality, destination file format, target video frame per second, the video length of intercepting.According to tool The configuring condition of body is different, is divided into following two different processing procedures, such as Q1 and Q2, next divides Do not illustrate.
Q1, when meeting following condition:Target resolution is identical with former resolution ratio, target video frame per second with former Frame per second is identical, and target video form is identical with former video format, and (i.e. subject encoder and former decoder adopt Identical compresses video protocols), objective video quality is identical with former video quality.When meeting these conditions, Q1 judging process can be selected, style of writing is entered to the decoded video data getting according to video intercepting instruction Part said shank, generates the video segment intercepting out from video file, and this process is equivalent to copy mode. Decompressed video file is not needed during Q1, and only will be new for decoded video data Reseal one File format.
Specifically, the flow process under Q1 process is:
Step m3, according to destination file format, opens file synthesis device, and generates File header information, File header information contains some essential characteristics of video segment, the attribute of such as video segment, employing Video code model.
Step m7, calls file synthesis device, and encoded video data is carried out file format volume according to rule Code, obtains video segment, if rule here refers to that the destination file format that user selects is mp4 literary composition Part, that finally encodes the video segment obtaining should be just according to mp4 file, the organizational form of video to be given birth to Become video segment.
Q2:It is not content with any one condition of Q1, at least meet a kind of condition as follows:Target is divided Resolution is differed with former resolution ratio, and target video frame per second is differed with former frame per second, target video form with former Video format differs (i.e. subject encoder and former decoder are using the compression video protocols differing), mesh Mark video quality is differed with former video quality, executes Q2 judging process.
Specifically, the flow process under Q2 process is:
Step m2, the video format encoding as needed, open encoder.
Step m3, according to file format, opens file synthesis device, and generates File header information.
Step m4, from the decoding link of currently playing process, obtains decoded video data.
Step m5, according to the information obtaining in m1 step, it is determined whether zooms in and out process, for example, uses Video intercepting region delimited at family, and video intercepting region current player scope is compared, and obtain a ratio Example relation, combines original resolution with this proportionate relationship, is calculated a size, if this chi Very little differ with target resolution, then need to zoom in and out and process so that the resolution ratio of output video segment Meet the requirements.If do not needed, process need not be scaled.
Step m6, calls encoder, is that encoded video data carries out video lattice according to target video form The coding of formula.
Step m7, calls file synthesis device, and encoded video data is compiled according to destination file format Code, generates video segment.
It should be noted that to the flow process of encoded video data process and broadcasting of video file in the present invention Letting slip journey synchronous, if synthesizing multiple video segments, then repeating above Q1 or Q2 process.
S4, the output of video segment
After video segment synthesizes, user can be pointed out success.According to the selection mode of P1, if achieving, Third-party application can be called to open video file folder.If sharing, then third-party application is called to carry out point Enjoy, can be, but not limited to wechat, the mode such as QQ.
It should be noted that for aforesaid each method embodiment, in order to be briefly described, therefore by its all table State as a series of combination of actions, but those skilled in the art should know, the present invention is not retouched The restriction of the sequence of movement stated because according to the present invention, some steps can using other orders or Carry out simultaneously.Secondly, those skilled in the art also should know, embodiment described in this description Belong to preferred embodiment, necessary to involved action and the module not necessarily present invention.
For ease of the more preferable such scheme implementing the embodiment of the present invention, it is also provided below for implementing State the relevant apparatus of scheme.
Refer to shown in Fig. 5-a, a kind of capture device 500 of video segment provided in an embodiment of the present invention, Can include:Receiver module 501, video data acquisition module 502, document No. module 503, video Fragment output module 504, wherein,
Receiver module 501, is instructed by the video intercepting that currently playing terminal sends for receive user, institute State video intercepting instruction to include:What described user determined needs to intercept the intercepting sart point in time of video and cuts Take the video intercepting that end time point, described user delimit in the broadcast interface of described currently playing terminal Region and the intended applications of described user selection;
Video data acquisition module 502, from the beginning of being described intercepting sart point in time from reproduction time, root Obtain corresponding with video intercepting region with the video file being currently played according to the instruction of described video intercepting Decoded video data, until reproduction time be described intercepting end time point till, stop obtain with Decoded video data corresponding with video intercepting region in the video file being currently played;
Document No. module 503, for from the beginning of described intercepting end time point, according to described video intercepting Instruction carries out file format coding to the decoded video data getting, and generates from described video file The video segment intercepting out.
Video segment output module 504, for described document No. module 503 from the described intercepting end time Point starts, and carries out file format volume according to the instruction of described video intercepting to the decoded video data getting Code, after generating the video segment intercepting out from described video file, regards described according to intended applications Frequency fragment exports.
In some embodiments of the invention, refer to as shown in Fig. 5-b, described video data acquisition module 502, including:
Position calculation unit 5021, for calculating described video intercepting region and described currently playing terminal Deviation post between broadcast interface;
Mapping relations determining unit 5022, for according to the described deviation post that calculates, regarding described in determination Frequency intercepts the coordinate mapping relations of the video image in region and the video file being currently played;
Video data reading unit 5023, for according to described coordinate mapping relations from described currently playing end Decoded video data corresponding with described video intercepting region is read in the frame buffer at end.
In some embodiments of the invention, if the instruction of described video intercepting also includes the target of user's selection File format, described document No. module 503, for being regarded the decoding getting using file synthesis device Frequency evidence is encoded to the video segment meeting described destination file format, and carries in described video segment File header information, described File header information includes:The attribute information of described video segment.
In some embodiments of the invention, refer to as shown in Fig. 5-c, if the instruction of described video intercepting is also The target resolution selecting including user, the capture device 500 of described video segment also includes:Resolution ratio Coordination module 505, for described document No. module 503 from the beginning of described intercepting end time point, according to Before described video intercepting instruction carries out file format coding to the decoded video data getting, judge In the described corresponding video file of decoded video data getting the former resolution ratio of video image with described Whether target resolution is identical;If described former resolution ratio and described target resolution differ, obtain to described In the corresponding video file of decoded video data got, the resolution ratio of video image is changed, and obtains Comprise the decoded video data getting described in described target resolution.
In some embodiments of the invention, if the instruction of described video intercepting also includes the target of user's selection Resolution ratio, the capture device 500 of described video segment, also include:Resolution ratio Coordination module 505, is used for Described document No. module from the beginning of described intercepting end time point, according to the instruction of described video intercepting to obtaining Before the decoded video data got carries out file format coding, using described coordinate mapping relations and institute The former resolution ratio stating video image in the corresponding video file of decoded video data getting calculates point Resolution mapping value;Judge whether described resolution ratio mapping value is identical with described target resolution;If described point Resolution mapping value is differed with described target resolution, and the described decoded video data getting is corresponded to Video file in video image zoom in and out process, the decoding getting described in after being scaled regards Frequency evidence.
In some embodiments of the invention, refer to as shown in Fig. 5-d, if the instruction of described video intercepting is also The target video form selecting including user, the capture device 500 of described video segment also includes:Video Form Coordination module 506, for described document No. module 503 from the beginning of described intercepting end time point, Before file format coding is carried out to the decoded video data getting according to the instruction of described video intercepting, The former video format of the corresponding video file of decoded video data getting described in judgement and described target Whether video format is identical;If described former video format and described target video form differ, to described The video format of the corresponding video file of decoded video data getting is changed, and obtains comprising institute State the decoded video data getting described in target video form.
In some embodiments of the invention, refer to as shown in Fig. 5-e, if the instruction of described video intercepting is also The objective video quality selecting including user, the capture device 500 of described video segment also includes:Video Quality coordination module 507, for described document No. module 503 from the beginning of described intercepting end time point, Before file format coding is carried out to the decoded video data getting according to the instruction of described video intercepting, The former video quality of the corresponding video file of decoded video data getting described in judgement and described target Whether video quality is identical;If described former video quality and described objective video quality differ, to described The video quality of the corresponding video file of decoded video data getting is adjusted, and obtains comprising institute State the decoded video data getting described in objective video quality.
In some embodiments of the invention, refer to as shown in Fig. 5-f, if the instruction of described video intercepting is also The target video frame per second selecting including user, the capture device 500 of described video segment also includes:Video Frame per second Coordination module 508, for described document No. module from the beginning of described intercepting end time point, according to Before described video intercepting instruction carries out file format coding to the decoded video data getting, judge The described former video frame rate of the corresponding video file of decoded video data getting and described target video Whether frame per second is identical;If described former video frame rate and described target video frame per second differ, to described acquisition To the video frame rate of the corresponding video file of decoded video data changed, obtain comprising described mesh The decoded video data getting described in mark video frame rate.
By the above description to the embodiment of the present invention, user sends video by currently playing terminal When intercepting instruction, receive video intercepting instruction first, in video intercepting instruction, may include the intercepting time started Point and the intended applications intercepting end time point, the video intercepting region of user's delimitation and user's selection, eventually After broadcast interface in end commences play out video file, after reproduction time reaches intercepting sart point in time, Can obtain and decoded video number corresponding with video intercepting region in the video file being currently played According to it is still necessary to continue to obtain and regarding of being currently played before intercepting end time point is also not up to Decoded video data corresponding with video intercepting region in frequency file, can obtain according to video intercepting instruction Get multiple decoded video data, after intercepting end time point and reaching, instructed according to video intercepting File format coding is carried out to the decoded video data getting, such that it is able to generate from video file The video segment intercepting out, the target that can also be selected according to user after generating the video segment being truncated to Purposes exports.It is by obtaining the video file corresponding decoded video data play in the present invention, Then the mode carrying out file format coding to decoded video data again obtains the piece of video of needs intercepting Section, rather than obtain video segment by capturing the video image of multiple and combining, even if needing in the present invention The big video segment of time span to be intercepted is it is only necessary to intercepting sart point in time by user setup and intercepting knot Bundle time point, the intercepting process efficiency of video segment is also very high.
The embodiment of the present invention additionally provides another kind of terminal, as shown in fig. 6, for convenience of description, only shows Go out the part related to the embodiment of the present invention, particular technique details does not disclose, refer to the present invention real Apply a method part.This terminal can be including mobile phone, panel computer, PDA (Personal Digital Assistant, personal digital assistant), POS (Point of Sales, point-of-sale terminal), vehicle-mounted computer etc. appoint Meaning terminal device, so that terminal is as mobile phone as a example:
Fig. 6 is illustrated that the block diagram of the part-structure of the mobile phone related to terminal provided in an embodiment of the present invention. With reference to Fig. 6, mobile phone includes:Radio frequency (Radio Frequency, RF) circuit 610, memory 620, Input block 630, display unit 640, sensor 650, voicefrequency circuit 660, Wireless Fidelity (wireless Fidelity, WiFi) module 670, the part such as processor 680 and power supply 690.People in the art Member, it is appreciated that the handset structure shown in Fig. 6 does not constitute the restriction to mobile phone, can include than figure Show more or less of part, or combine some parts, or different part arrangements.
With reference to Fig. 6, each component parts of mobile phone is specifically introduced:
RF circuit 610 can be used for receiving and sending messages or communication process in, the reception of signal and transmission, especially, After the downlink information of base station is received, process to processor 680;In addition, sending out designing up data Give base station.Generally, RF circuit 610 includes but is not limited to antenna, at least one amplifier, transmitting-receiving letter Machine, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..Additionally, RF circuit 610 can also be communicated with network and other equipment by radio communication.Above-mentioned radio communication is permissible Using arbitrary communication standard or agreement, including but not limited to global system for mobile communications (Global System Of Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), CDMA (Code Division Multiple Access, CDMA), broadband CDMA (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE), Email, Short Message Service (Short Messaging Service, SMS) etc..
Memory 620 can be used for storing software program and module, and processor 680 is stored in by operation The software program of memory 620 and module, thus execute at various function application and the data of mobile phone Reason.Memory 620 can mainly include storing program area and storage data field, and wherein, storing program area can Application program needed for storage program area, at least one function (broadcast by such as sound-playing function, image Playing function etc.) etc.;Storage data field can store according to mobile phone using data (the such as audio frequency being created Data, phone directory etc.) etc..Additionally, memory 620 can include high-speed random access memory, also Can include nonvolatile memory, for example, at least one disk memory, flush memory device or other Volatile solid-state part.
Input block 630 can be used for numeral or the character information of receives input, and produces the use with mobile phone The key signals input that family is arranged and function control is relevant.Specifically, input block 630 may include touch-control Panel 631 and other input equipments 632.Contact panel 631, also referred to as touch-screen, can collect user Thereon or neighbouring touch operation (such as user uses any suitable object or attached such as finger, stylus Part on contact panel 631 or the operation near contact panel 631), and according to formula set in advance Drive corresponding attachment means.Optionally, contact panel 631 may include touch detecting apparatus and touches control Two parts of device processed.Wherein, touch detecting apparatus detect the touch orientation of user, and detect touch operation The signal bringing, transmits a signal to touch controller;Touch controller receives from touch detecting apparatus Touch information, and it is converted into contact coordinate, then give processor 680, and can receiving processor 680 The order sent simultaneously is executed.Furthermore, it is possible to using resistance-type, condenser type, infrared ray and surface The polytypes such as sound wave realize contact panel 631.Except contact panel 631, input block 630 is acceptable Including other input equipments 632.Specifically, other input equipments 632 can include but is not limited to secondary or physical bond In disk, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc. One or more.
Display unit 640 can be used for showing by the information of user input or the information and the hand that are supplied to user The various menus of machine.Display unit 640 may include display floater 641, optionally, can adopt liquid crystal Show device (Liquid Crystal Display, LCD), Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) etc. form configuring display floater 641.Further, contact panel 631 can cover Display floater 641, when contact panel 631 detects thereon or after neighbouring touch operation, sends place to Reason device 680, to determine the type of touch event, is showing according to the type of touch event with preprocessor 680 Show and corresponding visual output is provided on panel 641.Although in figure 6, contact panel 631 and display surface Plate 641 is input and the input function to realize mobile phone as two independent parts, but in some realities Apply in example, can contact panel 631 is integrated with display floater 641 and input and the output of realizing mobile phone Function.
Mobile phone may also include at least one sensor 650, such as optical sensor, motion sensor and other Sensor.Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, environment Optical sensor can adjust the brightness of display floater 641 according to the light and shade of ambient light, and proximity transducer can When mobile phone moves in one's ear, close display floater 641 and/or backlight.As one kind of motion sensor, Accelerometer sensor can detect the size of (generally three axles) acceleration in all directions, can examine when static Measure size and the direction of gravity, can be used for identifying application (such as horizontal/vertical screen switching, the phase of mobile phone attitude Close game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Extremely The gyroscope that can also configure in mobile phone, barometer, hygrometer, thermometer, infrared ray sensor etc. other Sensor, will not be described here.
Voicefrequency circuit 660, loudspeaker 661, microphone 662 can provide the audio frequency between user and mobile phone to connect Mouthful.Electric signal after the voice data receiving conversion can be transferred to loudspeaker 661 by voicefrequency circuit 660, Voice signal output is converted to by loudspeaker 661;On the other hand, the sound collected is believed by microphone 662 Number be converted to electric signal, after being received by voicefrequency circuit 660, be converted to voice data, then voice data is defeated Go out after processor 680 processes, through RF circuit 610 being sent to such as another mobile phone, or by audio frequency number According to output to memory 620 to process further.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user to receive by WiFi module 670 Send e-mails, browse webpage and access streaming video etc., it has provided the user wireless broadband interconnection Net accesses.Although Fig. 6 shows WiFi module 670, but it is understood that, it is simultaneously not belonging to hand Must be configured into of machine, can omit completely as needed in the scope of essence not changing invention.
Processor 680 is the control centre of mobile phone, each using various interfaces and connection whole mobile phone Individual part, by running or executing software program and/or the module being stored in memory 620, and adjusts With being stored in the data in memory 620, the various functions of execution mobile phone and processing data, thus opponent Machine carries out integral monitoring.Optionally, processor 680 may include one or more processing units;Preferably, Processor 680 can integrated application processor and modem processor, wherein, application processor is mainly located Reason operating system, user interface and application program etc., modem processor mainly processes radio communication. It is understood that above-mentioned modem processor can not also be integrated in processor 680.
Mobile phone also includes the power supply 690 (such as battery) powered to all parts it is preferred that power supply is permissible Logically contiguous with processor 680 by power-supply management system, thus management is realized by power-supply management system The functions such as charging, electric discharge and power managed.
Although not shown, mobile phone can also include camera, bluetooth module etc., will not be described here.
In embodiments of the present invention, the processor 680 included by this terminal also have control execution above by The intercept method flow process of the video segment of terminal execution.
In addition it should be noted that, device embodiment described above is only schematically, wherein said The unit illustrating as separating component can be or may not be physically separate, show as unit The part showing can be or may not be physical location, you can with positioned at a place, or also may be used To be distributed on multiple NEs.Some or all of mould therein can be selected according to the actual needs Block is realizing the purpose of this embodiment scheme.In addition, in the device embodiment accompanying drawing of present invention offer, mould Annexation between block represents there is communication connection between them, specifically can be implemented as one or more Communication bus or holding wire.Those of ordinary skill in the art in the case of not paying creative work, that is, It is appreciated that and implement.
Through the above description of the embodiments, those skilled in the art can be understood that this Invention can be realized by the mode of software plus necessary common hardware naturally it is also possible to pass through specialized hardware To realize including special IC, dedicated cpu, private memory, special components and parts etc..General feelings Under condition, all functions of being completed by computer program can easily be realized with corresponding hardware, and And, the particular hardware structure for realizing same function can also be diversified, such as analog circuit, Digital circuit or special circuit etc..But, more for the purpose of the present invention in the case of software program realize be more Good embodiment.Based on such understanding, technical scheme is substantially in other words to existing skill What art contributed partly can be embodied in the form of software product, and this computer software product stores In the storage medium that can read, the floppy disk of such as computer, USB flash disk, portable hard drive, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic Dish or CD etc., including some instructions with so that computer equipment (can be personal computer, Server, or the network equipment etc.) method described in execution each embodiment of the present invention.
In sum, above example, only in order to technical scheme to be described, is not intended to limit; Although being described in detail to the present invention with reference to above-described embodiment, those of ordinary skill in the art should Work as understanding:It still can be modified to the technical scheme described in the various embodiments described above, or to it Middle some technical characteristics carry out equivalent;And these modifications or replacement, do not make appropriate technical solution Essence depart from various embodiments of the present invention technical scheme spirit and scope.

Claims (16)

1. a kind of intercept method of video segment is it is characterised in that include:
Receive user is instructed by the video intercepting that currently playing terminal sends, described video intercepting instruction bag Include:What described user determined needs to intercept the intercepting sart point in time of video and intercepts end time point, institute State video intercepting region and the described user that user delimit in the broadcast interface of described currently playing terminal The intended applications selecting;
From reproduction time be described intercepting sart point in time from the beginning of, according to described video intercepting instruction obtain with Decoded video data corresponding with described video intercepting region in the video file being currently played, directly Being described intercepting end time point to reproduction time, stop obtaining and the video literary composition being currently played Decoded video data corresponding with video intercepting region in part;
From the beginning of described intercepting end time point, instructed to the decoding getting according to described video intercepting Video data carries out file format coding, generates the video segment intercepting out from described video file;
According to described intended applications, described video segment is exported.
2. method according to claim 1 is it is characterised in that described refer to according to described video intercepting Order obtains and decoded video corresponding with described video intercepting region in the video file being currently played Data, including:
Calculate the bits of offset between described video intercepting region and the broadcast interface of described currently playing terminal Put;
According to the described deviation post calculating, determine described video intercepting region and be currently played The coordinate mapping relations of the video image in video file;
Read from the frame buffer of described currently playing terminal according to described coordinate mapping relations and regard with described Frequency intercepts region corresponding decoded video data.
If 3. method according to claim 1 is it is characterised in that the instruction of described video intercepting is also wrapped Include user selection destination file format, described from described intercepting end time point from the beginning of, regarded according to described Frequency intercepts instruction and carries out file format coding to the decoded video data getting, including:
Using file synthesis device by the decoded video getting data encoding for meeting described file destination lattice The video segment of formula, and carry File header information in described video segment, described File header information includes: The attribute information of described video segment.
If 4. according to the method in any one of claims 1 to 3 it is characterised in that described video Intercept instruction also include user selection target resolution, described from described intercepting end time point from the beginning of, Before file format coding is carried out to the decoded video data getting according to the instruction of described video intercepting, Methods described also includes:
The former resolution of video image in the corresponding video file of decoded video data getting described in judgement Whether rate is identical with described target resolution;
If described former resolution ratio and described target resolution differ, to the described decoded video getting In the corresponding video file of data, the resolution ratio of video image is changed, and obtains comprising described target resolution The decoded video data getting described in rate.
If 5. method according to claim 2 is it is characterised in that the instruction of described video intercepting is also wrapped Include user selection target resolution, described from described intercepting end time point from the beginning of, according to described video Before intercepting instruction carries out file format coding to the decoded video data getting, methods described is also wrapped Include:
Using described coordinate mapping relations and the described corresponding video file of decoded video data getting The former resolution ratio of middle video image calculates resolution ratio mapping value;
Judge whether described resolution ratio mapping value is identical with described target resolution;
If described resolution ratio mapping value and described target resolution differ, to the described decoding getting In the corresponding video file of video data, video image zooms in and out process, the described acquisition after being scaled The decoded video data arriving.
If 6. according to the method in any one of claims 1 to 3 it is characterised in that described video Intercept instruction also include user selection target video form, described from described intercepting end time point from the beginning of, Before file format coding is carried out to the decoded video data getting according to the instruction of described video intercepting, Methods described also includes:
The former video format of the corresponding video file of decoded video data getting described in judgement with described Whether target video form is identical;
If described former video format and described target video form differ, to the described decoding getting The video format of the corresponding video file of video data is changed, and obtains comprising described target video form Described in the decoded video data that gets.
If 7. according to the method in any one of claims 1 to 3 it is characterised in that described video Intercept instruction also include user selection objective video quality, described from described intercepting end time point from the beginning of, Before file format coding is carried out to the decoded video data getting according to the instruction of described video intercepting, Methods described also includes:
The former video quality of the corresponding video file of decoded video data getting described in judgement with described Whether objective video quality is identical;
If described former video quality and described objective video quality differ, to the described decoding getting The video quality of the corresponding video file of video data is adjusted, and obtains comprising described objective video quality Described in the decoded video data that gets.
If 8. according to the method in any one of claims 1 to 3 it is characterised in that described video Intercept instruction also include user selection target video frame per second, described from described intercepting end time point from the beginning of, Before file format coding is carried out to the decoded video data getting according to the instruction of described video intercepting, Methods described also includes:
The former video frame rate of the corresponding video file of decoded video data getting described in judgement with described Whether target video frame per second is identical;
If described former video frame rate and described target video frame per second differ, to the described decoding getting The video frame rate of the corresponding video file of video data is changed, and obtains comprising described target video frame per second Described in the decoded video data that gets.
9. a kind of capture device of video segment is it is characterised in that include:
Receiver module, is instructed by the video intercepting that currently playing terminal sends for receive user, described Video intercepting instruction includes:What described user determined needs to intercept intercepting sart point in time and the intercepting of video The video intercepting area that end time point, described user delimit in the broadcast interface of described currently playing terminal Domain and the intended applications of described user selection;
Video data acquisition module, from the beginning of being described intercepting sart point in time from reproduction time, according to The instruction of described video intercepting obtain with the video file being currently played in described video intercepting region pair The decoded video data answered, till reproduction time is described intercepting end time point, stops obtaining With decoded video data corresponding with video intercepting region in the video file being currently played;
Document No. module, for, from the beginning of described intercepting end time point, referring to according to described video intercepting Order carries out file format coding to the decoded video data getting, and generates and cuts from described video file The video segment taking out;
Video segment output module, for exporting described video segment according to described intended applications.
10. device according to claim 9 is it is characterised in that described video data acquisition module, Including:
Position calculation unit, for calculating the broadcasting in described video intercepting region and described currently playing terminal Deviation post between interface;
Mapping relations determining unit, for according to the described deviation post calculating, determining that described video cuts Take region with the video file being currently played in video image coordinate mapping relations;
Video data reading unit, for according to described coordinate mapping relations from described currently playing terminal Decoded video data corresponding with described video intercepting region is read in frame buffer.
If 11. devices according to claim 9 are it is characterised in that the instruction of described video intercepting is gone back The destination file format selecting including user, described document No. module, specifically for using file synthesis The decoded video getting data encoding is the video segment meeting described destination file format by device, and Carry File header information in described video segment, described File header information includes:Described video segment Attribute information.
If 12. devices according to any one of claim 9 to 11 are it is characterised in that described regard Frequency intercepts the target resolution that instruction also includes user's selection, and described device also includes:Resolution ratio coordinates mould Block, for described document No. module from the beginning of described intercepting end time point, according to described video intercepting Before instruction carries out file format coding to the decoded video data getting, get described in judgement In the corresponding video file of decoded video data, the former resolution ratio of video image and described target resolution are No identical;If described former resolution ratio and described target resolution differ, to the described decoding getting In the corresponding video file of video data, the resolution ratio of video image is changed, and obtains comprising described target The decoded video data getting described in resolution ratio.
If 13. devices according to claim 10 are it is characterised in that the instruction of described video intercepting is gone back The target resolution selecting including user, described device also includes:Resolution ratio Coordination module, for described Document No. module from the beginning of described intercepting end time point, according to the instruction of described video intercepting to getting Decoded video data carry out file format coding before, using described coordinate mapping relations with described obtain In the corresponding video file of decoded video data got, the former resolution ratio of video image calculates resolution ratio Mapping value;Judge whether described resolution ratio mapping value is identical with described target resolution;If described resolution ratio Mapping value is differed with described target resolution, corresponding to the described decoded video data getting regards In frequency file, video image zooms in and out process, the decoded video number getting described in after being scaled According to.
If 14. devices according to any one of claim 9 to 11 are it is characterised in that described regard Frequency intercepts the target video form that instruction also includes user's selection, and described device also includes:Video format is assisted Mode transfer block, for described document No. module from the beginning of described intercepting end time point, according to described video Before intercepting instruction carries out file format coding to the decoded video data getting, judge described acquisition Whether the former video format of the corresponding video file of decoded video data arriving and described target video form Identical;If described former video format and described target video form differ, to the described solution getting The video format of the code corresponding video file of video data is changed, and obtains comprising described target video lattice The decoded video data getting described in formula.
If 15. devices according to any one of claim 9 to 11 are it is characterised in that described regard Frequency intercepts the objective video quality that instruction also includes user's selection, and described device also includes:Video quality is assisted Mode transfer block, for described document No. module from the beginning of described intercepting end time point, according to described video Before intercepting instruction carries out file format coding to the decoded video data getting, judge described acquisition Whether the former video quality of the corresponding video file of decoded video data arriving and described objective video quality Identical;If described former video quality and described objective video quality differ, to the described solution getting The video quality of the code corresponding video file of video data is adjusted, and obtains comprising described target video matter The decoded video data getting described in amount.
If 16. devices according to any one of claim 9 to 11 are it is characterised in that described regard Frequency intercepts the target video frame per second that instruction also includes user's selection, and described device also includes:Video frame rate is assisted Mode transfer block, for described document No. module from the beginning of described intercepting end time point, according to described video Before intercepting instruction carries out file format coding to the decoded video data getting, judge described acquisition Whether the former video frame rate of the corresponding video file of decoded video data arriving and described target video frame per second Identical;If described former video frame rate and described target video frame per second differ, to the described solution getting The video frame rate of the code corresponding video file of video data is changed, and obtains comprising described target video frame The decoded video data getting described in rate.
CN201510448280.7A 2015-07-27 2015-07-27 Video clip intercepting method and device Active CN106412702B (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
CN201510448280.7A CN106412702B (en) 2015-07-27 2015-07-27 Video clip intercepting method and device
MYPI2017704144A MY190923A (en) 2015-07-27 2016-06-16 Video sharing method and device, and video playing method and device
PCT/CN2016/085994 WO2017016339A1 (en) 2015-07-27 2016-06-16 Video sharing method and device, and video playing method and device
US15/729,439 US10638166B2 (en) 2015-07-27 2017-10-10 Video sharing method and device, and video playing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510448280.7A CN106412702B (en) 2015-07-27 2015-07-27 Video clip intercepting method and device

Publications (2)

Publication Number Publication Date
CN106412702A true CN106412702A (en) 2017-02-15
CN106412702B CN106412702B (en) 2020-06-05

Family

ID=58008580

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510448280.7A Active CN106412702B (en) 2015-07-27 2015-07-27 Video clip intercepting method and device

Country Status (1)

Country Link
CN (1) CN106412702B (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106993228A (en) * 2017-03-02 2017-07-28 北京潘达互娱科技有限公司 Method for processing video frequency and device
CN106998494A (en) * 2017-04-24 2017-08-01 腾讯科技(深圳)有限公司 A kind of video recording method and relevant apparatus
CN107295416A (en) * 2017-05-05 2017-10-24 中广热点云科技有限公司 The method and apparatus for intercepting video segment
CN107426400A (en) * 2017-04-27 2017-12-01 福建中金在线信息科技有限公司 A kind of terminal plays image-capture method and system
CN107682744A (en) * 2017-09-29 2018-02-09 惠州Tcl移动通信有限公司 Method, storage medium and the mobile terminal of video segment output
CN107801106A (en) * 2017-10-24 2018-03-13 维沃移动通信有限公司 A kind of video segment intercept method and electronic equipment
CN107864411A (en) * 2017-10-31 2018-03-30 广东小天才科技有限公司 A kind of picture output method and terminal device
CN107888988A (en) * 2017-11-17 2018-04-06 广东小天才科技有限公司 A kind of video clipping method and electronic equipment
CN109194979A (en) * 2018-10-30 2019-01-11 努比亚技术有限公司 The processing method and processing device of audio-video, mobile terminal, readable storage medium storing program for executing
CN109936763A (en) * 2017-12-15 2019-06-25 腾讯科技(深圳)有限公司 The processing of video and dissemination method
CN110022496A (en) * 2018-01-09 2019-07-16 北京小度互娱科技有限公司 Video cutting method, device, system, computer equipment and storage medium
CN110446096A (en) * 2019-08-15 2019-11-12 天脉聚源(杭州)传媒科技有限公司 Video broadcasting method, device and storage medium a kind of while recorded
CN110798727A (en) * 2019-10-28 2020-02-14 维沃移动通信有限公司 Video processing method and electronic equipment
CN110839181A (en) * 2019-12-04 2020-02-25 湖南快乐阳光互动娱乐传媒有限公司 Method and system for converting video content into gif based on B/S architecture
CN112822544A (en) * 2020-12-31 2021-05-18 广州酷狗计算机科技有限公司 Video material file generation method, video synthesis method, device and medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111930750A (en) * 2020-08-28 2020-11-13 支付宝(杭州)信息技术有限公司 Method and device for carrying out evidence storage on evidence obtaining process video clip

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102510533A (en) * 2011-12-12 2012-06-20 深圳市九洲电器有限公司 Method, device and set-top box for eliminating video capture delay
CN102802079A (en) * 2012-08-24 2012-11-28 广东欧珀移动通信有限公司 Video previewing segment generating method of media player
CN103152654A (en) * 2013-03-15 2013-06-12 杭州智屏软件有限公司 Low-latency video fragment interception technology
CN103414751A (en) * 2013-07-16 2013-11-27 广东工业大学 PC screen content sharing/interaction control method
CN103747362A (en) * 2013-12-30 2014-04-23 广州华多网络科技有限公司 Method and device for cutting out video clip
CN103873920A (en) * 2014-03-18 2014-06-18 深圳市九洲电器有限公司 Program browsing method and system and set top box
CN104079981A (en) * 2013-03-25 2014-10-01 联想(北京)有限公司 Data processing method and data processing device
CN104159161A (en) * 2014-08-25 2014-11-19 广东欧珀移动通信有限公司 Video image frame location method and device
CN104159151A (en) * 2014-08-06 2014-11-19 哈尔滨工业大学深圳研究生院 Device and method for intercepting and processing of videos on OTT box
US20150067739A1 (en) * 2013-08-30 2015-03-05 Adobe Systems Incorporated Video media item selections
CN104616241A (en) * 2014-07-24 2015-05-13 腾讯科技(北京)有限公司 Video screen-shot method and device
CN104618741A (en) * 2015-03-02 2015-05-13 浪潮软件集团有限公司 Information pushing system and method based on video content

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102510533A (en) * 2011-12-12 2012-06-20 深圳市九洲电器有限公司 Method, device and set-top box for eliminating video capture delay
CN102802079A (en) * 2012-08-24 2012-11-28 广东欧珀移动通信有限公司 Video previewing segment generating method of media player
CN103152654A (en) * 2013-03-15 2013-06-12 杭州智屏软件有限公司 Low-latency video fragment interception technology
CN104079981A (en) * 2013-03-25 2014-10-01 联想(北京)有限公司 Data processing method and data processing device
CN103414751A (en) * 2013-07-16 2013-11-27 广东工业大学 PC screen content sharing/interaction control method
US20150067739A1 (en) * 2013-08-30 2015-03-05 Adobe Systems Incorporated Video media item selections
CN103747362A (en) * 2013-12-30 2014-04-23 广州华多网络科技有限公司 Method and device for cutting out video clip
CN103873920A (en) * 2014-03-18 2014-06-18 深圳市九洲电器有限公司 Program browsing method and system and set top box
CN104616241A (en) * 2014-07-24 2015-05-13 腾讯科技(北京)有限公司 Video screen-shot method and device
CN104159151A (en) * 2014-08-06 2014-11-19 哈尔滨工业大学深圳研究生院 Device and method for intercepting and processing of videos on OTT box
CN104159161A (en) * 2014-08-25 2014-11-19 广东欧珀移动通信有限公司 Video image frame location method and device
CN104618741A (en) * 2015-03-02 2015-05-13 浪潮软件集团有限公司 Information pushing system and method based on video content

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106993228A (en) * 2017-03-02 2017-07-28 北京潘达互娱科技有限公司 Method for processing video frequency and device
CN106998494A (en) * 2017-04-24 2017-08-01 腾讯科技(深圳)有限公司 A kind of video recording method and relevant apparatus
CN107426400A (en) * 2017-04-27 2017-12-01 福建中金在线信息科技有限公司 A kind of terminal plays image-capture method and system
CN107295416B (en) * 2017-05-05 2019-11-22 中广热点云科技有限公司 The method and apparatus for intercepting video clip
CN107295416A (en) * 2017-05-05 2017-10-24 中广热点云科技有限公司 The method and apparatus for intercepting video segment
CN107682744A (en) * 2017-09-29 2018-02-09 惠州Tcl移动通信有限公司 Method, storage medium and the mobile terminal of video segment output
CN107801106A (en) * 2017-10-24 2018-03-13 维沃移动通信有限公司 A kind of video segment intercept method and electronic equipment
CN107801106B (en) * 2017-10-24 2019-10-15 维沃移动通信有限公司 A kind of video clip intercept method and electronic equipment
CN107864411A (en) * 2017-10-31 2018-03-30 广东小天才科技有限公司 A kind of picture output method and terminal device
CN107888988A (en) * 2017-11-17 2018-04-06 广东小天才科技有限公司 A kind of video clipping method and electronic equipment
CN109936763B (en) * 2017-12-15 2022-07-01 腾讯科技(深圳)有限公司 Video processing and publishing method
CN109936763A (en) * 2017-12-15 2019-06-25 腾讯科技(深圳)有限公司 The processing of video and dissemination method
CN110022496A (en) * 2018-01-09 2019-07-16 北京小度互娱科技有限公司 Video cutting method, device, system, computer equipment and storage medium
CN109194979B (en) * 2018-10-30 2022-06-17 湖南天鸿瑞达集团有限公司 Audio and video processing method and device, mobile terminal and readable storage medium
CN109194979A (en) * 2018-10-30 2019-01-11 努比亚技术有限公司 The processing method and processing device of audio-video, mobile terminal, readable storage medium storing program for executing
CN110446096A (en) * 2019-08-15 2019-11-12 天脉聚源(杭州)传媒科技有限公司 Video broadcasting method, device and storage medium a kind of while recorded
CN110798727A (en) * 2019-10-28 2020-02-14 维沃移动通信有限公司 Video processing method and electronic equipment
CN110839181A (en) * 2019-12-04 2020-02-25 湖南快乐阳光互动娱乐传媒有限公司 Method and system for converting video content into gif based on B/S architecture
CN112822544A (en) * 2020-12-31 2021-05-18 广州酷狗计算机科技有限公司 Video material file generation method, video synthesis method, device and medium
CN112822544B (en) * 2020-12-31 2023-10-20 广州酷狗计算机科技有限公司 Video material file generation method, video synthesis method, device and medium

Also Published As

Publication number Publication date
CN106412702B (en) 2020-06-05

Similar Documents

Publication Publication Date Title
CN106412702A (en) Video clip interception method and device
CN106412691A (en) Interception method and device of video images
CN106412687A (en) Interception method and device of audio and video clips
CN110636375B (en) Video stream processing method and device, terminal equipment and computer readable storage medium
US20180014043A1 (en) Method, apparatus, and system for switching from video live stream to video-on-demand data
CN108924464B (en) Video file generation method and device and storage medium
RU2541149C2 (en) Information processing device, moving image cutting method and moving image cutting programme
CN107454416A (en) Video flow sending method and device
CN106127673B (en) A kind of method for processing video frequency, device and computer equipment
WO2017016339A1 (en) Video sharing method and device, and video playing method and device
CN107438200A (en) The method and apparatus of direct broadcasting room present displaying
CN104967801A (en) Video data processing method and apparatus
CN104519404B (en) The player method and device of graphic interchange format file
CN106973321B (en) Determine the method and device of video cardton
CN104811787A (en) Game video recording method and game video recording device
CN103918284B (en) voice control device, voice control method and program
CN104469143A (en) Video sharing method and device
CN105187692B (en) Video capture method and device
CN104036536B (en) The generation method and device of a kind of stop-motion animation
CN108055567B (en) Video processing method and device, terminal equipment and storage medium
CN112312144B (en) Live broadcast method, device, equipment and storage medium
CN108055587A (en) Sharing method, device, mobile terminal and the storage medium of image file
JP2016511875A (en) Image thumbnail generation method, apparatus, terminal, program, and recording medium
CN106507204A (en) A kind of video play-reverse method and apparatus
CN107943417A (en) Image processing method, terminal, computer-readable storage medium and computer program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20221202

Address after: 1402, Floor 14, Block A, Haina Baichuan Headquarters Building, No. 6, Baoxing Road, Haibin Community, Xin'an Street, Bao'an District, Shenzhen, Guangdong 518000

Patentee after: Shenzhen Yayue Technology Co.,Ltd.

Address before: 2, 518000, East 403 room, SEG science and Technology Park, Zhenxing Road, Shenzhen, Guangdong, Futian District

Patentee before: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd.