Streampunk / dynamorse-deprecated

IoT swiss army knife for dynamic software infrastructure.
Apache License 2.0
12 stars 2 forks source link

Complete raw-file support. #6

Closed sparkpunkd closed 8 years ago

sparkpunkd commented 8 years ago
sparkpunkd commented 8 years ago

Added contentType field to first grain of sidecar JSON file so that streams are more self-describing when this metadata is present.

Example:

[{
  "payloadCount": 1,
  "payloadSize": 5184000,
  "ptpSyncTimestamp": "1447060468:480000000",
  "ptpOriginTimestamp": "1447060468:480000000",
  "timecode": "08:48:35:22",
  "flow_id": "fb849f78-92eb-4978-ad29-68475348215d",
  "source_id": "9d02107b-7edd-4cd5-ad31-9904a3033d75",
  "duration": "1000/25000",
  "contentType": "video/raw; sampling=YCbCr-4:2:2; width=1920; height=1080; depth=10; colorimetry=BT709-2; interlace=1"
}]
sparkpunkd commented 8 years ago

Version 0.1.16 has matching raw file in and out support.