construct_ffmpeg_call#

skysim.plot.construct_ffmpeg_call(plot_settings)[source]#

Construct the command to call ffmpeg with. Note that the command is not actually run. Note that the ffmpeg flag -pix_fmt yuv420p is required in order for most players, and yuv420p also requires that the pixel dimensions of the movie be divisible by 2.

Parameters:
plot_settingsPlotSettings

Configuration. Attributes accessed are figure_size, dpi, fps, tempfile_path, tempfile_zfill, and filename.

Returns:
str

Command to run.