def parse_audio_stream_data(self, line):
        """Parses data from "Stream ... Audio" line."""
        stream_data = {}
        try:
            stream_data["fps"] = int(re.search(r" (\d+) Hz", line).group(1))
        except (AttributeError, ValueError):
            # AttributeError: 'NoneType' object has no attribute 'group'
            # ValueError: invalid literal for int() with base 10: '<string>'
            stream_data["fps"] = "unknown"
        match_audio_bitrate = re.search(r"(\d+) k(i?)b/s", line)
        stream_data["bitrate"] = (
            int(match_audio_bitrate.group(1)) if match_audio_bitrate else None
        )
        return stream_data
Parses data from "Stream ... Audio" line.
moviepy/video/io/ffmpeg_reader.py