CN106210837B - Multimedia coding method and system, method for recording, operating method, media server - Google Patents
Multimedia coding method and system, method for recording, operating method, media server Download PDFInfo
- Publication number
- CN106210837B CN106210837B CN201610509708.9A CN201610509708A CN106210837B CN 106210837 B CN106210837 B CN 106210837B CN 201610509708 A CN201610509708 A CN 201610509708A CN 106210837 B CN106210837 B CN 106210837B
- Authority
- CN
- China
- Prior art keywords
- frame
- mark
- program
- data stream
- user terminal
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 35
- 238000011017 operating method Methods 0.000 title claims abstract description 18
- 238000012552 review Methods 0.000 claims abstract description 56
- 230000009191 jumping Effects 0.000 claims description 33
- 238000010586 diagram Methods 0.000 description 6
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012163 sequencing technique Methods 0.000 description 2
- 230000006835 compression Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/845—Structuring of content, e.g. decomposing content into time segments
- H04N21/8455—Structuring of content, e.g. decomposing content into time segments involving pointers to the content, e.g. pointers to the I-frames of the video stream
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/426—Internal components of the client ; Characteristics thereof
-
- 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/4331—Caching operations, e.g. of an advertisement for later insertion during playback
-
- 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/434—Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/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/436—Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
-
- 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/438—Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving MPEG packets from an IP network
- H04N21/4382—Demodulation or channel decoding, e.g. QPSK demodulation
-
- 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/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/637—Control signals issued by the client directed to the server or network components
- H04N21/6373—Control signals issued by the client directed to the server or network components for rate control, e.g. request to the server to modify its transmission rate
-
- 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/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/647—Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
- H04N21/64746—Control signals issued by the network directed to the server or the client
- H04N21/64761—Control signals issued by the network directed to the server or the client directed to the server
- H04N21/64769—Control signals issued by the network directed to the server or the client directed to the server for rate control
-
- 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/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/845—Structuring of content, e.g. decomposing content into time segments
- H04N21/8456—Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
Abstract
The invention discloses a kind of multimedia coding method and system, method for recording, operating methods, media server, comprising: step 101, acquisition original multimedia data stream;Step 102 is the identical mark video data stream of the corresponding frame per second of original multimedia data stream configuration, identifying video data stream includes: several key frames, it include: mark program start frame and mark program end frame in several key frames, it is corresponding with program start frame to identify program start frame, mark program end frame is corresponding with program end frame;Original multimedia data stream and mark video data stream are encoded to program playing data by step 103 together.The mark video data stream that technical solution of the present invention passes through the frame per second such as configuration one in the technology of original multimedia data stream, with to each programme content starting point and end point be identified, so as to facilitating media server subsequent to each programme content after accurately being split, and is provided for client and more good review service immediately.
Description
Technical field
The present invention relates to multimedia technology field, in particular to a kind of multimedia coding method and system, request program
Method for recording, the operating method of instant program and media server.
Background technique
Current IPTV is reviewed there are mainly two types of mode.One is reviewing immediately (also known as: time shift), i.e., spectators are watching electricity
When depending on program, press the fast backspace key of remote controler, can by the rates such as 2 speeds, 4 speeds, 8 speeds, 16 speeds, 32 speeds along when
Between line to returning the program that has just played of retrieval.Another kind be program request review (under normal conditions, " review " refer to be exactly program request return
See), i.e., the performance recording that media server played the past gets off, in spectators can select to be played in program request list
Hold (request program), with the programme content played before broadcast mode viewing.
All there are some defects in the business of reviewing of the above two mode of offer in operator.
Under first way, spectators can only according to by the rates such as 2 speeds, 4 speeds, 8 speeds, 16 speeds, 32 speeds gradually
Rewind, and cannot disposably navigate to point at the beginning of actual program.
Under the second way, media server usually selects one in following two method when recording request program
Kind, as the method for recording program.One is according to the program listing taken in advance, in strict accordance with the time listed in program listing
Point carries out program fractionation, in this case, once program listing is not inconsistent with actual program content, even only sart point in time is deposited
In difference, it can all lead to phenomena such as recording the imperfect of program or leaving out the beginning and the end.Another way be by it is fixed when
Between be spaced and recorded, such as per half an hour or 1 hour record one section of content, and the error of this mode is bigger, generally requires
Manual intervention is modified.
Summary of the invention
The present invention provides a kind of multimedia coding method and system, method for recording, operating method, media server, it is intended to
Solve the technical issues of at least one existing in the prior art.
To achieve the above object, the present invention provides a kind of multimedia coding methods, comprising:
Step 101, acquisition original multimedia data stream, the original multimedia data stream includes at least one program
Hold, the programme content includes: program start frame and program end frame;
Step 102 configures corresponding mark video data stream, the mark video counts for the original multimedia data stream
It is identical with the frame per second of the original multimedia data stream according to flowing, if the mark video data stream include: several key frames with
A blank infilled frame is done, includes: mark program start frame and mark program end frame, the mark in several described key frames
Program start frame is corresponding with the program start frame, and the picture material of the mark program start frame includes preset first character
String, the mark program end frame is corresponding with the program end frame, and the picture material of the mark program end frame includes pre-
If the second character string;
The original multimedia data stream and the mark video data stream are encoded to program broadcasting by step 103 together
Data.
Optionally, in several described key frames further include: the time signs frame;
The picture material of the time label frame includes the play time value presented with preset format, and the play time value is
The relative time values of current key frame and the program start frame of corresponding programme content.
Optionally, in several described key frames further include: metadata frame;
The picture material of the metadata frame includes: the third character string for identifying corresponding programme content.
Optionally, if intercutted advertisement in the programme content, the advertisement includes: that advertisement start frame and advertisement terminate
Frame;
In several described key frames further include: connect frame, the connecting frame and the advertisement start frame and the advertisement
End frame is corresponding, and the picture material for connecting frame includes preset 4th character string.
To achieve the above object, the present invention also provides a kind of method for recording of request program, comprising:
Step 201 obtains program playing data, and the program playing data includes: original multimedia data stream and mark
Video data stream, the mark video data stream are located in metadata tracks, and the mark video data stream includes: several passes
Key frame and several blank infilled frames, include: mark program start frame and mark program end frame in several described key frames,
The mark program start frame is corresponding with the program start frame of programme content, and the picture material of the mark program start frame includes
Preset first character string, the mark program end frame is corresponding with the program end frame of programme content, the mark program knot
The picture material of beam frame includes preset second character string;
Step 202, identify the corresponding data of metadata tracks be the mark program start frame when, creation program request matchmaker
Body content container;
Step 203 records the original multimedia data stream using the on-demand media content container;
Step 204 judges whether corresponding data are the mark program end frame in the metadata tracks;
If the determination result is YES, S205 is thened follow the steps;If judging result be it is no, continue to execute step 203;
The recording of step 205, end to the original multimedia data stream, to obtain request program.
To achieve the above object, the present invention also provides a kind of operating methods of instant program, comprising:
Step 301 records the program playing data for reviewing content immediately, and the program playing data includes: original more matchmakers
Volume data stream and mark video data stream, the mark video data stream are located in metadata tracks, the mark video data
Stream includes: several key frames and several blank infilled frames, include: in several described key frames mark program start frame and
Program end frame is identified, the mark program start frame is corresponding with the program start frame of programme content, the mark program starting
The picture material of frame includes preset first character string, the program end frame pair of mark the program end frame and programme content
It answers, the picture material of the mark program end frame includes preset second character string;
Step 302, the operation requests for identifying user terminal, the operation requests are asked to jump after the request of program front jumping or program
It asks;
If identify that the operation requests are the request of program front jumping, 303 are thened follow the steps;If identifying, the operation is asked
When asking to jump request after program, 306 are thened follow the steps;
Step 303, recorded immediately review content the mark video data stream in, search be located at the user
Hold first mark program start frame before currently played key frame;
If first mark program starting before the currently played key frame of the user terminal can be found out
Frame thens follow the steps 304;If first mark before the currently played key frame of the user terminal can not be found out
Program start frame, thens follow the steps 305;
Step 304, first mark being located at before the currently played key frame of the user terminal that will be found out
Knowledge program start frame, which is used as, reviews starting point, and the starting point of reviewing is fed back to the user terminal;
Step 305, using it is described recorded review the starting point of content immediately as reviewing starting point, and reviewed described
Initial point feeds back to the user terminal;
Step 306, recorded immediately review content the mark video data stream in, search be located at the user
Hold first mark program start frame after currently played key frame;
If first mark program starting after the currently played key frame of the user terminal can be found out
Frame thens follow the steps 307;If first mark after the currently played key frame of the user terminal can not be found out
Program start frame, thens follow the steps 308;
Step 307, first mark being located at after the currently played key frame of the user terminal that will be found out
Knowledge program start frame, which is used as, reviews starting point, and the starting point of reviewing is fed back to the user terminal;
Step 308 is exited and is reviewed immediately, and live content is fed back to user terminal.
Optionally, in several described key frames further include: the time signs frame;
The picture material of the time label frame includes the play time value presented with preset format, and the play time value is
The relative time values of current key frame and the program start frame of corresponding programme content;
After the step 302 further include:
Step 302a: the play time value in the picture material of the currently played time label frame of identification user terminal;
Step 302b, judge whether the play time value is greater than preset time value;
If the determination result is YES, then above-mentioned steps 303 are executed;If judging result be it is no, then follow the steps 302c;
Step 302c, it in the mark video data stream for reviewing content immediately recorded, searches and is located at the use
Second mark program start frame before the currently played key frame in family end;
If second mark program starting before the currently played key frame of the user terminal can be found out
When frame, 302d is thened follow the steps;If second before the currently played key frame of the user terminal can not be found out
When identifying program start frame, then above-mentioned steps 305 are executed;
Step 302d, by second mark before the key frame currently played positioned at the user terminal found out
Knowledge program start frame, which is used as, reviews starting point, and the starting point of reviewing is fed back to the user terminal.
To achieve the above object, the present invention also provides a kind of Multimedia coding systems, comprising:
Multimedia collection module, for acquiring original multimedia data stream, the multimedia data stream includes at least one
Programme content, the programme content include: program start frame and program end frame;
Configuration module is identified, it is described for configuring corresponding mark video data stream for the original multimedia data stream
Mark video data stream is identical as the frame per second of the original multimedia data stream, and the mark video data stream includes: several
Key frame and several blank infilled frames include: that mark program start frame and mark program terminate in several described key frames
Frame, the mark program start frame is corresponding with the program start frame, and the picture material of the mark program start frame includes pre-
If the first character string, the mark program end frame is corresponding with the program end frame, it is described mark program end frame figure
As content includes preset second character string;
Coding module, for the original multimedia data stream and the mark video data stream to be encoded to program together
Played data.
To achieve the above object, the present invention also provides a kind of media servers, comprising:
Program data obtains module, and for obtaining program playing data, the program playing data includes: initial multimedia
Data flow and mark video data stream, the mark video data stream are located in metadata tracks, the mark video data stream
Include: several key frames and several blank infilled frames, includes: mark program start frame and mark in several described key frames
Know program end frame, the mark program start frame is corresponding with the program start frame of programme content, the mark program start frame
Picture material include preset first character string, the mark program end frame is corresponding with the program end frame of programme content,
The picture material of the mark program end frame includes preset second character string;
Start frame identification module, for identifying that the corresponding data of metadata tracks are the mark program start frame
When, create on-demand media content container;
End frame judgment module, for judging whether corresponding data are the mark program knot in the metadata tracks
Beam frame;
Module is recorded in request program, for judging that corresponding data are not in metadata tracks in end frame judgment module
When the mark program end frame, the original multimedia data stream is recorded using the on-demand media content container;
And when end frame judgment module judges that corresponding data are the mark program end frame in metadata tracks, end pair
The recording of the original multimedia data stream, to obtain request program.
To achieve the above object, the present invention also provides a kind of media servers, comprising:
Program data records module, for recording the program playing data for reviewing content immediately, the program playing data
It include: original multimedia data stream and mark video data stream, the mark video data stream is located in metadata tracks, described
Mark video data stream includes: several key frames and several blank infilled frames, includes: mark in several described key frames
Program start frame and mark program end frame, the mark program start frame is corresponding with the program start frame of programme content, described
The picture material for identifying program start frame includes preset first character string, the section of mark the program end frame and programme content
Mesh end frame is corresponding, and the picture material of the mark program end frame includes preset second character string;
Identification module is requested, for identification the operation requests of user terminal, the operation requests are that program front jumping is requested or saved
Request is jumped after mesh;
First searching module, for request identification module identify the operation requests be program front jumping request when,
That has recorded reviews in the mark video data stream of content immediately, searches and is located at the currently played key of the user terminal
First mark program start frame before frame;
First feedback module, for the pass currently played positioned at the user terminal can be found out in the first searching module
When first mark program start frame before key frame, by find out be located at the currently played key frame of the user terminal it
The mark program start frame of preceding first, which is used as, reviews starting point, and the starting point of reviewing is fed back to the user
End;
Second feedback module, for the pass currently played positioned at the user terminal can not to be found out in the first searching module
When first mark program start frame before key frame, originated using the starting point for reviewing content immediately recorded as reviewing
Point, and the starting point of reviewing is fed back into the user terminal;
Second searching module, for request identification module identify the operation requests be program after jump request when,
That has recorded reviews in the mark video data stream of content immediately, searches and is located at the currently played key of the user terminal
First mark program start frame after frame;
Third feedback module, for the pass currently played positioned at the user terminal can be found out in the second searching module
When first mark program start frame after key frame, by find out be located at the currently played key frame of the user terminal it
The mark program start frame of first afterwards, which is used as, reviews starting point, and the starting point of reviewing is fed back to the user
End;
4th feedback module, for the pass currently played positioned at the user terminal can not to be found out in the second searching module
When first mark program start frame after key frame, live content is fed back into user terminal.
Optionally, in several described key frames further include: the time signs frame, the picture material of time label frame include with
The play time value that preset format is presented, the play time value are the program start frame of current key frame and corresponding programme content
Relative time values;
The media server further include:
Picture recognition module, for knowing when requesting identification module to identify that the operation requests are the request of program front jumping
Play time value in the picture material of the currently played time label frame of other user terminal;
Time judgment module, for judging whether the play time value is greater than preset time value;
4th searching module, for time judgment module judge play time value be greater than preset time value when,
That records reviews in the mark video data stream of content immediately, searches and is located at the currently played key frame of the user terminal
Second mark program start frame before;
5th feedback module, for the pass currently played positioned at the user terminal can be found out in the 4th searching module
When second mark program start frame before key frame, by find out be located at the currently played key frame of the user terminal it
The mark program start frame of preceding second, which is used as, reviews starting point, and the starting point of reviewing is fed back to the user
End.
Second feedback module is also used to not find out in the 4th searching module and currently be broadcast positioned at the user terminal
When second mark program start frame before the key frame put, using the starting point for reviewing content immediately recorded as time
It sees starting point, and the starting point of reviewing is fed back into the user terminal.
The invention has the following advantages:
The present invention provides a kind of multimedia coding method and system, method for recording, operating methods, media server, lead to
The mark video data stream that the frame per second such as one are configured in the technology of original multimedia data stream is crossed, to rise to each programme content
Initial point and end point are identified, so as to facilitate media server subsequent to each programme content after accurately being split, with
And it is provided for client and more good reviews service immediately.
Detailed description of the invention
Fig. 1 is a kind of flow chart for multimedia coding method that the embodiment of the present invention one provides;
Fig. 2 is a kind of flow chart of the method for recording of request program provided by Embodiment 2 of the present invention;
Fig. 3 is a kind of flow chart of the operating method for instant program that this hair embodiment three provides;
Fig. 4 is a kind of flow chart of the operating method for instant program that this hair example IV provides;
Fig. 5 is a kind of structural schematic diagram for Multimedia coding system that the embodiment of the present invention five provides;
Fig. 6 is a kind of structural schematic diagram for media server that the embodiment of the present invention six provides;
Fig. 7 is a kind of structural schematic diagram for media server that the embodiment of the present invention seven provides.
Specific embodiment
To make those skilled in the art more fully understand technical solution of the present invention, the present invention is mentioned with reference to the accompanying drawing
A kind of multimedia coding method and system of confession, method for recording, operating method, media server are described in detail.
Fig. 1 is a kind of flow chart for multimedia coding method that the embodiment of the present invention one provides, as shown in Figure 1, more matchmakers
Body coding method includes:
Step 101, acquisition original multimedia data stream.
Wherein, original multimedia data stream includes at least one programme content, and programme content includes: program start frame and section
Mesh end frame.
It should be noted that the original multimedia data stream is audio data, video data, at least one in caption data
Kind.
Step 102 configures corresponding mark video data stream for original multimedia data stream.
Wherein, mark video data stream is identical as the frame per second of original multimedia data stream, if mark video data stream includes:
A key frame and several blank infilled frames are done, include: that mark program start frame terminates with program is identified in several key frames
Frame.
In the present embodiment, mark program start frame is corresponding with program start frame, identifies the picture material of program start frame
Including preset first character string, such as:
00:00:00:000
Mark program end frame is corresponding with program end frame, and the picture material of mark program end frame includes preset second
Character string, such as:
EE:EE:EE:EEE
The picture material of blank infilled frame is blank image (such as completely black or Quan Bai).Specifically, a width can be fixed (big
Small and content all immobilizes) small size (such as 80x10 pixel) blank image (such as completely black or Quan Bai) carry out it is quick
Compressed encoding, the frame per second of compression are identical as the frame per second of formal programme content.
Original multimedia data stream and mark video data stream are encoded to program playing data by step 103 together.
In step 103, it is only necessary on the basis of existing encoder, increase a metadata tracks, the metadata rail
Road is for loading mark video data stream.It should be noted that playing the program playing data in user terminal or media server
When, the mark video data stream in metadata tracks is without display.
It should be noted that being to cause program playing data excessive after preventing configuration identifier video data stream, then may make
Mark video data stream has low bit- rate.
Technical solution of the present invention is regarded by configuring the mark of the frame per second such as one in the technology of original multimedia data stream
Frequency data stream, with to each programme content starting point and end point be identified, so as to facilitate media server subsequent to each
Programme content is after accurately being split, and provides for client and more good review service immediately.
It optionally, in several key frames can also include: time label frame in the present embodiment;Time is signed in the image of frame
Appearance includes the play time value presented with preset format, and play time value is that current key frame rises with the program of corresponding programme content
The relative time values of beginning frame indicate relative time of the current location relative to program starting point.
In the present embodiment, by setting time label frame for Partial key frame, to realize the play time to programme content
Be marked.In the present embodiment, which may be configured as being accurate to the time value of Millisecond, such as: if current
Time sign frame pitch from program start to play for 48 points 32 seconds 231 milliseconds, then the picture material of time label frame can be with are as follows:
00:48:32:231
In practical applications, black, background colour can be set by the foreground (play time value) for the image that the time signs frame
For white, in order to the identification to play time value.
Optionally, in several key frames further include: metadata frame;The picture material of metadata frame includes: for identifying
The third character string of corresponding programme content, such as: metadata number.It can be inquired and be worked as to Broadcast Control platform based on the third character string
The corresponding metadata of preceding programme content, obtains the metadata of current program content, such as: programm name, brief introduction, program class
Type, personnel etc..
In the present embodiment, time label frame may make to be alternately present with metadata frame, alternating frequency can be according to practical need
It was determined that for example: in every 10 key frames, 1 is metadata frame, remaining 9 are all time label frames.It needs to illustrate
It is that, to enable media services to obtain metadata corresponding to respective program content in time, will preferably identify program start frame
A subsequent key frame is set as metadata frame.
In practical applications, advertisement has been intercutted sometimes in a complete programme content, to identify the advertisement, then can incite somebody to action
Corresponding key frame is disposed as connecting frame, the picture material packet of the connecting frame respectively with advertisement start frame and advertisement end frame
Preset 4th character string is included, such as:
CC:CC:CC:CCC
The embodiment of the present invention one provides a kind of multimedia coding method, by the technology of original multimedia data stream
The mark video data stream of configuration frame per second such as one, with to each programme content starting point and end point be identified, so as to
Facilitate media server subsequent to each programme content after accurately being split, and provides and more good return immediately for client
See service.
Embodiment two
Fig. 2 is a kind of flow chart of the method for recording of request program provided by Embodiment 2 of the present invention, as shown in Fig. 2, should
The method for recording of request program is used to complete the recording of request program for media server, for providing program request clothes for user terminal
Business, the method for recording include:
Step 201 obtains program playing data.
The program playing data is the data that multimedia coding method provided by one generates through the foregoing embodiment, packet
Include: original multimedia data stream and mark video data stream, mark video data stream are located in metadata tracks, identify video counts
Include: several key frames and several blank infilled frames according to stream, includes: mark program start frame and mark in several key frames
Know program end frame, mark program start frame is corresponding with the program start frame of programme content, in the image for identifying program start frame
Holding includes preset first character string, and mark program end frame is corresponding with the program end frame of programme content, and mark program terminates
The picture material of frame includes preset second character string.
It should be noted that identifying the picture material of program start frame in the present embodiment are as follows: 00:00:00:000, mark
The picture material of program end frame are as follows: EE:EE:EE:EEE is illustratively described.
Step 202, identify the corresponding data of metadata tracks for mark program start frame when, create on-demand media in
Hold container.
Step 203 records original multimedia data stream using on-demand media content container.
Whenever recognized in the metadata tracks in the programme content received form be " 00:00:00:000 " figure
When as content, then media server can re-create an on-demand media content container, can by the on-demand media content container
Original multimedia data stream is recorded.
When identifying in video data stream includes metadata frame, media server knows the picture material of metadata frame
Not, current program content corresponding metadata number in Broadcast Control platform is obtained, and can be numbered according to this and be looked into Broadcast Control platform
Ask the metadata of current program content.
In addition, if storage connects frame in corresponding mark video data stream when in programme content including advertisement.It is recording
In the process, when media server identifies for the first time connects frame, then on-demand media content container pause is recorded, until media take
Business device identifies for the second time to be continued to record when connecting frame, is rejected so as to intercut the advertisement in programme content.
Step 204 judges whether corresponding data are mark program end frame in metadata tracks.
It, can also real-time judge member number during on-demand media content container records original multimedia data stream
It whether is that mark program end frame if the determination result is YES thens follow the steps S205 according to data corresponding in track;If judgement knot
Fruit be it is no, then continue to execute above-mentioned steps 203;
The recording of step 205, end to original multimedia data stream, to obtain request program.
After step 205, that is, the recording to a complete programs content is completed, which can be used as one
Request program carries out program request for user terminal.
In the present embodiment, since mark program start frame and mark program end frame can be respectively accurately to each programs
Starting point and end point be identified, so as to for media server to each programme content after accurately being split and recorded
System.
Embodiment three
Fig. 3 is a kind of flow chart of the operating method for instant program that the embodiment of the present invention three provides, as shown in figure 3, should
The operating method of instant program provides for user for realizing request depending on the user's operation and reviews service immediately accordingly, should be i.e.
Time purpose operating method includes:
Step 301 records the program playing data for reviewing content immediately;
Wherein, program playing data includes: original multimedia data stream and mark video data stream, identifies video data stream
In metadata tracks, mark video data stream includes: several key frames and several blank infilled frames, several are crucial
Include: mark program start frame and mark program end frame in frame, identifies the program start frame of program start frame and programme content
Corresponding, the picture material of mark program start frame includes preset first character string, identifies program end frame and programme content
Program end frame is corresponding, and the picture material of mark program end frame includes preset second character string.
It is different from when recording request program in above-described embodiment, it reviews content to instant in the present embodiment and records
When, it not only recorded original multimedia data stream, also recorded mark video data stream.
It should be noted that the picture material in the present embodiment still to identify program start frame are as follows: 00:00:00:000 is
Example carries out exemplary description.
Step 302, the operation requests for identifying user terminal.
In practical applications, one " front jumping key " and one " jumping key afterwards " can be set on a remote control.When user exists
When pressing " front jumping key " on remote controler, then user terminal sends the request of program front jumping to media server, when user is in remote controler
On when pressing " jumping key afterwards ", then user terminal jumps request after sending program to media server.
At this point, media server can identify the operation requests, if identifying operation requests for the request of program front jumping
When, then follow the steps 303;If identify operation requests to jump request after program, 306 are thened follow the steps.
Step 303, recorded immediately review content mark video data stream in, search be located at the current institute of user terminal
First mark program start frame before the key frame of broadcasting.
When media server identifies that the operation requests that user terminal is sent are the request of program front jumping, then media server meeting
In the mark video data stream for reviewing content immediately recorded, using the currently playing key frame of user terminal as starting point, according to
The sequence (i.e. time sequencing) of time from back to front searches the first identifier program starting before being located at currently playing key frame
Frame.
If first mark program start frame before the currently played key frame of user terminal can be found out,
Execute step 304;If first mark program starting before the currently played key frame of user terminal can not be found out
Frame thens follow the steps 305.
Step 304 acts first mark program before the key frame currently played positioned at user terminal found out
Beginning frame is used as and reviews starting point, and will review starting point and feed back to user terminal.
When media server can find out the section of first mark before the currently played key frame of user terminal
When mesh start frame, then media server is using the mark program start frame found out as reviewing starting point, and will review starting point
Feed back to user terminal.After i.e. user presses " front jumping key ", the start picture of actual program is fed back to user by media server
End, so that user watches.
Step 305 reviews the starting point of content as reviewing starting point for what is recorded immediately, and will review starting point and feed back
To user terminal;
When media server can not find out the section of first mark before the currently played key frame of user terminal
When mesh start frame (media server just starts to record to review content immediately before actual program broadcasting), then media server will
The starting point for reviewing content immediately recorded, which is used as, reviews starting point, and will review starting point and feed back to user terminal.I.e. user presses
Under after " front jumping key ", the start picture recorded earliest is fed back to user terminal by media server, so that user watches.
Step 306, recorded immediately review content mark video data stream in, search be located at the current institute of user terminal
First mark program start frame after the key frame of broadcasting.
When media server identifies that the operation requests that user terminal is sent are the request of program front jumping, then media server meeting
In the mark video data stream for reviewing content immediately recorded, using the currently playing key frame of user terminal as starting point, according to
The sequence (i.e. time backward) of time from front to back searches the first identifier program starting after being located at currently playing key frame
Frame.
If first mark program start frame after the currently played key frame of user terminal can be found out,
Execute step 307;If first mark program starting after the currently played key frame of user terminal can not be found out
Frame thens follow the steps 308.
Step 307 acts first mark program after the key frame currently played positioned at user terminal found out
Beginning frame is used as and reviews starting point, and will review starting point and feed back to user terminal.
First mark section after media server can be found out positioned at user terminal currently played key frame
When mesh start frame, then media server is using the mark program start frame found out as reviewing starting point, and will review starting point
Feed back to user terminal.After i.e. user presses " jumping key afterwards ", media server will be located at rising for the latter program of actual program
Beginning picture feeds back to user terminal, so that user watches.
Step 308 is exited and is reviewed immediately, and live content is fed back to user terminal.
First mark section after media server can not be found out positioned at user terminal currently played key frame
When mesh start frame (media server starts to record the next program for being located at actual program not yet), then media server will be straight
It broadcasts picture and feeds back to user terminal.After i.e. user presses " jumping key afterwards ", media server feeds back to user terminal for picture is broadcast live, with
It is watched for user.
By above content as it can be seen that the technical solution of the present embodiment can be realized broadcasting content quickly, accurately switch to
At the beginning of actual program or at the beginning of the latter program.
Example IV
Fig. 4 is a kind of flow chart of the operating method for instant program that the embodiment of the present invention four provides, as shown in figure 4,
In the present embodiment, identifying in video data stream further includes having time label frame;The picture material that time signs frame includes with preset format
The play time value of presentation, play time value are the relative time of current key frame and the program start frame of corresponding programme content
Value.The operating method of instant program provided in this embodiment is in addition to including the steps that 301~step 308 in above-described embodiment three
Outside, also after step 302 further include: step 302a~step 302d.To step 301~step 308 in this present embodiment
Description can be found in the description of above-described embodiment three, and only step 302a~step 302d is described below.
In the present embodiment, it when media server identifies that operation requests are the request of program front jumping, thens follow the steps
302a。
Step 302a: the play time value in the picture material of the currently played time label frame of identification user terminal.
In the present embodiment, when media server identifies that operation requests are the request of program front jumping, media server can be right
Play time value in the picture material of the currently played time label frame of user terminal is identified.
It should be noted that if the currently played key frame of user terminal is that mark program start frame or mark program terminate
When frame, then its corresponding play time value can be denoted as 0, in practical applications, situation is generally not at this time.
Step 302b, judge whether play time value is greater than preset time value.
In the present embodiment, the preset time value be can be 1s with value, naturally it is also possible to it is default to this according to the actual situation
Time value adjusts accordingly.
If the determination result is YES, then above-mentioned steps 303 are executed;If judging result be it is no, then follow the steps 302c.
Step 302c, it in the mark video data stream for reviewing content immediately recorded, searches current positioned at user terminal
Second mark program start frame before the key frame played.
When play time value is less than or equal to 1s, then it represents that the current time that user watches is shorter (for example, user exists
Front jumping operation twice is continuously performed in 1s), user executes front jumping operation at this time, then illustrates that user wants to watch positioned at actual program
Previous program.At this point, media server can recorded immediately review content mark video data stream in, with user
Holding currently playing key frame is starting point, is searched according to the sequence (i.e. time sequencing) of time from back to front positioned at currently playing
Second mark program start frame before key frame.
If second mark program start frame before the currently played key frame of user terminal can be found out,
Then follow the steps 302d;If second mark program before the currently played key frame of user terminal can not be found out to rise
When beginning frame, then above-mentioned steps 305 are executed;
Step 302d, second mark program before being located at the currently played key frame of user terminal for what is found out rises
Beginning frame is used as and reviews starting point, and will review starting point and feed back to user terminal.
When media server can find out the section of second mark before the currently played key frame of user terminal
When mesh start frame, then media server is using find out second mark program start frame as reviewing starting point, and will review
Starting point feeds back to user terminal.After i.e. user presses " front jumping key ", media server will be located at the previous section of actual program
Purpose start picture feeds back to user terminal, so that user watches.
By above content as it can be seen that the technical solution of the present embodiment can be realized broadcasting content quickly, accurately switch to
At the beginning of actual program, at the beginning of previous program or at the beginning of the latter program.
Embodiment five
Fig. 5 is a kind of structural schematic diagram for Multimedia coding system that the embodiment of the present invention five provides, as shown in figure 5, should
Multimedia coding system includes: more for realizing the multimedia coding method in above-described embodiment one, the Multimedia coding system
Media collection module 1, mark configuration module 2 and coding module 3.
Wherein, for multimedia collection module 1 for acquiring original multimedia data stream, multimedia data stream includes at least one
Programme content, programme content include: program start frame and program end frame.
It identifies configuration module 2 to be used to configure corresponding mark video data stream for original multimedia data stream, identifies video
Data flow is identical as the frame per second of original multimedia data stream, and mark video data stream includes: several key frames and several are empty
White infilled frame, includes: mark program start frame and mark program end frame in several key frames, mark program start frame and section
Mesh start frame is corresponding, and the picture material of mark program start frame includes preset first character string, mark program end frame and section
Mesh end frame is corresponding, and the picture material of mark program end frame includes preset second character string.
Optionally, in several key frames further include: the time signs frame;
The picture material of time label frame includes the play time value presented with preset format, and play time value is current key
The relative time values of frame and the program start frame of corresponding programme content.
Optionally, in several key frames further include: metadata frame;
The picture material of metadata frame includes: the third character string for identifying corresponding programme content.
Optionally, if intercutted advertisement in programme content, advertisement includes: advertisement start frame and advertisement end frame, several
In a key frame further include: connect frame, connect frame and advertisement start frame and advertisement end frame are corresponding, connect the picture material of frame
Including preset 4th character string
Coding module 3, which is used to original multimedia data stream and mark video data stream being encoded to program together, plays number
According to.
It should be noted that the media collection module 1 in the present embodiment is used to execute the step in above-described embodiment one
101, mark configuration module 2 is used to execute the step 102 in above-described embodiment one, and coding module 3 is for executing above-described embodiment
Step 103 in one can be found in the content in above-described embodiment one to the specific descriptions of each module in this present embodiment, herein not
It repeats again.
Embodiment six
Fig. 6 is a kind of structural schematic diagram for media server that the embodiment of the present invention six provides, as shown in fig. 6, the media
The method for recording for the request program that server provides for realizing above-described embodiment two, the media server include: program data
It obtains module 4, start frame identification module 5, end frame judgment module 6 and request program and records module 7.
Wherein, program data obtains module 4 for obtaining program playing data, and program playing data includes: original more matchmakers
Volume data stream and mark video data stream, mark video data stream are located in metadata tracks, if mark video data stream includes:
A key frame and several blank infilled frames are done, include: that mark program start frame terminates with program is identified in several key frames
Frame, mark program start frame is corresponding with the program start frame of programme content, and the picture material of mark program start frame includes default
The first character string, mark program end frame it is corresponding with the program end frame of programme content, mark program end frame image in
Holding includes preset second character string.
Start frame identification module 5 is used for when identifying the corresponding data of metadata tracks to identify program start frame, wound
It lays foundations demand media content container.
End frame judgment module 6 is for judging whether corresponding data are mark program end frame in metadata tracks.
Request program records module 7 and is used to judge that corresponding data are not in metadata tracks in end frame judgment module 6
When to identify program end frame, original multimedia data stream is recorded using on-demand media content container;And terminating
When frame judgment module 6 judges that corresponding data is identify program end frame in metadata tracks, terminate to initial multimedia number
According to the recording of stream, to obtain request program.
It is used to execute the step in above-described embodiment two it should be noted that the program data in the present embodiment obtains module 4
Rapid 201, start frame identification module 5 is used to execute the step 202 in above-described embodiment two, and end frame judgment module 6 is for executing
Step 204 in above-described embodiment two, request program record module 7 and are used to execute the step 203 in above-described embodiment two and walk
Rapid 205.Content in above-described embodiment two can be found in the specific descriptions of each module in this present embodiment, details are not described herein again.
Optionally, if in programme content include advertisement, storage connects frame, the matchmaker in corresponding mark video data stream
Body server further include: connect frame identification module (not shown), connect frame identification module be used for request program record module into
During row is recorded, identify whether corresponding data are to connect frame, and identifying metadata for the first time in metadata tracks
Data in track are when connecting frame, and control program request performance recording module pause is recorded, and is identifying metadata for the second time
Data in track are when connecting frame, and control program request performance recording module starts to continue to record.In the present embodiment, connect by setting
Continuous frame identification module can automatically remove the advertisement intercutted in program when recording program request node.
Embodiment seven
Fig. 7 is a kind of structural schematic diagram for media server that the embodiment of the present invention seven provides, as shown in fig. 7, the media
The operating method for the instant program that server provides for realizing above-described embodiment three or example IV, the media server packet
Include: program data records module 8, request identification module 9, the first searching module 10, the first feedback module 11, the second feedback module
12, the second searching module 13, third feedback module 14, the 4th feedback module 15.
Wherein, program data records module 8 and is used to record the program playing data for reviewing content immediately, program playing data
It include: original multimedia data stream and mark video data stream, mark video data stream is located in metadata tracks, identifies video
Data flow includes: several key frames and several blank infilled frames, include: in several key frames mark program start frame and
Program end frame is identified, mark program start frame is corresponding with the program start frame of programme content, identifies the image of program start frame
Content includes preset first character string, and mark program end frame is corresponding with the program end frame of programme content, identifies program knot
The picture material of beam frame includes preset second character string;
Request the operation requests of the user terminal for identification of identification module 9, operation requests be program front jumping request or program after
Jump request.
First searching module 10 is used for when requesting identification module 9 to identify that operation requests are the request of program front jumping,
That records reviews in the mark video data stream of content immediately, searches the before being located at the currently played key frame of user terminal
One mark program start frame;
First feedback module 11 is for that can find out the pass currently played positioned at user terminal in the first searching module 10
When first mark program start frame before key frame, it is located at what is found out before the currently played key frame of user terminal
First mark program start frame, which is used as, reviews starting point, and will review starting point and feed back to user terminal.
Second feedback module 12 is for that can not find out the pass currently played positioned at user terminal in the first searching module 10
When first mark program start frame before key frame, using the starting point for reviewing content immediately recorded as reviewing starting point,
And starting point will be reviewed and feed back to user terminal;
Second searching module 13 is used for when jumping request after requesting identification module 9 to identify operation requests for program,
That records reviews in the mark video data stream of content immediately, searches the after being located at the currently played key frame of user terminal
One mark program start frame;
Third feedback module 14 is for that can find out the pass currently played positioned at user terminal in the second searching module 13
When first mark program start frame after key frame, it is located at what is found out after the currently played key frame of user terminal
First mark program start frame, which is used as, reviews starting point, and will review starting point and feed back to user terminal.
4th feedback module 15 is for that can not find out the pass currently played positioned at user terminal in the second searching module 13
When first mark program start frame after key frame, live content is fed back into user terminal.
It should be noted that the program data in the present embodiment records module 8 for executing above-described embodiment three and implementing
Step 301 in example four, request identification module 9 are used to execute the step 302 in above-described embodiment three and example IV, and first looks into
Look for module 10 for executing the step 303 in above-described embodiment three and example IV, the first feedback module 11 is above-mentioned for executing
Step 304 in embodiment three and example IV, the second feedback module 12 is for executing in above-described embodiment three and example IV
Step 305, the second searching module 13 is used to execute step 306 in above-described embodiment three and example IV, and third feeds back mould
Block 14 is used to execute the step 307 in above-described embodiment three and example IV, and the 4th feedback module 15 is for executing above-mentioned implementation
Step 308 in example three and example IV.The specific descriptions of each module in this present embodiment can be found in above-described embodiment three
Content, details are not described herein again.
Optionally, in several key frames further include: the time signs frame, and the picture material that the time signs frame includes with preset format
The play time value of presentation, play time value are the relative time of current key frame and the program start frame of corresponding programme content
Value, media server further include: picture recognition module 16, time judgment module 17, the 4th searching module 18 and the 5th feedback mould
Block 19.
Wherein, picture recognition module 16 is used for when requesting identification module to identify that operation requests are the request of program front jumping,
Identify the play time value in the picture material of the currently played time label frame of user terminal.
Time judgment module 17 is for judging whether play time value is greater than preset time value;
4th searching module 18 is used for when time judgment module 17 judges that play time value is greater than preset time value,
That has recorded reviews in the mark video data stream of content immediately, searches before being located at the currently played key frame of user terminal
Second mark program start frame;
5th feedback module 19 is for that can find out the pass currently played positioned at user terminal in the 4th searching module 17
When second mark program start frame before key frame, it is located at what is found out before the currently played key frame of user terminal
Second mark program start frame, which is used as, reviews starting point, and will review starting point and feed back to user terminal.
Second feedback module 12 is also used to not find out in the 4th searching module 18 currently played positioned at user terminal
When second mark program start frame before key frame, originated using the starting point for reviewing content immediately recorded as reviewing
Point, and starting point will be reviewed and feed back to user terminal.
It should be noted that the picture recognition module 16 in the present embodiment is used to execute the step in above-described embodiment four
302a, time judgment module 17 are used to execute the step 302b in above-described embodiment four, and the 4th searching module 18 is for executing
The step 30c in example IV is stated, the 5th feedback module 19 is used to execute the step 302d in above-described embodiment four.For this reality
The specific descriptions for applying each module in example can be found in content in above-described embodiment four, and details are not described herein again.
It should be added that above-described embodiment six can be provided to media server and embodiment seven provides in the present invention
Media server be integrated into a media server, to realize that media server is provided simultaneously with request program recording and offer i.e.
When program look back function.
It is understood that the principle that embodiment of above is intended to be merely illustrative of the present and the exemplary implementation that uses
Mode, however the present invention is not limited thereto.For those skilled in the art, essence of the invention is not being departed from
In the case where mind and essence, various changes and modifications can be made therein, these variations and modifications are also considered as protection scope of the present invention.
Claims (11)
1. a kind of multimedia coding method characterized by comprising
Step 101, acquisition original multimedia data stream, the original multimedia data stream includes at least one programme content, institute
Stating programme content includes: program start frame and program end frame;
Step 102 configures corresponding mark video data stream, the mark video data stream for the original multimedia data stream
Identical as the frame per second of the original multimedia data stream, the mark video data stream includes: several key frames and several
Blank infilled frame includes: mark program start frame and mark program end frame, the mark program in several described key frames
Start frame is corresponding with the program start frame, and the picture material of the mark program start frame includes preset first character string,
The mark program end frame is corresponding with the program end frame, and the picture material of the mark program end frame includes preset
Second character string;
The original multimedia data stream and the mark video data stream are encoded to program playing data by step 103 together.
2. multimedia coding method according to claim 1, which is characterized in that in several described key frames further include:
Time signs frame;
The picture material of the time label frame includes the play time value presented with preset format, and the play time value is current
The relative time values of key frame and the program start frame of corresponding programme content.
3. multimedia coding method according to claim 1, which is characterized in that in several described key frames further include:
Metadata frame;
The picture material of the metadata frame includes: the third character string for identifying corresponding programme content.
4. multimedia coding method according to claim 1, which is characterized in that if having intercutted advertisement in the programme content
When, the advertisement includes: advertisement start frame and advertisement end frame;
In several described key frames further include: connect frame, the connecting frame terminates with the advertisement start frame and the advertisement
Frame is corresponding, and the picture material for connecting frame includes preset 4th character string.
5. a kind of method for recording of request program characterized by comprising
Step 201 obtains program playing data, and the program playing data includes: original multimedia data stream and mark video
Data flow, the mark video data stream are located in metadata tracks, and the mark video data stream includes: several key frames
It include: mark program start frame and mark program end frame in several described key frames with several blank infilled frames, it is described
Mark program start frame is corresponding with the program start frame of programme content, and the picture material of the mark program start frame includes default
The first character string, the mark program end frame is corresponding with the program end frame of programme content, the mark program end frame
Picture material include preset second character string;
Step 202, identify the corresponding data of metadata tracks be the mark program start frame when, creation on-demand media in
Hold container;
Step 203 records the original multimedia data stream using the on-demand media content container;
Step 204 judges whether corresponding data are the mark program end frame in the metadata tracks;
If the determination result is YES, S205 is thened follow the steps;If judging result be it is no, continue to execute step 203;
The recording of step 205, end to the original multimedia data stream, to obtain request program.
6. a kind of operating method of instant program characterized by comprising
Step 301 records the program playing data for reviewing content immediately, and the program playing data includes: initial multimedia number
According to flowing and identifying video data stream, the mark video data stream is located in metadata tracks, the mark video data stream packet
Include: several key frames and several blank infilled frames include: mark program start frame and mark in several described key frames
Program end frame, the mark program start frame is corresponding with the program start frame of programme content, the mark program start frame
Picture material includes preset first character string, and the mark program end frame is corresponding with the program end frame of programme content, institute
The picture material for stating mark program end frame includes preset second character string;
Step 302, the operation requests for identifying user terminal, the operation requests are jump request after the request of program front jumping or program;
If identify that the operation requests are the request of program front jumping, 303 are thened follow the steps;If identifying, the operation requests are
When jumping request after program, 306 are thened follow the steps;
Step 303, recorded immediately review content the mark video data stream in, search be located at the user terminal work as
First mark program start frame before preceding played key frame;
If first mark program start frame before the currently played key frame of the user terminal can be found out,
Execute step 304;If first mark program before the currently played key frame of the user terminal can not be found out
Start frame thens follow the steps 305;
Step 304 saves first mark before the key frame currently played positioned at the user terminal found out
Mesh start frame is used as and reviews starting point, and the starting point of reviewing is fed back to the user terminal;
Step 305, using it is described recorded review the starting point of content immediately as reviewing starting point, and review starting point for described
Feed back to the user terminal;
Step 306, recorded immediately review content the mark video data stream in, search be located at the user terminal work as
First mark program start frame after preceding played key frame;
If first mark program start frame after the currently played key frame of the user terminal can be found out,
Execute step 307;If first mark program after the currently played key frame of the user terminal can not be found out
Start frame thens follow the steps 308;
Step 307 saves first mark after the key frame currently played positioned at the user terminal found out
Mesh start frame is used as and reviews starting point, and the starting point of reviewing is fed back to the user terminal;
Step 308 is exited and is reviewed immediately, and live content is fed back to user terminal.
7. the operating method of instant program according to claim 6, which is characterized in that also wrapped in several described key frames
Include: the time signs frame;
The picture material of the time label frame includes the play time value presented with preset format, and the play time value is current
The relative time values of key frame and the program start frame of corresponding programme content;
After the step 302 further include:
Step 302a: the play time value in the picture material of the currently played time label frame of identification user terminal;
Step 302b, judge whether the play time value is greater than preset time value;
If the determination result is YES, then above-mentioned steps 303 are executed;If judging result be it is no, then follow the steps 302c;
Step 302c, it in the mark video data stream for reviewing content immediately recorded, searches and is located at the user terminal
Second mark program start frame before currently played key frame;
If second mark program start frame before the currently played key frame of the user terminal can be found out,
Then follow the steps 302d;If second mark section before the currently played key frame of the user terminal can not be found out
When mesh start frame, then above-mentioned steps 305 are executed;
Step 302d, second mark before being located at the currently played key frame of the user terminal for what is found out saves
Mesh start frame is used as and reviews starting point, and the starting point of reviewing is fed back to the user terminal.
8. a kind of Multimedia coding system characterized by comprising
Multimedia collection module, for acquiring original multimedia data stream, the multimedia data stream includes at least one program
Content, the programme content include: program start frame and program end frame;
Configuration module is identified, for configuring corresponding mark video data stream, the mark for the original multimedia data stream
Video data stream is identical as the frame per second of the original multimedia data stream, and the mark video data stream includes: several keys
Frame and several blank infilled frames include: mark program start frame and mark program end frame, institute in several described key frames
It is corresponding with the program start frame to state mark program start frame, the picture material for identifying program start frame includes preset the
One character string, the mark program end frame is corresponding with the program end frame, the picture material of the mark program end frame
Including preset second character string;
Coding module is played for the original multimedia data stream and the mark video data stream to be encoded to program together
Data.
9. a kind of media server characterized by comprising
Program data obtains module, and for obtaining program playing data, the program playing data includes: original multimedia data
Stream and mark video data stream, the mark video data stream are located in metadata tracks, and the mark video data stream includes:
Several key frames and several blank infilled frames include: mark program start frame and mark section in several described key frames
Mesh end frame, the mark program start frame is corresponding with the program start frame of programme content, the figure of the mark program start frame
As content includes preset first character string, the mark program end frame is corresponding with the program end frame of programme content, described
The picture material for identifying program end frame includes preset second character string;
Start frame identification module, for creating when identifying the corresponding data of metadata tracks is the mark program start frame
It lays foundations demand media content container;
End frame judgment module, for judging whether corresponding data are that the mark program terminates in the metadata tracks
Frame;
Module is recorded in request program, for judging that corresponding data are not described in metadata tracks in end frame judgment module
When identifying program end frame, the original multimedia data stream is recorded using the on-demand media content container;And
When end frame judgment module judges that corresponding data are the mark program end frame in metadata tracks, terminate to described
The recording of original multimedia data stream, to obtain request program.
10. a kind of media server characterized by comprising
Program data records module, and for recording the program playing data for reviewing content immediately, the program playing data includes:
Original multimedia data stream and mark video data stream, the mark video data stream are located in metadata tracks, the mark
Video data stream includes: several key frames and several blank infilled frames, includes: mark program in several described key frames
Start frame and mark program end frame, the mark program start frame is corresponding with the program start frame of programme content, the mark
The picture material of program start frame includes preset first character string, the program knot of mark the program end frame and programme content
Beam frame is corresponding, and the picture material of the mark program end frame includes preset second character string;
Identification module is requested, for identification the operation requests of user terminal, after the operation requests is the request of program front jumping or programs
Jump request;
First searching module, for recording when requesting identification module to identify that the operation requests are the request of program front jumping
System is reviewed in the mark video data stream of content immediately, search be located at the currently played key frame of the user terminal it
First preceding mark program start frame;
First feedback module, for the key frame currently played positioned at the user terminal can be found out in the first searching module
When first mark program start frame before, it is located at what is found out before the currently played key frame of the user terminal
First mark program start frame, which is used as, reviews starting point, and the starting point of reviewing is fed back to the user terminal;
Second feedback module, for the key frame currently played positioned at the user terminal can not to be found out in the first searching module
When first mark program start frame before, using the starting point for reviewing content immediately recorded as reviewing starting point,
And the starting point of reviewing is fed back into the user terminal;
Second searching module, for recording when jumping request after requesting identification module to identify the operation requests for program
System is reviewed in the mark video data stream of content immediately, search be located at the currently played key frame of the user terminal it
First mark program start frame afterwards;
Third feedback module, for the key frame currently played positioned at the user terminal can be found out in the second searching module
When first mark program start frame later, it is located at what is found out after the currently played key frame of the user terminal
First mark program start frame, which is used as, reviews starting point, and the starting point of reviewing is fed back to the user terminal;
4th feedback module, for the key frame currently played positioned at the user terminal can not to be found out in the second searching module
When first mark program start frame later, live content is fed back into user terminal.
11. media server according to claim 10, which is characterized in that in several described key frames further include: when
Between sign frame, the picture material of the time label frame includes the play time value presented with preset format, and the play time value is
The relative time values of current key frame and the program start frame of corresponding programme content;
The media server further include:
Picture recognition module, for when requesting identification module to identify that the operation requests are the request of program front jumping, identification to be used
Play time value in the picture material of the currently played time label frame in family end;
Time judgment module, for judging whether the play time value is greater than preset time value;
4th searching module, for recording when time judgment module judges that play time value is greater than preset time value
Review in the mark video data stream of content immediately, search before being located at the currently played key frame of the user terminal
Second mark program start frame;
5th feedback module, for the key frame currently played positioned at the user terminal can be found out in the 4th searching module
When second mark program start frame before, it is located at what is found out before the currently played key frame of the user terminal
Second mark program start frame, which is used as, reviews starting point, and the starting point of reviewing is fed back to the user terminal;
Second feedback module is also used to not find out in the 4th searching module currently played positioned at the user terminal
When second mark program start frame before key frame, using the starting point for reviewing content immediately recorded as having reviewed
Initial point, and the starting point of reviewing is fed back into the user terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610509708.9A CN106210837B (en) | 2016-06-30 | 2016-06-30 | Multimedia coding method and system, method for recording, operating method, media server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610509708.9A CN106210837B (en) | 2016-06-30 | 2016-06-30 | Multimedia coding method and system, method for recording, operating method, media server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106210837A CN106210837A (en) | 2016-12-07 |
CN106210837B true CN106210837B (en) | 2019-05-10 |
Family
ID=57462776
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610509708.9A Active CN106210837B (en) | 2016-06-30 | 2016-06-30 | Multimedia coding method and system, method for recording, operating method, media server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106210837B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108833970B (en) * | 2018-06-29 | 2020-10-09 | 广州酷狗计算机科技有限公司 | Live broadcast recording method and device, computer equipment and storage medium |
CN109874061A (en) * | 2019-03-22 | 2019-06-11 | 北京奇艺世纪科技有限公司 | A kind of processing method of live video, device and electronic equipment |
CN111405373B (en) * | 2020-04-03 | 2022-02-08 | 聚好看科技股份有限公司 | Method and device for acquiring video stream |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102143145A (en) * | 2010-10-27 | 2011-08-03 | 华为技术有限公司 | Media data recording and providing methods and devices |
CN102256119A (en) * | 2010-05-20 | 2011-11-23 | 华为终端有限公司 | Video recording method and apparatus thereof |
CN104811774A (en) * | 2015-04-29 | 2015-07-29 | 北京中传数广技术有限公司 | Live television precise advertisement and information delivery method and system |
-
2016
- 2016-06-30 CN CN201610509708.9A patent/CN106210837B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102256119A (en) * | 2010-05-20 | 2011-11-23 | 华为终端有限公司 | Video recording method and apparatus thereof |
CN102143145A (en) * | 2010-10-27 | 2011-08-03 | 华为技术有限公司 | Media data recording and providing methods and devices |
CN104811774A (en) * | 2015-04-29 | 2015-07-29 | 北京中传数广技术有限公司 | Live television precise advertisement and information delivery method and system |
Also Published As
Publication number | Publication date |
---|---|
CN106210837A (en) | 2016-12-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5877937B1 (en) | User operations for replacement TV advertisements inserted by smart TV | |
US9300927B2 (en) | Fingerprint, apparatus, method for identifying and synchronizing video | |
US6829781B1 (en) | Network-based service to provide on-demand video summaries of television programs | |
US11317167B2 (en) | Content management and control based on tracking of prior content playback behavior | |
CN101588469B (en) | Channel information access control method, channel information delivery method, IPTV system and device | |
US8768137B2 (en) | Program segments display bar | |
JP2008519492A (en) | A system for enabling video-based interactive applications | |
US20090097815A1 (en) | System and method for distributed and parallel video editing, tagging, and indexing | |
US10469918B1 (en) | Expanded previously on segments | |
US20070006262A1 (en) | Automatic content presentation | |
CN106210837B (en) | Multimedia coding method and system, method for recording, operating method, media server | |
CN103763581A (en) | Method and system for achieving back view of live program | |
US20180091870A1 (en) | Digital Channel Integration System | |
CN106686394B (en) | Video switching method and device | |
CN102802052A (en) | Video on demand program method and device | |
WO2022265669A1 (en) | Methods and systems for providing dynamic summaries of missed content from a group watching experience | |
CN112383790A (en) | Live broadcast screen recording method and device, electronic equipment and storage medium | |
EP3744106A1 (en) | A live video rendering and broadcasting system | |
CN109218772A (en) | Smart television information-pushing method and device | |
KR102143766B1 (en) | Apparatus and method for displaying dramatic moments of contents | |
TWI592012B (en) | Mobile wisdom terminal video system and its method | |
CN102917253B (en) | Time-moving television control method for playing back and time-shifted television system | |
US20080320511A1 (en) | High-speed programs review | |
CN102572551B (en) | Source server, next generation on demand (NGOD)-based time-shifted program on demand method and system | |
KR102143765B1 (en) | Apparatus and method for displaying dramatic moments of contents |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |