CN104980794A - Video splicing method and device - Google Patents

Video splicing method and device Download PDF

Info

Publication number
CN104980794A
CN104980794A CN201510373572.9A CN201510373572A CN104980794A CN 104980794 A CN104980794 A CN 104980794A CN 201510373572 A CN201510373572 A CN 201510373572A CN 104980794 A CN104980794 A CN 104980794A
Authority
CN
China
Prior art keywords
video
frequency band
splicing
playing duration
broadcasting speed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510373572.9A
Other languages
Chinese (zh)
Inventor
钟久祥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201510373572.9A priority Critical patent/CN104980794A/en
Publication of CN104980794A publication Critical patent/CN104980794A/en
Pending legal-status Critical Current

Links

Classifications

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

Abstract

The embodiment of the invention discloses a video splicing method and a video splicing device, wherein the method comprises the following steps: obtaining at least two video segments to be spliced; receiving an adjusting instruction input by a user, wherein the adjusting instruction is used for setting the splicing playing time length or the splicing playing speed of each obtained video segment to be spliced; and adjusting the video segments according to the set splicing playing time length or splicing playing speed of the video segments, and splicing the adjusted video segments into a video, so that the video segments are played in the spliced video according to the set splicing playing time length or splicing playing speed. By applying the embodiment of the invention, the user can control the playing time of the spliced video, the spliced video can meet the requirements of the user, and the experience effect of the user is improved.

Description

A kind of video-splicing method and device
Technical field
The present invention relates to video technique field, particularly a kind of video-splicing method and device.
Background technology
Along with the development of electronic equipment, increasing user can utilize the electronic equipment such as mobile phone, panel computer capture video.Under normal circumstances, captured multiple video-splicings can be become a video by user.Such as, the video Video2 of to be the video Video1 of t1 and playing duration by playing duration be t2, being spliced into a playing duration is the new video of t1+t2.
But apply above-mentioned method and splice video, user can not control the playing duration of the video of splicing, and the video of splicing is difficult to the needs meeting user, and the experience effect of user is not good.
Summary of the invention
The object of the embodiment of the present invention is to provide a kind of video-splicing method and device, with the needs making the video of splicing can meet user, improves the experience effect of user.
For achieving the above object, the embodiment of the invention discloses a kind of video-splicing method, comprising:
Obtain at least two video-frequency bands to be spliced;
Receive the regulating command of user's input, described regulating command is for setting splicing playing duration or the splicing broadcasting speed of each video-frequency band to be spliced of described acquisition;
According to splicing playing duration or the splicing broadcasting speed of the described video-frequency band of described setting, described video-frequency band is regulated, and the described video-frequency band after described adjustment is spliced into a video, to make in described spliced video, described video-frequency band according to described setting splicing playing duration or splicing broadcasting speed play.
Preferably, described regulating command is for setting the splicing playing duration of each video-frequency band to be spliced;
The splicing playing duration of the described described video-frequency band according to described setting or splicing broadcasting speed, carry out adjustment to described video-frequency band and comprise:
Judge that whether the former playing duration of described video-frequency band is identical with the splicing playing duration of this video-frequency band of described setting;
If not, according to the video frame number of this video-frequency band and the splicing playing duration of this video-frequency band, the broadcasting speed of this video-frequency band in spliced video is calculated;
The broadcasting speed of this video-frequency band is adjusted to the broadcasting speed in spliced video calculated.
Preferably, described regulating command is for setting the splicing playing duration of each video-frequency band to be spliced;
The splicing playing duration of the described described video-frequency band according to described setting or splicing broadcasting speed, carry out adjustment to described video-frequency band and comprise:
Judge that whether the former playing duration of described video-frequency band is identical with the splicing playing duration of this video-frequency band of described setting;
If not, according to the former playing duration of this video-frequency band and the former broadcasting speed of splicing playing duration and this video-frequency band, the broadcasting speed of this video-frequency band in spliced video is calculated;
The broadcasting speed of this video-frequency band is adjusted to the broadcasting speed in spliced video calculated.
Preferably, described regulating command is for setting the splicing playing duration of each video-frequency band to be spliced;
The splicing playing duration of the described described video-frequency band according to described setting or splicing broadcasting speed, carry out adjustment to described video-frequency band and comprise:
Judge that whether the former playing duration of described video-frequency band is identical with the splicing playing duration of this video-frequency band of described setting;
If not, judge whether the former playing duration of described video-frequency band is greater than or less than the splicing playing duration of this video-frequency band;
When the former playing duration of this video-frequency band is greater than the splicing playing duration of this video-frequency band, carry out frame of video pump-and-treat system to this video-frequency band, after making to process, the playing duration of this video-frequency band is adjusted to the splicing playing duration of described setting;
When the former playing duration of this video-frequency band is less than the splicing playing duration of this video-frequency band, carry out frame of video to this video-frequency band and insert process, after making to process, the playing duration of this video-frequency band is adjusted to the splicing playing duration of described setting.
Preferably, described regulating command is for setting the splicing broadcasting speed of each video-frequency band to be spliced;
The splicing playing duration of the described described video-frequency band according to described setting or splicing broadcasting speed, carry out adjustment to described video-frequency band and comprise:
Judge that whether the former broadcasting speed of this video-frequency band is identical with the splicing broadcasting speed of the video-frequency band of described setting;
If not, the splicing broadcasting speed of this video-frequency band is adjusted to the splicing broadcasting speed of described setting.
For achieving the above object, the embodiment of the invention discloses a kind of video-splicing device, comprising: video-frequency band obtains module, regulating command receiver module, video-frequency band adjustment module and concatenation module, wherein,
Described video-frequency band obtains module, for obtaining at least two video-frequency bands to be spliced;
Described regulating command receiver module, for receiving the regulating command of user's input, described regulating command obtains splicing playing duration or the splicing broadcasting speed of each video-frequency band to be spliced that module obtains for setting described video-frequency band;
Described video-frequency band adjustment module, for splicing playing duration or the splicing broadcasting speed of the described video-frequency band according to described setting, regulates described video-frequency band;
Described concatenation module, is spliced into a video for the described video-frequency band after described video-frequency band adjustment module being regulated, and to make in described spliced video, described video-frequency band is play according to the splicing reproduction time of described setting or splicing broadcasting speed.
Preferably, the regulating command that receives of described regulating command receiver module is for setting the splicing playing duration of each video-frequency band to be spliced;
Described video-frequency band adjustment module, specifically for:
Judge that whether the former playing duration of described video-frequency band is identical with the splicing playing duration of this video-frequency band of described setting;
If not, according to the video frame number of this video-frequency band and the splicing playing duration of this video-frequency band, the broadcasting speed of this video-frequency band in spliced video is calculated;
The broadcasting speed of this video-frequency band is adjusted to the broadcasting speed in spliced video calculated.
Preferably, the regulating command that receives of described regulating command receiver module is for setting the splicing playing duration of each video-frequency band to be spliced;
Described video-frequency band adjustment module, specifically for:
Judge that whether the former playing duration of described video-frequency band is identical with the splicing playing duration of this video-frequency band of described setting;
If not, according to the former playing duration of this video-frequency band and the former broadcasting speed of splicing playing duration and this video-frequency band, the broadcasting speed of this video-frequency band in spliced video is calculated;
The broadcasting speed of this video-frequency band is adjusted to the broadcasting speed in spliced video calculated.
Preferably, the regulating command that receives of described regulating command receiver module is for setting the splicing playing duration of each video-frequency band to be spliced;
Described video-frequency band adjustment module, specifically for:
Judge that whether the former playing duration of described video-frequency band is identical with the splicing playing duration of this video-frequency band of described setting;
If not, judge whether the former playing duration of described video-frequency band is greater than or less than the splicing playing duration of this video-frequency band;
When the former playing duration of this video-frequency band is greater than the splicing playing duration of this video-frequency band, carry out frame of video pump-and-treat system to this video-frequency band, after making to process, the playing duration of this video-frequency band is adjusted to the splicing playing duration of described setting;
When the former playing duration of this video-frequency band is less than the splicing playing duration of this video-frequency band, carry out frame of video to this video-frequency band and insert process, after making to process, the playing duration of this video-frequency band is adjusted to the splicing playing duration of described setting.
Preferably, the regulating command that receives of described regulating command receiver module is for setting the splicing broadcasting speed of each video-frequency band to be spliced;
Described video-frequency band adjustment module, specifically for:
Judge that whether the former broadcasting speed of this video-frequency band is identical with the splicing broadcasting speed of the video-frequency band of described setting; If not, the splicing broadcasting speed of this video-frequency band is adjusted to the splicing broadcasting speed of described setting.
As seen from the above technical solutions, embodiments provide a kind of video-splicing method and device, method comprises: obtain at least two video-frequency bands to be spliced; Receive the regulating command of user's input, described regulating command is for setting splicing playing duration or the splicing broadcasting speed of each video-frequency band to be spliced of described acquisition; According to splicing playing duration or the splicing broadcasting speed of the described video-frequency band of described setting, described video-frequency band is regulated, and the described video-frequency band after described adjustment is spliced into a video, to make in described spliced video, described video-frequency band according to described setting splicing playing duration or splicing broadcasting speed play.The technical scheme that the application embodiment of the present invention provides, user can control the playing duration of the video of splicing, and the video of splicing can meet the needs of user, improves the experience effect of user.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The schematic flow sheet of a kind of video-splicing method that Fig. 1 provides for the embodiment of the present invention;
The structural representation of a kind of video-splicing device that Fig. 2 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The schematic flow sheet of a kind of video-splicing method that Fig. 1 provides for the embodiment of the present invention, can comprise:
S101: obtain at least two video-frequency bands to be spliced;
S102: the regulating command receiving user's input;
Described regulating command is for setting splicing playing duration or the splicing broadcasting speed of each video-frequency band to be spliced of acquisition;
S103: according to splicing playing duration or the splicing broadcasting speed of the described video-frequency band of described setting, described video-frequency band is regulated;
S104: the described video-frequency band after described adjustment is spliced into a video, to make in described spliced video, described video-frequency band according to described setting splicing playing duration or splicing broadcasting speed play.
Exemplary, suppose that the video-frequency band to be spliced obtained is video-frequency band A and video-frequency band B, wherein, the former broadcasting speed of video-frequency band A is v1 frame/second, and duration is the former broadcasting speed of t1, video-frequency band B is v2 frame/second, and duration is t2;
In actual applications, the splicing playing duration that user can input each video-frequency band to be spliced sets splicing reproduction time, and the splicing broadcasting speed that also can input each video-frequency band to be spliced sets splicing broadcasting speed.
When user inputs the splicing playing duration of each video-frequency band to be spliced, the splicing playing duration of the video-frequency band A of the user's input supposing to receive is the splicing playing duration of t3, video-frequency band B is t4.
Can judge that whether former playing duration t1 is equal with the splicing playing duration t3 of acquisition for video-frequency band A;
If t3 equals t1, then without the need to adjusting video-frequency band A.
If t3 is not equal to t1, then according to the splicing playing duration of the video frame number of video-frequency band A and video-frequency band A, the broadcasting speed of video-frequency band A in spliced video can be calculated; The broadcasting speed of video-frequency band A is adjusted to the broadcasting speed in spliced video calculated.
Obtain the video frame number m of video-frequency band A, be t3 according to the video frame number m of video-frequency band A and splicing playing duration, calculate the broadcasting speed=m/t3 of video-frequency band A in spliced video (frame/second), the broadcasting speed of video-frequency band A is adjusted to m/t3 (frame/second), such as, the video frame number of video-frequency band A is 200, splicing reproduction time is 8 seconds, then broadcasting speed=200 frame/8 of video-frequency band A in spliced video second=25 frames/second, the broadcasting speed of video-frequency band A is adjusted to 25 frames/second.
If t3 is not equal to t1, according to the former playing duration of video-frequency band A and the former broadcasting speed splicing playing duration and video-frequency band A, the broadcasting speed of video-frequency band A in spliced video can also be calculated; The broadcasting speed of video-frequency band A is adjusted to the broadcasting speed in spliced video calculated.
Concrete, when not changing the video frame number of video-frequency band A,
The splicing broadcasting speed of the splicing playing duration * video-frequency band A of the former broadcasting speed=video-frequency band A of the former playing duration * video-frequency band A of the video frame number=video-frequency band A of video-frequency band A;
Splicing playing duration=the t1*v1/t3 (frame/second) of the former broadcasting speed/video-frequency band A of the former playing duration * video-frequency band A of the splicing broadcasting speed=video-frequency band A of video-frequency band A, namely in the changeless situation of video frame number of video, the playing duration of video and the inversely proportional relation of broadcasting speed, playing duration is longer, broadcasting speed is slower, playing duration is shorter, broadcasting speed is faster, such as, the former playing duration of video-frequency band A is 100 seconds, former broadcasting speed is 10 frames/second, and splicing playing duration is 200 seconds, then splicing broadcasting speed is 5 frames/second.
If t3 is not equal to t1, when t3 is greater than t1, under the prerequisite of broadcasting speed not changing video-frequency band A, frame of video can also be carried out to video-frequency band A and insert process, with the splicing playing duration making the playing duration of video-frequency band A be adjusted to setting.
Concrete, suppose t3=100 second, t1=50 second, the former frame of video of video-frequency band A is respectively P1, P2 ... P50 amounts to 50 frames, frame of video is carried out to video-frequency band A and inserts process, with the splicing playing duration making the playing duration of video-frequency band A be adjusted to setting, in actual applications, a frame of video can be inserted and insert a frame of video before the first frame of video P1 of video-frequency band A in adjacent two frame of video of video-frequency band A, the frame of video of video-frequency band A being adjusted to and carrying out the frame of video after inserting frame of video process; In order to ensure seamlessly transitting of picture, the pixel value of a certain pixel of the frame of video of insertion can be the mean value of the pixel value of adjacent two these pixels of frame of video; In actual applications, can also insert the frame of video identical with this frame of video before or after a certain frame of video of video-frequency band A, such as, the frame of video inserting frame of video backsight frequency range A is respectively P1, P1, P2, P2 ... P50, P50 amount to 100 frames.
When t3 is less than t1, under the prerequisite of broadcasting speed not changing video-frequency band A, frame of video pump-and-treat system can also be carried out to video-frequency band A, with the splicing playing duration making the playing duration of video-frequency band A be adjusted to setting.
Concrete, suppose t3=25 second, t1=50 second, the former frame of video of video-frequency band A is respectively P1, P2 ... P50 amounts to 50 frames, frame of video pump-and-treat system is carried out to video-frequency band A, with the splicing playing duration making the playing duration of video-frequency band A be adjusted to setting, in actual applications, all odd video frames of video-frequency band A can be extracted out or the extraction of all even video frames, the frame of video of video-frequency band A is adjusted to and carry out the frame of video after extracting frame of video process out; Such as, the frame of video of extracting all odd video frame backsight frequency range A out is respectively P2, P4, P6 ... P50 amounts to 25 frames, and the frame of video of extracting all even video frame backsight frequency range A out is respectively P1, P3, P5 ... P49 amounts to 25 frames.
It should be noted that, the present invention does not limit the insertion of frame of video and the concrete methods of realizing of extraction, and any mode in the cards all can be applied in the present invention.
When user inputs the splicing broadcasting speed of each video-frequency band to be spliced, according to splicing playing duration or the splicing broadcasting speed of the described video-frequency band of described setting, described video-frequency band is regulated, can judge that whether the former broadcasting speed of this video-frequency band is identical with the splicing broadcasting speed of the video-frequency band of described setting; If not, the splicing broadcasting speed of this video-frequency band is adjusted to the splicing broadcasting speed of described setting.
Exemplary, suppose that the splicing broadcasting speed of the video-frequency band A of the user's input received is v3 frame/second, the splicing broadcasting speed of video-frequency band B is v4 frame/second.
Can judge that whether former broadcasting speed v1 is equal with the splicing broadcasting speed v3 of acquisition for video-frequency band A;
If v3 equals v1, then without the need to adjusting video-frequency band A.
If v3 is not equal to v1, then the splicing broadcasting speed of video-frequency band A is adjusted to v3, such as, the former broadcasting speed v1 of video-frequency band A is 20 frames/second, the splicing broadcasting speed v3 receiving the video-frequency band A of user's input is 25 frames/second, then the splicing broadcasting speed of video-frequency band A is directly adjusted to 25 frames/second.
Adjustment for video-frequency band B can with reference to the above-mentioned adjustment for video-frequency band A, and the present invention no longer repeats the adjustment for video-frequency band B.
It should be noted that, to be above-mentionedly described for video-frequency band A and video-frequency band B, be only an instantiation of the present invention, do not form limitation of the invention.
The present invention is embodiment illustrated in fig. 1 in application, and user can control the playing duration of the video of splicing, and the video of splicing can meet the needs of user, improves the experience effect of user.
Corresponding with above-mentioned embodiment of the method, the embodiment of the present invention also provides a kind of video-splicing device.
The structural representation of a kind of video-splicing device that Fig. 2 provides for the embodiment of the present invention, can comprise: video-frequency band obtains module 201, regulating command receiver module 202, video-frequency band adjustment module 203 and concatenation module 204, wherein,
Video-frequency band obtains module 201, for obtaining at least two video-frequency bands to be spliced;
Regulating command receiver module 202, for receiving the regulating command of user's input;
Described regulating command obtains splicing playing duration or the splicing broadcasting speed of each video-frequency band to be spliced that module 201 obtains for setting described video-frequency band;
Video-frequency band adjustment module 203, for splicing playing duration or the splicing broadcasting speed of the described video-frequency band according to described setting, regulates described video-frequency band;
In actual applications, the regulating command that receives of the regulating command receiver module 202 of the embodiment of the present invention is for setting the splicing playing duration of each video-frequency band to be spliced; The video-frequency band adjustment module 203 of the embodiment of the present invention, specifically may be used for:
Judge that whether the former playing duration of described video-frequency band is identical with the splicing playing duration of this video-frequency band of described setting;
If not, according to the video frame number of this video-frequency band and the splicing playing duration of this video-frequency band, the broadcasting speed of this video-frequency band in spliced video is calculated;
The broadcasting speed of this video-frequency band is adjusted to the broadcasting speed in spliced video calculated.
In actual applications, the regulating command that receives of the regulating command receiver module 202 of the embodiment of the present invention is for setting the splicing playing duration of each video-frequency band to be spliced; The video-frequency band adjustment module 203 of the embodiment of the present invention, specifically may be used for:
Judge that whether the former playing duration of described video-frequency band is identical with the splicing playing duration of this video-frequency band of described setting;
If not, according to the former playing duration of this video-frequency band and the former broadcasting speed of splicing playing duration and this video-frequency band, the broadcasting speed of this video-frequency band in spliced video is calculated;
The broadcasting speed of this video-frequency band is adjusted to the broadcasting speed in spliced video calculated.
In actual applications, the regulating command that receives of the regulating command receiver module 202 of the embodiment of the present invention is for setting the splicing playing duration of each video-frequency band to be spliced; The video-frequency band adjustment module 203 of the embodiment of the present invention, specifically may be used for:
Judge that whether the former playing duration of described video-frequency band is identical with the splicing playing duration of this video-frequency band of described setting;
If not, judge whether the former playing duration of described video-frequency band is greater than or less than the splicing playing duration of this video-frequency band;
When the former playing duration of this video-frequency band is greater than the splicing playing duration of this video-frequency band, carry out frame of video pump-and-treat system to this video-frequency band, after making to process, the playing duration of this video-frequency band is adjusted to the splicing playing duration of described setting;
When the former playing duration of this video-frequency band is less than the splicing playing duration of this video-frequency band, carry out frame of video to this video-frequency band and insert process, after making to process, the playing duration of this video-frequency band is adjusted to the splicing playing duration of described setting.
In actual applications, the regulating command that receives of the regulating command receiver module 202 of the embodiment of the present invention is for setting the splicing broadcasting speed of each video-frequency band to be spliced; The video-frequency band adjustment module 203 of the embodiment of the present invention, specifically may be used for:
Judge that whether the former broadcasting speed of this video-frequency band is identical with the splicing broadcasting speed of the video-frequency band of described setting; If not, the splicing broadcasting speed of this video-frequency band is adjusted to the splicing broadcasting speed of described setting.
Concatenation module 204, is spliced into a video for the described video-frequency band after video-frequency band adjustment module 203 being regulated, to make in described spliced video, described video-frequency band according to described setting splicing reproduction time or splicing broadcasting speed play.
The present invention is embodiment illustrated in fig. 2 in application, and user can control the playing duration of the video of splicing, and the video of splicing can meet the needs of user, improves the experience effect of user.
It should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operating space, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
Each embodiment in this specification all adopts relevant mode to describe, between each embodiment identical similar part mutually see, what each embodiment stressed is the difference with other embodiments.Especially, for device embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
One of ordinary skill in the art will appreciate that all or part of step realized in said method execution mode is that the hardware that can carry out instruction relevant by program has come, described program can be stored in computer read/write memory medium, here the alleged storage medium obtained, as: ROM/RAM, magnetic disc, CD etc.
The foregoing is only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.All any amendments done within the spirit and principles in the present invention, equivalent replacement, improvement etc., be all included in protection scope of the present invention.

Claims (10)

1. a video-splicing method, is characterized in that, comprising:
Obtain at least two video-frequency bands to be spliced;
Receive the regulating command of user's input, described regulating command is for setting splicing playing duration or the splicing broadcasting speed of each video-frequency band to be spliced of described acquisition;
According to splicing playing duration or the splicing broadcasting speed of the described video-frequency band of described setting, described video-frequency band is regulated, and the described video-frequency band after described adjustment is spliced into a video, to make in described spliced video, described video-frequency band according to described setting splicing playing duration or splicing broadcasting speed play.
2. method according to claim 1, is characterized in that,
Described regulating command is for setting the splicing playing duration of each video-frequency band to be spliced;
The splicing playing duration of the described described video-frequency band according to described setting or splicing broadcasting speed, carry out adjustment to described video-frequency band and comprise:
Judge that whether the former playing duration of described video-frequency band is identical with the splicing playing duration of this video-frequency band of described setting;
If not, according to the video frame number of this video-frequency band and the splicing playing duration of this video-frequency band, the broadcasting speed of this video-frequency band in spliced video is calculated;
The broadcasting speed of this video-frequency band is adjusted to the broadcasting speed in spliced video calculated.
3. method according to claim 1, is characterized in that,
Described regulating command is for setting the splicing playing duration of each video-frequency band to be spliced;
The splicing playing duration of the described described video-frequency band according to described setting or splicing broadcasting speed, carry out adjustment to described video-frequency band and comprise:
Judge that whether the former playing duration of described video-frequency band is identical with the splicing playing duration of this video-frequency band of described setting;
If not, according to the former playing duration of this video-frequency band and the former broadcasting speed of splicing playing duration and this video-frequency band, the broadcasting speed of this video-frequency band in spliced video is calculated;
The broadcasting speed of this video-frequency band is adjusted to the broadcasting speed in spliced video calculated.
4. method according to claim 1, is characterized in that,
Described regulating command is for setting the splicing playing duration of each video-frequency band to be spliced;
The splicing playing duration of the described described video-frequency band according to described setting or splicing broadcasting speed, carry out adjustment to described video-frequency band and comprise:
Judge that whether the former playing duration of described video-frequency band is identical with the splicing playing duration of this video-frequency band of described setting;
If not, judge whether the former playing duration of described video-frequency band is greater than or less than the splicing playing duration of this video-frequency band;
When the former playing duration of this video-frequency band is greater than the splicing playing duration of this video-frequency band, carry out frame of video pump-and-treat system to this video-frequency band, after making to process, the playing duration of this video-frequency band is adjusted to the splicing playing duration of described setting;
When the former playing duration of this video-frequency band is less than the splicing playing duration of this video-frequency band, carry out frame of video to this video-frequency band and insert process, after making to process, the playing duration of this video-frequency band is adjusted to the splicing playing duration of described setting.
5. method according to claim 1, is characterized in that,
Described regulating command is for setting the splicing broadcasting speed of each video-frequency band to be spliced;
The splicing playing duration of the described described video-frequency band according to described setting or splicing broadcasting speed, carry out adjustment to described video-frequency band and comprise:
Judge that whether the former broadcasting speed of this video-frequency band is identical with the splicing broadcasting speed of the video-frequency band of described setting;
If not, the splicing broadcasting speed of this video-frequency band is adjusted to the splicing broadcasting speed of described setting.
6. a video-splicing device, is characterized in that, comprising: video-frequency band obtains module, regulating command receiver module, video-frequency band adjustment module and concatenation module, wherein,
Described video-frequency band obtains module, for obtaining at least two video-frequency bands to be spliced;
Described regulating command receiver module, for receiving the regulating command of user's input, described regulating command obtains splicing playing duration or the splicing broadcasting speed of each video-frequency band to be spliced that module obtains for setting described video-frequency band;
Described video-frequency band adjustment module, for splicing playing duration or the splicing broadcasting speed of the described video-frequency band according to described setting, regulates described video-frequency band;
Described concatenation module, is spliced into a video for the described video-frequency band after described video-frequency band adjustment module being regulated, and to make in described spliced video, described video-frequency band is play according to the splicing reproduction time of described setting or splicing broadcasting speed.
7. device according to claim 6, is characterized in that, the regulating command that described regulating command receiver module receives is for setting the splicing playing duration of each video-frequency band to be spliced;
Described video-frequency band adjustment module, specifically for:
Judge that whether the former playing duration of described video-frequency band is identical with the splicing playing duration of this video-frequency band of described setting;
If not, according to the video frame number of this video-frequency band and the splicing playing duration of this video-frequency band, the broadcasting speed of this video-frequency band in spliced video is calculated;
The broadcasting speed of this video-frequency band is adjusted to the broadcasting speed in spliced video calculated.
8. device according to claim 6, is characterized in that, the regulating command that described regulating command receiver module receives is for setting the splicing playing duration of each video-frequency band to be spliced;
Described video-frequency band adjustment module, specifically for:
Judge that whether the former playing duration of described video-frequency band is identical with the splicing playing duration of this video-frequency band of described setting;
If not, according to the former playing duration of this video-frequency band and the former broadcasting speed of splicing playing duration and this video-frequency band, the broadcasting speed of this video-frequency band in spliced video is calculated;
The broadcasting speed of this video-frequency band is adjusted to the broadcasting speed in spliced video calculated.
9. device according to claim 6, is characterized in that, the regulating command that described regulating command receiver module receives is for setting the splicing playing duration of each video-frequency band to be spliced;
Described video-frequency band adjustment module, specifically for:
Judge that whether the former playing duration of described video-frequency band is identical with the splicing playing duration of this video-frequency band of described setting;
If not, judge whether the former playing duration of described video-frequency band is greater than or less than the splicing playing duration of this video-frequency band;
When the former playing duration of this video-frequency band is greater than the splicing playing duration of this video-frequency band, carry out frame of video pump-and-treat system to this video-frequency band, after making to process, the playing duration of this video-frequency band is adjusted to the splicing playing duration of described setting;
When the former playing duration of this video-frequency band is less than the splicing playing duration of this video-frequency band, carry out frame of video to this video-frequency band and insert process, after making to process, the playing duration of this video-frequency band is adjusted to the splicing playing duration of described setting.
10. device according to claim 6, is characterized in that, the regulating command that described regulating command receiver module receives is for setting the splicing broadcasting speed of each video-frequency band to be spliced;
Described video-frequency band adjustment module, specifically for:
Judge that whether the former broadcasting speed of this video-frequency band is identical with the splicing broadcasting speed of the video-frequency band of described setting;
If not, the splicing broadcasting speed of this video-frequency band is adjusted to the splicing broadcasting speed of described setting.
CN201510373572.9A 2015-06-30 2015-06-30 Video splicing method and device Pending CN104980794A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510373572.9A CN104980794A (en) 2015-06-30 2015-06-30 Video splicing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510373572.9A CN104980794A (en) 2015-06-30 2015-06-30 Video splicing method and device

Publications (1)

Publication Number Publication Date
CN104980794A true CN104980794A (en) 2015-10-14

Family

ID=54276800

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510373572.9A Pending CN104980794A (en) 2015-06-30 2015-06-30 Video splicing method and device

Country Status (1)

Country Link
CN (1) CN104980794A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105741753A (en) * 2016-02-03 2016-07-06 西安诺瓦电子科技有限公司 Receiving card, LED display control and recording system and LED display control method
CN105791938A (en) * 2016-03-14 2016-07-20 腾讯科技(深圳)有限公司 Multimedia file splicing method and apparatus
CN107277617A (en) * 2017-07-26 2017-10-20 深圳Tcl新技术有限公司 Generation method, television set and the computer-readable recording medium of preview video
CN115086554A (en) * 2019-08-20 2022-09-20 华为技术有限公司 Video special effect generation method and terminal

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090055549A1 (en) * 2007-07-26 2009-02-26 Yoshikatsu Niwa Content Reproduction Apparatus, Content Reproduction Method, and Program
JP2009212569A (en) * 2008-02-29 2009-09-17 Olympus Imaging Corp Content editing device, its method,and content editing program
CN101588494A (en) * 2009-06-30 2009-11-25 华为技术有限公司 Method for processing media stream, communication system, and relative devices
WO2010138097A1 (en) * 2009-05-27 2010-12-02 Thomson Licensing Method and apparatus for presenting digital content
CN101996662A (en) * 2010-10-22 2011-03-30 深圳市万兴软件有限公司 Method and device for connecting and outputting video files
CN102063923A (en) * 2009-11-18 2011-05-18 新奥特(北京)视频技术有限公司 Adaptive playing method and device of animation
CN102063924A (en) * 2009-11-18 2011-05-18 新奥特(北京)视频技术有限公司 Method and device for playing animation
CN102857794A (en) * 2011-06-28 2013-01-02 上海聚力传媒技术有限公司 Method and device for merging video segments
CN103248950A (en) * 2013-04-28 2013-08-14 天脉聚源(北京)传媒科技有限公司 System and method for customizing video frame rate
CN103458271A (en) * 2012-05-29 2013-12-18 北京数码视讯科技股份有限公司 Audio-video file splicing method and audio-video file splicing device
CN104080006A (en) * 2014-07-10 2014-10-01 福州瑞芯微电子有限公司 Video processing device and method
CN104185087A (en) * 2014-08-19 2014-12-03 厦门美图之家科技有限公司 Switching method based on different video streams of one video file
CN104519262A (en) * 2013-09-27 2015-04-15 腾讯科技(深圳)有限公司 Method, device for acquiring video data, and terminal

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090055549A1 (en) * 2007-07-26 2009-02-26 Yoshikatsu Niwa Content Reproduction Apparatus, Content Reproduction Method, and Program
JP2009212569A (en) * 2008-02-29 2009-09-17 Olympus Imaging Corp Content editing device, its method,and content editing program
WO2010138097A1 (en) * 2009-05-27 2010-12-02 Thomson Licensing Method and apparatus for presenting digital content
CN101588494A (en) * 2009-06-30 2009-11-25 华为技术有限公司 Method for processing media stream, communication system, and relative devices
CN102063924A (en) * 2009-11-18 2011-05-18 新奥特(北京)视频技术有限公司 Method and device for playing animation
CN102063923A (en) * 2009-11-18 2011-05-18 新奥特(北京)视频技术有限公司 Adaptive playing method and device of animation
CN101996662A (en) * 2010-10-22 2011-03-30 深圳市万兴软件有限公司 Method and device for connecting and outputting video files
CN102857794A (en) * 2011-06-28 2013-01-02 上海聚力传媒技术有限公司 Method and device for merging video segments
CN103458271A (en) * 2012-05-29 2013-12-18 北京数码视讯科技股份有限公司 Audio-video file splicing method and audio-video file splicing device
CN103248950A (en) * 2013-04-28 2013-08-14 天脉聚源(北京)传媒科技有限公司 System and method for customizing video frame rate
CN104519262A (en) * 2013-09-27 2015-04-15 腾讯科技(深圳)有限公司 Method, device for acquiring video data, and terminal
CN104080006A (en) * 2014-07-10 2014-10-01 福州瑞芯微电子有限公司 Video processing device and method
CN104185087A (en) * 2014-08-19 2014-12-03 厦门美图之家科技有限公司 Switching method based on different video streams of one video file

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105741753A (en) * 2016-02-03 2016-07-06 西安诺瓦电子科技有限公司 Receiving card, LED display control and recording system and LED display control method
CN105741753B (en) * 2016-02-03 2018-02-16 西安诺瓦电子科技有限公司 Receive card, LED display controls and recording system, LED display control methods
CN105791938A (en) * 2016-03-14 2016-07-20 腾讯科技(深圳)有限公司 Multimedia file splicing method and apparatus
US10679675B2 (en) 2016-03-14 2020-06-09 Tencent Technology (Shenzhen) Company Limited Multimedia file joining method and apparatus
CN107277617A (en) * 2017-07-26 2017-10-20 深圳Tcl新技术有限公司 Generation method, television set and the computer-readable recording medium of preview video
CN115086554A (en) * 2019-08-20 2022-09-20 华为技术有限公司 Video special effect generation method and terminal

Similar Documents

Publication Publication Date Title
CN106658133B (en) Audio and video synchronous playing method and terminal
CN104980794A (en) Video splicing method and device
CN103856812B (en) A kind of video broadcasting method and device
CN107548558B (en) Source apparatus, control method thereof, sink apparatus, and image quality improvement processing method thereof
CN105307028A (en) Video editing method and device specific to video materials of plurality of lenses
CN104822008A (en) Video synchronizing method and device
CN103680551A (en) Player and method thereof for simultaneously playing multiple videos
CN113015007B (en) Video frame inserting method and device and electronic equipment
CN105163156A (en) Video resuming method, playing devices and system
CN105100933A (en) Method and device for sharing comment information for live video played by smart television
CN104936030B (en) A kind of boot-strap menu display process, equipment and array terminal system
CN113038220A (en) Program directing method, program directing system, program directing apparatus, and computer-readable storage medium
CN105142029A (en) Interactive video clipping system and interactive video clipping method
CN112423006A (en) Live broadcast scene switching method, device, equipment and medium
CN102025922A (en) Image matching system and method
CN106155677A (en) A kind of method and system of interface display
CN104333778A (en) Dynamic playing buffering processing method and electronic device
CN104038812A (en) Information push method and device
CN108989906A (en) A kind of live video processing method and processing device
CN106454480A (en) Video playing control method and apparatus
CN104994429A (en) Video playing method and device
CN104883478A (en) Video processing method and device
CN104284099A (en) Large-screen display method and system based on multi-channel input
CN101594476A (en) A kind of processing method of ultralong caption rendering
CN102866871A (en) Method for dynamically displaying image

Legal Events

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

Application publication date: 20151014

RJ01 Rejection of invention patent application after publication