Skip to content

Python script for downloading chunked streaming video segments and concatenating them into a complete video file.

Notifications You must be signed in to change notification settings

amirsefati/stream-downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Concatenating the downloaded chunked video

Many times, streamed videos send chunked video segments with new URLs to the client. This script helps concatenate these videos.

steps

1.find pattern of new url to download 2.create loop to download all video and save with "requests" Python Package

Installation

Install python packages

pip install moviepy requests

Run project

  git clone <repo>
  cd stream-downloader
  python download.py

If use Mac operaiton system install FFmpeg

brew install ffmpeg

and set environment in file

import os
os.environ["IMAGEIO_FFMPEG_EXE"] = "/usr/bin/ffmpeg"

About

Python script for downloading chunked streaming video segments and concatenating them into a complete video file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages