Git Product home page Git Product logo

evc-cr's Introduction

EVC-CR: An Enhanced Video Compression Framework with a Content-fitted Restoration Neural Network

Abstract

Our enhanced video compression framework called EVC-CR which combine a conventional codec and a content-fitted restoration neural network (CRNN). In an encoder, CRNN is trained online with the reconstructed frames from a conventional encoder as the input and the raw frames as the ground truth. The content-fitting is realized by training it only with a group of consecutive frames. The content-fitted parameters of CRNN are transmitted as a part of an encoded bitstream. In a decoder, with the transmitted parameters, an inference operation of CRNN is performed on the decoded frames to generate the final result.

framework

Results

The following figure shows the performance gain of combining the proposed EVC-CR with the existing codecs. Experimental results show that the compression performance can be greatly improved in terms of 5.891% - 24.413% BD-BR reduction, by integrating CRNN with VTM, HM, X265, X264, and the end-to-end DNN codec DVC.

performance

Dependencies and Installation

  • pytorch >= 1.0

Experiment Process

The experiment is divided into two processes, conventional encode and content-fitted restoration.

Conventional Encode

We tried five conventional codecs and an end-to-end deep video compression framework, including HM, x264, x265, NVENC, VTM, and DVC.

We provide a sequence BQTerrace including the original version and compressed version by HM to verify the effectiveness of our method. The data is available at Google Drive. You also can use your own data to verify it.

Content-fitted Restoration Neural Network

Testing the content-fitted sequence by the saved checkpoint:

python run.py -g 1 evaluate  -m CRNN -b 2 -c 16 -v BQTerrace_1920x1080_60 -q 37 --height 1080 --width 1920 --frame_num 500 --start_frame 0 --codec_mode RA --resume ./checkpoints/BQTerrace_1920x1080_60_QP37.pth

You also can encode and train the compressed video with the following command:

python run.py -g 1 train  -m CRNN -b 2 -c 16 -v BQTerrace_1920x1080_60 -q 37 --height 1080 --width 1920 --frame_num 500 --start_frame 0 --neighbor_frames 2 --max_epoch 200 --lr 0.001 --codec_mode RA

Contact

You can contact Lei Li by sending mail to [email protected]

evc-cr's People

Contributors

ipic-a208 avatar

Stargazers

frreason avatar Dongsheng Jiang avatar

Watchers

Dongsheng Jiang avatar  avatar

Forkers

frreason

evc-cr's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.