Skip to content

Commit 88d1aa0

Browse files
committed
Use AAC in output
1 parent 68041ce commit 88d1aa0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/highlight_video_maker/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ def run(
235235
-filter_complex "
236236
[1]format=rgba,colorchannelmixer=aa=0.5[logo];
237237
[0][logo]overlay=W-w-30:H-h-30:format=auto,format=yuv420p
238-
" -c:a copy "{horiz_output_file}"''',
238+
" -c:a aac -b:a 128k "{horiz_output_file}"''',
239239
shell=True,
240240
check=True,
241241
capture_output=True,
@@ -252,7 +252,7 @@ def run(
252252
[copy]scale=-1:ih*(4/3)*(4/3),crop=w=ih*9/16,gblur=sigma=17:steps=5[blurred];
253253
[blurred][original]overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2[vert];
254254
[vert][1]overlay=(W-w)/2:H-h-30,format=yuv420p
255-
" -c:a copy "{vert_output_file}"''',
255+
" -c:a aac -b:a 128k "{vert_output_file}"''',
256256
shell=True,
257257
check=True,
258258
capture_output=True,

0 commit comments

Comments
 (0)