This repository contains documentation on the mgJSON format and demo files that can be imported in Adobe After Effects to read external dynamic and static data.
- demo.mgjson: Minimal working example. A static text a static nubmer and a dynamic stream with three samples (keyframes of sorts)
- gopro.mgjson: Comprehensive file with many data streams. Created with GoPro Telemetry
- dji.mgjson: File with flight data from a Mavic Pro drone. Created with DJI SRT Viewer
- from-csv.mgjson: File with numeric data originally in CSV format. Created with To mgJSON
- from-gpx.mgjson: File with gps path data originally in GPX format. Created with To mgJSON
The underlying JSON schema is available for download under Adobe's SensorManager SDK Package.
Convert other file formats to mgJSON (CSV, GPX...):
These apps can output mgJSON files:
You can find sample projects that use mgJSON files on the GoPro Telemetry Extractor page. Look for the Lite templates.
If you create something with mgJSON, let me know and I'll add it to the list.
- HKChad created a tutorial explaining the basics of displaying mgJSON data in After Effects. Much more complex things are possible, but it's a great way to get started.
These repositories convert other formats to mgJSON:
- tomgjson (Go)
- gopro-telemetry (JavaScript)
- DJI_SRT_Parser (JavaScript)
Real world files filled with data from different sources can have different structures and data types than the examples here, but since online documentation is very scarce, I thought these demos were worth posting.
For instructions on how to use the imported data, see Work with Data-driven animation
Feel free to submit your own samples if you think they can be useful for the community.
Note that the code has some typos, like frequecy instead of frequency. These are necessary for the files to load in some After Effects versions.