This project implements a video transcoding service that receives a video ID, transcodes the video, and returns the URL of the transcoded video.
The following diagram illustrates the network calls and the overall flow of the transcoding process:
- GET /transcode
- Query Parameter:
id
(video ID) - Description: Initiates the transcoding process for the specified video
- Returns: URL of the transcoded video
- Query Parameter:
- The client sends a GET request to
/transcode
with the video ID. - The server retrieves the raw video data from the video storage using the provided ID.
- The server sends the video data to the transcoder for processing.
- The transcoder processes the video and pushes the transcoded version to the transcoded storage.
- The transcoded storage returns the URL of the newly transcoded video.
- The server receives the transcoded video URL and returns it to the client.
- Implement more robust error handling.
- Add support for different video formats and resolutions.
- Optimize the transcoding process for better performance.