Class: TelestreamCloud::Flip::Profile

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

Defined Under Namespace

Classes: EnumAttributeValidator

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ Profile

Initializes the object

Parameters:

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

    Model attributes in the form of hash



660
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
# File 'lib/telestream_cloud_flip/models/profile.rb', line 660

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?(:'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_map')
    self.audio_map = attributes[:'audio_map']
  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_stream_id')
    self.audio_stream_id = attributes[:'audio_stream_id']
  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?(:'bumpers')
    self.bumpers = attributes[:'bumpers']
  end

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

  if attributes.has_key?(:'clip_end')
    self.clip_end = attributes[:'clip_end']
  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?(:'color_metadata')
    self. = attributes[:'color_metadata']
  end

  if attributes.has_key?(:'created_at')
    self.created_at = attributes[:'created_at']
  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?(:'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?(:'description')
    self.description = attributes[:'description']
  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_count')
    self.frame_count = attributes[:'frame_count']
  end

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

  if attributes.has_key?(:'frame_offsets')
    self.frame_offsets = attributes[:'frame_offsets']
  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?(:'id')
    self.id = attributes[:'id']
  end

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

  if attributes.has_key?(:'inputs')
    self.inputs = attributes[:'inputs']
  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?(:'lang')
    self.lang = attributes[:'lang']
  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?(:'mute_audio_tracks')
    self.mute_audio_tracks = attributes[:'mute_audio_tracks']
  end

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

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

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

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

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

  if attributes.has_key?(:'preset_name')
    self.preset_name = attributes[:'preset_name']
  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?(:'stack')
    self.stack = attributes[:'stack']
  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?(:'time_code')
    self.time_code = attributes[:'time_code']
  end

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

  if attributes.has_key?(:'trailers')
    self.trailers = attributes[:'trailers']
  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?(:'updated_at')
    self.updated_at = attributes[:'updated_at']
  end

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

  if attributes.has_key?(:'use_editlist')
    self.use_editlist = attributes[:'use_editlist']
  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_bumpers')
    self.watermark_bumpers = attributes[:'watermark_bumpers']
  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_trailers')
    self.watermark_trailers = attributes[:'watermark_trailers']
  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?(:'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

end

Instance Attribute Details

#advanced_fps_conversionObject

todo



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

def advanced_fps_conversion
  @advanced_fps_conversion
end

#aspect_modeObject

Specifies an aspect mode for output videos. The following options are available: - letterbox: - pad: Add paddings to the input image. Default is "letterbox".



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

def aspect_mode
  @aspect_mode
end

#aspect_ratioObject

A display aspect ratio. By default it is not set.



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

def aspect_ratio
  @aspect_ratio
end

#audio_bitrateObject

audio bitrate (in bits/s)



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

def audio_bitrate
  @audio_bitrate
end

#audio_channelsObject

A number of audio channels. By default it is not set.



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

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.



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

def audio_channels_layout
  @audio_channels_layout
end

#audio_channels_per_trackObject

A number of audio channels per track.



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

def audio_channels_per_track
  @audio_channels_per_track
end

#audio_codecObject

Audio codec that will be used by the profile. Available codecs are: ‘libmp3lame`, `libvorbis`, `libfdk_aac`, `dib_ac3, `pcm_s16le`, `mp2`, `ac3`, `eac3`.



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

def audio_codec
  @audio_codec
end

#audio_formatObject

Specifies an audio container.



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

def audio_format
  @audio_format
end

#audio_mapObject

Returns the value of attribute audio_map.



45
46
47
# File 'lib/telestream_cloud_flip/models/profile.rb', line 45

def audio_map
  @audio_map
end

#audio_pidObject

Packet identifier used by MPEG formats.



48
49
50
# File 'lib/telestream_cloud_flip/models/profile.rb', line 48

def audio_pid
  @audio_pid
end

#audio_profileObject

Specifies an audio profile.



51
52
53
# File 'lib/telestream_cloud_flip/models/profile.rb', line 51

def audio_profile
  @audio_profile
end

#audio_sample_rateObject

The number of samples of audio carried per second.



54
55
56
# File 'lib/telestream_cloud_flip/models/profile.rb', line 54

def audio_sample_rate
  @audio_sample_rate
end

#audio_stream_idObject

Returns the value of attribute audio_stream_id.



56
57
58
# File 'lib/telestream_cloud_flip/models/profile.rb', line 56

def audio_stream_id
  @audio_stream_id
end

#audio_streamsObject

A number of audio streams.



59
60
61
# File 'lib/telestream_cloud_flip/models/profile.rb', line 59

def audio_streams
  @audio_streams
end

#avcintra_classObject

A class of the AVC-Intra video coding.



62
63
64
# File 'lib/telestream_cloud_flip/models/profile.rb', line 62

def avcintra_class
  @avcintra_class
end

#buffer_sizeObject

Determines the size of the PulseAudio buffer. by default it is not set.



65
66
67
# File 'lib/telestream_cloud_flip/models/profile.rb', line 65

def buffer_size
  @buffer_size
end

#buffer_size_in_packetsObject

todo



68
69
70
# File 'lib/telestream_cloud_flip/models/profile.rb', line 68

def buffer_size_in_packets
  @buffer_size_in_packets
end

#bumpersObject

Returns the value of attribute bumpers.



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

def bumpers
  @bumpers
end

#byte_range_requestsObject

Returns the value of attribute byte_range_requests.



72
73
74
# File 'lib/telestream_cloud_flip/models/profile.rb', line 72

def byte_range_requests
  @byte_range_requests
end

#clip_endObject

Clip ends at a specific time.



75
76
77
# File 'lib/telestream_cloud_flip/models/profile.rb', line 75

def clip_end
  @clip_end
end

#clip_lengthObject

A clip’s duration.



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

def clip_length
  @clip_length
end

#clip_offsetObject

Clip starts at a specific offset.



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

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.



84
85
86
# File 'lib/telestream_cloud_flip/models/profile.rb', line 84

def closed_captions
  @closed_captions
end

#color_metadataObject

Returns the value of attribute color_metadata.



86
87
88
# File 'lib/telestream_cloud_flip/models/profile.rb', line 86

def 
  @color_metadata
end

#created_atObject

A date and time when the Profile has been created.



89
90
91
# File 'lib/telestream_cloud_flip/models/profile.rb', line 89

def created_at
  @created_at
end

#crop_input_bottomObject

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



92
93
94
# File 'lib/telestream_cloud_flip/models/profile.rb', line 92

def crop_input_bottom
  @crop_input_bottom
end

#crop_input_heightObject

Width of the cropped image in pixels.



95
96
97
# File 'lib/telestream_cloud_flip/models/profile.rb', line 95

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.



98
99
100
# File 'lib/telestream_cloud_flip/models/profile.rb', line 98

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.



101
102
103
# File 'lib/telestream_cloud_flip/models/profile.rb', line 101

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.



104
105
106
# File 'lib/telestream_cloud_flip/models/profile.rb', line 104

def crop_input_top
  @crop_input_top
end

#crop_input_widthObject

Height of the cropped image in pixels.



107
108
109
# File 'lib/telestream_cloud_flip/models/profile.rb', line 107

def crop_input_width
  @crop_input_width
end

#dash_profileObject

Returns the value of attribute dash_profile.



109
110
111
# File 'lib/telestream_cloud_flip/models/profile.rb', line 109

def dash_profile
  @dash_profile
end

#deinterlaceObject

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



112
113
114
# File 'lib/telestream_cloud_flip/models/profile.rb', line 112

def deinterlace
  @deinterlace
end

#deinterlace_framesObject

Returns the value of attribute deinterlace_frames.



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

def deinterlace_frames
  @deinterlace_frames
end

#descriptionObject

Description of the profile.



117
118
119
# File 'lib/telestream_cloud_flip/models/profile.rb', line 117

def description
  @description
end

#dnxhd_typeObject

Returns the value of attribute dnxhd_type.



119
120
121
# File 'lib/telestream_cloud_flip/models/profile.rb', line 119

def dnxhd_type
  @dnxhd_type
end

#eac3_analog_to_digital_converter_typeObject

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



327
328
329
# File 'lib/telestream_cloud_flip/models/profile.rb', line 327

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.



315
316
317
# File 'lib/telestream_cloud_flip/models/profile.rb', line 315

def eac3_bitstream_mode
  @eac3_bitstream_mode
end

Indicates whether the encoded bitstream is copyright protected.



361
362
363
# File 'lib/telestream_cloud_flip/models/profile.rb', line 361

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.



353
354
355
# File 'lib/telestream_cloud_flip/models/profile.rb', line 353

def eac3_dialog_normalization
  @eac3_dialog_normalization
end

#eac3_drc_line_mode_profileObject

Dynamic Range Control for Line Mode.



347
348
349
# File 'lib/telestream_cloud_flip/models/profile.rb', line 347

def eac3_drc_line_mode_profile
  @eac3_drc_line_mode_profile
end

#eac3_drc_rf_mode_profileObject

Dynamic Range Control for RF Mode.



350
351
352
# File 'lib/telestream_cloud_flip/models/profile.rb', line 350

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.



324
325
326
# File 'lib/telestream_cloud_flip/models/profile.rb', line 324

def eac3_enable_lfe_low_pass_filter
  @eac3_enable_lfe_low_pass_filter
end

#eac3_evolution_enableObject

Enables the trusted metadata framework.



312
313
314
# File 'lib/telestream_cloud_flip/models/profile.rb', line 312

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.



338
339
340
# File 'lib/telestream_cloud_flip/models/profile.rb', line 338

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.



341
342
343
# File 'lib/telestream_cloud_flip/models/profile.rb', line 341

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.



332
333
334
# File 'lib/telestream_cloud_flip/models/profile.rb', line 332

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.



335
336
337
# File 'lib/telestream_cloud_flip/models/profile.rb', line 335

def eac3_lt_rt_surround_mix_level
  @eac3_lt_rt_surround_mix_level
end

#eac3_mixing_levelObject

Minimum value is 80, maximum is 111.



358
359
360
# File 'lib/telestream_cloud_flip/models/profile.rb', line 358

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.



318
319
320
# File 'lib/telestream_cloud_flip/models/profile.rb', line 318

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.



364
365
366
# File 'lib/telestream_cloud_flip/models/profile.rb', line 364

def eac3_original_bitstream
  @eac3_original_bitstream
end

#eac3_room_typeObject

Returns the value of attribute eac3_room_type.



355
356
357
# File 'lib/telestream_cloud_flip/models/profile.rb', line 355

def eac3_room_type
  @eac3_room_type
end

#eac3_stereo_downmix_preferenceObject

Returns the value of attribute eac3_stereo_downmix_preference.



329
330
331
# File 'lib/telestream_cloud_flip/models/profile.rb', line 329

def eac3_stereo_downmix_preference
  @eac3_stereo_downmix_preference
end

#eac3_surround_ex_modeObject

Indicates whether the audio stream was encoded using Dolby EX.



344
345
346
# File 'lib/telestream_cloud_flip/models/profile.rb', line 344

def eac3_surround_ex_mode
  @eac3_surround_ex_mode
end

#eac3_three_decibel_attenuationObject

Attenuates the surround channels by 3 dB before encoding.



321
322
323
# File 'lib/telestream_cloud_flip/models/profile.rb', line 321

def eac3_three_decibel_attenuation
  @eac3_three_decibel_attenuation
end

#encryptionObject

Returns the value of attribute encryption.



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

def encryption
  @encryption
end

#extnameObject

File extension.



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

def extname
  @extname
end

#fpsObject

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



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

def fps
  @fps
end

#frame_countObject

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



130
131
132
# File 'lib/telestream_cloud_flip/models/profile.rb', line 130

def frame_count
  @frame_count
end

#frame_intervalObject

Thumbnail interval (Frames or seconds).



133
134
135
# File 'lib/telestream_cloud_flip/models/profile.rb', line 133

def frame_interval
  @frame_interval
end

#frame_offsetsObject

Array of offsets (Frames or seconds).



136
137
138
# File 'lib/telestream_cloud_flip/models/profile.rb', line 136

def frame_offsets
  @frame_offsets
end

#h264_levelObject

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



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

def h264_level
  @h264_level
end

#h264_profileObject

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



142
143
144
# File 'lib/telestream_cloud_flip/models/profile.rb', line 142

def h264_profile
  @h264_profile
end

#h264_tuneObject

Specifies a h264 tuning option.



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

def h264_tune
  @h264_tune
end

#heightObject

Height in pixels.



148
149
150
# File 'lib/telestream_cloud_flip/models/profile.rb', line 148

def height
  @height
end

#idObject

Returns the value of attribute id.



150
151
152
# File 'lib/telestream_cloud_flip/models/profile.rb', line 150

def id
  @id
end

#imx_typeObject

Returns the value of attribute imx_type.



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

def imx_type
  @imx_type
end

#inputsObject

Returns the value of attribute inputs.



154
155
156
# File 'lib/telestream_cloud_flip/models/profile.rb', line 154

def inputs
  @inputs
end

#interlaceObject

Returns the value of attribute interlace.



156
157
158
# File 'lib/telestream_cloud_flip/models/profile.rb', line 156

def interlace
  @interlace
end

#keyframe_intervalObject

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



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

def keyframe_interval
  @keyframe_interval
end

#keyframe_rateObject

todo



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

def keyframe_rate
  @keyframe_rate
end

#langObject

Returns the value of attribute lang.



164
165
166
# File 'lib/telestream_cloud_flip/models/profile.rb', line 164

def lang
  @lang
end

#max_rateObject

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



167
168
169
# File 'lib/telestream_cloud_flip/models/profile.rb', line 167

def max_rate
  @max_rate
end

#merge_audio_streamsObject

Returns the value of attribute merge_audio_streams.



169
170
171
# File 'lib/telestream_cloud_flip/models/profile.rb', line 169

def merge_audio_streams
  @merge_audio_streams
end

#mute_audio_tracksObject

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



172
173
174
# File 'lib/telestream_cloud_flip/models/profile.rb', line 172

def mute_audio_tracks
  @mute_audio_tracks
end

#nameObject

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



175
176
177
# File 'lib/telestream_cloud_flip/models/profile.rb', line 175

def name
  @name
end

#outputsObject

Returns the value of attribute outputs.



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

def outputs
  @outputs
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).



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

def outputs_path_format
  @outputs_path_format
end

#playlist_typeObject

Returns the value of attribute playlist_type.



182
183
184
# File 'lib/telestream_cloud_flip/models/profile.rb', line 182

def playlist_type
  @playlist_type
end

#pmt_pidObject

Returns the value of attribute pmt_pid.



184
185
186
# File 'lib/telestream_cloud_flip/models/profile.rb', line 184

def pmt_pid
  @pmt_pid
end

#preset_nameObject

a name of a preset that a profile will use.



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

def preset_name
  @preset_name
end

#prores_formatObject

Returns the value of attribute prores_format.



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

def prores_format
  @prores_format
end

#segment_timeObject

Minimum value is 2, maximum is 60.



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

def segment_time
  @segment_time
end

#stackObject

Returns the value of attribute stack.



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

def stack
  @stack
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.



286
287
288
# File 'lib/telestream_cloud_flip/models/profile.rb', line 286

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



289
290
291
# File 'lib/telestream_cloud_flip/models/profile.rb', line 289

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



292
293
294
# File 'lib/telestream_cloud_flip/models/profile.rb', line 292

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.



298
299
300
# File 'lib/telestream_cloud_flip/models/profile.rb', line 298

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.



295
296
297
# File 'lib/telestream_cloud_flip/models/profile.rb', line 295

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.



283
284
285
# File 'lib/telestream_cloud_flip/models/profile.rb', line 283

def tachyon_allow_add_standard_pd
  @tachyon_allow_add_standard_pd
end

#tachyon_allow_remove_pulldownObject

Enable more sensitive pulldown removal algorithm.



270
271
272
# File 'lib/telestream_cloud_flip/models/profile.rb', line 270

def tachyon_allow_remove_pulldown
  @tachyon_allow_remove_pulldown
end

#tachyon_cut_detection_sensitivityObject

Returns the value of attribute tachyon_cut_detection_sensitivity.



309
310
311
# File 'lib/telestream_cloud_flip/models/profile.rb', line 309

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.



273
274
275
# File 'lib/telestream_cloud_flip/models/profile.rb', line 273

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.



304
305
306
# File 'lib/telestream_cloud_flip/models/profile.rb', line 304

def tachyon_fallback_size
  @tachyon_fallback_size
end

#tachyon_mblock_sizeObject

This option specifies the size of a motion block.



307
308
309
# File 'lib/telestream_cloud_flip/models/profile.rb', line 307

def tachyon_mblock_size
  @tachyon_mblock_size
end

#tachyon_media_hint_has_chroma_noiseObject

Remove chroma noise during the analysis of a video.



278
279
280
# File 'lib/telestream_cloud_flip/models/profile.rb', line 278

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.



275
276
277
# File 'lib/telestream_cloud_flip/models/profile.rb', line 275

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.



281
282
283
# File 'lib/telestream_cloud_flip/models/profile.rb', line 281

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



301
302
303
# File 'lib/telestream_cloud_flip/models/profile.rb', line 301

def tachyon_motion_amount
  @tachyon_motion_amount
end

#telestream_block_sizeObject

Returns the value of attribute telestream_block_size.



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

def telestream_block_size
  @telestream_block_size
end

#telestream_blur_scalerObject

Minimum value is 0, maximum is 4.



199
200
201
# File 'lib/telestream_cloud_flip/models/profile.rb', line 199

def telestream_blur_scaler
  @telestream_blur_scaler
end

#telestream_cost_scalerObject

Minimum value is 0, maximum is 4.



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

def telestream_cost_scaler
  @telestream_cost_scaler
end

#telestream_search_length_scalerObject

Minimum value is 0, maximum is 2.



205
206
207
# File 'lib/telestream_cloud_flip/models/profile.rb', line 205

def telestream_search_length_scaler
  @telestream_search_length_scaler
end

#telestream_subpel_modeObject

Returns the value of attribute telestream_subpel_mode.



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

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.



210
211
212
# File 'lib/telestream_cloud_flip/models/profile.rb', line 210

def time_code
  @time_code
end

#titleObject

Human-readable name.



213
214
215
# File 'lib/telestream_cloud_flip/models/profile.rb', line 213

def title
  @title
end

#trailersObject

Returns the value of attribute trailers.



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

def trailers
  @trailers
end

#transport_rateObject

Returns the value of attribute transport_rate.



217
218
219
# File 'lib/telestream_cloud_flip/models/profile.rb', line 217

def transport_rate
  @transport_rate
end

#ts_pidsObject

Returns the value of attribute ts_pids.



219
220
221
# File 'lib/telestream_cloud_flip/models/profile.rb', line 219

def ts_pids
  @ts_pids
end

#updated_atObject

Returns the value of attribute updated_at.



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

def updated_at
  @updated_at
end

#upscaleObject

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



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

def upscale
  @upscale
end

#use_editlistObject

Returns the value of attribute use_editlist.



226
227
228
# File 'lib/telestream_cloud_flip/models/profile.rb', line 226

def use_editlist
  @use_editlist
end

#variantsObject

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



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

def variants
  @variants
end

#video_bitrateObject

Returns the value of attribute video_bitrate.



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

def video_bitrate
  @video_bitrate
end

#video_pidObject

Returns the value of attribute video_pid.



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

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



236
237
238
# File 'lib/telestream_cloud_flip/models/profile.rb', line 236

def watermark_bottom
  @watermark_bottom
end

#watermark_bumpersObject

Returns the value of attribute watermark_bumpers.



238
239
240
# File 'lib/telestream_cloud_flip/models/profile.rb', line 238

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



241
242
243
# File 'lib/telestream_cloud_flip/models/profile.rb', line 241

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



244
245
246
# File 'lib/telestream_cloud_flip/models/profile.rb', line 244

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



247
248
249
# File 'lib/telestream_cloud_flip/models/profile.rb', line 247

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



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

def watermark_top
  @watermark_top
end

#watermark_trailersObject

Returns the value of attribute watermark_trailers.



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

def watermark_trailers
  @watermark_trailers
end

#watermark_urlObject

Url of a watermark image.



255
256
257
# File 'lib/telestream_cloud_flip/models/profile.rb', line 255

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



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

def watermark_width
  @watermark_width
end

#widthObject

Width in pixels.



261
262
263
# File 'lib/telestream_cloud_flip/models/profile.rb', line 261

def width
  @width
end

#x264_optionsObject

Returns the value of attribute x264_options.



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

def x264_options
  @x264_options
end

#x265_optionsObject

Returns the value of attribute x265_options.



265
266
267
# File 'lib/telestream_cloud_flip/models/profile.rb', line 265

def x265_options
  @x265_options
end

#xdcam_formatObject

Returns the value of attribute xdcam_format.



267
268
269
# File 'lib/telestream_cloud_flip/models/profile.rb', line 267

def xdcam_format
  @xdcam_format
end

Class Method Details

.attribute_mapObject

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



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.rb', line 389

def self.attribute_map
  {
    :'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_map' => :'audio_map',
    :'audio_pid' => :'audio_pid',
    :'audio_profile' => :'audio_profile',
    :'audio_sample_rate' => :'audio_sample_rate',
    :'audio_stream_id' => :'audio_stream_id',
    :'audio_streams' => :'audio_streams',
    :'avcintra_class' => :'avcintra_class',
    :'buffer_size' => :'buffer_size',
    :'buffer_size_in_packets' => :'buffer_size_in_packets',
    :'bumpers' => :'bumpers',
    :'byte_range_requests' => :'byte_range_requests',
    :'clip_end' => :'clip_end',
    :'clip_length' => :'clip_length',
    :'clip_offset' => :'clip_offset',
    :'closed_captions' => :'closed_captions',
    :'color_metadata' => :'color_metadata',
    :'created_at' => :'created_at',
    :'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',
    :'dash_profile' => :'dash_profile',
    :'deinterlace' => :'deinterlace',
    :'deinterlace_frames' => :'deinterlace_frames',
    :'description' => :'description',
    :'dnxhd_type' => :'dnxhd_type',
    :'encryption' => :'encryption',
    :'extname' => :'extname',
    :'fps' => :'fps',
    :'frame_count' => :'frame_count',
    :'frame_interval' => :'frame_interval',
    :'frame_offsets' => :'frame_offsets',
    :'h264_level' => :'h264_level',
    :'h264_profile' => :'h264_profile',
    :'h264_tune' => :'h264_tune',
    :'height' => :'height',
    :'id' => :'id',
    :'imx_type' => :'imx_type',
    :'inputs' => :'inputs',
    :'interlace' => :'interlace',
    :'keyframe_interval' => :'keyframe_interval',
    :'keyframe_rate' => :'keyframe_rate',
    :'lang' => :'lang',
    :'max_rate' => :'max_rate',
    :'merge_audio_streams' => :'merge_audio_streams',
    :'mute_audio_tracks' => :'mute_audio_tracks',
    :'name' => :'name',
    :'outputs' => :'outputs',
    :'outputs_path_format' => :'outputs_path_format',
    :'playlist_type' => :'playlist_type',
    :'pmt_pid' => :'pmt_pid',
    :'preset_name' => :'preset_name',
    :'prores_format' => :'prores_format',
    :'segment_time' => :'segment_time',
    :'stack' => :'stack',
    :'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',
    :'time_code' => :'time_code',
    :'title' => :'title',
    :'trailers' => :'trailers',
    :'transport_rate' => :'transport_rate',
    :'ts_pids' => :'ts_pids',
    :'updated_at' => :'updated_at',
    :'upscale' => :'upscale',
    :'use_editlist' => :'use_editlist',
    :'variants' => :'variants',
    :'video_bitrate' => :'video_bitrate',
    :'video_pid' => :'video_pid',
    :'watermark_bottom' => :'watermark_bottom',
    :'watermark_bumpers' => :'watermark_bumpers',
    :'watermark_height' => :'watermark_height',
    :'watermark_left' => :'watermark_left',
    :'watermark_right' => :'watermark_right',
    :'watermark_top' => :'watermark_top',
    :'watermark_trailers' => :'watermark_trailers',
    :'watermark_url' => :'watermark_url',
    :'watermark_width' => :'watermark_width',
    :'width' => :'width',
    :'x264_options' => :'x264_options',
    :'x265_options' => :'x265_options',
    :'xdcam_format' => :'xdcam_format',
    :'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'
  }
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
# File 'lib/telestream_cloud_flip/models/profile.rb', line 524

def self.swagger_types
  {
    :'advanced_fps_conversion' => :'String',
    :'aspect_mode' => :'String',
    :'aspect_ratio' => :'String',
    :'audio_bitrate' => :'Integer',
    :'audio_channels' => :'Integer',
    :'audio_channels_layout' => :'String',
    :'audio_channels_per_track' => :'Integer',
    :'audio_codec' => :'String',
    :'audio_format' => :'String',
    :'audio_map' => :'String',
    :'audio_pid' => :'String',
    :'audio_profile' => :'String',
    :'audio_sample_rate' => :'String',
    :'audio_stream_id' => :'Integer',
    :'audio_streams' => :'Integer',
    :'avcintra_class' => :'String',
    :'buffer_size' => :'String',
    :'buffer_size_in_packets' => :'String',
    :'bumpers' => :'String',
    :'byte_range_requests' => :'BOOLEAN',
    :'clip_end' => :'String',
    :'clip_length' => :'String',
    :'clip_offset' => :'String',
    :'closed_captions' => :'String',
    :'color_metadata' => :'BOOLEAN',
    :'created_at' => :'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',
    :'dash_profile' => :'String',
    :'deinterlace' => :'String',
    :'deinterlace_frames' => :'String',
    :'description' => :'String',
    :'dnxhd_type' => :'String',
    :'encryption' => :'BOOLEAN',
    :'extname' => :'String',
    :'fps' => :'String',
    :'frame_count' => :'String',
    :'frame_interval' => :'String',
    :'frame_offsets' => :'String',
    :'h264_level' => :'String',
    :'h264_profile' => :'String',
    :'h264_tune' => :'String',
    :'height' => :'String',
    :'id' => :'String',
    :'imx_type' => :'String',
    :'inputs' => :'String',
    :'interlace' => :'String',
    :'keyframe_interval' => :'String',
    :'keyframe_rate' => :'String',
    :'lang' => :'String',
    :'max_rate' => :'String',
    :'merge_audio_streams' => :'String',
    :'mute_audio_tracks' => :'BOOLEAN',
    :'name' => :'String',
    :'outputs' => :'String',
    :'outputs_path_format' => :'String',
    :'playlist_type' => :'String',
    :'pmt_pid' => :'String',
    :'preset_name' => :'String',
    :'prores_format' => :'String',
    :'segment_time' => :'Integer',
    :'stack' => :'String',
    :'telestream_block_size' => :'String',
    :'telestream_blur_scaler' => :'Float',
    :'telestream_cost_scaler' => :'Float',
    :'telestream_search_length_scaler' => :'Integer',
    :'telestream_subpel_mode' => :'BOOLEAN',
    :'time_code' => :'String',
    :'title' => :'String',
    :'trailers' => :'String',
    :'transport_rate' => :'String',
    :'ts_pids' => :'String',
    :'updated_at' => :'String',
    :'upscale' => :'BOOLEAN',
    :'use_editlist' => :'BOOLEAN',
    :'variants' => :'String',
    :'video_bitrate' => :'String',
    :'video_pid' => :'String',
    :'watermark_bottom' => :'String',
    :'watermark_bumpers' => :'BOOLEAN',
    :'watermark_height' => :'String',
    :'watermark_left' => :'String',
    :'watermark_right' => :'String',
    :'watermark_top' => :'String',
    :'watermark_trailers' => :'BOOLEAN',
    :'watermark_url' => :'String',
    :'watermark_width' => :'String',
    :'width' => :'String',
    :'x264_options' => :'String',
    :'x265_options' => :'String',
    :'xdcam_format' => :'String',
    :'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'
  }
end

Instance Method Details

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



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
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
# File 'lib/telestream_cloud_flip/models/profile.rb', line 1523

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      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_map == o.audio_map &&
      audio_pid == o.audio_pid &&
      audio_profile == o.audio_profile &&
      audio_sample_rate == o.audio_sample_rate &&
      audio_stream_id == o.audio_stream_id &&
      audio_streams == o.audio_streams &&
      avcintra_class == o.avcintra_class &&
      buffer_size == o.buffer_size &&
      buffer_size_in_packets == o.buffer_size_in_packets &&
      bumpers == o.bumpers &&
      byte_range_requests == o.byte_range_requests &&
      clip_end == o.clip_end &&
      clip_length == o.clip_length &&
      clip_offset == o.clip_offset &&
      closed_captions == o.closed_captions &&
       == o. &&
      created_at == o.created_at &&
      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 &&
      dash_profile == o.dash_profile &&
      deinterlace == o.deinterlace &&
      deinterlace_frames == o.deinterlace_frames &&
      description == o.description &&
      dnxhd_type == o.dnxhd_type &&
      encryption == o.encryption &&
      extname == o.extname &&
      fps == o.fps &&
      frame_count == o.frame_count &&
      frame_interval == o.frame_interval &&
      frame_offsets == o.frame_offsets &&
      h264_level == o.h264_level &&
      h264_profile == o.h264_profile &&
      h264_tune == o.h264_tune &&
      height == o.height &&
      id == o.id &&
      imx_type == o.imx_type &&
      inputs == o.inputs &&
      interlace == o.interlace &&
      keyframe_interval == o.keyframe_interval &&
      keyframe_rate == o.keyframe_rate &&
      lang == o.lang &&
      max_rate == o.max_rate &&
      merge_audio_streams == o.merge_audio_streams &&
      mute_audio_tracks == o.mute_audio_tracks &&
      name == o.name &&
      outputs == o.outputs &&
      outputs_path_format == o.outputs_path_format &&
      playlist_type == o.playlist_type &&
      pmt_pid == o.pmt_pid &&
      preset_name == o.preset_name &&
      prores_format == o.prores_format &&
      segment_time == o.segment_time &&
      stack == o.stack &&
      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 &&
      time_code == o.time_code &&
      title == o.title &&
      trailers == o.trailers &&
      transport_rate == o.transport_rate &&
      ts_pids == o.ts_pids &&
      updated_at == o.updated_at &&
      upscale == o.upscale &&
      use_editlist == o.use_editlist &&
      variants == o.variants &&
      video_bitrate == o.video_bitrate &&
      video_pid == o.video_pid &&
      watermark_bottom == o.watermark_bottom &&
      watermark_bumpers == o.watermark_bumpers &&
      watermark_height == o.watermark_height &&
      watermark_left == o.watermark_left &&
      watermark_right == o.watermark_right &&
      watermark_top == o.watermark_top &&
      watermark_trailers == o.watermark_trailers &&
      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 &&
      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
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



1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
# File 'lib/telestream_cloud_flip/models/profile.rb', line 1693

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



1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
# File 'lib/telestream_cloud_flip/models/profile.rb', line 1759

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



1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
# File 'lib/telestream_cloud_flip/models/profile.rb', line 1672

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


1659
1660
1661
# File 'lib/telestream_cloud_flip/models/profile.rb', line 1659

def eql?(o)
  self == o
end

#hashFixnum

Calculates hash code according to all attributes.

Returns:

  • (Fixnum)

    Hash code



1665
1666
1667
# File 'lib/telestream_cloud_flip/models/profile.rb', line 1665

def hash
  [advanced_fps_conversion, aspect_mode, aspect_ratio, audio_bitrate, audio_channels, audio_channels_layout, audio_channels_per_track, audio_codec, audio_format, audio_map, audio_pid, audio_profile, audio_sample_rate, audio_stream_id, audio_streams, avcintra_class, buffer_size, buffer_size_in_packets, bumpers, byte_range_requests, clip_end, clip_length, clip_offset, closed_captions, , created_at, crop_input_bottom, crop_input_height, crop_input_left, crop_input_right, crop_input_top, crop_input_width, dash_profile, deinterlace, deinterlace_frames, description, dnxhd_type, encryption, extname, fps, frame_count, frame_interval, frame_offsets, h264_level, h264_profile, h264_tune, height, id, imx_type, inputs, interlace, keyframe_interval, keyframe_rate, lang, max_rate, merge_audio_streams, mute_audio_tracks, name, outputs, outputs_path_format, playlist_type, pmt_pid, preset_name, prores_format, segment_time, stack, telestream_block_size, telestream_blur_scaler, telestream_cost_scaler, telestream_search_length_scaler, telestream_subpel_mode, time_code, title, trailers, transport_rate, ts_pids, updated_at, upscale, use_editlist, variants, video_bitrate, video_pid, watermark_bottom, watermark_bumpers, watermark_height, watermark_left, watermark_right, watermark_top, watermark_trailers, watermark_url, watermark_width, width, x264_options, x265_options, xdcam_format, 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].hash
end

#list_invalid_propertiesObject

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

Returns:

  • Array for valid properties with the reasons



1186
1187
1188
1189
# File 'lib/telestream_cloud_flip/models/profile.rb', line 1186

def list_invalid_properties
  invalid_properties = Array.new
  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



1739
1740
1741
# File 'lib/telestream_cloud_flip/models/profile.rb', line 1739

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



1745
1746
1747
1748
1749
1750
1751
1752
1753
# File 'lib/telestream_cloud_flip/models/profile.rb', line 1745

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



1733
1734
1735
# File 'lib/telestream_cloud_flip/models/profile.rb', line 1733

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



1193
1194
1195
1196
1197
1198
1199
1200
1201
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
# File 'lib/telestream_cloud_flip/models/profile.rb', line 1193

def valid?
  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)
  audio_format_validator = EnumAttributeValidator.new('String', ["pcm_s24le", "pcm_s16le"])
  return false unless audio_format_validator.valid?(@audio_format)
  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)
  dnxhd_type_validator = EnumAttributeValidator.new('String', ["36", "45", "60", "75", "90", "90x", "110", "115", "120", "145", "175x", "175", "185x", "185", "220x", "220"])
  return false unless dnxhd_type_validator.valid?(@dnxhd_type)
  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)
  playlist_type_validator = EnumAttributeValidator.new('String', ["iframe", "iframe-only"])
  return false unless playlist_type_validator.valid?(@playlist_type)
  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_analog_to_digital_converter_type_validator = EnumAttributeValidator.new('String', ["standard", "hdcd"])
  return false unless eac3_analog_to_digital_converter_type_validator.valid?(@eac3_analog_to_digital_converter_type)
  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