Video-in-Video Insertion into a Pre-encoded Bit-stream CSE 2010 Video-in-Video Insertion into a Pre-encoded Bit-stream Students: Udi Levi Miki Degtyar Instructors: Dr. Ofer Hadar Mr. Maoz Loants
Outline Concept Goal System Design Encoder 1 Encoder 2 Results Future Work
Concept More videos are being stored and broadcast in compressed format
Concept Video insertion is a highly developing field Personalized contents is the new interest of television companies
Goal The goal of this research project is to develop an efficient system for visual data insertion in the compressed domain (e.g. insert a video sequence into a predefined location of pre-encoded video stream) that will achieve considerable performance gain over brute force approaches (in the pixel domain).
System Design
Encoder 1
Encoder 1 Is responsible of preparing the main film for the secondary film insertion i.e. making sure that the area of insertion won’t be affected by parameters from the main film and vice versa. Motion Vector Suppression Intra 16x16 Luma Prediction Intra 4x4 Luma Prediction Intra 8x8 Chroma Prediction Disable SKIP mode
Encoder 1 Motion Vector Suppression
Encoder 1 Intra 16x16 Luma Prediction
Encoder 1 Intra 4x4 Luma Prediction
Encoder 1 Intra 8x8 Chroma Prediction
Encoder 1 Disable SKIP mode For skipped macroblocks a 16x16 vector MVp is generated of the motion vectors for partitions A,B and C.
Encoder 2
Encoder 2 Is responsible of preparing the secondary film for insertion into the main film i.e. taking care of all the parameters that might be affected from the main film. Motion Vector Suppression Intra 16x16 Luma Prediction Intra 8x8 Chroma Prediction MB[0] in the first frame of every GOP is IPCM Disable predictive coding Disable SKIP mode
Encoder 2 Motion Vector Suppression In some cases, the best match for a macroblock may be a 16x16 region that extends outside the boundaries of the reference VOP (video object plane).
Encoder 2 Intra 16x16 Luma Prediction MB[0] in the first frame of every GOP is IPCM
Encoder 2 Intra 8x8 Chroma Prediction MB[0] in the first frame of every GOP is IPCM
Encoder 2 Disable predictive coding Disable predictive coding of Intra modes in 4x4 blocks mode on first row and first column. For each current block E, the encoder and decoder calculate the most probable prediction mode, the minimum of the prediction modes of A and B. ? 5 Min( A , B) <= E Predict flag = ‘1’ 2 2
Encoder 2 Disable SKIP mode For skipped macroblocks a 16x16 vector MVp is generated of the motion vectors for partitions A,B and C.
Results We have tested encoder 1 and Encoder 2 with 2 types of films. Film A has a low bit-rate, and film B has a high bit-rate. Encoder 1 encodes both films with an increase of 2.5% in bit-rate, and encoder 2 encodes both films with an increase of 3.5% in bit-rate. Both encoders meet the requirements of maximum 10% deviation. K-bit’s K-bit’s
Future Work Tasks to be completed in this project. Inserter Main profile
Thank you !