Top Banner
1 Yossi Cohen Video Transcodin g & Transratin g
15

Video transcoding transrating

Jan 15, 2015

Download

Technology

Yossi Cohen

Video Tanscoding and Transrating methods review and comparison
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Video transcoding transrating

1

Yossi Cohen

Video Transcoding & Transrating

Page 2: Video transcoding transrating

2

Overview

Full TranscodeOpen Loop transratersCoefficient Drop TransraterRe-quantization transrater

Closed loop transraterFPDT

Page 3: Video transcoding transrating

3

Full TranscoderFull transcoding does full encoding and

decoding of the video. Features include:Easy ImplementationUsually used for

format conversion such as MPEG2 Video->H264Video Resize and frame rate reduction

Highest CPU requirements

Page 4: Video transcoding transrating

4

Aided TranscoderFull decoding of the videoEncoding Video while re-using the decoded video

information including:Qp selectionMotion vectorsBlock size (8x8, 4x8 etc.) selection

MV, Qp

Page 5: Video transcoding transrating

5

Aided Transcoder Features

High CPU requirements Like Full transcoder, enables:

Resizing Change of Frame type (P->I, I->P) for sync point changing Smooth frame rate conversion Accurate (no drift) transcoding

Page 6: Video transcoding transrating

6

Open Loop Transcoders

Open loop transcoders are fast and simple transrater.

Open-loop – does not correct the drift error created by the transrating on next frames

Introduces drift error into the video – video quality seriously degrades as a function of the distance from last I frame.

Page 7: Video transcoding transrating

7

Coefficient Drop Transrater

Performs only Entropy Decoding/EncodingDrops some of the coefficients according to

psycho-visual models.Features

Fastest transraterPoorest video quality per bitrate Introduce drift

Page 8: Video transcoding transrating

8

Re-Quanitzation transraterPerforms Entropy decoding and de-

quantization followed by quantization with an Higher Qp (lowers quality & BR)

FeaturesFast TransraterPoor video quality per bitrate Introduce drift

Page 9: Video transcoding transrating

9

Closed loop transrater (FPDT)Performs Entropy decoding and de-

quantization followed by quantization with an Higher Qp (lowers quality & BR)

Adds quantization error from previous frame to next frame to avoid drift

Error Store

Page 10: Video transcoding transrating

10

Closed Loop Transrater - Features Faster then TranscodersNo driftQuality is transcoder grade per same bitrate

Page 11: Video transcoding transrating

11

Quality / CPU comparisonLine – Quality, Bar – CPU Cycles

Full T

ranscode

Aided T

ranscoder

FP

DT Re-

Qua

ntization

transrater

Coefficien

t D

rop

Page 12: Video transcoding transrating

12

Frame dropping overview

Frame dropping could improve KPI (5-10%) and reduce CPU load.

Smooth frame drop – convert to any fps, fixed deltaT between frames, frame interpolation. Very high CPU requirements

Regular frame drop – drop any frame introduce some jerkiness

Limited fps – cant drop any frame, introduce higher jerkiness

Page 13: Video transcoding transrating

13

Frame Dropping -2

Transcoders support both Regular frame drop

Transraters only supports limited fps frame drop

FPDT transrater might support regular frame drop at additional development time

Page 14: Video transcoding transrating

14

Frame Resize

Frame Resize could considerably lower bitrate.

CPU - Requires per pixel operations for resizing – higher CPU but lower encoded frame size which lowers CPU.

Transcoder could easily support resize – additional CPU requirements

FPDT could support resize but would cost considerable CPU and development time

Page 15: Video transcoding transrating

15

Thank you!

Video Expert

Lectures on Video / Android / VoIP

Android Native Developer

More About me:

Yossi CohenYossi [email protected]://www.mobilevideotech.com

+972-545-313092+972-545-313092