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 Franck Nijhof
parent 876112ff54
commit a588ced2e3
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3

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:")