CouncilDataProject / cdp-backend

Data storage utilities and processing pipelines used by CDP instances.
https://councildataproject.org/cdp-backend
Mozilla Public License 2.0
22 stars 26 forks source link

Cannot store and transcribe multiple videos that are clipped via the video_start_time and video_end_time event params #226

Closed smai-f closed 1 year ago

smai-f commented 1 year ago

Describe the Bug

I’m scraping multiple events that have video_start_time and video_end_time params to only transcribe a subset of a full video.

The call to clip_and_reformat_video when clipping the subset of a video isn’t passing in an outpath_path param, so they are all named the default clipped.mp4 which is erroring out from the duplication.

Expected Behavior

Scraping multiple videos at once with trimmed segments should work.

Reproduction

Event list printed near top of logs: https://github.com/OpenMontana/montana-legislature-council-data-project/actions/runs/3783141951/jobs/6431445321

Environment