CN106210837A - Multimedia coding method and system, method for recording, operational approach, media server - Google Patents

Multimedia coding method and system, method for recording, operational approach, media server Download PDF

Info

Publication number
CN106210837A
CN106210837A CN201610509708.9A CN201610509708A CN106210837A CN 106210837 A CN106210837 A CN 106210837A CN 201610509708 A CN201610509708 A CN 201610509708A CN 106210837 A CN106210837 A CN 106210837A
Authority
CN
China
Prior art keywords
frame
program
mark
data stream
start frame
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610509708.9A
Other languages
Chinese (zh)
Other versions
CN106210837B (en
Inventor
张伦泳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201610509708.9A priority Critical patent/CN106210837B/en
Publication of CN106210837A publication Critical patent/CN106210837A/en
Application granted granted Critical
Publication of CN106210837B publication Critical patent/CN106210837B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8455Structuring 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/426Internal components of the client ; Characteristics thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4331Caching operations, e.g. of an advertisement for later insertion during playback
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/434Disassembling 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/438Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving MPEG packets from an IP network
    • H04N21/4382Demodulation or channel decoding, e.g. QPSK demodulation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network 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/63Control 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/637Control signals issued by the client directed to the server or network components
    • H04N21/6373Control 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network 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/63Control 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/647Control 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/64746Control signals issued by the network directed to the server or the client
    • H04N21/64761Control signals issued by the network directed to the server or the client directed to the server
    • H04N21/64769Control signals issued by the network directed to the server or the client directed to the server for rate control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring 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, operational approach, media server, including: step 101, collection original multimedia data stream;Step 102, for the identical mark video data stream of frame per second that original multimedia data stream configuration is corresponding, mark video data stream includes: several key frames, several key frames include: mark program start frame and mark program end frame, mark program start frame is corresponding with program start frame, and mark program end frame is corresponding with program end frame;Step 103, by original multimedia data stream and mark video data stream encoded along for program playing data.Technical scheme is by the mark video data stream of the frame per second such as configuration one in the technology of original multimedia data stream, so that the starting point of each programme content and end point are identified, thus the follow-up row that each programme content is gone on of media server can be facilitated to split accurately, and provide the service of immediately reviewing of more high-quality for client.

Description

Multimedia coding method and system, method for recording, operational approach, media server
Technical field
The present invention relates to multimedia technology field, particularly to a kind of multimedia coding method and system, request program Method for recording, the operational approach of instant program and media server.
Background technology
Current IPTV reviews mainly two ways.One is immediately to review (also known as time shift), i.e. spectators are watching electricity The when of depending on program, press the fast backspace key of remote controller, can by the speed such as 2 speeds, 4 speeds, 8 speeds, 16 speeds, 32 speeds along time Between alignment return the program just play of retrieval.Another kind is that program request is reviewed and (under normal circumstances, " reviewed " that refer to is exactly that program request is returned See), the performance recording that i.e. past was play by media server gets off, spectators can select in program request list to be play in Hold (request program), with the programme content play before a broadcast mode viewing.
All there are some defects in operator in the business of reviewing of the above two mode provided.
Under first kind of way, spectators are only in by speed such as 2 speeds, 4 speeds, 8 speeds, 16 speeds, 32 speeds progressively Rewind, and can not disposably navigate to the sart point in time of actual program.
Under the second way, media server, when recording request program, is usually and selects one in following two method Kind, as the method recording program.A kind of is according to the programme taken in advance, in strict accordance with the time listed in programme Point, carries out program fractionation, and in this case, once programme is not inconsistent with actual program content, even simply sart point in time is deposited In difference, all can cause recording the imperfect of program or phenomenons such as leaving out the beginning and the end occurring.Another way is by time fixing Between be spaced and record, 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, operational approach, media server, it is intended to The technical problem at least one solved present in prior art.
For achieving the above object, the invention provides a kind of multimedia coding method, including:
Step 101, collection original multimedia data stream, in described original multimedia data stream includes at least one program Holding, described programme content includes: program start frame and program end frame;
Step 102, for mark video data stream corresponding to described original multimedia data stream configuration, described mark video counts According to stream identical with the frame per second of described original multimedia data stream, described mark video data stream includes: if several key frames with Dry blank infilled frame, several described key frames include: mark program start frame and mark program end frame, described mark Program start frame is corresponding with described program start frame, and the picture material of described mark program start frame includes the first character preset String, described mark program end frame is corresponding with described program end frame, and the picture material of described mark program start frame includes pre- If the second character string;
Step 103, by encoded along to described original multimedia data stream and described mark video data stream for program play Data.
Alternatively, several described key frames also include: the time signs frame;
The picture material of label frame of described time includes the reproduction time value presented with preset format, and described reproduction time value is The relative time values of current key frame and the program start frame of corresponding programme content.
Alternatively, several described key frames also include: metadata frame;
The picture material of described metadata frame includes: for identifying the 3rd character string of corresponding programme content.
Alternatively, if intercutted advertisement in described programme content, described advertisement includes: advertisement start frame and advertisement terminate Frame;
Several described key frames also include: continue frame, described in continue frame and described advertisement start frame and described advertisement End frame is the most corresponding, described in continue the 4th character string that the picture material of frame includes presetting.
For achieving the above object, present invention also offers the method for recording of a kind of request program, including:
Step 201, acquisition program playing data, described program playing data includes: original multimedia data stream and mark Video data stream, described mark video data stream is positioned in metadata tracks, and described mark video data stream includes: several close Key frame and several blank infilled frames, several described key frames include: mark program start frame and mark program end frame, Described mark program start frame is corresponding with the program start frame of programme content, and the picture material of described mark program start frame includes The first character string preset, described mark program end frame is corresponding with the program end frame of programme content, and described mark program rises The picture material of beginning frame includes the second character string preset;
Step 202, when identifying data corresponding to metadata tracks and being described mark program start frame, create program request matchmaker Body content container;
Step 203, utilize described on-demand media content container that described original multimedia data stream is recorded;
Step 204, judge in described metadata tracks whether corresponding data are described mark program end frame;
If the determination result is YES, then step S205 is performed;If judged result is no, then continue executing with step 203;
Step 205, the end recording to described original multimedia data stream, to obtain request program.
For achieving the above object, present invention also offers the operational approach of a kind of instant program, including:
Step 301, recording review the program playing data of content immediately, and described program playing data includes: original many matchmakers Volume data stream and mark video data stream, described mark video data stream is positioned in metadata tracks, described mark video data Stream includes: several key frames and several blank infilled frames, and several described key frames include: mark program start frame and Mark program end frame, described mark program start frame is corresponding with the program start frame of programme content, and described mark program initiates The picture material of frame includes the program end frame pair of the first character string preset, described mark program end frame and programme content Should, the picture material of described mark program start frame includes the second character string preset;
Step 302, the operation requests of identification user side, described operation requests is that program front jumping asks or jump after program to ask Ask;
If identify described operation requests be program front jumping request time, then perform step 303;Please if identifying described operation When asking as jumping request after program, then perform step 306;
Step 303, in the described mark video data stream immediately reviewing content recorded, search be positioned at described user Hold first mark program start frame before currently played key frame;
It is positioned at before the key frame that described user side is currently played first mark program initiates if can find out Frame, then perform step 304;If first mark being positioned at before the key frame that described user side is currently played cannot be found out Program start frame, then perform step 305;
Step 304, by find out be positioned at the key frame that described user side is currently played before first described mark Know program start frame as reviewing starting point, and described in review starting point and feed back to described user side;
Step 305, using the described starting point immediately reviewing content recorded as reviewing starting point, and reviewed described Initial point feeds back to described user side;
Step 306, in the described mark video data stream immediately reviewing content recorded, search be positioned at described user Hold first mark program start frame after currently played key frame;
It is positioned at after the key frame that described user side is currently played first mark program initiates if can find out Frame, then perform step 307;If first mark being positioned at after the key frame that described user side is currently played cannot be found out Program start frame, then perform step 308;
Step 307, by find out be positioned at the key frame that described user side is currently played after first described mark Know program start frame as reviewing starting point, and described in review starting point and feed back to described user side;
Step 308, exit and immediately review, and live content is fed back to user side.
Alternatively, several described key frames also include: the time signs frame;
The picture material of label frame of described time includes the reproduction time value presented with preset format, and described reproduction time value is The relative time values of current key frame and the program start frame of corresponding programme content;
Also include after described step 302:
Step 302a: the reproduction time value in the picture material of the time label frame that identification user side is currently played;
Step 302b, judge that described reproduction time value is whether more than preset time value;
If the determination result is YES, then above-mentioned steps 303 is performed;If judged result is no, then perform step 302c;
Step 302c, in the described mark video data stream immediately reviewing content recorded, search be positioned at described use Second mark program start frame before the key frame that family end is currently played;
It is positioned at before the key frame that described user side is currently played second mark program initiates if can find out During frame, then perform step 302d;If second be positioned at before the key frame that described user side is currently played cannot be found out During mark program start frame, then perform above-mentioned steps 305;
Step 302d, by find out be positioned at the key frame that described user side is currently played before second described mark Know program start frame as reviewing starting point, and described in review starting point and feed back to described user side.
For achieving the above object, present invention also offers a kind of Multimedia coding system, including:
Multimedia collection module, is used for gathering original multimedia data stream, and described multimedia data stream includes at least one Programme content, described programme content includes: program start frame and program end frame;
Mark configuration module, for the mark video data stream corresponding for the configuration of described original multimedia data stream, described Mark video data stream is identical with the frame per second of described original multimedia data stream, and described mark video data stream includes: several Key frame and several blank infilled frames, several described key frames include: mark program start frame and mark program terminate Frame, described mark program start frame is corresponding with described program start frame, and the picture material of described mark program start frame includes pre- If the first character string, described mark program end frame is corresponding with described program end frame, the figure of described mark program start frame As content includes the second character string of presetting;
Coding module, for by encoded along for program to described original multimedia data stream and described mark video data stream Played data.
For achieving the above object, present invention also offers a kind of media server, including:
Program data acquisition module, is used for obtaining program playing data, and described program playing data includes: initial multimedia Data stream and mark video data stream, described mark video data stream is positioned in metadata tracks, described mark video data stream Including: several key frames and several blank infilled frames, several described key frames include: mark program start frame and mark Knowing program end frame, described mark program start frame is corresponding with the program start frame of programme content, described mark program start frame Picture material include the first character string of presetting, described mark program end frame is corresponding with the program end frame of programme content, The picture material of described mark program start frame includes the second character string preset;
Start frame identification module, being used for identifying data corresponding to metadata tracks is described mark program start frame Time, create on-demand media content container;
End frame judge module, for judging whether data corresponding in described metadata tracks are described mark program knot Bundle frame;
Module is recorded in request program, for judging that data corresponding in metadata tracks are not at end frame judge module During described mark program end frame, utilize described on-demand media content container that described original multimedia data stream is recorded; And when end frame judge module judges that data corresponding in metadata tracks are described mark program end frame, it is right to terminate The recording of described original multimedia data stream, to obtain request program.
For achieving the above object, present invention also offers a kind of media server, including:
Program data records module, for recording the program playing data immediately reviewing content, described program playing data Including: original multimedia data stream and mark video data stream, described mark video data stream is positioned in metadata tracks, described Mark video data stream includes: several key frames and several blank infilled frames, several described key frames include: mark Program start frame and mark program end frame, described mark program start frame is corresponding with the program start frame of programme content, described The picture material of mark program start frame includes the first character string preset, described mark program end frame and the joint of programme content Mesh end frame is corresponding, and the picture material of described mark program start frame includes the second character string preset;
Request identification module, for identifying the operation requests of user side, described operation requests is the request of program front jumping or joint Request is jumped after mesh;
First search module, for ask identification module identify described operation requests be program front jumping request time, In the described mark video data stream immediately reviewing content recorded, search and be positioned at the key that described user side is currently played First mark program start frame before frame;
First feedback module, is positioned at, for finding out in the first lookup module, the pass that described user side is currently played During before key frame first mark program start frame, by find out be positioned at the currently played key frame of described user side it Before first described mark program start frame as reviewing starting point, and described in review starting point and feed back to described user side;
Second feedback module, is positioned at, for finding out in the first lookup module, the pass that described user side is currently played When before key frame first identifies program start frame, using initial as reviewing for the described starting point immediately reviewing content recorded Point, and described starting point of reviewing is fed back to described user side;
Second searches module, is used for when asking identification module to identify jumping request after described operation requests is program, In the described mark video data stream immediately reviewing content recorded, search and be positioned at the key that described user side is currently played First mark program start frame after frame;
3rd feedback module, is positioned at, for finding out in the second lookup module, the pass that described user side is currently played During after key frame first mark program start frame, by find out be positioned at the currently played key frame of described user side it After first described mark program start frame as reviewing starting point, and described in review starting point and feed back to described user side;
4th feedback module, is positioned at, for finding out in the second lookup module, the pass that described user side is currently played When after key frame first identifies program start frame, live content is fed back to user side.
Alternatively, several described key frames also include: the time sign frame, the described time sign frame picture material include with The reproduction time value that preset format presents, described reproduction time value is the program start frame of current key frame and corresponding programme content Relative time values;
Described media server also includes:
Picture recognition module, for ask identification module identify described operation requests be program front jumping request time, know Reproduction time value in the picture material of the time label frame that other user side is currently played;
Time judgment module, is used for judging that whether described reproduction time value is more than preset time value;
4th searches module, for when time judgment module judges reproduction time value more than preset time value, In the described mark video data stream immediately reviewing content recorded, search and be positioned at the key frame that described user side is currently played Second mark program start frame before;
5th feedback module, is positioned at, for finding out in the 4th lookup module, the pass that described user side is currently played During before key frame second mark program start frame, by find out be positioned at the currently played key frame of described user side it Before second described mark program start frame as reviewing starting point, and described in review starting point and feed back to described user side.
Described second feedback module is additionally operable to search module the 4th and cannot find out and be positioned at described user side and currently broadcast When before the key frame put second identifies program start frame, using the described starting point immediately reviewing content recorded as returning See starting point, and described starting point of reviewing is fed back to described user side.
The method have the advantages that
The invention provides a kind of multimedia coding method and system, method for recording, operational approach, media server, logical Cross the mark video data stream configuring the frame per second such as in the technology of original multimedia data stream, so that each programme content to be risen Initial point and end point are identified, thus the follow-up row that goes on each programme content of media server can be facilitated to split accurately, with And the service of immediately reviewing of more high-quality is provided for client.
Accompanying drawing explanation
The flow chart of a kind of multimedia coding method that Fig. 1 provides for the embodiment of the present invention one;
The flow chart of the method for recording of a kind of request program that Fig. 2 provides for the embodiment of the present invention two;
The flow chart of the operational approach of a kind of instant program that Fig. 3 provides for this embodiment three;
The flow chart of the operational approach of a kind of instant program that Fig. 4 provides for this embodiment four;
The structural representation of a kind of Multimedia coding system that Fig. 5 provides for the embodiment of the present invention five;
The structural representation of a kind of media server that Fig. 6 provides for the embodiment of the present invention six;
The structural representation of a kind of media server that Fig. 7 provides for the embodiment of the present invention seven.
Detailed description of the invention
For making those skilled in the art be more fully understood that technical scheme, below in conjunction with the accompanying drawings the present invention is carried A kind of multimedia coding method and system of confession, method for recording, operational approach, media server are described in detail.
The flow chart of a kind of multimedia coding method that Fig. 1 provides for the embodiment of the present invention one, as it is shown in figure 1, these many matchmakers Body coded method includes:
Step 101, collection original multimedia data stream.
Wherein, original multimedia data stream includes at least one programme content, and programme content includes: program start frame and joint Mesh end frame.
It should be noted that this original multimedia data stream is at least in voice data, video data, caption data Kind.
Step 102, for mark video data stream corresponding to original multimedia data stream configuration.
Wherein, mark video data stream is identical with the frame per second of original multimedia data stream, and mark video data stream includes: if Dry key frame and several blank infilled frames, several key frames include: mark program start frame and mark program terminate Frame.
In the present embodiment, mark program start frame is corresponding with program start frame, the picture material of mark program start frame Including the first character string preset, such as:
00:00:00:000
Mark program end frame is corresponding with program end frame, and the picture material of mark program start frame includes second preset Character string, such as:
EE:EE:EE:EEE
The picture material of blank infilled frame is blank image (the most completely black or the whitest).Specifically, a width can be fixed (big Little and content all immobilizes) small size (such as 80x10 pixel) blank image (the most completely black or the whitest) carry out quickly Compressed encoding, the frame per second of compression is identical with the frame per second of formal programme content.
Step 103, by original multimedia data stream and mark video data stream encoded along for program playing data.
In step 103, it is only necessary on the basis of existing encoder, a metadata tracks, this metadata rail are increased Road is used for loading mark video data stream.It should be noted that play this program playing data at user side or media server Time, the mark video data stream in metadata tracks does not shows.
It should be noted that for causing program playing data excessive after preventing configuration identifier video data stream, then can make Mark video data stream possesses low bit-rate.
Technical scheme is regarded by the mark of the frame per second such as configuration one in the technology of original multimedia data stream Frequency data stream, to be identified the starting point of each programme content and end point, thus can facilitate media server follow-up to respectively Programme content goes on to go and splits accurately, and provides the service of immediately reviewing of more high-quality for client.
In the present embodiment, alternatively, several key frames can also include: the time signs frame;Time is signed in the image of frame Holding the reproduction time value including presenting with preset format, reproduction time value is that current key frame rises with the program of corresponding programme content The relative time values of beginning frame, it represents the current location relative time relative to program starting point.
In the present embodiment, sign frame by Partial key frame being set to the time, to realize the reproduction time to programme content Be marked.In the present embodiment, this relative time values may be configured as the time value for being accurate to Millisecond, such as: if current Time sign frame pitch commence play out from program be 48 points 32 seconds 231 milliseconds, then this time sign frame picture material can be:
00:48:32:231
In actual applications, the foreground (reproduction time value) of the image that the time can be signed frame is set to black, background colour For white, in order to the identification to reproduction time value.
Alternatively, several key frames also include: metadata frame;The picture material of metadata frame includes: be used for identifying 3rd character string of corresponding programme content, such as: metadata is numbered.Can work as to the inquiry of Broadcast Control platform based on the 3rd character string The metadata that front programme content is corresponding, obtains the metadata of current program content, such as: programm name, brief introduction, program class Type, personnel etc..
In the present embodiment, the time can be made to sign frame and be alternately present with metadata frame, alternating frequency can be according to actual need It was determined that such as: in every 10 key frames, having 1 is metadata frame, and remaining 9 is all the time to sign frame.Need explanation It is, for making media services can obtain the metadata corresponding to respective program content in time, preferably will mark program start frame A key frame below is set to metadata frame.
In actual applications, a complete programme content intercuts advertisement sometimes, for identifying this advertisement, then can be by The key frame the most corresponding with advertisement start frame and advertisement end frame is disposed as the frame that continues, the picture material bag of this frame that continues Include the 4th default character string, 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 Configure the mark video data stream of the frame per second such as, so that the starting point of each programme content and end point are identified, thus can Facilitate the follow-up row that each programme content is gone on of media server to split accurately, and provide the instant of more high-quality to return for client See service.
Embodiment two
The flow chart of the method for recording of a kind of request program that Fig. 2 provides for the embodiment of the present invention two, as in figure 2 it is shown, should The method for recording of request program, for completing the recording of request program for media server, provides program request clothes for for user side Business, this method for recording includes:
Step 201, acquisition program playing data.
The data that this program playing data is generated by the multimedia coding method provided by above-described embodiment one, its bag Include: original multimedia data stream and mark video data stream, mark video data stream is positioned in metadata tracks, identifies video counts Include according to stream: several key frames and several blank infilled frames, several key frames include: mark program start frame and mark Knowing program end frame, mark program start frame is corresponding with the program start frame of programme content, in the image of mark program start frame Holding the first character string including presetting, mark program end frame is corresponding with the program end frame of programme content, and mark program initiates The picture material of frame includes the second character string preset.
It should be noted that the present embodiment with the picture material of mark program start frame is: 00:00:00:000, mark The picture material of program start frame is: EE:EE:EE:EEE, carries out exemplary description.
Step 202, when identifying data corresponding to metadata tracks for mark program start frame, create in on-demand media Hold container.
Step 203, utilize on-demand media content container that original multimedia data stream is recorded.
The figure that form is " 00:00:00:000 " is recognized in the metadata tracks in the programme content received During as content, then media server can re-create an on-demand media content container, can by this on-demand media content container Original multimedia data stream is recorded.
When comprising metadata frame in mark video data stream, the picture material of metadata frame is known by media server Not, the metadata numbering that current program content is corresponding in Broadcast Control platform is obtained, it is possible to look into Broadcast Control platform according to this numbering Ask the metadata of current program content.
If during additionally, programme content includes advertisement, corresponding mark video data stream stores the frame that continues.Recording During, when media server identifies for the first time and continues frame, then on-demand media content container suspends recording, until media clothes Business device second time identifies and continues when continuing frame to record such that it is able to the advertisement intercutted in programme content rejected.
Step 204, judge in metadata tracks whether corresponding data are mark program end frame.
During original multimedia data stream is recorded by on-demand media content container, also can real-time judge unit number Whether it is mark program end frame according to data corresponding in track, if the determination result is YES, then performs step S205;If judging knot Fruit is no, then continue executing with above-mentioned steps 203;
Step 205, the end recording to original multimedia data stream, to obtain request program.
After step 205 terminates, i.e. completing the recording to a complete programs content, this programme content can be as one Request program carries out program request for user side.
In the present embodiment, can distinguish accurately to each program due to mark program start frame and mark program end frame Starting point and end point be identified, thus be available for media server each programme content is gone on row split accurately and record System.
Embodiment three
The flow chart of the operational approach of a kind of instant program that Fig. 3 provides for the embodiment of the present invention three, as it is shown on figure 3, should The operational approach of instant program reviews service accordingly immediately for realizing providing the user according to the operation requests of user, should be i.e. Time purpose operational approach includes:
Step 301, recording review the program playing data of content immediately;
Wherein, program playing data includes: original multimedia data stream and mark video data stream, identifies video data stream Being positioned in metadata tracks, mark video data stream includes: several key frames and several blank infilled frames, several are crucial Frame includes: mark program start frame and mark program end frame, mark program start frame and the program start frame of programme content Correspondence, the picture material of mark program start frame includes the first character string preset, mark program end frame and programme content Program end frame is corresponding, and the picture material of mark program start frame includes the second character string preset.
Different from when above-described embodiment records request program, the present embodiment is being recorded immediately reviewing content Time, not only recorded original multimedia data stream, also recorded mark video data stream.
It should be noted that in the present embodiment still with mark program start frame picture material be that: 00:00:00:000 is Example carries out exemplary description.
Step 302, the operation requests of identification user side.
In actual applications, one " front jumping button " and one " jumping button afterwards " can be set on a remote control.When user exists When pressing " front jumping button " on remote controller, then user side sends the request of program front jumping to media server, when user is at remote controller On when pressing " jumping button afterwards ", then user side jumps request after media server sends program.
Now, this operation requests can be identified by media server, if identifying operation requests is the request of program front jumping Time, then perform step 303;If identifying operation requests when being to jump request after program, then perform step 306.
Step 303, in the mark video data stream immediately reviewing content recorded, search be positioned at the current institute of user side First mark program start frame before the key frame play.
When media server identify user side send operation requests be program front jumping request time, then media server meeting In the mark video data stream immediately reviewing content recorded, with the currently playing key frame of user side as starting point, according to The first mark program that time is positioned at before currently playing key frame by rear to front order (i.e. time sequencing) lookup initiates Frame.
If first the mark program start frame being positioned at before the key frame that user side is currently played can be found out, then Perform step 304;It is positioned at before the key frame that user side is currently played first mark program initiates if cannot find out Frame, then perform step 305.
Step 304, by find out be positioned at the key frame that user side is currently played before first mark program rise Beginning frame is as reviewing starting point, and will review starting point and feed back to user side.
When media server can find out first the mark joint being positioned at before the key frame that user side is currently played During mesh start frame, then media server is using the mark program start frame that finds out as reviewing starting point, and will review starting point Feed back to user side.After i.e. user presses " front jumping button ", the start picture of actual program is fed back to user by media server End, watches for user.
Step 305, using the starting point immediately reviewing content recorded as reviewing starting point, and will review starting point feedback To user side;
When media server cannot find out first the mark joint being positioned at before the key frame that user side is currently played During mesh start frame (media server actual program play before just start to record immediately review content), then media server general The starting point immediately reviewing content recorded is as reviewing starting point, and will review starting point and feed back to user side.I.e. user presses Under after " front jumping button ", the start picture recorded the earliest is fed back to user side by media server, watches for user.
Step 306, in the mark video data stream immediately reviewing content recorded, search be positioned at the current institute of user side First mark program start frame after the key frame play.
When media server identify user side send operation requests be program front jumping request time, then media server meeting In the mark video data stream immediately reviewing content recorded, with the currently playing key frame of user side as starting point, according to The first mark program that time order (i.e. time backward) lookup from front to back is positioned at after currently playing key frame initiates Frame.
If first the mark program start frame being positioned at after the key frame that user side is currently played can be found out, then Perform step 307;It is positioned at after the key frame that user side is currently played first mark program initiates if cannot find out Frame, then perform step 308.
Step 307, by find out be positioned at the key frame that user side is currently played after first mark program rise Beginning frame is as reviewing starting point, and will review starting point and feed back to user side.
When media server can find out first the mark joint being positioned at after the key frame that user side is currently played During mesh start frame, then media server is using the mark program start frame that finds out as reviewing starting point, and will review starting point Feed back to user side.After i.e. user presses " jumping button afterwards ", media server will be located in rising of the later program of actual program Beginning picture feeds back to user side, watches for user.
Step 308, exit and immediately review, and live content is fed back to user side.
When media server cannot find out first the mark joint being positioned at after the key frame that user side is currently played During mesh start frame (media server does not also start to record the next program being positioned at actual program), then media server will be straight Broadcast picture and feed back to user side.After i.e. user presses " jumping button afterwards ", live picture is fed back to user side by media server, with Watch for user.
From foregoing, the technical scheme of the present embodiment is capable of broadcasting content quickly, switches to accurately The start time of actual program or the start time of later program.
Embodiment four
The flow chart of the operational approach of a kind of instant program that Fig. 4 provides for the embodiment of the present invention four, as shown in Figure 4, In the present embodiment, the time that also includes in mark video data stream signs frame;Time is signed the picture material of frame and includes with preset format The reproduction time value presented, reproduction time value is the relative time of current key frame and the program start frame of corresponding programme content Value.The operational approach of the instant program that the present embodiment provides is except including the step 301 in above-described embodiment three~step 308 Outward, the most also include: step 302a~step 302d.For step 301 in the present embodiment~step 308 Describe the description that can be found in above-described embodiment three, the most only step 302a~step 302d are described.
In the present embodiment, when media server identify operation requests be program front jumping request time, then perform step 302a。
Step 302a: the reproduction time value in the picture material of the time label frame that identification user side is currently played.
In the present embodiment, when media server identify operation requests be program front jumping request time, media server can be right Reproduction time value in the picture material of the time label frame that user side is currently played is identified.
If it should be noted that the currently played key frame of user side terminates for mark program start frame or mark program During frame, then the reproduction time value of its correspondence can be designated as 0, in actual applications, now situation does not typically have.
Step 302b, judge that reproduction time value is whether more than preset time value.
In the present embodiment, this preset time value is can be with value as 1s, naturally it is also possible to preset this according to practical situation Time value adjusts accordingly.
If the determination result is YES, then above-mentioned steps 303 is performed;If judged result is no, then perform step 302c.
Step 302c, in the mark video data stream immediately reviewing content recorded, search that to be positioned at user side current Second mark program start frame before the key frame play.
When reproduction time value is less than or equal to 1s, then it represents that comparatively short (such as, the Yong Hu of current time that user watches Twice front jumping operation is continuously performed in 1s), now user performs front jumping operation, then illustrate that user wants to watch and be positioned at actual program Previous program.Now, media server can be in the mark video data stream immediately reviewing content recorded, with user Holding currently playing key frame is starting point, is positioned at currently playing according to the time by rear to front order (i.e. time sequencing) lookup Second mark program start frame before key frame.
If second the mark program start frame being positioned at before the key frame that user side is currently played can be found out, Then perform step 302d;If before being positioned at the key frame that user side is currently played second mark program cannot be found out to be risen During beginning frame, then perform above-mentioned steps 305;
Step 302d, by find out be positioned at the key frame that user side is currently played before second mark program rise Beginning frame is as reviewing starting point, and will review starting point and feed back to user side.
When media server can find out second the mark joint being positioned at before the key frame that user side is currently played During 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 side.After i.e. user presses " front jumping button ", media server will be located in the previous joint of actual program Purpose start picture feeds back to user side, watches for user.
From foregoing, the technical scheme of the present embodiment is capable of broadcasting content quickly, switches to accurately The start time of actual program, the start time of previous program or the start time of later program.
Embodiment five
The structural representation of a kind of Multimedia coding system that Fig. 5 provides for the embodiment of the present invention five, as it is shown in figure 5, should Multimedia coding system is for realizing the multimedia coding method in above-described embodiment one, and this Multimedia coding system includes: many Media collection module 1, mark configuration module 2 and coding module 3.
Wherein, multimedia collection module 1 is used for gathering original multimedia data stream, and multimedia data stream includes at least one Programme content, programme content includes: program start frame and program end frame.
Mark configuration module 2, for the mark video data stream corresponding for original multimedia data stream configuration, identifies video Data stream is identical with the frame per second of original multimedia data stream, and mark video data stream includes: several key frames and several skies White infilled frame, several key frames include: mark program start frame and mark program end frame, mark program start frame and joint Mesh start frame is corresponding, and the picture material of mark program start frame includes the first character string preset, mark program end frame and joint Mesh end frame is corresponding, and the picture material of mark program start frame includes the second character string preset.
Alternatively, several key frames also include: the time signs frame;
The picture material of time label frame includes the reproduction time value presented with preset format, and reproduction time value is current key The relative time values of frame and the program start frame of corresponding programme content.
Alternatively, several key frames also include: metadata frame;
The picture material of metadata frame includes: for identifying the 3rd character string of corresponding programme content.
Alternatively, if intercutted advertisement in programme content, advertisement includes: advertisement start frame and advertisement end frame, some Also including in individual key frame: continue frame, the frame that continues is the most corresponding with advertisement start frame and advertisement end frame, the picture material of the frame that continues Including the 4th character string preset
Coding module 3 is for playing number by encoded along to original multimedia data stream and mark video data stream for program According to.
It should be noted that the media collection module 1 in the present embodiment is for performing the step in above-described embodiment one 101, mark configuration module 2 is for performing the step 102 in above-described embodiment one, and coding module 3 is used for performing above-described embodiment Step 103 in one, the specific descriptions for module each in the present embodiment can be found in the content in above-described embodiment one, the most not Repeat again.
Embodiment six
The structural representation of a kind of media server that Fig. 6 provides for the embodiment of the present invention six, as shown in Figure 6, these media Server is for realizing the method for recording of the request program that above-described embodiment two provides, and this media server includes: program data Module 7 is recorded in acquisition module 4, start frame identification module 5, end frame judge module 6 and request program.
Wherein, program data acquisition module 4 is used for obtaining program playing data, and program playing data includes: original many matchmakers Volume data stream and mark video data stream, mark video data stream is positioned in metadata tracks, and mark video data stream includes: if Dry key frame and several blank infilled frames, several key frames include: mark program start frame and mark program terminate 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 presetting The first character string, mark program end frame corresponding with the program end frame of programme content, identify program start frame image in Hold the second character string including presetting.
Start frame identification module 5 is for when identifying data corresponding to metadata tracks for mark program start frame, creating Lay foundations demand media content container.
End frame judge module 6 is for judging whether data corresponding in metadata tracks are mark program end frame.
Request program records module 7 for judging data corresponding in metadata tracks not at end frame judge module 6 During for mark program end frame, utilize on-demand media content container that original multimedia data stream is recorded;And terminating When frame judge module 6 judges data corresponding in metadata tracks for mark program end frame, terminate initial multimedia number According to the recording of stream, to obtain request program.
It should be noted that the program data acquisition module 4 in the present embodiment is for performing the step in above-described embodiment two Rapid 201, start frame identification module 5 is for performing the step 202 in above-described embodiment two, and end frame judge module 6 is used for performing Step 204 in above-described embodiment two, request program records module 7 for the step 203 performing in above-described embodiment two and step Rapid 205.Specific descriptions for module each in the present embodiment can be found in the content in above-described embodiment two, and here is omitted.
Alternatively, if programme content includes advertisement, corresponding mark video data stream stores the frame that continues, this matchmaker Body server also includes: continue frame identification module (not shown), and the frame identification module that continues enters for recording module in request program During row is recorded, identify that data corresponding in metadata tracks, whether for the frame that continues, and identify metadata for the first time Data in track for continue frame time, control program request performance recording module suspend record, and second time identify metadata Data in track for continue frame time, control program request performance recording module start continue record.In the present embodiment, connect by setting The advertisement intercutted in program can be automatically removed by continuous frame identification module when recording program request node.
Embodiment seven
The structural representation of a kind of media server that Fig. 7 provides for the embodiment of the present invention seven, as it is shown in fig. 7, these media Server is for realizing the operational approach of the instant program of above-described embodiment three or embodiment four offer, this media server bag Include: program data records module 8, request identification module 9, first searches module the 10, first feedback module the 11, second feedback module 12, second module the 13, the 3rd feedback module the 14, the 4th feedback module 15 is searched.
Wherein, program data records module 8 for recording the program playing data immediately reviewing content, program playing data Including: original multimedia data stream and mark video data stream, mark video data stream is positioned in metadata tracks, identifies video Data stream packets includes: several key frames and several blank infilled frames, and several key frames include: mark program start frame and Mark program end frame, mark program start frame is corresponding with the program start frame of programme content, the image of mark program start frame Content includes the first character string preset, and mark program end frame is corresponding with the program end frame of programme content, and mark program rises The picture material of beginning frame includes the second character string preset;
Request identification module 9 is for identifying the operation requests of user side, after operation requests is the request of program front jumping or program Jump request.
First search module 10 for ask identification module 9 identify operation requests be the request of program front jumping time, In the mark video data stream immediately reviewing content recorded, search the be positioned at before the key frame that user side is currently played One mark program start frame;
First feedback module 11 is positioned at, for finding out in the first lookup module 10, the pass that user side is currently played During before key frame first mark program start frame, by find out be positioned at the key frame that user side is currently played before First mark program start frame is as reviewing starting point, and will review starting point and feed back to user side.
Second feedback module 12 is positioned at, for finding out in the first lookup module 10, the pass that user side is currently played During before key frame first mark program start frame, using the starting point immediately reviewing content recorded as reviewing starting point, And starting point will be reviewed feed back to user side;
Second searches module 13 is used for when asking identification module 9 to identify jumping request after operation requests is program, In the mark video data stream immediately reviewing content recorded, search the be positioned at after the key frame that user side is currently played One mark program start frame;
3rd feedback module 14 is positioned at, for finding out in the second lookup module 13, the pass that user side is currently played During after key frame first mark program start frame, by find out be positioned at the key frame that user side is currently played after First mark program start frame is as reviewing starting point, and will review starting point and feed back to user side.
4th feedback module 15 is positioned at, for finding out in the second lookup module 13, the pass that user side is currently played When after key frame first identifies program start frame, live content is fed back to user side.
It is used for performing above-described embodiment three and implementing it should be noted that the program data in the present embodiment records module 8 Step 301 in example four, request identification module 9 is for performing the step 302 in above-described embodiment three and embodiment four, and first looks into Looking for module 10 for performing the step 303 in above-described embodiment three and embodiment four, the first feedback module 11 is used for performing above-mentioned Step 304 in embodiment three and embodiment four, the second feedback module 12 is used for performing in above-described embodiment three and embodiment four Step 305, second searches module 13 for the step 306 performing in above-described embodiment three and embodiment four, the 3rd feedback mould Block 14 is for performing the step 307 in above-described embodiment three and embodiment four, and the 4th feedback module 15 is used for performing above-mentioned enforcement Step 308 in example three and embodiment four.Specific descriptions for module each in the present embodiment can be found in above-described embodiment three Content, here is omitted.
Alternatively, also including in several key frames: the time signs frame, the time is signed the picture material of frame and includes with preset format The reproduction time value presented, reproduction time value is the relative time of current key frame and the program start frame of corresponding programme content Value, media server also includes: picture recognition module 16, time judgment module the 17, the 4th search module 18 and the 5th feedback mould Block 19.
Wherein, picture recognition module 16 for ask identification module identify operation requests be the request of program front jumping time, Reproduction time value in the picture material of the time label frame that identification user side is currently played.
Time judgment module 17 is used for judging that whether reproduction time value is more than preset time value;
4th searches module 18 is used for when time judgment module 17 judges reproduction time value more than preset time value, In the mark video data stream immediately reviewing content recorded, search before being positioned at the key frame that user side is currently played Second mark program start frame;
5th feedback module 19 is positioned at, for finding out in the 4th lookup module 17, the pass that user side is currently played During before key frame second mark program start frame, by find out be positioned at the key frame that user side is currently played before Second mark program start frame is as reviewing starting point, and will review starting point and feed back to user side.
Second feedback module 12 is additionally operable to search module 18 the 4th cannot find out that to be positioned at user side currently played When before key frame second identifies program start frame, using initial as reviewing for the starting point immediately reviewing content recorded Point, and starting point will be reviewed feed back to user side.
It should be noted that the picture recognition module 16 in the present embodiment is for performing the step in above-described embodiment four 302a, time judgment module 17 is for performing step 302b in above-described embodiment four, and the 4th searches module 18 for performing Stating step 30c in embodiment four, the 5th feedback module 19 is for performing step 302d in above-described embodiment four.For this reality Executing the content during the specific descriptions of each module can be found in above-described embodiment four in example, here is omitted.
It should be added that, above-described embodiment six can be provided media server and embodiment seven offer by the present invention Media server be integrated into a media server, be provided simultaneously with request program and record and provide i.e. realizing media server Time program look back function.
It is understood that the principle that is intended to be merely illustrative of the present of embodiment of above and the exemplary enforcement that uses Mode, but the invention is not limited in this.For those skilled in the art, in the essence without departing from the present invention In the case of god and essence, can make various modification and improvement, these modification and improvement are also considered as protection scope of the present invention.

Claims (11)

1. a multimedia coding method, it is characterised in that including:
Step 101, collection original multimedia data stream, described original multimedia data stream includes at least one programme content, institute State programme content to include: program start frame and program end frame;
Step 102, for mark video data stream corresponding to described original multimedia data stream configuration, described mark video data stream Identical with the frame per second of described original multimedia data stream, described mark video data stream includes: several key frames and several Blank infilled frame, several described key frames include: mark program start frame and mark program end frame, described mark program Start frame is corresponding with described program start frame, and the picture material of described mark program start frame includes the first character string preset, Described mark program end frame is corresponding with described program end frame, and the picture material of described mark program start frame includes presetting Second character string;
Step 103, by encoded along for program playing data to described original multimedia data stream and described mark video data stream.
Multimedia coding method the most according to claim 1, it is characterised in that also include in several described key frames: Time signs frame;
The picture material of label frame of described time includes the reproduction time value presented with preset format, and described reproduction time value is current The relative time values of key frame and the program start frame of corresponding programme content.
Multimedia coding method the most according to claim 1, it is characterised in that also include in several described key frames: Metadata frame;
The picture material of described metadata frame includes: for identifying the 3rd character string of corresponding programme content.
Multimedia coding method the most according to claim 1, it is characterised in that if having intercutted advertisement in described programme content Time, described advertisement includes: advertisement start frame and advertisement end frame;
Several described key frames also include: continue frame, described in the frame that continues terminate with described advertisement start frame and described advertisement Frame is the most corresponding, described in continue the 4th character string that the picture material of frame includes presetting.
5. the method for recording of a request program, it is characterised in that including:
Step 201, acquisition program playing data, described program playing data includes: original multimedia data stream and mark video Data stream, described mark video data stream is positioned in metadata tracks, and described mark video data stream includes: several key frames With several blank infilled frames, several described key frames include: mark program start frame and mark program end frame, described Mark program start frame is corresponding with the program start frame of programme content, and the picture material of described mark program start frame includes presetting The first character string, described mark program end frame is corresponding with the program end frame of programme content, described mark program start frame Picture material include the second character string of presetting;
Step 202, when identifying data corresponding to metadata tracks and being described mark program start frame, create in on-demand media Hold container;
Step 203, utilize described on-demand media content container that described original multimedia data stream is recorded;
Step 204, judge in described metadata tracks whether corresponding data are described mark program end frame;
If the determination result is YES, then step S205 is performed;If judged result is no, then continue executing with step 203;
Step 205, the end recording to described original multimedia data stream, to obtain request program.
6. the operational approach of an instant program, it is characterised in that including:
Step 301, recording review the program playing data of content immediately, and described program playing data includes: initial multimedia number According to stream and mark video data stream, described mark video data stream is positioned in metadata tracks, described mark video data stream bag Include: several key frames and several blank infilled frames, several described key frames include: mark program start frame and mark Program end frame, described mark program start frame is corresponding with the program start frame of programme content, described mark program start frame Picture material includes the first character string preset, and described mark program end frame is corresponding with the program end frame of programme content, institute The picture material stating mark program start frame includes the second character string of presetting;
Step 302, the operation requests of identification user side, described operation requests is jumping request after the request of program front jumping or program;
If identify described operation requests be program front jumping request time, then perform step 303;If identifying described operation requests it is When jumping request after program, then perform step 306;
Step 303, in the described mark video data stream immediately reviewing content recorded, search be positioned at described user side work as First mark program start frame before front play key frame;
If first the mark program start frame being positioned at before the key frame that described user side is currently played can be found out, then Perform step 304;If first the mark program being positioned at before the key frame that described user side is currently played cannot be found out Start frame, then perform step 305;
Step 304, by find out be positioned at the key frame that described user side is currently played before first described mark joint Mesh start frame as reviewing starting point, and described in review starting point and feed back to described user side;
Step 305, using the described starting point immediately reviewing content recorded as reviewing starting point, and review starting point by described Feed back to described user side;
Step 306, in the described mark video data stream immediately reviewing content recorded, search be positioned at described user side work as First mark program start frame after front play key frame;
If first the mark program start frame being positioned at after the key frame that described user side is currently played can be found out, then Perform step 307;If first the mark program being positioned at after the key frame that described user side is currently played cannot be found out Start frame, then perform step 308;
Step 307, by find out be positioned at the key frame that described user side is currently played after first described mark joint Mesh start frame as reviewing starting point, and described in review starting point and feed back to described user side;
Step 308, exit and immediately review, and live content is fed back to user side.
The operational approach of instant program the most according to claim 6, it is characterised in that also wrap in several described key frames Include: the time signs frame;
The picture material of label frame of described time includes the reproduction time value presented with preset format, and described reproduction time value is current The relative time values of key frame and the program start frame of corresponding programme content;
Also include after described step 302:
Step 302a: the reproduction time value in the picture material of the time label frame that identification user side is currently played;
Step 302b, judge that described reproduction time value is whether more than preset time value;
If the determination result is YES, then above-mentioned steps 303 is performed;If judged result is no, then perform step 302c;
Step 302c, in the described mark video data stream immediately reviewing content recorded, search be positioned at described user side Second mark program start frame before currently played key frame;
If second the mark program start frame being positioned at before the key frame that described user side is currently played can be found out, Then perform step 302d;If second the mark joint being positioned at before the key frame that described user side is currently played cannot be found out During mesh start frame, then perform above-mentioned steps 305;
Step 302d, by find out be positioned at the key frame that described user side is currently played before second described mark joint Mesh start frame as reviewing starting point, and described in review starting point and feed back to described user side.
8. a Multimedia coding system, it is characterised in that including:
Multimedia collection module, is used for gathering original multimedia data stream, and described multimedia data stream includes at least one program Content, described programme content includes: program start frame and program end frame;
Mark configuration module, for the mark video data stream corresponding for the configuration of described original multimedia data stream, described mark Video data stream is identical with the frame per second of described original multimedia data stream, and described mark video data stream includes: several are crucial Frame and several blank infilled frames, several described key frames include: mark program start frame and mark program end frame, institute State mark program start frame corresponding with described program start frame, the picture material of described mark program start frame include presetting the One character string, described mark program end frame is corresponding with described program end frame, the picture material of described mark program start frame Including the second character string preset;
Coding module, for playing encoded along to described original multimedia data stream and described mark video data stream for program Data.
9. a media server, it is characterised in that including:
Program data acquisition module, is used for obtaining program playing data, and described program playing data includes: original multimedia data Stream and mark video data stream, described mark video data stream is positioned in metadata tracks, and described mark video data stream includes: Several key frames and several blank infilled frames, several described key frames include: mark program start frame and mark joint Mesh end frame, described mark program start frame is corresponding with the program start frame of programme content, the figure of described mark program start frame As content includes the first character string of presetting, described mark program end frame is corresponding with the program end frame of programme content, described The picture material of mark program start frame includes the second character string preset;
Start frame identification module, for when identifying data corresponding to metadata tracks and being described mark program start frame, creates Lay foundations demand media content container;
Whether end frame judge module, be that described mark program terminates for judging data corresponding in described metadata tracks Frame;
Module is recorded in request program, for judging that data corresponding in metadata tracks are not for described at end frame judge module During mark program end frame, utilize described on-demand media content container that described original multimedia data stream is recorded;And When end frame judge module judges that data corresponding in metadata tracks are described mark program end frame, terminate described The recording of original multimedia data stream, to obtain request program.
10. a media server, it is characterised in that including:
Program data records module, and for recording the program playing data immediately reviewing content, described program playing data includes: Original multimedia data stream and mark video data stream, described mark video data stream is positioned in metadata tracks, described mark Video data stream includes: several key frames and several blank infilled frames, several described key frames include: mark program Start frame and mark program end frame, described mark program start frame is corresponding with the program start frame of programme content, described mark The picture material of program start frame includes the program knot of the first character string preset, described mark program end frame and programme content Bundle frame is corresponding, and the picture material of described mark program start frame includes the second character string preset;
Request identification module, for identifying the operation requests of user side, after described operation requests is the request of program front jumping or program Jump request;
First search module, for ask identification module identify described operation requests be program front jumping request time, recording System the described mark video data stream immediately reviewing content in, search be positioned at the currently played key frame of described user side it First front mark program start frame;
First feedback module, is positioned at, for finding out in the first lookup module, the key frame that described user side is currently played During before first mark program start frame, by find out be positioned at the key frame that described user side is currently played before First described mark program start frame as reviewing starting point, and described in review starting point and feed back to described user side;
Second feedback module, is positioned at, for finding out in the first lookup module, the key frame that described user side is currently played When first before identifies program start frame, using the described starting point immediately reviewing content recorded as reviewing starting point, And described starting point of reviewing is fed back to described user side;
Second searches module, for when asking identification module to identify jumping request after described operation requests is program, recording System the described mark video data stream immediately reviewing content in, search be positioned at the currently played key frame of described user side it After first mark program start frame;
3rd feedback module, is positioned at, for finding out in the second lookup module, the key frame that described user side is currently played During afterwards first mark program start frame, by find out be positioned at the key frame that described user side is currently played after First described mark program start frame as reviewing starting point, and described in review starting point and feed back to described user side;
4th feedback module, is positioned at, for finding out in the second lookup module, the key frame that described user side is currently played When first afterwards identifies program start frame, live content is fed back to user side.
11. media servers according to claim 10, it is characterised in that also include in several described key frames: time Between sign frame, the described time is signed the picture material of frame and includes the reproduction time value that presents with preset format, and described reproduction time value is The relative time values of current key frame and the program start frame of corresponding programme content;
Described media server also includes:
Picture recognition module, for ask identification module identify described operation requests be program front jumping request time, identify use Reproduction time value in the picture material of the time label frame that family end is currently played;
Time judgment module, is used for judging that whether described reproduction time value is more than preset time value;
4th searches module, for when time judgment module judges reproduction time value more than preset time value, recording The described mark video data stream immediately reviewing content in, search be positioned at the key frame that described user side is currently played before Second mark program start frame;
5th feedback module, is positioned at, for finding out in the 4th lookup module, the key frame that described user side is currently played During before second mark program start frame, by find out be positioned at the key frame that described user side is currently played before Second described mark program start frame as reviewing starting point, and described in review starting point and feed back to described user side;
Described second feedback module is additionally operable to search module the 4th cannot find out that to be positioned at described user side currently played When before key frame second identifies program start frame, using the described starting point immediately reviewing content recorded as having reviewed Initial point, and described starting point of reviewing is fed back to described user side.
CN201610509708.9A 2016-06-30 2016-06-30 Multimedia coding method and system, method for recording, operating method, media server Active CN106210837B (en)

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 true CN106210837A (en) 2016-12-07
CN106210837B 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)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108833970A (en) * 2018-06-29 2018-11-16 广州酷狗计算机科技有限公司 Method, apparatus, computer equipment and the storage medium recorded is broadcast live
CN109874061A (en) * 2019-03-22 2019-06-11 北京奇艺世纪科技有限公司 A kind of processing method of live video, device and electronic equipment
CN111405373A (en) * 2020-04-03 2020-07-10 聚好看科技股份有限公司 Method and device for acquiring video stream

Citations (3)

* Cited by examiner, † Cited by third party
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

Patent Citations (3)

* Cited by examiner, † Cited by third party
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

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108833970A (en) * 2018-06-29 2018-11-16 广州酷狗计算机科技有限公司 Method, apparatus, computer equipment and the storage medium recorded is broadcast live
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
CN111405373A (en) * 2020-04-03 2020-07-10 聚好看科技股份有限公司 Method and device for acquiring video stream
CN111405373B (en) * 2020-04-03 2022-02-08 聚好看科技股份有限公司 Method and device for acquiring video stream

Also Published As

Publication number Publication date
CN106210837B (en) 2019-05-10

Similar Documents

Publication Publication Date Title
US9300927B2 (en) Fingerprint, apparatus, method for identifying and synchronizing video
US10200748B2 (en) System and method for commercial detection in digital media environments
JP5877937B1 (en) User operations for replacement TV advertisements inserted by smart TV
CN103188522B (en) Method and system for providing and delivering a composite condensed stream
CN100367794C (en) Meta data edition device, meta data reproduction device, meta data distribution device, meta data search device, meta data reproduction condition setting device, and meta data distribution method
US7630021B2 (en) Image processing device and image processing method
JP5250128B2 (en) In-band data recognition and synchronization system
DE69725365T2 (en) Information recording medium, apparatus for recording on the same and apparatus for reproducing the same
US20020051010A1 (en) Method and apparatus for skimming video data
US20090226046A1 (en) Characterizing Or Recommending A Program
EP0838960A2 (en) System and method for audio-visual content verification
JP2008519492A (en) A system for enabling video-based interactive applications
JP2009542088A (en) Method and apparatus for creating and viewing customized multimedia segments
JPH06243539A (en) Method for obtaining video structure information
DE10115084A1 (en) Coded data editing device e.g. for dividing moving image data into several data files in video camera, requires a definition device for defining an editing position for the coded data
CN1685711A (en) Apparatus for receiving a digital information signal
CN106210837A (en) Multimedia coding method and system, method for recording, operational approach, media server
US20090044236A1 (en) Method for Providing a Multimedia Service on Demand, Service Platform, Program and Decoder for Implementing the Method
US20030048843A1 (en) Image information summary apparatus, image information summary method and image information summary processing program
US8774605B2 (en) Display processing apparatus, control method therefor, and display processing system
CN101132528A (en) Metadata reproduction apparatus, metadata delivery apparatus, metadata search apparatus, metadata re-generation condition setting apparatus
KR20140039969A (en) Display device and control method thereof
TWI592012B (en) Mobile wisdom terminal video system and its method
JP2003101937A (en) Video recording and reproducing device and video distribution system
CN110519629B (en) Simple intelligent EPG calibration method based on screenshot

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