mirror of
https://github.com/home-assistant/core.git
synced 2025-08-02 12:15:08 +02:00
Remove metadata and cover art using ffmpeg proxy conversion (#128603)
Remove metadata and cover art
This commit is contained in:
@@ -155,6 +155,9 @@ class FFmpegConvertResponse(web.StreamResponse):
|
|||||||
# 16-bit samples
|
# 16-bit samples
|
||||||
command_args.extend(["-sample_fmt", "s16"])
|
command_args.extend(["-sample_fmt", "s16"])
|
||||||
|
|
||||||
|
# Remove metadata and cover art
|
||||||
|
command_args.extend(["-map_metadata", "-1", "-vn"])
|
||||||
|
|
||||||
# Output to stdout
|
# Output to stdout
|
||||||
command_args.append("pipe:")
|
command_args.append("pipe:")
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user