Class: TelestreamCloud::Flip::ProfileBody

Inherits:
Object
  • Object
show all
Defined in:
lib/telestream_cloud_flip/models/profile_body.rb

Defined Under Namespace

Classes: EnumAttributeValidator

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ ProfileBody

Initializes the object

Parameters:

  • attributes (Hash) (defaults to: {})

    Model attributes in the form of hash



661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 661

def initialize(attributes = {})
  return unless attributes.is_a?(Hash)

  # convert string to symbol for hash key
  attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}

  if attributes.has_key?(:'preset_name')
    self.preset_name = attributes[:'preset_name']
  end

  if attributes.has_key?(:'advanced_fps_conversion')
    self.advanced_fps_conversion = attributes[:'advanced_fps_conversion']
  end

  if attributes.has_key?(:'aspect_mode')
    self.aspect_mode = attributes[:'aspect_mode']
  end

  if attributes.has_key?(:'aspect_ratio')
    self.aspect_ratio = attributes[:'aspect_ratio']
  end

  if attributes.has_key?(:'audio_bitrate')
    self.audio_bitrate = attributes[:'audio_bitrate']
  end

  if attributes.has_key?(:'audio_channels')
    self.audio_channels = attributes[:'audio_channels']
  end

  if attributes.has_key?(:'audio_channels_layout')
    self.audio_channels_layout = attributes[:'audio_channels_layout']
  end

  if attributes.has_key?(:'audio_channels_per_track')
    self.audio_channels_per_track = attributes[:'audio_channels_per_track']
  end

  if attributes.has_key?(:'audio_codec')
    self.audio_codec = attributes[:'audio_codec']
  end

  if attributes.has_key?(:'audio_format')
    self.audio_format = attributes[:'audio_format']
  end

  if attributes.has_key?(:'audio_pid')
    self.audio_pid = attributes[:'audio_pid']
  end

  if attributes.has_key?(:'audio_profile')
    self.audio_profile = attributes[:'audio_profile']
  end

  if attributes.has_key?(:'audio_sample_rate')
    self.audio_sample_rate = attributes[:'audio_sample_rate']
  end

  if attributes.has_key?(:'audio_streams')
    self.audio_streams = attributes[:'audio_streams']
  end

  if attributes.has_key?(:'avcintra_class')
    self.avcintra_class = attributes[:'avcintra_class']
  end

  if attributes.has_key?(:'buffer_size')
    self.buffer_size = attributes[:'buffer_size']
  end

  if attributes.has_key?(:'buffer_size_in_packets')
    self.buffer_size_in_packets = attributes[:'buffer_size_in_packets']
  end

  if attributes.has_key?(:'clip_length')
    self.clip_length = attributes[:'clip_length']
  end

  if attributes.has_key?(:'clip_offset')
    self.clip_offset = attributes[:'clip_offset']
  end

  if attributes.has_key?(:'closed_captions')
    self.closed_captions = attributes[:'closed_captions']
  end

  if attributes.has_key?(:'dash_profile')
    self.dash_profile = attributes[:'dash_profile']
  end

  if attributes.has_key?(:'deinterlace')
    self.deinterlace = attributes[:'deinterlace']
  end

  if attributes.has_key?(:'deinterlace_frames')
    self.deinterlace_frames = attributes[:'deinterlace_frames']
  end

  if attributes.has_key?(:'dnxhd_type')
    self.dnxhd_type = attributes[:'dnxhd_type']
  end

  if attributes.has_key?(:'encryption')
    self.encryption = attributes[:'encryption']
  end

  if attributes.has_key?(:'extname')
    self.extname = attributes[:'extname']
  end

  if attributes.has_key?(:'fps')
    self.fps = attributes[:'fps']
  end

  if attributes.has_key?(:'frame_offsets')
    self.frame_offsets = attributes[:'frame_offsets']
  end

  if attributes.has_key?(:'frame_interval')
    self.frame_interval = attributes[:'frame_interval']
  end

  if attributes.has_key?(:'frame_count')
    self.frame_count = attributes[:'frame_count']
  end

  if attributes.has_key?(:'h264_level')
    self.h264_level = attributes[:'h264_level']
  end

  if attributes.has_key?(:'h264_profile')
    self.h264_profile = attributes[:'h264_profile']
  end

  if attributes.has_key?(:'h264_tune')
    self.h264_tune = attributes[:'h264_tune']
  end

  if attributes.has_key?(:'height')
    self.height = attributes[:'height']
  end

  if attributes.has_key?(:'imx_type')
    self.imx_type = attributes[:'imx_type']
  end

  if attributes.has_key?(:'interlace')
    self.interlace = attributes[:'interlace']
  end

  if attributes.has_key?(:'keyframe_interval')
    self.keyframe_interval = attributes[:'keyframe_interval']
  end

  if attributes.has_key?(:'keyframe_rate')
    self.keyframe_rate = attributes[:'keyframe_rate']
  end

  if attributes.has_key?(:'max_rate')
    self.max_rate = attributes[:'max_rate']
  end

  if attributes.has_key?(:'merge_audio_streams')
    self.merge_audio_streams = attributes[:'merge_audio_streams']
  end

  if attributes.has_key?(:'name')
    self.name = attributes[:'name']
  end

  if attributes.has_key?(:'outputs_path_format')
    self.outputs_path_format = attributes[:'outputs_path_format']
  end

  if attributes.has_key?(:'pmt_pid')
    self.pmt_pid = attributes[:'pmt_pid']
  end

  if attributes.has_key?(:'prores_format')
    self.prores_format = attributes[:'prores_format']
  end

  if attributes.has_key?(:'segment_time')
    self.segment_time = attributes[:'segment_time']
  end

  if attributes.has_key?(:'size')
    self.size = attributes[:'size']
  end

  if attributes.has_key?(:'tar')
    self.tar = attributes[:'tar']
  end

  if attributes.has_key?(:'transport_rate')
    self.transport_rate = attributes[:'transport_rate']
  end

  if attributes.has_key?(:'ts_pids')
    self.ts_pids = attributes[:'ts_pids']
  end

  if attributes.has_key?(:'upscale')
    self.upscale = attributes[:'upscale']
  end

  if attributes.has_key?(:'variants')
    self.variants = attributes[:'variants']
  end

  if attributes.has_key?(:'video_bitrate')
    self.video_bitrate = attributes[:'video_bitrate']
  end

  if attributes.has_key?(:'video_pid')
    self.video_pid = attributes[:'video_pid']
  end

  if attributes.has_key?(:'watermark_bottom')
    self.watermark_bottom = attributes[:'watermark_bottom']
  end

  if attributes.has_key?(:'watermark_height')
    self.watermark_height = attributes[:'watermark_height']
  end

  if attributes.has_key?(:'watermark_left')
    self.watermark_left = attributes[:'watermark_left']
  end

  if attributes.has_key?(:'watermark_right')
    self.watermark_right = attributes[:'watermark_right']
  end

  if attributes.has_key?(:'watermark_top')
    self.watermark_top = attributes[:'watermark_top']
  end

  if attributes.has_key?(:'watermark_url')
    self.watermark_url = attributes[:'watermark_url']
  end

  if attributes.has_key?(:'watermark_width')
    self.watermark_width = attributes[:'watermark_width']
  end

  if attributes.has_key?(:'width')
    self.width = attributes[:'width']
  end

  if attributes.has_key?(:'x264_options')
    self.x264_options = attributes[:'x264_options']
  end

  if attributes.has_key?(:'x265_options')
    self.x265_options = attributes[:'x265_options']
  end

  if attributes.has_key?(:'xdcam_format')
    self.xdcam_format = attributes[:'xdcam_format']
  end

  if attributes.has_key?(:'mute_audio_tracks')
    self.mute_audio_tracks = attributes[:'mute_audio_tracks']
  end

  if attributes.has_key?(:'byte_range_requests')
    self.byte_range_requests = attributes[:'byte_range_requests']
  end

  if attributes.has_key?(:'lang')
    self.lang = attributes[:'lang']
  end

  if attributes.has_key?(:'use_editlist')
    self.use_editlist = attributes[:'use_editlist']
  end

  if attributes.has_key?(:'audio_map')
    self.audio_map = attributes[:'audio_map']
  end

  if attributes.has_key?(:'audio_stream_id')
    self.audio_stream_id = attributes[:'audio_stream_id']
  end

  if attributes.has_key?(:'bumpers')
    self.bumpers = attributes[:'bumpers']
  end

  if attributes.has_key?(:'codec_preset')
    self.codec_preset = attributes[:'codec_preset']
  end

  if attributes.has_key?(:'color_metadata')
    self. = attributes[:'color_metadata']
  end

  if attributes.has_key?(:'crop_input_bottom')
    self.crop_input_bottom = attributes[:'crop_input_bottom']
  end

  if attributes.has_key?(:'crop_input_height')
    self.crop_input_height = attributes[:'crop_input_height']
  end

  if attributes.has_key?(:'crop_input_left')
    self.crop_input_left = attributes[:'crop_input_left']
  end

  if attributes.has_key?(:'crop_input_right')
    self.crop_input_right = attributes[:'crop_input_right']
  end

  if attributes.has_key?(:'crop_input_top')
    self.crop_input_top = attributes[:'crop_input_top']
  end

  if attributes.has_key?(:'crop_input_width')
    self.crop_input_width = attributes[:'crop_input_width']
  end

  if attributes.has_key?(:'dynamic_recipe')
    self.dynamic_recipe = attributes[:'dynamic_recipe']
  end

  if attributes.has_key?(:'playlist_type')
    self.playlist_type = attributes[:'playlist_type']
  end

  if attributes.has_key?(:'preset_version')
    self.preset_version = attributes[:'preset_version']
  end

  if attributes.has_key?(:'segment_delimiter')
    self.segment_delimiter = attributes[:'segment_delimiter']
  end

  if attributes.has_key?(:'sws_flags')
    self.sws_flags = attributes[:'sws_flags']
  end

  if attributes.has_key?(:'telestream_block_size')
    self.telestream_block_size = attributes[:'telestream_block_size']
  end

  if attributes.has_key?(:'telestream_blur_scaler')
    self.telestream_blur_scaler = attributes[:'telestream_blur_scaler']
  end

  if attributes.has_key?(:'telestream_cost_scaler')
    self.telestream_cost_scaler = attributes[:'telestream_cost_scaler']
  end

  if attributes.has_key?(:'telestream_search_length_scaler')
    self.telestream_search_length_scaler = attributes[:'telestream_search_length_scaler']
  end

  if attributes.has_key?(:'telestream_subpel_mode')
    self.telestream_subpel_mode = attributes[:'telestream_subpel_mode']
  end

  if attributes.has_key?(:'trailers')
    self.trailers = attributes[:'trailers']
  end

  if attributes.has_key?(:'vantage_group_id')
    self.vantage_group_id = attributes[:'vantage_group_id']
  end

  if attributes.has_key?(:'watermark_bumpers')
    self.watermark_bumpers = attributes[:'watermark_bumpers']
  end

  if attributes.has_key?(:'watermark_trailers')
    self.watermark_trailers = attributes[:'watermark_trailers']
  end

  if attributes.has_key?(:'workorder_criteria')
    self.workorder_criteria = attributes[:'workorder_criteria']
  end

  if attributes.has_key?(:'tachyon_allow_remove_pulldown')
    self.tachyon_allow_remove_pulldown = attributes[:'tachyon_allow_remove_pulldown']
  end

  if attributes.has_key?(:'tachyon_enable_post_pulldown_filter')
    self.tachyon_enable_post_pulldown_filter = attributes[:'tachyon_enable_post_pulldown_filter']
  end

  if attributes.has_key?(:'tachyon_media_hint_is_cartoon')
    self.tachyon_media_hint_is_cartoon = attributes[:'tachyon_media_hint_is_cartoon']
  end

  if attributes.has_key?(:'tachyon_media_hint_has_chroma_noise')
    self.tachyon_media_hint_has_chroma_noise = attributes[:'tachyon_media_hint_has_chroma_noise']
  end

  if attributes.has_key?(:'tachyon_more_sensitive_remove_pulldown')
    self.tachyon_more_sensitive_remove_pulldown = attributes[:'tachyon_more_sensitive_remove_pulldown']
  end

  if attributes.has_key?(:'tachyon_allow_add_standard_pd')
    self.tachyon_allow_add_standard_pd = attributes[:'tachyon_allow_add_standard_pd']
  end

  if attributes.has_key?(:'tachyon_allow_add_2_2pd')
    self.tachyon_allow_add_2_2pd = attributes[:'tachyon_allow_add_2_2pd']
  end

  if attributes.has_key?(:'tachyon_allow_add_4_4pd')
    self.tachyon_allow_add_4_4pd = attributes[:'tachyon_allow_add_4_4pd']
  end

  if attributes.has_key?(:'tachyon_allow_add_4_6pd')
    self.tachyon_allow_add_4_6pd = attributes[:'tachyon_allow_add_4_6pd']
  end

  if attributes.has_key?(:'tachyon_allow_add_euro_pd')
    self.tachyon_allow_add_euro_pd = attributes[:'tachyon_allow_add_euro_pd']
  end

  if attributes.has_key?(:'tachyon_allow_add_adaptive_pd')
    self.tachyon_allow_add_adaptive_pd = attributes[:'tachyon_allow_add_adaptive_pd']
  end

  if attributes.has_key?(:'tachyon_motion_amount')
    self.tachyon_motion_amount = attributes[:'tachyon_motion_amount']
  end

  if attributes.has_key?(:'tachyon_fallback_size')
    self.tachyon_fallback_size = attributes[:'tachyon_fallback_size']
  end

  if attributes.has_key?(:'tachyon_mblock_size')
    self.tachyon_mblock_size = attributes[:'tachyon_mblock_size']
  end

  if attributes.has_key?(:'tachyon_cut_detection_sensitivity')
    self.tachyon_cut_detection_sensitivity = attributes[:'tachyon_cut_detection_sensitivity']
  end

  if attributes.has_key?(:'eac3_evolution_enable')
    self.eac3_evolution_enable = attributes[:'eac3_evolution_enable']
  end

  if attributes.has_key?(:'eac3_bitstream_mode')
    self.eac3_bitstream_mode = attributes[:'eac3_bitstream_mode']
  end

  if attributes.has_key?(:'eac3_ninety_degree_phase_shift')
    self.eac3_ninety_degree_phase_shift = attributes[:'eac3_ninety_degree_phase_shift']
  end

  if attributes.has_key?(:'eac3_three_decibel_attenuation')
    self.eac3_three_decibel_attenuation = attributes[:'eac3_three_decibel_attenuation']
  end

  if attributes.has_key?(:'eac3_enable_lfe_low_pass_filter')
    self.eac3_enable_lfe_low_pass_filter = attributes[:'eac3_enable_lfe_low_pass_filter']
  end

  if attributes.has_key?(:'eac3_analog_to_digital_converter_type')
    self.eac3_analog_to_digital_converter_type = attributes[:'eac3_analog_to_digital_converter_type']
  end

  if attributes.has_key?(:'eac3_stereo_downmix_preference')
    self.eac3_stereo_downmix_preference = attributes[:'eac3_stereo_downmix_preference']
  end

  if attributes.has_key?(:'eac3_lt_rt_center_mix_level')
    self.eac3_lt_rt_center_mix_level = attributes[:'eac3_lt_rt_center_mix_level']
  end

  if attributes.has_key?(:'eac3_lt_rt_surround_mix_level')
    self.eac3_lt_rt_surround_mix_level = attributes[:'eac3_lt_rt_surround_mix_level']
  end

  if attributes.has_key?(:'eac3_lo_ro_center_mix_level')
    self.eac3_lo_ro_center_mix_level = attributes[:'eac3_lo_ro_center_mix_level']
  end

  if attributes.has_key?(:'eac3_lo_ro_surround_mix_level')
    self.eac3_lo_ro_surround_mix_level = attributes[:'eac3_lo_ro_surround_mix_level']
  end

  if attributes.has_key?(:'eac3_surround_ex_mode')
    self.eac3_surround_ex_mode = attributes[:'eac3_surround_ex_mode']
  end

  if attributes.has_key?(:'eac3_drc_line_mode_profile')
    self.eac3_drc_line_mode_profile = attributes[:'eac3_drc_line_mode_profile']
  end

  if attributes.has_key?(:'eac3_drc_rf_mode_profile')
    self.eac3_drc_rf_mode_profile = attributes[:'eac3_drc_rf_mode_profile']
  end

  if attributes.has_key?(:'eac3_dialog_normalization')
    self.eac3_dialog_normalization = attributes[:'eac3_dialog_normalization']
  end

  if attributes.has_key?(:'eac3_room_type')
    self.eac3_room_type = attributes[:'eac3_room_type']
  end

  if attributes.has_key?(:'eac3_mixing_level')
    self.eac3_mixing_level = attributes[:'eac3_mixing_level']
  end

  if attributes.has_key?(:'eac3_copyright_protected')
    self.eac3_copyright_protected = attributes[:'eac3_copyright_protected']
  end

  if attributes.has_key?(:'eac3_original_bitstream')
    self.eac3_original_bitstream = attributes[:'eac3_original_bitstream']
  end

  if attributes.has_key?(:'title')
    self.title = attributes[:'title']
  end

  if attributes.has_key?(:'time_code')
    self.time_code = attributes[:'time_code']
  end

end

Instance Attribute Details

#advanced_fps_conversionObject

todo



22
23
24
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 22

def advanced_fps_conversion
  @advanced_fps_conversion
end

#aspect_modeObject

Default is "letterbox".



25
26
27
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 25

def aspect_mode
  @aspect_mode
end

#aspect_ratioObject

Sets the desired display aspect ratio. By default it is not set.



28
29
30
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 28

def aspect_ratio
  @aspect_ratio
end

#audio_bitrateObject

audio bitrate (in bits/s)



31
32
33
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 31

def audio_bitrate
  @audio_bitrate
end

#audio_channelsObject

Sets the number of audio channels. By default it is not set.



34
35
36
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 34

def audio_channels
  @audio_channels
end

#audio_channels_layoutObject

A channel layout specifies the spatial disposition of the channels in a multi-channel audio stream.



37
38
39
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 37

def audio_channels_layout
  @audio_channels_layout
end

#audio_channels_per_trackObject

Sets the number of audio channels per track.



40
41
42
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 40

def audio_channels_per_track
  @audio_channels_per_track
end

#audio_codecObject

Audio codec that will be used by the profile.



43
44
45
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 43

def audio_codec
  @audio_codec
end

#audio_formatObject

Specifies an audio container.



46
47
48
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 46

def audio_format
  @audio_format
end

#audio_mapObject

Returns the value of attribute audio_map.



200
201
202
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 200

def audio_map
  @audio_map
end

#audio_pidObject

Packet identifier used by MPEG formats.



49
50
51
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 49

def audio_pid
  @audio_pid
end

#audio_profileObject

Sets an audio profile.



52
53
54
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 52

def audio_profile
  @audio_profile
end

#audio_sample_rateObject

The number of samples of audio carried per second.



55
56
57
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 55

def audio_sample_rate
  @audio_sample_rate
end

#audio_stream_idObject

Returns the value of attribute audio_stream_id.



202
203
204
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 202

def audio_stream_id
  @audio_stream_id
end

#audio_streamsObject

Sets the number of audio streams.



58
59
60
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 58

def audio_streams
  @audio_streams
end

#avcintra_classObject

class of the AVC-Intra video coding.



61
62
63
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 61

def avcintra_class
  @avcintra_class
end

#buffer_sizeObject

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.



64
65
66
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 64

def buffer_size
  @buffer_size
end

#buffer_size_in_packetsObject

todo



67
68
69
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 67

def buffer_size_in_packets
  @buffer_size_in_packets
end

#bumpersObject

Returns the value of attribute bumpers.



204
205
206
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 204

def bumpers
  @bumpers
end

#byte_range_requestsObject

Returns the value of attribute byte_range_requests.



194
195
196
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 194

def byte_range_requests
  @byte_range_requests
end

#clip_lengthObject

Sets the clip’s duration.



70
71
72
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 70

def clip_length
  @clip_length
end

#clip_offsetObject

Clip starts at a specific offset.



73
74
75
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 73

def clip_offset
  @clip_offset
end

#closed_captionsObject

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.



76
77
78
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 76

def closed_captions
  @closed_captions
end

#codec_presetObject

Determines a preset that is used by encoders.



207
208
209
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 207

def codec_preset
  @codec_preset
end

#color_metadataObject

Returns the value of attribute color_metadata.



209
210
211
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 209

def 
  @color_metadata
end

#crop_input_bottomObject

Distance (in pixels) from the bottom edge of the screen from which you want your crop to be done.



212
213
214
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 212

def crop_input_bottom
  @crop_input_bottom
end

#crop_input_heightObject

Width of the cropped image in pixels.



215
216
217
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 215

def crop_input_height
  @crop_input_height
end

#crop_input_leftObject

Distance (in pixels) from the left edge of the screen from which you want your crop to be done.



218
219
220
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 218

def crop_input_left
  @crop_input_left
end

#crop_input_rightObject

Distance (in pixels) from the right edge of the screen from which you want your crop to be done.



221
222
223
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 221

def crop_input_right
  @crop_input_right
end

#crop_input_topObject

Distance (in pixels) from the top edge of the screen from which you want your crop to be done.



224
225
226
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 224

def crop_input_top
  @crop_input_top
end

#crop_input_widthObject

Height of the cropped image in pixels.



227
228
229
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 227

def crop_input_width
  @crop_input_width
end

#dash_profileObject

Returns the value of attribute dash_profile.



78
79
80
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 78

def dash_profile
  @dash_profile
end

#deinterlaceObject

One of ‘keep_fps` or `double_fps`. By default it is not set.



81
82
83
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 81

def deinterlace
  @deinterlace
end

#deinterlace_framesObject

Returns the value of attribute deinterlace_frames.



83
84
85
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 83

def deinterlace_frames
  @deinterlace_frames
end

#dnxhd_typeObject

Returns the value of attribute dnxhd_type.



85
86
87
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 85

def dnxhd_type
  @dnxhd_type
end

#dynamic_recipeObject

Returns the value of attribute dynamic_recipe.



229
230
231
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 229

def dynamic_recipe
  @dynamic_recipe
end

#eac3_analog_to_digital_converter_typeObject

Allows audio that has passed through an A/D conversion stage to be marked as such.



320
321
322
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 320

def eac3_analog_to_digital_converter_type
  @eac3_analog_to_digital_converter_type
end

#eac3_bitstream_modeObject

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.



308
309
310
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 308

def eac3_bitstream_mode
  @eac3_bitstream_mode
end

Indicates whether the encoded bitstream is copyright protected.



354
355
356
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 354

def eac3_copyright_protected
  @eac3_copyright_protected
end

#eac3_dialog_normalizationObject

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.



346
347
348
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 346

def eac3_dialog_normalization
  @eac3_dialog_normalization
end

#eac3_drc_line_mode_profileObject

Dynamic Range Control for Line Mode.



340
341
342
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 340

def eac3_drc_line_mode_profile
  @eac3_drc_line_mode_profile
end

#eac3_drc_rf_mode_profileObject

Dynamic Range Control for RF Mode.



343
344
345
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 343

def eac3_drc_rf_mode_profile
  @eac3_drc_rf_mode_profile
end

#eac3_enable_lfe_low_pass_filterObject

Applies a 120 Hz eighth order lowpass filter to the LFE input prior to encoding.



317
318
319
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 317

def eac3_enable_lfe_low_pass_filter
  @eac3_enable_lfe_low_pass_filter
end

#eac3_evolution_enableObject

Enables the trusted metadata framework.



305
306
307
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 305

def eac3_evolution_enable
  @eac3_evolution_enable
end

#eac3_lo_ro_center_mix_levelObject

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.



331
332
333
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 331

def eac3_lo_ro_center_mix_level
  @eac3_lo_ro_center_mix_level
end

#eac3_lo_ro_surround_mix_levelObject

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.



334
335
336
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 334

def eac3_lo_ro_surround_mix_level
  @eac3_lo_ro_surround_mix_level
end

#eac3_lt_rt_center_mix_levelObject

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.



325
326
327
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 325

def eac3_lt_rt_center_mix_level
  @eac3_lt_rt_center_mix_level
end

#eac3_lt_rt_surround_mix_levelObject

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.



328
329
330
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 328

def eac3_lt_rt_surround_mix_level
  @eac3_lt_rt_surround_mix_level
end

#eac3_mixing_levelObject

Minimum value is 80, maximum is 111.



351
352
353
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 351

def eac3_mixing_level
  @eac3_mixing_level
end

#eac3_ninety_degree_phase_shiftObject

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.



311
312
313
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 311

def eac3_ninety_degree_phase_shift
  @eac3_ninety_degree_phase_shift
end

#eac3_original_bitstreamObject

Indicates whether the encoded bitstream is the master version, or a copy.



357
358
359
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 357

def eac3_original_bitstream
  @eac3_original_bitstream
end

#eac3_room_typeObject

Returns the value of attribute eac3_room_type.



348
349
350
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 348

def eac3_room_type
  @eac3_room_type
end

#eac3_stereo_downmix_preferenceObject

Returns the value of attribute eac3_stereo_downmix_preference.



322
323
324
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 322

def eac3_stereo_downmix_preference
  @eac3_stereo_downmix_preference
end

#eac3_surround_ex_modeObject

Indicates whether the audio stream was encoded using Dolby EX.



337
338
339
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 337

def eac3_surround_ex_mode
  @eac3_surround_ex_mode
end

#eac3_three_decibel_attenuationObject

Attenuates the surround channels by 3 dB before encoding.



314
315
316
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 314

def eac3_three_decibel_attenuation
  @eac3_three_decibel_attenuation
end

#encryptionObject

Returns the value of attribute encryption.



87
88
89
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 87

def encryption
  @encryption
end

#extnameObject

File extension.



90
91
92
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 90

def extname
  @extname
end

#fpsObject

Null value copy the original fps. By default it is not set.



93
94
95
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 93

def fps
  @fps
end

#frame_countObject

Evenly spaced number of generated screenshots. By default it is not set.



102
103
104
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 102

def frame_count
  @frame_count
end

#frame_intervalObject

Thumbnail interval (Frames or seconds).



99
100
101
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 99

def frame_interval
  @frame_interval
end

#frame_offsetsObject

Array of offsets (Frames or seconds).



96
97
98
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 96

def frame_offsets
  @frame_offsets
end

#h264_levelObject

A specified set of constraints that indicate a degree of required decoder performance for a profile.



105
106
107
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 105

def h264_level
  @h264_level
end

#h264_profileObject

Profiles represent a sub-set of the encoding techniques available in H.264.



108
109
110
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 108

def h264_profile
  @h264_profile
end

#h264_tuneObject

Use this option to change settings based upon the specifics of your input



111
112
113
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 111

def h264_tune
  @h264_tune
end

#heightObject

Height in pixels.



114
115
116
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 114

def height
  @height
end

#imx_typeObject

Returns the value of attribute imx_type.



116
117
118
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 116

def imx_type
  @imx_type
end

#interlaceObject

Returns the value of attribute interlace.



118
119
120
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 118

def interlace
  @interlace
end

#keyframe_intervalObject

Adds a key frame every N frames. Default is 250, adds a key frame every 250 frames.



121
122
123
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 121

def keyframe_interval
  @keyframe_interval
end

#keyframe_rateObject

todo



124
125
126
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 124

def keyframe_rate
  @keyframe_rate
end

#langObject

Returns the value of attribute lang.



196
197
198
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 196

def lang
  @lang
end

#max_rateObject

Set max bitrate tolerance (in bits/s). By default this is not set



127
128
129
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 127

def max_rate
  @max_rate
end

#merge_audio_streamsObject

Returns the value of attribute merge_audio_streams.



129
130
131
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 129

def merge_audio_streams
  @merge_audio_streams
end

#mute_audio_tracksObject

Remove audio from input video file. By default it is set to ‘false`.



192
193
194
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 192

def mute_audio_tracks
  @mute_audio_tracks
end

#nameObject

Unique machine-readable name that will identify the profile. Helpful later on for filtering encodings by profile.



132
133
134
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 132

def name
  @name
end

#outputs_path_formatObject

Specify the directory where the output files should be stored. By default it is not set. More information about this [here](cloud.telestream.net/docs#path-format—know-how).



135
136
137
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 135

def outputs_path_format
  @outputs_path_format
end

#playlist_typeObject

Returns the value of attribute playlist_type.



231
232
233
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 231

def playlist_type
  @playlist_type
end

#pmt_pidObject

Returns the value of attribute pmt_pid.



137
138
139
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 137

def pmt_pid
  @pmt_pid
end

#preset_nameObject

a name of a preset that a profile will use.



19
20
21
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 19

def preset_name
  @preset_name
end

#preset_versionObject

Returns the value of attribute preset_version.



233
234
235
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 233

def preset_version
  @preset_version
end

#prores_formatObject

Returns the value of attribute prores_format.



139
140
141
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 139

def prores_format
  @prores_format
end

#segment_delimiterObject

Returns the value of attribute segment_delimiter.



235
236
237
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 235

def segment_delimiter
  @segment_delimiter
end

#segment_timeObject

Returns the value of attribute segment_time.



141
142
143
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 141

def segment_time
  @segment_time
end

#sizeObject

Returns the value of attribute size.



143
144
145
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 143

def size
  @size
end

#sws_flagsObject

Returns the value of attribute sws_flags.



237
238
239
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 237

def sws_flags
  @sws_flags
end

#tachyon_allow_add_2_2pdObject

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.



279
280
281
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 279

def tachyon_allow_add_2_2pd
  @tachyon_allow_add_2_2pd
end

#tachyon_allow_add_4_4pdObject

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).



282
283
284
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 282

def tachyon_allow_add_4_4pd
  @tachyon_allow_add_4_4pd
end

#tachyon_allow_add_4_6pdObject

2:3 Insertion. inserts a standard 2:3 telecine pattern to 23.976p video stream to achieve a 29.97i frame rate



285
286
287
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 285

def tachyon_allow_add_4_6pd
  @tachyon_allow_add_4_6pd
end

#tachyon_allow_add_adaptive_pdObject

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.



291
292
293
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 291

def tachyon_allow_add_adaptive_pd
  @tachyon_allow_add_adaptive_pd
end

#tachyon_allow_add_euro_pdObject

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.



288
289
290
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 288

def tachyon_allow_add_euro_pd
  @tachyon_allow_add_euro_pd
end

#tachyon_allow_add_standard_pdObject

Returns the value of attribute tachyon_allow_add_standard_pd.



276
277
278
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 276

def tachyon_allow_add_standard_pd
  @tachyon_allow_add_standard_pd
end

#tachyon_allow_remove_pulldownObject

Enable more sensitive pulldown removal algorithm.



263
264
265
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 263

def tachyon_allow_remove_pulldown
  @tachyon_allow_remove_pulldown
end

#tachyon_cut_detection_sensitivityObject

Returns the value of attribute tachyon_cut_detection_sensitivity.



302
303
304
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 302

def tachyon_cut_detection_sensitivity
  @tachyon_cut_detection_sensitivity
end

#tachyon_enable_post_pulldown_filterObject

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.



266
267
268
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 266

def tachyon_enable_post_pulldown_filter
  @tachyon_enable_post_pulldown_filter
end

#tachyon_fallback_sizeObject

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.



297
298
299
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 297

def tachyon_fallback_size
  @tachyon_fallback_size
end

#tachyon_mblock_sizeObject

This option specifies the size of a motion block.



300
301
302
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 300

def tachyon_mblock_size
  @tachyon_mblock_size
end

#tachyon_media_hint_has_chroma_noiseObject

Remove chroma noise during the analysis of a video.



271
272
273
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 271

def tachyon_media_hint_has_chroma_noise
  @tachyon_media_hint_has_chroma_noise
end

#tachyon_media_hint_is_cartoonObject

Returns the value of attribute tachyon_media_hint_is_cartoon.



268
269
270
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 268

def tachyon_media_hint_is_cartoon
  @tachyon_media_hint_is_cartoon
end

#tachyon_more_sensitive_remove_pulldownObject

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.



274
275
276
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 274

def tachyon_more_sensitive_remove_pulldown
  @tachyon_more_sensitive_remove_pulldown
end

#tachyon_motion_amountObject

This setting determines how much Tachyon will trust motion vectors in the creation of new images



294
295
296
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 294

def tachyon_motion_amount
  @tachyon_motion_amount
end

#tarObject

Returns the value of attribute tar.



145
146
147
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 145

def tar
  @tar
end

#telestream_block_sizeObject

Returns the value of attribute telestream_block_size.



239
240
241
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 239

def telestream_block_size
  @telestream_block_size
end

#telestream_blur_scalerObject

Minimum value is 0, maximum is 4.



242
243
244
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 242

def telestream_blur_scaler
  @telestream_blur_scaler
end

#telestream_cost_scalerObject

Minimum value is 0, maximum is 4.



245
246
247
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 245

def telestream_cost_scaler
  @telestream_cost_scaler
end

#telestream_search_length_scalerObject

Minimum value is 0, maximum is 2.



248
249
250
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 248

def telestream_search_length_scaler
  @telestream_search_length_scaler
end

#telestream_subpel_modeObject

Returns the value of attribute telestream_subpel_mode.



250
251
252
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 250

def telestream_subpel_mode
  @telestream_subpel_mode
end

#time_codeObject

If set, timestamps will be added to your videos. By default this is not set.



363
364
365
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 363

def time_code
  @time_code
end

#titleObject

Human-readable name.



360
361
362
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 360

def title
  @title
end

#trailersObject

Returns the value of attribute trailers.



252
253
254
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 252

def trailers
  @trailers
end

#transport_rateObject

Returns the value of attribute transport_rate.



147
148
149
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 147

def transport_rate
  @transport_rate
end

#ts_pidsObject

Returns the value of attribute ts_pids.



149
150
151
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 149

def ts_pids
  @ts_pids
end

#upscaleObject

Upscale the video resolution to match your profile. Default is ‘true`.



152
153
154
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 152

def upscale
  @upscale
end

#use_editlistObject

Returns the value of attribute use_editlist.



198
199
200
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 198

def use_editlist
  @use_editlist
end

#vantage_group_idObject

Returns the value of attribute vantage_group_id.



254
255
256
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 254

def vantage_group_id
  @vantage_group_id
end

#variantsObject

Pattern utilised to match HLS.Variant presets by name. Default is hls.*.



155
156
157
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 155

def variants
  @variants
end

#video_bitrateObject

Returns the value of attribute video_bitrate.



157
158
159
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 157

def video_bitrate
  @video_bitrate
end

#video_pidObject

Returns the value of attribute video_pid.



159
160
161
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 159

def video_pid
  @video_pid
end

#watermark_bottomObject

Distance from the bottom of the video frame in pixels or percentage of video frame height. Works like CSS. Default is ‘0`.



162
163
164
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 162

def watermark_bottom
  @watermark_bottom
end

#watermark_bumpersObject

Returns the value of attribute watermark_bumpers.



256
257
258
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 256

def watermark_bumpers
  @watermark_bumpers
end

#watermark_heightObject

Height of the watermark image in pixels or percentage of video frame height. Default is no resizing



165
166
167
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 165

def watermark_height
  @watermark_height
end

#watermark_leftObject

Distance from the left of the video frame in pixels or percentage of video frame width. Works like CSS. Default is ‘0`.



168
169
170
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 168

def watermark_left
  @watermark_left
end

#watermark_rightObject

Distance from the right of the video frame in pixels or percentage of video frame width. Works like CSS. Default is ‘0`.



171
172
173
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 171

def watermark_right
  @watermark_right
end

#watermark_topObject

Distance from the top of the video frame in pixels or percentage of video frame height. Works like CSS. Default is ‘0`.



174
175
176
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 174

def watermark_top
  @watermark_top
end

#watermark_trailersObject

Returns the value of attribute watermark_trailers.



258
259
260
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 258

def watermark_trailers
  @watermark_trailers
end

#watermark_urlObject

Url of a watermark image.



177
178
179
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 177

def watermark_url
  @watermark_url
end

#watermark_widthObject

Width of the watermark image in pixels or percentage of video frame width. Default is ‘no resizing`.



180
181
182
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 180

def watermark_width
  @watermark_width
end

#widthObject

Width in pixels.



183
184
185
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 183

def width
  @width
end

#workorder_criteriaObject

Returns the value of attribute workorder_criteria.



260
261
262
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 260

def workorder_criteria
  @workorder_criteria
end

#x264_optionsObject

Returns the value of attribute x264_options.



185
186
187
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 185

def x264_options
  @x264_options
end

#x265_optionsObject

Returns the value of attribute x265_options.



187
188
189
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 187

def x265_options
  @x265_options
end

#xdcam_formatObject

Returns the value of attribute xdcam_format.



189
190
191
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 189

def xdcam_format
  @xdcam_format
end

Class Method Details

.attribute_mapObject

Attribute mapping from ruby-style variable name to JSON key.



388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 388

def self.attribute_map
  {
    :'preset_name' => :'preset_name',
    :'advanced_fps_conversion' => :'advanced_fps_conversion',
    :'aspect_mode' => :'aspect_mode',
    :'aspect_ratio' => :'aspect_ratio',
    :'audio_bitrate' => :'audio_bitrate',
    :'audio_channels' => :'audio_channels',
    :'audio_channels_layout' => :'audio_channels_layout',
    :'audio_channels_per_track' => :'audio_channels_per_track',
    :'audio_codec' => :'audio_codec',
    :'audio_format' => :'audio_format',
    :'audio_pid' => :'audio_pid',
    :'audio_profile' => :'audio_profile',
    :'audio_sample_rate' => :'audio_sample_rate',
    :'audio_streams' => :'audio_streams',
    :'avcintra_class' => :'avcintra_class',
    :'buffer_size' => :'buffer_size',
    :'buffer_size_in_packets' => :'buffer_size_in_packets',
    :'clip_length' => :'clip_length',
    :'clip_offset' => :'clip_offset',
    :'closed_captions' => :'closed_captions',
    :'dash_profile' => :'dash_profile',
    :'deinterlace' => :'deinterlace',
    :'deinterlace_frames' => :'deinterlace_frames',
    :'dnxhd_type' => :'dnxhd_type',
    :'encryption' => :'encryption',
    :'extname' => :'extname',
    :'fps' => :'fps',
    :'frame_offsets' => :'frame_offsets',
    :'frame_interval' => :'frame_interval',
    :'frame_count' => :'frame_count',
    :'h264_level' => :'h264_level',
    :'h264_profile' => :'h264_profile',
    :'h264_tune' => :'h264_tune',
    :'height' => :'height',
    :'imx_type' => :'imx_type',
    :'interlace' => :'interlace',
    :'keyframe_interval' => :'keyframe_interval',
    :'keyframe_rate' => :'keyframe_rate',
    :'max_rate' => :'max_rate',
    :'merge_audio_streams' => :'merge_audio_streams',
    :'name' => :'name',
    :'outputs_path_format' => :'outputs_path_format',
    :'pmt_pid' => :'pmt_pid',
    :'prores_format' => :'prores_format',
    :'segment_time' => :'segment_time',
    :'size' => :'size',
    :'tar' => :'tar',
    :'transport_rate' => :'transport_rate',
    :'ts_pids' => :'ts_pids',
    :'upscale' => :'upscale',
    :'variants' => :'variants',
    :'video_bitrate' => :'video_bitrate',
    :'video_pid' => :'video_pid',
    :'watermark_bottom' => :'watermark_bottom',
    :'watermark_height' => :'watermark_height',
    :'watermark_left' => :'watermark_left',
    :'watermark_right' => :'watermark_right',
    :'watermark_top' => :'watermark_top',
    :'watermark_url' => :'watermark_url',
    :'watermark_width' => :'watermark_width',
    :'width' => :'width',
    :'x264_options' => :'x264_options',
    :'x265_options' => :'x265_options',
    :'xdcam_format' => :'xdcam_format',
    :'mute_audio_tracks' => :'mute_audio_tracks',
    :'byte_range_requests' => :'byte_range_requests',
    :'lang' => :'lang',
    :'use_editlist' => :'use_editlist',
    :'audio_map' => :'audio_map',
    :'audio_stream_id' => :'audio_stream_id',
    :'bumpers' => :'bumpers',
    :'codec_preset' => :'codec_preset',
    :'color_metadata' => :'color_metadata',
    :'crop_input_bottom' => :'crop_input_bottom',
    :'crop_input_height' => :'crop_input_height',
    :'crop_input_left' => :'crop_input_left',
    :'crop_input_right' => :'crop_input_right',
    :'crop_input_top' => :'crop_input_top',
    :'crop_input_width' => :'crop_input_width',
    :'dynamic_recipe' => :'dynamic_recipe',
    :'playlist_type' => :'playlist_type',
    :'preset_version' => :'preset_version',
    :'segment_delimiter' => :'segment_delimiter',
    :'sws_flags' => :'sws_flags',
    :'telestream_block_size' => :'telestream_block_size',
    :'telestream_blur_scaler' => :'telestream_blur_scaler',
    :'telestream_cost_scaler' => :'telestream_cost_scaler',
    :'telestream_search_length_scaler' => :'telestream_search_length_scaler',
    :'telestream_subpel_mode' => :'telestream_subpel_mode',
    :'trailers' => :'trailers',
    :'vantage_group_id' => :'vantage_group_id',
    :'watermark_bumpers' => :'watermark_bumpers',
    :'watermark_trailers' => :'watermark_trailers',
    :'workorder_criteria' => :'workorder_criteria',
    :'tachyon_allow_remove_pulldown' => :'tachyon_allow_remove_pulldown',
    :'tachyon_enable_post_pulldown_filter' => :'tachyon_enable_post_pulldown_filter',
    :'tachyon_media_hint_is_cartoon' => :'tachyon_media_hint_is_cartoon',
    :'tachyon_media_hint_has_chroma_noise' => :'tachyon_media_hint_has_chroma_noise',
    :'tachyon_more_sensitive_remove_pulldown' => :'tachyon_more_sensitive_remove_pulldown',
    :'tachyon_allow_add_standard_pd' => :'tachyon_allow_add_standard_pd',
    :'tachyon_allow_add_2_2pd' => :'tachyon_allow_add_2_2pd',
    :'tachyon_allow_add_4_4pd' => :'tachyon_allow_add_4_4pd',
    :'tachyon_allow_add_4_6pd' => :'tachyon_allow_add_4_6pd',
    :'tachyon_allow_add_euro_pd' => :'tachyon_allow_add_euro_pd',
    :'tachyon_allow_add_adaptive_pd' => :'tachyon_allow_add_adaptive_pd',
    :'tachyon_motion_amount' => :'tachyon_motion_amount',
    :'tachyon_fallback_size' => :'tachyon_fallback_size',
    :'tachyon_mblock_size' => :'tachyon_mblock_size',
    :'tachyon_cut_detection_sensitivity' => :'tachyon_cut_detection_sensitivity',
    :'eac3_evolution_enable' => :'eac3_evolution_enable',
    :'eac3_bitstream_mode' => :'eac3_bitstream_mode',
    :'eac3_ninety_degree_phase_shift' => :'eac3_ninety_degree_phase_shift',
    :'eac3_three_decibel_attenuation' => :'eac3_three_decibel_attenuation',
    :'eac3_enable_lfe_low_pass_filter' => :'eac3_enable_lfe_low_pass_filter',
    :'eac3_analog_to_digital_converter_type' => :'eac3_analog_to_digital_converter_type',
    :'eac3_stereo_downmix_preference' => :'eac3_stereo_downmix_preference',
    :'eac3_lt_rt_center_mix_level' => :'eac3_lt_rt_center_mix_level',
    :'eac3_lt_rt_surround_mix_level' => :'eac3_lt_rt_surround_mix_level',
    :'eac3_lo_ro_center_mix_level' => :'eac3_lo_ro_center_mix_level',
    :'eac3_lo_ro_surround_mix_level' => :'eac3_lo_ro_surround_mix_level',
    :'eac3_surround_ex_mode' => :'eac3_surround_ex_mode',
    :'eac3_drc_line_mode_profile' => :'eac3_drc_line_mode_profile',
    :'eac3_drc_rf_mode_profile' => :'eac3_drc_rf_mode_profile',
    :'eac3_dialog_normalization' => :'eac3_dialog_normalization',
    :'eac3_room_type' => :'eac3_room_type',
    :'eac3_mixing_level' => :'eac3_mixing_level',
    :'eac3_copyright_protected' => :'eac3_copyright_protected',
    :'eac3_original_bitstream' => :'eac3_original_bitstream',
    :'title' => :'title',
    :'time_code' => :'time_code'
  }
end

.swagger_typesObject

Attribute type mapping.



524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 524

def self.swagger_types
  {
    :'preset_name' => :'String',
    :'advanced_fps_conversion' => :'String',
    :'aspect_mode' => :'String',
    :'aspect_ratio' => :'String',
    :'audio_bitrate' => :'Integer',
    :'audio_channels' => :'Integer',
    :'audio_channels_layout' => :'String',
    :'audio_channels_per_track' => :'String',
    :'audio_codec' => :'String',
    :'audio_format' => :'String',
    :'audio_pid' => :'String',
    :'audio_profile' => :'String',
    :'audio_sample_rate' => :'Integer',
    :'audio_streams' => :'Integer',
    :'avcintra_class' => :'String',
    :'buffer_size' => :'String',
    :'buffer_size_in_packets' => :'String',
    :'clip_length' => :'String',
    :'clip_offset' => :'String',
    :'closed_captions' => :'String',
    :'dash_profile' => :'String',
    :'deinterlace' => :'String',
    :'deinterlace_frames' => :'String',
    :'dnxhd_type' => :'String',
    :'encryption' => :'BOOLEAN',
    :'extname' => :'String',
    :'fps' => :'Float',
    :'frame_offsets' => :'String',
    :'frame_interval' => :'String',
    :'frame_count' => :'Integer',
    :'h264_level' => :'String',
    :'h264_profile' => :'String',
    :'h264_tune' => :'String',
    :'height' => :'Integer',
    :'imx_type' => :'String',
    :'interlace' => :'String',
    :'keyframe_interval' => :'Integer',
    :'keyframe_rate' => :'Float',
    :'max_rate' => :'Integer',
    :'merge_audio_streams' => :'String',
    :'name' => :'String',
    :'outputs_path_format' => :'String',
    :'pmt_pid' => :'String',
    :'prores_format' => :'String',
    :'segment_time' => :'String',
    :'size' => :'String',
    :'tar' => :'BOOLEAN',
    :'transport_rate' => :'String',
    :'ts_pids' => :'String',
    :'upscale' => :'BOOLEAN',
    :'variants' => :'String',
    :'video_bitrate' => :'Integer',
    :'video_pid' => :'String',
    :'watermark_bottom' => :'String',
    :'watermark_height' => :'String',
    :'watermark_left' => :'String',
    :'watermark_right' => :'String',
    :'watermark_top' => :'String',
    :'watermark_url' => :'String',
    :'watermark_width' => :'String',
    :'width' => :'Integer',
    :'x264_options' => :'String',
    :'x265_options' => :'String',
    :'xdcam_format' => :'String',
    :'mute_audio_tracks' => :'BOOLEAN',
    :'byte_range_requests' => :'String',
    :'lang' => :'String',
    :'use_editlist' => :'String',
    :'audio_map' => :'String',
    :'audio_stream_id' => :'String',
    :'bumpers' => :'String',
    :'codec_preset' => :'String',
    :'color_metadata' => :'String',
    :'crop_input_bottom' => :'String',
    :'crop_input_height' => :'String',
    :'crop_input_left' => :'String',
    :'crop_input_right' => :'String',
    :'crop_input_top' => :'String',
    :'crop_input_width' => :'String',
    :'dynamic_recipe' => :'String',
    :'playlist_type' => :'String',
    :'preset_version' => :'String',
    :'segment_delimiter' => :'String',
    :'sws_flags' => :'String',
    :'telestream_block_size' => :'String',
    :'telestream_blur_scaler' => :'String',
    :'telestream_cost_scaler' => :'String',
    :'telestream_search_length_scaler' => :'String',
    :'telestream_subpel_mode' => :'String',
    :'trailers' => :'String',
    :'vantage_group_id' => :'String',
    :'watermark_bumpers' => :'String',
    :'watermark_trailers' => :'String',
    :'workorder_criteria' => :'Object',
    :'tachyon_allow_remove_pulldown' => :'BOOLEAN',
    :'tachyon_enable_post_pulldown_filter' => :'BOOLEAN',
    :'tachyon_media_hint_is_cartoon' => :'BOOLEAN',
    :'tachyon_media_hint_has_chroma_noise' => :'BOOLEAN',
    :'tachyon_more_sensitive_remove_pulldown' => :'BOOLEAN',
    :'tachyon_allow_add_standard_pd' => :'BOOLEAN',
    :'tachyon_allow_add_2_2pd' => :'BOOLEAN',
    :'tachyon_allow_add_4_4pd' => :'BOOLEAN',
    :'tachyon_allow_add_4_6pd' => :'BOOLEAN',
    :'tachyon_allow_add_euro_pd' => :'BOOLEAN',
    :'tachyon_allow_add_adaptive_pd' => :'BOOLEAN',
    :'tachyon_motion_amount' => :'String',
    :'tachyon_fallback_size' => :'String',
    :'tachyon_mblock_size' => :'String',
    :'tachyon_cut_detection_sensitivity' => :'Float',
    :'eac3_evolution_enable' => :'BOOLEAN',
    :'eac3_bitstream_mode' => :'String',
    :'eac3_ninety_degree_phase_shift' => :'BOOLEAN',
    :'eac3_three_decibel_attenuation' => :'BOOLEAN',
    :'eac3_enable_lfe_low_pass_filter' => :'BOOLEAN',
    :'eac3_analog_to_digital_converter_type' => :'String',
    :'eac3_stereo_downmix_preference' => :'String',
    :'eac3_lt_rt_center_mix_level' => :'String',
    :'eac3_lt_rt_surround_mix_level' => :'String',
    :'eac3_lo_ro_center_mix_level' => :'String',
    :'eac3_lo_ro_surround_mix_level' => :'String',
    :'eac3_surround_ex_mode' => :'String',
    :'eac3_drc_line_mode_profile' => :'String',
    :'eac3_drc_rf_mode_profile' => :'String',
    :'eac3_dialog_normalization' => :'Integer',
    :'eac3_room_type' => :'String',
    :'eac3_mixing_level' => :'Integer',
    :'eac3_copyright_protected' => :'BOOLEAN',
    :'eac3_original_bitstream' => :'BOOLEAN',
    :'title' => :'String',
    :'time_code' => :'BOOLEAN'
  }
end

Instance Method Details

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 1509

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      preset_name == o.preset_name &&
      advanced_fps_conversion == o.advanced_fps_conversion &&
      aspect_mode == o.aspect_mode &&
      aspect_ratio == o.aspect_ratio &&
      audio_bitrate == o.audio_bitrate &&
      audio_channels == o.audio_channels &&
      audio_channels_layout == o.audio_channels_layout &&
      audio_channels_per_track == o.audio_channels_per_track &&
      audio_codec == o.audio_codec &&
      audio_format == o.audio_format &&
      audio_pid == o.audio_pid &&
      audio_profile == o.audio_profile &&
      audio_sample_rate == o.audio_sample_rate &&
      audio_streams == o.audio_streams &&
      avcintra_class == o.avcintra_class &&
      buffer_size == o.buffer_size &&
      buffer_size_in_packets == o.buffer_size_in_packets &&
      clip_length == o.clip_length &&
      clip_offset == o.clip_offset &&
      closed_captions == o.closed_captions &&
      dash_profile == o.dash_profile &&
      deinterlace == o.deinterlace &&
      deinterlace_frames == o.deinterlace_frames &&
      dnxhd_type == o.dnxhd_type &&
      encryption == o.encryption &&
      extname == o.extname &&
      fps == o.fps &&
      frame_offsets == o.frame_offsets &&
      frame_interval == o.frame_interval &&
      frame_count == o.frame_count &&
      h264_level == o.h264_level &&
      h264_profile == o.h264_profile &&
      h264_tune == o.h264_tune &&
      height == o.height &&
      imx_type == o.imx_type &&
      interlace == o.interlace &&
      keyframe_interval == o.keyframe_interval &&
      keyframe_rate == o.keyframe_rate &&
      max_rate == o.max_rate &&
      merge_audio_streams == o.merge_audio_streams &&
      name == o.name &&
      outputs_path_format == o.outputs_path_format &&
      pmt_pid == o.pmt_pid &&
      prores_format == o.prores_format &&
      segment_time == o.segment_time &&
      size == o.size &&
      tar == o.tar &&
      transport_rate == o.transport_rate &&
      ts_pids == o.ts_pids &&
      upscale == o.upscale &&
      variants == o.variants &&
      video_bitrate == o.video_bitrate &&
      video_pid == o.video_pid &&
      watermark_bottom == o.watermark_bottom &&
      watermark_height == o.watermark_height &&
      watermark_left == o.watermark_left &&
      watermark_right == o.watermark_right &&
      watermark_top == o.watermark_top &&
      watermark_url == o.watermark_url &&
      watermark_width == o.watermark_width &&
      width == o.width &&
      x264_options == o.x264_options &&
      x265_options == o.x265_options &&
      xdcam_format == o.xdcam_format &&
      mute_audio_tracks == o.mute_audio_tracks &&
      byte_range_requests == o.byte_range_requests &&
      lang == o.lang &&
      use_editlist == o.use_editlist &&
      audio_map == o.audio_map &&
      audio_stream_id == o.audio_stream_id &&
      bumpers == o.bumpers &&
      codec_preset == o.codec_preset &&
       == o. &&
      crop_input_bottom == o.crop_input_bottom &&
      crop_input_height == o.crop_input_height &&
      crop_input_left == o.crop_input_left &&
      crop_input_right == o.crop_input_right &&
      crop_input_top == o.crop_input_top &&
      crop_input_width == o.crop_input_width &&
      dynamic_recipe == o.dynamic_recipe &&
      playlist_type == o.playlist_type &&
      preset_version == o.preset_version &&
      segment_delimiter == o.segment_delimiter &&
      sws_flags == o.sws_flags &&
      telestream_block_size == o.telestream_block_size &&
      telestream_blur_scaler == o.telestream_blur_scaler &&
      telestream_cost_scaler == o.telestream_cost_scaler &&
      telestream_search_length_scaler == o.telestream_search_length_scaler &&
      telestream_subpel_mode == o.telestream_subpel_mode &&
      trailers == o.trailers &&
      vantage_group_id == o.vantage_group_id &&
      watermark_bumpers == o.watermark_bumpers &&
      watermark_trailers == o.watermark_trailers &&
      workorder_criteria == o.workorder_criteria &&
      tachyon_allow_remove_pulldown == o.tachyon_allow_remove_pulldown &&
      tachyon_enable_post_pulldown_filter == o.tachyon_enable_post_pulldown_filter &&
      tachyon_media_hint_is_cartoon == o.tachyon_media_hint_is_cartoon &&
      tachyon_media_hint_has_chroma_noise == o.tachyon_media_hint_has_chroma_noise &&
      tachyon_more_sensitive_remove_pulldown == o.tachyon_more_sensitive_remove_pulldown &&
      tachyon_allow_add_standard_pd == o.tachyon_allow_add_standard_pd &&
      tachyon_allow_add_2_2pd == o.tachyon_allow_add_2_2pd &&
      tachyon_allow_add_4_4pd == o.tachyon_allow_add_4_4pd &&
      tachyon_allow_add_4_6pd == o.tachyon_allow_add_4_6pd &&
      tachyon_allow_add_euro_pd == o.tachyon_allow_add_euro_pd &&
      tachyon_allow_add_adaptive_pd == o.tachyon_allow_add_adaptive_pd &&
      tachyon_motion_amount == o.tachyon_motion_amount &&
      tachyon_fallback_size == o.tachyon_fallback_size &&
      tachyon_mblock_size == o.tachyon_mblock_size &&
      tachyon_cut_detection_sensitivity == o.tachyon_cut_detection_sensitivity &&
      eac3_evolution_enable == o.eac3_evolution_enable &&
      eac3_bitstream_mode == o.eac3_bitstream_mode &&
      eac3_ninety_degree_phase_shift == o.eac3_ninety_degree_phase_shift &&
      eac3_three_decibel_attenuation == o.eac3_three_decibel_attenuation &&
      eac3_enable_lfe_low_pass_filter == o.eac3_enable_lfe_low_pass_filter &&
      eac3_analog_to_digital_converter_type == o.eac3_analog_to_digital_converter_type &&
      eac3_stereo_downmix_preference == o.eac3_stereo_downmix_preference &&
      eac3_lt_rt_center_mix_level == o.eac3_lt_rt_center_mix_level &&
      eac3_lt_rt_surround_mix_level == o.eac3_lt_rt_surround_mix_level &&
      eac3_lo_ro_center_mix_level == o.eac3_lo_ro_center_mix_level &&
      eac3_lo_ro_surround_mix_level == o.eac3_lo_ro_surround_mix_level &&
      eac3_surround_ex_mode == o.eac3_surround_ex_mode &&
      eac3_drc_line_mode_profile == o.eac3_drc_line_mode_profile &&
      eac3_drc_rf_mode_profile == o.eac3_drc_rf_mode_profile &&
      eac3_dialog_normalization == o.eac3_dialog_normalization &&
      eac3_room_type == o.eac3_room_type &&
      eac3_mixing_level == o.eac3_mixing_level &&
      eac3_copyright_protected == o.eac3_copyright_protected &&
      eac3_original_bitstream == o.eac3_original_bitstream &&
      title == o.title &&
      time_code == o.time_code
end

#_deserialize(type, value) ⇒ Object

Deserializes the data based on type

Parameters:

  • string

    type Data type

  • string

    value Value to be deserialized

Returns:

  • (Object)

    Deserialized data



1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 1680

def _deserialize(type, value)
  case type.to_sym
  when :DateTime
    DateTime.parse(value)
  when :Date
    Date.parse(value)
  when :String
    value.to_s
  when :Integer
    value.to_i
  when :Float
    value.to_f
  when :BOOLEAN
    if value.to_s =~ /\A(true|t|yes|y|1)\z/i
      true
    else
      false
    end
  when :Object
    # generic object (usually a Hash), return directly
    value
  when /\AArray<(?<inner_type>.+)>\z/
    inner_type = Regexp.last_match[:inner_type]
    value.map { |v| _deserialize(inner_type, v) }
  when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
    k_type = Regexp.last_match[:k_type]
    v_type = Regexp.last_match[:v_type]
    {}.tap do |hash|
      value.each do |k, v|
        hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
      end
    end
  else # model
    temp_model = TelestreamCloud::Flip.const_get(type).new
    temp_model.build_from_hash(value)
  end
end

#_to_hash(value) ⇒ Hash

Outputs non-array value in the form of hash For object, use to_hash. Otherwise, just return the value

Parameters:

  • value (Object)

    Any valid value

Returns:

  • (Hash)

    Returns the value in the form of hash



1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 1746

def _to_hash(value)
  if value.is_a?(Array)
    value.compact.map{ |v| _to_hash(v) }
  elsif value.is_a?(Hash)
    {}.tap do |hash|
      value.each { |k, v| hash[k] = _to_hash(v) }
    end
  elsif value.respond_to? :to_hash
    value.to_hash
  else
    value
  end
end

#build_from_hash(attributes) ⇒ Object

Builds the object from hash

Parameters:

  • attributes (Hash)

    Model attributes in the form of hash

Returns:

  • (Object)

    Returns the model itself



1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 1659

def build_from_hash(attributes)
  return nil unless attributes.is_a?(Hash)
  self.class.swagger_types.each_pair do |key, type|
    if type =~ /\AArray<(.*)>/i
      # check to ensure the input is an array given that the the attribute
      # is documented as an array but the input is not
      if attributes[self.class.attribute_map[key]].is_a?(Array)
        self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } )
      end
    elsif !attributes[self.class.attribute_map[key]].nil?
      self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
    end # or else data not found in attributes(hash), not an issue as the data can be optional
  end

  self
end

#eql?(o) ⇒ Boolean

Parameters:

  • Object (Object)

    to be compared

Returns:

  • (Boolean)

See Also:

  • `==` method


1646
1647
1648
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 1646

def eql?(o)
  self == o
end

#hashFixnum

Calculates hash code according to all attributes.

Returns:

  • (Fixnum)

    Hash code



1652
1653
1654
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 1652

def hash
  [preset_name, advanced_fps_conversion, aspect_mode, aspect_ratio, audio_bitrate, audio_channels, audio_channels_layout, audio_channels_per_track, audio_codec, audio_format, audio_pid, audio_profile, audio_sample_rate, audio_streams, avcintra_class, buffer_size, buffer_size_in_packets, clip_length, clip_offset, closed_captions, dash_profile, deinterlace, deinterlace_frames, dnxhd_type, encryption, extname, fps, frame_offsets, frame_interval, frame_count, h264_level, h264_profile, h264_tune, height, imx_type, interlace, keyframe_interval, keyframe_rate, max_rate, merge_audio_streams, name, outputs_path_format, pmt_pid, prores_format, segment_time, size, tar, transport_rate, ts_pids, upscale, variants, video_bitrate, video_pid, watermark_bottom, watermark_height, watermark_left, watermark_right, watermark_top, watermark_url, watermark_width, width, x264_options, x265_options, xdcam_format, mute_audio_tracks, byte_range_requests, lang, use_editlist, audio_map, audio_stream_id, bumpers, codec_preset, , crop_input_bottom, crop_input_height, crop_input_left, crop_input_right, crop_input_top, crop_input_width, dynamic_recipe, playlist_type, preset_version, segment_delimiter, sws_flags, telestream_block_size, telestream_blur_scaler, telestream_cost_scaler, telestream_search_length_scaler, telestream_subpel_mode, trailers, vantage_group_id, watermark_bumpers, watermark_trailers, workorder_criteria, tachyon_allow_remove_pulldown, tachyon_enable_post_pulldown_filter, tachyon_media_hint_is_cartoon, tachyon_media_hint_has_chroma_noise, tachyon_more_sensitive_remove_pulldown, tachyon_allow_add_standard_pd, tachyon_allow_add_2_2pd, tachyon_allow_add_4_4pd, tachyon_allow_add_4_6pd, tachyon_allow_add_euro_pd, tachyon_allow_add_adaptive_pd, tachyon_motion_amount, tachyon_fallback_size, tachyon_mblock_size, tachyon_cut_detection_sensitivity, eac3_evolution_enable, eac3_bitstream_mode, eac3_ninety_degree_phase_shift, eac3_three_decibel_attenuation, eac3_enable_lfe_low_pass_filter, eac3_analog_to_digital_converter_type, eac3_stereo_downmix_preference, eac3_lt_rt_center_mix_level, eac3_lt_rt_surround_mix_level, eac3_lo_ro_center_mix_level, eac3_lo_ro_surround_mix_level, eac3_surround_ex_mode, eac3_drc_line_mode_profile, eac3_drc_rf_mode_profile, eac3_dialog_normalization, eac3_room_type, eac3_mixing_level, eac3_copyright_protected, eac3_original_bitstream, title, time_code].hash
end

#list_invalid_propertiesObject

Show invalid properties with the reasons. Usually used together with valid?

Returns:

  • Array for valid properties with the reasons



1191
1192
1193
1194
1195
1196
1197
1198
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 1191

def list_invalid_properties
  invalid_properties = Array.new
  if @preset_name.nil?
    invalid_properties.push("invalid value for 'preset_name', preset_name cannot be nil.")
  end

  return invalid_properties
end

#to_bodyHash

to_body is an alias to to_hash (backward compatibility)

Returns:

  • (Hash)

    Returns the object in the form of hash



1726
1727
1728
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 1726

def to_body
  to_hash
end

#to_hashHash

Returns the object in the form of hash

Returns:

  • (Hash)

    Returns the object in the form of hash



1732
1733
1734
1735
1736
1737
1738
1739
1740
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 1732

def to_hash
  hash = {}
  self.class.attribute_map.each_pair do |attr, param|
    value = self.send(attr)
    next if value.nil?
    hash[param] = _to_hash(value)
  end
  hash
end

#to_sString

Returns the string representation of the object

Returns:

  • (String)

    String presentation of the object



1720
1721
1722
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 1720

def to_s
  to_hash.to_s
end

#valid?Boolean

Check to see if the all the properties in the model are valid

Returns:

  • (Boolean)

    true if the model is valid



1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
# File 'lib/telestream_cloud_flip/models/profile_body.rb', line 1202

def valid?
  return false if @preset_name.nil?
  preset_name_validator = EnumAttributeValidator.new('String', ["aac", "avc.intra", "crocodoc", "dash.variant", "dash.variant.audio", "dash.variant.webvtt", "dash.variant.ttml", "dash.variant.playlist", "dash.variant.nvenc", "dash.muxer", "dash.muxer.audio", "dnxhd", "h264", "h264.baseline", "h264.nvenc.telestream.mov", "h264.nvenc", "h265", "h265.4K", "hls.muxer", "hls.muxer.audio", "hls.variant", "hls.variant.audio", "hls.variant.playlist", "hls.variant.nvenc", "hls.variant.webvtt", "hss", "hss.variant", "hss.variant.audio", "hss.variant.playlist", "imx", "iphone_and_ipad", "jpeg", "m4a", "mp3", "mpeg2", "mpegps", "mpegts.h264", "mpegts.mpeg2", "oga", "ogg", "png", "prores422", "quick_one_thumbnail", "thumbnail", "transcript", "vorbis", "webm", "webm.vp8", "webm.vp9", "xdcam"])
  return false unless preset_name_validator.valid?(@preset_name)
  advanced_fps_conversion_validator = EnumAttributeValidator.new('String', ["telestream", "tachyon"])
  return false unless advanced_fps_conversion_validator.valid?(@advanced_fps_conversion)
  aspect_mode_validator = EnumAttributeValidator.new('String', ["preserve", "constrain", "letterbox", "pad", "fill (crop)", "stretch", "center"])
  return false unless aspect_mode_validator.valid?(@aspect_mode)
  audio_channels_layout_validator = EnumAttributeValidator.new('String', ["1.0", "2.0", "2.1", "3.0", "3.0(back)", "3.1", "4.0", "4.1", "quad", "5.0", "5.0(side)", "5.1(side)", "6.0", "6.1", "7.0", "7.1", "mono", "stereo"])
  return false unless audio_channels_layout_validator.valid?(@audio_channels_layout)
  avcintra_class_validator = EnumAttributeValidator.new('String', ["50", "100"])
  return false unless avcintra_class_validator.valid?(@avcintra_class)
  closed_captions_validator = EnumAttributeValidator.new('String', ["add", "burn"])
  return false unless closed_captions_validator.valid?(@closed_captions)
  deinterlace_validator = EnumAttributeValidator.new('String', ["keep_fps", "double_fps"])
  return false unless deinterlace_validator.valid?(@deinterlace)
  h264_level_validator = EnumAttributeValidator.new('String', ["1.0", "1b", "1.1", "1.2", "1.3", "2.0", "2.1", "2.2", "3.0", "3.1", "3.2", "4.0", "4.1", "4.2", "5.0", "5.1"])
  return false unless h264_level_validator.valid?(@h264_level)
  h264_profile_validator = EnumAttributeValidator.new('String', ["baseline", "main", "high", "high10", "high422", "high444"])
  return false unless h264_profile_validator.valid?(@h264_profile)
  h264_tune_validator = EnumAttributeValidator.new('String', ["film", "animation", "grain", "psnr", "ssim", "fastdecode", "zerolatency"])
  return false unless h264_tune_validator.valid?(@h264_tune)
  codec_preset_validator = EnumAttributeValidator.new('String', ["ultrafast", "superfast", "veryfast", "faster", "fast", "medium", "slow", "slower", "veryslow", "placebo"])
  return false unless codec_preset_validator.valid?(@codec_preset)
  telestream_block_size_validator = EnumAttributeValidator.new('String', ["16x16", "24x24", "32x32"])
  return false unless telestream_block_size_validator.valid?(@telestream_block_size)
  tachyon_motion_amount_validator = EnumAttributeValidator.new('String', ["xlow", "low", "medium", "high", "xhigh", "auto"])
  return false unless tachyon_motion_amount_validator.valid?(@tachyon_motion_amount)
  tachyon_fallback_size_validator = EnumAttributeValidator.new('String', ["small", "medium", "large", "xlarge", "auto"])
  return false unless tachyon_fallback_size_validator.valid?(@tachyon_fallback_size)
  tachyon_mblock_size_validator = EnumAttributeValidator.new('String', ["mb16", "mb32", "mb64", "mb128", "mb256", "auto"])
  return false unless tachyon_mblock_size_validator.valid?(@tachyon_mblock_size)
  eac3_bitstream_mode_validator = EnumAttributeValidator.new('String', ["m0", "m1", "m2", "m3", "m4", "m5", "m6", "m7"])
  return false unless eac3_bitstream_mode_validator.valid?(@eac3_bitstream_mode)
  eac3_stereo_downmix_preference_validator = EnumAttributeValidator.new('String', ["m0", "m1", "m2", "m3"])
  return false unless eac3_stereo_downmix_preference_validator.valid?(@eac3_stereo_downmix_preference)
  eac3_lt_rt_center_mix_level_validator = EnumAttributeValidator.new('String', ["c0", "c1", "c2", "c3", "c4", "c5", "c6", "c7"])
  return false unless eac3_lt_rt_center_mix_level_validator.valid?(@eac3_lt_rt_center_mix_level)
  eac3_lt_rt_surround_mix_level_validator = EnumAttributeValidator.new('String', ["c3", "c4", "c5", "c6", "c7"])
  return false unless eac3_lt_rt_surround_mix_level_validator.valid?(@eac3_lt_rt_surround_mix_level)
  eac3_lo_ro_center_mix_level_validator = EnumAttributeValidator.new('String', ["c0", "c1", "c2", "c3", "c4", "c5", "c6", "c7"])
  return false unless eac3_lo_ro_center_mix_level_validator.valid?(@eac3_lo_ro_center_mix_level)
  eac3_lo_ro_surround_mix_level_validator = EnumAttributeValidator.new('String', ["c3", "c4", "c5", "c6", "c7"])
  return false unless eac3_lo_ro_surround_mix_level_validator.valid?(@eac3_lo_ro_surround_mix_level)
  eac3_surround_ex_mode_validator = EnumAttributeValidator.new('String', ["m0", "m1", "m2"])
  return false unless eac3_surround_ex_mode_validator.valid?(@eac3_surround_ex_mode)
  eac3_drc_line_mode_profile_validator = EnumAttributeValidator.new('String', ["p0", "p1", "p2", "p3", "p4", "p5"])
  return false unless eac3_drc_line_mode_profile_validator.valid?(@eac3_drc_line_mode_profile)
  eac3_drc_rf_mode_profile_validator = EnumAttributeValidator.new('String', ["p0", "p1", "p2", "p3", "p4", "p5"])
  return false unless eac3_drc_rf_mode_profile_validator.valid?(@eac3_drc_rf_mode_profile)
  eac3_room_type_validator = EnumAttributeValidator.new('String', ["m0", "m1", "m2"])
  return false unless eac3_room_type_validator.valid?(@eac3_room_type)
  return true
end