telestream_cloud_flip 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/Gemfile +7 -0
- data/README.md +130 -0
- data/Rakefile +8 -0
- data/docs/CanceledResponse.md +8 -0
- data/docs/CloudNotificationSettings.md +11 -0
- data/docs/CloudNotificationSettingsEvents.md +11 -0
- data/docs/CopyProfileBody.md +9 -0
- data/docs/CountResponse.md +8 -0
- data/docs/CreateEncodingBody.md +10 -0
- data/docs/CreateVideoBody.md +12 -0
- data/docs/DeletedResponse.md +8 -0
- data/docs/Encoding.md +38 -0
- data/docs/EncodingSignedUrl.md +8 -0
- data/docs/EncodingSignedUrls.md +8 -0
- data/docs/Error.md +9 -0
- data/docs/ExtraFile.md +10 -0
- data/docs/Factory.md +25 -0
- data/docs/FactoryBody.md +23 -0
- data/docs/FactoryBodyStorageCredentialAttributes.md +11 -0
- data/docs/FactorySync.md +8 -0
- data/docs/FactorySyncBody.md +8 -0
- data/docs/FlipApi.md +2179 -0
- data/docs/PaginatedEncodingsCollection.md +11 -0
- data/docs/PaginatedFactoryCollection.md +11 -0
- data/docs/PaginatedProfilesCollection.md +11 -0
- data/docs/PaginatedVideoCollection.md +11 -0
- data/docs/PaginatedWorkflowsCollection.md +11 -0
- data/docs/Profile.md +135 -0
- data/docs/ProfileBody.md +137 -0
- data/docs/ResubmitVideoBody.md +8 -0
- data/docs/RetriedResponse.md +8 -0
- data/docs/SignedVideoUrl.md +8 -0
- data/docs/UpdateEncodingBody.md +9 -0
- data/docs/UploadSession.md +13 -0
- data/docs/Video.md +31 -0
- data/docs/VideoMetadata.md +7 -0
- data/docs/VideoUploadBody.md +24 -0
- data/git_push.sh +55 -0
- data/lib/telestream_cloud_flip/api/flip_api.rb +2385 -0
- data/lib/telestream_cloud_flip/api_client.rb +389 -0
- data/lib/telestream_cloud_flip/api_error.rb +38 -0
- data/lib/telestream_cloud_flip/configuration.rb +209 -0
- data/lib/telestream_cloud_flip/models/canceled_response.rb +189 -0
- data/lib/telestream_cloud_flip/models/cloud_notification_settings.rb +237 -0
- data/lib/telestream_cloud_flip/models/cloud_notification_settings_events.rb +239 -0
- data/lib/telestream_cloud_flip/models/copy_profile_body.rb +209 -0
- data/lib/telestream_cloud_flip/models/count_response.rb +189 -0
- data/lib/telestream_cloud_flip/models/create_encoding_body.rb +214 -0
- data/lib/telestream_cloud_flip/models/create_video_body.rb +231 -0
- data/lib/telestream_cloud_flip/models/deleted_response.rb +189 -0
- data/lib/telestream_cloud_flip/models/encoding.rb +486 -0
- data/lib/telestream_cloud_flip/models/encoding_signed_url.rb +189 -0
- data/lib/telestream_cloud_flip/models/encoding_signed_urls.rb +191 -0
- data/lib/telestream_cloud_flip/models/error.rb +199 -0
- data/lib/telestream_cloud_flip/models/extra_file.rb +221 -0
- data/lib/telestream_cloud_flip/models/factory.rb +388 -0
- data/lib/telestream_cloud_flip/models/factory_body.rb +374 -0
- data/lib/telestream_cloud_flip/models/factory_body_storage_credential_attributes.rb +215 -0
- data/lib/telestream_cloud_flip/models/factory_sync.rb +222 -0
- data/lib/telestream_cloud_flip/models/factory_sync_body.rb +227 -0
- data/lib/telestream_cloud_flip/models/paginated_encodings_collection.rb +240 -0
- data/lib/telestream_cloud_flip/models/paginated_factory_collection.rb +220 -0
- data/lib/telestream_cloud_flip/models/paginated_profiles_collection.rb +220 -0
- data/lib/telestream_cloud_flip/models/paginated_video_collection.rb +220 -0
- data/lib/telestream_cloud_flip/models/paginated_workflows_collection.rb +220 -0
- data/lib/telestream_cloud_flip/models/profile.rb +1777 -0
- data/lib/telestream_cloud_flip/models/profile_body.rb +1762 -0
- data/lib/telestream_cloud_flip/models/resubmit_video_body.rb +189 -0
- data/lib/telestream_cloud_flip/models/retried_response.rb +189 -0
- data/lib/telestream_cloud_flip/models/signed_video_url.rb +189 -0
- data/lib/telestream_cloud_flip/models/update_encoding_body.rb +199 -0
- data/lib/telestream_cloud_flip/models/upload_session.rb +249 -0
- data/lib/telestream_cloud_flip/models/video.rb +418 -0
- data/lib/telestream_cloud_flip/models/video_metadata.rb +179 -0
- data/lib/telestream_cloud_flip/models/video_upload_body.rb +362 -0
- data/lib/telestream_cloud_flip/uploader.rb +244 -0
- data/lib/telestream_cloud_flip/version.rb +18 -0
- data/lib/telestream_cloud_flip.rb +79 -0
- data/spec/api/flip_api_spec.rb +550 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/canceled_response_spec.rb +42 -0
- data/spec/models/cloud_notification_settings_events_spec.rb +60 -0
- data/spec/models/cloud_notification_settings_spec.rb +60 -0
- data/spec/models/copy_profile_body_spec.rb +48 -0
- data/spec/models/count_response_spec.rb +42 -0
- data/spec/models/create_encoding_body_spec.rb +54 -0
- data/spec/models/create_video_body_spec.rb +66 -0
- data/spec/models/deleted_response_spec.rb +42 -0
- data/spec/models/encoding_signed_url_spec.rb +42 -0
- data/spec/models/encoding_signed_urls_spec.rb +42 -0
- data/spec/models/encoding_spec.rb +222 -0
- data/spec/models/error_spec.rb +48 -0
- data/spec/models/extra_file_spec.rb +54 -0
- data/spec/models/factory_body_spec.rb +136 -0
- data/spec/models/factory_body_storage_credential_attributes_spec.rb +60 -0
- data/spec/models/factory_spec.rb +148 -0
- data/spec/models/factory_sync_body_spec.rb +46 -0
- data/spec/models/factory_sync_spec.rb +46 -0
- data/spec/models/paginated_encodings_collection_spec.rb +60 -0
- data/spec/models/paginated_factory_collection_spec.rb +60 -0
- data/spec/models/paginated_profiles_collection_spec.rb +60 -0
- data/spec/models/paginated_video_collection_spec.rb +60 -0
- data/spec/models/paginated_workflows_collection_spec.rb +60 -0
- data/spec/models/profile_body_spec.rb +916 -0
- data/spec/models/profile_spec.rb +916 -0
- data/spec/models/resubmit_video_body_spec.rb +42 -0
- data/spec/models/retried_response_spec.rb +42 -0
- data/spec/models/signed_video_url_spec.rb +42 -0
- data/spec/models/update_encoding_body_spec.rb +48 -0
- data/spec/models/upload_session_spec.rb +72 -0
- data/spec/models/video_metadata_spec.rb +36 -0
- data/spec/models/video_spec.rb +180 -0
- data/spec/models/video_upload_body_spec.rb +138 -0
- data/spec/spec_helper.rb +111 -0
- data/telestream_cloud_flip.gemspec +47 -0
- metadata +396 -0
@@ -0,0 +1,11 @@
|
|
1
|
+
# TelestreamCloud::Flip::PaginatedEncodingsCollection
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**encodings** | [**Array<Encoding>**](Encoding.md) | |
|
7
|
+
**page** | **Integer** | A number of the fetched page. |
|
8
|
+
**per_page** | **Integer** | A number of encodings per page. |
|
9
|
+
**total** | **Integer** | A number of all encodings stored in the db. |
|
10
|
+
|
11
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# TelestreamCloud::Flip::PaginatedFactoryCollection
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**factories** | [**Array<Factory>**](Factory.md) | | [optional]
|
7
|
+
**page** | **Integer** | A number of the fetched page. | [optional]
|
8
|
+
**per_page** | **Integer** | A number of factories per page. | [optional]
|
9
|
+
**total** | **Integer** | A number of all factories stored in the db. | [optional]
|
10
|
+
|
11
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# TelestreamCloud::Flip::PaginatedProfilesCollection
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**profiles** | [**Array<Profile>**](Profile.md) | | [optional]
|
7
|
+
**page** | **Integer** | A number of the fetched page. | [optional]
|
8
|
+
**per_page** | **Integer** | A number of profiles per page. | [optional]
|
9
|
+
**total** | **Integer** | A number of all profiles stored in the db. | [optional]
|
10
|
+
|
11
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# TelestreamCloud::Flip::PaginatedVideoCollection
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**videos** | [**Array<Video>**](Video.md) | | [optional]
|
7
|
+
**page** | **Integer** | A number of the fetched page. | [optional]
|
8
|
+
**per_page** | **Integer** | A number of videos per page. | [optional]
|
9
|
+
**total** | **Integer** | A number of all videos stored in the db. | [optional]
|
10
|
+
|
11
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# TelestreamCloud::Flip::PaginatedWorkflowsCollection
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**workflows** | [**Array<Profile>**](Profile.md) | | [optional]
|
7
|
+
**page** | **Integer** | A number of the fetched page. | [optional]
|
8
|
+
**per_page** | **Integer** | A number of factories per page. | [optional]
|
9
|
+
**total** | **Integer** | A number of all factories stored in the db. | [optional]
|
10
|
+
|
11
|
+
|
data/docs/Profile.md
ADDED
@@ -0,0 +1,135 @@
|
|
1
|
+
# TelestreamCloud::Flip::Profile
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**advanced_fps_conversion** | **String** | todo | [optional]
|
7
|
+
**aspect_mode** | **String** | Specifies an aspect mode for output videos. The following options are available: - letterbox: - pad: Add paddings to the input image. Default is \"letterbox\". | [optional]
|
8
|
+
**aspect_ratio** | **String** | A display aspect ratio. By default it is not set. | [optional]
|
9
|
+
**audio_bitrate** | **Integer** | audio bitrate (in bits/s) | [optional]
|
10
|
+
**audio_channels** | **Integer** | A number of audio channels. By default it is not set. | [optional]
|
11
|
+
**audio_channels_layout** | **String** | A channel layout specifies the spatial disposition of the channels in a multi-channel audio stream. | [optional]
|
12
|
+
**audio_channels_per_track** | **Integer** | A number of audio channels per track. | [optional]
|
13
|
+
**audio_codec** | **String** | Audio codec that will be used by the profile. Available codecs are: `libmp3lame`, `libvorbis`, `libfdk_aac`, `dib_ac3, `pcm_s16le`, `mp2`, `ac3`, `eac3`. | [optional]
|
14
|
+
**audio_format** | **String** | Specifies an audio container. | [optional]
|
15
|
+
**audio_map** | **String** | | [optional]
|
16
|
+
**audio_pid** | **String** | Packet identifier used by MPEG formats. | [optional]
|
17
|
+
**audio_profile** | **String** | Specifies an audio profile. | [optional]
|
18
|
+
**audio_sample_rate** | **String** | The number of samples of audio carried per second. | [optional]
|
19
|
+
**audio_stream_id** | **Integer** | | [optional]
|
20
|
+
**audio_streams** | **Integer** | A number of audio streams. | [optional]
|
21
|
+
**avcintra_class** | **String** | A class of the AVC-Intra video coding. | [optional]
|
22
|
+
**buffer_size** | **String** | Determines the size of the PulseAudio buffer. by default it is not set. | [optional]
|
23
|
+
**buffer_size_in_packets** | **String** | todo | [optional]
|
24
|
+
**bumpers** | **String** | | [optional]
|
25
|
+
**byte_range_requests** | **BOOLEAN** | | [optional]
|
26
|
+
**clip_length** | **String** | A clip’s duration. | [optional]
|
27
|
+
**clip_offset** | **String** | Clip starts at a specific offset. | [optional]
|
28
|
+
**closed_captions** | **String** | One of add (adds captions as a separate streams) or burn (burns captions on video stream using the first subtitle file). By default it is not set. | [optional]
|
29
|
+
**color_metadata** | **BOOLEAN** | | [optional]
|
30
|
+
**created_at** | **String** | A date and time when the Profile has been created. | [optional]
|
31
|
+
**crop_input_bottom** | **String** | Distance (in pixels) from the bottom edge of the screen from which you want your crop to be done. | [optional]
|
32
|
+
**crop_input_height** | **String** | Width of the cropped image in pixels. | [optional]
|
33
|
+
**crop_input_left** | **String** | Distance (in pixels) from the left edge of the screen from which you want your crop to be done. | [optional]
|
34
|
+
**crop_input_right** | **String** | Distance (in pixels) from the right edge of the screen from which you want your crop to be done. | [optional]
|
35
|
+
**crop_input_top** | **String** | Distance (in pixels) from the top edge of the screen from which you want your crop to be done. | [optional]
|
36
|
+
**crop_input_width** | **String** | Height of the cropped image in pixels. | [optional]
|
37
|
+
**dash_profile** | **String** | | [optional]
|
38
|
+
**deinterlace** | **String** | One of `keep_fps` or `double_fps`. By default it is not set. | [optional]
|
39
|
+
**deinterlace_frames** | **String** | | [optional]
|
40
|
+
**description** | **String** | Description of the profile. | [optional]
|
41
|
+
**dnxhd_type** | **String** | | [optional]
|
42
|
+
**encryption** | **BOOLEAN** | | [optional]
|
43
|
+
**extname** | **String** | File extension. | [optional]
|
44
|
+
**fps** | **String** | Null value copy the original fps. By default it is not set. | [optional]
|
45
|
+
**frame_count** | **String** | Evenly spaced number of generated screenshots. By default it is not set. | [optional]
|
46
|
+
**frame_interval** | **String** | Thumbnail interval (Frames or seconds). | [optional]
|
47
|
+
**frame_offsets** | **String** | Array of offsets (Frames or seconds). | [optional]
|
48
|
+
**h264_level** | **String** | A specified set of constraints that indicate a degree of required decoder performance for a profile. | [optional]
|
49
|
+
**h264_profile** | **String** | Profiles represent a sub-set of the encoding techniques available in H.264. | [optional]
|
50
|
+
**h264_tune** | **String** | Specifies a h264 tuning option. | [optional]
|
51
|
+
**height** | **String** | Height in pixels. | [optional]
|
52
|
+
**id** | **String** | | [optional]
|
53
|
+
**imx_type** | **String** | | [optional]
|
54
|
+
**inputs** | **String** | | [optional]
|
55
|
+
**interlace** | **String** | | [optional]
|
56
|
+
**keyframe_interval** | **String** | Adds a key frame every N frames. Default is 250, adds a key frame every 250 frames. | [optional]
|
57
|
+
**keyframe_rate** | **String** | todo | [optional]
|
58
|
+
**lang** | **String** | | [optional]
|
59
|
+
**max_rate** | **String** | A max bitrate tolerance (in bits/s). By default this is not set. | [optional]
|
60
|
+
**merge_audio_streams** | **String** | | [optional]
|
61
|
+
**mute_audio_tracks** | **BOOLEAN** | Remove audio from input video file. By default it is set to `false`. | [optional]
|
62
|
+
**name** | **String** | A unique machine-readable name that will identify the profile. Helpful later on for filtering encodings by profile. | [optional]
|
63
|
+
**outputs** | **String** | | [optional]
|
64
|
+
**outputs_path_format** | **String** | Specify the directory where the output files should be stored. By default it is not set. More information about this [here](https://cloud.telestream.net/docs#path-format---know-how). | [optional]
|
65
|
+
**playlist_type** | **String** | | [optional]
|
66
|
+
**pmt_pid** | **String** | | [optional]
|
67
|
+
**preset_name** | **String** | a name of a preset that a profile will use. | [optional]
|
68
|
+
**prores_format** | **String** | | [optional]
|
69
|
+
**segment_time** | **Integer** | Minimum value is 2, maximum is 60. | [optional]
|
70
|
+
**stack** | **String** | | [optional]
|
71
|
+
**telestream_block_size** | **String** | | [optional]
|
72
|
+
**telestream_blur_scaler** | **Float** | Minimum value is 0, maximum is 4. | [optional]
|
73
|
+
**telestream_cost_scaler** | **Float** | Minimum value is 0, maximum is 4. | [optional]
|
74
|
+
**telestream_search_length_scaler** | **Integer** | Minimum value is 0, maximum is 2. | [optional]
|
75
|
+
**telestream_subpel_mode** | **BOOLEAN** | | [optional]
|
76
|
+
**time_code** | **String** | If set, timestamps will be added to your videos. By default this is not set. | [optional]
|
77
|
+
**title** | **String** | Human-readable name. | [optional]
|
78
|
+
**trailers** | **String** | | [optional]
|
79
|
+
**transport_rate** | **String** | | [optional]
|
80
|
+
**ts_pids** | **String** | | [optional]
|
81
|
+
**updated_at** | **String** | | [optional]
|
82
|
+
**upscale** | **BOOLEAN** | Upscale the video resolution to match your profile. Default is `true`. | [optional]
|
83
|
+
**use_editlist** | **BOOLEAN** | | [optional]
|
84
|
+
**variants** | **String** | Pattern utilised to match HLS.Variant presets by name. Default is hls.*. | [optional]
|
85
|
+
**video_bitrate** | **String** | | [optional]
|
86
|
+
**video_pid** | **String** | | [optional]
|
87
|
+
**watermark_bottom** | **String** | Distance from the bottom of the video frame in pixels or percentage of video frame height. Works like CSS. Default is `0`. | [optional]
|
88
|
+
**watermark_bumpers** | **BOOLEAN** | | [optional]
|
89
|
+
**watermark_height** | **String** | Height of the watermark image in pixels or percentage of video frame height. Default is no resizing | [optional]
|
90
|
+
**watermark_left** | **String** | Distance from the left of the video frame in pixels or percentage of video frame width. Works like CSS. Default is `0`. | [optional]
|
91
|
+
**watermark_right** | **String** | Distance from the right of the video frame in pixels or percentage of video frame width. Works like CSS. Default is `0`. | [optional]
|
92
|
+
**watermark_top** | **String** | Distance from the top of the video frame in pixels or percentage of video frame height. Works like CSS. Default is `0`. | [optional]
|
93
|
+
**watermark_trailers** | **BOOLEAN** | | [optional]
|
94
|
+
**watermark_url** | **String** | Url of a watermark image. | [optional]
|
95
|
+
**watermark_width** | **String** | Width of the watermark image in pixels or percentage of video frame width. Default is `no resizing`. | [optional]
|
96
|
+
**width** | **String** | Width in pixels. | [optional]
|
97
|
+
**x264_options** | **String** | | [optional]
|
98
|
+
**x265_options** | **String** | | [optional]
|
99
|
+
**xdcam_format** | **String** | | [optional]
|
100
|
+
**tachyon_allow_remove_pulldown** | **BOOLEAN** | Enable more sensitive pulldown removal algorithm. | [optional]
|
101
|
+
**tachyon_enable_post_pulldown_filter** | **BOOLEAN** | If the images you are converting are composited 29.976, but the pulldown pattern was not adhered to when performing the composite, this setting is required to remove combing artifacts. It will also remove combing artifacts related to very poor 3:2 cadence. | [optional]
|
102
|
+
**tachyon_media_hint_is_cartoon** | **BOOLEAN** | | [optional]
|
103
|
+
**tachyon_media_hint_has_chroma_noise** | **BOOLEAN** | Remove chroma noise during the analysis of a video. | [optional]
|
104
|
+
**tachyon_more_sensitive_remove_pulldown** | **BOOLEAN** | When pulldown is not achieved due to extremely broken cadence, or other factors like highly mixed content or if chroma noise masks motion, the pulldown engine may fall back to de-interlacing rather than removing telecine. If that's a case, a more sensitive pulldown pattern can be used. This algorithm favors inverse telecine and with lower thresholds for triggering pulldown identification, will maximize the number of progressive frames created from the video. | [optional]
|
105
|
+
**tachyon_allow_add_standard_pd** | **BOOLEAN** | | [optional]
|
106
|
+
**tachyon_allow_add_2_2pd** | **BOOLEAN** | Allows 2:2 (PSF) Insertion. Creates a new series of frames which are based on duplicating the field an interlacing it into top/bottom field. Maintains a film-look. | [optional]
|
107
|
+
**tachyon_allow_add_4_4pd** | **BOOLEAN** | Allows 4:4 Insertion. Repeats each progressive frame twice on output (motion rate is halved). This setting is used when you want to convert to high progressive frame rates (i.e. 50p/59.94p/60p) but want to preserve film qualities (low motion rate, such as 24p). | [optional]
|
108
|
+
**tachyon_allow_add_4_6pd** | **BOOLEAN** | 2:3 Insertion. inserts a standard 2:3 telecine pattern to 23.976p video stream to achieve a 29.97i frame rate | [optional]
|
109
|
+
**tachyon_allow_add_euro_pd** | **BOOLEAN** | Allows Euro Insertion. For field based interpolation rather than pixel-based. This is designed for interlaced or progressive integer frame rate conversions that are being converted to interlaced outputs. This method is valid for 24p to 50i conversions only. | [optional]
|
110
|
+
**tachyon_allow_add_adaptive_pd** | **BOOLEAN** | Allows Adaptive Insertion. For field-based interpolation rather than using pixel-based interpolation. This algorithm is designed for both integer and non-integer frame rate conversion targets - as long as one of them is a non-integer rate (23.976, 29.97, 59.94, etc). This creates NTSC-PAL conversions clean of motion artifacts at the expense of potential slight stutter. Stutter is most noticeable with material that has smooth and uniform motion. | [optional]
|
111
|
+
**tachyon_motion_amount** | **String** | This setting determines how much Tachyon will trust motion vectors in the creation of new images | [optional]
|
112
|
+
**tachyon_fallback_size** | **String** | This option specifies the transition region size between fallback areas and motion compensated areas. A larger fallback size allows more blending (feathering) to occur between the regions. | [optional]
|
113
|
+
**tachyon_mblock_size** | **String** | This option specifies the size of a motion block. | [optional]
|
114
|
+
**tachyon_cut_detection_sensitivity** | **Float** | | [optional]
|
115
|
+
**eac3_evolution_enable** | **BOOLEAN** | Enables the trusted metadata framework. | [optional]
|
116
|
+
**eac3_bitstream_mode** | **String** | Selects the type of audio service. **For 1/0 Voiceover will be used when Voiceover/Karaoke is selected. For 2/0 and above Karaoke will be used. | [optional]
|
117
|
+
**eac3_ninety_degree_phase_shift** | **BOOLEAN** | Applies a 90-degree phase shift to the surround channels; necessary if the output file is being decoded by a Dolby Surround Pro Logic or Pro Logic II decoder. | [optional]
|
118
|
+
**eac3_three_decibel_attenuation** | **BOOLEAN** | Attenuates the surround channels by 3 dB before encoding. | [optional]
|
119
|
+
**eac3_enable_lfe_low_pass_filter** | **BOOLEAN** | Applies a 120 Hz eighth order lowpass filter to the LFE input prior to encoding. | [optional]
|
120
|
+
**eac3_analog_to_digital_converter_type** | **String** | Allows audio that has passed through an A/D conversion stage to be marked as such. | [optional]
|
121
|
+
**eac3_stereo_downmix_preference** | **String** | | [optional]
|
122
|
+
**eac3_lt_rt_center_mix_level** | **String** | Indicates the level shift applied to the center channel when adding to the left and right outputs during a downmix to a Lt/Rt output. | [optional]
|
123
|
+
**eac3_lt_rt_surround_mix_level** | **String** | Indicates the level shift applied to the surround channel when adding to the left and right outputs during a downmix to a Lt/Rt output. | [optional]
|
124
|
+
**eac3_lo_ro_center_mix_level** | **String** | Indicates the level shift applied to the center channel when adding to the left and right outputs during a downmix to a Lo/Ro output. | [optional]
|
125
|
+
**eac3_lo_ro_surround_mix_level** | **String** | Indicates the level shift applied to the surround channel when adding to the left and right outputs during a downmix to a Lo/Ro output. | [optional]
|
126
|
+
**eac3_surround_ex_mode** | **String** | Indicates whether the audio stream was encoded using Dolby EX. | [optional]
|
127
|
+
**eac3_drc_line_mode_profile** | **String** | Dynamic Range Control for Line Mode. | [optional]
|
128
|
+
**eac3_drc_rf_mode_profile** | **String** | Dynamic Range Control for RF Mode. | [optional]
|
129
|
+
**eac3_dialog_normalization** | **Integer** | Represents the volume level of dialog in the audio stream which can be used by a Dolby Digital decoder. This aids the decoder in matching volume between program sources. Minimum value is 1, maximum is 31. | [optional]
|
130
|
+
**eac3_room_type** | **String** | | [optional]
|
131
|
+
**eac3_mixing_level** | **Integer** | Minimum value is 80, maximum is 111. | [optional]
|
132
|
+
**eac3_copyright_protected** | **BOOLEAN** | Indicates whether the encoded bitstream is copyright protected. | [optional]
|
133
|
+
**eac3_original_bitstream** | **BOOLEAN** | Indicates whether the encoded bitstream is the master version, or a copy. | [optional]
|
134
|
+
|
135
|
+
|
data/docs/ProfileBody.md
ADDED
@@ -0,0 +1,137 @@
|
|
1
|
+
# TelestreamCloud::Flip::ProfileBody
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**preset_name** | **String** | a name of a preset that a profile will use. |
|
7
|
+
**advanced_fps_conversion** | **String** | todo | [optional]
|
8
|
+
**aspect_mode** | **String** | Default is \"letterbox\". | [optional]
|
9
|
+
**aspect_ratio** | **String** | Sets the desired display aspect ratio. By default it is not set. | [optional]
|
10
|
+
**audio_bitrate** | **Integer** | audio bitrate (in bits/s) | [optional]
|
11
|
+
**audio_channels** | **Integer** | Sets the number of audio channels. By default it is not set. | [optional]
|
12
|
+
**audio_channels_layout** | **String** | A channel layout specifies the spatial disposition of the channels in a multi-channel audio stream. | [optional]
|
13
|
+
**audio_channels_per_track** | **String** | Sets the number of audio channels per track. | [optional]
|
14
|
+
**audio_codec** | **String** | Audio codec that will be used by the profile. | [optional]
|
15
|
+
**audio_format** | **String** | Specifies an audio container. | [optional]
|
16
|
+
**audio_pid** | **String** | Packet identifier used by MPEG formats. | [optional]
|
17
|
+
**audio_profile** | **String** | Sets an audio profile. | [optional]
|
18
|
+
**audio_sample_rate** | **Integer** | The number of samples of audio carried per second. | [optional]
|
19
|
+
**audio_streams** | **Integer** | Sets the number of audio streams. | [optional]
|
20
|
+
**avcintra_class** | **String** | class of the AVC-Intra video coding. | [optional]
|
21
|
+
**buffer_size** | **String** | Sets the buffer size, and can be 1-2 seconds for most gaming screencasts, and up to 5 seconds for more static content. You will have to experiment to see what looks best for your content. | [optional]
|
22
|
+
**buffer_size_in_packets** | **String** | todo | [optional]
|
23
|
+
**clip_length** | **String** | Sets the clip’s duration. | [optional]
|
24
|
+
**clip_offset** | **String** | Clip starts at a specific offset. | [optional]
|
25
|
+
**closed_captions** | **String** | One of add (adds captions as a separate streams) or burn (burns captions on video stream using the first subtitle file). By default it is not set. | [optional]
|
26
|
+
**dash_profile** | **String** | | [optional]
|
27
|
+
**deinterlace** | **String** | One of `keep_fps` or `double_fps`. By default it is not set. | [optional]
|
28
|
+
**deinterlace_frames** | **String** | | [optional]
|
29
|
+
**dnxhd_type** | **String** | | [optional]
|
30
|
+
**encryption** | **BOOLEAN** | | [optional]
|
31
|
+
**extname** | **String** | File extension. | [optional]
|
32
|
+
**fps** | **Float** | Null value copy the original fps. By default it is not set. | [optional]
|
33
|
+
**frame_offsets** | **String** | Array of offsets (Frames or seconds). | [optional]
|
34
|
+
**frame_interval** | **String** | Thumbnail interval (Frames or seconds). | [optional]
|
35
|
+
**frame_count** | **Integer** | Evenly spaced number of generated screenshots. By default it is not set. | [optional]
|
36
|
+
**h264_level** | **String** | A specified set of constraints that indicate a degree of required decoder performance for a profile. | [optional]
|
37
|
+
**h264_profile** | **String** | Profiles represent a sub-set of the encoding techniques available in H.264. | [optional]
|
38
|
+
**h264_tune** | **String** | Use this option to change settings based upon the specifics of your input | [optional]
|
39
|
+
**height** | **Integer** | Height in pixels. | [optional]
|
40
|
+
**imx_type** | **String** | | [optional]
|
41
|
+
**interlace** | **String** | | [optional]
|
42
|
+
**keyframe_interval** | **Integer** | Adds a key frame every N frames. Default is 250, adds a key frame every 250 frames. | [optional]
|
43
|
+
**keyframe_rate** | **Float** | todo | [optional]
|
44
|
+
**max_rate** | **Integer** | Set max bitrate tolerance (in bits/s). By default this is not set | [optional]
|
45
|
+
**merge_audio_streams** | **String** | | [optional]
|
46
|
+
**name** | **String** | Unique machine-readable name that will identify the profile. Helpful later on for filtering encodings by profile. | [optional]
|
47
|
+
**outputs_path_format** | **String** | Specify the directory where the output files should be stored. By default it is not set. More information about this [here](https://cloud.telestream.net/docs#path-format---know-how). | [optional]
|
48
|
+
**pmt_pid** | **String** | | [optional]
|
49
|
+
**prores_format** | **String** | | [optional]
|
50
|
+
**segment_time** | **String** | | [optional]
|
51
|
+
**size** | **String** | | [optional]
|
52
|
+
**tar** | **BOOLEAN** | | [optional]
|
53
|
+
**transport_rate** | **String** | | [optional]
|
54
|
+
**ts_pids** | **String** | | [optional]
|
55
|
+
**upscale** | **BOOLEAN** | Upscale the video resolution to match your profile. Default is `true`. | [optional]
|
56
|
+
**variants** | **String** | Pattern utilised to match HLS.Variant presets by name. Default is hls.*. | [optional]
|
57
|
+
**video_bitrate** | **Integer** | | [optional]
|
58
|
+
**video_pid** | **String** | | [optional]
|
59
|
+
**watermark_bottom** | **String** | Distance from the bottom of the video frame in pixels or percentage of video frame height. Works like CSS. Default is `0`. | [optional]
|
60
|
+
**watermark_height** | **String** | Height of the watermark image in pixels or percentage of video frame height. Default is no resizing | [optional]
|
61
|
+
**watermark_left** | **String** | Distance from the left of the video frame in pixels or percentage of video frame width. Works like CSS. Default is `0`. | [optional]
|
62
|
+
**watermark_right** | **String** | Distance from the right of the video frame in pixels or percentage of video frame width. Works like CSS. Default is `0`. | [optional]
|
63
|
+
**watermark_top** | **String** | Distance from the top of the video frame in pixels or percentage of video frame height. Works like CSS. Default is `0`. | [optional]
|
64
|
+
**watermark_url** | **String** | Url of a watermark image. | [optional]
|
65
|
+
**watermark_width** | **String** | Width of the watermark image in pixels or percentage of video frame width. Default is `no resizing`. | [optional]
|
66
|
+
**width** | **Integer** | Width in pixels. | [optional]
|
67
|
+
**x264_options** | **String** | | [optional]
|
68
|
+
**x265_options** | **String** | | [optional]
|
69
|
+
**xdcam_format** | **String** | | [optional]
|
70
|
+
**mute_audio_tracks** | **BOOLEAN** | Remove audio from input video file. By default it is set to `false`. | [optional]
|
71
|
+
**byte_range_requests** | **String** | | [optional]
|
72
|
+
**lang** | **String** | | [optional]
|
73
|
+
**use_editlist** | **String** | | [optional]
|
74
|
+
**audio_map** | **String** | | [optional]
|
75
|
+
**audio_stream_id** | **String** | | [optional]
|
76
|
+
**bumpers** | **String** | | [optional]
|
77
|
+
**codec_preset** | **String** | Determines a preset that is used by encoders. | [optional]
|
78
|
+
**color_metadata** | **String** | | [optional]
|
79
|
+
**crop_input_bottom** | **String** | Distance (in pixels) from the bottom edge of the screen from which you want your crop to be done. | [optional]
|
80
|
+
**crop_input_height** | **String** | Width of the cropped image in pixels. | [optional]
|
81
|
+
**crop_input_left** | **String** | Distance (in pixels) from the left edge of the screen from which you want your crop to be done. | [optional]
|
82
|
+
**crop_input_right** | **String** | Distance (in pixels) from the right edge of the screen from which you want your crop to be done. | [optional]
|
83
|
+
**crop_input_top** | **String** | Distance (in pixels) from the top edge of the screen from which you want your crop to be done. | [optional]
|
84
|
+
**crop_input_width** | **String** | Height of the cropped image in pixels. | [optional]
|
85
|
+
**dynamic_recipe** | **String** | | [optional]
|
86
|
+
**playlist_type** | **String** | | [optional]
|
87
|
+
**preset_version** | **String** | | [optional]
|
88
|
+
**segment_delimiter** | **String** | | [optional]
|
89
|
+
**sws_flags** | **String** | | [optional]
|
90
|
+
**telestream_block_size** | **String** | | [optional]
|
91
|
+
**telestream_blur_scaler** | **String** | Minimum value is 0, maximum is 4. | [optional]
|
92
|
+
**telestream_cost_scaler** | **String** | Minimum value is 0, maximum is 4. | [optional]
|
93
|
+
**telestream_search_length_scaler** | **String** | Minimum value is 0, maximum is 2. | [optional]
|
94
|
+
**telestream_subpel_mode** | **String** | | [optional]
|
95
|
+
**trailers** | **String** | | [optional]
|
96
|
+
**vantage_group_id** | **String** | | [optional]
|
97
|
+
**watermark_bumpers** | **String** | | [optional]
|
98
|
+
**watermark_trailers** | **String** | | [optional]
|
99
|
+
**workorder_criteria** | **Object** | | [optional]
|
100
|
+
**tachyon_allow_remove_pulldown** | **BOOLEAN** | Enable more sensitive pulldown removal algorithm. | [optional]
|
101
|
+
**tachyon_enable_post_pulldown_filter** | **BOOLEAN** | If the images you are converting are composited 29.976, but the pulldown pattern was not adhered to when performing the composite, this setting is required to remove combing artifacts. It will also remove combing artifacts related to very poor 3:2 cadence. | [optional]
|
102
|
+
**tachyon_media_hint_is_cartoon** | **BOOLEAN** | | [optional]
|
103
|
+
**tachyon_media_hint_has_chroma_noise** | **BOOLEAN** | Remove chroma noise during the analysis of a video. | [optional]
|
104
|
+
**tachyon_more_sensitive_remove_pulldown** | **BOOLEAN** | When pulldown is not achieved due to extremely broken cadence, or other factors like highly mixed content or if chroma noise masks motion, the pulldown engine may fall back to de-interlacing rather than removing telecine. If that's a case, a more sensitive pulldown pattern can be used. This algorithm favors inverse telecine and with lower thresholds for triggering pulldown identification, will maximize the number of progressive frames created from the video. | [optional]
|
105
|
+
**tachyon_allow_add_standard_pd** | **BOOLEAN** | | [optional]
|
106
|
+
**tachyon_allow_add_2_2pd** | **BOOLEAN** | Allows 2:2 (PSF) Insertion. Creates a new series of frames which are based on duplicating the field an interlacing it into top/bottom field. Maintains a film-look. | [optional]
|
107
|
+
**tachyon_allow_add_4_4pd** | **BOOLEAN** | Allows 4:4 Insertion. Repeats each progressive frame twice on output (motion rate is halved). This setting is used when you want to convert to high progressive frame rates (i.e. 50p/59.94p/60p) but want to preserve film qualities (low motion rate, such as 24p). | [optional]
|
108
|
+
**tachyon_allow_add_4_6pd** | **BOOLEAN** | 2:3 Insertion. inserts a standard 2:3 telecine pattern to 23.976p video stream to achieve a 29.97i frame rate | [optional]
|
109
|
+
**tachyon_allow_add_euro_pd** | **BOOLEAN** | Allows Euro Insertion. For field based interpolation rather than pixel-based. This is designed for interlaced or progressive integer frame rate conversions that are being converted to interlaced outputs. This method is valid for 24p to 50i conversions only. | [optional]
|
110
|
+
**tachyon_allow_add_adaptive_pd** | **BOOLEAN** | Allows Adaptive Insertion. For field-based interpolation rather than using pixel-based interpolation. This algorithm is designed for both integer and non-integer frame rate conversion targets - as long as one of them is a non-integer rate (23.976, 29.97, 59.94, etc). This creates NTSC-PAL conversions clean of motion artifacts at the expense of potential slight stutter. Stutter is most noticeable with material that has smooth and uniform motion. | [optional]
|
111
|
+
**tachyon_motion_amount** | **String** | This setting determines how much Tachyon will trust motion vectors in the creation of new images | [optional]
|
112
|
+
**tachyon_fallback_size** | **String** | This option specifies the transition region size between fallback areas and motion compensated areas. A larger fallback size allows more blending (feathering) to occur between the regions. | [optional]
|
113
|
+
**tachyon_mblock_size** | **String** | This option specifies the size of a motion block. | [optional]
|
114
|
+
**tachyon_cut_detection_sensitivity** | **Float** | | [optional]
|
115
|
+
**eac3_evolution_enable** | **BOOLEAN** | Enables the trusted metadata framework. | [optional]
|
116
|
+
**eac3_bitstream_mode** | **String** | Selects the type of audio service. **For 1/0 Voiceover will be used when Voiceover/Karaoke is selected. For 2/0 and above Karaoke will be used. | [optional]
|
117
|
+
**eac3_ninety_degree_phase_shift** | **BOOLEAN** | Applies a 90-degree phase shift to the surround channels; necessary if the output file is being decoded by a Dolby Surround Pro Logic or Pro Logic II decoder. | [optional]
|
118
|
+
**eac3_three_decibel_attenuation** | **BOOLEAN** | Attenuates the surround channels by 3 dB before encoding. | [optional]
|
119
|
+
**eac3_enable_lfe_low_pass_filter** | **BOOLEAN** | Applies a 120 Hz eighth order lowpass filter to the LFE input prior to encoding. | [optional]
|
120
|
+
**eac3_analog_to_digital_converter_type** | **String** | Allows audio that has passed through an A/D conversion stage to be marked as such. | [optional]
|
121
|
+
**eac3_stereo_downmix_preference** | **String** | | [optional]
|
122
|
+
**eac3_lt_rt_center_mix_level** | **String** | Indicates the level shift applied to the center channel when adding to the left and right outputs during a downmix to a Lt/Rt output. | [optional]
|
123
|
+
**eac3_lt_rt_surround_mix_level** | **String** | Indicates the level shift applied to the surround channel when adding to the left and right outputs during a downmix to a Lt/Rt output. | [optional]
|
124
|
+
**eac3_lo_ro_center_mix_level** | **String** | Indicates the level shift applied to the center channel when adding to the left and right outputs during a downmix to a Lo/Ro output. | [optional]
|
125
|
+
**eac3_lo_ro_surround_mix_level** | **String** | Indicates the level shift applied to the surround channel when adding to the left and right outputs during a downmix to a Lo/Ro output. | [optional]
|
126
|
+
**eac3_surround_ex_mode** | **String** | Indicates whether the audio stream was encoded using Dolby EX. | [optional]
|
127
|
+
**eac3_drc_line_mode_profile** | **String** | Dynamic Range Control for Line Mode. | [optional]
|
128
|
+
**eac3_drc_rf_mode_profile** | **String** | Dynamic Range Control for RF Mode. | [optional]
|
129
|
+
**eac3_dialog_normalization** | **Integer** | Represents the volume level of dialog in the audio stream which can be used by a Dolby Digital decoder. This aids the decoder in matching volume between program sources. Minimum value is 1, maximum is 31. | [optional]
|
130
|
+
**eac3_room_type** | **String** | | [optional]
|
131
|
+
**eac3_mixing_level** | **Integer** | Minimum value is 80, maximum is 111. | [optional]
|
132
|
+
**eac3_copyright_protected** | **BOOLEAN** | Indicates whether the encoded bitstream is copyright protected. | [optional]
|
133
|
+
**eac3_original_bitstream** | **BOOLEAN** | Indicates whether the encoded bitstream is the master version, or a copy. | [optional]
|
134
|
+
**title** | **String** | Human-readable name. | [optional]
|
135
|
+
**time_code** | **BOOLEAN** | If set, timestamps will be added to your videos. By default this is not set. | [optional]
|
136
|
+
|
137
|
+
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# TelestreamCloud::Flip::SignedVideoUrl
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**signed_url** | **String** | An URL pointing to the Video file. It contains a valid authentication token. | [optional]
|
7
|
+
|
8
|
+
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# TelestreamCloud::Flip::UpdateEncodingBody
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**profile_id** | **String** | Id of a Profile that will be used for encoding. | [optional]
|
7
|
+
**profile_name** | **String** | A name of a Profile that will be used for encoding. | [optional]
|
8
|
+
|
9
|
+
|
@@ -0,0 +1,13 @@
|
|
1
|
+
# TelestreamCloud::Flip::UploadSession
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**id** | **String** | An unique identifier of the UploadSession. |
|
7
|
+
**location** | **String** | An URL to which chunks of the uploaded file should be sent |
|
8
|
+
**parts** | **Integer** | A number of chunks that are expected by the upstream. | [optional]
|
9
|
+
**part_size** | **Integer** | An expected size of uploaded chunks. | [optional]
|
10
|
+
**max_connections** | **Integer** | A maximum number of concurrent connections. | [optional]
|
11
|
+
**extra_files** | **Object** | An object containing additional files uploaded using the session. | [optional]
|
12
|
+
|
13
|
+
|
data/docs/Video.md
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
# TelestreamCloud::Flip::Video
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**id** | **String** | A unique identifier of the Video. | [optional]
|
7
|
+
**audio_bitrate** | **Integer** | audio bitrate (in bits/s) | [optional]
|
8
|
+
**audio_channels** | **Integer** | A number of audio channels. | [optional]
|
9
|
+
**audio_codec** | **String** | A codec that has been used to encode audio streams. | [optional]
|
10
|
+
**audio_sample_rate** | **Integer** | A number of samples of audio carried per second. | [optional]
|
11
|
+
**created_at** | **String** | A date and time when the Video has been created. | [optional]
|
12
|
+
**duration** | **Integer** | A duration of the video in seconds. | [optional]
|
13
|
+
**encodings_count** | **Integer** | A number of related Encoding objects. | [optional]
|
14
|
+
**error_class** | **String** | A class of an error that has occurred during the encoding process. It is present only if the encoding status is equal to `fail`. | [optional]
|
15
|
+
**error_message** | **String** | A message that explains why the encoding process has resulted in an error. It is present only if the encoding status is equal to `fail`. | [optional]
|
16
|
+
**extname** | **String** | Extension of the source file. | [optional]
|
17
|
+
**file_size** | **Integer** | A size of the source file. | [optional]
|
18
|
+
**fps** | **String** | Number of frames per second. | [optional]
|
19
|
+
**height** | **String** | Height of the output video. | [optional]
|
20
|
+
**width** | **String** | Width of the output video. | [optional]
|
21
|
+
**mime_type** | **String** | A mime type of the source file. | [optional]
|
22
|
+
**original_filename** | **String** | A name of the source file. | [optional]
|
23
|
+
**path** | **String** | | [optional]
|
24
|
+
**payload** | **String** | Payload is an arbitrary text of length 256 or shorter that you can store along the Video. It is typically used to retain an association with one of your own DB record ID. | [optional]
|
25
|
+
**source_url** | **String** | An URL pointing to the source file. | [optional]
|
26
|
+
**status** | **String** | Determines at what stage of importing process the Video is at the moment. | [optional]
|
27
|
+
**updated_at** | **String** | A date and time when a Video has been updated last time. | [optional]
|
28
|
+
**video_bitrate** | **String** | video bitrate (in bits/s) | [optional]
|
29
|
+
**video_codec** | **String** | A codec that has been used to encode the input file's video streams. | [optional]
|
30
|
+
|
31
|
+
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# TelestreamCloud::Flip::VideoUploadBody
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**file_size** | **Integer** | Size of the file that will be uploaded in `bytes`. |
|
7
|
+
**file_name** | **String** | Name of the file that will be uploaded. |
|
8
|
+
**extra_files** | [**Array<ExtraFile>**](ExtraFile.md) | A list of names of additional files that will be uploaded. | [optional]
|
9
|
+
**profiles** | **String** | A comma-separated list of profile names or IDs to be used during encoding. Alternatively, specify none so no encodings will created right away. | [optional]
|
10
|
+
**path_format** | **String** | | [optional]
|
11
|
+
**payload** | **String** | Payload is an arbitrary text of length 256 or shorter that you can store along the Video. It is typically used to retain an association with one of your own DB record ID. | [optional]
|
12
|
+
**extra_variables** | **Hash<String, String>** | | [optional]
|
13
|
+
**watermark_url** | **String** | URL pointing to an image that will be used asa watermark. | [optional]
|
14
|
+
**watermark_left** | **String** | Determines distance between the left edge of a video and the left edge of a watermark image. Can be specified in pixels or percents. This parameter can be set only if watermark_right is not. | [optional]
|
15
|
+
**watermark_top** | **String** | Determines distance between the top edge of a video and the top edge of a watermark image. Can be specified in pixels or percents. This parameter can be set only if watermark_bottom is not. | [optional]
|
16
|
+
**watermark_right** | **String** | Determines distance between the right edge of a video and the right edge of a watermark image. Can be specified in pixels or percents. This parameter can be set only if watermark_left is not. | [optional]
|
17
|
+
**watermark_bottom** | **String** | Determines distance between the bottom edge of a video and the bottom edge of a watermark image. Can be specified in pixels or percents. This parameter can be set only if watermark_top is not. | [optional]
|
18
|
+
**watermark_width** | **String** | Determines width of the watermark image. Should be specified in pixels. | [optional]
|
19
|
+
**watermark_height** | **String** | Determines width of the watermark image. Should be specified in pixels. | [optional]
|
20
|
+
**clip_length** | **String** | Length of the uploaded video. Should be formatted as follows: HH:MM:SS | [optional]
|
21
|
+
**clip_offset** | **String** | Clip starts at a specific offset. | [optional]
|
22
|
+
**multi_chunk** | **BOOLEAN** | | [optional] [default to true]
|
23
|
+
|
24
|
+
|
data/git_push.sh
ADDED
@@ -0,0 +1,55 @@
|
|
1
|
+
#!/bin/sh
|
2
|
+
#
|
3
|
+
# Generated by: https://github.com/swagger-api/swagger-codegen.git
|
4
|
+
#
|
5
|
+
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
|
6
|
+
#
|
7
|
+
# Usage example: /bin/sh ./git_push.sh wing328 swagger-petstore-perl "minor update"
|
8
|
+
|
9
|
+
git_user_id=$1
|
10
|
+
git_repo_id=$2
|
11
|
+
release_note=$3
|
12
|
+
|
13
|
+
if [ "$git_user_id" = "" ]; then
|
14
|
+
git_user_id="Telestream"
|
15
|
+
echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
|
16
|
+
fi
|
17
|
+
|
18
|
+
if [ "$git_repo_id" = "" ]; then
|
19
|
+
git_repo_id="telestream-cloud-ruby-sdk"
|
20
|
+
echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
|
21
|
+
fi
|
22
|
+
|
23
|
+
if [ "$release_note" = "" ]; then
|
24
|
+
release_note="Minor update"
|
25
|
+
echo "[INFO] No command line input provided. Set \$release_note to $release_note"
|
26
|
+
fi
|
27
|
+
|
28
|
+
# Initialize the local directory as a Git repository
|
29
|
+
git init
|
30
|
+
|
31
|
+
# Adds the files in the local repository and stages them for commit.
|
32
|
+
git add .
|
33
|
+
|
34
|
+
# Commits the tracked changes and prepares them to be pushed to a remote repository.
|
35
|
+
git commit -m "$release_note"
|
36
|
+
|
37
|
+
# Sets the new remote
|
38
|
+
git_remote=`git remote`
|
39
|
+
if [ "$git_remote" = "" ]; then # git remote not defined
|
40
|
+
|
41
|
+
if [ "$GIT_TOKEN" = "" ]; then
|
42
|
+
echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
|
43
|
+
git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git
|
44
|
+
else
|
45
|
+
git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git
|
46
|
+
fi
|
47
|
+
|
48
|
+
fi
|
49
|
+
|
50
|
+
git pull origin master
|
51
|
+
|
52
|
+
# Pushes (Forces) the changes in the local repository up to the remote repository
|
53
|
+
echo "Git pushing to https://github.com/${git_user_id}/${git_repo_id}.git"
|
54
|
+
git push origin master 2>&1 | grep -v 'To https'
|
55
|
+
|