CN108737884A - A kind of content recordal method and its equipment, storage medium, electronic equipment - Google Patents
A kind of content recordal method and its equipment, storage medium, electronic equipment Download PDFInfo
- Publication number
- CN108737884A CN108737884A CN201810550094.8A CN201810550094A CN108737884A CN 108737884 A CN108737884 A CN 108737884A CN 201810550094 A CN201810550094 A CN 201810550094A CN 108737884 A CN108737884 A CN 108737884A
- Authority
- CN
- China
- Prior art keywords
- event
- recording
- currently playing
- parameter value
- recorded
- 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
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/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/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/47—End-user applications
- H04N21/478—Supplemental services, e.g. displaying phone caller identification, shopping application
- H04N21/4781—Games
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Television Signal Processing For Recording (AREA)
- Signal Processing For Digital Recording And Reproducing (AREA)
- Management Or Editing Of Information On Record Carriers (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The embodiment of the invention discloses a kind of content recordal method and its equipment, storage medium, electronic equipment, wherein method includes the following steps:The currently playing event in broadcasting content is obtained, and obtains the event attribute information of the currently playing event;The recording control instruction triggered based on the event attribute information is obtained, the currently playing event is recorded using the corresponding recording parameter value of the recording control instruction;At the end of detecting that the currently playing event plays, the corresponding recorded content of the currently playing event is generated.Using the present invention, it can adjust and record parameter value to record the broadcast event of different quality demand, disclosure satisfy that the viewing demand of user, user experience can be promoted.
Description
Technical field
The present invention relates to field of computer technology more particularly to a kind of content recordal method and its equipment, storage medium, electricity
Sub- equipment.
Background technology
In the electronic device, there is a kind of live streaming recording function, it can be to the video, audio, the figure that are played by the function
Picture etc. synchronizes recording, generates standardized files in stream media, is used for externally live streaming, storage, later stage compilation or program request.User
Need not be in the action can very easily play the live content, such as race, meeting, teaching, operation etc. of distal end in real time
Deng.
Current live streaming is recorded all records played content using fixed recording parameter value, then will be recorded in
Appearance, which carries out stamping timestamp after coding compression one by one, is transmitted to server end, then is sent to other ends by server transcoding
End equipment carries out decompression and shows.However, since user has different play quality demands to different event in the content that is played,
For example, some events need slow motion to show, some events need high clarity and fluency, and ginseng is recorded according to fixed
Numerical value records all events in broadcasting content, then recorded content can be prevented to watch demand from meeting user, and then drop
Low user experience.
Invention content
An embodiment of the present invention provides a kind of content recordal method and its equipment, storage medium, electronic equipments, can adjust
Parameter value is recorded to record the broadcast event of different quality demand, the viewing demand of user is disclosure satisfy that, user's body can be promoted
It tests.
On the one hand the embodiment of the present invention provides a kind of content recordal method, it may include:
The currently playing event in broadcasting content is obtained, and obtains the event attribute information of the currently playing event;
The recording control instruction triggered based on the event attribute information is obtained, is corresponded to using the recording control instruction
Recording parameter value record the currently playing event;
At the end of detecting that the currently playing event plays, generate in the corresponding recording of the currently playing event
Hold.
Optionally, when the recording control instruction that the acquisition is triggered based on the event attribute information, using the record
The corresponding recording parameter value recording of the control instruction processed currently playing event, including:
When the event attribute information is the setting moment of the currently playing event, obtains and be directed to the broadcasting content
The recording operation signal that is inputted of recording interface, parameter value is recorded using the recording operation signal corresponding first and records institute
State currently playing event.
Optionally, described that the parameter value recording currently playing thing is recorded using the recording operation signal corresponding first
Part, including:
Current recording parameter value is gradually adjusted using the step-length of setting, institute is recorded using the current recording parameter value after adjusting
State currently playing event;
When the current recording parameter value is adjusted to the first recording parameter value, parameter is recorded using described first
Value records the currently playing event.
Optionally, when the recording control instruction that the acquisition is triggered based on the event attribute information, using the record
The corresponding recording parameter value recording of the control instruction processed currently playing event, including:
When detecting the event attribute information and target property information matching in setting event attribute information aggregate,
Parameter value is recorded using the target property information corresponding second and records the currently playing event.
Optionally, described that the parameter value recording currently playing thing is recorded using the target property information corresponding second
Part, including:
The system broadcast information for obtaining terminal device, obtains the target property information carried in the system broadcast information;
The target property information corresponding second is searched in recording parameter sets and records parameter value, and using described the
Two, which record parameter value, records the currently playing event.
Optionally, when the recording control instruction that the acquisition is triggered based on the event attribute information, using the record
The corresponding recording parameter value recording of the control instruction processed currently playing event, including:
When detecting the event attribute information with any attribute information that sets in event attribute information aggregate not
Timing records parameter value using the third of setting and records the currently playing event.
It is optionally, described that the currently playing event is recorded using the corresponding recording parameter value of the recording control instruction,
Including:
Obtain at least one recording parameter value that terminal device is supported;
Appoint when detecting in the corresponding recording parameter value of the recording control instruction and at least one recording parameter value
When one recording parameter value mismatches, chosen at least one recording parameter value corresponding with the recording control instruction
It records parameter value matching degree the highest 4th and records parameter value;
Parameter value, which is recorded, using the described 4th records the currently playing event.
Optionally, described at the end of detecting that the currently playing event plays, generate the currently playing event pair
Broadcasting content after the recording answered, including:
At the end of detecting that the currently playing event plays, by next broadcast event of the currently playing event
It is determined as currently playing event, and is transferred to the step of executing the event attribute information for obtaining the currently playing event;
When detecting that there is no when next broadcast event, generate comprising the corresponding recorded content of the currently playing event
Recorded content set.
On the one hand the embodiment of the present invention provides a kind of content recordal equipment, it may include:
Attribute acquiring unit for obtaining the currently playing event in broadcasting content, and obtains the currently playing event
Event attribute information;
Event recording elements, for obtaining the recording control instruction triggered based on the event attribute information, using institute
It states and records the corresponding recording parameter value recording of the control instruction currently playing event;
Content generation unit, at the end of detecting that the currently playing event plays, generating described currently playing
The corresponding recorded content of event.
Optionally, the event recording elements, are used for:
When the event attribute information is the setting moment of the currently playing event, obtains and be directed to the broadcasting content
The recording operation signal that is inputted of recording interface, parameter value is recorded using the recording operation signal corresponding first and records institute
State currently playing event.
Optionally, the event recording elements, are specifically used for:
Current recording parameter value is gradually adjusted using the step-length of setting, institute is recorded using the current recording parameter value after adjusting
State currently playing event;
When the current recording parameter value is adjusted to the first recording parameter value, parameter is recorded using described first
Value records the currently playing event.
Optionally, the event recording elements, are used for:
When detecting the event attribute information and target property information matching in setting event attribute information aggregate,
Parameter value is recorded using the target property information corresponding second and records the currently playing event.
Optionally, the event recording elements, including:
Attribute obtains subelement, and the system broadcast information for obtaining terminal device obtains in the system broadcast information
The target property information of carrying;
Event records subelement, is recorded for searching the target property information corresponding second in recording parameter sets
Parameter value, and record parameter value using described second and record the currently playing event.
Optionally, the event recording elements, are used for:
When detecting the event attribute information with any attribute information that sets in event attribute information aggregate not
Timing records parameter value using the third of setting and records the currently playing event.
Optionally, the event recording elements, including:
Parameter value obtains subelement, at least one recording parameter value supported for obtaining terminal device;
Parameter value choose subelement, for when detect the corresponding recording parameter value of the recordings control instruction and it is described extremely
When any recording parameter value mismatches in few recording parameter value, selection and institute at least one recording parameter value
It states and records the highest 4th recording parameter value of the corresponding recording parameter value matching degree of control instruction;
Event records subelement, and the currently playing event is recorded for recording parameter value using the described 4th.
Optionally, the content generation unit, including:
Event loop subelement will be described currently playing for it ought detect that the currently playing event plays at the end of
Next broadcast event of event is determined as currently playing event, and is transferred to the event category for executing and obtaining the currently playing event
The step of property information;
Content generates subelement, for when detecting there is no when next broadcast event, generating and currently being broadcast comprising described
Put the recorded content set of the corresponding recorded content of event.
On the one hand the embodiment of the present invention provides a kind of computer storage media, the computer storage media is stored with more
Item instructs, and described instruction is suitable for being loaded by processor and executing above-mentioned method and step.
On the one hand the embodiment of the present invention provides a kind of electronic equipment, it may include:Processor and memory;Wherein, described
Memory is stored with computer program, and the computer program is suitable for being loaded by the processor and executing following steps:
The currently playing event in broadcasting content is obtained, and obtains the event attribute information of the currently playing event;
The recording control instruction triggered based on the event attribute information is obtained, is corresponded to using the recording control instruction
Recording parameter value record the currently playing event;
At the end of detecting that the currently playing event plays, generate in the corresponding recording of the currently playing event
Hold.
In embodiments of the present invention, by obtaining the currently playing event in broadcasting content, and currently playing event is obtained
Event attribute information, then recorded based on the corresponding recording parameter value of recording control instruction that event attribute information is triggered current
Broadcast event, and at the end of currently playing event plays, generate the corresponding recorded content of currently playing event.By being based on
The recording control instruction of triggering is adjusted to recording parameter value, to record the broadcast event of different quality demand, disclosure satisfy that
The viewing demand of user, can promote user experience.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
Obtain other attached drawings according to these attached drawings.
Fig. 1 is a kind of flow diagram of content recordal method provided in an embodiment of the present invention;
Fig. 2 is a kind of flow diagram of content recordal method provided in an embodiment of the present invention;
Fig. 3 is a kind of flow diagram of content recordal method provided in an embodiment of the present invention;
Fig. 4 is a kind of flow diagram of content recordal method provided in an embodiment of the present invention;
Fig. 5 is a kind of flow diagram of content recordal method provided in an embodiment of the present invention;
Fig. 6 is a kind of interface schematic diagram of content recordal provided in an embodiment of the present invention;
Fig. 7 is a kind of structural schematic diagram of content recordal equipment provided in an embodiment of the present invention;
Fig. 8 is a kind of structural schematic diagram of event recording elements provided in an embodiment of the present invention;
Fig. 9 is a kind of structural schematic diagram of event recording elements provided in an embodiment of the present invention;
Figure 10 is a kind of structural schematic diagram of content generation unit provided in an embodiment of the present invention;
Figure 11 is the structural schematic diagram of a kind of electronic equipment provided in an embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
Below in conjunction with attached drawing 1- attached drawings 5, describe in detail to content recordal method provided in an embodiment of the present invention.
Fig. 1 is referred to, for an embodiment of the present invention provides a kind of flow diagrams of content recordal method.As shown in Figure 1,
The embodiment of the present invention the method may include following steps S101- steps S103.
S101 obtains the currently playing event in broadcasting content, and obtains the event attribute letter of the currently playing event
Breath;
It is understood that the broadcasting content can be any type of multimedia content, as audio, video, animation,
Document etc..And the broadcasting content can be live content, can also be recorded broadcast content.It can be carried out for the broadcasting content
It records, since the broadcasting content can be an independent event, a segment in such as a complete event or event,
Can be sequence of events, such as one section of complete PPT or complete game, and all broadcast events record mode
It is identical, only record the difference of parameter value, then the content recorded then can be understood as broadcast event one by one and
Speech.
Certainly, it records scene to can be understood as playing and recording parallel by content recordal equipment, such as the same user is whole
Progress synchronous with recording of playing games is held, it is also understood that be recorded in the broadcasting that other-end is played by content recordal equipment
Hold, a such as user terminal is played games, another user terminal is recorded.In embodiments of the present invention, it is set with content recordal
It is described for standby parallel broadcasting and recording.
It can be event period of right time, thing that each broadcast event, which has event attribute information, the event attribute information,
Part occurrence scene, event purposes etc..
In the specific implementation, when content recordal equipment detects the record command for the content trigger played on display screen
(such as detect that touch-control records virtual control on a display screen, presses the recording physical button in content recordal equipment, passes through voice
Receiver, which receives recorded speech signal or acquired by camera, records gesture motion etc.) when, in currently playing on screen
Appearance is determined as currently playing event, and obtains the event category of the current broadcast event by being parsed to currently playing event
Property information.Wherein, the content recordal equipment can be user terminal, including tablet computer, personal computer (PC), intelligent hand
Machine, palm PC and mobile internet device (MID) etc. have the terminal device of screen recording function.
S102 obtains the recording control instruction triggered based on the event attribute information, is referred to using recording control
Corresponding recording parameter value is enabled to record the currently playing event;
It is understood that the control instruction of recording refers to the recording progress for the broadcast event to currently being recorded
Parameter is recorded in the instruction of control, such as adjustment, for meeting the recording request to content quality.The instruction can be set by content recordal
Standby detection triggering records in program when detecting that the when of some event occur can be sent out to be broadcast to, records program and readjust recording ginseng
Numerical value;It can also be triggered by user's input control signal.The mode of input control signal can be recorded for touch-control on a display screen
(setting) virtual control is controlled, the recording pressed in content recordal equipment controls physical button, receives and records by voice receiver
Control voice signal processed acquires recording control gesture action etc. by camera.
It may include frame per second, resolution ratio, code check, clarity to record parameter, and under different event attribute, for each recording
The value (recording parameter value) of parameter is different.Parameter value is recorded to meet in recording process different time sections to content by adjusting
The different of quality require.
Wherein, resolution ratio (screen resolution) is the precision of screen picture, refers to the pixel that display can be shown
Number.Since the point on screen, line knead dough are all made of pixel, the displayable pixel of display is more, and picture is more smart
Carefully, the information that same screen area interior energy is shown is also more.
Code check (bit rate) refers to bit (bit) number of transmission per second, and unit is bps (bit per second).Bit
Rate is higher, and transmission data speed is faster.Bit rate in sound refers to after analoging sound signal is converted into digital audio signal,
Binary data amount in unit interval is an index of indirect measure audio quality.Bit rate principle in video and sound
It is identical in sound, all refer to the binary data amount in the unit interval after being converted to digital signal by analog signal.
Frame per second is the measurement for measuring display frame number.So-called units of measurement is display frame number (Frames per per second
Second, referred to as:) or " hertz " (Hz) FPS.
Clarity refers to the readability on each thin portion shadow line and its boundary on image.Usually from video recorder angle, lead to
It crosses and sees that the readability of reproduced picture carrys out movement images quality.
Table 1
Event attribute information | Record parameter value |
Five kill | Resolution=a1*b1&record_fps=c1&qp=d1 |
The group of opening | Resolution=a2*b2&record_fps=c2&qp=d2 |
Playback | Resolution=a3*b3&record_fps=c3&qp=d3 |
Residual blood god walks | Resolution=a4*b4&record_fps=c4&qp=d4 |
It should be noted that content recordal equipment has pre-defined recording parameter protocol, agreement includes mainly protocol name+thing
Part name+recording parameter, wherein it includes resolution sizes, acquisition frame rate, coding parameter etc., qzone_schema to record parameter?
Event_name=**&resolution=540*960&record_fps=25&qp=18.
Resolution is resolution ratio, and record_fps is frame per second, and qp is coding parameter.Certainly, defined recording ginseng
Number agreement can be stored in the form of mapping table, i.e. event attribute information and the mapping relations for recording parameter value, such as 1 institute of table
Show, for example, when the event attribute information got is event name " five kill ", 1 can determine corresponding recording by tabling look-up
Parameter value is resolution=a1*b1&record_fps=c1&qp=d1.
In the specific implementation, when setting moment (such as scene of game that the event attribute information is the currently playing event
Lower group fights start time) when, the recording operation signal that user is inputted for the recording interface of the broadcasting content is obtained, that is, is used
Parameter value is recorded in the dynamic triggering content recordal equipment adjustment of householder, and record parameter value be then (by a war name) look-up table 1 or
Predefined agreement sentence obtains, and it is described current then to record parameter value recording using the recording operation signal corresponding first
Broadcast event;Match with target property information in event attribute information aggregate is set when detecting the event attribute information
When, show that currently playing event is set special event, then ginseng is recorded using the target property information corresponding second
Numerical value records the currently playing event;As times for detecting the event attribute information with setting in event attribute information aggregate
When one attribute information mismatches, show that currently playing event is common event, ginseng is recorded using (acquiescence) third of setting
Numerical value records the currently playing event.Certainly, no matter recording parameter value or the second recording parameter value or third record using first
Parameter value processed is recorded, and being required for, which first will currently record parameter value, is adjusted to the first recording parameter value or the second recording parameter value
Or third records parameter value.
S103 generates the corresponding record of the currently playing event at the end of detecting that the currently playing event plays
Content processed.
It is understood that if the broadcasting of currently playing event terminates, i.e., using the recording of acquired recording parameter value
Journey terminates, then obtains recorded content.The recorded content is to use acquired recording parameter value from currently playing event
The content that start to finish is recorded.In embodiments of the present invention, for the recorded content is only for currently playing event, institute
It may include a broadcast event or multiple broadcast events to state broadcasting content, when the broadcasting content only includes a broadcast event
When (currently playing event), the broadcasting content is identical as the content of the recorded content, but result of broadcast is different.If for example,
Broadcasting content only includes " five kill " event in a competition game, then broadcasting content and the content of recorded content are all
This " five kill " event, but broadcasting content may be played with faster frame per second, and recorded content is then played with slower frame per second.
Optionally, if the broadcasting content recorded is live content, recorded content can be used in recording process and is obtained
Code check carry out stamping timestamp after coding compression one by one and be transmitted to server end, also can be by the recording after the completion of recording
It is transmitted to server end after the compression of properties collection binary encoding, so that transcoding is sent to other users terminal and is solved server again
Pressure plays.
If the broadcasting content recorded is recorded broadcast content, can currently be broadcast described after currently playing event is recorded
The next broadcast event for putting event is determined as currently playing event, is recorded in a like fashion with adopting, and there is no
When next broadcast event, the recorded content set of the recorded content comprising currently playing event is generated, it can will be after the completion of recording
After being transmitted to server end after the compression of recorded content collective encoding or stamping timestamp after being compressed to each broadcast event coding
It is transmitted to server end, so that transcoding is sent to other users terminal and carries out decompression broadcasting server again.It is, of course, also possible to record
Properties collection processed is transmitted to server end after encoding compression frame by frame.
In embodiments of the present invention, by obtaining the currently playing event in broadcasting content, and currently playing event is obtained
Event attribute information, then recorded based on the corresponding recording parameter value of recording control instruction that event attribute information is triggered current
Broadcast event, and at the end of currently playing event plays, generate the corresponding recorded content of currently playing event.By being based on
The recording control instruction of triggering is adjusted to recording parameter value, to record the broadcast event of different quality demand, disclosure satisfy that
The viewing demand of user, can promote user experience.
Fig. 2 is referred to, for an embodiment of the present invention provides a kind of flow diagrams of content recordal method.As shown in figure 3,
The embodiment of the present invention the method may include following steps S201- steps S208.
S201 obtains the currently playing event in broadcasting content, and obtains the event attribute letter of the currently playing event
Breath;
It is understood that the broadcasting content can be any type of multimedia content, as audio, video, animation,
Document etc..And the broadcasting content can be live content, can also be recorded broadcast content.It can be carried out for the broadcasting content
It records, since the broadcasting content can be an independent event, a segment in such as a complete event or event,
Can be sequence of events, such as one section of complete PPT or complete game, and all broadcast events record mode
It is identical, only record the difference of parameter value, then the content recorded then can be understood as broadcast event one by one and
Speech.
It can be event period of right time, thing that each broadcast event, which has event attribute information, the event attribute information,
Part occurrence scene, event purposes etc..
In the specific implementation, when content recordal equipment detects the record command for the content trigger played on display screen
(such as detect that touch-control records virtual control on a display screen, presses the recording physical button in content recordal equipment, passes through voice
Receiver, which receives recorded speech signal or acquired by camera, records gesture motion etc.) when, in currently playing on screen
Appearance is determined as currently playing event, and obtains the event category of the current broadcast event by being parsed to currently playing event
Property information.Wherein, the content recordal equipment can be user terminal, including tablet computer, personal computer (PC), intelligent hand
Machine, palm PC and mobile internet device (MID) etc. have the terminal device of screen recording function.
S202 is obtained and is broadcast for described when the event attribute information is the setting moment of the currently playing event
The recording operation signal that the recording interface of content is inputted is put, parameter value is recorded using the recording operation signal corresponding first
Record the currently playing event.
It is understood that the setting moment can be to carve and (such as played in recording at the beginning of currently playing event
In journey player call group war the group's of opening moment), currently playing event kill (three kill) moment, telling about for currently playing event is wanted
Point moment (the important knowledge point moment told about when such as recording lecture content).
The instruction that the recording operation signal is controlled for the recording of the broadcast event to currently being recorded such as adjusts
Parameter is recorded, for meeting the recording request to content quality.The recording operation signal is user by being directed to current recording thing
What part actively triggered, such as wish that certain page of PPT content is apparent when recording lecture content, so that it may slide on the screen to be referred to three
The variation of triggering collection frame per second is transferred to 60 frames/second from acquiescence 15 frames/second, for another example, when there is the scene for needing slow motion to show
It can be inputted by voice and recording frame per second is turned down.
And the mode for inputting recording operation signal can be that touch-control records control (setting) virtual control on a display screen, press
It presses the recording in content recordal equipment to control physical button, is received by voice receiver and record control voice signal or by taking the photograph
As control gesture action etc. is recorded in head acquisition.For example, directly voice control command can be used as with the special number of formulation, than
Such as:Special prefix+digital control, 22 indicate fast frame per second live streaming, and 33 indicate that slow frame per second is broadcast live, 44 expression high-resolution live streamings, 55
It indicates low resolution live streaming, helps to improve and record efficiency and accuracy.
It may include frame per second, resolution ratio, code check, clarity to record parameter, and under different event attribute, for each recording
The value (recording parameter value) of parameter is different.Parameter value is recorded to meet in recording process different time sections to content by adjusting
The different of quality require.
Wherein, resolution ratio (screen resolution) is the precision of screen picture, refers to the pixel that display can be shown
Number.Since the point on screen, line knead dough are all made of pixel, the displayable pixel of display is more, and picture is more smart
Carefully, the information that same screen area interior energy is shown is also more.
Code check (bit rate) refers to bit (bit) number of transmission per second, and unit is bps (bit per second).Bit
Rate is higher, and transmission data speed is faster.Bit rate in sound refers to after analoging sound signal is converted into digital audio signal,
Binary data amount in unit interval is an index of indirect measure audio quality.Bit rate principle in video and sound
It is identical in sound, all refer to the binary data amount in the unit interval after being converted to digital signal by analog signal.
Frame per second is the measurement for measuring display frame number.So-called units of measurement is display frame number (Frames per per second
Second, referred to as:) or " hertz " (Hz) FPS.
Clarity refers to the readability on each thin portion shadow line and its boundary on image.Usually from video recorder angle, lead to
It crosses and sees that the readability of reproduced picture carrys out movement images quality.
It should be noted that content recordal equipment has pre-defined recording parameter protocol, agreement includes mainly protocol name+thing
Part name+recording parameter, wherein it includes resolution sizes, acquisition frame rate, coding parameter etc., qzone_schema to record parameter?
Event_name=**&resolution=540*960&record_fps=25&qp=18.Resolution is resolution ratio,
Record_fps is frame per second, and qp is coding parameter.Certainly, defined recording parameter protocol can be in the form of mapping table
Storage, i.e. event attribute information and the mapping relations for recording parameter value, as shown in table 1, for example, when the event category got
Property information when being event name " five kill ", 1 can determine corresponding recordings parameter value for resolution=a1*b1& by tabling look-up
Record_fps=c1&qp=d1.
It is described that parameter value record is recorded using the recording operation signal corresponding first in a kind of concrete implementation mode
It makes the currently playing event may comprise steps of, as shown in Figure 3:
S301 gradually adjusts current recording parameter value, using the current recording parameter value after adjusting using the step-length of setting
Record the currently playing event;
That is, by the adjustment process for currently recording parameter value to the first recording parameter value be the step-length based on setting by
Successive step.But in adjustment process, adjusting while, also wants synchronous recording, and is carried out using the recording parameter value after adjusting
It records.
For example, for frame per second, if current frame rate is record_fps=15 frames/second, the first frame per second is record_
Fps=60 frames/second set step-length as 15 frames/second, then current frame rate is adjusted to 30 frames/second first, and use 30 frames/second
Frame per second recorded, 45 frames/second is then adjusted to again, and continue to record using the frame per second of 45 frames/second, finally by frame rate adjustment
To 60 frames/second.The setting step-length can be minimum step.
S302 records parameter value when the current recording parameter value is adjusted to described first, is recorded using described first
Parameter value records the currently playing event.
For example, by frame rate adjustment to 60 frames/after the second, is then used for the remaining content of currently playing event 60 frames/second
Frame per second is recorded.
Certainly, identical mode all can be used for resolution ratio, code check, clarity to be adjusted.
S203, when detect the event attribute information and setting event attribute information aggregate in target property information phase
Timing records parameter value using the target property information corresponding second and records the currently playing event.
It is understood that include at least one attribute information in setting event attribute information aggregate, described at least one
A attribute information is the attribute information of set particular event, such as event period of right time, event occurrence scene, event purposes
Deng.
If the event attribute information of currently playing event and some attribute information phase at least one attribute information
When matching, then show that currently playing event at this time is special event or excellent event, as in playing " five kill " event, need it is slow
The scene etc. of action demonstration.
It should be noted that after the completion of currently playing event is recorded, need the second recording parameter value being restored to acquiescence
Parameter value is recorded, to reduce bandwidth and expense.
It is described that parameter value record is recorded using the recording operation signal corresponding second in a kind of concrete implementation mode
It makes the currently playing event may comprise steps of, as shown in Figure 4:
S401 obtains the system broadcast information of terminal device, obtains the objective attribute target attribute carried in the system broadcast information
Information;
Specifically, when content recordal equipment (terminal device) determine the event attribute information of currently playing event with it is described extremely
When target property information in a few attribute information matches, the broadcast transmission of target property information will be carried to recording journey
Sequence.
S402 searches the target property information corresponding second in recording parameter sets and records parameter value, and uses
Described second, which records parameter value, records the currently playing event.
Specifically, content recordal equipment obtains second by searching for table 1 or predefined agreement sentence records parameter value,
Then it records parameter value using described second and records the currently playing event.
S204, when detect the event attribute information and set event attribute information aggregate in any attribute information it is equal
When mismatch, parameter value is recorded using the third of setting and records the currently playing event.
Specifically, when detecting the event attribute information and setting any attribute information in event attribute information aggregate
When mismatching, show that currently playing event is common event, parameter value is recorded using (acquiescence) third of setting and records institute
State currently playing event.
For example, the event attribute information of currently playing event is " open country is beaten in area out of office ", and sets event attribute set and include
" three kill, four kill, five kill, the group of opening, residual blood god walk ", then the recording parameter value recording of system default is used to beat open country process at this time
?.
S205 obtains the recording control instruction triggered based on the event attribute information, obtains terminal device and is supported
At least one recording parameter value;
It is understood that it is necessary to sentence to recording parameter value after the record screen program parsing event of content recordal equipment
Whether disconnected verification, such as resolution ratio support whether equipment performance meets coding requirement etc..
In the specific implementation, content recordal equipment extracts the recording set of parameter values or pass through solution that the system to prestore is supported
The recording set of parameter values that analysis acquisition system is supported.
S206, when detecting the corresponding recording parameter value of the recording control instruction and at least one recording parameter value
In any recording parameter value when mismatching, chosen and the recording control instruction pair at least one recording parameter value
The recording parameter value matching degree the highest 4th answered records parameter value;
It is understood that when detecting the corresponding recording parameter value of the recording control instruction and at least one record
When any recording parameter value mismatches in parameter value processed, show the recording parameter value for the current demand that system is not supported, in order to
Improve and record quality, then needs to determine immediate recording parameter value in the recording parameter value supported.
For example, the resolution ratio that content recordal equipment is supported includes 1600*900,1366*768,1280*720 and 800*
600, and record the corresponding resolution ratio of control instruction be 1080*1920, calculate separately 1600*900,1366*768,1280*720,
The matching similarity of 800*600 and 1080*1920, using the highest 1600*900 of gained matching similarity as point for recording
Resolution.
S207 records parameter value using the described 4th and records the currently playing event.
The resolution ratio of 1600*900 is used to record currently playing event.
It is obtained in a like fashion it should be noted that also being adopted for frame per second, clarity and code check.
S208 generates the corresponding record of the currently playing event at the end of detecting that the currently playing event plays
Content processed.
It is understood that if the broadcasting of currently playing event terminates, i.e., using the recording of acquired recording parameter value
Journey terminates, then obtains recorded content.The recorded content is to use acquired recording parameter value from currently playing event
The content that start to finish is recorded.In embodiments of the present invention, for the recorded content is only for currently playing event, institute
It may include a broadcast event or multiple broadcast events to state broadcasting content, when the broadcasting content only includes a broadcast event
When (currently playing event), the broadcasting content is identical as the content of the recorded content, but result of broadcast is different.If for example,
Broadcasting content only includes " five kill " event in a competition game, then broadcasting content and the content of recorded content are all
This " five kill " event, but broadcasting content may be played with faster frame per second, and recorded content is then played with slower frame per second.
Optionally, if the broadcasting content recorded is live content, recorded content can be used in recording process and is obtained
Code check carry out stamping timestamp after coding compression one by one and be transmitted to server end, also can will be complete after the completion of recording
Recorded content coding compression after be transmitted to server end, so as to server again transcoding be sent to other users terminal carry out decompression broadcast
It puts.
It is described described when detecting in a kind of concrete implementation mode if the broadcasting content recorded is recorded broadcast content
At the end of currently playing event plays, generates the corresponding recorded content of the currently playing event and may comprise steps of, such as
Shown in Fig. 5:
S501 broadcasts the next of currently playing event at the end of detecting that the currently playing event plays
The event of putting is determined as currently playing event, and is transferred to the step of executing the event attribute information for obtaining the currently playing event;
It is understood that at the end of detecting that the currently playing event plays, obtain under currently playing event
One broadcast event, and using next broadcast event as currently playing event, to use and next broadcast event
The identical mode of a upper broadcast event is recorded, and has recorded other broadcast events successively.
S502, when detecting that there is no when next broadcast event, generate comprising the corresponding record of the currently playing event
The recorded content set of content processed.
Specifically, the recorded content set includes the corresponding recorded content of multiple broadcast events.When there is no
When next broadcast event, shows that played content is all recorded and complete, it can be whole by the recorded content set after the completion of recording
When being transmitted to server end after body coding compression or being stamped again to each recorded content coding compression in recorded content set
Between stab after be transmitted to server end, so that transcoding is sent to other users terminal and carries out decompression broadcasting server again.Certainly, may be used also
With recorded content set is encoded frame by frame compression after be transmitted to server end.
It is of course also possible to be interpreted as, the currently playing event completed will be recorded and be added in recorded content set, and recorded
Next broadcast event is recorded, the recorded content set completed will be finally recorded and splices, clothes are sent to after re-encoding compression
It is engaged in device, so that transcoding is sent to other users terminal and carries out decompression broadcasting server again.
In embodiments of the present invention, by obtaining the currently playing event in broadcasting content, and currently playing event is obtained
Event attribute information, then recorded based on the corresponding recording parameter value of recording control instruction that event attribute information is triggered current
Broadcast event, and at the end of currently playing event plays, generate the corresponding recorded content of currently playing event.By being based on
The recording control instruction of triggering is adjusted to recording parameter value, to record the broadcast event of different quality demand, disclosure satisfy that
The viewing demand of user, can promote user experience.
Fig. 6 is referred to, for an embodiment of the present invention provides a kind of recording interface schematic diagrames of content recordal method.Such as Fig. 6
Shown, the embodiment of the present invention is specifically introduced content method for recording in a manner of a scene of game.
If interface shown in fig. 6 is the recording function interface of a user terminal (such as mobile phone), including " live streaming " and " record screen "
Two functions, wherein " record screen " indicates to record current live content.Certainly, transverse screen also may be selected to record and vertical screen record
System.
For example, user currently passes through the mobile phone operation " A game ", that is to say, that in the broadcast interface playing " A of mobile phone
Game ", after user has selected " record screen " function, mobile phone plays and records parallel each event in " A game ", will currently just
It is determined as currently playing event in the event of broadcasting, " war of the group of call " such as the corresponding virtual role of user, record will be triggered
Screen live streaming application is recorded with apparent and more smooth picture, then in the event attribute information stored and recording parameter value
Mapping table in search " call group war " corresponding recording parameter value (such as qzone_schema?Event_name=five_
Series_kill& resolution=1080*1920&record_fps=50&qp=12), and parameter value record is recorded with this
The entire group's war part of system, to generate recorded content.Certainly, after war part, if the corresponding event of next event
Attribute information needs slow motion to show, then searches corresponding parameter value of recording again and recording frame per second is turned down, such as record_fps
=5, if next event is common event, current parameter value of recording is adjusted into the recording parameter value to default configuration to reduce
Bandwidth and mobile phone expense.If detecting, currently playing event is common event, is recorded using the recording parameter value of acquiescence.Separately
Outside, the direct active of user that can also be in such a way that specific recording parameter records currently playing event by playing game is being triggered
Display interface is controlled, is such as controlled by finger touch display interface, it is similar to refer to slide trigger acquisition frame on the screen with three
The variation of rate, or as voice input special prefix+digital control is controlled, similar 22 indicate fast frame per second live streaming, and 33 indicate
Slow frame per second live streaming, 44 indicate high-resolution live streaming, and 55 indicate low resolution live streaming etc..Certainly by user's active control or system
Dynamic detection control triggering adjusting records parameter value and disclosure satisfy that user so as to record the broadcast event of different quality demand
Viewing demand, and then promoted user experience.
Below in conjunction with attached drawing 7- attached drawings 10, describe in detail to content recordal equipment provided in an embodiment of the present invention.
It should be noted that the attached equipment shown in Fig. 10 of attached drawing 7-, the method for executing Fig. 1-embodiment illustrated in fig. 6 of the present invention, are
Convenient for explanation, illustrates only and do not disclosed with the relevant part of the embodiment of the present invention, particular technique details, please refer to the present invention
Fig. 1-embodiments shown in fig. 6.
Fig. 7 is referred to, for an embodiment of the present invention provides a kind of structural schematic diagrams of content recordal equipment.As shown in fig. 7,
The content recordal equipment 1 of the embodiment of the present invention may include:Attribute acquiring unit 11, event recording elements 12 and content life
At unit 13.
Attribute acquiring unit 11 for obtaining the currently playing event in broadcasting content, and obtains the currently playing thing
The event attribute information of part;
It is understood that the broadcasting content can be any type of multimedia content, as audio, video, animation,
Document etc..And the content of the broadcasting can be live content, can also be recorded broadcast content.It can be into for the broadcasting content
Row is recorded, since the broadcasting content can be an independent event, a segment in such as a complete event or event,
Can also be sequence of events, such as one section of complete PPT or completely game, and all broadcast event recording sides
Formula is identical, only records the difference of parameter value, then the content recorded then can be understood as broadcast event one by one
For.
It can be event period of right time, thing that each broadcast event, which has event attribute information, the event attribute information,
Part occurrence scene, event purposes etc..
In the specific implementation, when attribute acquiring unit 11 detects that the recording for the content trigger played on display screen refers to
It enables and (such as detects that touch-control records virtual control on a display screen, presses the recording physical button in content recordal equipment, passes through language
Sound receiver, which receives recorded speech signal or acquired by camera, records gesture motion etc.) when, it will be currently playing on screen
Content is determined as currently playing event, and by being parsed to currently playing event to obtain the event of the current broadcast event
Attribute information.
Event recording elements 12 are used for obtaining the recording control instruction triggered based on the event attribute information
The corresponding recording parameter value recording of the recording control instruction currently playing event;
Optionally, the event recording elements 12, are used for:
When the event attribute information is the setting moment of the currently playing event, obtains and be directed to the broadcasting content
The recording operation signal that is inputted of recording interface, parameter value is recorded using the recording operation signal corresponding first and records institute
State currently playing event.
It is understood that the setting moment can be to carve and (such as played in recording at the beginning of currently playing event
In journey player call group war the group's of opening moment), currently playing event kill (three kill) moment, telling about for currently playing event is wanted
Point moment (the important knowledge point moment told about when such as recording lecture content).
The instruction that the recording operation signal is controlled for the recording of the broadcast event to currently being recorded such as adjusts
Parameter is recorded, for meeting the recording request to content quality.The recording operation signal is user by being directed to current recording thing
What part actively triggered, such as wish that certain page of PPT content is apparent when recording lecture content, so that it may slide on the screen to be referred to three
The variation of triggering collection frame per second is transferred to 60 frames/second from acquiescence 15 frames/second, for another example, when there is the scene for needing slow motion to show
It can be inputted by voice and recording frame per second is turned down.
And the mode for inputting recording operation signal can be that touch-control records control (setting) virtual control on a display screen, press
It presses the recording in content recordal equipment to control physical button, is received by voice receiver and record control voice signal or by taking the photograph
As control gesture action etc. is recorded in head acquisition.For example, directly voice control command can be used as with the special number of formulation, than
Such as:Special prefix+digital control, 22 indicate fast frame per second live streaming, and 33 indicate that slow frame per second is broadcast live, 44 expression high-resolution live streamings, 55
It indicates low resolution live streaming, helps to improve and record efficiency and accuracy.
It may include frame per second, resolution ratio, code check, clarity to record parameter, and under different event attribute, for each recording
The value (recording parameter value) of parameter is different.Parameter value is recorded to meet in recording process different time sections to content by adjusting
The different of quality require.
Wherein, resolution ratio (screen resolution) is the precision of screen picture, refers to the pixel that display can be shown
Number.Since the point on screen, line knead dough are all made of pixel, the displayable pixel of display is more, and picture is more smart
Carefully, the information that same screen area interior energy is shown is also more.
Code check (bit rate) refers to bit (bit) number of transmission per second, and unit is bps (bit per second).Bit
Rate is higher, and transmission data speed is faster.Bit rate in sound refers to after analoging sound signal is converted into digital audio signal,
Binary data amount in unit interval is an index of indirect measure audio quality.Bit rate principle in video and sound
It is identical in sound, all refer to the binary data amount in the unit interval after being converted to digital signal by analog signal.
Frame per second is the measurement for measuring display frame number.So-called units of measurement is display frame number (Frames per per second
Second, referred to as:) or " hertz " (Hz) FPS.
Clarity refers to the readability on each thin portion shadow line and its boundary on image.Usually from video recorder angle, lead to
It crosses and sees that the readability of reproduced picture carrys out movement images quality.
It should be noted that content recordal equipment has pre-defined recording parameter protocol, agreement includes mainly protocol name+thing
Part name+recording parameter, wherein it includes resolution sizes, acquisition frame rate, coding parameter etc., qzone_schema to record parameter?
Event_name=**&resolution=540*960&record_fps=25&qp=18.
Resolution is resolution ratio, and record_fps is frame per second, and qp is coding parameter.Certainly, defined recording ginseng
Number agreement can be stored in the form of mapping table, i.e. event attribute information and the mapping relations for recording parameter value, such as 1 institute of table
Show, for example, when the event attribute information got is event name " five kill ", 1 can determine corresponding recording by tabling look-up
Parameter value is resolution=a1*b1&record_fps=c1&qp=d1.
Further, the event recording elements 12, are specifically used for:
Current recording parameter value is gradually adjusted using the step-length of setting, institute is recorded using the current recording parameter value after adjusting
State currently playing event;
That is, by the adjustment process for currently recording parameter value to the first recording parameter value be the step-length based on setting by
Successive step.But in adjustment process, adjusting while, also wants synchronous recording, and is carried out using the recording parameter value after adjusting
It records.
For example, for frame per second, if current frame rate is record_fps=15 frames/second, the first frame per second is record_
Fps=60 frames/second set step-length as 15 frames/second, then current frame rate is adjusted to 30 frames/second first, and use 30 frames/second
Frame per second recorded, 45 frames/second is then adjusted to again, and continue to record using the frame per second of 45 frames/second, finally by frame rate adjustment
To 60 frames/second.The setting step-length can be minimum step.
Parameter value is recorded when the current recording parameter value is adjusted to described first, parameter value is recorded using described first
Record the currently playing event.
For example, by frame rate adjustment to 60 frames/after the second, is then used for the remaining content of currently playing event 60 frames/second
Frame per second is recorded.
Certainly, identical mode all can be used for resolution ratio, code check, clarity to be adjusted.
Optionally, the event recording elements 12, are used for:
When detecting the event attribute information and target property information matching in setting event attribute information aggregate,
Parameter value is recorded using the target property information corresponding second and records the currently playing event.
It is understood that include at least one attribute information in setting event attribute information aggregate, described at least one
A attribute information is the attribute information of set particular event, such as event period of right time, event occurrence scene, event purposes
Deng.
If the event attribute information of currently playing event and some attribute information phase at least one attribute information
When matching, then show that currently playing event at this time is special event or excellent event, as in playing " five kill " event, need it is slow
The scene etc. of action demonstration.
It should be noted that after the completion of currently playing event is recorded, need the second recording parameter value being restored to acquiescence
Parameter value is recorded, to reduce bandwidth and expense.
Further, as shown in figure 8, the event recording elements 12, including:
Attribute obtains subelement 121, and the system broadcast information for obtaining terminal device obtains the system broadcast information
The target property information of middle carrying;
Specifically, when attribute obtains the event attribute information and described at least one that subelement 121 determines currently playing event
When target property information in a attribute information matches, the broadcast transmission of target property information will be carried to recording program.
Event records subelement 122, for searching the target property information corresponding second in recording parameter sets
Parameter value is recorded, and records parameter value using described second and records the currently playing event.
Join specifically, event records subelement 122 and obtains second by searching for table 1 or predefined agreement sentence and record
Then numerical value records parameter value using described second and records the currently playing event.
Optionally, the event recording elements 12, are used for:
When detecting the event attribute information with any attribute information that sets in event attribute information aggregate not
Timing records parameter value using the third of setting and records the currently playing event.
Specifically, when detecting the event attribute information and setting any attribute information in event attribute information aggregate
When mismatching, show that currently playing event is common event, parameter value is recorded using (acquiescence) third of setting and records institute
State currently playing event.
For example, the event attribute information of currently playing event is " open country is beaten in area out of office ", and sets event attribute set and include
" three kill, four kill, five kill, the group of opening, residual blood god walk ", then the recording parameter value recording of system default is used to beat open country process at this time
?.
Optionally, as shown in figure 9, the event recording elements 12, including:
Parameter value obtains subelement 123, at least one recording parameter value supported for obtaining terminal device;
It is understood that after the record screen program parsing event of parameter value acquisition subelement 123, it is necessary to recording parameter
Value carries out judgement verification, for example whether resolution ratio is supported, whether equipment performance meets coding requirement etc..
In the specific implementation, parameter value obtain subelement 123 extract recording set of parameter values that the system that prestores is supported or
The recording set of parameter values that person is supported by parsing acquisition system.
Parameter value chooses subelement 124, and the corresponding recording parameter value of the recording control instruction and institute are detected for working as
When stating that any recording parameter value mismatches at least one recording parameter value, chosen at least one recording parameter value
Recording parameter value matching degree corresponding with the recording control instruction the highest 4th records parameter value;
It is understood that when detecting the corresponding recording parameter value of the recording control instruction and at least one record
When any recording parameter value mismatches in parameter value processed, show the recording parameter value for the current demand that system is not supported, in order to
Improve and record quality, then needs to determine immediate recording parameter value in the recording parameter value supported.
For example, the resolution ratio that content recordal equipment is supported includes 1600*900,1366*768,1280*720 and 800*
600, and record the corresponding resolution ratio of control instruction be 1080*1920, calculate separately 1600*900,1366*768,1280*720,
The matching similarity of 800*600 and 1080*1920, using the highest 1600*900 of gained matching similarity as point for recording
Resolution.
Event records subelement 125, and the currently playing event is recorded for recording parameter value using the described 4th.
The resolution ratio of 1600*900 is used to record currently playing event.
It is obtained in a like fashion it should be noted that also being adopted for frame per second, clarity and code check.
Content generation unit 13, at the end of detecting that the currently playing event plays, generation is described currently to be broadcast
Put the corresponding recorded content of event.
It is understood that if the broadcasting of currently playing event terminates, i.e., using the recording of acquired recording parameter value
Journey terminates, then obtains recorded content.The recorded content is to use acquired recording parameter value from currently playing event
The content that start to finish is recorded.In embodiments of the present invention, for the recorded content is only for currently playing event, institute
It may include a broadcast event or multiple broadcast events to state broadcasting content, when the broadcasting content only includes a broadcast event
When (currently playing event), the broadcasting content is identical as the content of the recorded content, but result of broadcast is different.If for example,
Broadcasting content only includes " five kill " event in a competition game, then broadcasting content and the content of recorded content are all
This " five kill " event, but broadcasting content may be played with faster frame per second, and recorded content is then played with slower frame per second.
Optionally, if the broadcasting content recorded is live content, recorded content can be used in recording process and is obtained
Code check carry out stamping timestamp after coding compression one by one and be transmitted to server end, also can will be complete after the completion of recording
Recorded content coding compression after be transmitted to server end, so as to server again transcoding be sent to other users terminal carry out decompression broadcast
It puts.
Optionally, as shown in Figure 10, the content generation unit 13, including:
Event loop subelement 131, at the end of detecting that the currently playing event plays, currently being broadcast described
The next broadcast event for putting event is determined as currently playing event, and is transferred to the event for executing and obtaining the currently playing event
The step of attribute information;
It is understood that at the end of detecting that the currently playing event plays, obtain under currently playing event
One broadcast event, and using next broadcast event as currently playing event, to use and next broadcast event
The identical mode of a upper broadcast event is recorded, and has recorded other broadcast events successively.
Content generates subelement 132, for when detecting there is no when next broadcast event, generating comprising described current
The recorded content set of the corresponding recorded content of broadcast event.
Specifically, the recorded content set includes the corresponding recorded content of multiple broadcast events.When there is no
When next broadcast event, shows that played content is all recorded and complete, it can be whole by the recorded content set after the completion of recording
When being transmitted to server end after body coding compression or being stamped again to each recorded content coding compression in recorded content set
Between stab after be transmitted to server end, so that transcoding is sent to other users terminal and carries out decompression broadcasting server again.Certainly, may be used also
With recorded content set is encoded frame by frame compression after be transmitted to server end.
It is of course also possible to be interpreted as, the currently playing event completed will be recorded and be added in recorded content set, and recorded
Next broadcast event is recorded, the recorded content set completed will be finally recorded and splices, clothes are sent to after re-encoding compression
It is engaged in device, so that transcoding is sent to other users terminal and carries out decompression broadcasting server again.
In embodiments of the present invention, by obtaining the currently playing event in broadcasting content, and currently playing event is obtained
Event attribute information, then recorded based on the corresponding recording parameter value of recording control instruction that event attribute information is triggered current
Broadcast event, and at the end of currently playing event plays, generate the corresponding recorded content of currently playing event.By being based on
The recording control instruction of triggering is adjusted to recording parameter value, to record the broadcast event of different quality demand, disclosure satisfy that
The viewing demand of user, can promote user experience.
The embodiment of the present invention additionally provides a kind of computer storage media, and the computer storage media can be stored with more
Item instructs, and described instruction is suitable for being loaded by processor and being executed the method and step such as above-mentioned Fig. 1-embodiment illustrated in fig. 6, specifically holds
Row process may refer to illustrating for Fig. 1-embodiment illustrated in fig. 6, herein without repeating.
Figure 11 is referred to, for an embodiment of the present invention provides the structural schematic diagrams of a kind of electronic equipment.As shown in figure 11, institute
Stating electronic equipment 1000 may include:At least one processor 1001, such as CPU, at least one network interface 1004, Yong Hujie
Mouth 1003, memory 1005, at least one communication bus 1002.Wherein, communication bus 1002 is for realizing between these components
Connection communication.Wherein, user interface 1003 may include display screen (Display), camera (Camera), and optional user connects
Mouth 1003 can also include standard wireline interface and wireless interface.Network interface 1004 may include optionally the wired of standard
Interface, wireless interface (such as WI-FI interfaces).Memory 1005 can be high-speed RAM memory, can also be non-labile deposit
Reservoir (non-volatile memory), for example, at least a magnetic disk storage.Memory 1005 optionally can also be at least
One storage device for being located remotely from aforementioned processor 1001.As shown in figure 11, as a kind of storage of computer storage media
May include operating system, network communication module, Subscriber Interface Module SIM and content recordal application program in device 1005.
In the electronic equipment 1000 shown in Figure 11, user interface 1003 is mainly used for providing the interface of input to the user,
Obtain data input by user;And processor 1001 can be used for calling the content recordal application journey stored in memory 1005
Sequence, and specifically execute following operation:
The currently playing event in broadcasting content is obtained, and obtains the event attribute information of the currently playing event;
The recording control instruction triggered based on the event attribute information is obtained, is corresponded to using the recording control instruction
Recording parameter value record the currently playing event;
At the end of detecting that the currently playing event plays, generate in the corresponding recording of the currently playing event
Hold.
In one embodiment, the processor 1001 is executing the record for obtaining and being triggered based on the event attribute information
When control instruction processed, when recording the currently playing event using the corresponding recording parameter value of the recording control instruction, specifically
Execute following operation:
When the event attribute information is the setting moment of the currently playing event, obtains and be directed to the broadcasting content
The recording operation signal that is inputted of recording interface, parameter value is recorded using the recording operation signal corresponding first and records institute
State currently playing event.
In one embodiment, the processor 1001 is being executed using corresponding first recording of the recording operation signal
It is specific to execute following operation when parameter value records the currently playing event:
Current recording parameter value is gradually adjusted using the step-length of setting, institute is recorded using the current recording parameter value after adjusting
State currently playing event;
When the current recording parameter value is adjusted to the first recording parameter value, parameter is recorded using described first
Value records the currently playing event.
In one embodiment, the processor 1001 is executing the record for obtaining and being triggered based on the event attribute information
When control instruction processed, when recording the currently playing event using the corresponding recording parameter value of the recording control instruction, specifically
Execute following operation:
When detecting the event attribute information and target property information matching in setting event attribute information aggregate,
Parameter value is recorded using the target property information corresponding second and records the currently playing event.
In one embodiment, the processor 1001 is being executed using corresponding second recording of the target property information
It is specific to execute following operation when parameter value records the currently playing event:
The system broadcast information for obtaining terminal device, obtains the target property information carried in the system broadcast information;
The target property information corresponding second is searched in recording parameter sets and records parameter value, and using described the
Two, which record parameter value, records the currently playing event.
In one embodiment, the processor 1001 is executing the record for obtaining and being triggered based on the event attribute information
When control instruction processed, when recording the currently playing event using the corresponding recording parameter value of the recording control instruction, specifically
Execute following operation:
When detecting the event attribute information with any attribute information that sets in event attribute information aggregate not
Timing records parameter value using the third of setting and records the currently playing event.
In one embodiment, the processor 1001 is being executed using the corresponding recording parameter of the recording control instruction
It is specific to execute following operation when value records the currently playing event:
Obtain at least one recording parameter value that terminal device is supported;
Appoint when detecting in the corresponding recording parameter value of the recording control instruction and at least one recording parameter value
When one recording parameter value mismatches, chosen at least one recording parameter value corresponding with the recording control instruction
It records parameter value matching degree the highest 4th and records parameter value;
Parameter value, which is recorded, using the described 4th records the currently playing event.
In one embodiment, the processor 1001 is worked as in execution detects that the currently playing event broadcasting terminates
When, it is specific to execute following operation when generating the corresponding recorded content of the currently playing event:
At the end of detecting that the currently playing event plays, by next broadcast event of the currently playing event
It is determined as currently playing event, and is transferred to the step of executing the event attribute information for obtaining the currently playing event;
When detecting there is no when next broadcast event, the recorded content for including currently playing event is generated.
In embodiments of the present invention, by obtaining the currently playing event in broadcasting content, and currently playing event is obtained
Event attribute information, then recorded based on the corresponding recording parameter value of recording control instruction that event attribute information is triggered current
Broadcast event, and at the end of currently playing event plays, generate the corresponding recorded content of currently playing event.By being based on
The recording control instruction of triggering is adjusted to recording parameter value, to record the broadcast event of different quality demand, disclosure satisfy that
The viewing demand of user, can promote user experience.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in a computer read/write memory medium
In, the program is when being executed, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly
It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.
Claims (15)
1. a kind of content recordal method, which is characterized in that including:
The currently playing event in broadcasting content is obtained, and obtains the event attribute information of the currently playing event;
The recording control instruction triggered based on the event attribute information is obtained, using the corresponding record of the recording control instruction
Parameter value processed records the currently playing event;
At the end of detecting that the currently playing event plays, the corresponding recorded content of the currently playing event is generated.
2. according to the method described in claim 1, it is characterized in that, what the acquisition was triggered based on the event attribute information
Control instruction is recorded, the currently playing event is recorded using the corresponding recording parameter value of the recording control instruction, including:
When the event attribute information is the setting moment of the currently playing event, the record for the broadcasting content is obtained
The recording operation signal that interface processed is inputted is worked as using described in the corresponding first recording parameter value recording of the recording operation signal
Preceding broadcast event.
3. according to the method described in claim 2, it is characterized in that, described using corresponding first record of the recording operation signal
Parameter value processed records the currently playing event, including:
Current recording parameter value is gradually adjusted using the step-length of setting, is worked as using described in the current recording parameter value recording after adjusting
Preceding broadcast event;
When the current recording parameter value is adjusted to the first recording parameter value, parameter value record is recorded using described first
Make the currently playing event.
4. according to the method described in claim 1, it is characterized in that, what the acquisition was triggered based on the event attribute information
When recording control instruction, the currently playing event is recorded using the corresponding recording parameter value of the recording control instruction, including:
When detecting the event attribute information and target property information matching in setting event attribute information aggregate, use
The target property information corresponding second records parameter value and records the currently playing event.
5. according to the method described in claim 4, it is characterized in that, described using corresponding second record of the target property information
Parameter value processed records the currently playing event, including:
The system broadcast information for obtaining terminal device, obtains the target property information carried in the system broadcast information;
The target property information corresponding second is searched in recording parameter sets and records parameter value, and is recorded using described second
Parameter value processed records the currently playing event.
6. according to the method described in claim 1, it is characterized in that, what the acquisition was triggered based on the event attribute information
When recording control instruction, the currently playing event is recorded using the corresponding recording parameter value of the recording control instruction, including:
When detecting that the event attribute information is mismatched with any attribute information set in event attribute information aggregate,
Parameter value is recorded using the third of setting and records the currently playing event.
7. according to the method described in claim 1, it is characterized in that, described using the corresponding recording ginseng of the recording control instruction
Numerical value records the currently playing event, including:
Obtain at least one recording parameter value that terminal device is supported;
When detecting any record in the corresponding recording parameter value of the recording control instruction and at least one recording parameter value
When parameter value processed mismatches, recording corresponding with the recording control instruction is chosen at least one recording parameter value
Parameter value matching degree the highest 4th records parameter value;
Parameter value, which is recorded, using the described 4th records the currently playing event.
8. according to the method described in claim 1, it is characterized in that, described ought detect that the currently playing event broadcasting terminates
When, the corresponding recorded content of the currently playing event is generated, including:
At the end of detecting that the currently playing event plays, next broadcast event of the currently playing event is determined
For currently playing event, and it is transferred to the step of executing the event attribute information for obtaining the currently playing event;
When detecting there is no when next broadcast event, the record for including the corresponding recorded content of the currently playing event is generated
Properties collection processed.
9. a kind of content recordal equipment, which is characterized in that including:
Attribute acquiring unit for obtaining the currently playing event in broadcasting content, and obtains the thing of the currently playing event
Part attribute information;
Event recording elements, for obtaining the recording control instruction triggered based on the event attribute information, using the record
The corresponding recording parameter value recording of the control instruction processed currently playing event;
Content generation unit, at the end of detecting that the currently playing event plays, generating the currently playing event
Corresponding recorded content.
10. equipment according to claim 9, which is characterized in that the event recording elements are used for:
When the event attribute information is the setting moment of the currently playing event, the record for the broadcasting content is obtained
The recording operation signal that interface processed is inputted is worked as using described in the corresponding first recording parameter value recording of the recording operation signal
Preceding broadcast event.
11. equipment according to claim 10, which is characterized in that the event recording elements are specifically used for:
Current recording parameter value is gradually adjusted using the step-length of setting, is worked as using described in the current recording parameter value recording after adjusting
Preceding broadcast event;
When the current recording parameter value is adjusted to the first recording parameter value, parameter value record is recorded using described first
Make the currently playing event.
12. equipment according to claim 9, which is characterized in that the event recording elements are used for:
When detecting the event attribute information and target property information matching in setting event attribute information aggregate, use
The target property information corresponding second records parameter value and records the currently playing event.
13. equipment according to claim 12, which is characterized in that the event recording elements, including:
Attribute obtains subelement, and the system broadcast information for obtaining terminal device is obtained and carried in the system broadcast information
Target property information;
Event records subelement, and parameter is recorded for searching the target property information corresponding second in recording parameter sets
Value, and record parameter value using described second and record the currently playing event.
14. a kind of computer storage media, which is characterized in that the computer storage media is stored with a plurality of instruction, the finger
It enables and is suitable for being loaded by processor and being executed the method and step such as claim 1~8 any one.
15. a kind of electronic equipment, which is characterized in that including:Processor and memory;Wherein, the memory is stored with calculating
Machine program, the computer program are suitable for being loaded by the processor and executing following steps:
The currently playing event in broadcasting content is obtained, and obtains the event attribute information of the currently playing event;
The recording control instruction triggered based on the event attribute information is obtained, using the corresponding record of the recording control instruction
Parameter value processed records the currently playing event;
At the end of detecting that the currently playing event plays, the corresponding recorded content of the currently playing event is generated.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810550094.8A CN108737884B (en) | 2018-05-31 | 2018-05-31 | Content recording method and equipment, storage medium and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810550094.8A CN108737884B (en) | 2018-05-31 | 2018-05-31 | Content recording method and equipment, storage medium and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108737884A true CN108737884A (en) | 2018-11-02 |
CN108737884B CN108737884B (en) | 2022-05-10 |
Family
ID=63931610
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810550094.8A Active CN108737884B (en) | 2018-05-31 | 2018-05-31 | Content recording method and equipment, storage medium and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108737884B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110062262A (en) * | 2019-04-12 | 2019-07-26 | 北京字节跳动网络技术有限公司 | Transcoding control method, device, electronic equipment and the storage medium of video data |
WO2020118560A1 (en) * | 2018-12-12 | 2020-06-18 | 深圳市欢太科技有限公司 | Recording method and apparatus, electronic device and computer readable storage medium |
CN111556328A (en) * | 2020-04-17 | 2020-08-18 | 北京达佳互联信息技术有限公司 | Program acquisition method and device for live broadcast room, electronic equipment and storage medium |
CN112351290A (en) * | 2020-09-08 | 2021-02-09 | 深圳Tcl新技术有限公司 | Video recording method, device and equipment of intelligent equipment and readable storage medium |
CN113176922A (en) * | 2021-04-30 | 2021-07-27 | 上海云扩信息科技有限公司 | Universal automatic detection system for interface elements |
CN114173150A (en) * | 2021-12-22 | 2022-03-11 | Oppo广东移动通信有限公司 | Live video recording method, device and system and terminal equipment |
Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104811787A (en) * | 2014-10-27 | 2015-07-29 | 深圳市腾讯计算机***有限公司 | Game video recording method and game video recording device |
US20150380058A1 (en) * | 2013-07-30 | 2015-12-31 | Xiaomi Inc. | Method, device, terminal, and system for audio recording and playing |
CN105979187A (en) * | 2015-07-24 | 2016-09-28 | 乐视致新电子科技(天津)有限公司 | Data recording method and device |
CN106027933A (en) * | 2016-06-21 | 2016-10-12 | 维沃移动通信有限公司 | Video recording method, video playing method and mobile terminal |
CN106534746A (en) * | 2016-10-26 | 2017-03-22 | 阔地教育科技有限公司 | Recording control method and apparatus |
CN107025165A (en) * | 2017-03-07 | 2017-08-08 | 腾讯科技(深圳)有限公司 | Game automated testing method and relevant apparatus |
WO2017139788A1 (en) * | 2016-02-12 | 2017-08-17 | Helms William Lynn | System and method for spectrum & power recovery in a communication network using media manipulation |
CN107124662A (en) * | 2017-05-10 | 2017-09-01 | 腾讯科技(上海)有限公司 | Net cast method, device, electronic equipment and computer-readable recording medium |
CN107277411A (en) * | 2017-07-17 | 2017-10-20 | 维沃移动通信有限公司 | A kind of video recording method and mobile terminal |
CN107659828A (en) * | 2017-10-30 | 2018-02-02 | 广东欧珀移动通信有限公司 | Video image quality adjustment method, device, terminal device and storage medium |
CN107835452A (en) * | 2017-10-17 | 2018-03-23 | 广东欧珀移动通信有限公司 | Data processing method and related product |
WO2018085982A1 (en) * | 2016-11-08 | 2018-05-17 | 深圳市大疆创新科技有限公司 | Video recording method and apparatus, and photographing device |
CN108055245A (en) * | 2017-11-28 | 2018-05-18 | 北京潘达互娱科技有限公司 | Internet video live broadcasting method, device, electronic equipment and computer storage media |
CN108055491A (en) * | 2017-11-30 | 2018-05-18 | 努比亚技术有限公司 | A kind of record screen method and terminal |
CN108052261A (en) * | 2017-12-07 | 2018-05-18 | 广东欧珀移动通信有限公司 | Record screen method, apparatus and terminal |
-
2018
- 2018-05-31 CN CN201810550094.8A patent/CN108737884B/en active Active
Patent Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150380058A1 (en) * | 2013-07-30 | 2015-12-31 | Xiaomi Inc. | Method, device, terminal, and system for audio recording and playing |
CN104811787A (en) * | 2014-10-27 | 2015-07-29 | 深圳市腾讯计算机***有限公司 | Game video recording method and game video recording device |
CN105979187A (en) * | 2015-07-24 | 2016-09-28 | 乐视致新电子科技(天津)有限公司 | Data recording method and device |
WO2017139788A1 (en) * | 2016-02-12 | 2017-08-17 | Helms William Lynn | System and method for spectrum & power recovery in a communication network using media manipulation |
CN106027933A (en) * | 2016-06-21 | 2016-10-12 | 维沃移动通信有限公司 | Video recording method, video playing method and mobile terminal |
CN106534746A (en) * | 2016-10-26 | 2017-03-22 | 阔地教育科技有限公司 | Recording control method and apparatus |
WO2018085982A1 (en) * | 2016-11-08 | 2018-05-17 | 深圳市大疆创新科技有限公司 | Video recording method and apparatus, and photographing device |
CN107025165A (en) * | 2017-03-07 | 2017-08-08 | 腾讯科技(深圳)有限公司 | Game automated testing method and relevant apparatus |
CN107124662A (en) * | 2017-05-10 | 2017-09-01 | 腾讯科技(上海)有限公司 | Net cast method, device, electronic equipment and computer-readable recording medium |
CN107277411A (en) * | 2017-07-17 | 2017-10-20 | 维沃移动通信有限公司 | A kind of video recording method and mobile terminal |
CN107835452A (en) * | 2017-10-17 | 2018-03-23 | 广东欧珀移动通信有限公司 | Data processing method and related product |
CN107659828A (en) * | 2017-10-30 | 2018-02-02 | 广东欧珀移动通信有限公司 | Video image quality adjustment method, device, terminal device and storage medium |
CN108055245A (en) * | 2017-11-28 | 2018-05-18 | 北京潘达互娱科技有限公司 | Internet video live broadcasting method, device, electronic equipment and computer storage media |
CN108055491A (en) * | 2017-11-30 | 2018-05-18 | 努比亚技术有限公司 | A kind of record screen method and terminal |
CN108052261A (en) * | 2017-12-07 | 2018-05-18 | 广东欧珀移动通信有限公司 | Record screen method, apparatus and terminal |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020118560A1 (en) * | 2018-12-12 | 2020-06-18 | 深圳市欢太科技有限公司 | Recording method and apparatus, electronic device and computer readable storage medium |
CN110062262A (en) * | 2019-04-12 | 2019-07-26 | 北京字节跳动网络技术有限公司 | Transcoding control method, device, electronic equipment and the storage medium of video data |
CN110062262B (en) * | 2019-04-12 | 2022-05-03 | 北京字节跳动网络技术有限公司 | Transcoding control method and device for video data, electronic equipment and storage medium |
CN111556328A (en) * | 2020-04-17 | 2020-08-18 | 北京达佳互联信息技术有限公司 | Program acquisition method and device for live broadcast room, electronic equipment and storage medium |
US11553019B2 (en) | 2020-04-17 | 2023-01-10 | Beijing Dajia Internet Information Technology Co., Ltd. | Method, apparatus, electronic device and storage medium for acquiring programs in live streaming room |
CN112351290A (en) * | 2020-09-08 | 2021-02-09 | 深圳Tcl新技术有限公司 | Video recording method, device and equipment of intelligent equipment and readable storage medium |
CN113176922A (en) * | 2021-04-30 | 2021-07-27 | 上海云扩信息科技有限公司 | Universal automatic detection system for interface elements |
CN113176922B (en) * | 2021-04-30 | 2024-05-24 | 上海云扩信息科技有限公司 | Universal interface element automatic detection system |
CN114173150A (en) * | 2021-12-22 | 2022-03-11 | Oppo广东移动通信有限公司 | Live video recording method, device and system and terminal equipment |
Also Published As
Publication number | Publication date |
---|---|
CN108737884B (en) | 2022-05-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108737884A (en) | A kind of content recordal method and its equipment, storage medium, electronic equipment | |
CN110557678B (en) | Video processing method, device and equipment | |
KR101983107B1 (en) | Method for inserting information push into live video streaming, server and terminal | |
CN104063263B (en) | The method and apparatus of secondary flow processing | |
WO2022116751A1 (en) | Interaction method and apparatus, and terminal, server and storage medium | |
US20110142413A1 (en) | Digital data reproducing apparatus and method for controlling the same | |
CN103391414A (en) | Video processing device and processing method applied to mobile phone platform | |
JPH09510852A (en) | System and method for recording and playing multimedia events | |
CN109448709A (en) | A kind of terminal throws the control method and terminal of screen | |
CN101106770A (en) | A method for making shot animation with background music in mobile phone | |
US20210029304A1 (en) | Methods for generating video, electronic device and storage medium | |
US20180027090A1 (en) | Information processing device, information processing method, and program | |
JP2010021632A (en) | Content information reproducing apparatus, content information reproducing system, content information reproducing method, content information reproducing program, recording medium therefor and information processing apparatus | |
CN111010529A (en) | Video conference method and system capable of realizing multi-person real-time annotation | |
CN107809654A (en) | System for TV set and TV set control method | |
CN115691544A (en) | Training of virtual image mouth shape driving model and driving method, device and equipment thereof | |
CN112954426B (en) | Video playing method, electronic equipment and storage medium | |
CN102262344A (en) | Projector capable of sharing images of slides played immediately | |
US10658008B2 (en) | Information processing apparatus, information processing method, and non-transitory computer readable medium | |
JP2012178028A (en) | Album creation device, control method thereof, and program | |
CN107135407B (en) | Synchronous method and system in a kind of piano video teaching | |
WO2021261296A1 (en) | Aroma presentation device, aroma presentation system, and management device | |
KR20220154587A (en) | Method and system for matching a dance | |
JP6382423B1 (en) | Information processing apparatus, screen output method, and program | |
CN112295211A (en) | Stage performance virtual entertainment practical training system and method |
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 |