Package: rotio 0.1.0

Troy Hernandez

rotio: Pure-R 'OpenTimelineIO' Document Model

A dependency-light 'OpenTimelineIO' (OTIO) <https://github.com/AcademySoftwareFoundation/OpenTimelineIO> document layer in pure R. Provides constructors for the OTIO object model (timelines, tracks, clips, gaps, media references, rational times and time ranges), functional builders that return new objects, and readers and writers for canonical '.otio' files through 'jsonlite'. The optional 'RcppOTIO' package validates output against the real 'OpenTimelineIO' C++ library. No compiled code.

Authors:Troy Hernandez [aut, cre], cornball.ai [cph]

rotio_0.1.0.tar.gz
rotio_0.1.0.zip(r-4.7)rotio_0.1.0.zip(r-4.6)rotio_0.1.0.zip(r-4.5)
rotio_0.1.0.tgz(r-4.6-any)rotio_0.1.0.tgz(r-4.5-any)
rotio_0.1.0.tar.gz(r-4.7-any)rotio_0.1.0.tar.gz(r-4.6-any)
rotio_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
rotio/json (API)
NEWS

# Install 'rotio' in R:
install.packages('rotio', repos = c('https://cornball-ai.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/cornball-ai/rotio/issues

On CRAN:

Conda:

3.00 score 161 exports 1 dependencies

Last updated from:057eabe166. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK111
source / vignettesOK149
linux-release-x86_64OK109
macos-release-arm64OK91
macos-oldrel-arm64OK79
windows-develOK163
windows-releaseOK136
windows-oldrelOK128
wasm-releaseOK98

Exports:active_media_reference_keyactive_media_reference_key<-add_childadd_effectadd_trackalmost_equalappend_childaudio_tracksavailable_rangeavailable_range<-childrenclampedclear_childrenClipclonecolorcolor<-commentcomment<-containsdefault_media_keydurationEffecteffect_nameeffect_name<-effectsenabledenabled<-end_frameend_time_exclusiveend_time_inclusiveextended_byExternalReferencefillfind_clipsflatten_stackframe_for_timeframe_stepframe_zero_paddingFreezeFramefrom_framesfrom_json_filefrom_json_stringfrom_secondsfrom_time_stringfrom_timecodeGapgenerator_kindgenerator_kind<-GeneratorReferenceglobal_start_timeglobal_start_time<-has_childhas_clipsImageSequenceReferencein_offsetin_offset<-index_of_childinsertinsert_childintersectsis_compositionis_effectis_equivalent_tois_media_referenceis_missing_referenceis_otiois_parent_ofis_rational_timeis_time_rangeis_timelineis_unknown_schemaItemkindkind<-LinearTimeWarpmarked_rangemarked_range<-Markermedia_referencemedia_reference<-media_referencesMediaReferencemetadatametadata<-MissingReferencenamename_prefixname_suffixname<-number_of_images_in_sequenceout_offsetout_offset<-overlappingoverlapsoverwriteparametersparameters<-parentpresentation_time_for_image_numberrange_from_start_end_timerange_in_parentrateRationalTimeread_otiodregister_downgrade_functionregister_upgrade_functionremoveremove_childrescaled_toripplerollschema_nameschema_versionSerializableCollectionset_childset_childrenset_children<-set_media_referencessliceslideslipsource_rangesource_range<-Stackstart_framestart_timetarget_urltarget_url_basetarget_url_base<-target_url_for_image_numbertarget_url<-time_scalartime_scalar<-TimeEffectTimelineTimeRangeTimeTransformto_framesto_json_fileto_json_stringto_secondsto_time_stringto_timecodeTracktrack_trimmed_to_rangetrackstracks<-Transitiontransition_typetransition_type<-trimtrimmed_rangetrimmed_range_in_parenttype_version_mapvalidate_with_RcppOTIOvaluevideo_tracksvisiblevisible_rangewrite_otiod

Dependencies:jsonlite

Readme and manuals

Help Manual

Help pageTopics
Active media reference key of a clipactive_media_reference_key active_media_reference_key<-
Append a child, functionally (clone + append)add_child
Append an effect (functional: returns a new object)add_effect
Append a track to a timeline, functionallyadd_track
Are two RationalTimes almost equal?almost_equal
Append a child to a composition (in place)append_child
Available range of a media reference or clipavailable_range available_range<-
Children of a composition or collectionchildren
Clamp a time or range into a bounding TimeRangeclamped
Remove all children (in place)clear_children
Construct a ClipClip
Deep-clone an OTIO objectclone
Get or set an item's display colorcolor color<-
Comment of a Markercomment comment<-
Does a TimeRange contain a time or range?contains
The default media reference key ('"DEFAULT_MEDIA"')default_media_key
Construct an OTIO effectEffect FreezeFrame LinearTimeWarp TimeEffect
Effect kind labeleffect_name effect_name<-
Effects of an item or compositioneffects
Whether an item, composition, or effect is enabledenabled enabled<-
Last frame number of an ImageSequenceReferenceend_frame
Exclusive / inclusive end of a TimeRangeend_time_exclusive end_time_inclusive
Smallest TimeRange covering two rangesextended_by
Construct a media referenceExternalReference MissingReference
Fill a gap with an item (3/4-point edit)fill
All clips within an object (recursive)find_clips
Flatten a stack of tracks into a single trackflatten_stack
Frame for a time in an ImageSequenceReferenceframe_for_time
Construct a RationalTime from a frame number at a ratefrom_frames
Read an OTIO JSON file into the object modelfrom_json_file
Parse an OTIO JSON string into the object modelfrom_json_string
Construct a RationalTime from seconds at a ratefrom_seconds
RationalTime from a time string ("HH:MM:SS.sss") at a ratefrom_time_string
RationalTime from a SMPTE timecodefrom_timecode
Construct a GapGap
Generator kind of a GeneratorReferencegenerator_kind generator_kind<-
Construct a GeneratorReferenceGeneratorReference
Global start time of a timelineglobal_start_time global_start_time<-
Does a composition directly contain a child?has_child
Does an object contain any clips (recursive)?has_clips
Construct an ImageSequenceReferenceImageSequenceReference
1-based position of a child, or NAindex_of_child
Insert an item at a time, splitting the item it lands ininsert
Insert a child at a 1-based position (in place)insert_child
Do two TimeRanges intersect?intersects
Is x an Effect?is_effect
Are two OTIO objects equivalent?is_equivalent_to
Is x a MissingReference?is_missing_reference
Type predicates for OTIO objectsis_composition is_media_reference is_otio is_timeline
Is x an ancestor of other?is_parent_of
Is x a RationalTime / TimeRange?is_rational_time is_time_range
Is an object's schema unknown?is_unknown_schema
Construct a base ItemItem
Get or set a track's kindkind kind<-
Marked range of a Markermarked_range marked_range<-
Construct a MarkerMarker
Active media reference of a clipmedia_reference media_reference<-
Media references of a clipmedia_references
Construct a generic MediaReferenceMediaReference
Get or set object metadatametadata metadata<-
Get or set the name of an OTIO objectname name<-
Number of images in an ImageSequenceReferencenumber_of_images_in_sequence
Does an item overlap its neighbours?overlapping
Do two TimeRanges overlap (cross without containment)?overlaps
Overwrite a span of a composition with an itemoverwrite
Parameters of a GeneratorReferenceparameters parameters<-
Parent of an OTIO objectparent
Presentation time of the nth image (1-based)presentation_time_for_image_number
Construct a TimeRange from start and exclusive end timesrange_from_start_end_time
Range of an item within its parent compositionrange_in_parent
Construct a RationalTimeRationalTime
Read an OTIOD bundleread_otiod
Register a schema downgrade functionregister_downgrade_function
Register a schema upgrade functionregister_upgrade_function
Remove the item at a time, optionally leaving a gapremove
Remove the child at a position (in place)remove_child
Rescale a RationalTime to a new raterescaled_to
Ripple an item's source rangeripple
Roll an item, adjusting adjacent items to fitroll
Schema name of an OTIO objectschema_name
Schema version of an OTIO objectschema_version
Construct a SerializableCollectionSerializableCollection
Replace the child at a position (in place)set_child
Replace all children (in place)set_children set_children<-
Replace the media references of a clip (in place)set_media_references
Slice an item in two at a timeslice
Slide an item, adjusting the previous item's durationslide
Slip an item's source rangeslip
Get or set an item's source rangesource_range source_range<-
Construct a StackStack
TimeRange start_time and durationduration start_time
Target URL of a clip or external referencetarget_url target_url<-
ImageSequenceReference fieldsframe_step frame_zero_padding name_prefix name_suffix start_frame target_url_base target_url_base<-
Target URL of the nth image (1-based)target_url_for_image_number
Time scalar of a LinearTimeWarptime_scalar time_scalar<-
Construct a TimelineTimeline
Construct a TimeRangeTimeRange
Construct a TimeTransformTimeTransform
Frame number of a RationalTimeto_frames
Write an OTIO object to a JSON fileto_json_file
Serialize an OTIO object to a JSON stringto_json_string
Convert a RationalTime to secondsto_seconds
Time string ("HH:MM:SS.sss") for a RationalTimeto_time_string
SMPTE timecode for a RationalTimeto_timecode
Construct a TrackTrack
Trim a track to a time rangetrack_trimmed_to_range
The track stack of a timelinetracks tracks<-
Construct a TransitionTransition
Transition type / offsetsin_offset in_offset<- out_offset out_offset<- transition_type transition_type<-
Trim an item, filling the freed time with gaptrim
Trimmed range of an itemtrimmed_range
Range of an item within its parent, trimmed by the parent's source rangetrimmed_range_in_parent
Current OTIO schema versionstype_version_map
Validate an OTIO object against the real OpenTimelineIO libraryvalidate_with_RcppOTIO
RationalTime value and raterate value
Video / audio tracks of a timelineaudio_tracks video_tracks
Is an item visible?visible
Visible range of an item (including adjacent transitions)visible_range
Write an OTIOD bundlewrite_otiod