Skip to content

Formats not parsed for Versions >6.1.1 #408

Description

@Marek2k17

Describe the bug
If i use the Wrapper it will not be able to parse the Formats for FFMPEG if the installation is above version 7.0.0 and 8.0.0. The issue is that FFMPEG change the stdout of the format list, so the REGEX pattern inside the codebase will not work anymore. With Version 6.1.1 this feature will still work.

To Reproduce

new FFmpeg().formats(); //This will be an empty List

Expected behavior
I would excpect that the Wrapper will choose the correct REGEX Pattern for the current FFMPEG Version.

Version (if applicable):

  • OS: Windows/Linux
  • FFmpeg version >6.1.1

Activity

  1. bramp commented on May 4, 2026

    @bramp
    Owner

    Thanks, related to #392

  2. mvanhorn commented on Oct 10, 2026

    @mvanhorn
    Contributor

    The parser expected only the demuxing and muxing columns before the format name. Newer output includes a third column containing a space or a device marker, so those rows failed to match.

    The regex accepts an optional space or d after the two capability columns, supporting both legacy and modern output while preserving the existing capability capture. A new fixture and test cover modern formats and devices, malformed rows, and caching of the parsed result.

    #440

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions