HEVC/H.265 Encoder – Bitrate Optimized Edition (Early Access Release)


ngcodec-logo-color

Application Summary

NGCodec's RealityCodec is a distribution broadcast-quality transcoder for H.265/HEVC, supporting ABR and running on both on-premises Alveo cards and in FPGA instances in the cloud.

  • If you should have additional questions and/or want to report an issue with your user experience, please send your inquiry to alveo_video_ea@xilinx.com
     
Vendor Modfied Size Container Version
 Xilinx June 16, 2020 1.64 GB hevc_u200_v1.3
July 1, 2020 1.64 GB hevc_u50_v1.3

Deployment Options

This application is containerized and can be easily run in a few minutes in the cloud, or on-premises.

Cloud Services
Nimbix U200
  • Xilinx Runtime: 2019.2
  • Target Platform: nx5u_xdma_201830_2
Nimbix U50
  • Xilinx Runtime: 2020.1
  • Target Platform: nx_u50_202010_a

Free Evaluation in 10 Minutes

1-start

1. Obtain Access Key

2-select

2. Setup Host (On-Premises)

3-instructions

3. Run the Application


 


Start Evaluation

Follow the instructions based on your deployment method.

Nimbix U200

1.

Obtain Evaluation Access Key

An access key "cred.json" may be obtained through the Xilinx Acceleration Application Store.


1.1 Login to the Xilinx Acceleration Application Store

  • Create and account if you do not already have one.
  • Order “Xilinx AppStore Free Eval Plan” 

1.2 Create Access Key and Download it as “cred.json” File


2.

Sign up for Nimbix Service

  • Go to Nimbix Cloud site to sign up for a free Alveo Trial: 

https://www.nimbix.net/alveotrial

  • Once the sign-up form has been submitted, you will will recieve an e-mail with instructions for setting up your Nimbix account.
  • Complete setting up your Nimbix account for the free trial.

3.

Application Execution


3.1 Select the Application on the Nimbix Platform

Sign-in to the Nimbix Platform:

https://platform.jarvice.com/?page=compute&name=HEVC%20DRM%20U200

  • Upload the cred.json you got from Accelize to Nimbix.
    • See here for instructions to upload/download files on Nimbix.

  • Click on “Desktop Mode” button in the lower left of the pop-up window for an interactive shell.
    • "Desktop Mode” is to explore HEVC using an interactive shell. 
    • Go to step 3.2.1 for the next step.

  • Click on “Single Command” button in the lower left of the pop-up window.
    • Single Command” for a quick demo & visual inspection using a sample 1080p input file.
    • Note that because each command you run this way can run on a different fpga, this may lead to drm issues. If you are going to run multiple commands back to back, we recommend using “Desktop Mode."
    • Go to step 3.2.2 for the next step.

3.2 Run the Application

You can either run a single command or launch an interactive shell where you can run many commands.


3.2.1 Run in 'Desktop Mode'

Use the following parameters and click on "Submit” button.

Machine:

  • Machine Type: nx5u_xdma_201830_2
  • Cores: 16

Click on submit & launch via vnc or ssh (note that initializing the instance can take some time) 

To connect via vnc, click on the desktop preview

To connect via ssh, ssh nimbix@[address provided] and use the password provided.

 


Open a terminal and cd drmapp/


Copy the previously generated cred.json to the current directory. You can use the below methods.


Unlock the fpga by typing ./drmapp.exe


Now open a second terminal and you can run ffmpeg commands. 
Sample scripts are located in /home/nimbix/scripts/ 

If an argument is not specified, the scripts will use /samples/in.mp4 by default.

Transfer the video back and play it. ( https://support.nimbix.net/hc/en-us/articles/208083526-How-do-I-transfer-files-to-and-from-JARVICE- )


3.2.2 Run 'Single Command'

Use the following parameters and click on "Submit” button.

Machine:

  • Machine Type: nx5u_xdma_201830_2
  • Cores: 16

Parameters:

  • Access Key: Select the "cred.json" file downloaded earlier on your computer.
  •  FFMPEG arguments:
    -y -i /samples/in.mp4 -c:v NGC265 -b:v 1000K -vf fps=60 -f rawvideo /data/out.265 

4.

Results

Once your job is complete, an “out.265” HEVC encoded sample will be available on the Nimbix FTP.  You can download it and use your video player software to display it.

You can now use your own input video file by:

  • Uploading it on Nimbix FTP
  • Replacing “-i /samples/in.mp4” with “-i /data/{YourFileName}” in the FFMPEG arguments
Nimbix U50

1.

Obtain Evaluation Access Key

An access key "cred.json" may be obtained through the Xilinx Acceleration Application Store.


1.1 Login to the Xilinx Acceleration Application Store

  • Create and account if you do not already have one.
  • Order “Xilinx AppStore Free Eval Plan” 

1.2 Create Access Key and Download it as “cred.json” File


2.

Sign up for Nimbix Service

  • Go to Nimbix Cloud site to sign up for a free Alveo Trial: 

https://www.nimbix.net/alveotrial

  • Once the sign-up form has been submitted, you will will recieve an e-mail with instructions for setting up your Nimbix account.
  • Complete setting up your Nimbix account for the free trial.

3.

Application Execution


3.1 Select the Application on the Nimbix Platform

Sign-in to the Nimbix Platform:

https://platform.jarvice.com/?page=compute&name=HEVC%20DRM%20U50

  • Upload the cred.json you got from Accelize to Nimbix.
    • See here for instructions to upload/download files on Nimbix.

  • Click on the "HEVC DRM U50" application tile. 
  • Click on “Desktop Mode” button in the lower left of the pop-up window for an interactive shell.
    • "Desktop Mode” is to explore HEVC using an interactive shell.
    • Go to step 3.2.1 for the next step.

  • Click on “Single Command” button in the lower left of the pop-up window.
    • Single Command” for a quick demo & visual inspection using a sample 1080p input file.
    • Note that because each command you run this way can run on a different fpga, this may lead to drm issues. If you are going to run multiple commands back to back, we recommend using “Desktop Mode."
    • Go to step 3.2.2 for the next step.

3.2 Run the Application

You can either run a single command or launch an interactive shell where you can run many commands.


3.2.1 Run in 'Desktop Mode'

Use the following parameters and click on "Submit” button.

Machine:

  • Machine Type: nx_u50_202010_a
  • Cores: 16

Click on submit & launch via vnc or ssh (note that initializing the instance can take some time) 

To connect via vnc, click on the desktop preview

To connect via ssh, ssh nimbix@[address provided] and use the password provided.


Open a terminal and cd drmapp/


Copy the previously generated cred.json to the current directory. You can use the below methods.


Unlock the fpga by typing ./drmapp.exe


Now open a second terminal and you can run ffmpeg commands. 
Sample scripts are located in /home/nimbix/scripts/ 

If an argument is not specified, the scripts will use /samples/in.mp4 by default.


3.2.2 Run 'Single Command'

Use the following parameters and click on "Submit” button.

Machine:

  • Machine Type: nx_u50_202010_a
  • Cores: 16

Parameters:

  • Access Key: Select the "cred.json" file downloaded earlier on your computer.
  •  FFMPEG arguments:
    -y -i /samples/in.mp4 -c:v NGC265 -b:v 1000K -vf fps=60 -f rawvideo /data/out.265

4.

Results

Once your job is complete, an “out.265” HEVC encoded sample will be available on the Nimbix FTP.  You can download it and use your video player software to display it.

You can now use your own input video file by:

  • Uploading it on Nimbix FTP
  • Replacing “-i /samples/in.mp4” with “-i /data/{YourFileName}” in the FFMPEG arguments