CN106412645A - Method and apparatus for uploading video file to multimedia server - Google Patents
Method and apparatus for uploading video file to multimedia server Download PDFInfo
- Publication number
- CN106412645A CN106412645A CN201610816396.6A CN201610816396A CN106412645A CN 106412645 A CN106412645 A CN 106412645A CN 201610816396 A CN201610816396 A CN 201610816396A CN 106412645 A CN106412645 A CN 106412645A
- Authority
- CN
- China
- Prior art keywords
- video data
- information
- button
- file
- main broadcaster
- 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
- 238000000034 method Methods 0.000 title claims abstract description 64
- 230000008569 process Effects 0.000 claims abstract description 29
- 230000001960 triggered effect Effects 0.000 claims abstract description 27
- 238000000605 extraction Methods 0.000 claims description 42
- 230000015572 biosynthetic process Effects 0.000 claims description 17
- 238000003786 synthesis reaction Methods 0.000 claims description 17
- 239000000284 extract Substances 0.000 claims description 15
- 230000005540 biological transmission Effects 0.000 claims description 3
- 238000003780 insertion Methods 0.000 claims description 3
- 230000037431 insertion Effects 0.000 claims description 3
- 238000003860 storage Methods 0.000 description 9
- 230000008859 change Effects 0.000 description 6
- 238000011084 recovery Methods 0.000 description 6
- 238000012546 transfer Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 239000012634 fragment Substances 0.000 description 4
- 230000004048 modification Effects 0.000 description 4
- 238000012986 modification Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000005070 sampling Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000006399 behavior Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000002372 labelling Methods 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/27—Server based end-user applications
- H04N21/274—Storing end-user multimedia data in response to end-user request, e.g. network recorder
- H04N21/2743—Video hosting of uploaded data from client
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/433—Content storage operation, e.g. storage operation in response to a pause request, caching operations
- H04N21/4334—Recording operations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/44008—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
- H04N21/47205—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for manipulating displayed content, e.g. interacting with MPEG-4 objects, editing locally
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses a method and apparatus for uploading a video file to a multimedia server, and belongs to the technical field of the Internet. The method comprises the following steps: displaying a recording button in a live broadcast interface of an anchor user, and when the recording button is detected to be triggered, starting to shoot to obtain video data; in a shooting process, acquiring character information corresponding to the shot video data; and generating the video file according to the video data and the character information, and uploading the video file to the multimedia server. The apparatus comprises a shooting module, an acquisition module, a generation module and an uploading module. According to the method and apparatus disclosed by the invention, the video data are directly shot in the live broadcast application interface of a user terminal, the video data and the acquired character information are generated into the video file, and the video file is uploaded to the multimedia server. Since the video data copy and other steps are omitted, the operation process is simple, and the uploading efficiency of the user terminal to upload the video file to the multimedia server is improved.
Description
Technical field
The present invention relates to Internet technical field, particularly to a kind of method to multimedia server uploaded videos file
And device.
Background technology
With the development of Internet technology, the function of live application gets more and more, and live application not only has direct broadcast function,
Also there is broadcasting video capability;Main broadcaster user can be to multimedia server uploaded videos file, and spectators user is in live application
Middle this video file of viewing.For example, main broadcaster user shoots a video segment, uploads this video segment to multimedia server,
Spectators user watches this video segment in live application.
At present, when main broadcaster user is to multimedia server uploaded videos fragment, (for example, main broadcaster user uses picture pick-up device
Video camera) shoot obtain video data, this video data is copied in user terminal, inputs this video segment to user terminal
Word message, Word message includes Back ground Information (for example, director's title, performer's title, the piece of caption information and video segment
The information such as name, brief introduction, sponsor);User terminal this caption information is added in this video data obtains a video segment,
User terminal logs in multimedia server by live application, uploads this video segment to multimedia server.
During realizing the present invention, inventor finds that prior art at least has problems with:
Said method need picture pick-up device and user terminal cooperation could to multimedia server uploaded videos fragment, thus
Need through copy video data in said method, log in multiple loaded down with trivial details behaviour such as multimedia server and uploaded videos fragment
Make, could be to multimedia server uploaded videos fragment, thus leading to transfer efficiency low.
Content of the invention
In order to solve problem of the prior art, the invention provides a kind of side to multimedia server uploaded videos file
Method and device.Technical scheme is as follows:
A kind of method to multimedia server uploaded videos file, methods described includes:
Show recording button in the live interface of main broadcaster user, described recording button is detected when being triggered, start into
Row shoots, and obtains video data;
In shooting process, obtain and shoot the corresponding Word message of described video data obtaining;
According to described video data and described Word message, generate video file, and upload to multimedia server described
Video file.
Optionally, described Word message includes caption information and essential information;
Described acquisition shoots the corresponding Word message of described video data obtaining, including:
Extract the voice messaging in described video data, identify described voice messaging, obtain described caption information;
Obtain the essential information of the described video data of described main broadcaster's user input.
Optionally, described generate video file according to described video data with described Word message, including:
Show synthesis button in described live interface, described synthesis button is detected when being triggered, obtain described video
The slice header information of data and run-out information;
Described slice header information, described run-out information and described video data are spliced, described Word message is inserted
In spliced described video data, obtain video file.
Optionally, the described slice header information obtaining described video data and run-out information, including:
By the first default extraction algorithm, extract the first key frame of described video data, obtain described video data
Slice header information;
By the second default extraction algorithm, extract the second key frame of described video data, obtain described video data
Run-out information.
Optionally, the described slice header information obtaining described video data and run-out information, including:
Obtain the 3rd key frame that described main broadcaster user selects from image library, obtain the head letter of described video data
Breath, described image storehouse includes multiple images frame;
Obtain the 4th key frame that described main broadcaster user selects from described image storehouse, obtain the run-out of described video data
Information.
Optionally, methods described also includes:
Show live button in described live interface, when described live button is detected and being triggered, in shooting process,
Described video file is sent to vlewer terminals by described multimedia server.
A kind of device to multimedia server uploaded videos file, described device includes:
Taking module, records button for showing in the live interface of main broadcaster user, described recording button quilt is detected
During triggering, proceed by shooting, obtain video data;
Acquisition module, in shooting process, obtaining and shooting the corresponding Word message of video data obtaining;
Generation module, for according to described video data and described Word message, generating video file;
Upper transmission module, for uploading described video file to multimedia server.
Optionally, described acquisition module, including:
Recognition unit, for extracting the voice messaging in described video data, identifies described voice messaging, obtains described word
Curtain information;
First acquisition unit, for obtaining the essential information of the described video data of described main broadcaster's user input.
Optionally, described generation module, including:
Second acquisition unit, for showing synthesis button in described live interface, detects described synthesis button and is touched
When sending out, obtain slice header information and the run-out information of described video data;
Insertion unit, for described slice header information, described run-out information and described video data are spliced, will be described
Word message inserts in spliced described video data, obtains video file.
Optionally, described second acquisition unit, including:
First extraction subelement, for by the first default extraction algorithm, extracting the first key frame of described video data,
Obtain the slice header information of described video data;
Second extraction subelement, for by the second default extraction algorithm, extracting the second key frame of described video data,
Obtain the run-out information of described video data.
Optionally, described second acquisition unit, including:
First acquisition subelement, for obtaining the 3rd key frame that described main broadcaster user selects from image library, obtains institute
State the slice header information of video data, described image storehouse includes multiple images frame;
Second acquisition subelement, for obtaining the 4th key frame that described main broadcaster user selects from described image storehouse, obtains
Run-out information to described video data.
Optionally, described device also includes:
Sending module, for showing live button in described live interface, when described live button is detected and being triggered,
In shooting process, described video file is sent to vlewer terminals by described multimedia server.
In embodiments of the present invention, user terminal directly can carry out shooting by the live interface of live application and regarded
Frequency evidence, and obtain the corresponding Word message of this video data, this video data and Word message are directly synthesized by user terminal
Video file, and upload this video file to multimedia server, eliminate the steps such as copy video data, operating process letter
Single, improve user terminal to upper transfer efficiency during multimedia server uploaded videos file.
Brief description
Fig. 1 is a kind of method flow diagram to multimedia server uploaded videos file provided in an embodiment of the present invention;
Fig. 2-1 is a kind of method flow diagram to multimedia server uploaded videos file provided in an embodiment of the present invention;
Fig. 2-2 is a kind of schematic diagram of essential information inputting interface provided in an embodiment of the present invention;
Fig. 3 is that a kind of apparatus structure to multimedia server uploaded videos file provided in an embodiment of the present invention is illustrated
Figure.
Specific embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention
Formula is described in further detail.
In order to realize generating in the user terminal video file, and improve upper to multimedia server uploaded videos file
Transfer efficiency;The live interface of main broadcaster user increases and records button, main broadcaster user can be by clicking on this recording button, to touch
Send out user terminal and proceed by shooting;When this recording button is detected and being triggered, user terminal proceeds by shooting, obtains video
Data;In shooting process, obtain and shoot the corresponding Word message of video data obtaining, according to this video data and this word
Information, generates video file, to multimedia server uploaded videos file, thus being achieved with live application, in user eventually
Generate video file in end, and directly in live application, upload this video file to multimedia server, improve upload effect
Rate.
Embodiments provide a kind of method to multimedia server uploaded videos file, the execution master of the method
Body is user terminal.Wherein, user terminal can be the mobile terminals such as mobile phone or panel computer or PC (Personal
Computer, personal computer) terminal.Multimedia server can be live application server or video playback server
Deng.
User terminal can include input equipment, memory, processor and output equipment.Wherein, this input equipment is permissible
It is microphone and camera, can be used for being shot, obtain video data.Memory can be used for storage execution to multimedia
The application code of server uploaded videos file;Processor can be used for the application program generation according to storage in this memory
Code, in shooting process, obtains and shoots the corresponding Word message of video data obtaining, according to video data and Word message,
Generate video file, and to multimedia server uploaded videos file.This output equipment can be display screen and loudspeaker etc..Separately
Outward, this user equipment can also include the parts such as power supply, sensor.
Embodiments provide a kind of method to multimedia server uploaded videos file, the execution master of the method
Body is user terminal, and referring to Fig. 1, the method includes:
Step 101:Recording button is shown in the live interface of main broadcaster user, when this recording button is detected and being triggered,
Proceed by shooting, obtain video data.
Step 102:In shooting process, obtain and shoot the corresponding Word message of video data obtaining.
Step 103:According to this video data and this Word message, generate video file, and upload to multimedia server
This video file.
Optionally, this word packet includes caption information and essential information;
Obtain and shoot the corresponding Word message of this video data obtaining, including:
Extract the voice messaging in video data, identify this voice messaging, obtain caption information;
Obtain the essential information of this video data of main broadcaster's user input.
Optionally, according to this video data and Word message, generate video file, including:
Show synthesis button in live interface, when this synthesis button is detected and being triggered, obtain the piece of this video data
Header and run-out information;
This slice header information, this run-out information and this video data are spliced, this Word message is inserted spliced
In this video data, obtain video file.
Optionally, slice header information and the run-out information of this video data are obtained, including:
By the first default extraction algorithm, extract the first key frame of this video data, obtain the head of this video data
Information;
By the second default extraction algorithm, extract the second key frame of this video data, obtain the run-out of this video data
Information.
Optionally, slice header information and the run-out information of this video data are obtained, including:
Obtain the 3rd key frame that main broadcaster user selects from image library, obtain the slice header information of this video data, image
Storehouse includes multiple images frame;
Obtain the 4th key frame that main broadcaster user selects from image library, obtain the run-out information of this video data.
Optionally, the method also includes:
Show live button in live interface, when this live button is detected and being triggered, in shooting process, by many
Media server sends this video file to vlewer terminals.
In embodiments of the present invention, user terminal directly can carry out shooting by the live interface of live application and regarded
Frequency evidence, and obtain the corresponding Word message of this video data, this video data and Word message are directly synthesized by user terminal
Video file, and upload this video file to multimedia server, eliminate the steps such as copy video data, operating process letter
Single, improve user terminal to upper transfer efficiency during multimedia server uploaded videos file.
Embodiments provide a kind of method to multimedia server uploaded videos file, the execution master of the method
Body is user terminal, and referring to Fig. 2-1, the method includes:
Step 201:Show recording button in the live interface of main broadcaster user, user terminal detects this recording button quilt
During triggering, proceed by shooting, obtain video data.
In order to realize generating video file in live application, increase in the live interface of main broadcaster user and record button;
This recording button starts to shoot order to user terminal for triggering.When user terminal detects this recording button and is triggered, raw
Become to start to shoot order, start to shoot order according to this, open the camera of user terminal, shot by this camera,
Obtain video data.Wherein, video data includes voice messaging and image information.
Main broadcaster's user's control shooting process for convenience, increases pause button, recovery in the live interface of main broadcaster user
Button, time-out and at least one of save button and conclusion button button.Pause button is used for triggering time-out shooting order and gives
User terminal;Recovery button is used for triggering and recovers to shoot order to user terminal;Suspend to be used for triggering suspending with save button and clap
Take the photograph order and preserve order to user terminal;Conclusion button is used for triggering and terminates to shoot order to user terminal.
For example, display halt button and recovery button in the live interface of main broadcaster user;When main broadcaster user wants to fix tentatively
During recording, main broadcaster user can click on this pause button and shoot order to user terminal to trigger to suspend;When main broadcaster user wants
When recovering to record, main broadcaster user can click on this recovery button and recover to shoot order to user terminal to trigger.User terminal is examined
When measuring this pause button and being triggered, generate to suspend and shoot order;Order is shot according to this time-out, stops shooting.User terminal
When this recovery button is detected and being triggered, generate and recover to shoot order, order is shot according to this recovery, proceed to shoot, obtain
To video data.
For another example, display halt and save button in the live interface of main broadcaster user;When main broadcaster user wants tentative recording
And when preserving the video data of recording, main broadcaster user can click on this time-out and save button with trigger suspend shoot order and
Preserve order to user terminal.When user terminal detects this time-out and save button and is triggered, generate suspend shoot order and
Preserve order;Order is shot according to this time-out, stops being shot;According to this preservation order, storage shoots the video counts obtaining
According to.
For another example, show conclusion button in the live interface of main broadcaster user;When main broadcaster user wants to terminate to record, main broadcaster
User can click on this conclusion button and stop shooting order to user terminal to trigger.User terminal detects this conclusion button quilt
During triggering, generate and terminate to shoot order;Terminate to shoot order according to this, close the camera of user terminal, stop shooting.
Step 202:In shooting process, user terminal obtains and shoots the corresponding Word message of this video data obtaining.
This word packet includes caption information and essential information, and caption information shoots, for user terminal, the video data obtaining
The corresponding caption information of middle voice messaging.Essential information at least includes photographer's (for example, directing) of this video data, participant
(for example, performer), title, brief introduction etc.;Essential information can also include the patronage of this video data, audio-frequency information title, shooting
The information such as place, shooting time.The embodiment of the present invention to the content of essential information and is not especially limited.
User terminal acquisition shoots the corresponding Word message of video data obtaining and can pass through following steps 2021-2022
Realize, including:
Step 2021:User terminal extracts the voice messaging in this video data, identifies voice messaging, obtains captions letter
Breath.
User terminal extracts the voice messaging in this video data, extracts phonetic feature sequence, root from this voice messaging
According to speech recognition algorithm and this phonetic feature sequence, this voice messaging is converted into caption information.
Further, after voice messaging is converted to caption information by user terminal, for each in this voice messaging
Sound bite (for example, in short), user terminal obtains the corresponding picture frame of this sound bite and caption information, stores this captions
Information and the corresponding relation of this picture frame, obtain this picture frame in order to follow-up according to this caption information, thus this captions is believed
Breath is added in this picture frame.
Further, user terminal in shooting process, can also play this video data in live interface in real time.
Step 2022:User terminal obtains the essential information of this video data of main broadcaster's user input.
Main broadcaster user can input the essential information of this video data before shooting video data to user terminal;?
Can be after voice messaging be converted into caption information, to the essential information of this video data of user input.
Before shooting video data, the process that main broadcaster user inputs the essential information of this video data to user terminal can
Think:
Load button is shown, this load button is used for triggering user terminal displays essential information input circle in live interface
Face;When main broadcaster user inputs the essential information of this video data to user terminal, main broadcaster user can click on this load button;With
When family terminal detects this load button and is triggered, show essential information inputting interface;Main broadcaster user can be in this essential information
The essential information of this video data is inputted in inputting interface;User terminal obtains main broadcaster user in this essential information inputting interface
The essential information of this video data of input, and this essential information is stored in designated storage area (for example it is intended that file
In).
Accordingly, this step can be:
User terminal detects the essential information whether storing this video data in designated storage area;If storage, obtain
Store the essential information of this video data of main broadcaster's user input.
If do not stored, user terminal ejects essential information inputting interface, obtains main broadcaster user and inputs in this essential information
The essential information of interface input.
For example, essential information includes photographer, participant, title and brief introduction;Referring to Fig. 2-2, then essential information input circle
Face include corresponding first input frame of photographer, corresponding second input frame of participant, corresponding 3rd input frame of title and
Corresponding 4th input frame of brief introduction;Main broadcaster user can input photographer's name in the first input frame, in the second input frame
Input participant's name, the title of input video file in the 3rd input frame, input video file in the 4th input frame
Brief introduction.
User terminal obtains photographer's name in the first input frame, the participant's name in the second input frame, the 3rd defeated
Enter the title of video file in frame and the brief introduction of this video file in the 4th input frame.
Further, when user terminal gets the essential information of this video data, this essential information can also be changed, tool
Body process can be:
When user terminal obtains the essential information of this video data of main broadcaster's user input, display the prompt box, in prompting frame
Including this essential information, modification button and ACK button.If live user does not need to change this essential information, main broadcaster user
This ACK button can be clicked on;When user terminal detects this ACK button and is triggered, execution step 203.If main broadcaster user
Need to change this essential information, then main broadcaster user can click on this modification button;User terminal detects this modification button and is touched
When sending out, show essential information inputting interface, this essential information inputting interface includes the essential information of main broadcaster user's input;Main
Broadcasting user can change this essential information in this essential information inputting interface;User terminal obtains the amended base of main broadcaster user
This information, execution step 203.
Step 203:User terminal, according to this video data and Word message, generates video file.
This step can be realized by following steps 2031-2032, including:
Step 2031:User terminal shows synthesis button in live interface, when this synthesis button is detected and being triggered, obtains
Take slice header information and the run-out information of this video data.
Synthesis button is shown, main broadcaster user can click on this synthesis button to trigger synthetic order to user in live interface
Terminal.When user terminal detects this synthesis button and is triggered, generate synthetic order, according to this synthetic order, obtain this video
The slice header information of data and run-out information.
When user terminal obtains slice header information and the run-out information of this video data, can be automatic according to default extraction algorithm
Extract slice header information and run-out information, namely the first implementation below;Picture frame can also be manually selected by main broadcaster user
Obtain slice header information and run-out information, namely following second implementation.
For the first implementation, user terminal obtains the slice header information of this video data and run-out information can be passed through
Following steps 2031-1 and 2031-2 realize, including:
Step 2031-1:User terminal, by the first default extraction algorithm, extracts the first key frame of video data, obtains
The slice header information of video data.
First key frame includes multiple first picture frames, then user terminal presets extraction algorithm according to first, from this video
Multiple first picture frame of extracting data, and the plurality of first picture frame is spliced, obtain the head letter of this video data
Breath.
Wherein, the first default extraction algorithm can be configured according to demand and change, for the in the embodiment of the present invention
One default extraction algorithm is not especially limited.For example, the first default extraction algorithm can be the key-frame extraction calculation based on sampling
Method or the Key-frame Extraction Algorithm based on characteristics of image etc..
For example, the first default extraction algorithm is the Key-frame Extraction Algorithm based on sampling, and the sampling period is 10;Then user
Terminal presets extraction algorithm according to first, and the step extracting multiple first picture frames from this video data can be:
User terminal, from the picture frame that this video data includes, selects a two field picture every 10 two field pictures, obtains multiple
First picture frame.
For another example, the first default extraction algorithm is the Key-frame Extraction Algorithm based on characteristics of image, then user terminal is according to the
One presets extraction algorithm, and the step extracting multiple first picture frames from this video data can be:
User terminal calculates the characteristic value of every two field picture that this video data includes, according to the characteristic value of every two field picture, from
Characteristic value maximum preset number the first picture frame is selected in this video data.
Preset number can be configured as needed and change, and in embodiments of the present invention, preset number is not made have
Body limits;For example, preset number can be 5 or 10 etc..
Step 2031-2:User terminal, by the second default extraction algorithm, extracts the second key frame of video data, obtains
The run-out information of video data.
Second key frame includes multiple second picture frames, then user terminal presets extraction algorithm according to second, from this video
Multiple second picture frame of extracting data, and the plurality of second picture frame is spliced, obtain the run-out letter of this video data
Breath.
Second default extraction algorithm can arrange according to demand and change, in embodiments of the present invention to the second default extraction
Algorithm is simultaneously not especially limited.And, the second default extraction algorithm can identical with the first default extraction algorithm it is also possible to the
One default extraction algorithm is different.For example, the second default extraction algorithm is based on the Key-frame Extraction Algorithm sampled or based on figure
Key-frame Extraction Algorithm as feature etc..
For second implementation, user terminal obtains the slice header information of this video data and run-out information can be passed through
Following steps 2031-3 and 2031-4 realize, including:
Step 2031-3:User terminal obtains the 3rd key frame that main broadcaster user selects from image library, obtains video counts
According to slice header information.
3rd key frame includes multiple 3rd picture frames;User terminal displays first choice interface, this first choice interface
Include the thumbnail of each picture frame in image library, main broadcaster user can be according in the thumbnail of each picture frame, from figure
As selecting multiple 3rd picture frames in storehouse;User terminal obtains multiple 3rd picture frames that main broadcaster user selects, by multiple three
Picture frame is spliced, and obtains the slice header information of this video data.
Each picture frame that this video data includes can be included it is also possible to include setting in multimedia server in image library
The pre-set image frame put.
Step 2031-4:User terminal obtains the 4th key frame that main broadcaster user selects from image library, obtains video counts
According to run-out information.
4th key frame includes multiple 4th picture frames, user terminal displays second selection interface, this second selection interface
Include the thumbnail of each picture frame in image library, main broadcaster user can in the thumbnail according to each picture frame, from
Multiple 4th picture frames are selected in image library;User terminal obtains multiple 4th picture frames that main broadcaster user selects, by multiple the
Four picture frames are spliced, and obtain the run-out information of this video data.
Step 2032:Slice header information, run-out information and video data are spliced by user terminal, and Word message is inserted
In spliced video data, obtain video file.
Wherein, the step that slice header information, run-out information and video data are spliced by user terminal can be:
First two field picture of the last frame image of this slice header information and this video data is spliced by user terminal, will
The last frame image of this video data and the first two field picture of this run-out information are spliced, and obtain spliced video counts
According to.
Wherein, user terminal inserts Word message in this spliced video data, and the step obtaining video file can
To be realized by following steps 2032-1 and 2032-2, including:
Step 2032-1:User terminal inserts the caption information in Word message in this spliced video data.
For each picture frame in spliced video data, user terminal according to this picture frame, from picture frame and word
In the corresponding relation of curtain information, obtain the corresponding caption information of this picture frame, this caption information is inserted in this picture frame.
It should be noted that this caption information can be inserted any position in this picture frame by user terminal;For example, will
This caption information inserts bottom or top of this picture frame etc..
Step 2032-2:User terminal inserts the essential information in Word message in this spliced video data, obtains
To video file.
Essential information in Word message is inserted into slice header information and piece in spliced video data by user terminal
In the picture frame that tail information includes.
User terminal, according to this essential information, selects to show the image of this essential information from slice header information and run-out information
Frame, this essential information is shown in the picture frame of selection.
For example, essential information includes photographer, participant;User terminal can be by the photographer in essential information and participation
Person inserts in the front 100 two field picture frames of slice header information, the title in essential information, brief introduction etc. is inserted into the of slice header information
In 100-200 two field picture frame.Patronage in essential information, background audio title, spot for photography, shooting time etc. are inserted into piece
In the picture frame of tail information.
Further, user terminal can also obtain audio-frequency information, and audio-frequency information is inserted in this video file;Its
In, audio-frequency information can be music file.
Step 204:User terminal uploads this video file to multimedia server.
Upload button is shown, main broadcaster user can click on this upload button to trigger upload command to user in live interface
Terminal.When user terminal detects the upload button at live interface and is triggered, generate upload command, according to this upload command, obtain
Take the ID of main broadcaster user, upload ID and the video file of main broadcaster user to multimedia server.
User account that the ID of main broadcaster can be registered for main broadcaster in multimedia server or the pet name etc..
The ID of this main broadcaster user and this video file that multimedia server receive user terminal sends, this is regarded
The video labeling of frequency file is added in the list of videos of this main broadcaster user.
Further, user terminal can also upload the front cover of this video file, multimedia service to multimedia server
The front cover of this video file that device receive user terminal sends, associates the broadcast address of this front cover and this video file, by this envelope
Face is added in the main interface of this main broadcaster user.For example, the front cover of this video file is added to this main broadcaster by multimedia server
The personal production center of user.
Main broadcaster user or spectators user can click on the front cover of this video file, to ask to watch this video file;Many
Media server detect this front cover clicked when, according to this front cover, from the corresponding pass of the broadcast address of front cover and video file
Obtain the broadcast address of this video file in system, according to this broadcast address, send this video to user terminal or vlewer terminals
The video flowing of file.
Optionally, main broadcaster user can also send this video literary composition to spectators user in recorded video file processes in real time
Part, detailed process can be:
Show live button in live interface, when user terminal detects this live button and is triggered, in shooting process
In, this video file is sent to spectators' user terminal by multimedia server.
Wherein, the step that user terminal sends this video file by multimedia server to spectators' user terminal is permissible
For:
User terminal obtains the ID of main broadcaster user, sends the ID of this main broadcaster user to multimedia server
And video file.Multimedia server receives ID and the video file of this main broadcaster user, according to the use of this live user
Family identifies, and obtains the ID of the spectators user of this main broadcaster user currently viewing, according to the sight of this main broadcaster user currently viewing
The ID of many users, sends the video flowing of this video file to user terminal.
Vlewer terminals receive the video flowing of the video file that multimedia server sends, and play this video flowing, thus realizing
Main broadcaster user in shooting process by live for video file to spectators user.
Need say, if main broadcaster user in shooting process by live for video file to spectators user when, this video
File only includes caption information, does not include slice header information and run-out information.
In embodiments of the present invention, user terminal directly can carry out shooting by the live interface of live application and regarded
Frequency evidence, and obtain the corresponding Word message of this video data, this video data and Word message are directly synthesized by user terminal
Video file, and upload this video file to multimedia server, eliminate the steps such as copy video data, operating process letter
Single, improve user terminal to upper transfer efficiency during multimedia server uploaded videos file.
Embodiments provide a kind of device to multimedia server uploaded videos file, this device can be applied
In user terminal, for executing the above-mentioned method to multimedia server uploaded videos file.
Referring to Fig. 3, this device includes:
Taking module 301, records button for showing in the live interface of main broadcaster user, recording button is detected and is touched
When sending out, proceed by shooting, obtain video data;
Acquisition module 302, in shooting process, obtaining and shooting the corresponding Word message of video data obtaining;
Generation module 303, for according to video data and Word message, generating video file;
Upper transmission module 304, for multimedia server uploaded videos file.
Optionally, this acquisition module 302, including:
Recognition unit, for extracting the voice messaging in video data, identifies voice messaging, obtains caption information;
First acquisition unit, for obtaining the essential information of the video data of main broadcaster's user input.
Optionally, this generation module 303, including:
Second acquisition unit, for showing synthesis button in live interface, detects synthesis button when being triggered, obtains
The slice header information of video data and run-out information;
Insertion unit, for being spliced slice header information, run-out information and video data, Word message is inserted splicing
In video data afterwards, obtain video file.
Optionally, this second acquisition unit, including:
First extraction subelement, for by the first default extraction algorithm, extracting the first key frame of video data, obtaining
The slice header information of video data;
Second extraction subelement, for by the second default extraction algorithm, extracting the second key frame of video data, obtaining
The run-out information of video data.
Optionally, this second acquisition unit, including:
First acquisition subelement, for obtaining the 3rd key frame that main broadcaster user selects from image library, obtains video counts
According to slice header information, image library includes multiple images frame;
Second acquisition subelement, for obtaining the 4th key frame that main broadcaster user selects from image library, obtains video counts
According to run-out information.
Optionally, this device also includes:
Sending module, for showing live button in live interface, when live button is detected and being triggered, was shooting
Cheng Zhong, sends video file by multimedia server to vlewer terminals.
In embodiments of the present invention, user terminal directly can carry out shooting by the live interface of live application and regarded
Frequency evidence, and obtain the corresponding Word message of this video data, this video data and Word message are directly synthesized by user terminal
Video file, and upload this video file to multimedia server, eliminate the steps such as copy video data, operating process letter
Single, improve user terminal to upper transfer efficiency during multimedia server uploaded videos file.
It should be noted that:The device to multimedia server uploaded videos file that above-described embodiment provides is to many matchmakers
During body server uploaded videos file, only it is illustrated with the division of above-mentioned each functional module, in practical application, Ke Yigen
According to needs, above-mentioned functions distribution is completed by different functional modules, the internal structure of device will be divided into different functions
Module, to complete all or part of function described above.In addition, above-described embodiment provide to multimedia server upload
The device of video file belongs to same design with the embodiment of the method to multimedia server uploaded videos file, and it implements
Process refers to embodiment of the method, repeats no more here.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can pass through hardware
To complete it is also possible to the hardware being instructed correlation by program is completed, described program can be stored in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all spirit in the present invention and
Within principle, any modification, equivalent substitution and improvement made etc., should be included within the scope of the present invention.
Claims (12)
1. a kind of method to multimedia server uploaded videos file is it is characterised in that methods described includes:
Show recording button in the live interface of main broadcaster user, described recording button is detected when being triggered, proceed by bat
Take the photograph, obtain video data;
In shooting process, obtain and shoot the corresponding Word message of described video data obtaining;
According to described video data and described Word message, generate video file, and upload described video to multimedia server
File.
2. method according to claim 1 is it is characterised in that described Word message includes caption information and essential information;
Described acquisition shoots the corresponding Word message of described video data obtaining, including:
Extract the voice messaging in described video data, identify described voice messaging, obtain described caption information;
Obtain the essential information of the described video data of described main broadcaster's user input.
3. method according to claim 1 it is characterised in that described according to described video data with described Word message,
Generate video file, including:
Show synthesis button in described live interface, described synthesis button is detected when being triggered, obtain described video data
Slice header information and run-out information;
Described slice header information, described run-out information and described video data are spliced, described Word message is inserted splicing
In described video data afterwards, obtain video file.
4. method according to claim 3 is it is characterised in that the slice header information of the described video data of described acquisition and run-out
Information, including:
By the first default extraction algorithm, extract the first key frame of described video data, obtain the head of described video data
Information;
By the second default extraction algorithm, extract the second key frame of described video data, obtain the run-out of described video data
Information.
5. method according to claim 3 is it is characterised in that the slice header information of the described video data of described acquisition and run-out
Information, including:
Obtain the 3rd key frame that described main broadcaster user selects from image library, obtain the slice header information of described video data, institute
State image library and include multiple images frame;
Obtain the 4th key frame that described main broadcaster user selects from described image storehouse, obtain the run-out letter of described video data
Breath.
6. method according to claim 1 is it is characterised in that methods described also includes:
Show live button in described live interface, when described live button is detected and being triggered, in shooting process, pass through
Described multimedia server sends described video file to vlewer terminals.
7. a kind of device to multimedia server uploaded videos file is it is characterised in that described device includes:
Taking module, records button for showing in the live interface of main broadcaster user, described recording button is detected and is triggered
When, proceed by shooting, obtain video data;
Acquisition module, in shooting process, obtaining and shooting the corresponding Word message of video data obtaining;
Generation module, for according to described video data and described Word message, generating video file;
Upper transmission module, for uploading described video file to multimedia server.
8. device according to claim 7 is it is characterised in that described acquisition module, including:
Recognition unit, for extracting the voice messaging in described video data, identifies described voice messaging, obtains described captions letter
Breath;
First acquisition unit, for obtaining the essential information of the described video data of described main broadcaster's user input.
9. device according to claim 7 is it is characterised in that described generation module, including:
Second acquisition unit, for showing synthesis button in described live interface, detects described synthesis button when being triggered,
Obtain slice header information and the run-out information of described video data;
Insertion unit, for being spliced described slice header information, described run-out information and described video data, by described word
Information is inserted in spliced described video data, obtains video file.
10. device according to claim 9 is it is characterised in that described second acquisition unit, including:
First extraction subelement, for by the first default extraction algorithm, extracting the first key frame of described video data, obtaining
The slice header information of described video data;
Second extraction subelement, for by the second default extraction algorithm, extracting the second key frame of described video data, obtaining
The run-out information of described video data.
11. devices according to claim 9 it is characterised in that described second acquisition unit, including:
First acquisition subelement, for obtaining the 3rd key frame that described main broadcaster user selects from image library, obtain described in regard
The slice header information of frequency evidence, described image storehouse includes multiple images frame;
Second acquisition subelement, for obtaining the 4th key frame that described main broadcaster user selects from described image storehouse, obtains institute
State the run-out information of video data.
12. devices according to claim 7 are it is characterised in that described device also includes:
Sending module, for showing live button in described live interface, when described live button is detected and being triggered, is clapping
During taking the photograph, described video file is sent to vlewer terminals by described multimedia server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610816396.6A CN106412645B (en) | 2016-09-09 | 2016-09-09 | To the method and apparatus of multimedia server uploaded videos file |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610816396.6A CN106412645B (en) | 2016-09-09 | 2016-09-09 | To the method and apparatus of multimedia server uploaded videos file |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106412645A true CN106412645A (en) | 2017-02-15 |
CN106412645B CN106412645B (en) | 2019-09-20 |
Family
ID=57999357
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610816396.6A Active CN106412645B (en) | 2016-09-09 | 2016-09-09 | To the method and apparatus of multimedia server uploaded videos file |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106412645B (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107318044A (en) * | 2017-06-30 | 2017-11-03 | 武汉斗鱼网络科技有限公司 | A kind of live content intercept method and system |
CN108574877A (en) * | 2018-01-05 | 2018-09-25 | 北京金山云网络技术有限公司 | Live broadcasting method, Zhu Boduan, viewer end, equipment, system and storage medium |
CN108900855A (en) * | 2018-07-12 | 2018-11-27 | 腾讯科技(深圳)有限公司 | live content recording method and device |
CN109787942A (en) * | 2017-11-14 | 2019-05-21 | 广州市动景计算机科技有限公司 | Multimedia file submission and dissemination method and device |
CN110300274A (en) * | 2018-03-21 | 2019-10-01 | 腾讯科技(深圳)有限公司 | Method for recording, device and the storage medium of video file |
CN110708314A (en) * | 2019-10-09 | 2020-01-17 | 北京字节跳动网络技术有限公司 | Live streaming data uploading method and device, electronic equipment and storage medium |
CN110996167A (en) * | 2019-12-20 | 2020-04-10 | 广州酷狗计算机科技有限公司 | Method and device for adding subtitles in video |
CN111737782A (en) * | 2020-05-25 | 2020-10-02 | 广东职业技术学院 | Auxiliary design system of ceramic product |
US11551721B2 (en) | 2017-09-25 | 2023-01-10 | Beijing Dajia Internet Information Technology Co., Ltd. | Video recording method and device |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102811373A (en) * | 2011-05-30 | 2012-12-05 | 上海圣炅商务咨询有限公司 | Method for carrying out video broadcast on Internet and mobile Internet by mobile terminal |
CN103338330A (en) * | 2013-06-18 | 2013-10-02 | 腾讯科技(深圳)有限公司 | Picture processing method and device, and terminal |
CN104581221A (en) * | 2014-12-25 | 2015-04-29 | 广州酷狗计算机科技有限公司 | Video live broadcasting method and device |
CN105307010A (en) * | 2015-11-14 | 2016-02-03 | 华中科技大学 | System and method for uploading video of cloud video living broadcast platform |
CN105679123A (en) * | 2016-04-07 | 2016-06-15 | 广州市吉星信息科技有限公司 | Micro class recording method and device |
US20160171005A1 (en) * | 2014-12-10 | 2016-06-16 | Alfred Xueliang Xin | Geo-based Information Provision, Search and Access method and software System |
CN105828091A (en) * | 2016-03-28 | 2016-08-03 | 广州华多网络科技有限公司 | Method and system for video program playing in network broadcast |
CN105872580A (en) * | 2016-04-15 | 2016-08-17 | 广州酷狗计算机科技有限公司 | Recording method and device of live broadcast video |
-
2016
- 2016-09-09 CN CN201610816396.6A patent/CN106412645B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102811373A (en) * | 2011-05-30 | 2012-12-05 | 上海圣炅商务咨询有限公司 | Method for carrying out video broadcast on Internet and mobile Internet by mobile terminal |
CN103338330A (en) * | 2013-06-18 | 2013-10-02 | 腾讯科技(深圳)有限公司 | Picture processing method and device, and terminal |
US20160171005A1 (en) * | 2014-12-10 | 2016-06-16 | Alfred Xueliang Xin | Geo-based Information Provision, Search and Access method and software System |
CN104581221A (en) * | 2014-12-25 | 2015-04-29 | 广州酷狗计算机科技有限公司 | Video live broadcasting method and device |
CN105307010A (en) * | 2015-11-14 | 2016-02-03 | 华中科技大学 | System and method for uploading video of cloud video living broadcast platform |
CN105828091A (en) * | 2016-03-28 | 2016-08-03 | 广州华多网络科技有限公司 | Method and system for video program playing in network broadcast |
CN105679123A (en) * | 2016-04-07 | 2016-06-15 | 广州市吉星信息科技有限公司 | Micro class recording method and device |
CN105872580A (en) * | 2016-04-15 | 2016-08-17 | 广州酷狗计算机科技有限公司 | Recording method and device of live broadcast video |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107318044A (en) * | 2017-06-30 | 2017-11-03 | 武汉斗鱼网络科技有限公司 | A kind of live content intercept method and system |
US11551721B2 (en) | 2017-09-25 | 2023-01-10 | Beijing Dajia Internet Information Technology Co., Ltd. | Video recording method and device |
CN109787942A (en) * | 2017-11-14 | 2019-05-21 | 广州市动景计算机科技有限公司 | Multimedia file submission and dissemination method and device |
CN108574877A (en) * | 2018-01-05 | 2018-09-25 | 北京金山云网络技术有限公司 | Live broadcasting method, Zhu Boduan, viewer end, equipment, system and storage medium |
CN108574877B (en) * | 2018-01-05 | 2021-01-29 | 北京金山云网络技术有限公司 | Live broadcast method, anchor terminal, audience terminal, equipment, system and storage medium |
CN110300274A (en) * | 2018-03-21 | 2019-10-01 | 腾讯科技(深圳)有限公司 | Method for recording, device and the storage medium of video file |
CN108900855A (en) * | 2018-07-12 | 2018-11-27 | 腾讯科技(深圳)有限公司 | live content recording method and device |
CN110708314A (en) * | 2019-10-09 | 2020-01-17 | 北京字节跳动网络技术有限公司 | Live streaming data uploading method and device, electronic equipment and storage medium |
CN110996167A (en) * | 2019-12-20 | 2020-04-10 | 广州酷狗计算机科技有限公司 | Method and device for adding subtitles in video |
CN111737782A (en) * | 2020-05-25 | 2020-10-02 | 广东职业技术学院 | Auxiliary design system of ceramic product |
Also Published As
Publication number | Publication date |
---|---|
CN106412645B (en) | 2019-09-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106412645A (en) | Method and apparatus for uploading video file to multimedia server | |
CN108900902B (en) | Method, device, terminal equipment and storage medium for determining video background music | |
CN107295284B (en) | Method and device for generating, retrieving and playing video file consisting of audio and picture | |
US8855471B2 (en) | Media generation system | |
US9652459B2 (en) | Independent content tagging of media files | |
CN104580888B (en) | A kind of image processing method and terminal | |
CN108282598B (en) | Software broadcasting guide system and method | |
JP3615195B2 (en) | Content recording / playback apparatus and content editing method | |
US11520741B2 (en) | Independent content tagging of media files | |
WO2016202176A1 (en) | Method, device and apparatus for synthesizing media file | |
KR20140089771A (en) | Apparatus and method for photographing image having audio data | |
CN113395540A (en) | Virtual broadcasting system, virtual broadcasting implementation method, device and equipment, and medium | |
JP2009033351A (en) | Recording and reproducing device and method | |
CN106875968A (en) | The method of information gathering, client and system | |
WO2023160288A1 (en) | Conference summary generation method and apparatus, electronic device, and readable storage medium | |
JP2016063477A (en) | Conference system, information processing method and program | |
JP2014204411A (en) | Conference recording system, conference recording device, conference recording-reproduction method, and computer program | |
KR101230746B1 (en) | Method for generating synchronized image data for synchronous outputting music data and for play synchronous output | |
JP2006180306A (en) | Moving picture recording and reproducing apparatus | |
WO2020038290A1 (en) | Bookmark display method and device | |
KR20110030797A (en) | Method for creating and playing sound-recorded file linked with photograph and portable device thereof | |
JP6508635B2 (en) | Reproducing apparatus, reproducing method, reproducing program | |
CN101546110B (en) | Projecting camera and method for recording information thereof | |
US20240194226A1 (en) | Video editing device, video editing method, and computer program | |
JP2014179943A (en) | Reproduction device, reproduction method, and reproduction control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 510660 Guangzhou City, Guangzhou, Guangdong, Whampoa Avenue, No. 315, self - made 1-17 Applicant after: Guangzhou KuGou Networks Co., Ltd. Address before: 510000 B1, building, No. 16, rhyme Road, Guangzhou, Guangdong, China 13F Applicant before: Guangzhou KuGou Networks Co., Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |