jhudsl / ari

:dancers: The Automated R Instructor
https://jhudatascience.org/ari/
Other
146 stars 37 forks source link

Reduce arguments #53

Closed howardbaek closed 10 months ago

howardbaek commented 11 months ago

Purpose/implementation Section

Reduce the number of arguments to ari_narrate() and ari_stitch() by consolidating all the ffmpeg arguments into one list, called ffmpeg_args.

What changes are being implemented in this Pull Request?

Create new function argument, ffmpeg_args, which is a list of all the ffmpeg options. Then, refer to these options by accessing the list elements, for ex, ffmpeg_args$video_filters.