-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support for variables in aws pipeline (#75)
* feat: aws pipeline qvbr job * chore: npm aws s3 presigner package * feat: aws bucket generate presigned url * feat: qvbr ffprobe metadata upload * feat: read analysis data and bitrate * fix: set correct file extension for QVBR metadata * fix: metadata upload path * fix: choose correct bitrate file for pairing * fix: vmaf and metadata paths * chore: wip Signed-off-by: Gustav Grusell <[email protected]> * fix: export to csv from local files now works Signed-off-by: Gustav Grusell <[email protected]> * chore: add cli option for selecting concurrency mode Signed-off-by: Gustav Grusell <[email protected]> * chore: add cli option for skipping vmaf analysis Signed-off-by: Gustav Grusell <[email protected]> * feat: extract qvbr for csv export and combine * feat: separate vmaf model data output * chore: improve log format Signed-off-by: Gustav Grusell <[email protected]> * feat(export-csv): parse all variables from filename and include in csv Signed-off-by: Gustav Grusell <[email protected]> * feat: support for calculating statistics for a proposed bitrate ladder Also support for importing csv data into sqlite database Signed-off-by: Gustav Grusell <[email protected]> * fix: broken tests * chore: add eslint Signed-off-by: Gustav Grusell <[email protected]> * chore: fix lint errors Signed-off-by: Gustav Grusell <[email protected]> * feat: add support for setting acceleration mode when transcoding in AWS Signed-off-by: Gustav Grusell <[email protected]> * fix: include both targetBitrate and actualBitrate in csv output Signed-off-by: Gustav Grusell <[email protected]> * fix: illegal chars in tag values for ECS tasks are now replaced Signed-off-by: Gustav Grusell <[email protected]> * chore: fix linting problems Signed-off-by: Gustav Grusell <[email protected]> * chore: npm audit fix Signed-off-by: Gustav Grusell <[email protected]> * fix: remove functionality for exporting to db and print ladder while this functionality may be useful, it would be better suited for an external tool to avoid bloating autovmaf Signed-off-by: Gustav Grusell <[email protected]> * fix: fix type error Signed-off-by: Gustav Grusell <[email protected]> * ci: update publish workflow to use node 18 Node 14 seemed to cause some build error 'Cannot find module '@aws-sdk/abort-controller' or its corresponding type declarations' Signed-off-by: Gustav Grusell <[email protected]> --------- Signed-off-by: Gustav Grusell <[email protected]> Co-authored-by: oshinongit <[email protected]>
- Loading branch information
1 parent
f858bc6
commit 28202d6
Showing
35 changed files
with
11,442 additions
and
4,310 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"root": true, | ||
"env": { | ||
"node": true, | ||
"browser": true | ||
}, | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"prettier" | ||
], | ||
"parser": "@typescript-eslint/parser", | ||
"plugins": ["@typescript-eslint", "prettier"], | ||
"rules": { | ||
"prettier/prettier": "error" | ||
}, | ||
"ignorePatterns": ["node_modules/*", "dist/*", "examples/*", "local-types/*"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ node_modules | |
coverage | ||
dist | ||
docs | ||
.idea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: job-name | ||
pipeline: pipeline.yml | ||
encodingProfile: encoding-profile-qvbr.json | ||
reference: reference.mp4 | ||
models: | ||
- HD | ||
resolutions: | ||
- width: 1920 | ||
height: 1080 | ||
bitrates: | ||
- 0 | ||
pipelineVariables: | ||
QVBR: | ||
- 6 | ||
- 7 | ||
- 8 | ||
- 9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
{ | ||
"Inputs": [ | ||
{ | ||
"TimecodeSource": "ZEROBASED", | ||
"VideoSelector": {}, | ||
"FileInput": "${INPUT}" | ||
} | ||
], | ||
"OutputGroups": [ | ||
{ | ||
"Name": "File Group", | ||
"OutputGroupSettings": { | ||
"Type": "FILE_GROUP_SETTINGS", | ||
"FileGroupSettings": { | ||
"Destination": "${OUTPUT}" | ||
} | ||
}, | ||
"Outputs": [ | ||
{ | ||
"VideoDescription": { | ||
"CodecSettings": { | ||
"Codec": "H_264", | ||
"H264Settings": { | ||
"RateControlMode": "QVBR", | ||
"QvbrSettings": { | ||
"QvbrQualityLevel": "${QVBR}" | ||
}, | ||
"CodecProfile": "HIGH" | ||
} | ||
}, | ||
"Width": "${WIDTH}", | ||
"Height": "${HEIGHT}" | ||
}, | ||
"ContainerSettings": { | ||
"Container": "MP4", | ||
"Mp4Settings": {} | ||
} | ||
} | ||
] | ||
} | ||
], | ||
"TimecodeConfig": { | ||
"Source": "ZEROBASED" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.