You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
485 B

  1. class SourceMedia():
  2. """Source media used by eg feature extractors. This is a list of Source objects.
  3. JSON type schema:
  4. [{
  5. "source": "/path/to/video.mp4",
  6. "path": "/path/to/video.mp4",
  7. "provider": "FileInputJSON"
  8. },
  9. {
  10. "source": "http://example.com/video.mp4",
  11. "path": "/path/to/downloaded_video.mp4",
  12. "provider": "InputYAML"
  13. }]
  14. It should be possible to combine/merge/aggregate multiple SourceMedia into one