mediamonks / display-ads-recorder

The Display Ads Recorder is a command line tool meant to record display ads and output these to separate formats, like video, jpg and gif (animated).
2 stars 6 forks source link

Adds audio option to video generation process #10

Closed mm-vasyl closed 7 months ago

mm-vasyl commented 7 months ago

new CLI options: -au --audio <rel path to audio file from --targetDir> -v --volume \<volume> (1 by default)

by default cuts the audio if it's longer (to video length) in case your audio is shorter than the video - comment '-shortest' in addAudioToVideo.js

how to use: put some audio.mp3 (i.e. this one) in the root of a project run display-ads-recorder -t build -a -f 30 -m -au "../audio.mp3" -v 0.2

PabloCarreira commented 7 months ago

Amazing! Thank you so much Vasyl! I will be testing the pr today.