



This will be used to run the concatenate process. For example, if the video fragments are 0001.ts to 0999.ts it will download all of them into a folder you define. Download all pieces of a video stream.The bash script we’ve made available here on GitHub is going to do the following: FFMPEG documentation as of 05/08/20 – What Does This Script Do? The demuxer is more flexible – it requires the same codecs, but different container formats can be used and it can be used with any container formats, while the protocol only works with a select few containers. We will be using FFMPEG to do the concatenation (combining) of the video fragments. The video and audio is in the mpeg-2 format, meaning it can pretty easily be converted to other common formats like mp4. ts format was used on DVDs, but more likely today you can find it on internet video streams. ts video extension stands for transport stream. The second reason is because it seemed like a good learning exercise for bash scripting.The first was we couldn’t find the original versions of some of our old marketing webinars (before we moved everything to s3 cloud storage).I originally wrote this script for 2 reasons: Why I Wrote This Bash Script to Download Video Fragments Using bash, we can run read a list of commands or inputs from a file, run programs from the command line, and or examine their standard output to coordinate other tasks. Bash continues to be one of the most popular shells for Linux workstations and server distributions. Bash was the default for shell for MacOS up until Catalina when it was replaced with zsh. What is Bash?īash is a popular Unix Shell and command line language. How to Run the Download Video Fragments Scriptĭo not download videos you do not have the rights or license to.How Do You Configure and Run the Script to Download Video Fragments?.

Why I Wrote This Bash Script to Download Video Fragments.
