From a web page to a shot inventory
Save the video a page plays, cut it into shots, and list everything in one spreadsheet, using three Vibes in a short Node script.
Vibes used
You have a page with a showreel on it, and you want the shots as separate files and a spreadsheet that lists them. Three Vibes do this in order, and each one hands the next a file in your project folder.
1. Extract Media 0.1.0 saves the page's media
Point it at the page. It finds the video (and, if you ask, the images) the page plays, downloads them into a references folder named after the site, and writes a manifest that records where each file came from. Run it with a dry run first if you want to see the list and the total size before anything is downloaded.
2. Cut Shots 0.1.0 cuts each saved video
It finds the hard cuts, writes one MP4 per shot into a folder next to the video, and records each shot's start and length. Ask for a plan first to see the cuts without writing anything. If a moving camera is being split into too many pieces, raise the sensitivity setting; if real cuts are missed, lower it. It needs FFmpeg on the machine.
3. Write Spreadsheet 0.1.0 writes the inventory
One sheet lists the media files with their size and source address, a second lists the shots with start and length. The workbook opens in Excel, Numbers, LibreOffice and Google Sheets.
Settings live in one file
Each Vibe reads its own section of the project's settings file: which kinds of media to take, how many shots one run may write, the default cut sensitivity. Change a value and run again; the next workbook reflects it. A value outside the allowed range stops the run before anything is fetched, and the message names the setting.
A worked example ships with the Vibes
The library's node-consumer example runs these three steps against a local test page (a generated six-second video with three hard cuts, and a still image), so you can see the whole chain work without touching the internet. Running it twice, with the second run limited to video and to two shots, shows the inventory change from two media rows and four shots to one and two.