File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ def _ffset(option: str, value: str | None) -> list[str]:
99
99
return [option ] + [value ]
100
100
101
101
102
- def video_quality (args : Args , ctr : Container ) -> list [str ]:
102
+ def video_quality (args : Args ) -> list [str ]:
103
103
return (
104
104
_ffset ("-b:v" , args .video_bitrate )
105
105
+ ["-c:v" , args .video_codec ]
@@ -174,7 +174,7 @@ def mux_quality_media(
174
174
for is_video , path in visual_output :
175
175
if is_video :
176
176
if apply_v :
177
- cmd += video_quality (args , ctr )
177
+ cmd += video_quality (args )
178
178
else :
179
179
# Real video is only allowed on track 0
180
180
cmd += ["-c:v:0" , "copy" ]
Original file line number Diff line number Diff line change @@ -205,7 +205,7 @@ def render_av(
205
205
if apply_video_later :
206
206
cmd += ["-c:v" , "mpeg4" , "-qscale:v" , "1" ]
207
207
else :
208
- cmd += video_quality (args , ctr )
208
+ cmd += video_quality (args )
209
209
210
210
# Setting SAR requires re-encoding so we do it here.
211
211
if src is not None and src .videos and (sar := src .videos [0 ].sar ) is not None :
You can’t perform that action at this time.
0 commit comments