How to download YouTube live stream video in chunks

In this tutorial, we gonna download YouTube live stream video in chunks for the given interval. We gonna run few commands in the terminal for this task, you can use any programming language to do the same to automate things.

FFmpeg is a complete, cross-platform solution to record, convert and stream audio and video.

Using FFmpeg we can easily create the chunks of file for a given video file for the given interval.

Here is the coomand to create a chucks of video files:

To generate video chunks from the Youtube live feed, first, we should grab the manifest URL of the live stream. We gonna use https://github.com/ytdl-org/youtube-dl to get manifest URL of youtube Livestream. Follow the official documentation of youtube-dl for installation steps.

After installation, run the following command to get the Manifest URL.

With the Manifest URL executes following command from your terminal it will download video chunks for the given interval.

I hope you like this Post, Please feel free to comment below, your suggestion and problems if you face - we are here to solve your problems.

3 Comments

Leave a Reply

Your email address will not be published.