Refactoring Video Assembler To Help With Testing - Stream Notes for November 4 2020 LiveCoding
youtube: https://www.youtube.com/watch?v=HQz3hpD48WE
Notes
Spent more time working on the Automatic Video Assembler. Refactored out a Video class that let me get my head around how to add tests. I'd been struggling with that but couldn't find a way in until I split out the Video object as its own thing. I got the first real assembly command built. Still need to:
- chop down clips that are too long
- find a way to apply a bell curve to the randomness for the length of clips
- create the json config file that determines the transitions and randomize it
- produce the ffmpeg command that lays in the audio
- run the commands automatically
I've also been thinking that I'll deploy this to an EC2 instance and run in there. Much faster network and I get get a beefy box for it to burn through the processing. (If I get wily, I'll run tests on a couple boxes to see what the price performance is for running video. Does it make sense to get a smaller box that will take longer but is cheaper, or a beefier one that costs more but takes less time?)
Towards the end, a buddy got on and we looked at some of the APIs and content available for bills and votes and such from Congress. Some interesting possibilities there.
Links From The Stream
- (no title)
- (no title)
- (no title)
- (no title)
- (no title)
- (no title)
- (no title)
- (no title)
- (no title)
- (no title)
- (no title)
- (no title)
- (no title)
- (no title)
- (no title)
- Announcing the Congress API - The New York Times
- Bills · unitedstates/congress Wiki
- Congress API Additions: Bills and Floor Appearances | by The NYT Open Team | NYT Open
- congress-legislators/cspan.py at master · unitedstates/congress-legislators
- Congressional Record Index | Congress.gov | Library of Congress
- Congressional Record Senate Articles | Congress.gov | Library of Congress
- Congressional Record | Congress.gov | Library of Congress
- FAQs | C-SPAN.org
- GitHub: congress - Public domain data collectors for the work of Congress,...
- GitHub: images - Public domain photos of Members of the United States...
- GitHub: python-us - A package for easily working with US and state metadata...
- Google Search: cspan
- Google Search: cspan api
- Google Search: cspan public domain
- Google Search: ct scan
- Google Search: mri
- Google Search: python get file extension
- Google Search: python join
- Home | Dev Portal
- Members - ProPublica Congress API
- Members - ProPublica Congress API
- NASA Image and Video Library
- Python 3.9.0 Documentation: Built-in Types
- Stack Overflow: Extracting extension from filename in Python
- Stack Overflow: What exactly does the .join() method do?
- Statements - ProPublica Congress API
- User Clip: API | C-SPAN.org
- Votes - ProPublica Congress API
- Votes - ProPublica Congress API
- Votes · unitedstates/congress Wiki