Closed Euklios closed 2 years ago
Describe the bug FFmpeg.codecs() fails to load the present codecs and returns an empty list rather than the known ones.
FFmpeg.codecs()
To Reproduce
new FFmpeg().codecs()
Expected behavior A clear and concise description of what you expected to happen.
Version (if applicable):
Additional context The response seems to have changed at some point. While the current output of ffmpeg -codecs returns:
ffmpeg -codecs
D..... = Decoding supported .E.... = Encoding supported ..V... = Video codec ..A... = Audio codec ..S... = Subtitle codec ...I.. = Intra frame-only codec ....L. = Lossy compression .....S = Lossless compression ------- D.VI.S 012v Uncompressed 4:2:2 10-bit D.V.L. 4xm 4X Movie
We currently parse:
Codecs: D..... = Decoding supported .E.... = Encoding supported ..V... = Video codec ..A... = Audio codec ..S... = Subtitle codec ...S.. = Supports draw_horiz_band ....D. = Supports direct rendering method 1 .....T = Supports weird frame truncation ------ D V D 4xm 4X Movie
This difference results in the CODECS_REGEX never matching at all
CODECS_REGEX
Describe the bug
FFmpeg.codecs()
fails to load the present codecs and returns an empty list rather than the known ones.To Reproduce
Expected behavior A clear and concise description of what you expected to happen.
Version (if applicable):
Additional context The response seems to have changed at some point. While the current output of
ffmpeg -codecs
returns:We currently parse:
This difference results in the
CODECS_REGEX
never matching at all