Presentation is loading. Please wait.

Presentation is loading. Please wait.

Adaptive Content-Aware Scaling for Improved Video Streaming. Avanish Tripathi Mark Claypool Presented by: Huahui Wu Worcester Polytechnic Institute

Similar presentations


Presentation on theme: "Adaptive Content-Aware Scaling for Improved Video Streaming. Avanish Tripathi Mark Claypool Presented by: Huahui Wu Worcester Polytechnic Institute"— Presentation transcript:

1 Adaptive Content-Aware Scaling for Improved Video Streaming. Avanish Tripathi Mark Claypool Presented by: Huahui Wu Worcester Polytechnic Institute http://www.cs.wpi.edu/~claypool

2 Motivation Internet is more useful with Multimedia TCP is the de facto standard… but  It is not ideal for multimedia UDP can send with constant bit rate  It doesn’t have congestion control Other network protocols e.g. TFRC, RAP  Ideal-rate based with smooth rates  But the sender treats all the data same.

3 Motivation Random packet drop by routers during congestion decreases quality Application know best data to send for a given rate Need application level solution…

4 …Media Scaling Need media scaling: Application level data- rate reduction Scaling types: Temporal scaling Quality scaling Best scaling type depends on motion “Content of the stream should influence the choice of scaling mechanism” To the best of our knowledge this idea has not yet been completely evaluated

5 Methodology: Content-Aware Scaling Develop and verify motion measurement mechanism Define temporal and quality scaling levels Evaluate the potential impact of content-aware scaling (User Study 1) Build system to do content-aware scaling adaptively Evaluate the practical impact of the full system (User Study 2)

6 Motion Measurement MPEG has three kinds of frames I- Intra encoding P- Predictive encoding B- Bi-directional predictive encoding Subdivided into Macroblocks Intra macroblocks Predictive macroblocks Interpolated macroblocks More when adjacent frames are similar

7 Motion Measurement Our hypothesis High percent of interpolated macroblocks means low motion Low percent of interpolated macroblocks means high motion Conducted a pilot study to test our hypothesis 18 Video clips, one scene each (5~10s) Visually divide frame into 16 sub-blocks Manually count number of blocks that have motion Correlate with percent of Interpolated macroblocks.

8 Pilot Study Result: Motion Measurement

9 Methodology: Content-Aware Scaling Develop and verify motion measurement mechanism Define temporal and quality scaling levels Evaluate the potential impact of content- aware scaling (User Study 1) Build system to do content-aware scaling adaptively Evaluate the practical impact of the full system (User Study 2)

10 Filtering Extend a system developed at Lancaster university  Frame dropping filter (Temporal Scaling)  Requantization filter (Quality Scaling) Scale level table 1 TypeLevelMethodFpsBwidth(%) NoneN/A 30100 Temporal1No B1370 Temporal2No P or B511 Quality1Q = 73065 Quality2Q = 313010

11 Methodology: Content-Aware Scaling Develop and verify motion measurement mechanism Define temporal and quality scaling levels Evaluate the potential impact of content- aware scaling (User Study 1) Build system to do content-aware scaling adaptively Evaluate the practical impact of the full system (User Study 2)

12 User Study 1 22 graduate and undergraduate students in the department Platform: 3 Pentium III machines with 128MB RAM running Linux Clips were on local hard drives Eighteen clips, 10 second each Some high motion, some low motion Five versions of each clip: Perfect, Temporal Level 1, Temporal Level 2, Quality Level 1, Quality Level 2

13 User Study 1 Users rated the clips with numbers from 0 - 100

14 Results Four men sitting at a bar  Low Motion ( 70% interpolated macroblocks)

15 Results A man on horseback tries to rope a bull  High Motion (27% interpolated macroblocks)

16 Results Temporal scaling is better for low motion Since the frame changes a little, not all the frames are important. Quality scaling is better for high motion Since the frame changes frequently, user need every frame to catch the motion. Will a video keep low motion or high motion? No!

17 Methodology: Content-Aware Scaling Develop and verify motion measurement mechanism Define temporal and quality scaling levels Evaluate the potential impact of content- aware scaling (User Study 1) Build system to do adaptive content-aware scaling Evaluate the practical impact of the full system (User Study 2)

18 Full System Architecture MPEG Server Input Motion Measurement High Low Temporal Filter Quality Filter Internet Feedback Generator Client

19 System Functionality Server is capable of classifying motion as the movie plays The system is adaptive and scales movies in real-time depending on the loss pattern as received from the feedback module Two more scale levels for finer granularity

20 Methodology: Content-Aware Scaling Develop and verify motion measurement mechanism Define temporal and quality scaling levels Evaluate the potential impact of content- aware scaling (User Study 1) Build system to do content-aware scaling adaptively Evaluate the practical impact of the full system (User Study 2)

21 User Study 2 Four clips (2 or more scenes) ~30 seconds Four versions of each video clip Perfect Quality Temporal scaling only Quality scaling only Adaptive scaling Bandwidth distribution functions: how often the rate changes Every 3 seconds (slow) Every 200ms(frequently)

22 Result Talk show followed by a car commercial Low motion to High motion Bandwidth changes every 3 seconds

23 Conclusions Build application level solution to the problem of congestion due to unresponsive video streams Developed a mechanism to classify the motion in a video stream Shown that content aware scaling can improve user perceived quality by as much as 30% Developed a system to do adaptive content- aware scaling and proved it with user study

24 Future Work More accurate bandwidth distribution function to test our system in the real world. More scaling level to get smoother data rate. Hybrid scaling methods (Quality + Temporal) Audio Scaling

25 Adaptive Content-Aware Scaling for Improved Video Streaming. Avanish Tripathi Mark Claypool Presented by: Huahui Wu Worcester Polytechnic Institute http://www.cs.wpi.edu/~claypool


Download ppt "Adaptive Content-Aware Scaling for Improved Video Streaming. Avanish Tripathi Mark Claypool Presented by: Huahui Wu Worcester Polytechnic Institute"

Similar presentations


Ads by Google