8000 Export Clips doesn't seem to work with Audio Only · Issue #142 · antiboredom/videogrep · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Export Clips doesn't seem to work with Audio Only #142
Open
@bsom

Description

@bsom

I have MKV files that are audio-only (output of ffmpeg-normalize). They work great for a single file export but if I try to use them with the --export-clips switch, it crashes.

Working example:
videogrep --input *.mkv --search 'dollars' --output dollars.wav

Failed example:
videogrep --input *.mkv --search 'dollars' --export-clips

Failed example gives the following error:
File "/opt/homebrew/lib/python3.13/site-packages/moviepy/video/io/ffmpeg_reader.py", line 37, in init
self.fps = infos['video_fps']
~~~~~^^^^^^^^^^^^^
KeyError: 'video_fps'

It appears to be looking for fps of an audio clip which isn't really a thing...?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0