Coder Social home page Coder Social logo

vuiseng9 / jm-hm-ubuntu Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 2.0 4.46 MB

Set up JM (AVC) and HM (HEVC) reference codes in Ubuntu

Makefile 0.46% HTML 0.01% C 59.26% Objective-C 2.33% C++ 36.16% Shell 0.63% TeX 1.17%
avc h264 hevc h265 jm hm codec reference-code ubuntu linux

jm-hm-ubuntu's Introduction

JM(AVC) / HM(HEVC) reference code in Ubuntu

Feb'19, vuiseng9

This repo intends to archive the process of setting up (1) H.264/AVC, JM ; (2) H.265/HEVC, HM reference software in linux environment.

Sources

  1. H.264/AVC JM 19.0 code has been downloaded from the author's official site
  2. H.265/HEVC HM revision 4995 - coming soon latest by this summer -

Validated Setup

Ubuntu 16.04.5 LTS

TO-DOs

  • Add HEVC HM
  • QTcreator project

Build

git clone https://github.com/vuiseng/jm-hm-ubuntu
cd jm-hm-ubuntu
./make.sh

Docker

# build image
cd docker; sudo docker build . -t jm-hm-ubuntu

# run container
cd docker; ./docker_run.sh

Run AVC Decode

# AVC decode
cd JM/bin/
./ldecod.exe -h
./ldecod.exe -f test_decoder.cfg

# Validate compressed and decompressed stream
### Play compressed stream in VLC
vlc --demux h264 test_kendo_mvc.264

### Play raw frames in VLC
vlc --demux rawvideo --rawvid-fps 30 --rawvid-height 768 --rawvid-width 1024 --rawvid-chroma I420 test_dec_ViewId0001.yuv

### To run VLC as root, in docker for example, 
### execute this line to replace geteuid to getppid in the vlc executable,
### you may run the vlc as usual after that. 
sed -i 's/geteuid/getppid/' /usr/bin/vlc

# Utility - check stream info
mediainfo test_kendo_mvc.264

jm-hm-ubuntu's People

Contributors

vuiseng9 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

sinferwu dgq2011

jm-hm-ubuntu'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.