mirror of
https://github.com/home-assistant/core.git
synced 2025-07-27 23:27:37 +00:00
Remove metadata and cover art using ffmpeg proxy conversion (#128603)
Remove metadata and cover art
This commit is contained in:
parent
f08d2716ae
commit
1a9c6deb0d
@ -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:")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user