Update final_video.py

pull/1091/head
Simon 3 years ago committed by GitHub
parent 37462a8563
commit a96816a0fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -140,9 +140,9 @@ def make_final_video(
# # lowered_audio = audio_background.multiply_volume( # todo get this to work # # lowered_audio = audio_background.multiply_volume( # todo get this to work
# # VOLUME_MULTIPLIER) # lower volume by background_audio_volume, use with fx # # VOLUME_MULTIPLIER) # lower volume by background_audio_volume, use with fx
# final.set_audio(final_audio) # final.set_audio(final_audio)
'''final = Video(final).add_watermark( final = Video(final).add_watermark(
text=f"Background credit: {background_config[2]}", opacity=0.4 text=f"Background credit: {background_config[2]}", opacity=0.4, redditid=reddit_obj
)''' # todo add watermark )
final.write_videofile( final.write_videofile(
f"assets/temp/{id}/temp.mp4", f"assets/temp/{id}/temp.mp4",
fps=30, fps=30,

Loading…
Cancel
Save