Skip to content

Next

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
Minds Backend - Engine
Minds Backend - Engine
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
    • Locked Files
  • Issues 145
    • Issues 145
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 36
    • Merge Requests 36
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Registry
    • Registry
  • Packages
    • Packages
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Minds
  • Minds Backend - EngineMinds Backend - Engine
  • Merge Requests
  • !194

Open
Opened 1 day ago by Brian Hatchet@brianhatchet:speech_balloon:
  • Report abuse
Report abuse

(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

Check out, review, and merge locally

Step 1. Fetch and check out the branch for this merge request

git fetch https://gitlab.com/brianhatchet/engine.git transcoding_endpoint
git checkout -b brianhatchet/engine-transcoding_endpoint FETCH_HEAD

Step 2. Review the changes locally

Step 3. Merge the branch and fix any conflicts that come up

git fetch origin
git checkout origin/master
git merge --no-ff brianhatchet/engine-transcoding_endpoint

Step 4. Push the result of the merge to GitLab

git push origin master

Note that pushing to GitLab requires write access to this repository.

Tip: You can also checkout merge requests locally by following these guidelines.

Request to merge brianhatchet:transcoding_endpoint into master
Open in Web IDE
  • Email patches
  • Plain diff
Pipeline #65289506 passed for 00895004 on brianhatchet:transcoding_endpoint
      Requires approval from Devs. Approved by
      Marcelo Rivera
      Marcelo Rivera
      Mark Harding
      Mark Harding
      Martin Santangelo
      Martin Santangelo
      Ben Hayward
      Ben Hayward
      Emiliano Balbuena
      Emiliano Balbuena
      Rami Albatal
      Rami Albatal
      Ready to be merged automatically. Ask someone with write access to this repository to merge this request
      Allows commits from members who can merge to the target branch

      Deletes source branch

      • Discussion 1
      • Commits 2
      • Pipelines 2
      • Changes 4
      • Loading...
      • Brian Hatchet :speech_balloon: @brianhatchet changed milestone to %sprint: Giddy Giraffe 1 day ago

        changed milestone to %sprint: Giddy Giraffe

      • Brian Hatchet
        Brian Hatchet :speech_balloon: @brianhatchet · 1 day ago
        Maintainer

        Back end changes for front#912

      • Brian Hatchet :speech_balloon: @brianhatchet added 1 commit 1 day ago

        added 1 commit

        • 00895004 - API cleanup

        Compare with previous version

      • Marcelo Rivera @eiennohi approved this merge request 3 hours ago

        approved this merge request

      • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
      Please register or sign in to reply
      Assignee
      Brian Hatchet's avatar Brian Hatchet @brianhatchet
      Assign to
      sprint: Giddy Giraffe
      Milestone
      sprint: Giddy Giraffe
      Assign milestone
      None
      Time tracking
      No estimate or time spent
      0
      Labels
      None
      Assign labels
      • View project labels
      Lock merge request
      Unlocked
      7
      7 participants
      user avatar
      Mark Harding
      user avatar
      Martin Santangelo
      user avatar
      Ben Hayward
      user avatar
      Emiliano Balbuena
      user avatar
      Rami Albatal
      user avatar
      Brian Hatchet
      user avatar
      Marcelo Rivera
      Reference: minds/engine!194