GithubHelp home page GithubHelp logo

dvc's Introduction

DVC: An End-to-end Deep Video Compression Framework

This repo holds the code for the paper:

DVC: An End-to-end Deep Video Compression Framework, Guo Lu, Wanli Ouyang, Dong Xu, Xiaoyun Zhang, Chunlei Cai, Zhiyong Gao, CVPR 2019 (Oral). [arXiv]

Update

Please check the PyTorch reimplmentation from my colleague.

2020-04-07: I upload the 4 pre-train models with different lambda values and you can use different lambda for rate control.

Test

Pretrain models

We provide the test code of our DVC framework. In our implementation, we use the learning based image compression algorithm (Ballé et al) as the intra compression. Specifically, for the video codec model with lambda=k, the image codec model with lambda=4k is used as the intra frames. For the image codec, please refer to GoogleCompression. And the pre-train models of our DVC are located in TestDemo/VideoCodec/model.

Entropy Coding

Currently, we do not provide the entropy coding module. The generated features from image/video codecs are saved to .pkl files. We give the estimated Bpp for these features. It is straightforward to compress these features by using traditional entropy coding tools, such as CABAC.

Video Compression

cd ./TestDemo/VideoCodec

Video Encoding,

python  Encoder.py --EncoderModel /path/to/encoder/model/frozen_model_E.pb  --input_frame /path/to/currentframe/im002.png --refer_frame  /path/to/previousframe/im001.png  	--output /output/feature/folder/

Video Decoding,

python Decoder.py --DecoderModel /path/to/decoder/model/frozen_model_D.pb  --refer_frame /path/to/previous/im001.png --loadpath  /path/to/feature/folder/

Experimental Results

Evaluation results on the UVG dataset and HEVC Class B (1080p) and Class E (720p). Please refer to our paper for more experimental results.

We also provide the scrips for generating all the RD curves of our paper in folder RDCurve.

Citation

If you find our paper useful, please cite:

@article{lu2018dvc,
  title={DVC: An End-to-end Deep Video Compression Framework},
  author={Lu, Guo and Ouyang, Wanli and Xu, Dong and Zhang, Xiaoyun and Cai, Chunlei and Gao, Zhiyong},
  journal={arXiv preprint arXiv:1812.00101},
  year={2018}
}

Contact

You can contact Guo Lu by sending mail to [email protected]

dvc's People

Contributors

fab-jul avatar guolusjtu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

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.