retold-remote 0.0.21 → 0.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -896,7 +896,8 @@ class RetoldRemoteMediaService extends libFableServiceProviderBase
|
|
|
896
896
|
{
|
|
897
897
|
VideoAddress: '>retold-remote/File/' + tmpRelPath,
|
|
898
898
|
Timestamp: '00:00:02',
|
|
899
|
-
Width: pWidth
|
|
899
|
+
Width: pWidth,
|
|
900
|
+
TimeoutMs: 1800000
|
|
900
901
|
},
|
|
901
902
|
(pTriggerError, pResult) =>
|
|
902
903
|
{
|
|
@@ -164,9 +164,10 @@ function _buildPipelineOperation(pConfig)
|
|
|
164
164
|
_taskNode(tmpTransferHash, 'file-transfer', 'File Transfer', 490, 180,
|
|
165
165
|
{
|
|
166
166
|
SourceURL: '{~D:Record.TaskOutputs.' + tmpResolveHash + '.URL~}',
|
|
167
|
-
Filename: '{~D:Record.TaskOutputs.' + tmpResolveHash + '.Filename~}'
|
|
167
|
+
Filename: '{~D:Record.TaskOutputs.' + tmpResolveHash + '.Filename~}',
|
|
168
|
+
TimeoutMs: pConfig.TransferTimeoutMs || 300000
|
|
168
169
|
},
|
|
169
|
-
['SourceURL', 'Filename'],
|
|
170
|
+
['SourceURL', 'Filename', 'TimeoutMs'],
|
|
170
171
|
['LocalPath', 'BytesTransferred', 'DurationMs']),
|
|
171
172
|
|
|
172
173
|
_taskNode(tmpProcessHash, pConfig.ProcessType, pConfig.ProcessTitle, 760, 180,
|
|
@@ -261,7 +262,7 @@ function getOperations()
|
|
|
261
262
|
Height: '{~D:Record.Operation.Height~}',
|
|
262
263
|
Format: '{~D:Record.Operation.Format~}',
|
|
263
264
|
Quality: '{~D:Record.Operation.Quality~}',
|
|
264
|
-
TimeoutMs:
|
|
265
|
+
TimeoutMs: 300000
|
|
265
266
|
},
|
|
266
267
|
ProcessSettings: ['InputFile', 'OutputFile', 'Width', 'Height', 'Format', 'Quality'],
|
|
267
268
|
ProcessOutputs: ['Result', 'StdOut'],
|
|
@@ -276,6 +277,7 @@ function getOperations()
|
|
|
276
277
|
Description: 'Generate a thumbnail from a video file. Pipeline: resolve → download → extract frame → send result. Trigger with Parameters: { VideoAddress, Timestamp, Width }.',
|
|
277
278
|
Tags: ['media', 'video', 'thumbnail'],
|
|
278
279
|
AddressParam: 'VideoAddress',
|
|
280
|
+
TransferTimeoutMs: 1800000,
|
|
279
281
|
ProcessType: 'beacon-mediaconversion-videothumbnail',
|
|
280
282
|
ProcessTitle: 'Extract Thumbnail',
|
|
281
283
|
ProcessData:
|
|
@@ -283,7 +285,7 @@ function getOperations()
|
|
|
283
285
|
OutputFile: 'thumbnail.jpg',
|
|
284
286
|
Timestamp: '{~D:Record.Operation.Timestamp~}',
|
|
285
287
|
Width: '{~D:Record.Operation.Width~}',
|
|
286
|
-
TimeoutMs:
|
|
288
|
+
TimeoutMs: 600000
|
|
287
289
|
},
|
|
288
290
|
ProcessSettings: ['InputFile', 'OutputFile', 'Timestamp', 'Width'],
|
|
289
291
|
ProcessOutputs: ['Result', 'StdOut'],
|
|
@@ -301,13 +303,14 @@ function getOperations()
|
|
|
301
303
|
_taskNode(tmpVfe + '-transfer', 'file-transfer', 'File Transfer', 440, 180,
|
|
302
304
|
{
|
|
303
305
|
SourceURL: '{~D:Record.TaskOutputs.' + tmpVfe + '-resolve.URL~}',
|
|
304
|
-
Filename: '{~D:Record.TaskOutputs.' + tmpVfe + '-resolve.Filename~}'
|
|
306
|
+
Filename: '{~D:Record.TaskOutputs.' + tmpVfe + '-resolve.Filename~}',
|
|
307
|
+
TimeoutMs: 1800000
|
|
305
308
|
},
|
|
306
|
-
['SourceURL', 'Filename'], ['LocalPath', 'BytesTransferred', 'DurationMs']),
|
|
309
|
+
['SourceURL', 'Filename', 'TimeoutMs'], ['LocalPath', 'BytesTransferred', 'DurationMs']),
|
|
307
310
|
_taskNode(tmpVfe + '-probe', 'beacon-mediaconversion-mediaprobe', 'Probe Video', 660, 180,
|
|
308
311
|
{
|
|
309
312
|
AffinityKey: '{~D:Record.Operation.VideoAddress~}',
|
|
310
|
-
TimeoutMs:
|
|
313
|
+
TimeoutMs: 600000
|
|
311
314
|
},
|
|
312
315
|
['InputFile'], ['Result', 'StdOut']),
|
|
313
316
|
_taskNode(tmpVfe + '-extract', 'beacon-mediaconversion-videoextractframe', 'Extract Frame', 880, 180,
|
|
@@ -316,7 +319,7 @@ function getOperations()
|
|
|
316
319
|
Timestamp: '{~D:Record.Operation.Timestamp~}',
|
|
317
320
|
Width: '{~D:Record.Operation.Width~}',
|
|
318
321
|
AffinityKey: '{~D:Record.Operation.VideoAddress~}',
|
|
319
|
-
TimeoutMs:
|
|
322
|
+
TimeoutMs: 600000
|
|
320
323
|
},
|
|
321
324
|
['InputFile', 'OutputFile', 'Timestamp', 'Width'], ['Result', 'StdOut']),
|
|
322
325
|
_taskNode(tmpVfe + '-result', 'send-result', 'Send Result', 1100, 180,
|
|
@@ -353,6 +356,7 @@ function getOperations()
|
|
|
353
356
|
Description: 'Extract waveform peak data from an audio file. Pipeline: resolve → download → extract waveform → send result. Trigger with Parameters: { AudioAddress, SampleRate, Samples }.',
|
|
354
357
|
Tags: ['media', 'audio', 'waveform'],
|
|
355
358
|
AddressParam: 'AudioAddress',
|
|
359
|
+
TransferTimeoutMs: 600000,
|
|
356
360
|
ProcessType: 'beacon-mediaconversion-audiowaveform',
|
|
357
361
|
ProcessTitle: 'Extract Waveform',
|
|
358
362
|
ProcessData:
|
|
@@ -374,6 +378,7 @@ function getOperations()
|
|
|
374
378
|
Description: 'Extract a time-range segment from an audio file. Pipeline: resolve → download → extract segment → send result. Trigger with Parameters: { AudioAddress, Start, Duration, Codec }.',
|
|
375
379
|
Tags: ['media', 'audio', 'segment'],
|
|
376
380
|
AddressParam: 'AudioAddress',
|
|
381
|
+
TransferTimeoutMs: 600000,
|
|
377
382
|
ProcessType: 'beacon-mediaconversion-audioextractsegment',
|
|
378
383
|
ProcessTitle: 'Extract Segment',
|
|
379
384
|
ProcessData:
|
|
@@ -404,7 +409,7 @@ function getOperations()
|
|
|
404
409
|
OutputFile: 'page.png',
|
|
405
410
|
Page: '{~D:Record.Operation.Page~}',
|
|
406
411
|
LongSidePixels: '{~D:Record.Operation.LongSidePixels~}',
|
|
407
|
-
TimeoutMs:
|
|
412
|
+
TimeoutMs: 300000
|
|
408
413
|
},
|
|
409
414
|
ProcessSettings: ['InputFile', 'OutputFile', 'Page', 'LongSidePixels'],
|
|
410
415
|
ProcessOutputs: ['Result', 'StdOut'],
|
|
@@ -467,7 +472,7 @@ function getOperations()
|
|
|
467
472
|
ProcessTitle: 'Probe Metadata',
|
|
468
473
|
ProcessData:
|
|
469
474
|
{
|
|
470
|
-
TimeoutMs:
|
|
475
|
+
TimeoutMs: 300000
|
|
471
476
|
},
|
|
472
477
|
ProcessSettings: ['InputFile'],
|
|
473
478
|
ProcessOutputs: ['Result', 'StdOut'],
|
|
@@ -412,7 +412,8 @@ class RetoldRemoteVideoFrameService extends libFableServiceProviderBase
|
|
|
412
412
|
{
|
|
413
413
|
VideoAddress: '>retold-remote/File/' + tmpRelPath,
|
|
414
414
|
Timestamp: tmpTimeStr,
|
|
415
|
-
Width: pWidth
|
|
415
|
+
Width: pWidth,
|
|
416
|
+
TimeoutMs: 1800000
|
|
416
417
|
},
|
|
417
418
|
(pTriggerError, pResult) =>
|
|
418
419
|
{
|