educative.io

Educative

Video Encoding - Where does the video file reside before encoding the video

Hi Team,

When the video is uploaded to the Application server, it is then passed to Encoding Service through Queue. How is the data transferred, and where does the video file reside? Do we send only pointers in the Queue? Is the video file saved to Distributed File system only after the file is encoded? Can you please explain the life cycle of how the video is stored.

You store file location (pointer) in the queue. The processing server gets the location from queue and encode the video and place it in final location. It can also move the original video for archive folder or delete.