GithubHelp home page GithubHelp logo

chalmers-revere / rec2csv-png Goto Github PK

View Code? Open in Web Editor NEW
0.0 4.0 0.0 309 KB

Tool to extract messages as .csv and h264/VP8/VP9 frames as separate .png files from a .rec file from OpenDLV

License: GNU General Public License v3.0

CMake 1.67% C++ 97.85% Dockerfile 0.31% Shell 0.17%
libcluon openh264 amd64 robotics video decoding-images png decoding opendlv cpp14

rec2csv-png's Introduction

Moved to https://git.opendlv.org.

OpenDLV Microservice to convert a .rec file from OpenDLV into .csv and .png for h264 video frames

This repository provides source code to convert a .rec file from OpenDLV into .csv for the contained messages and .png for the contained h264 video frames for the OpenDLV software ecosystem.

License: GPLv3

OpenH264 Video Codec provided by Cisco Systems, Inc.

During the Docker-ized build process for this microservice, Cisco's binary library is downloaded from Cisco's webserver and installed on the user's computer due to legal implications arising from the patents around the AVC/h264 format.

End user's notice according to AVC/H.264 Patent Portfolio License Conditions: When you are using this software and build scripts from this repository, you are agreeing to and obeying the terms under which Cisco is making the binary library available.

Table of Contents

Dependencies

You need a C++14-compliant compiler to compile this project.

The following dependency is part of the source distribution:

The following dependencies are will be downloaded and installed during the Docker-ized build:

Building and Usage

Due to legal implications arising from the patents around the AVC/h264 format, we cannot provide and distribute pre-built Docker images. Therefore, we provide the build instructions in a Dockerfile that can be easily integrated in a docker-compose.yml file.

To run this microservice using docker-compose, you can use the following docker-compose.yml file to let Docker build this software for you:

version: '2'
services:
    rec2csv_png:
        build:
            context: https://github.com/chalmers-revere/rec2csv-png.git
            dockerfile: Dockerfile.amd64
        restart: on-failure
        volumes:
        - .:/opt/data
        working_dir: /opt/data
        command: "--rec=YourRecording.rec --odvd=YourMessageSpec.odvd"

When you built your Docker image named transcoder, you can also call it as follows:

docker run --rm -ti --init -v $PWD:/opt/data -w /opt/data transcoder --rec=YourRecording.rec --odvd=YourMessageSpec.odvd

The current folder . is shared into the Docker container to access the recording file YourRecording.rec and the message specification file YourMessageSpec.odvd.

License

  • This project is released under the terms of the GNU GPLv3 License

rec2csv-png's People

Contributors

chrberger avatar fannygu avatar

Watchers

 avatar  avatar  avatar  avatar

rec2csv-png'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.