Sign In

Post #1479783

Author
SnooPac
Parent topic
The Star Wars Holiday Special: The Definitive Release (Help Needed) (WIP)
Link to post in topic
https://originaltrilogy.com/post/id/1479783/action/topic#1479783
Date created
13-Apr-2022, 2:38 PM
Last modified
13-Apr-2022, 2:39 PM
Edited by
SnooPac
Reason for edit
None provided

Darth telly said:

Would someone be willing to find a way to download this for me?
https://archive.org/details/COM_20120111_073000_The_Colbert_Report/start/0/end/60

That was annoying. It’s split up into multiple parts each 1 minute long. I wrote a quick bash script to download all the parts. Works on Linux. I think Mac would also work with this?
And if you have ffmpeg, it also combines them all:

main_link_start=“https://ia800609.us.archive.org/16/items/COM_20120111_073000_The_Colbert_Report/COM_20120111_073000_The_Colbert_Report.mp4?start=
main_link_end=“&end=”
counter=0
>colbert_concat
while [ $counter -lt 1800 ]
do
filename=The_Colbert_Report_$(printf “%04d” ${counter})-$(printf “%04d” $(expr ${counter} + 60)).mp4
echo “file $filename” >> colbert_concat
wget -O ${filename} ${main_link_start}${counter}${main_link_end}$(expr ${counter} + 60)
counter=$(expr ${counter} + 60)
done

ffmpeg -f concat -i colbert_concat -c copy The_Colbert_Report_20120110.mp4

In case that didn’t format correctly when pasting here:

code

I just ran it and it finished. When it’s done, it had the following files:
files

All the ~6mb files are the 1 minute mp4s.
colbert_concat is an intermediary file made by the script, needed by ffmpeg to combine.
go.sh is the actual script
The_Colbert_Report_20120110.mp4 is the final file, 179mb.

The final file seems fine. Most of the transitions at the minute marks are unnoticeable (3-4 of them had a bit of corrupted video).

Chewbacca & holiday special stuff starts at around the 17min mark 😃.