Skip to content
Snippets Groups Projects

(feature) A transcoding endpoint that does something!

Merged Brian Hatchet requested to merge brianhatchet/engine:transcoding_endpoint into master

Added a new endpoint to v1/media/transcoding It was relying on the default fall through on /media/ without matching a type. And the front end was just hard coding a response.

This utilizes the AWS S3 client baked into FFMpeg.php to query the configured bucket and list the objects that match the prefix /cinemr_dir/video_guid

Based on the keys that s3 returns, it then builds a TranscodingStatus object which parses the keys into statuses.

A properly transcoded video should have

  • guid/source - the raw video
  • guid/{video height}.format for each of the presets configured in CONFIG->transcoder->[prefixes]
  • thumbnails

If this proves slow or unreliable, the next step is have FFMPEG write status per guid to cassandra

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading