CN107566892A - Video file processing method, device and computer-readable recording medium - Google Patents
Video file processing method, device and computer-readable recording medium Download PDFInfo
- Publication number
- CN107566892A CN107566892A CN201710841908.9A CN201710841908A CN107566892A CN 107566892 A CN107566892 A CN 107566892A CN 201710841908 A CN201710841908 A CN 201710841908A CN 107566892 A CN107566892 A CN 107566892A
- Authority
- CN
- China
- Prior art keywords
- video files
- short video
- splicing
- short
- video file
- 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
Links
Landscapes
- Information Transfer Between Computers (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
Present disclose provides a kind of video file processing method, device and computer-readable recording medium, belong to field of computer technology.Methods described includes:Chosen multiple first short video files are determined in dialog information;When receiving the splicing instruction for indicating splicing short video files, the multiple first short video files are spliced, obtain the second video file.Multiple first short video files being selected in dialog information can be spliced into second video file in the embodiment of the present disclosure, so as to realize the progress video creation in dialog information, enrich the experience of chat, add the interest of chat.
Description
Technical field
This disclosure relates to field of computer technology, more particularly to a kind of video file processing method, device and computer can
Read storage medium.
Background technology
With the development of computer technology, user not only can send speech message to good friend in social networking application, word disappears
Breath and picture, short video files can also be sent to good friend.For the ease of the information of chat content between user and each good friend
Shared, the short video files that a certain good friend sends can also be transmitted to other good friends by user.
When user wants to forward multiple short video files, the chat conversations of the user of transmitting terminal between the first good friend
Choose the short video files of multiple desired transmissions in frame, transmitting terminal obtains chosen multiple regard after forwarding instruction is received
Frequency file, chosen each video file is sent to the second chosen good friend as a message content.
The content of the invention
To overcome problem present in correlation technique, the disclosure provides a kind of video file processing method, device and calculating
Machine readable storage medium storing program for executing, the technical scheme are as follows:
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of video file processing method, methods described include:
Chosen multiple first short video files are determined in dialog information;
When receiving the splicing instruction for indicating splicing short video files, the multiple first short video files are entered
Row splicing, obtains the second video file.
In the disclosed embodiments, multiple first short video files being selected in dialog information can be spliced into one
Second video file, so as to realize the progress video creation in dialog information, the experience of chat is enriched, adds chat
Interest.
It is described to be spliced the multiple first short video files in a possible implementation, obtain second
Video file, including:
It is determined that the splicing order of each first short video files;
Splicing order based on each first short video files, each first short video files are spelled
Connect, obtain the second video file.
In a possible implementation, the splicing order for determining each first short video files, including:
The transmission time of each first short video files is determined, the transmission based on each first short video files
Time, determine the splicing order of each first short video files;Or
The transmission time of each first short video files is determined, according to the transmission of each first short video files
Time, the thumbnail of each first short video files is shown, each first short video files are dragged according to user
The order of thumbnail, the display order of each first short video files is adjusted, by each first short-sighted frequency text after adjustment
The display order of part is defined as the splicing order of each first short video files.
In the disclosed embodiments, can the transmission time based on each first short video files, it is determined that each first is short
The splicing order of video file, improve the efficiency for the splicing order for determining each first short video files.In addition, user also may be used
To manually adjust the splicing of each first short video files order, user's request is met, improves Consumer's Experience.
It is described to be spliced the multiple first short video files in a possible implementation, obtain second
After video file, methods described also includes:
Obtain the text information being inserted into;
Determine the insertion time range of the text information;
Based on the insertion time range, the text information is inserted in second video file.
In the disclosed embodiments, can also be after multiple first short video files being spliced into the second video file
Text information is added in second video file, adds the information carrying capacity of the second video file.
It is described to obtain the text information that is inserted into a possible implementation, including:
Obtain the text information of user's input;And/or
The contextual information of chosen each first short video files is obtained, by each first short video files
The text information that contextual information is inserted into as described in, the contextual information of any first short video files include the dialogue
The preceding first preset number bar chat messages and/or rear second preset number bar of any first short video files described in information are chatted
Its message;And/or
At least one text information being selected in the dialog information is obtained, at least one text information is made
For the text information being inserted into;And/or
The relevant information of each first short video files is obtained, the correlation of each first short video files is believed
The text information being inserted into as described in is ceased, the relevant information of any first short video files includes any video text
The sender of part, send in time, the group name of packet corresponding to dialog information or the user name of user at least one of.
In the disclosed embodiments, there is provided a variety of modes for obtaining the text information being inserted into, add applicable scene.
In a possible implementation, the insertion time range for determining the text information, including:
Obtain default insertion time range;Or
First option prompting of the display comprising the first input frame and the second input frame, first input frame are slotting for inputting
Enter initial time, second input frame is used to input the insertion end time, obtains the insertion inputted in first input frame
Initial time and the insertion end time of second input frame input, the insertion initial time and the insertion are terminated
Time forms the insertion time range;Or
Second video file is played, during second video file is played, when detecting that first is default
During touch control operation, the first current broadcasting moment of second video file is obtained, when detecting the operation of the second preset touch,
The second current broadcasting moment of second video file is obtained, moment and the second broadcasting moment group are played by described first
Into the insertion time range.
In the disclosed embodiments, there is provided multiple modes for determining insertion time range, add applicable scene.
It is described to be spliced the multiple first short video files in a possible implementation, obtain second
After video file, methods described also includes:
Receive the instruction for preserving and/or forwarding to second video file;
According to the instruction for preserving and/or forwarding to second video file received, to second video file
Preserved and/or forwarded.
In the disclosed embodiments, the second video file can be not only handled to good friend, the second video can also be stored
File, so as to preserve good time.
It is described that chosen multiple first short video files are determined in dialog information in a possible implementation
Before, methods described also includes:
When the dialog information meets ejection condition, ejection includes the second option prompting of multiselect option, the bullet
Going out condition includes chat messages in the dialog information by the duration of continuous trigger more than the first preset duration, or described
The white space of dialog information is by the duration of continuous trigger more than the second preset duration;
When the multiselect option in second option prompting is triggered, set each first in the dialog information short
The attribute of video file is optional.
It is described that chosen multiple first short video files are determined in dialog information in a possible implementation
Afterwards, methods described also includes:
When the multiselect option in second option prompting is triggered, the 3rd option that display includes splicing option carries
Show;
When the splicing option in the 3rd option prompting is triggered, receive when the splicing option is triggered
The caused splicing instruction.
In a possible implementation, methods described also includes:
Receive the instruction to the forwarding of the multiple first short video files;
According to the instruction forwarded to the multiple first short video files received, to the multiple first short-sighted frequency text
Part is forwarded one by one.
In the disclosed embodiments, it can not only realize and multiple first short video files are spliced into the second video file,
Second video file is handled to good friend, additionally it is possible to realize and multiple first short video files are forwarded to good friend one by one, enrich
Scene, improve Consumer's Experience.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of video file processing unit, described device include:
First determining module, for determining chosen multiple first short video files in dialog information;
Concatenation module, for when receiving the splicing instruction for indicating splicing short video files, by the multiple the
One short video files are spliced, and obtain the second video file.
In a possible implementation, the concatenation module, it is additionally operable to determine the spelling of each first short video files
Order is connect, the splicing order based on each first short video files, each first short video files are spliced,
Obtain the second video file.
In a possible implementation, the concatenation module, it is additionally operable to determine each first short video files
The transmission time, based on the transmission time of each first short video files, determine each first short video files
Splicing order;Or
The concatenation module, it is additionally operable to determine the transmission time of each first short video files, according to described each
The transmission time of first short video files, the thumbnail of each first short video files is shown, according to dragging user
The order of the thumbnail of each first short video files, the display order of each first short video files is adjusted, will be adjusted
The display order of each first short video files afterwards is defined as the splicing order of each first short video files.
In a possible implementation, described device also includes:
Acquisition module, for obtaining the text information being inserted into;
Second determining module, for determining the insertion time range of the text information;
Module is inserted, for based on the insertion time range, the text information to be inserted into second video file
In.
In a possible implementation, the acquisition module, it is additionally operable to obtain the text information that user inputs;With/
Or,
The acquisition module, it is additionally operable to obtain the contextual information of chosen each first short video files, by described in
The text information that the contextual information of each first short video files is inserted into as described in, any first short video files it is upper
Context information include the dialog information described in any first short video files preceding first preset number bar chat messages and/
Or rear second preset number bar chat messages;And/or
The acquisition module, it is additionally operable to obtain at least one text information being selected in the dialog information, by institute
State the text information that at least one text information is inserted into as described in;And/or
The acquisition module, it is additionally operable to obtain the relevant information of each first short video files, by described each
The text information that the relevant information of one short video files is inserted into as described in, the related letter of any first short video files
Breath includes sender, transmission time, the group name of packet corresponding to dialog information or the use of user of any video file
At least one of in name in an account book.
In a possible implementation, second determining module, it is additionally operable to obtain default insertion time range;
Or
Second determining module, first option prompting of the display comprising the first input frame and the second input frame is additionally operable to,
First input frame is used to input insertion initial time, and second input frame is used to input the insertion end time, obtains institute
The insertion end time of the insertion initial time inputted in the first input frame and second input frame input is stated, is inserted described
Enter initial time and the insertion end time forms the insertion time range;Or
Second determining module, it is additionally operable to play second video file, is playing second video file
During, when detecting the operation of the first preset touch, the first current broadcasting moment of second video file is obtained, works as inspection
When measuring the operation of the second preset touch, the second current broadcasting moment of second video file is obtained, described first is played
Moment and described second plays the moment composition insertion time range.
In a possible implementation, described device also includes:
Processing module, for receiving the instruction for preserving and/or forwarding to second video file, according to pair received
Second video file preserves and/or the instruction of forwarding, and second video file is preserved and/or forwarded.
In a possible implementation, described device also includes:
Pop-up module, for when the dialog information meets ejection condition, ejection to include the second choosing of multiselect option
Item prompting, the chat messages that the ejection condition is included in the dialog information are pre- more than first by the duration of continuous trigger
If duration, or the dialog information white space by the duration of continuous trigger more than the second preset duration;
Setup module, for when the multiselect option in second option prompting is triggered, setting the dialog information
In each first short video files attribute to be optional.
In a possible implementation, described device also includes:
Display module, for when the multiselect option in second option prompting is triggered, display to include forwarding choosing
The 3rd option prompting of item;
Receiving module, for when the splicing option in the 3rd option prompting is triggered, receiving in the spelling
Selecting item be triggered caused by it is described splicing instruction.
In a possible implementation, described device also includes:
Forwarding module, for receiving the instruction to the forwarding of the multiple first short video files, according to receiving to institute
The instruction of multiple first short video files forwardings is stated, the multiple first short video files are forwarded one by one.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of video file processing unit, described device include:Processing
Device;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
Chosen multiple first short video files are determined in dialog information;
When receiving the splicing instruction for indicating splicing short video files, the multiple first short video files are entered
Row splicing, obtains the second video file.
According to the fourth aspect of the embodiment of the present disclosure, there is provided a kind of computer-readable recording medium, it is described computer-readable
Computer program is stored with storage medium, following steps are realized when described program is executed by processor:
Chosen multiple first short video files are determined in dialog information;
When receiving the splicing instruction for indicating splicing short video files, the multiple first short video files are entered
Row splicing, obtains the second video file.
In the disclosed embodiments, multiple first short video files being selected in dialog information can be spliced into one
Second video file, so as to realize the progress video creation in dialog information, the experience of chat is enriched, adds chat
Interest.
It should be appreciated that the general description and following detailed description of the above are only exemplary and explanatory, not
The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and forms the part of this specification, shows the implementation for meeting the disclosure
Example, and be used to together with specification to explain the principle of the disclosure.
Fig. 1 is a kind of flow chart of video file processing method according to an exemplary embodiment;
Fig. 2 is a kind of flow chart of video file processing method according to an exemplary embodiment;
Fig. 3 is a kind of block diagram of video file processing unit according to an exemplary embodiment;
Fig. 4 is a kind of block diagram of video file processing unit according to an exemplary embodiment;
Fig. 5 is a kind of block diagram of video file processing unit according to an exemplary embodiment;
Fig. 6 is a kind of block diagram of video file processing unit according to an exemplary embodiment;
Fig. 7 is a kind of block diagram of video file processing unit according to an exemplary embodiment;
Fig. 8 is a kind of block diagram of video file processing unit according to an exemplary embodiment.
Embodiment
To make the purpose, technical scheme and advantage of the disclosure clearer, below in conjunction with accompanying drawing to disclosure embodiment party
Formula is described in further detail.
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to
During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended
The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
Social networking application program refers to there is message input, forwarding and the application of receive capabilities.In social networking application program, use
Family can not only be chatted with the good friend of user, can also be added multiple good friends in packet simultaneously with user and be chatted
My god.When user chats with good friend, speech message, word message and picture etc. can be not only sent, short-sighted frequency text can also be sent
Part.Wherein, short video files refer to that playing duration is no more than the video file of the 4th preset duration.4th preset duration can root
It is configured and changes according to needing, in the disclosed embodiments, the 4th preset duration is not especially limited, for example, the 4th is pre-
If duration can be 30s or 40s etc..In the disclosed embodiments, transmitting terminal can be multiple by what is be selected in dialog information
First short video files are spliced into second video file, rich so as to realize the progress video creation in dialog information
The rich experience of chat, add the interest of chat.
Fig. 1 is a kind of flow chart of the method for video file processing according to an exemplary embodiment, such as Fig. 1 institutes
Show, comprise the following steps.
In step S101, chosen multiple first short video files are determined in dialog information.
In step s 102, when receiving the splicing instruction for indicating splicing short video files, by the plurality of first
Short video files are spliced, and obtain the second video file.
In a possible implementation, this is spliced the plurality of first short video files, obtains the second video
File, including:
It is determined that the splicing order of each first short video files;
Splicing order based on each first short video files, each first short video files are spliced, obtained
To the second video file.
In a possible implementation, the splicing order of each first short video files of the determination, including:
The transmission time of each first short video files is determined, during transmission based on each first short video files
Between, determine the splicing of each first short video files sequentially;Or
The transmission time of each first short video files is determined, during according to the transmission of each first short video files
Between, the thumbnails of each first short video files is shown, the thumbnail of each first short video files is dragged according to user
Order, the display orders of each first short video files is adjusted, by the display of each first short video files after adjustment
Order is defined as the splicing order of each first short video files.
In a possible implementation, this is spliced the plurality of first short video files, obtains the second video
After file, this method also includes:
Obtain the text information being inserted into;
Determine the insertion time range of the text information;
Based on the insertion time range, the text information is inserted in second video file.
In a possible implementation, text information that the acquisition is inserted into, including:
Obtain the text information of user's input;And/or
The contextual information of chosen each first short video files is obtained, by the upper of each first short video files
The text information that context information is inserted into as this, the contextual information of any first short video files are included in the dialog information
The preceding first preset number bar chat messages of any first short video files and/or rear second preset number bar chat messages;
And/or
At least one text information being selected in the dialog information is obtained, regard at least one text information as this
The text information being inserted into;And/or
The relevant information of each first short video files is obtained, the relevant information of each first short video files is made
For the text information that this is inserted into, the relevant information of any first short video files includes the outbox of any video file
People, send in time, the group name of packet corresponding to dialog information or the user name of user at least one of.
In a possible implementation, the insertion time range of the determination text information, including:
Obtain default insertion time range;Or
First option prompting of the display comprising the first input frame and the second input frame, first input frame, which is used to input, to be inserted
Initial time, second input frame are used to input the insertion end time, when obtaining the insertion starting inputted in first input frame
Between and second input frame input the insertion end time, the insertion initial time and the insertion end time are formed this and inserted
Angle of incidence scope;Or
Second video file is played, during second video file is played, when detecting the first preset touch
During operation, the first current broadcasting moment of second video file is obtained, when detecting the operation of the second preset touch, obtaining should
The second current broadcasting moment of second video file, the first broadcasting moment and the second broadcasting moment are formed into the insertion time
Scope.
In a possible implementation, this method also includes:
Receive the instruction for preserving and/or forwarding to second video file;
According to the instruction for preserving and/or forwarding to second video file received, to second video file
Preserved and/or forwarded.
In a possible implementation, should be determined in dialog information chosen multiple first short video files it
Before, this method also includes:
When the dialog information meets ejection condition, ejection includes the second option prompting of multiselect option, the ejection bar
Part includes chat messages in the dialog information by the duration of continuous trigger more than the first preset duration, or the dialog information
White space by the duration of continuous trigger more than the second preset duration;
When the multiselect option in second option prompting is triggered, each first short-sighted frequency in the dialog information is set
The attribute of file is optional.
In a possible implementation, should be determined in dialog information chosen multiple first short video files it
Afterwards, this method also includes:
When the multiselect option in second option prompting is triggered, the 3rd option that display includes splicing option carries
Show;
When the splicing option in the prompting of the 3rd option is triggered, receive caused by being triggered in the splicing option
The splicing instructs.
In a possible implementation, this method also includes:
Receive the instruction to the forwarding of the plurality of first short video files;
According to the instruction forwarded to the plurality of first short video files received, the plurality of first short video files are entered
Row forwards one by one.
Above-mentioned all optional technical schemes, any combination can be used to form the alternative embodiment of the disclosure, herein no longer
Repeat one by one.
In the disclosed embodiments, transmitting terminal can splice multiple first short video files being selected in dialog information
Into second video file, so as to realize the progress video creation in dialog information, the experience of chat is enriched, is increased
The interest of chat.
Fig. 2 is a kind of flow chart of video file processing method according to an exemplary embodiment, this method application
In transmitting terminal.The transmitting terminal can be smart mobile phone, tablet personal computer, intelligent television, E-book reader, multimedia
Device, pocket computer on knee and desktop computer etc..As shown in Fig. 2 comprise the following steps.
In step s 201, when dialog information meets ejection condition, transmitting terminal ejection includes the second of multiselect option
Option is prompted, when the chat messages that ejection condition includes in dialog information are preset by the duration of continuous trigger more than first
It is long, or dialog information white space by the duration of continuous trigger more than the second preset duration.
Multiselect option is used to select multiple first short video files.In a possible implementation, when user wants
When splicing multiple first short video files in dialog information, user can select a chat messages in dialog information, and
This chat messages are triggered for a long time, so that transmitting terminal ejection includes the second option prompting of multiselect option, now this chats
Its message is defaulted as selected state.The chat messages can be speech message, word message or video file etc..Namely hair
When sending end detects chat messages in dialog information by the duration of continuous trigger more than the first preset duration, it is determined that dialogue
Information meets ejection condition.
In another possible implementation, user can also trigger the white space in dialog information for a long time, with
Transmitting terminal ejection is set to include the second option prompting of multiselect option.Namely transmitting terminal detects the clear area quilt in dialog information
When the duration of continuous trigger is more than the second preset duration, determine that dialog information meets ejection condition.
Dialog information can be dialog box or history message etc..First preset duration and the second preset duration can
, can also be unequal with equal.Also, the first preset duration and the second preset duration can be configured and more as needed
Change, in the disclosed embodiments, the first preset duration and the second preset duration are all not specifically limited.For example, first is default
Duration and the second preset duration are unequal, and the first preset duration is 2s, and the second preset duration is 3s.
It should be noted that the second option prompting in not only include multiselect option, can also include replicate, forwarding, collect,
The options such as translation, deletion.In order to prevent the content in the second option prompting covering dialog information, the prompting of the second option is often set
In the lower section of dialog information, and the prompting of the second option does not cover any chat messages of dialog information.In the disclosed embodiments,
Second option can also be prompted to be arranged on the optional position of dialog information, the prompting of the second option is arranged to transparent.
In step S202, when the multiselect option in the prompting of the second option is triggered, transmitting terminal is set in dialog information
Each first short video files attribute to be optional.
In the disclosed embodiments, transmitting terminal not only can be by the attribute of each first short video files in dialog information
It is arranged to optional, in this step, the attribute of each chat messages in dialog information can also be arranged to optional by transmitting terminal,
Now user can not only select multiple first short video files, and user is also an option that text information or voice messaging, with
It is easy to that text information corresponding to selected text information or voice messaging subsequently is inserted into spliced second video file
In.
In step S203, transmitting terminal determines chosen multiple first short video files in dialog information.
Chosen multiple first short video files include the user send short video files and/or dialog information it is good
The short video files that friendly user sends.
In this step, transmitting terminal not only obtains chosen multiple first short video files, can also obtain each
The relevant information of one short video files, the relevant information of each first short video files is inserted into order to subsequently spliced
In second video file.Wherein, the relevant information of any first short video files includes the sender of any video file, hair
Send in time, the group name of packet corresponding to dialog information or the user name of user at least one of.
In this step, transmitting terminal can also obtain the contextual information of chosen each first short video files, with
It is easy to that subsequently the contextual information of each first short video files is inserted into the second video file that splicing obtains.Any
The preceding first preset number bar chat messages of the contextual information of one short video files including any first short video files and/
Or rear second preset number bar chat messages.Wherein, chat messages can be speech message or word message.Work as chat messages
For speech message when, the speech message is converted to word message by transmitting terminal.
First preset number and the second preset number can be with equal, can also be unequal.Also, the first preset number and
Two preset numbers can be configured and change as needed, in the disclosed embodiments, to the first preset number and second
Preset number is all not especially limited.For example, the first preset number is 2, the second preset number is 3.
It should be noted that in order to save flow, the playing duration for the short video files that general limitation is sent is no more than
30s, therefore, the broadcasting total duration of chosen multiple first short video files are no more than 30s.Accordingly, in this step, send out
After sending end determines chosen multiple first short video files, the broadcasting total duration of multiple first short video files is determined, when
Play total duration and be no more than the 3rd preset duration, perform step S204;When broadcasting total duration is more than the 3rd preset duration, transmitting terminal
Prompting is limited by total duration is played, and please reselect multiple first short video files, and multiple first until user's selection are short-sighted
The broadcasting total duration of frequency file is no more than the 3rd preset duration.
3rd preset duration can be configured and change as needed, in the disclosed embodiments, when default to the 3rd
Length is not especially limited.For example, the 3rd preset duration can be 30s or 40s etc..
In this step, when transmitting terminal determines the broadcasting total duration of multiple first short video files more than the 3rd preset duration
When, user can not also be prompted to reselect the first short video files, but be subsequently spliced into after the second video file, to
Two video files enter edlin, and the second video file is compiled into playing duration is no more than the 3rd preset duration.
In step S204, transmitting terminal shows the 3rd option prompting for including splicing option.
It should be noted that transmitting terminal sets the category of each first short video files in dialog information in step 202
Property for after optional, transmitting terminal just shows the 3rd option prompting for including splicing option.Splicing option refers to for triggering splicing
Order.
In step S205, when the splicing option in the prompting of the 3rd option is triggered, transmitting terminal receives to be selected in the splicing
Item splices instruction caused by being triggered.
Splicing option is comprised at least in the prompting of 3rd option, splicing forwarding option can also be included in the prompting of the 3rd option.
Splicing option and splicing forwarding option can trigger splicing instruction.When splicing option is triggered, transmitting terminal generation splicing refers to
Order, when splicing forwarding option is triggered, transmitting terminal generation splicing forwarding instruction.
It should be noted that in the disclosed embodiments, it can not only realize and be spliced into multiple first short video files
After second video file, forwarded.It can also realize and be forwarded multiple first short video files one by one.Accordingly,
The process can be:
Transmitting terminal receives the instruction to the forwarding of multiple first short video files, according to the plurality of first short-sighted frequency received
Multiple first short video files are forwarded by the instruction of file forwarding one by one.
In the disclosed embodiments, splicing pass-through mode and one by one pass-through mode can be provided the user, splices forwarding side
Formula refers to multiple video files being spliced into the mode that a video file forwarded, and pass-through mode is by each video one by one
The mode that file is forwarded as a message content.After user wants to be spliced multiple first short video files
When just forwarding, user can trigger splicing forwarding option;When user is wanted using each first short video files as a message
When content is forwarded, user can trigger and forward option one by one.
When transmitting terminal detects that splicing option is triggered, splicing instruction caused by being triggered in splicing option is received,
Perform step S206.
In step S206, when receiving the splicing instruction for indicating splicing short video files, transmitting terminal will be multiple
First short video files are spliced, and obtain the second video file.
This step can be realized by following steps (1) and (2), including:
(1):Transmitting terminal determines the splicing order of each first short video files.
Transmitting terminal can be using the sequencing of the transmission time of each first short video files as each first short-sighted frequency
The splicing order of file, namely the first following implementation.Transmitting terminal can also show the contracting of each first short video files
Sketch map, user manually adjust the splicing order of each first short video files, namely following second of implementation.
For the first implementation, this step can be:
Transmitting terminal determines the transmission time of each first short video files, during transmission based on each first short video files
Between, it is determined that the splicing order of each first short video files.
Transmitting terminal is according to transmission time of each first short video files, right according to sending the order of time from the near to the remote
Each first short video files are ranked up, and obtain the splicing order of each first short video files;Or
Transmitting terminal is according to transmission time of each first short video files, right according to sending the time by as far as near order
Each first short video files are ranked up, and obtain the splicing order of each first short video files.
For second of implementation, this step can be:
Transmitting terminal determines the transmission time of each first short video files, during according to the transmission of each first short video files
Between, the thumbnail of each first short video files of display, according to the suitable of the thumbnail of each first short video files of user's dragging
Sequence, the display order of each first short video files is adjusted, the display order of each first short video files after adjustment is true
It is set to the splicing order of each first short video files.
When transmitting terminal shows the thumbnail of each first short video files, transmitting terminal can show that the 4th option is prompted, the
Four options prompt the thumbnail for including each first short video files.It is short that user adjusts each first in the prompting of the 4th option
The display order of video file.Splicing option can also be included in the prompting of 4th option;As user, to have adjusted each first short-sighted
After the display order of frequency file, user can trigger splicing option, and concatenation is carried out to trigger transmitting terminal.Transmitting terminal receives
Splicing button be triggered caused by splicing instruction when, obtain adjustment after each first short video files display order, will adjust
The display order of each first short video files after whole is defined as the splicing order of each first short video files, performs step
(2)。
(2):Splicing order of the transmitting terminal based on each first short video files, each first short video files are spelled
Connect, obtain the second video file.
It should be noted that due to being limited by total duration is played, each first short video files are spliced into by transmitting terminal
After second video file, transmitting terminal determines the playing duration of the second video file;When the playing duration is default more than the 3rd
It is long, edlin is entered to the second video file so that the second multimedia playing duration after editor is no more than the 3rd preset duration.
After multiple first short video files are spliced into second video file by transmitting terminal, transmitting terminal can also pass through
Following steps S207-S209 adds text information in the second video file.
In step S207, transmitting terminal obtains the text information being inserted into.
In this step, user can be manually entered the text information being inserted into, namely following first way.Transmitting terminal
Can also be using the text information of each first short video files context as the text information being inserted into, namely following second
Implementation.The text information that transmitting terminal can also select user in dialog information as the text information being inserted into,
The third i.e. following implementation.Transmitting terminal can also be using the relevant information of each first short video files as the text being inserted into
Word information, namely following 4th kind of implementation.
For the first implementation, this step can be:
Transmitting terminal shows input frame, and the input frame is used for the text information that user's input is inserted into.User is in input frame
Inputting word information, transmitting terminal obtain the text information being transfused in input frame.
The text information being transfused to can be the text information of any languages, and in order to further facilitate user, send
End can also show translation button in current display interface;User can input the word letter of any languages in input frame
Breath, and the translating words information for being inputted user by translating button is the text information for the languages being selected.Accordingly, send
After end obtains the text information being transfused in input frame, in addition to:
Transmitting terminal display translation button;It is triggered caused interpretive order when receiving translation button, display includes more
The 5th option prompting of individual languages, the languages that user is selected in the prompting of the 5th option are obtained, the word of user's input is believed
Breath is translated as the text information of chosen languages.
For second of implementation, this step can be:
Transmitting terminal obtains the contextual information of chosen each first short video files, by each first short video files
Contextual information as the text information being inserted into.The contextual information of any first short video files include this any first
The preceding first preset number bar chat messages of short video files and/or rear second preset number bar chat messages.Wherein, chat disappears
Breath can be speech message or word message.When chat messages are speech message, transmitting terminal is converted to the speech message
Word message.
For the third implementation, this step can be:
Transmitting terminal obtains at least one text information being selected in dialog information, will an at least text information conduct
The text information being inserted into.
For the 4th kind of implementation, this step can be:
Transmitting terminal obtains the relevant information of each first short video files, by the relevant information of each first short video files
As the text information being inserted into.Wherein, the relevant information of any first short video files includes the hair of any video file
Part people, send in time, the group name of packet corresponding to dialog information or the user name of user at least one of.
It should be noted that when transmitting terminal obtains the text information being inserted into, transmitting terminal can be at least one more than
Mode is realized.
In step S208, transmitting terminal determines the insertion time range of the text information.
In this step, transmitting terminal can set a default insertion time range, by the default insertion time model
Enclose the insertion time range as the text information, namely following first way.Transmitting terminal can also allow for user currently defeated
Enter and insert time range, namely the following second way.Transmitting terminal can also obtain the insertion that user is set by gesture operation
Time range, namely the third following mode.
For the first implementation, this step can be:
Transmitting terminal obtains default insertion time range.
Default insertion time range can be configured and change as needed, in the disclosed embodiments, to default
Insertion time range be not especially limited.For example, default insertion time range can be 0~10s.
For second of implementation, this step can be:
Transmitting terminal shows the first option prompting comprising the first input frame and the second input frame, and the first input frame is used to input
Initial time is inserted, the second input frame is used to input the insertion end time, when obtaining the insertion starting inputted in the first input frame
Between and the second input frame input the insertion end time, will insertion initial time and insertion the end time composition insertion time model
Enclose.
In order to prevent the content in the first option prompting covering dialog information, the prompting of the first option is often arranged on dialogue letter
The lower section of breath, and the prompting of the first option does not cover any chat messages of dialog information.In the disclosed embodiments, can also incite somebody to action
First option is prompted to be arranged on the optional position of dialog information, and the prompting of the first option is arranged into transparent.
For the third implementation, transmitting terminal splices after obtaining the second video file, and user can be regarded with preview second
Frequency file, now transmitting terminal broadcast the second video file, when broadcast user want insertion text information original position when, use
Family can perform the operation of the first preset touch, and when being played to the end word of insertion text information, user can perform second
Preset touch operates.Accordingly, this step can be:
Transmitting terminal plays the second video file, during the second video file is played, when detecting that first is default tactile
During control operation, obtain the second video file it is current first play the moment, when detecting the operation of the second preset touch, obtain the
The second current broadcasting moment of two video files, moment and the second broadcasting moment composition insertion time range are played by first.
First preset touch is operated and the operation of the second preset touch be able to can also be differed with identical.Also, first is default
Touch control operation and the operation of the second preset touch can be configured and change as needed, in the disclosed embodiments, to the
One preset touch is operated and the operation of the second preset touch is all not especially limited.For example, the operation of the first preset touch is grasped to click on
Make, the operation of the second preset touch is also clicking operation.
For example, when user wants to insert text information in 5~15s of the second video file, when the second video file
When being played to 5s, user clicks on the terminal screen of transmitting terminal;When the second video file is played to 15s, user's point again
Fire the terminal screen of sending end.Transmitting terminal obtains first and plays the moment:5s, second plays the moment:15s, 5~15s is formed
Insert time range.
In step S209, transmitting terminal is based on insertion time range, and the text information is inserted in the second video file.
After transmitting terminal inserts the text information in the second video file, receiving terminal list and the Save option are shown.Connect
Receiving list includes multiple receiving terminals, and receiving terminal can be the good friend user of the user, or where the user
One group.Also, the receiving terminal in receiving terminal list is with the contact frequency in the 3rd preset duration before current time
Descending order is ranked up, or, receiving terminal in receiving terminal list with the last continuous time from the near to the remote
Order be ranked up, or the receiving terminal in receiving terminal list is ranked up with default sequence.Wherein, default sequence is and connect
The sequencing of the initial of the name of receiving end.
3rd preset duration can be configured and change as needed, in the disclosed embodiments, when default to the 3rd
Length is not especially limited;For example, the 3rd preset duration can be 1 week or 1 month etc..
When user wants the second video file of storage or forwarding, user can trigger to be preserved to the second video file
And/or the instruction of forwarding, perform step S210.
In step S210, transmitting terminal receives the instruction for preserving and/or forwarding to the second video file, according to what is received
The instruction for preserving and/or forwarding to the second video file, is preserved and/or is forwarded to the second video file.
The instruction can receive in user's triggering when splicing instruction, or after the second video file is obtained
User's triggering receives.When user's triggering receives when splicing instruction when the instruction, the instruction can be splicing forwarding
Instruction.When this is designated as when user's triggering receives after obtaining the second video file, transmitting terminal display is preserved and/or turned
Send out option;When detecting that the preservation and/or forwarding option are triggered, receive the second video file is preserved and/or forwarded
Instruction.Wherein, the instruction can preserve instruction or forwarding instruction or preservation and forwarding instruction.
(1) when the instruction is to preserve instruction, transmitting terminal is preserved and/or turned to the second video file according to receiving
The instruction of hair, the step of the second video file is preserved and/or forwarded can be:
The storage of second video file is arrived designated memory space by transmitting terminal.Wherein, designated memory space can be system diagram
Memory space corresponding to the user in storehouse, collecting folder or Cloud Server.In the disclosed embodiments to the second video text
The storage location of part is not especially limited.
(2) when the instruction is forwarding instruction, user can select one or more receiving terminals from receiving terminal list.
Accordingly, transmitting terminal is carried out according to the instruction for preserving and/or forwarding to the second video file received to the second video file
Preserve and/or can be the step of forwarding:
Transmitting terminal determines user's mark of receiving terminal, and the second video file is forwarded into receiving terminal.
In the disclosed embodiments, when user wants to forward multiple video files, transmitting terminal acquisition is selected multiple
First short video files, multiple first short video files are spliced, obtain the second video file, at the second video file
Manage to chosen receiving terminal.Because multiple first short video files have been spliced into second video file by transmitting terminal, because
This, receiving terminal receives only second video file, it is only necessary to an opening operation, it is possible to watches the multiple first short-sighted frequencies
The content of file, improves playing efficiency.
(3) when the instruction is preservation and forwarding instruction, user can select one or more to connect from receiving terminal list
Receiving end.Accordingly, transmitting terminal is according to the instruction for preserving and/or forwarding to the second video file received, to the second video text
The step of part is preserved and/or forwarded can be:
Transmitting terminal determines user's mark of receiving terminal, and the second video file is forwarded into receiving terminal, and the second video is literary
Designated memory space is arrived in part storage.
When transmitting terminal receives the instruction, receiving terminal list is shown.Receiving list includes multiple receiving terminals, and receiving terminal can be with
For the good friend user of the user, or a group where the user.User can select from receiving terminal list
Select one or more receiving terminals.Transmitting terminal obtains user's mark of chosen receiving terminal.
It should be noted that the second video file first can be forwarded to receiving terminal by transmitting terminal, then by the second video file
Store designated memory space.The storage of second video file first can also be arrived designated memory space by transmitting terminal, then second is regarded
Frequency file is forwarded to receiving terminal.Transmitting terminal can also be forwarded to receiving terminal by two threads, while by the second video file, with
And designated memory space is arrived into the storage of the second video file.In the disclosed embodiments, to the second video file of forwarding and guarantor
The execution sequence for depositing the second video file is not especially limited.
Because the embodiment of the present invention is applied in social networking application, therefore, the second video file is forwarded to reception by transmitting terminal
The step of end can be:
Transmitting terminal sends forwarding request to social networking application server, and forwarding request carries the second video file, transmitting terminal
User mark, each receiving terminal user mark.The forwarding request that social networking application server receiving end/sending end is sent, according to every
User's mark of individual receiving terminal, the second video file is handled to chosen each receiving terminal.Wherein, second video file
The user of the artificial transmitting terminal of outbox, the user of the artificial receiving terminal of addressee.
In the disclosed embodiments, multiple first short video files are spliced into second video file by transmitting terminal, will
Second video file is handled to good friend or is stored in transmitting terminal, so as to preserve the good time with friend, and immediately
Editor;And it can realize with the method for sending Video chat to carry out dialogue performance, enrich the experience of chat, allow chat more
It is interesting.
In the disclosed embodiments, transmitting terminal can splice multiple first short video files being selected in dialog information
Into second video file, so as to realize the progress video creation in dialog information, the experience of chat is enriched, is increased
The interest of chat.
Fig. 3 is a kind of video file processing unit block diagram according to an exemplary embodiment.The device bag of reference picture 3
Include:First determining module 301 and concatenation module 302.
First determining module 301, it is configured as determining chosen multiple first short video files in dialog information;
Concatenation module 302, it is configured as when receiving the splicing instruction for indicating splicing video file, by multiple the
One short video files are spliced, and obtain the second video file.
In a possible implementation, concatenation module 302, it is additionally configured to determine each first short video files
Splicing order, the splicing order based on each first short video files, each first short video files are spliced, obtain the
Two video files.
In a possible implementation, concatenation module 302, it is additionally configured to determine each first short video files
The time is sent, based on the transmission time of each first short video files, it is determined that the splicing order of each first short video files;Or
Person,
Concatenation module 302, it is additionally configured to determine the transmission time of each first short video files, it is short according to each first
The transmission time of video file, the thumbnail of each first short video files is shown, each first short-sighted frequency is dragged according to user
The order of the thumbnail of file, the display order of each first short video files is adjusted, by each first short-sighted frequency after adjustment
The display order of file is defined as the splicing order of each first short video files.
In a possible implementation, referring to Fig. 4, the device also includes:
Acquisition module 303, it is configured as obtaining the text information being inserted into;
Second determining module 304, it is configured to determine that the insertion time range of text information;
Module 305 is inserted, is configured as, based on insertion time range, text information being inserted in the second video file.
In a possible implementation, acquisition module 303, it is additionally configured to obtain the text information that user inputs;
And/or
Acquisition module 303, it is additionally configured to obtain the contextual information of chosen each first short video files, will be every
The contextual information of individual first short video files is believed as the text information being inserted into, the context of any first short video files
Breath includes the preceding first preset number bar chat messages of any first short video files and/or rear second present count in dialog information
Mesh bar chat messages;And/or
Acquisition module 303, it is additionally configured to obtain at least one text information being selected in dialog information, will at least
One text information is as the text information being inserted into;And/or
Acquisition module 303, it is additionally configured to obtain the relevant information of each first short video files, it is short-sighted by each first
The relevant information of frequency file includes any video as the text information being inserted into, the relevant information of any first short video files
The sender of file, send in time, the group name of packet corresponding to dialog information or the user name of user at least one of.
In a possible implementation, the second determining module 304, it is additionally configured to obtain default insertion time model
Enclose;Or
Second determining module 304, it is additionally configured to first option of the display comprising the first input frame and the second input frame and carries
Show, the first input frame is configured as input to insertion initial time, and the second input frame is configured as input to the insertion end time, obtains
The insertion initial time inputted in first input frame and the insertion end time of the second input frame input, initial time will be inserted
With insertion end time composition insertion time range;Or
Second determining module 304, it is additionally configured to play the second video file, is playing the process of the second video file
In, when detecting the operation of the first preset touch, obtain the second video file it is current first play the moment, when detecting second
When preset touch operates, the second current broadcasting moment of the second video file is obtained, when the first broadcasting moment and second are played
Carve composition insertion time range.
In a possible implementation, referring to Fig. 5, the device also includes:
Processing module 306, it is configured as receiving the instruction for preserving and/or forwarding to the second video file, according to receiving
To the second video file preserve and/or forward instruction, the second video file is preserved and/or forwarded.
In a possible implementation, referring to Fig. 6, the device also includes:
Pop-up module 307, it is configured as when dialog information meets ejection condition, ejection includes the second of multiselect option
Option is prompted, when the chat messages that ejection condition includes in dialog information are preset by the duration of continuous trigger more than first
It is long, or dialog information white space by the duration of continuous trigger more than the second preset duration;
Setup module 308, when the multiselect option being configured as in the prompting of the second option is triggered, set in dialog information
Each first short video files attribute to be optional.
In a possible implementation, referring to Fig. 7, the device also includes:
Display module 309, when the multiselect option being configured as in the prompting of the second option is triggered, display includes forwarding
The 3rd option prompting of option;
Receiving module 310, when the splicing option being configured as in the prompting of the 3rd option is triggered, receive in splicing option
Splicing instruction caused by being triggered.
In a possible implementation, the device also includes:
Forwarding module, for receiving the instruction to the forwarding of multiple first short video files, according to receiving to multiple the
Multiple first short video files are forwarded by the instruction of one short video files forwarding one by one.
Above-mentioned all optional technical schemes, any combination can be used to form the alternative embodiment of the disclosure, herein no longer
Repeat one by one.
In the disclosed embodiments, transmitting terminal can splice multiple first short video files being selected in dialog information
Into second video file, so as to realize the progress video creation in dialog information, the experience of chat is enriched, is increased
The interest of chat.
It should be noted that:Above-described embodiment provide video file processing device when video file is handled, only with
The division progress of above-mentioned each functional module, can be as needed and by above-mentioned function distribution by not for example, in practical application
Same functional module is completed, i.e., the internal structure of device is divided into different functional modules, to complete whole described above
Or partial function.In addition, the device and the method for video file processing of the video file processing that above-described embodiment provides are implemented
Example belongs to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
Fig. 8 is a kind of block diagram of video file processing unit 400 according to an exemplary embodiment.For example, device
400 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, and medical treatment is set
It is standby, body-building equipment, personal digital assistant etc..
Reference picture 8, device 400 can include following one or more assemblies:Processing component 402, memory 404, power supply
Component 406, multimedia groupware 408, audio-frequency assembly 410, the interface 412 of input/output (I/O), sensor cluster 414, and
Communication component 416.
The integrated operation of the usual control device 400 of processing component 402, such as communicated with display, call, data, phase
The operation that machine operates and record operation is associated.Processing component 402 can refer to including one or more processors 420 to perform
Order, to complete all or part of step of above-mentioned method.In addition, processing component 402 can include one or more modules, just
Interaction between processing component 402 and other assemblies.For example, processing component 402 can include multi-media module, it is more to facilitate
Interaction between media component 408 and processing component 402.
Memory 404 is configured as storing various types of data to support the operation in device 400.These data are shown
Example includes the instruction of any application program or method for being operated on device 400, contact data, telephone book data, disappears
Breath, picture, video etc..Memory 404 can be by any kind of volatibility or non-volatile memory device or their group
Close and realize, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) are erasable to compile
Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash
Device, disk or CD.
Power supply module 406 provides electric power for the various assemblies of device 400.Power supply module 406 can include power management system
System, one or more power supplys, and other components associated with generating, managing and distributing electric power for device 400.
Multimedia groupware 408 is included in the screen of one output interface of offer between described device 400 and user.One
In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen
Curtain may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch sensings
Device is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or sliding action
Border, but also detect and touched or the related duration and pressure of slide with described.In certain embodiments, more matchmakers
Body component 408 includes a front camera and/or rear camera.When device 400 is in operator scheme, such as screening-mode or
During video mode, front camera and/or rear camera can receive outside multi-medium data.Each front camera and
Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio-frequency assembly 410 is configured as output and/or input audio signal.For example, audio-frequency assembly 410 includes a Mike
Wind (MIC), when device 400 is in operator scheme, during such as call model, logging mode and speech recognition mode, microphone by with
It is set to reception external audio signal.The audio signal received can be further stored in memory 404 or via communication set
Part 416 is sent.In certain embodiments, audio-frequency assembly 410 also includes a loudspeaker, for exports audio signal.
I/O interfaces 412 provide interface between processing component 402 and peripheral interface module, and above-mentioned peripheral interface module can
To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock
Determine button.
Sensor cluster 414 includes one or more sensors, and the state for providing various aspects for device 400 is commented
Estimate.For example, sensor cluster 414 can detect opening/closed mode of device 400, and the relative positioning of component, for example, it is described
Component is the display and keypad of device 400, and sensor cluster 414 can be with 400 1 components of detection means 400 or device
Position change, the existence or non-existence that user contacts with device 400, the orientation of device 400 or acceleration/deceleration and device 400
Temperature change.Sensor cluster 414 can include proximity transducer, be configured to detect in no any physical contact
The presence of neighbouring object.Sensor cluster 414 can also include optical sensor, such as CMOS or ccd image sensor, for into
As being used in application.In certain embodiments, the sensor cluster 414 can also include acceleration transducer, gyro sensors
Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 416 is configured to facilitate the communication of wired or wireless way between device 400 and other equipment.Device
400 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementation
In example, communication component 416 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel.
In one exemplary embodiment, the communication component 416 also includes near-field communication (NFC) module, to promote junction service.Example
Such as, in NFC module radio frequency identification (RFID) technology can be based on, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology,
Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 400 can be believed by one or more application specific integrated circuits (ASIC), numeral
Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing above-mentioned video file processing side
Method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided
Such as include the memory 404 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 420 of device 400.For example,
The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk
With optical data storage devices etc..
Those skilled in the art will readily occur to the disclosure its after considering specification and putting into practice invention disclosed herein
Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or
Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledges in the art of the disclosure
Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following
Claim is pointed out.
It should be appreciated that the precision architecture that the disclosure is not limited to be described above and is shown in the drawings, and
And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.
Claims (22)
1. a kind of video file processing method, it is characterised in that methods described includes:
Chosen multiple first short video files are determined in dialog information;
When receiving the splicing instruction for indicating splicing short video files, the multiple first short video files are spelled
Connect, obtain the second video file.
2. according to the method for claim 1, it is characterised in that described to be spelled the multiple first short video files
Connect, obtain the second video file, including:
It is determined that the splicing order of each first short video files;
Splicing order based on each first short video files, each first short video files are spliced, obtained
To the second video file.
3. according to the method for claim 2, it is characterised in that the splicing of each first short video files of determination is suitable
Sequence, including:
The transmission time of each first short video files is determined, during transmission based on each first short video files
Between, determine the splicing of each first short video files sequentially;Or
The transmission time of each first short video files is determined, during according to the transmission of each first short video files
Between, the thumbnail of each first short video files is shown, the contracting of each first short video files is dragged according to user
The order of sketch map, the display order of each first short video files is adjusted, by each first short video files after adjustment
Display order be defined as each first short video files splicing order.
4. according to any described methods of claim 1-3, it is characterised in that described to enter the multiple first short video files
Row splicing, after obtaining the second video file, methods described also includes:
Obtain the text information being inserted into;
Determine the insertion time range of the text information;
Based on the insertion time range, the text information is inserted in second video file.
5. according to the method for claim 4, it is characterised in that the text information that the acquisition is inserted into, including:
Obtain the text information of user's input;And/or
The contextual information of chosen each first short video files is obtained, above and below each first short video files
The text information that literary information is inserted into as described in, the contextual information of any first short video files include the dialog information
Described in any first short video files preceding first preset number bar chat messages and/or rear second preset number bar chat disappear
Breath;And/or
At least one text information being selected in the dialog information is obtained, using at least one text information as institute
State the text information being inserted into;And/or
The relevant information of each first short video files is obtained, the relevant information of each first short video files is made
For the text information being inserted into, the relevant information of any first short video files includes any video file
Sender, send in time, the group name of packet corresponding to dialog information or the user name of user at least one of.
6. according to the method for claim 4, it is characterised in that the insertion time range for determining the text information,
Including:
Obtain default insertion time range;Or
First option prompting of the display comprising the first input frame and the second input frame, first input frame, which is used to input, to be inserted
Begin the time, second input frame is used to input the insertion end time, obtains the insertion starting inputted in first input frame
Time and the insertion end time of second input frame input, by the insertion initial time and the insertion end time
Form the insertion time range;Or
Second video file is played, during second video file is played, when detecting the first preset touch
During operation, the first current broadcasting moment of second video file is obtained, when detecting the operation of the second preset touch, is obtained
The second current broadcasting moment of second video file, moment and the second broadcasting moment composition institute are played by described first
State insertion time range.
7. according to the method for claim 1, it is characterised in that methods described also includes:
Receive the instruction for preserving and/or forwarding to second video file;
According to the instruction for preserving and/or forwarding to second video file received, second video file is carried out
Preserve and/or forward.
8. according to the method for claim 1, it is characterised in that described that chosen multiple first are determined in dialog information
Before short video files, methods described also includes:
When the dialog information meets ejection condition, ejection includes the second option prompting of multiselect option, the ejection bar
Part is including a chat messages in the dialog information by the duration of continuous trigger more than the first preset duration, or the dialogue
The white space of information is by the duration of continuous trigger more than the second preset duration;
When the multiselect option in second option prompting is triggered, each first short-sighted frequency in the dialog information is set
The attribute of file is optional.
9. according to the method for claim 8, it is characterised in that described that chosen multiple first are determined in dialog information
After short video files, methods described also includes:
When the multiselect option in second option prompting is triggered, display includes the 3rd option prompting of splicing option;
When the splicing option in the 3rd option prompting is triggered, receives and produced when the splicing option is triggered
The splicing instruction.
10. according to the method for claim 1, it is characterised in that methods described also includes:
Receive the instruction to the forwarding of the multiple first short video files;
According to the instruction forwarded to the multiple first short video files received, the multiple first short video files are entered
Row forwards one by one.
11. a kind of video file processing unit, it is characterised in that described device includes:
First determining module, for determining chosen multiple first short video files in dialog information;
Concatenation module, for receive for indicate splicing short video files splicing instruction when, it is short by the multiple first
Video file is spliced, and obtains the second video file.
12. device according to claim 11, it is characterised in that
The concatenation module, it is additionally operable to determine the splicing order of each first short video files, it is short-sighted based on described each first
The splicing order of frequency file, each first short video files are spliced, obtain the second video file.
13. device according to claim 12, it is characterised in that
The concatenation module, it is additionally operable to determine the transmission time of each first short video files, based on described each first
The transmission time of short video files, determine the splicing order of each first short video files;Or
The concatenation module, it is additionally operable to determine the transmission time of each first short video files, according to described each first
The transmission time of short video files, the thumbnail of each first short video files is shown, it is described each according to user's dragging
The order of the thumbnail of first short video files, the display order of each first short video files is adjusted, after adjustment
The display order of each first short video files is defined as the splicing order of each first short video files.
14. according to any described devices of claim 11-13, it is characterised in that described device also includes:
Acquisition module, for obtaining the text information being inserted into;
Second determining module, for determining the insertion time range of the text information;
Module is inserted, for based on the insertion time range, the text information to be inserted in second video file.
15. device according to claim 14, it is characterised in that
The acquisition module, it is additionally operable to obtain the text information of user's input;And/or
The acquisition module, it is additionally operable to obtain the contextual information of chosen each first short video files, will be described each
The text information that the contextual information of first short video files is inserted into as described in, the context of any first short video files
Information include the dialog information described in any first short video files preceding first preset number bar chat messages and/or after
Second preset number bar chat messages;And/or
The acquisition module, it is additionally operable to obtain at least one text information being selected in the dialog information, by described in extremely
The text information that a few text information is inserted into as described in;And/or
The acquisition module, it is additionally operable to obtain the relevant information of each first short video files, it is short by described each first
The text information that the relevant information of video file is inserted into as described in, the relevant information bag of any first short video files
Include the sender of any video file, send time, the group name of packet corresponding to dialog information or the user name of user
At least one of in.
16. device according to claim 14, it is characterised in that
Second determining module, it is additionally operable to obtain default insertion time range;Or
Second determining module, first option prompting of the display comprising the first input frame and the second input frame is additionally operable to, it is described
First input frame is used to input insertion initial time, and second input frame is used to input the insertion end time, obtains described the
The insertion initial time inputted in one input frame and the insertion end time of second input frame input, inserted described
Begin time and the insertion end time composition insertion time range;Or
Second determining module, it is additionally operable to play second video file, is playing the process of second video file
In, when detecting the operation of the first preset touch, obtain second video file it is current first play the moment, when detecting
When second preset touch operates, the second current broadcasting moment of second video file is obtained, the moment is played by described first
The moment composition insertion time range is played with described second.
17. device according to claim 11, it is characterised in that described device also includes:
Processing module, for receiving the instruction for preserving and/or forwarding to second video file, according to receiving to described
Second video file preserves and/or the instruction of forwarding, and second video file is preserved and/or forwarded.
18. device according to claim 11, it is characterised in that described device also includes:
Pop-up module, for when the dialog information meets ejection condition, the second option that ejection includes multiselect option to carry
Show, when the chat messages that the ejection condition includes in the dialog information are preset by the duration of continuous trigger more than first
It is long, or the dialog information white space by the duration of continuous trigger more than the second preset duration;
Setup module, for when the multiselect option in second option prompting is triggered, setting in the dialog information
The attribute of each first short video files is optional.
19. device according to claim 18, it is characterised in that described device also includes:
Display module, for when the multiselect option in second option prompting is triggered, display to include splicing option
3rd option is prompted;
Receiving module, for when the splicing option in the 3rd option prompting is triggered, receiving in the splicing choosing
Item be triggered caused by it is described splicing instruction.
20. device according to claim 11, it is characterised in that described device also includes:
Forwarding module, for receiving the instruction to the forwarding of the multiple first short video files, according to receiving to described more
The multiple first short video files are forwarded by the instruction of individual first short video files forwarding one by one.
A kind of 21. video file processing unit, it is characterised in that including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
Chosen multiple first short video files are determined in dialog information;
When receiving the splicing instruction for indicating splicing short video files, the multiple first short video files are spelled
Connect, obtain the second video file.
22. a kind of computer-readable recording medium, computer program is stored with the computer-readable recording medium, its feature
It is, following steps is realized when described program is executed by processor:
Chosen multiple first short video files are determined in dialog information;
When receiving the splicing instruction for indicating splicing short video files, the multiple first short video files are spelled
Connect, obtain the second video file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710841908.9A CN107566892B (en) | 2017-09-18 | 2017-09-18 | Video file processing method and device and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710841908.9A CN107566892B (en) | 2017-09-18 | 2017-09-18 | Video file processing method and device and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107566892A true CN107566892A (en) | 2018-01-09 |
CN107566892B CN107566892B (en) | 2020-09-08 |
Family
ID=60981126
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710841908.9A Active CN107566892B (en) | 2017-09-18 | 2017-09-18 | Video file processing method and device and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107566892B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111193960A (en) * | 2019-09-27 | 2020-05-22 | 腾讯科技(深圳)有限公司 | Video processing method and device, electronic equipment and computer readable storage medium |
CN111405375A (en) * | 2020-04-14 | 2020-07-10 | 出通科技(上海)有限公司 | Video online interactive fusion generation and management method and device |
CN112307252A (en) * | 2020-10-29 | 2021-02-02 | 维沃移动通信有限公司 | File processing method and device and electronic equipment |
CN112905837A (en) * | 2021-04-09 | 2021-06-04 | 维沃移动通信(深圳)有限公司 | Video file processing method and device and electronic equipment |
CN113302659A (en) * | 2019-01-18 | 2021-08-24 | 斯纳普公司 | System and method for generating personalized video with customized text messages |
CN113473224A (en) * | 2021-06-29 | 2021-10-01 | 北京达佳互联信息技术有限公司 | Video processing method and device, electronic equipment and computer readable storage medium |
CN114422468A (en) * | 2020-10-12 | 2022-04-29 | 腾讯科技(深圳)有限公司 | Message processing method, device, terminal and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020137507A1 (en) * | 2001-03-20 | 2002-09-26 | Techimage, Llp., | System and method for providing automatic multimedia messages service |
CN104244086A (en) * | 2014-09-03 | 2014-12-24 | 陈飞 | Video real-time splicing device and method based on real-time conversation semantic analysis |
CN105049317A (en) * | 2015-05-21 | 2015-11-11 | 腾讯科技(深圳)有限公司 | Message forwarding method and apparatus |
CN105141496A (en) * | 2014-05-29 | 2015-12-09 | 腾讯科技(深圳)有限公司 | Instant communication message playback method and device |
CN106357509A (en) * | 2016-08-31 | 2017-01-25 | 维沃移动通信有限公司 | Method for checking received messages and mobile terminal |
-
2017
- 2017-09-18 CN CN201710841908.9A patent/CN107566892B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020137507A1 (en) * | 2001-03-20 | 2002-09-26 | Techimage, Llp., | System and method for providing automatic multimedia messages service |
CN105141496A (en) * | 2014-05-29 | 2015-12-09 | 腾讯科技(深圳)有限公司 | Instant communication message playback method and device |
CN104244086A (en) * | 2014-09-03 | 2014-12-24 | 陈飞 | Video real-time splicing device and method based on real-time conversation semantic analysis |
CN105049317A (en) * | 2015-05-21 | 2015-11-11 | 腾讯科技(深圳)有限公司 | Message forwarding method and apparatus |
CN106357509A (en) * | 2016-08-31 | 2017-01-25 | 维沃移动通信有限公司 | Method for checking received messages and mobile terminal |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113302659A (en) * | 2019-01-18 | 2021-08-24 | 斯纳普公司 | System and method for generating personalized video with customized text messages |
CN111193960A (en) * | 2019-09-27 | 2020-05-22 | 腾讯科技(深圳)有限公司 | Video processing method and device, electronic equipment and computer readable storage medium |
CN111193960B (en) * | 2019-09-27 | 2022-12-27 | 腾讯科技(深圳)有限公司 | Video processing method and device, electronic equipment and computer readable storage medium |
CN111405375A (en) * | 2020-04-14 | 2020-07-10 | 出通科技(上海)有限公司 | Video online interactive fusion generation and management method and device |
CN111405375B (en) * | 2020-04-14 | 2022-01-07 | 出通科技(上海)有限公司 | Video online interactive fusion generation and management method and device |
CN114422468A (en) * | 2020-10-12 | 2022-04-29 | 腾讯科技(深圳)有限公司 | Message processing method, device, terminal and storage medium |
CN112307252A (en) * | 2020-10-29 | 2021-02-02 | 维沃移动通信有限公司 | File processing method and device and electronic equipment |
CN112905837A (en) * | 2021-04-09 | 2021-06-04 | 维沃移动通信(深圳)有限公司 | Video file processing method and device and electronic equipment |
CN113473224A (en) * | 2021-06-29 | 2021-10-01 | 北京达佳互联信息技术有限公司 | Video processing method and device, electronic equipment and computer readable storage medium |
CN113473224B (en) * | 2021-06-29 | 2023-05-23 | 北京达佳互联信息技术有限公司 | Video processing method, video processing device, electronic equipment and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107566892B (en) | 2020-09-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107566892A (en) | Video file processing method, device and computer-readable recording medium | |
KR101820781B1 (en) | Methods and apparatus for album display | |
CN104898613B (en) | The control method and device of smart home device | |
CN104506410B (en) | The method and apparatus of instant messaging | |
CN104951500B (en) | Method for displaying head portrait, device and terminal | |
CN107767864B (en) | Method and device for sharing information based on voice and mobile terminal | |
CN106921560A (en) | Voice communication method, apparatus and system | |
CN106528709A (en) | Social information recommendation method and apparatus | |
KR20170035350A (en) | Method, device and terminal device for changing emoticon in chat interface | |
CN109683714A (en) | Multimedia resource management method, apparatus and storage medium | |
CN107145270A (en) | Emotion icons sort method and device | |
CN109461462B (en) | Audio sharing method and device | |
CN109151565B (en) | Method and device for playing voice, electronic equipment and storage medium | |
CN104517621B (en) | Equipment configuration method and device | |
CN104636164B (en) | Start page generation method and device | |
CN107423386A (en) | Generate the method and device of electronic card | |
CN107820131A (en) | Share the method and device of comment information | |
CN104156204A (en) | Calendar event establishing method and device | |
CN105427443A (en) | Voting message sending method and device | |
CN106155703A (en) | The display packing of emotional state and device | |
CN104268151A (en) | Contact person grouping method and device | |
CN104681049B (en) | The display methods and device of prompt message | |
EP2838225A1 (en) | Message based conversation function execution method and electronic device supporting the same | |
CN103970831B (en) | Recommend the method and apparatus of icon | |
CN105357388A (en) | Information recommending method and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |