CN109218808A - A kind of method, apparatus and computer equipment of recorded video - Google Patents

A kind of method, apparatus and computer equipment of recorded video Download PDF

Info

Publication number
CN109218808A
CN109218808A CN201710525848.XA CN201710525848A CN109218808A CN 109218808 A CN109218808 A CN 109218808A CN 201710525848 A CN201710525848 A CN 201710525848A CN 109218808 A CN109218808 A CN 109218808A
Authority
CN
China
Prior art keywords
video
state
recorded
live
logon information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710525848.XA
Other languages
Chinese (zh)
Other versions
CN109218808B (en
Inventor
姚金明
陈少杰
张文明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Douyu Network Technology Co Ltd
Original Assignee
Wuhan Douyu Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Douyu Network Technology Co Ltd filed Critical Wuhan Douyu Network Technology Co Ltd
Priority to CN201710525848.XA priority Critical patent/CN109218808B/en
Publication of CN109218808A publication Critical patent/CN109218808A/en
Application granted granted Critical
Publication of CN109218808B publication Critical patent/CN109218808B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4334Recording operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/61Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
    • H04L65/611Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for multicast or broadcast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • H04L65/762Media network packet handling at the source 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The present invention provides a kind of method, apparatus of recorded video and computer equipments, are applied in live streaming platform, which comprises obtain logon information;Whether it is the state of starting broadcasting between judging current live according to the logon information, if being the state that starts broadcasting between the current live, continues to determine whether to receive video record request;If receiving the video record request, video record state is changed to by initiate mode based on video record request, and delay disposal is carried out to video flowing, the video flowing after delay disposal is recorded according to preset recording mode;In this way, main broadcaster can record good video resource, can propagate good video resource, avoid the waste of high-quality video resource in live streaming platform.

Description

A kind of method, apparatus and computer equipment of recorded video
Technical field
The invention belongs to the method, apparatus of platform technology field more particularly to a kind of recorded video and computer is broadcast live to set It is standby.
Background technique
With comprehensive rise of live streaming industry, the communication mode of live streaming is also increasingly welcomed by the general public.It is adjoint simultaneously Quickling increase for direct broadcasting room, more and more live contents be also added to main broadcaster's industry.Live content is also come abundanter.
But due to the form of live streaming, live content is timeliness.It, can not be effective when there is good video resource Progress high-quality video resource preservation, also can not effectively by excellent video resource carry out it is more extensive propagate, cause The high-quality video wasting of resources.
Summary of the invention
In view of the problems of the existing technology, the embodiment of the invention provides a kind of method, apparatus of recorded video and meters Calculate machine equipment, for solve in the prior art be broadcast live platform carry out net cast when, due to live streaming be instantaneity, occurring When video resource, good video resource can not be recorded, and then wide-scale distribution cannot be carried out to high-quality video resource Technical problem.
The present invention provides a kind of method of recorded video, is applied in live streaming platform, which comprises
Obtain logon information;
It whether is the state of starting broadcasting between judging current live according to the logon information, if being the shape that starts broadcasting between the current live State then continues to determine whether to receive video record request;
If receiving the video record request, request to be changed to enable by video record state based on the video record State, and delay disposal is carried out to video flowing, the video flowing after delay disposal is recorded according to preset recording mode.
In above scheme, before the logon information for obtaining main broadcaster, further includes:
Subregion is carried out to direct broadcasting room of all categories according to live streaming classification;
To the corresponding live streaming subregion mark of direct broadcasting room addition of all categories.
In above scheme, it is described according to the logon information judge current live between whether be the state of starting broadcasting, comprising:
The room identification (ID, Identity) between the current live is determined according to the logon information;
Based on the room ID, the live state identification code in the room is obtained by access service interface, described in judgement Whether live state identification code is opened, if the live state identification code has turned on, it is determined that is to start broadcasting between the current live State.
In above scheme, it is described the video flowing after delay disposal is recorded according to preset recording parameter after, also wrap It includes:
Obtain the live streaming subregion mark of video and the direct broadcasting room after recording;
The live streaming subregion mark is added in video after recording, it is described after the storage addition live streaming subregion mark Video.
It is described that delay disposal is carried out to video flowing in above scheme, comprising: delay loading is carried out to the video flowing.
It is described that the video flowing after delay disposal is recorded according to preset recording mode in above scheme, comprising:
The video flowing after the delay disposal is recorded according to preset recording total duration.
It is described that the video flowing after delay disposal is recorded according to preset recording mode in above scheme, further includes:
Segmentation recording is carried out to the video flowing, forms each section of recorded video;
Corresponding record is added to each section of recorded video to mark, and at least one section recording is regarded according to recording label Frequency merges;Wherein, the total duration that the segmentation is recorded is not more than preset recording total duration.
The present invention also provides a kind of device of recorded video, described device includes:
Acquiring unit, for obtaining logon information;
Judging unit, for whether being the state of starting broadcasting between judging current live according to the logon information, if described current Direct broadcasting room is the state that starts broadcasting, then continues to determine whether to receive video record request;
Recording elements, in the case where receiving video record request, being requested based on the video record will Video record state is changed to initiate mode, and carries out delay disposal to video flowing, according to preset recording mode to delay at Video flowing after reason is recorded.
The present invention also provides a kind of computer readable storage mediums, are stored thereon with computer program, and the program is processed Device performs the steps of when executing
Obtain logon information;
It whether is the state of starting broadcasting between judging current live according to the logon information, if being the shape that starts broadcasting between the current live State then continues to determine whether to receive video record request;
If receiving the video record request, request to be changed to enable by video record state based on the video record State, and delay disposal is carried out to video flowing, the video flowing after delay disposal is recorded according to preset recording mode.
The present invention also provides a kind of computer equipments of recorded video, comprising:
At least one processor;And
At least one processor being connect with the processor communication, wherein
The memory is stored with the program instruction that can be executed by the processor, and the processor calls described program to refer to Order is able to carry out such as any of the above-described method.
The present invention provides a kind of method, apparatus of recorded video and computer equipments, are applied in live streaming platform, described Method includes: acquisition logon information;It whether is the state of starting broadcasting between judging current live according to the logon information, if described current Direct broadcasting room is the state that starts broadcasting, then continues to determine whether to receive video record request;If receiving the video record request, base Video record state is changed to initiate mode in video record request, and delay disposal is carried out to video flowing, according to pre- If recording mode the video flowing after delay disposal is recorded;In this way, in live streaming platform, it can be to good video resource It is recorded, can propagate good video resource, avoids the waste of high-quality video resource.
Detailed description of the invention
Fig. 1 is the method flow schematic diagram for the recorded video that the embodiment of the present invention one provides;
Fig. 2 is the apparatus structure schematic diagram of recorded video provided by Embodiment 2 of the present invention;
Fig. 3 is the computer equipment overall structure diagram for the recorded video that the embodiment of the present invention three provides.
Specific embodiment
In order to solve in the prior art be broadcast live platform carry out net cast when, due to live streaming be instantaneity, occurring When high-quality video resource, good video resource can not be recorded, and then high-quality video resource cannot be passed extensively The technical issues of broadcasting, the present invention provides a kind of method, apparatus of recorded video and computer equipments, are applied to live streaming platform In, which comprises obtain logon information;It whether is the state of starting broadcasting between judging current live according to the logon information, if It is the state that starts broadcasting between the current live, then continues to determine whether to receive video record request;If receiving the video record System request is requested video record state being changed to initiate mode based on the video record, and carried out at delay to video flowing Reason, records the video flowing after delay disposal according to preset recording mode.
Technical solution of the present invention is described in further detail below by drawings and the specific embodiments.
Embodiment one
The present embodiment provides a kind of methods of recorded video, are applied in live streaming platform, as shown in Figure 1, the method packet It includes:
S101 obtains the logon information of main broadcaster;
In this step, the logon information includes: the logon information and user's logon information of main broadcaster;Obtaining logon information Before, it also needs to carry out subregion to direct broadcasting room of all categories according to live streaming classification, and the direct broadcasting room of all categories is added corresponding Live streaming subregion mark.The live streaming classification includes: game class, amusement class, outdoor live streaming class etc.;For example, can be by game Class is divided into the live streaming area A, then the live streaming mark of game class is A;Amusement class is divided into the area B, then the live streaming mark of game class is For B;Outdoor live streaming class is divided into the area C, then the live streaming mark of outdoor live streaming class is C.If game include it is a variety of, can be with It sets different for the live streaming mark of various types of games, for example various types of games is respectively set to A1, A2, A3 etc..
After the corresponding live streaming subregion mark of direct broadcasting room addition of all categories, the logon information of available main broadcaster is described The logon information of main broadcaster includes: the login identifications such as main broadcaster ID and room ID.
Here, also the logon information of available user, the logon information of the user include: User ID.
It should be noted that user and main broadcaster can record video, the method for recording is identical, this implementation It in example is illustrated so that main broadcaster records as an example.
Whether S102 is the state of starting broadcasting between judging current live according to the logon information, if being between the current live Start broadcasting state, then continues to determine whether to receive video record request;
In this step, after getting logon information, it can determine that the main broadcaster's is current straight according to main broadcaster's logon information Room ID between broadcasting;It is then based on the room ID, the live state identification code in the room is obtained by access service interface, Judge whether the live state identification code is opened, if the live state identification code has turned on, it is determined that the direct broadcasting room is Start broadcasting state.
Certainly, whether the direct broadcasting room that the main broadcaster can also be judged according to the logon information of user is the state of starting broadcasting, specifically Ground: the concern list of the user is obtained according to the user identifier ID in user's logon information;Utilize concern functional interface It inquires with the presence or absence of concern value in the concern list, if there are the concern values in the note list, according to the concern value Determine the room ID between main broadcaster's current live;It is then based on the room ID, the room is obtained by access service interface Between live state identification code, judge whether the live state identification code is opened, if the live state identification code has turned on, Then determine that the direct broadcasting room is the state that starts broadcasting.
If the direct broadcasting room is the state that starts broadcasting, continue to determine whether to receive video record request.Here, main broadcaster's Live page and seeing on the page for user are respectively arranged with recording button, when recording button is triggered, then send video record Request, then server can receive corresponding video record request.
S103 requests to change video record state if receiving the video record request based on the video record For initiate mode, and delay disposal is carried out to video flowing, the video flowing after delay disposal is carried out according to preset recording mode It records.
In this step, because video record state default is in off state, in the case where receiving video record request, base It requests video record state being changed to initiate mode in the video record.The video record request is then based on by video Recording state is changed to initiate mode, and the falsh server of direct broadcasting room is notified to carry out delay disposal, i.e. falsh to video flowing Server then can delay loading video flowing, be equivalent in this way video flowing is first carried out one caching, avoid card in recorded video ?;Wherein, the delay time for carrying out delay disposal to video flowing is total 0.4~0.6 times for recording duration, it is therefore preferable to 0.5 times.Total recording duration is pre-set.
After carrying out delay disposal to video flowing, the falsh server of direct broadcasting room according to preset recording mode to delay at Video flowing after reason is recorded.When recording, it can be loaded in the live page of direct broadcasting room and show video record request Label, to show to record video.
Specifically, when being recorded to video, can according to preset recording total duration to the delay disposal after The video flowing is recorded.For example, preset recording total duration is 1min, then since recording to 1min when, can be automatic Terminate to record.
Segmentation recording can also be carried out to the video flowing, form each section of recorded video;Then each section of recording is regarded Frequency adds corresponding record and marks, and is merged according to recording label at least one section of recorded video;Wherein, the segmentation The total duration of recording is not more than preset recording total duration.For example, can then suspend, and be to first segment video record 10s First segment video adds video marker M;Until next section of featured videos occur, to second segment video record 20s, then suspend record System, and video marker F is added for second segment video;Again until next section of featured videos occur, to third end video record 30s terminates to record, and adds video marker E for third section video.Then according to each video marker to first segment video, second Section video and third end video merge,, can also be to unsatisfied if there is unsatisfied video to occur in merging process Video is deleted, and the synthetic video of one section of high quality is ultimately formed.
It records after completing, obtains the live streaming subregion mark of video and the direct broadcasting room after recording;View after recording The live streaming subregion mark is added in frequency, and calls the video after memory interface storage addition live streaming subregion mark, so as to It is subsequent when inquiring recorded video, the recorded video of respective type more easily can be searched according to live streaming subregion mark.This Sample just records some good videos, avoids the waste of high-quality video resource.
Embodiment two
Corresponding to embodiment one, the present embodiment also provides a kind of device of recorded video, as shown in Fig. 2, described device packet It includes: acquiring unit 21, judging unit 22 and recording elements 23;Wherein,
In acquiring unit 21 both available main broadcaster's logon information, also available user's logon information.Acquisition logs in letter Before breath, also need to carry out subregion to direct broadcasting room of all categories according to live streaming classification, and add phase to the direct broadcasting room of all categories The live streaming subregion mark answered.The live streaming classification includes: game class, amusement class, outdoor live streaming class etc.;For example, can will swim Play class is divided into the live streaming area A, then the live streaming mark of game class is A;Amusement class is divided into the area B, then the live streaming of game class indicates As B;Outdoor live streaming class is divided into the area C, then the live streaming mark of outdoor live streaming class is C.If game include it is a variety of, may be used also To set difference for the live streaming of various types of games mark, for example various types of games is respectively set to A1, A2, A3 etc..
After the corresponding live streaming subregion mark of direct broadcasting room addition of all categories, the available main broadcaster's of the acquiring unit 21 Logon information, the logon information of the main broadcaster include: the login identifications such as main broadcaster ID and room ID.Here, the acquiring unit 21 Also the logon information of available user, the logon information of the user include: User ID.
It should be noted that user and main broadcaster can record video, the method for recording is identical, this implementation It in example is illustrated so that main broadcaster records as an example.
After acquiring unit 21 gets logon information, the judging unit 22 is used to judge institute according to the logon information Whether be start broadcasting state, if being the state that starts broadcasting between the current live, continue to determine whether to connect if stating between the current live of main broadcaster Receive video record request;Specifically, the judging unit 22 can determine the room of the main broadcaster according to main broadcaster's logon information ID;It is then based on the room ID, the live state identification code in the room is obtained by access service interface, is judged described straight Broadcast whether status indicator code is opened, if the live state identification code has turned on, it is determined that the direct broadcasting room is the state that starts broadcasting.
Certainly, can also be judged between the current live of the main broadcaster whether to be the state of starting broadcasting according to the logon information of user, Specifically: the concern list of the user is obtained according to the user identifier ID in user's logon information;Utilize concern function It whether there is concern value in concern list described in interface polls, if there are the concern values in the note list, according to the pass Note value determines the room ID between main broadcaster's current live;It is then based on the room ID, institute is obtained by access service interface The live state identification code for stating room, judges whether the live state identification code is opened, if the live state identification code is It opens, it is determined that be the state that starts broadcasting between the current live.
If the direct broadcasting room is the state that starts broadcasting, continue to determine whether to receive video record request.Here, main broadcaster's Live page and seeing on the page for user are respectively arranged with recording button, when recording button is triggered, then send video record Request, then the recording elements 23 can receive corresponding video record request.
Here, because video record state default is in off state, the recording elements 23 are receiving video record request In the case where, it requests video record state being changed to initiate mode based on the video record.It is then based on the video record Video record state is changed to initiate mode by system request, and the recording elements 23 carry out delay disposal to video flowing, so then Meeting delay loading video flowing is equivalent to and first carries out a caching to video flowing, avoids Caton in recorded video;Wherein, described It is total 0.4~0.6 times for recording duration to the delay time that video flowing carries out delay disposal, it is therefore preferable to 0.5 times.Total record Duration processed is pre-set.
To video flowing carry out delay disposal after, the recording elements 23 according to preset recording mode to delay disposal after Video flowing is recorded.When recording, the label of video record request can be loaded and shown in the live page of direct broadcasting room, with Show to record video.
Specifically, recording elements 23 can prolong according to preset recording total duration to described when recording to video Treated late, and the video flowing is recorded.For example, preset recording total duration is 1min, then to 1min since recording When, recording can be ended automatically.
Recording elements 23 can also carry out segmentation recording to the video flowing, form each section of recorded video;Then to described Each section of recorded video addition is corresponding to record label, is merged according to recording label at least one section of recorded video;Its In, the total duration that the segmentation is recorded is not more than preset recording total duration.For example, can be to first segment video record 10s, so After suspend, and for first segment video add video marker M;Until next section of featured videos occur, to second segment video record 20s, then suspend recording, and add video marker F for second segment video;Again until next section of featured videos occur, to third Video record 30s is held, terminates to record, and add video marker E for third section video.Then according to each video marker to first segment Video, second segment video and third end video merge,, can be with if there is unsatisfied video to occur in merging process Unsatisfied video is deleted, the synthetic video of one section of high quality is ultimately formed.
After recording elements 23 record completion, the live streaming subregion mark of video and the direct broadcasting room after recording is obtained;? The live streaming subregion mark is added in video after recording, and is called described after memory interface storage addition live streaming subregion mark Video can more easily search the record of respective type so as to subsequent when inquiring recorded video according to live streaming subregion mark Video processed.Thus some good videos are recorded, avoid the waste of high-quality video resource.
Embodiment three
The present embodiment also provides a kind of computer equipment of recorded video, as shown in figure 3, the computer equipment includes: Radio frequency (Radio Frequency, RF) circuit 310, memory 320, input unit 330, display unit 340, voicefrequency circuit 350, the components such as WiFi module 360, processor 370 and power supply 380.It will be understood by those skilled in the art that being shown in Fig. 3 Computer equipment structure do not constitute the restriction to computer equipment, may include than illustrating more or fewer components, or Person combines certain components or different component layouts.
It is specifically introduced below with reference to each component parts of the Fig. 3 to computer equipment:
RF circuit 310 can be used for sending and receiving for signal, particularly, after the downlink information of base station is received, to processing The processing of device 350.In general, RF circuit 310 includes but is not limited at least one amplifier, transceiver, coupler, low noise amplification Device (LNA, Low Noise Amplifier), duplexer etc..
Memory 320 can be used for storing software program and module, and processor 350 is stored in memory 320 by operation Software program and module, thereby executing the various function application and data processing of computer equipment.Memory 320 can be led It to include storing program area and storage data area, wherein storing program area can be needed for storage program area, at least one function Application program etc.;Storage data area, which can be stored, uses created data etc. according to computer equipment.In addition, memory 320 May include high-speed random access memory, can also include nonvolatile memory, a for example, at least disk memory, Flush memory device or other volatile solid-state parts.
Input unit 330 can be used for receiving the number or character information of input, and generate the user with computer equipment Setting and the related key signals input of function control.Specifically, input unit 330 may include keyboard 331 and other inputs Equipment 332.Keyboard 331 collects the input operation of user on it, and drives corresponding connection according to preset formula Device.Keyboard 331 gives processor 350 after collecting output information again.In addition to keyboard 331, input unit 330 can also include Other input equipments 332.Specifically, other input equipments 332 can include but is not limited to touch panel, function key (such as sound Measure control button, switch key etc.), trace ball, mouse, one of operating stick etc. or a variety of.
Display unit 340 can be used for showing information input by user or the information and computer equipment that are supplied to user Various menus.Display unit 340 may include display panel 341, optionally, can use liquid crystal display (LCD, Liquid Crystal Display), the forms such as Organic Light Emitting Diode (OLED, Organic Light-Emitting Diode) match Set display panel 341.Further, keyboard 331 can cover display panel 341, when keyboard 331 detects on it or nearby After touch operation, processor 350 is sent to determine the type of touch event, is followed by subsequent processing device 350 according to the class of incoming event Type provides corresponding visual output on display panel 341.Although keyboard 331 and display panel 341 are as two in Fig. 3 Independent component realizes the input and input function of computer equipment, but in some embodiments it is possible to by keyboard 331 with Display panel 341 is integrated and that realizes computer equipment output and input function.
Voicefrequency circuit 350, loudspeaker 351, microphone 352 can provide the audio interface between user and computer equipment. Electric signal after the audio data received conversion can be transferred to loudspeaker 351, be converted by loudspeaker 351 by voicefrequency circuit 350 For voice signal output;
WiFi belongs to short range wireless transmission technology, and computer equipment can help user to receive and dispatch by WiFi module 360 Email, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 3 WiFi module 360 is shown, but it is understood that, and it is not belonging to must be configured into for computer equipment, it completely can root It is omitted within the scope of not changing the essence of the invention according to needs.
Processor 370 is the control centre of computer equipment, utilizes various interfaces and the entire computer equipment of connection Various pieces, by running or execute the software program and/or module that are stored in memory 320, and call and be stored in Data in memory 320 execute the various functions and processing data of computer equipment, to carry out to computer equipment whole Monitoring.Optionally, processor 370 may include one or more processing units;Preferably, processor 370 can be integrated using processing Device, wherein the main processing operation system of application processor, user interface and application program etc..
Computer equipment further includes the power supply 380 (such as power supply adaptor) powered to all parts, it is preferred that power supply can With logically contiguous by power-supply management system and processor 370.
The method, apparatus and computer equipment energy bring beneficial effect of recorded video provided by the invention are at least:
The present invention provides a kind of method, apparatus of recorded video and computer equipments, are applied in live streaming platform, described Method includes: acquisition logon information;It whether is the state of starting broadcasting between judging current live according to the logon information, if described current Direct broadcasting room is the state that starts broadcasting, then continues to determine whether to receive video record request;If receiving the video record request, base Video record state is changed to initiate mode in video record request, and delay disposal is carried out to video flowing, according to pre- If recording mode the video flowing after delay disposal is recorded;In this way, the function of video record is added in live streaming platform, After main broadcaster has found high-quality video resource, good video resource can be recorded, can be carried out to good video resource It propagates, avoids the waste of high-quality video resource.
Algorithm and display are not inherently related to any particular computer, virtual system, or other device provided herein. Various general-purpose systems can also be used together with teachings based herein.As described above, it constructs required by this kind of system Structure be obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use various Programming language realizes summary of the invention described herein, and the description done above to language-specific is to disclose this hair Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects, Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself All as a separate embodiment of the present invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments in this include institute in other embodiments Including certain features rather than other feature, but the combination of the feature of different embodiment means in the scope of the present invention Within and form different embodiments.For example, in the following claims, embodiment claimed it is any it One can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice Microprocessor or digital signal processor (DSP, Digital Signal Processing) are implemented according to the present invention to realize The some or all functions of the gateway of example, proxy server, some or all components in system.The present invention can also be real Now for for executing some or all device or device programs of method as described herein (for example, computer journey Sequence and computer program product).It is such to realize that program of the invention can store on computer readable storage medium, or It may be in the form of one or more signals.Such signal can be downloaded from an internet website to obtain, or carry It provides, or is provided in any other form on body signal;The program performs the steps of acquisition when being executed by processor and logs in Information;It whether is the state of starting broadcasting between judging current live according to the logon information, if being the state that starts broadcasting between the current live, It then continues to determine whether to receive video record request;If receiving the video record request, asked based on the video record It asks and video record state is changed to initiate mode, and delay disposal is carried out to video flowing, according to preset recording mode to prolonging Treated late, and video flowing is recorded.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame Claim.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention, it is all Made any modifications, equivalent replacements, and improvements etc. within the spirit and principles in the present invention, should be included in protection of the invention Within the scope of.

Claims (10)

1. a kind of method of recorded video, which is characterized in that be applied in live streaming platform, which comprises
Obtain logon information;
It whether is the state of starting broadcasting between judging current live according to the logon information, if being the state that starts broadcasting between the current live, It then continues to determine whether to receive video record request;
If receiving the video record request, video record state is changed to enable shape based on video record request State, and delay disposal is carried out to video flowing, the video flowing after delay disposal is recorded according to preset recording mode.
2. the method as described in claim 1, which is characterized in that before the logon information for obtaining main broadcaster, further includes:
Subregion is carried out to direct broadcasting room of all categories according to live streaming classification;
To the corresponding live streaming subregion mark of direct broadcasting room addition of all categories.
3. the method as described in claim 1, which is characterized in that it is described according to the logon information judge between current live whether For the state of starting broadcasting, comprising:
The room identification ID between the current live is determined according to the logon information;
Based on the room ID, the live state identification code in the room is obtained by access service interface, judges the live streaming Whether status indicator code is opened, if the live state identification code has turned on, it is determined that is the state that starts broadcasting between the current live.
4. the method as described in claim 1, which is characterized in that it is described according to preset recording parameter to the view after delay disposal After frequency stream is recorded, further includes:
Obtain the live streaming subregion mark of video and the direct broadcasting room after recording;
The live streaming subregion mark is added in the video after recording, it is described after the storage addition live streaming subregion mark Video.
5. the method as described in claim 1, which is characterized in that described to carry out delay disposal to video flowing, comprising: to the view Frequency stream carries out delay loading.
6. the method as described in claim 1, which is characterized in that it is described according to preset recording mode to the view after delay disposal Frequency stream is recorded, comprising:
The video flowing after the delay disposal is recorded according to preset recording total duration.
7. the method as described in claim 1, which is characterized in that it is described according to preset recording mode to the view after delay disposal Frequency stream is recorded, further includes:
Segmentation recording is carried out to the video flowing, forms each section of recorded video;
To each section of recorded video add it is corresponding record label, according to recordings mark at least one section of recorded video into Row merges;Wherein, the total duration that the segmentation is recorded is not more than preset recording total duration.
8. a kind of device of recorded video, which is characterized in that described device includes:
Acquiring unit, for obtaining logon information;
Judging unit, for whether being the state of starting broadcasting between judging current live according to the logon information, if the current live Between to start broadcasting state, then continue to determine whether to receive video record request;
Recording elements, for being requested video based on the video record in the case where receiving video record request Recording state is changed to initiate mode, and carries out delay disposal to video flowing, according to preset recording mode to delay disposal after Video flowing recorded.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is held by processor It is performed the steps of when row
Obtain logon information;
It whether is the state of starting broadcasting between judging current live according to the logon information, if being the state that starts broadcasting between the current live, It then continues to determine whether to receive video record request;
If receiving the video record request, video record state is changed to enable shape based on video record request State, and delay disposal is carried out to video flowing, the video flowing after delay disposal is recorded according to preset recording mode.
10. a kind of computer equipment of recorded video characterized by comprising
At least one processor;And
At least one processor being connect with the processor communication, wherein
The memory is stored with the program instruction that can be executed by the processor, and the processor calls described program to instruct energy Enough methods executed as described in claim 1 to 7 is any.
CN201710525848.XA 2017-06-30 2017-06-30 Video recording method and device and computer equipment Active CN109218808B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710525848.XA CN109218808B (en) 2017-06-30 2017-06-30 Video recording method and device and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710525848.XA CN109218808B (en) 2017-06-30 2017-06-30 Video recording method and device and computer equipment

Publications (2)

Publication Number Publication Date
CN109218808A true CN109218808A (en) 2019-01-15
CN109218808B CN109218808B (en) 2022-02-08

Family

ID=64977104

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710525848.XA Active CN109218808B (en) 2017-06-30 2017-06-30 Video recording method and device and computer equipment

Country Status (1)

Country Link
CN (1) CN109218808B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109862387A (en) * 2019-03-28 2019-06-07 北京达佳互联信息技术有限公司 Video generation method, device and equipment are reviewed in live streaming
CN111526377A (en) * 2019-02-01 2020-08-11 广州虎牙信息科技有限公司 Stream pulling method and device
CN111800661A (en) * 2020-07-08 2020-10-20 网易(杭州)网络有限公司 Live broadcast room display control method, electronic device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140181881A1 (en) * 2007-02-02 2014-06-26 Livestream LLC System and method for internet audio/video delivery
CN104936004A (en) * 2015-06-05 2015-09-23 广州酷狗计算机科技有限公司 Video recording method and device
CN105120299A (en) * 2015-08-28 2015-12-02 广州酷狗计算机科技有限公司 Video pushing method and video pushing device
CN105872580A (en) * 2016-04-15 2016-08-17 广州酷狗计算机科技有限公司 Recording method and device of live broadcast video
CN105916003A (en) * 2016-06-06 2016-08-31 武汉斗鱼网络科技有限公司 Method of using super manager to realize video stream monitoring under room closing state and system thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140181881A1 (en) * 2007-02-02 2014-06-26 Livestream LLC System and method for internet audio/video delivery
CN104936004A (en) * 2015-06-05 2015-09-23 广州酷狗计算机科技有限公司 Video recording method and device
CN105120299A (en) * 2015-08-28 2015-12-02 广州酷狗计算机科技有限公司 Video pushing method and video pushing device
CN105872580A (en) * 2016-04-15 2016-08-17 广州酷狗计算机科技有限公司 Recording method and device of live broadcast video
CN105916003A (en) * 2016-06-06 2016-08-31 武汉斗鱼网络科技有限公司 Method of using super manager to realize video stream monitoring under room closing state and system thereof

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111526377A (en) * 2019-02-01 2020-08-11 广州虎牙信息科技有限公司 Stream pulling method and device
CN111526377B (en) * 2019-02-01 2022-07-05 广州虎牙信息科技有限公司 Stream pulling method and device
CN109862387A (en) * 2019-03-28 2019-06-07 北京达佳互联信息技术有限公司 Video generation method, device and equipment are reviewed in live streaming
CN111800661A (en) * 2020-07-08 2020-10-20 网易(杭州)网络有限公司 Live broadcast room display control method, electronic device and storage medium

Also Published As

Publication number Publication date
CN109218808B (en) 2022-02-08

Similar Documents

Publication Publication Date Title
CN105338368B (en) A kind of method, apparatus and system of the live stream turning point multicast data of video
CN104159159B (en) Based on the exchange method of video, terminal, server and system
US8204488B2 (en) Web content distribution to personal cellular telecommunications devices
CN107835444A (en) Information interacting method, device, voice frequency terminal and computer-readable recording medium
US9549036B2 (en) Network injected storage redirection for embedded applications
CN109218808A (en) A kind of method, apparatus and computer equipment of recorded video
CN106095456A (en) User is guided to download the method for application program, device and mobile terminal
CN107609916A (en) A kind of method, apparatus and computer equipment of advertisement information
CN103984468A (en) Method and device for information processing
CN104822090A (en) Video playing method, device and system
CN105554550A (en) Video playing method and device
CN107798561B (en) Audio playing and sharing method and device, storage medium and electronic equipment
US20180373307A1 (en) Processing method and device for saving power, mobile terminal and cloud server
CN107391115A (en) A kind of method, apparatus and computer equipment for realizing pop-up alternative events
CN110324693A (en) The direct broadcasting room processing method and processing device of video is played for realizing how small window
WO2017107831A1 (en) Application based broadcasting method, device and electronic device
CN104965778A (en) Method and device for game test
CN102016847A (en) Methods and apparatus for delivering auxiliary data to device
CN102404064A (en) Method and system for shielding radio advertisement
CN107038046A (en) Upgrade method, device and the terminal of audio frequency broadcast system
CN108200180A (en) A kind of method, apparatus and computer equipment for being used to limit request frequency
CN108920238A (en) Operate method, electronic equipment and the computer-readable medium of application
CN108810602A (en) A kind of method, apparatus and computer equipment for showing direct broadcasting room information
CN105700911A (en) Application installation method and device and electronic equipment
CN109558732A (en) A kind of method for preventing application file to be tampered and server

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