autoEdit 2 Documentation
1.0.13
1.0.13
  • Introduction
  • Overview
    • Intro
      • Development approach
      • from 1.0.5 to 1.0.6
    • Architecture Overview
      • Lo fi Design Sketches
      • High fidelity sketches in HTML
    • Support the project
    • documentation section template
    • Build / Deployment
      • Deployment/build for Mac OS X
      • Deployment / Build for Linux
      • Deployment / Build for Windows
      • Travis CI continuous build
        • previous travis setup
  • R&D Doc
    • About R&D doc section
    • Transcription & Media Processing
      • Transcription json
      • Transcriber
        • audio to video
        • STT sdks
          • IBM Watson STT
          • Gentle STT
          • Pocketsphinx
      • Video preview conversion
      • Read metadata
    • Hypertranscript
    • Selections, Annotations, Papercuts
      • Selections
      • Annotations
      • Tags
    • Paper-edit
      • Paper-edit json
      • search-filter
      • drag-and-drop
      • Preview Paper-edit video
    • Export
      • EDL export
      • XML export
      • mp4 export
  • Appendix
    • Dev configuration
    • Current db setup
    • EDL Format
    • Reusable components
    • Prerequisites
    • Testing
    • Updating automated documentation
    • ffmpeg and ffprobe in electron
    • Adding STT services
  • Appendix - Data structures
    • IBM Watson json specs
    • Gentle Json transcription specs
    • Pocketsphinx results
    • autoEdit transcription Json
  • QA List
    • QA Intro
  • Adobe Panel
    • autoEdit Adobe CEP Panel dev setup
      • Adobe Extensions HostList codes
    • autoEdit Adobe CEP Panel integration overview
    • Jsx functions for Adobe CEP autoEdit adobe Panel
    • Packaging and distributing Adobe CEP Extensions
      • Packaging signing Adobe CEP Panel in details
      • Submit to Adobe
  • Project Page
    • Build project page
    • Build/update demo front end page
  • Roadmap
    • Improvements
    • Roadmap
      • Paper-editing Roadmap
      • Extra Features Roadmap
      • Future Roadmap
        • Live video editing
        • Social Media Export
        • Translate transcriptions
        • Web app
          • Multi-user collaboration
        • Searchable Editable Archive
        • NLP insights
        • Slack/Chat bot integration
        • Interactive dev tool
        • Phone mms integration with twillio
        • B-roll computational photography
Powered by GitBook
On this page
  1. Appendix

Current db setup

PreviousDev configurationNextEDL Format

Last updated 6 years ago

has option to use

NW.js/Electron friendly - JS-only backend is level-js or Medea

initially tried

level.js an implementation of the API on top of (which is in turn implemented on top of , which brings this whole shebang full circle)

LevelDOWN was extracted from and now serves as a stand-alone binding for LevelDB.

However indexDb has a 50mb total file size restriction. This might seem ok at first, but some transcriptions can reach 5mb in size in their json representation. So this would not scale if you add n number of transcription.

Decided to move to medea instead.

the way to set up medea is to use .

medeadown is a -compatible interface to

this required installing medeadown separatly

npm install medeadown -save

and changing the LinvoDB data store to it.

LinvoDB.defaults.store = { db: require("medeadown") };

as well as setting up the dbPath

LinvoDB.dbPath = window.config.dataPath;

In this case using require('nw.gui').App.dataPath eg "/Users/pietropassarelli/Library/Application Support/autoEdit2"

and the db would be stored in the folder

/Users/pietropassarelli/Library/Application Support/autoEdit2/transcription.db
https://github.com/Ivshti/linvodb3
level-js
leveldown
IndexedDB
LevelDB
LevelUP
medeadown
as described in this issue
leveldown
medea
App.dataPath