# Patent

## Title
Method and apparatus for matching of corresponding frames in multimedia streams

## Abstract

A method and an apparatus for matching corresponding frames in two multimedia streams are suggested. The first multimedia stream is an original multimedia stream for which meta-data are available. The second multimedia stream is broadcasted or multi-casted multimedia stream and has undergone processing steps such that the meta-data of the original video stream are no more available or no longer reliable. The matching of corresponding frames in the two multimedia streams is based on the comparison of audio fingerprints and the detection of shot boundaries. Matching corresponding frames with frame accuracy enables inserting targeted content like advertisements into a sequence of video frames especially in a broadcast or multicast environment where meta-data and time markers cannot be relied upon.

## Background
FIELD
A method and an apparatus for frame accurate matching of corresponding frames of multimedia streams are described. In particular, the disclosure is related to a method and an apparatus for matching of corresponding frames in a broadcasted multimedia stream and in a corresponding original multimedia stream, respectively.
BACKGROUND
Broadcasting companies or broadcasters transmit news, shows, sports events and films as programs to viewers who receive the programs through terrestrial, satellite and/or cable broadcast signals.
Advertisements accompanying such programs are very important for the business model of broadcasters. It is common practice that broadcasters include advertisements in dedicated advertisement breaks during a program. With the emergence of TV receivers offering time shift recording and viewing functionality, many viewers tend to skip the advertisement breaks by jumping forward in the recorded program or by switching into the fast forward mode. The reason for doing so is that, firstly, most of the times the advertisements are not relevant for the majority of the viewers and, secondly, it is very easy to avoid the advertisement breaks utilizing the time-shift functionality. Under such circumstances the main goal of the client of the broadcaster, who is paying for the advertisement placement, is missed because the advertisement does not reach out anymore to potential customers of the company who has placed the advertisement.
The obvious weakness of placing advertisements in advertisement breaks can be alleviated by embedding the advertisement in the program itself. The simplest approach for embedding the advertisement is to create a composed image by inserting the advertisement as a text box or banner into a number of video frames of the broadcasted program. This concept is known from prior art and will be explained in greater detail with reference to FIGS. 1A and 1B.
A more elegant approach is to insert the advertisement as an integral part of the video sequence e.g. displaying the advertisement on a billboard shown in a video sequence. However, in order to create a good impression and maintain a natural look of the composed image, the advertisement needs to be adapted to the rest of the scene in the video sequence. Typically, this approach requires human intervention to obtain results of good quality.
Embedding advertisement into a composed image makes it for the viewer practically impossible to avoid the advertisement. But embedding the advertisement alone still fails to make the advertisement more relevant for the viewer. In order to address this issue, the displayed advertisement needs to take into account individual interests of the viewer or, in other words, the advertisements need to be targeted to the viewer.
The approach of providing targeted content is known from video games for example. The selection of the advertisements is made by means of individual information stored in a game console of a videogame. WO 2007/041 371 A1 describes how user interactions in a video game are used to target advertisements. E.g. if the user selects a racing car of a specific brand, then an advertisement of the same brand is displayed in the video game.
The insertion of targeted content in video games is comparatively simple because the creator of the video game has full control of the scenery and can, therefore, provide scenes that are suitable for advertisement insertion. In addition, in a video game the video processing is completely controlled inside the video console. In a broadcast environment the insertion of targeted content is more complex.
In the co-pending European patent application EP 13 305 151.6 of the same applicant, it is suggested to identify in a video sequence a set of frames appropriate for inserting advertisements as targeted content. According to that method two sets of meta-data are created. The first set of metadata relates to the video content, e.g. frame numbers of those frames susceptible for inlaying the advertisement, coordinates where the advertisement should be placed, a geometrical shape of the advertisement, the used color map, light setting, etc. A second group of meta-data provides information that is required for selecting the appropriate content in the video sequence. The second set of meta-data comprises therefore information about the inserted content itself, the context of the scene, the distance of a virtual camera, etc. The method of inserting targeted content described in EP 13 305 151.6 works well as long as all meta-data are completely available.
However, in a video broadcast system, the video signal is transformed along its distribution chain from the broadcaster to the premises of the viewer. It may be transcoded, re-encoded, converted from digital to analog signals and vice versa, audio tracks may be edited or removed or changed. These transformations are generally not under the control of a single entity. Therefore, time markers or any other meta-data may get lost during these transformations. Potential remedies for this problem are video and/or audio watermarks. Video and audio watermarks are not susceptible to the mentioned transformations and could therefore serve as invariable markers in the video and/or audio sequence. However, content owners do not always accept to include watermarks because they are concerned by a potential negative effect on the quality perception of the viewer. Some broadcasters refuse to include watermarks because they do not want to modify the content broadcast workflow.
Also for the following reasons watermarking is not a preferred technology for the sole purpose of synchronization of two video streams or identifying matching corresponding frames in two video streams. Watermarking is based on a symmetric key for embedding and decoding the watermarks. The key and the process of watermarking must be based on secure hardware which is too costly for many consumer electronics applications. In addition to that, scaling watermarking for a large number of devices is also an issue.
For these reasons, video and/or audio watermarks are no feasible solution to compensate for the loss of time markers and meta-data.
Video fingerprinting is another technique that may provide frame accurate synchronization of a broadcasted or multi-casted video stream with the corresponding original video stream. However, matching a video fingerprint (signature) extracted by the video player against all signatures of the video provided by a server is costly and cannot be carried out in real-time by a set top box (STB).
Therefore, there remains a need for a solution to match one or several corresponding frame(s) in a broadcasted multimedia stream with the corresponding original multimedia stream with frame accuracy.
SUMMARY
A method and a television receiver for matching corresponding frames with frame accuracy into a transmitted multimedia stream are suggested. The term “transmitted” or “transmission” includes broadcasting as well as multicasting utilizing any kind of appropriate medium for doing so. The disclosed method and apparatus work in real-time and do not require computing overhead compared to conventional solutions. A further advantage is that the underlying concept is unsusceptible to processing or transforming steps of the original video along the broadcast chain.
According to a first aspect, an embodiment of the present invention suggests a method for matching corresponding frames in a first and a second multimedia stream containing the same multimedia data. The multimedia data include at least a video and an audio stream. The first multimedia stream (v) is provided with meta-data. The method comprises:

    
    
        receiving the second multimedia stream containing the same video data as the first multimedia stream with incomplete meta-data;
        receiving the meta-data and audio-fingerprints of the first multimedia stream;
        detecting a shot boundary in the second multimedia stream and a first video frame following the shot boundary in the second multimedia stream;
        determining the audio-fingerprint of a sequence of frames including the first video frame;
        matching the determined audio-fingerprint with an audio-fingerprint of the first multimedia stream;
        determining a video sequence in the first multimedia stream corresponding to the matching audio-fingerprint;
        detecting a shot boundary in the video sequence in the first multimedia stream; and
        identifying a second video frame following the shot boundary in the video sequence, wherein the second video frame matches with the first video frame. The method according to this embodiment of the invention enables frame accurate matching corresponding frames in a first and a second multimedia stream without requiring a lot of computing overhead.
    
    


Matching corresponding frames with frame accuracy enables inserting targeted content like advertisements into a sequence of video frames especially in a broadcast or multicast environment where meta-data and time markers cannot be relied upon. According to an embodiment of the suggested method content is inserted into the second multimedia stream. Frame accurate insertion of content into the multimedia stream is a prerequisite for a good quality perception of the viewer.
According to an advantageous embodiment the method comprises requesting content from a server before inserting the content into the second multimedia stream. The server can provide for a variety of different contents to be inserted into the multimedia stream.
In an advantageous embodiment the inventive method further comprises

    
    
        storing information about user behavior; and
        inserting content which is aligned with the information about user behavior. In this embodiment the inserted content, e.g. advertisements, can be targeted to a specific viewer. In this way it is possible to increase the impact of an advertisement.
    
    


Specifically, the insertion of content comprises replacing in a plurality of video frames a portion of the image by other content. In an alternative embodiment the insertion of content comprises replacing a plurality of video frames as a whole by other video frames.
In yet another embodiment the insertion of content is executed on a server and/or on a cloud computer. This approach may be particularly useful if the content insertion is complex and therefore additional computing power is required.
According to a second aspect, an embodiment of the present invention suggests an apparatus having a display comprising

    
    
        a broadcast signal receiver configured to receive a transmitted multimedia stream with incomplete meta-data and to receive meta-data and audio-fingerprints of a first multimedia stream; and
        a processor configured to
        
            to detect a shot boundary in the second multimedia stream and a first video frame following the shot boundary in the second multimedia stream;
            to determine the audio-fingerprint of a sequence of frames including the first video frame;
            to match the determined audio-fingerprint with an audio-fingerprint of the first multimedia stream;
            to determine a video sequence in the first multimedia stream corresponding to the matching audio-fingerprint;
            to detect a shot boundary in the video sequence in the first multimedia stream; and
            to identify a second video frame following the shot boundary in the video sequence, wherein the second video frame matches with the first video frame.
        
        
    
    


It has been found useful when the apparatus is provided with means to accumulate information about the viewer behavior.
An embodiment of the inventive apparatus is equipped with a communication interface to request and receive information about the viewer behavior from an external source.
In yet a further embodiment the apparatus includes a memory for storing the accumulated and/or received information about viewer behavior.
Advantageously, the apparatus can comprise a memory for storing information about a plurality of viewers. Having information about a plurality of viewers available makes it possible to target the inserted content to different viewers.
In different embodiments of the invention the apparatus is a television receiver, a mobile communication device or a computer.
An embodiment of the present invention suggests an apparatus having a display. The apparatus comprises a receiver to receive a transmitted video stream and a processor adapted to execute a method according to an embodiment of the invention.
While not explicitly described, the embodiments of the inventive method and apparatus may be employed in any combination or sub-combination.



SHORT DESCRIPTION OF DRAWINGS
In the drawing an embodiment of the present invention is illustrated. In the figures similar or identical elements are identified with similar or identical reference signs. It shows:
FIGS. 1A and 1B the insertion of an advertisement as a text box in a video scene;
FIG. 2 a schematic illustration of the broadcast chain;
FIGS. 3A and 3B a schematic example of advertisement insertion in a video scene;
FIG. 4 a schematic block diagram of an implementation of the invention;
FIG. 5 schematically illustrates the matching of two corresponding frames in two video streams;
FIG. 6 a schematic block diagram of a TV receiver as example for the inventive apparatus; and
FIG. 7 a flow diagram describing the process steps for advertisement insertion.



DETAILED DESCRIPTION
FIG. 1A shows a screen 101 of a television receiver displaying images 102 of a soccer match. FIG. 1B shows an advertisement which is inserted as a text box or banner 103 in the lower part in the image 102 displayed on the screen 101. A portion or the original video content is replaced by the text box 103. This process is also called keying, i.e. the advertisement is keyed into the original video frames. However, this simple approach disturbs the original images and the so created composed image is less appealing for the viewer, especially if the text box 103 covers an interesting detail of the original image.
Embodiments of the present invention provide technology enabling advertisement insertion in a broadcasted video stream in a way that is more appealing than the text box insertion shown in FIG. 1B.
Even though the principles of the present disclosure are equally applicable in a broadcast as well as in a multicast environment, the principles are exemplarily described for broadcast technology at first. Examples of embodiments employing multicast technology will be presented at the end of the description.
FIG. 2 schematically illustrates a video chain reaching from the content owner along the broadcast chain to the premises of a viewer. The realms of the content owner, the broadcast chain and the viewer are shown as distinct sections of FIG. 2 labeled with the reference signs A, B, and C, respectively. A film strip 201 symbolizes content bound to be broadcasted. In the present context the content is any kind of video and/or audio content which is suitable for being broadcasted as a program. In the entire specification of the present patent application, the term “program” refers to content which is transmitted to a viewer via broadcast or multi-cast.
For broadcasting the content as a program there are several options. The first option is to send the program to a satellite 202 via satellite uplink antenna 203. The second option is to send the program to a cable network 204. The cable network 204 is an analog or digital serial network or a data network transmitting packetized data. The third option is to transmit the program via a terrestrial broadcast antenna 206.
In the process of being broadcasted the video content 201 typically undergoes several processing steps which are shown in FIG. 2 as blocks 207 to 212. It is to be noted that not necessarily every processing step shown in FIG. 2 is always executed but, conversely, there may be other processing steps not shown in FIG. 2 which are applied to a specific content. The processing may involve an analog-to-digital conversion 207, re-encoding 208, multiplexing 209, program selection/switching 210, digital to analog conversion 211, and audio track editing 212.
The viewer has the option to receive the content via a satellite dish antenna 213, a cable network access 214 and a terrestrial antenna 216 connected to a television receiver which is symbolized in FIG. 2 as a set-top box 217. The set-top box 217 or TV receiver has information characterizing the interests of the viewer, briefly called “user information”. Optionally, the user information also includes other information related to the viewer's interest, such as geographical location of the set-top box 217, selected menu language, etc. According to different embodiments of the invention, the information is accumulated by the set-top box 217 itself, sent from a service provider or requested by the set-top box from a service provider. In one embodiment the information is stored in the set-top box 217 as a file or data base. In another embodiment the information is stored in a computer cloud or on a server. In that case the set-top box 217 queries the information each time when it is required.
In another embodiment of the present invention the user information is stored outside the set-top box 217, e.g. in a storage device or server communicatively connected with the set-top box 217. It is not essential for the present invention where or in what kind of device the user information is stored.
In an embodiment of the present invention the set-top box 217 stores such information for a plurality of users.
In the present patent application, the terms “television receiver” or “receiver” refer to any device which incorporates means for receiving an incoming video signal. Such kind of devices include, but are not limited to, television sets, Bluray and/or DVD players and recorders, set-top boxes, PC cards, computers, smartphones, smart watches, tablet computers, wearable head-up displays etc. It is noted that all mentioned devices include a display and driver circuit for driving the display.
The plurality of processing steps within the broadcast chain frequently results in a loss of meta-data that is associated with the original content and in consequence it is no longer possible to insert advertisements at the right place in the right moment in a sequence of video frames. However, precise timing and positioning in the sense that the insertion of the advertisement is frame accurate, i.e. exactly in the frames that were specified by the meta-data, is essential. For a good quality impression of the viewer it is very important that the insertion does not take place one single frame too early or too late. The reason why this strict requirement is indispensable for the final sequence of video frames with inserted targeted content will be explained in connection with FIGS. 3A and 3B.
FIG. 3A shows a scene with two persons standing on a bridge having a railing 301. The scene is a sequence of video frames forming part of the program selected by the viewer. The TV receiver 217 holds information characterizing the interests of the viewer. The information enables the TV receiver 217 to select advertisements that are actually interesting for the viewer. This type of advertisements is also referred to as “targeted content”. The TV receiver 217 receives frame information identifying frames and areas inside the frames that are appropriate for inserting targeted content.
The railing 301 shown in FIG. 3A is composed of posts 302 and rails 303 defining fields 304 in the railing 301. The fields 304 are identified as a suitable image area for advertisement insertion. FIG. 3B shows the company name “Technicolor”® as advertisement in two fields 304. The company name “Technicolor” is only an example for an advertisement and any kind of alphanumeric or graphic presentation may be inserted in the fields 304. Also, the advertisement may be inserted only in one field 304 or in more than two fields 304 and also in other fields 304 than in those shown in FIG. 3B. In one embodiment of the present invention even a video clip is inserted as advertisement. But regardless of the content of the advertisement it is of utmost importance that the advertisement is inserted in a frame accurate manner, i.e. not one frame too early or too late. For the purpose of explanation let us assume that FIG. 3A shows a video frame out of a sequence of video frames created by a camera pan. In this case the positions of the fields 304 change slightly from frame to frame which means that the advertisement has to be inserted in each video frame at a slightly different position in order to fit properly into the fields 304 of the railing 301 as it is shown in FIG. 3B. If given position data of the advertisement is not matched with the right video frame, the advertisement is at least slightly displaced compromising the quality impression of the scene for the viewer. Similar problems occur when there is a so called “hard cut” between scenes, i.e. the image contents of frame number N is completely different from the image contents of frame number N−1 or N+1. Obviously, in the situation of a hard cut an advertisement that is adapted to frame number N is completely out of context in frame N−1 or N+1, respectively. Again, the viewer would get a bad quality impression of the composed image.
In general terms the described problem can be expressed as follows: The starting point is an original video v composed of a sequence of video frames fi. The video stream is part of a more general multimedia stream that contains at least a video stream and an accompanying audio stream. The same is true for any other video stream mentioned further below in the specification. In other words, the original video v represents a physical and mathematical quantity comprising the video frames f, as elements v={f1, . . . , fn}. A sub-quantity or subset Fj of these frames is appropriate for inserting or inlaying advertisements and is important for this reason, wherein Fj={fk, . . . , fm}. The subset Fj is identified in data called “frame information”.
The transformations and the streaming of the video v along the broadcast chain introduce changes and the video v becomes video stream v′. The television receiver receives the video stream v′ composed of frames fi′, i.e. v′={f1′, . . . , fn′}. According to an embodiment of the present invention the TV receiver 217 inserts in a subset of frames Fj′ corresponding to the identified frames Fj advertisements as targeted content based on the stored user information. For doing so, the TV receiver 217 has to match the already identified frames Fj={fk, . . . , fm} with the corresponding frames Fj′={fk′, . . . , fm′} in the video stream v′ to properly insert an advertisement. As long as all video transformations of v are perfectly controlled by one entity like a video game console it is relatively easy to do a frame accurate matching and track which original frame corresponds to which transformed frame. This is no longer the case when video or multimedia streams are broadcasted.
The present disclosure addresses the problem of frame accurate insertion without the availability of reliable or complete meta-data. As it was mentioned above, in the broadcast environment any marker in the broadcasted program has a risk to get lost. The only synchronization that imperatively has to be maintained by the broadcast service is the lip-sync between audio and video in a program.
This is why known solutions use the audio track of a video to synchronize the two video streams v and v′. More precisely a server provides descriptions (also called fingerprints or signatures) of pieces of the audio track of original video stream v. For each fingerprint a server also provides the corresponding frames f,. The television receiver 217 extracts the audio fingerprints of the broadcasted video stream v′ and matches the fingerprints against all signatures provided by the server for that particular video. If two audio fingerprints are matching, the video player can map received video frames fi′ to the original frames fi.
The advantage of this approach is that audio fingerprinting is not costly and can easily be carried out in real-time by a device such as a STB. The problem of this approach is that the synchronization achieved with the above technique has an accuracy of a few frames only because intrinsically lip-sync only guarantees a precision of a few frames. E.g. if a video frame fM′ from the video stream v′ is matched by audio fingerprints to a frame in the original video stream the result lies only in a range of a few frames to the actually corresponding video frame fM.
The method carried out by an embodiment of the present invention is illustrated in a block diagram shown in FIG. 4. The coarse frame synchronization uses state-of-the-art real time synchronization techniques based on audio-fingerprints. The content owner sends the original video v to the broadcast chain as it is indicated by arrow 401 reaching from the realm A of the content owner to the realm B of the broadcast chain. In addition to that, the content owner sends meta-data to a meta-data server 402 with frame numbers or time codes of images suitable for content insertion as well as coordinates of the image area appropriate for advertisement insertions inside the image. The content owner sends an audio fingerprint database for coarse frame synchronization to a server 403. The meta-data and the fingerprint data bases are globally referred to as ancillary data.
In an alternative embodiment the functionalities of servers 402 to 403 are integrated into a single server.
The TV receiver 217 and the servers 402 and 403 are communicatively connected by a broadband communication network 404 such as the Internet.
When the television receiver 217 receives a video stream v′ it determines if the currently played video offers opportunities to inlay advertisements by contacting the server 402 via a broadband connection and requests meta-data for the received video stream. The meta-data server 402 answers with meta-data required to carry out inlay operations: the frame numbers or time codes of images suitable for content inlay. Optionally, the server 402 also provides for each image in the identified image sequence, the coordinates of the inlay zone inside the image, geometrical distortion of the inlay zone, color map used, light setting etc. The TV receiver 217 contacts the server 403 and requests the audio-fingerprint database. In order to be able to insert the advertisement based on the received meta-data the television receiver 217 needs to synchronize the received video stream v′ with the time codes and/or frame numbers provided by the meta-data.
In the following the synchronization will be explained in greater detail with reference to FIG. 5. The broadcasted video stream v′ is symbolized as a band 501 composed of a sequence of video frames shown as sections 502 in the band 501. Similarly, the original video stream v is shown as a band 503 composed of a sequence of video frames shown as sections 504 in the band 503. Shot boundaries (SB) 505 and 506 are displayed as bold separation line between two consecutive video frames in either videos stream v and v′. A shot boundary in general marks the beginning of a camera shot. The term “shot” is defined a series of interrelated consecutive video frames taken contiguously by a single camera. Even though in FIG. 5 only one shot boundary is shown in each video stream v and v′ there may be many more of them. However, for the purpose of explaining the synchronization between the two videos streams v and v′ a single shot boundary is sufficient.
The TV receiver 217 detects the shot boundary (SB) 505 in the broadcasted video stream v′ utilizing known technologies, e.g. as published in [1] and identifies the first video frame f′M following the shot boundary 505. At this point the frame number of video frame f′M is not known. The TV receiver 217 calculates the audio-fingerprint of a sequence of video frames f′i including the video frame f′M and looks for a matching audio-fingerprint in the audio-fingerprint database received from server 403. Let us assume that the matching audio-fingerprint from the database is associated with video frame fk of the original video stream v. In this way a video frame fM (of the original video stream v) that corresponds to the video frame f′M (of the broadcasted video stream v′) lays within the short video sequence or interval I composed of 5 to 6 video frames, i.e.

f′MεI=[fk-error/2, fk+error/2]

This represents only a coarse synchronization between video streams v and v′ and has not yet satisfied the requirement of frame accuracy. Therefore, the TV receiver 217 looks for a shot boundary within this short video sequence, i.e. within the interval I. The TV receiver 217 identifies the shot boundary 506 and the first video frame after the shot boundary as video frame fM corresponding to the video frame f′M. This identification corresponds to a fine synchronization between the video streams v and v′ because now frame accurate matching of corresponding video frames is obtained.
In an embodiment of the suggested method the audio-fingerprints are determined from sequences of video frames from the first and the second video streams v, v′ having the same length. In other embodiments the length of the sequences can vary.
After having established the synchronization described above, the frame numbers of video frames fM and f′M, respectively, are known. The frame numbers of the video sequence Fj={fi, f1+p} where the targeted content shall be inserted are known as well from the meta-data provided by server 402. It is thus simple for the TV receiver 217 to identify the corresponding video sequence F′j={f′i, f′i+p} in the broadcasted video stream v′. In most cases the targeted content contains advertisements. However, the present invention is not limited to the insertion of advertisements.
According to an embodiment of the present invention the TV receiver 217 performs the advertisement insertion itself. For this purpose the TV receiver 217 requests from a server 405 (FIG. 4) the coordinates of the inlay zone where the advertisement is to be placed and the advertisement itself. The communication between the servers 402 to 405 and the TV receiver is effected by the broadband communication network 404. The creation of a composed image based on the video sequence Fj′ in which in the inlay zone the original image content is replaced by the advertisement is performed by the computing power of the TV receiver 217. The composed video frames are denominated as Fj′′.
Even though the information, what kind of advertisement is to be inserted, is optionally provided by external resources it is the TV receiver 217 which executes the insertion process.
In another embodiment of the present invention the TV receiver 217 sends the video frames Fj′ to the server 405 which performs the advertisement insertion into the video frames Fj′ and sends the composed video frames Fj′′ back to the TV receiver 217. The TV receiver 217 replaces the video frames Fj′ by the video frames Fj′′ in the video stream v′ for display.
In an alternative embodiment the insertion of the advertisement is performed in a cloud computer where the frames Fj′′ are optionally stored for later use. The composed frames Fj′′ are sent back to the TV receiver 217 where they replace corresponding frames Fj′.
FIG. 6 shows a schematic block diagram of TV receiver 217. The TV receiver receives the broadcast signals at input 601 symbolizing all different kinds of inputs for broadcast signals already described with reference to FIG. 2. The receiver 217 comprises a broadcast signal receiver 602 for receiving broadcast signals that receives and process broadcasts signals that are ultimately displayed on a screen. The TV receiver 217 also comprises a communication interface 603 enabling the TV receiver to communicate with the broadband network 404. The communication interface 603 enables the receiver 217 to request and to receive information about viewer behavior from an external data source such as a server. This server may be the server 405 or it may be a different server. Data that is necessary to execute the described method is stored in a memory 604, e.g. information about viewer behavior. A central processing unit (CPU) 605 controls all processes in the TV receiver. The components 602 to 605 are communicatively connected by a bi-directional bus 606.
Even though the components 602 to 605 are shown as separate components they can all or partially be integrated in a single component.
FIG. 7 shows a schematic flow diagram illustrating the method according to an embodiment of the present invention. In step 701 the first video stream v including its associated meta-data is provided for being transmitted. In step 702 the ancillary data comprising the meta-data, the fingerprint data bases for coarse synchronization associated with video stream v are stored on the servers 402, 403 as it is described with reference to FIG. 4. In step 703 the second video stream v′ is transmitted as it is explained in connection with FIG. 2. The TV receiver 217 receives the transmitted second video stream v′ in step 704 and executes the synchronization of the first and second video stream v, v′ in step 705.
According to another embodiment of the present invention in step 706 advertisements are inserted into the video frames predetermined by the meta-data forming part of the ancillary data.
As a result, frame accurate content insertion into transmitted video streams without relying on meta-data included in the video stream v′ is enabled. It is noted that the viewer can skip the so inserted advertisements only by skipping a part of the content of the watched program. For most viewers this is not an option and therefore the inserted advertisements will reach the targeted audience.
The methods described in the present disclosure are also applicable to smartphones, tablet computers or any other mobile communication device provided with a display and capable of receiving multicast video content, e.g. by using Multimedia Broadcast Multicast Services (MBMS). MBMS is a point-to-multipoint interface specification for existing and upcoming 3GPP cellular networks. A more advanced technology is Evolved Multimedia Broadcast Multicast Services (eMBMS) based on 4G cellular networks. Target applications include mobile TV and radio broadcasting.
Like in the broadcast chain, meta-data can get corrupted or lost in a multicast environment. Hence, the same problems that have been described in the context with broadcasted content need to be solved for inserting targeted content into a video stream which is transmitted as multicast content.
The mobile communication device receives multimedia content via a cellular network and contacts via a communication network such as the Internet the servers 402, 403 to receive ancillary data to perform a frame accurate synchronization of the original video stream and the multicast video stream. In addition to that, the mobile communication device contacts via the communication network 404 also the server 405 for receiving targeted content to be inserted into the multi-casted video stream. The insertion is performed on the level of the mobile communication device. Alternatively, the mobile communication device contacts the server 405 to receive replacement frame Fj′′ to replace the frames Fj′ in the transmitted video stream.
Thus, for example, it will be appreciated by those skilled in the art that the block diagrams presented herein represent conceptual views of illustrative system components and/or circuitry embodying the principles of the invention. Similarly, it will be appreciated that any flow charts, flow diagrams, and the like represent various processes which may be substantially represented in computer readable storage media and so executed by a computer or processor, whether or not such computer or processor is explicitly shown.










Reference Signs List


















101
TV screen



102
image



103
textbox



201
film strip



202
satellite uplink antenna



203
satellite



204
cable network



206
terrestrial broadcast antenna



207-212
processing steps



213
satellite dish antenna



214
cable network access



216
terrestrial reception antenna



217
set-top box



301
railing



302
post



303
rail



304
field



401
send original video v



402
meta-data server



403
server for coarse




synchronization fingerprint data



404
broadband network



405
server for coordinates and




advertisement



407
broadband communication




network



501, 503
video streams v′, v



502, 504
video frames



505, 506
shot boundaries



601
broadcast input



602
broadcast signal receiver




(BRDC)



603
communication interface




(COM)



604
memory (M)



605
CPU



606
bus



701-706
processing steps



A
realm of content owner



B
realm of broadcast chain



C
realm of viewer










NON-PATENT LITERATURE


    [1] “Shot-boundary detection: unraveled and resolved?”, Circuits and Systems for Video Technology, IEEE Transactions on (Volume:12, Issue: 2)

## Claims

1. Method for matching a corresponding video frame in a first and a second multimedia streams containing multimedia data, wherein the multimedia data include at least a video stream and an audio stream, wherein the first multimedia stream is provided with meta-data, and wherein the method comprises:
receiving the second multimedia stream;
receiving the meta-data and audio-fingerprints of the first multimedia stream;
detecting a video shot boundary in the second multimedia stream and a first video frame following the video shot boundary in the second multimedia stream;
determining the audio-fingerprint of a sequence of video frames including the video shot boundary and the first video frame after the video shot boundary has been detected in the second multimedia stream;
matching the determined audio-fingerprint with an audio-fingerprint of the first multimedia stream, wherein the audio-finger print matching is used to determine coarse synchronization of a sequence of corresponding video frames in the first and the second multimedia streams, the coarse synchronization does not satisfy frame accurate synchronization of the corresponding video frame;
determining a video sequence in the first multimedia stream corresponding to the matching audio-fingerprint to provide the coarse synchronization;
detecting a video shot boundary in the video sequence in the first multimedia stream; and
identifying a second video frame following the video shot boundary in the video sequence, wherein the second video frame matches with the first video frame to provide the frame accurate synchronization of the corresponding video frame.

2. Method according to claim 1, wherein the method further comprises inserting content into the second multimedia stream.

3. Method according to claim 2, wherein the method further comprises requesting content from a server before inserting the content into the second multimedia stream.

4. Method according to claim 3, wherein the method further comprises
storing information about user behavior; and
inserting content which is aligned with the information about user behavior.

5. Method according to claim 2, wherein inserting content comprises replacing at least a portion of the second multimedia stream by other content.

6. Method according to claim 2, wherein inserting content comprises replacing a plurality of video frames as a whole by other video frames.

7. Method according to claim 2, inserting the content is executed on a server and/or on a cloud computer.

8. Apparatus for matching a corresponding video frame in a first and a second multimedia streams comprising
a broadcast signal receiver configured to receive the first multimedia stream transmitted with meta-data and audio-fingerprints of the first multimedia stream, wherein the received transmitted first multimedia stream at the receiver being a second multimedia stream; and
a processor configured to detect a video shot boundary in the second multimedia stream and a first video frame following the video shot boundary in the second multimedia stream;
to determine the audio-fingerprint of a sequence of frames including the shot boundary and the first video frame after the shot boundary has been detected in the second multimedia stream;
to match the determined audio-fingerprint with an audio-fingerprint of the first multimedia stream, wherein the audio-finger print matching is used to determine coarse synchronization of a sequence of corresponding video frames in the first and the second multimedia streams, the coarse synchronization does not satisfy frame accurate synchronization of the corresponding video frame;
to determine a video sequence in the first multimedia stream corresponding to the matching audio-fingerprint to provide the coarse synchronization;
to detect a video shot boundary in the video sequence in the first multimedia stream; and
to identify a second video frame following the video shot boundary in the video sequence, wherein the second video frame matches with the first video frame to provide the frame accurate synchronization of the corresponding video frame.

9. Apparatus according to claim 8, wherein the processor is adapted to accumulate information about viewer behavior.

10. Apparatus according to claim 8, wherein the apparatus is equipped with communication interface adapted to request and to receive information about viewer behavior from an external source.

11. Apparatus according to claim 9, wherein the apparatus is equipped with communication interface adapted to request and to receive information about viewer behavior from an external source.

12. Apparatus according to claim 9, wherein the apparatus includes a memory for storing the accumulated and/or received information about viewer behavior.

13. Apparatus according to claim 10, wherein the apparatus includes a memory for storing the accumulated and/or received information about viewer behavior.

14. Apparatus according to claim 9, wherein the apparatus includes a memory for storing information about a plurality of viewers.

15. Apparatus according to claim 10, wherein the apparatus includes a memory for storing information about a plurality of viewers.

16. A computer program product stored in non-transitory computer-readable storage media for matching a corresponding frame in a first and a second multimedia streams containing multimedia data, wherein the multimedia data include at least a video stream and an audio stream, wherein the first multimedia stream is provided with meta-data, comprising computer-executable instructions for a television receiver, wherein the instructions comprising:
receiving the second multimedia stream;
receiving the meta-data and audio-fingerprints of the first multimedia stream;
detecting a video shot boundary in the second multimedia stream and a first video frame following the video shot boundary in the second multimedia stream;
determining the audio-fingerprint of a sequence of video frames including the video shot boundary and the first video frame after the video shot boundary has been detected in the second multimedia stream;
matching the determined audio-fingerprint with an audio-fingerprint of the first multimedia stream, wherein the audio-finger print matching is used to determine coarse synchronization of a sequence of corresponding video frames in the first and the second multimedia streams, the coarse synchronization does not satisfy frame accurate synchronization of the corresponding video frame;
determining a video sequence in the first multimedia stream corresponding to the matching audio-fingerprint to provide the coarse synchronization;
detecting a video shot boundary in the video sequence in the first multimedia stream; and
identifying a second video frame following the video shot boundary in the video sequence, wherein the second video frame matches with the first video frame to provide the frame accurate synchronization of the corresponding video frame.