Commit 203fc087 authored by Brian Hatchet's avatar Brian Hatchet 💬 Committed by Mark Harding
Browse files

(feature) A transcoding endpoint that does something!

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
parent a11370c5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment