// Copyright 2022 LTN Global Communications, Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. syntax = "proto3"; package tv.make.api; option go_package = "git.ltnglobal.com/make.tv/genproto/api;api"; // OutputTranscodingConstraints defines constraints for a transcoding. message OutputTranscodingConstraints { // Resolution of a video frame. message Resolution { // The width in pixels. int32 width_pixels = 1; // The height in pixels. int32 height_pixels = 2; } // The list of available framerates. repeated double fps = 1; // The list of available resolutions. repeated Resolution resolutions = 2; // The list of available GOP sizes in seconds. repeated double gop_size_seconds = 3; // The minimum audio bitrate in BPS. int32 min_audio_bitrate_bps = 4; // The maximum audio bitrate in BPS. int32 max_audio_bitrate_bps = 5; // The minimum video bitrate in BPS. int32 min_video_bitrate_bps = 6; // The maximum video bitrate in BPS. int32 max_video_bitrate_bps = 7; }