Skip to content

Incompatibility with ffmpeg 9.0.1 and filter_script:v option #826

Description

@cveber-dot

Background

I installed

ffmpeg 9.0.1
mapillary_tools version 0.14.7

on my Win11 notebook.

Observation

When I execute
mapillary_tools video_process goprovideo.mp4

I get an error message

Unrecognized option 'filter_script:v'.
Error splitting the argument list: Option not found
Traceback (most recent call last):
  File "d:\.venv\Lib\site-packages\mapillary_tools\ffmpeg.py", line 423, in run_ffmpeg_non_interactive
    subprocess.run(full_cmd, check=True, stderr=self.stderr)
  File "C:\Programs\Python\Python312\Lib\subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['ffmpeg', '-nostdin', '-hide_banner', '-i', 'goprovideo.MP4', '-map', '0:0', '-filter_script:v', 'C:\\Users\\CVEBER\\AppData\\Local\\Temp\\tmpovf5uf9c', '-vsync', '0', '-frames:v', '4137', '-qscale:v', '2', 'C:\\temp\\a\\mapillary_sampled_video_frames\\.mly_ffmpeg_goprovideo.MP4_22900_1787731231\\goprovideo_0_%06d.jpg']' returned non-zero exit status 2880417800.

Looks like ffmpeg 9.0.1 is not supporting the "-filter_script:v" from ffmpeg.py anymore.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions