Fix unexpected stop of media playback via ffmpeg proxy for ESPhome devices (#130788)

disable writing progress stats to stderr in ffmpeg command
This commit is contained in:
Michael 2024-11-17 01:58:25 +01:00 committed by GitHub
parent fece83d882
commit d8dd6d6abe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -179,6 +179,9 @@ class FFmpegConvertResponse(web.StreamResponse):
# Remove metadata and cover art
command_args.extend(["-map_metadata", "-1", "-vn"])
# disable progress stats on stderr
command_args.append("-nostats")
# Output to stdout
command_args.append("pipe:")