Commit: 9caa78e8c1f33005888458838c38fc60d705d236
Parent: 553e415f89d443ee365aa16dd95503961ff6e2f6
Author: Ren Tatsumoto
Date: Fri, 16 Oct 2020 04:59:27 +0300
inherit mpv value
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/subs2srs.lua b/subs2srs.lua
@@ -429,6 +429,7 @@ encoder.create_audio = function(start_timestamp, end_timestamp, filename)
table.concat { '--start=', start_timestamp },
table.concat { '--end=', end_timestamp },
table.concat { '--aid=', mp.get_property("aid") }, -- track number
+ table.concat { '--volume=', mp.get_property('volume') },
table.concat { '--oacopts-add=b=', config.audio_bitrate },
table.concat { '-o=', fragment_path }
)