1.0.0 • Published 3 years ago

convene_perfomance_tool_breakout_player v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

Convene performance test tool for Session player

Usage

Installation

git clone git@bitbucket.org:convene_dev/virtual_performance_tool_session_player.git
cd virtual_perfomance_tool_session_player
npm i

Create Users csv file

Under resources there is a template which you can modify. The first column should be unique, otherwise you will override the child process and the main controller won't be able to handle it. The second column can be firefox or chromium. The third column needs to be defined but the value in this moment it's not being used. The next two columns needs to be true or false. The video_path column could be an absolute path to the video (y4m format) or default. The same thing for audio_path column but with a wav format.

Generate resources

  1. Download mp4 video
  2. Convert mp4 video to y4m
cd resources
ffmpeg -i input.mp4 -pix_fmt yuv420p output.y4m

Run

1. Set up the csv path

export CONVENE_AUTOMATION_FILE=/Users/davidorozco/dev/convene/convene_perfomance_tool_breakout_player/resources/users_data.csv

or

export CONVENE_AUTOMATION_FILE=$(pwd)/resources/users_data.csv

2. Run the script

npm run dev