Giter Club home page Giter Club logo

video-memory-analysis-environment's Introduction

Memory Analysis Environment for HEVC and VVC Test Models

A Docker container to perform memory analyses on an isolated environment.

Instructions

Prerequisites

The only tools needed to run this container is docker-compose and git.

Running the container

First you need to clone the repository to your local machine

$ git clone https://github.com/arthurcerveira/Video-Memory-Analysis-Environment.git

Then you'll need to create a directory video_sequences to store the videos(.yuv).

$ cd Video-Memory-Analysis-Environment
$ mkdir video_sequences

To build the container and start the analysis you need to run the following commands

$ docker-compose build
$ docker-compose run -d --name running-mem mem-analysis

Once the execution is over, the results will be available in the Custom-Simulator directory on the host machine and the container can be removed.

$ docker rm running-mem

Settings

The settings used for the analysis can be found in Custom-Simulator/custom_simulator.py.

The default values are:

# Routines
AUTOMATE_TRACE = True
GENERATE_TRACE_GRAPH = False
GENERATE_BLOCK_GRAPH = False

AUTOMATE_VTUNE = False
GENERATE_VTUNE_GRAPH = False

# Trace Reader
AUTOMATE_TRACE_OUTPUT = "automate_trace_output.txt"

# Vtune Reader
AUTOMATE_VTUNE_OUTPUT = "automate_vtune_output.txt"

# Encoder Paths
HM = "../hm-videomem/"
VTM = "../vtm-mem/"

HEVC = True
VVC = True

CONFIG = {"HEVC": {"Low Delay": HM + "cfg/encoder_lowdelay_main.cfg",
                   "Random Access": HM + "cfg/encoder_randomaccess_main.cfg"},
          "VVC": {"Low Delay": VTM + "cfg/encoder_lowdelay_vtm.cfg",
                  "Random Access": VTM + "cfg/encoder_randomaccess_vtm.cfg"}}
VIDEO_CFG_PATH = {"HEVC": HM + "cfg/per-sequence/",
                  "VVC": VTM + "cfg/per-sequence/"}

VIDEO_SEQUENCES_PATH = "../video_sequences"

# Parameters
FRAMES = '17'
SEARCH_RANGE = ['96']

Running the image on DockerHub

The image on DockerHub uses the default settings and the video sequence BQSquare.

$ docker container run arthurcerveira/video-memory-analysis:1.0

Results

Example of results achieved by this container are available in this repository.

video-memory-analysis-environment's People

Contributors

arthurcerveira avatar

Stargazers

 avatar

Watchers

 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.