-
Notifications
You must be signed in to change notification settings - Fork 1
/
MyCommand.txt
16 lines (14 loc) · 1.9 KB
/
MyCommand.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#sudo python -c 'import adaptation.commons ; adaptation.commons.ddo("inputVideo","outputFolder","videoID","listID",lowBitrate,midBitrate,highBitrate,GOP/Frame,targetHeight,numberOfDescription,"managerAddr","storageAddr","transcodingAddr")'
sudo python -c 'import adaptation.commons ; adaptation.commons.ddo("adaptation/mavideo.mp4","home/utilisateur/Documents/Projet/Resultats","11111","",50,1000,4500,51,480,3,"http://192.168.1.130:8081/api/manager/transco","http://192.168.1.130:8086/api/storage/transcoding","http://192.168.1.130:8086/api/transcoding/duration")'
# "adaptation/mavideo.mp4" corresponds to the original file which will be processed
# "home/utilisateur/Documents/Projet/Resultats" corresponds to the output folder where will be found the results of the processing
# "11111" corresponds to the video ID which is used to create the descriptions' zips
# "" Corresponds to the List ID which will be send to the manager
# 50 corrresponds to the low bitrate, 1000 to the medium bitrate and 4500 to the high bitrate
# All these bitrates will be used to encode the video in different qualities
# 51 corresponds to the changeFrameRate in the description creator, it means that we are working with frames/GOP (depending of the value), here it is GOP
# 480 corresponds to the frame height of the descriptions, it will be used to compute the video resolution
# 5 corresponds to the number of descriptions, this number is used by the creator of descriptions
# "http://192.168.1.130:8081/api/manager/transco" corresponds to the address of the manager, it will be informed at the end of the transcoding of a videos list with a post
# "http://192.168.1.130:8086/api/storage/transcoding" corresponds to the address of the storage, it will be informed at the end of the transcoding of a video with a post
# "http://192.168.1.130:8086/api/transcoding/duration" corresponds to the address of the transcoding, it will be informed of the video length