Class: MkvToolNix::Types::Merge::InputTrackOption

Inherits:
Object
  • Object
show all
Defined in:
lib/mkvtoolnix/types/merge/input_track_options.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(track_id) ⇒ InputTrackOption

Returns a new instance of InputTrackOption.



244
245
246
247
248
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 244

def initialize(track_id)
  raise Errors::MkvToolNixError, 'track_id can\'t be nil' if track_id.nil?

  @track_id = track_id
end

Instance Attribute Details

#aac_sbrObject (readonly)

Returns the value of attribute aac_sbr.



8
9
10
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 8

def aac_sbr
  @aac_sbr
end

#aspect_ratioObject (readonly)

Returns the value of attribute aspect_ratio.



8
9
10
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 8

def aspect_ratio
  @aspect_ratio
end

#cb_sub_sampleObject (readonly)

Returns the value of attribute cb_sub_sample.



8
9
10
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 8

def cb_sub_sample
  @cb_sub_sample
end

#chroma_sub_sampleObject (readonly)

Returns the value of attribute chroma_sub_sample.



8
9
10
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 8

def chroma_sub_sample
  @chroma_sub_sample
end

#chromaticity_coordinatesObject (readonly)

Returns the value of attribute chromaticity_coordinates.



8
9
10
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 8

def chromaticity_coordinates
  @chromaticity_coordinates
end

#color_bits_per_channelObject (readonly)

Returns the value of attribute color_bits_per_channel.



8
9
10
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 8

def color_bits_per_channel
  @color_bits_per_channel
end

#color_matrix_coefficientsObject (readonly)

Returns the value of attribute color_matrix_coefficients.



8
9
10
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 8

def color_matrix_coefficients
  @color_matrix_coefficients
end

#color_primariesObject (readonly)

Returns the value of attribute color_primaries.



8
9
10
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 8

def color_primaries
  @color_primaries
end

#color_transfer_characteristicsObject (readonly)

Returns the value of attribute color_transfer_characteristics.



8
9
10
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 8

def color_transfer_characteristics
  @color_transfer_characteristics
end

#compressionObject (readonly)

Returns the value of attribute compression.



8
9
10
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 8

def compression
  @compression
end

#cuesObject (readonly)

Returns the value of attribute cues.



8
9
10
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 8

def cues
  @cues
end

#default_duration_in_secsObject (readonly)

Returns the value of attribute default_duration_in_secs.



8
9
10
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 8

def default_duration_in_secs
  @default_duration_in_secs
end

#dimensionsObject (readonly)

Returns the value of attribute dimensions.



8
9
10
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 8

def dimensions
  @dimensions
end

#field_orderObject (readonly)

Returns the value of attribute field_order.



8
9
10
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 8

def field_order
  @field_order
end

#fix_bitstream_timing_infoObject (readonly)

Returns the value of attribute fix_bitstream_timing_info.



8
9
10
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 8

def fix_bitstream_timing_info
  @fix_bitstream_timing_info
end

#four_ccObject (readonly)

Returns the value of attribute four_cc.



8
9
10
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 8

def four_cc
  @four_cc
end

#is_commentaryObject (readonly)

Returns the value of attribute is_commentary.



8
9
10
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 8

def is_commentary
  @is_commentary
end

#is_defaultObject (readonly)

Returns the value of attribute is_default.



8
9
10
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 8

def is_default
  @is_default
end

#is_forcedObject (readonly)

Returns the value of attribute is_forced.



8
9
10
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 8

def is_forced
  @is_forced
end

#is_hearing_impairedObject (readonly)

Returns the value of attribute is_hearing_impaired.



8
9
10
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 8

def is_hearing_impaired
  @is_hearing_impaired
end

#is_originalObject (readonly)

Returns the value of attribute is_original.



8
9
10
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 8

def is_original
  @is_original
end

#is_text_descriptionObject (readonly)

Returns the value of attribute is_text_description.



8
9
10
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 8

def is_text_description
  @is_text_description
end

#is_visual_impairedObject (readonly)

Returns the value of attribute is_visual_impaired.



8
9
10
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 8

def is_visual_impaired
  @is_visual_impaired
end

#languageObject (readonly)

Returns the value of attribute language.



8
9
10
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 8

def language
  @language
end

#max_content_lightObject (readonly)

Returns the value of attribute max_content_light.



8
9
10
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 8

def max_content_light
  @max_content_light
end

#max_frame_lightObject (readonly)

Returns the value of attribute max_frame_light.



8
9
10
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 8

def max_frame_light
  @max_frame_light
end

#max_luminanceObject (readonly)

Returns the value of attribute max_luminance.



8
9
10
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 8

def max_luminance
  @max_luminance
end

#min_luminanceObject (readonly)

Returns the value of attribute min_luminance.



8
9
10
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 8

def min_luminance
  @min_luminance
end

#nameObject (readonly)

Returns the value of attribute name.



8
9
10
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 8

def name
  @name
end

#no_dialog_norm_gainObject (readonly)

Returns the value of attribute no_dialog_norm_gain.



8
9
10
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 8

def no_dialog_norm_gain
  @no_dialog_norm_gain
end

#projection_pose_pitchObject (readonly)

Returns the value of attribute projection_pose_pitch.



8
9
10
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 8

def projection_pose_pitch
  @projection_pose_pitch
end

#projection_pose_rollObject (readonly)

Returns the value of attribute projection_pose_roll.



8
9
10
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 8

def projection_pose_roll
  @projection_pose_roll
end

#projection_pose_yawObject (readonly)

Returns the value of attribute projection_pose_yaw.



8
9
10
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 8

def projection_pose_yaw
  @projection_pose_yaw
end

#projection_privateObject (readonly)

Returns the value of attribute projection_private.



8
9
10
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 8

def projection_private
  @projection_private
end

#projection_typeObject (readonly)

Returns the value of attribute projection_type.



8
9
10
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 8

def projection_type
  @projection_type
end

#reduce_to_coreObject (readonly)

Returns the value of attribute reduce_to_core.



8
9
10
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 8

def reduce_to_core
  @reduce_to_core
end

#stereo_modeObject (readonly)

Returns the value of attribute stereo_mode.



8
9
10
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 8

def stereo_mode
  @stereo_mode
end

#sub_charsetObject (readonly)

Returns the value of attribute sub_charset.



8
9
10
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 8

def sub_charset
  @sub_charset
end

#tag_fileObject (readonly)

Returns the value of attribute tag_file.



8
9
10
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 8

def tag_file
  @tag_file
end

#timestamp_fileObject (readonly)

Returns the value of attribute timestamp_file.



8
9
10
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 8

def timestamp_file
  @timestamp_file
end

#track_idObject (readonly)

Returns the value of attribute track_id.



8
9
10
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 8

def track_id
  @track_id
end

#track_syncObject (readonly)

Returns the value of attribute track_sync.



8
9
10
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 8

def track_sync
  @track_sync
end

#white_color_coordinateObject (readonly)

Returns the value of attribute white_color_coordinate.



8
9
10
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 8

def white_color_coordinate
  @white_color_coordinate
end

Instance Method Details

#add_to_cmd(cmd) ⇒ Object



250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 250

def add_to_cmd(cmd)
  cmd << '--sync' << @track_sync unless @track_sync.nil?
  cmd << '--cues' << @cues unless @cues.nil?
  cmd << '--default-track' << @is_default unless @is_default.nil?
  cmd << '--forced-track' << @is_forced unless @is_forced.nil?
  cmd << '--hearing-impaired-flag' << @is_hearing_impaired unless @is_hearing_impaired.nil?
  cmd << '--visual-impaired-flag' << @is_visual_impaired unless @is_visual_impaired.nil?
  cmd << '--text-descriptions-flag' << @is_text_description unless @is_text_description.nil?
  cmd << '--original-flag' << @is_original unless @is_original.nil?
  cmd << '--commentary-flag' << @is_commentary unless @is_commentary.nil?
  cmd << '--track-name' << @name unless @name.nil?
  cmd << '--language' << @language unless @language.nil?
  cmd << '--tags' << @tag_file unless @tag_file.nil?
  cmd << '--aac-is-sbr' << @aac_sbr unless @aac_sbr.nil?
  cmd << '--reduce-to-core' unless @reduce_to_core.nil?
  cmd << '--remove-dialog-normalization-gain' unless @no_dialog_norm_gain.nil?
  cmd << '--timestamps' << @timestamp_file unless @timestamp_file.nil?
  cmd << '--default-duration' << @default_duration_in_secs unless @default_duration_in_secs.nil?
  cmd << '--fix-bitstream-timing-information' << @fix_bitstream_timing_info unless @fix_bitstream_timing_info.nil?
  cmd << '--compression' << @compression unless @compression.nil?
  cmd << '--fourcc' << @four_cc unless @four_cc.nil?
  cmd << '--display-dimensions' << @dimensions unless @dimensions.nil?
  cmd << '--aspect-ratio' << @aspect_ratio unless @aspect_ratio.nil?
  cmd << '--cropping' << @cropping unless @cropping.nil?
  cmd << '--colour-matrix-coefficients' << @color_matrix_coefficients unless @color_matrix_coefficients.nil?
  cmd << '--colour-bits-per-channel' << @color_bits_per_channel unless @color_bits_per_channel.nil?
  cmd << '--chroma-subsample' << @chroma_sub_sample unless @chroma_sub_sample.nil?
  cmd << '--cb-subsample' << @cb_sub_sample unless @cb_sub_sample.nil?
  cmd << '--chroma-siting' << @chroma_siting unless @chroma_siting.nil?
  cmd << '--colour-range' << @color_range unless @color_range.nil?
  cmd << '--colour-transfer-characteristics' << @color_transfer_characteristics unless @color_transfer_characteristics.nil?
  cmd << '--colour-primaries' << @color_primaries unless @color_primaries.nil?
  cmd << '--max-content-light' << @max_content_light unless @max_content_light.nil?
  cmd << '--max-frame-light' << @max_frame_light unless @max_frame_light.nil?
  cmd << '--chromaticity-coordinates' << @chromaticity_coordinates unless @chromaticity_coordinates.nil?
  cmd << '--white-colour-coordinates' << @white_color_coordinate unless @white_color_coordinate.nil?
  cmd << '--max-luminance' << @max_luminance unless @max_luminance.nil?
  cmd << '--min-luminance' << @min_luminance unless @min_luminance.nil?
  cmd << '--projection-type' << @projection_type unless @projection_type.nil?
  cmd << '--projection-private' << @projection_private unless @projection_private.nil?
  cmd << '--projection-pose-yaw' << @projection_pose_yaw unless @projection_pose_yaw.nil?
  cmd << '--projection-pose-pitch' << @projection_pose_pitch unless @projection_pose_pitch.nil?
  cmd << '--projection-pose-roll' << @projection_pose_roll unless @projection_pose_roll.nil?
  cmd << '--field-order' << @field_order unless @field_order.nil?
  cmd << '--stereo-mode' << @stereo_mode unless @stereo_mode.nil?
  cmd << '--sub-charset' << @sub_charset unless @sub_charset.nil?
  nil
end

#commentary?(enabled: true) ⇒ Boolean

Returns:

  • (Boolean)


78
79
80
81
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 78

def commentary?(enabled: true)
  @is_commentary = "#{@track_id}:#{enabled}"
  self
end

#default?(enabled: true) ⇒ Boolean

Returns:

  • (Boolean)


48
49
50
51
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 48

def default?(enabled: true)
  @is_default = "#{@track_id}:#{enabled}"
  self
end

#fix_bitstream_timing_information(fix: true) ⇒ Object



104
105
106
107
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 104

def fix_bitstream_timing_information(fix: true)
  @fix_bitstream_timing_info = "#{@track_id}:#{fix ? 1 : 0}"
  self
end

#forced?(enabled: true) ⇒ Boolean

Returns:

  • (Boolean)


53
54
55
56
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 53

def forced?(enabled: true)
  @is_forced = "#{@track_id}:#{enabled}"
  self
end

#handle_as_aac_sbr(enabled: true) ⇒ Object



33
34
35
36
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 33

def handle_as_aac_sbr(enabled: true)
  @aac_sbr = "#{@track_id}:#{enabled ? 1 : 0}"
  self
end

#hearing_impaired?(enabled: true) ⇒ Boolean

Returns:

  • (Boolean)


58
59
60
61
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 58

def hearing_impaired?(enabled: true)
  @is_hearing_impaired = "#{@track_id}:#{enabled}"
  self
end

#original?(enabled: true) ⇒ Boolean

Returns:

  • (Boolean)


73
74
75
76
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 73

def original?(enabled: true)
  @is_original = "#{@track_id}:#{enabled}"
  self
end

#reduce_audio_to_coreObject



83
84
85
86
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 83

def reduce_audio_to_core
  @reduce_to_core = true
  self
end

#remove_dialog_normalization_gainObject



93
94
95
96
97
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 93

def remove_dialog_normalization_gain
  @no_dialog_norm_gain = true
  self

end

#text_description?(enabled: true) ⇒ Boolean

Returns:

  • (Boolean)


68
69
70
71
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 68

def text_description?(enabled: true)
  @is_text_description = "#{@track_id}:#{enabled}"
  self
end

#visual_impaired?(enabled: true) ⇒ Boolean

Returns:

  • (Boolean)


63
64
65
66
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 63

def visual_impaired?(enabled: true)
  @is_visual_impaired = "#{@track_id}:#{enabled}"
  self
end

#with_aspect_ratio(ratio) ⇒ Object



124
125
126
127
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 124

def with_aspect_ratio(ratio)
  @aspect_ratio = "#{@track_id}:#{ratio}"
  self
end

#with_cb_sub_sample(horizontal, vertical) ⇒ Object



149
150
151
152
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 149

def with_cb_sub_sample(horizontal, vertical)
  @cb_sub_sample = "#{@track_id}:#{horizontal},#{vertical}"
  self
end

#with_chroma_siting(horizontal, vertical) ⇒ Object



154
155
156
157
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 154

def with_chroma_siting(horizontal, vertical)
  @chroma_siting = "#{@track_id}:#{horizontal},#{vertical}"
  self
end

#with_chroma_sub_sample(horizontal, vertical) ⇒ Object



144
145
146
147
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 144

def with_chroma_sub_sample(horizontal, vertical)
  @chroma_sub_sample = "#{@track_id}:#{horizontal},#{vertical}"
  self
end

#with_chromaticity_coordinates(red_x, red_y, green_x, green_y, blue_x, blue_y) ⇒ Object



184
185
186
187
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 184

def with_chromaticity_coordinates(red_x, red_y, green_x, green_y, blue_x, blue_y)
  @chromaticity_coordinates = "#{@track_id}:#{red_x},#{red_y},#{green_x},#{green_y},#{blue_x},#{blue_y}"
  self
end

#with_color_bits_per_channel(bits) ⇒ Object



139
140
141
142
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 139

def with_color_bits_per_channel(bits)
  @color_bits_per_channel = "#{@track_id}:#{bits}"
  self
end

#with_color_matrix_coefficients(coefficient) ⇒ Object



134
135
136
137
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 134

def with_color_matrix_coefficients(coefficient)
  @color_matrix_coefficients = "#{@track_id}:#{coefficient}"
  self
end

#with_color_primaries(primaries) ⇒ Object



169
170
171
172
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 169

def with_color_primaries(primaries)
  @color_primaries = "#{@track_id}:#{primaries}"
  self
end

#with_color_range(range) ⇒ Object



159
160
161
162
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 159

def with_color_range(range)
  @color_range = "#{@track_id}:#{range}"
  self
end

#with_color_transfer_characteristics(characteristics) ⇒ Object



164
165
166
167
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 164

def with_color_transfer_characteristics(characteristics)
  @color_transfer_characteristics = "#{@track_id}:#{characteristics}"
  self
end

#with_compression_mode(mode = Compression::NONE) ⇒ Object



109
110
111
112
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 109

def with_compression_mode(mode = Compression::NONE)
  @compression = "#{@track_id}:#{mode}"
  self
end

#with_cropping(left, top, right, bottom) ⇒ Object



129
130
131
132
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 129

def with_cropping(left, top, right, bottom)
  @cropping = "#{@track_id}:#{left},#{top},#{right},#{bottom}"
  self
end

#with_cues(mode = CueMode::I_FRAMES) ⇒ Object



43
44
45
46
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 43

def with_cues(mode = CueMode::I_FRAMES)
  @cues = "#{@track_id}:#{mode}"
  self
end

#with_default_duration_in_secs(secs) ⇒ Object



99
100
101
102
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 99

def with_default_duration_in_secs(secs)
  @default_duration_in_secs = "#{@track_id}:#{secs}s"
  self
end

#with_dimensions(width, height) ⇒ Object



119
120
121
122
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 119

def with_dimensions(width, height)
  @dimensions = "#{@track_id}:#{width}x#{height}"
  self
end

#with_field_order(order) ⇒ Object



229
230
231
232
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 229

def with_field_order(order)
  @field_order = "#{@track_id}:#{order}"
  self
end

#with_four_cc(four_cc) ⇒ Object



114
115
116
117
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 114

def with_four_cc(four_cc)
  @four_cc = "#{@track_id}:#{four_cc}"
  self
end

#with_language(language) ⇒ Object



23
24
25
26
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 23

def with_language(language)
  @language = "#{@track_id}:#{language}"
  self
end

#with_max_content_light(light) ⇒ Object



174
175
176
177
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 174

def with_max_content_light(light)
  @max_content_light = "#{@track_id}:#{light}"
  self
end

#with_max_frame_light(light) ⇒ Object



179
180
181
182
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 179

def with_max_frame_light(light)
  @max_frame_light = "#{@track_id}:#{light}"
  self
end

#with_max_luminance(luminance) ⇒ Object



194
195
196
197
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 194

def with_max_luminance(luminance)
  @max_luminance = "#{@track_id}:#{luminance}"
  self
end

#with_min_luminance(luminance) ⇒ Object



199
200
201
202
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 199

def with_min_luminance(luminance)
  @min_luminance = "#{@track_id}:#{luminance}"
  self
end

#with_name(name) ⇒ Object



18
19
20
21
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 18

def with_name(name)
  @name = "#{@track_id}:#{name}"
  self
end

#with_projection_pose_pitch(pitch) ⇒ Object



219
220
221
222
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 219

def with_projection_pose_pitch(pitch)
  @projection_pose_pitch = "#{@track_id}:#{pitch}"
  self
end

#with_projection_pose_roll(roll) ⇒ Object



224
225
226
227
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 224

def with_projection_pose_roll(roll)
  @projection_pose_roll = "#{@track_id}:#{roll}"
  self
end

#with_projection_pose_yaw(yaw) ⇒ Object



214
215
216
217
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 214

def with_projection_pose_yaw(yaw)
  @projection_pose_yaw = "#{@track_id}:#{yaw}"
  self
end

#with_projection_private(hex_data) ⇒ Object



209
210
211
212
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 209

def with_projection_private(hex_data)
  @projection_private = "#{@track_id}:#{hex_data}"
  self
end

#with_projection_type(type) ⇒ Object



204
205
206
207
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 204

def with_projection_type(type)
  @projection_type = "#{@track_id}:#{type}"
  self
end

#with_stereo_mode(mode) ⇒ Object



234
235
236
237
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 234

def with_stereo_mode(mode)
  @stereo_mode = "#{@track_id}:#{mode}"
  self
end

#with_sub_charset(charset) ⇒ Object



239
240
241
242
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 239

def with_sub_charset(charset)
  @sub_charset = "#{@track_id}:#{charset}"
  self
end

#with_tags(file) ⇒ Object



28
29
30
31
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 28

def with_tags(file)
  @tag_file = "#{@track_id}:#{file}"
  self
end

#with_timestamps(file) ⇒ Object



88
89
90
91
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 88

def with_timestamps(file)
  @timestamp_file = "#{@track_id}:#{file}"
  self
end

#with_track_sync(d = 0, o_div_p = 1.0) ⇒ Object



38
39
40
41
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 38

def with_track_sync(d = 0, o_div_p = 1.0)
  @track_sync = "#{@track_id}:#{d},#{o_div_p}"
  self
end

#with_white_color_coordinate(x, y) ⇒ Object



189
190
191
192
# File 'lib/mkvtoolnix/types/merge/input_track_options.rb', line 189

def with_white_color_coordinate(x, y)
  @white_color_coordinate = "#{@track_id}:#{x},#{y}"
  self
end