Skip to content
/ raven Public
forked from OpenTimelineIO/raven

Raven - Experimental OpenTimelineIO Viewer

License

Notifications You must be signed in to change notification settings

jminor/raven

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Raven - OTIO Viewer

An experimental re-write of OpenTimelineIO's otioview timeline viewer application.

This tool aims to replace otioview but it is missing a few essential features (see "Help Wanted" and "To Do" below). Contributions are welcome!

build

screenshot

demo

Dependencies

macOS:

  • Standard Apple developer toolchain (installed with Xcode)
  • A recent version of CMake

Windows:

  • Standard Microsoft developer toolchain (installed with Visual Studio)
  • A recent version of CMake

Linux (Ubuntu, or similar):

  • sudo apt-get install libglfw3-dev libgtk-3-dev
  • A recent version of CMake

Building (macOS, Windows, Linux)

% mkdir build
% cd build
% cmake ..
% cmake --build . -j
% ./raven ../example.otio

Building (WASM via Emscripten)

You will need to install the Emscripten toolchain first.

% mkdir build-web
% cd build-web
% emcmake cmake ..
% cmake --build .
% emrun ./raven.html

See also: serve.py as an alternative to emrun, and as a reference for which HTTP headers are needed to host the WASM build.

Note: The WASM build of raven is missing some features - see the Help Wanted section below.

Troubleshooting

If you have trouble building, these hints might help...

You might need to init/update submodules:

% git submodule init
% git submodule update

You might be missing some dependencies (see above).

See also .github/workflows/build.yaml for a working example of building on each of the platforms listed above.

Example files

The examples folder contains some example .otio files for testing.

The El Fuente and Meridian examples provided by Netflix (under the Creative Commons Attribution 4.0 International Public License) were converted to OTIO, along with several other examples here.

Thanks

Raven was made possible by these excellent libraries:

Help Wanted

  • Fully standalone cross-platform build:
  • JSON Inspector:
    • Edit JSON to replace selected object?
      • This would let you explore & understand how changes affect the composition
    • When loading a very large OTIO, the JSON inspector can double the load time (full feature film ~45 seconds)
  • Multiple selection, copy, paste, undo, redo
  • Various operations from otiotool

To Do

  • Feature parity with otioview:
    • Show media reference details in the Inspector
    • Double-click to expand/collapse nested compositions
    • Arrow keys to navigate by selection
      • This sort of works already via ImGui's navigation system, but it is too easy to get stuck on a marker, or to walk out of the timeline.
      • Can this be rectified by turning off keyboard navigation on the widgets outside the timeline?
    • Multiple timelines in separate tabs or windows?
      • Look at ImGui document-based demo code for reference.
      • Might be fine to just open multiple instances of the app.
    • Add support for adapters
      • Use embedded Python, or run otioconvert via pipe?
      • Constraint: We want to ensure this tool stays light weight, and works in the browser.
  • Enhancements:
    • Double-click a Clip to expand/collapse it's media reference
    • Show time-warped ruler inside media reference or nested composition
  • Performance optimization:
    • Avoid rendering tracks outside the scroll region
    • Avoid rendering items smaller than a tiny sliver
    • Experiment with drawing the timeline without using a Dear ImGui table
      • Results so far: aligning multiple scroll regions causes 1-frame lag which is ugly
  • Inspector:
    • Show summarized timing information (ala otiotool --inspect)
    • Range slider could be useful:
    • Per-schema inspector GUI
      • Items:
        • enable/disable
      • Clips:
        • show media_reference(s)
        • adjust available_range of media reference
        • edit target_url
      • Transitions:
        • nicer GUI for adjusting in/out offsets
        • avoid extending beyond range of adjacent Items
        • avoid overlap with adjacent Transitions
      • Markers:
        • color picker
      • Compositions:
        • show source_range limits in the timeline
      • LinearTimeWarp:
        • time_scale graph could be nicer
      • FreezeFrame:
      • UnknownSchema:
        • Can we show properties via SerializableObject's introspection?

About

Raven - Experimental OpenTimelineIO Viewer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 73.2%
  • C 25.7%
  • Objective-C++ 0.5%
  • CMake 0.4%
  • HTML 0.1%
  • Pascal 0.1%