-
Notifications
You must be signed in to change notification settings - Fork 12
Tutorial.6 Add a set of video encoding profiles
Giuliano Catrambone edited this page May 15, 2018
·
4 revisions
This tutorial add a set of two video profiles into MMS. The set of video profiles is labelled as 'Sport'. The two video profiles are labelled as 'Profile_1' and 'Profile_2'.
Reference manual for
Create a file (videoProfiles.json) having the following content
{
"Label": "Sport",
"Profiles": [
{
"Label": "Profile_1",
"FileFormat": "mp4",
"Video": {
"Codec": "libx264",
"Profile": "high",
"Width": 720,
"Height": 480,
"KBitRate": 256,
"TwoPasses": true
},
"Audio": {
"Codec": "aac",
"KBitRate": 64
}
},
{
"Label": "Profile_2",
"FileFormat": "mp4",
"Video": {
"Codec": "libx264",
"Profile": "high",
"Width": 720,
"Height": 480,
"KBitRate": 128,
"TwoPasses": true
},
"Audio": {
"Codec": "aac",
"KBitRate": 64
}
}
]
}
Run the following HTTP PUT having as input userKey, APIKey and videoProfiles.json:
- curl -k -v -X PUT -u 654:SU1.8AO1O2z0gdezR99BIPvAz2y4LNUsCKcKJrSrQ_S4lS33iZ4zGJ8kfWxQqmOhKL -d @videoProfiles.json -H "Content-Type: application/json" https://mms-api.catrasoft.cloud/catramms/v1/profilesSet/video
The return will be:
- { "encodingProfilesSet": { "encodingProfilesSetKey": 2, "label": "Sport" }, "profiles": [ { "encodingProfileKey": 4, "label": "Profile_1" }, { "encodingProfileKey": 5, "label": "Profile_2" } ] }
- tutorial videos: https://www.youtube.com/@CatraMMS/videos
- support email: [email protected]
- info email: [email protected]
- MMS GUI: https://mms-gui.catramms-cloud.com/catramms
- REST MMS API: https://app.swaggerhub.com/apis-docs/giulianoc/MediaManagementService
- API base URL: https://mms-api.catramms-cloud.com/catramms/1.0.1/...
- Delivery URL (authorization by parameter): https://delivery.catramms-cloud.com/catramms/1.0.1/...
- Delivery URL (authorization by path): https://delivery-path.catramms-cloud.com/catramms/1.0.1/...
- Push binary URL: https://binary.catramms-cloud.com/catramms/1.0.1/...
-
Tutorial
- User registration
- Add content - Pull
- Add content, on success send an email
- Two Tasks (Add content) to be executed in parallel
- Add a set of video encoding profiles
- Add two contents, send an email, concat, cut and encode
- Add a single image profile (Logo)
- Add a video, an image, encode the image, overlay the encoded image on the video
-
Workflow Ingestion
Workflow As Library
Add-Remove Content
Delivery
Social Network Delivery
Encoding (video-audio-image)
Media activities
Overlay
Frame Processing
Recorder
Communication
Utilities
Computer Vision