HUB
Sign inSign up

docker5gmedia/vtranscoder-test

By docker5gmedia

•Updated over 7 years ago

Image
0

1.1K

docker5gmedia/vtranscoder-test repository overview

This docker image calls the Transcoding Simulator file with parameters.

Use the -e, --env, and --env-file flags to set simple (non-array) environment variables in the container you’re running, or overwrite variables that are defined in the Dockerfile of the image you’re running.

You can define the variable and its value when running the container:

docker run -e autonomous=1 -e transcoder_ip=x.x.x.x -e transcoder_config_message_port=18092 -e transcoder_data_input_port=18091 -e transcoder_data_output_port=18090 -e frames_to_send=50 -e experiment_timeout=60 -e transcoding_quality=1 -e sending_fps=11 -e texture=0 docker5gmedia/vtranscoder-test:latest

You can also load the environment variables from a file (e.g env.list). This file should use the syntax =value (which sets the variable to the given value)

nano env.list
autonomous=1
transcoder_ip=x.x.x.x
transcoder_data_output_port=18090
transcoder_data_input_port=18091
transcoder_config_message_port=18092
file=Kiki_960_540_Draco_Jpeg_50.pay
frames_to_send=50
experiment_timeout=60
transcoding_quality=1
sending_fps=11
texture=0

Usage:

docker run --env-file env.list docker5gmedia/vtranscoder-test:latest 

The original README file of Transcoding Simulator

***********************************    
****** Transcoding Simulator ******
***********************************

A live transcoder testing tool.

@author Alexandros Doumanoglou
@author Petros Drakoulis

Usage: ./simulator2 -a <autonomous_mode> -i <transcoder_ip> -c <transcoder_config_message_port> -s <transcoder_data_input_port> -r <transcoder_data_output_port> -f <pay_file_path> -n <frames_to_send> -t <experiment_timeout> -q <transcoding_quality> -p <sending_fps> -x <textures_codec>

-a (required): Autonomous mode Off-On. Off: 0 , On: 1. If autonomous is On, it sends a configuration message to the transcoder upon connection. Else, -c -q -x options are being ignored and the controller tool GUI should be used instead to parametrize the transcoder
-i (required): Transcoder's IP
-c (optional): Transcoder's configuration message port (default = 18092)
-s (optional): Transcoder's data input port (default = 18091) - simulator sends data to this port
-r (optional): Transcoder's data output port (default = 18090) - simulator receives data from this port
-f (required): Local path of a pay file
-n (optional): Number of frames to send (default = 50)
-t (optional): Experiment timeout. If the experiment has not been completed in t seconds it fails (default = 60)
-q (optional): Transcoding quality. Very Low: 0 , Low: 1 , Mid: 2 , High: 3 , Very High: 4 (default = 2)
-p (optional): Sending fps (default = 11)
-x (optional): Textures Codec. Jpeg CPU: 0 , Jpeg GPU: 1 , Video GPU: 2 (default = 0)

Example: ./simulator2 -a 1 -i 195.251.117.116 -c 18092 -s 18091 -r 18090 -f ./path/to/_SpaceWars_Player1_Reconstruction_1.pay -n 100 -t 120 -q 4 -p 15 -x 2
Example: ./simulator2 -a 1 -i 195.251.117.116 -f ./path/to/_SpaceWars_Player1_Reconstruction_1.pay

Tag summary

Content type

Image

Digest

Size

625 MB

Last updated

over 7 years ago

docker pull docker5gmedia/vtranscoder-test