Skip to content
forked from dropbox/avrecode

Lossless video compression: decode an H.264-encoded video file and reversibly re-encode it as as a smaller file.

License

Notifications You must be signed in to change notification settings

pbluc/avrecode-ms

 
 

Repository files navigation

avrecode: lossless re-compression of compressed video streams

Linux Installation

Download the source:

git clone https://github.com/pbluc/avrecode-ms.git
cd avrecode-ms
git submodule update --init

Build and test:

sudo apt-get update
sudo apt-get install protobuf-compiler build-essential yasm pkg-config
cd ffmpeg
./configure
make
cd ..
make
./recode roundtrip data/GOPR4542.MP4

Using the Tester

Runs compress-decompress roundtrip process on a valid test directory of only video format files.

./recode test ./recordings

Creates a subfolder called output which contains the following:

  1. the decompressed video files
  2. log.txt, a text file containing the command line output
  3. and metrics.csv, a CSV file containing metrics collected during runtime to measure performance

Warning

This is an experimental test bed for compression research: use on trusted inputs only This tool does not validate input.

License

avrecode is released under the BSD 3-clause license. See the LICENSE file for details. The required libavcodec-hooks patch to ffmpeg is licenced under the LGPL.

Contributing

avrecode was originally written by Chris Lesniewski during Dropbox Hack Week January 2016. It is a redesign of the first version written by Daniel Horn, Patrick Horn, Chris Lesniewski, and others during Dropbox Hack Week 2015. We welcome external contributions, but ask that contributors accept our Contributor License Agreement to grant us a license to distribute the code:

https://opensource.dropbox.com/cla/

About

Lossless video compression: decode an H.264-encoded video file and reversibly re-encode it as as a smaller file.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 98.5%
  • Other 1.5%