Add transcoding profile debug plugin
This commit is contained in:
96
peertube-plugin-transcoding-profile-debug/README.md
Normal file
96
peertube-plugin-transcoding-profile-debug/README.md
Normal file
@ -0,0 +1,96 @@
|
||||
# Debug PeerTube transcoding profiles
|
||||
|
||||
Allow admins to create custom transcoding profiles using the plugin settings.
|
||||
|
||||
## Settings format
|
||||
|
||||
### Profiles
|
||||
|
||||
**Don't forget the double quotes for fields and values**
|
||||
|
||||
```
|
||||
{
|
||||
"vod": [
|
||||
{
|
||||
"encoderName": string,
|
||||
"profileName": string,
|
||||
"outputOptions": string[]
|
||||
}
|
||||
]
|
||||
|
||||
"live": [
|
||||
{
|
||||
"encoderName": string,
|
||||
"profileName": string,
|
||||
"outputOptions": string[]
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
For example:
|
||||
|
||||
```
|
||||
{
|
||||
"vod": [
|
||||
{
|
||||
"encoderName": "libopus",
|
||||
"profileName": "test",
|
||||
"outputOptions": []
|
||||
},
|
||||
{
|
||||
"encoderName": "libvpx-vp9",
|
||||
"profileName": "test",
|
||||
"outputOptions": []
|
||||
}
|
||||
],
|
||||
|
||||
"live": []
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
### Encoders priorities
|
||||
|
||||
**Don't forget the double quotes for fields and values**
|
||||
|
||||
```
|
||||
{
|
||||
"vod": [
|
||||
{
|
||||
"encoderName": string,
|
||||
"streamType": 'audio' | 'video',
|
||||
"priority": number
|
||||
}
|
||||
]
|
||||
|
||||
"live": [
|
||||
{
|
||||
"encoderName": string,
|
||||
"streamType": 'audio' | 'video',
|
||||
"priority": number
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
For example:
|
||||
|
||||
```
|
||||
{
|
||||
"vod": [
|
||||
{
|
||||
"encoderName": "libopus",
|
||||
"streamType": "audio",
|
||||
"priority": 1000
|
||||
},
|
||||
{
|
||||
"encoderName": "libvpx-vp9",
|
||||
"streamType": "video",
|
||||
"priority": 1000
|
||||
}
|
||||
],
|
||||
|
||||
"live": [ ]
|
||||
}
|
||||
```
|
||||
Reference in New Issue
Block a user