https://github.com/josev2046/transcode-status
This script monitors the transcoding progress of a video uploaded to Vimeo, displaying a progress bar in the command line interface until transcoding is complete or encounters an error.
https://github.com/josev2046/transcode-status
api hopethishelps python status transcode vimeo
Last synced: 2 months ago
JSON representation
This script monitors the transcoding progress of a video uploaded to Vimeo, displaying a progress bar in the command line interface until transcoding is complete or encounters an error.
- Host: GitHub
- URL: https://github.com/josev2046/transcode-status
- Owner: josev2046
- License: cc0-1.0
- Created: 2024-05-30T21:02:41.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-27T22:14:55.000Z (about 1 year ago)
- Last Synced: 2024-10-28T03:27:57.443Z (about 1 year ago)
- Topics: api, hopethishelps, python, status, transcode, vimeo
- Homepage: https://developer.vimeo.com/api/reference/response/video
- Size: 24.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
**Transcode Status:** This script monitors the transcoding progress of the uploaded video, displaying a progress bar in the command line interface until transcoding is complete or encounters an error.
**Story:**
As a developer, I want to upload videos programmatically to Vimeo, verify successful upload, and monitor the transcoding process to ensure that videos are ready for viewing.
**Criteria:**
Upon receiving the request, the Vimeo API should create a video on the Vimeo Servers and provide a response containing an upload link.
After patching the upload link with the video file, I should receive partial upload confirmations from the Vimeo Servers to track the progress.
Once the upload is complete, I should be able to verify the upload by sending a HEAD request to the Vimeo API.
The Vimeo API should confirm the upload and provide the necessary data for further processing.
I should periodically check the transcoding status of the video by sending GET requests to the Vimeo API - how often entirely up to you, am going for 10” in this prototype, let’s call it 'n' in our manifest.
If the transcoding is in progress, I should receive periodic updates on the status until it's complete.
Upon completion of transcoding, the Vimeo API should provide a response indicating the completion of transcoding.
In case of an upload failure, I should receive notifications to handle the failure appropriately.
**Other:** Vimeo has a webhooks API, CAPABILITY_WEBHOOKS. A video’s conversion/transcode status is also returned under the “status” field in the “transcode” object of the video response. This field will return the value “complete”, “error”, or “in_progress.”
You could periodically make GET requests to the API to get the video's transcode status.
**Logic Flow:**

**Rapid Prototype:**
https://github.com/josev2046/Transcode-status/assets/15835851/df184548-8ddd-4d72-8d69-8d7dda8a31f3