Create a spec ready for compiling to video
Arguments
- header
er_header: as returned by
er_header()
. Alternatively, do not specify theheader
argument but pass named header parameters separately- clips
list: a list of
er_clip
objects as returned byer_clip()
- audio_tracks
list: a list of
er_audio_track
objects, as returned byer_audio_track()
- theme
string: name of a theme function to apply, or
NULL
for no theme. The theme will set defaults, but will not override any defaults specified in the header- as
string: either "object" (return an object of class
er_spec
, suitable to pass toer_to_json()
, or "json" (the JSON string as obtained fromer_to_json()
)- ...
: as for
er_header