1.0.12
node
electron
and backbone
../electron
folder. The backbone app is added to ./electron/index.html
with browserify using npm scripts.lib/app
folder. For troubleshooting you can use cmd
+ alt
+i
to get the electron developer console. There you have appTranscription
and appPaperedit
two backbone routers in the global window
scope that give you access to getting to individual backbone models and collections for transcriptions and paper-edit.Backbone.sync
backbone.sync
.db.js
overrides backbone.sync
method to provide a backend for the app and persistent storage using linvodb3, which uses medeadown
to storing db on the user file system. See current db setup tutorial for more info.index.html
the window object is used to provide an interface between the electron client side code code packaged with browserify and the 'backend' that can make the file system calls in node.require
in the html file, then you are in node context, and can use module like fs
but if you use a script tag, then you are in js client side code and don't have access to thos function.lib/app/app.js
the choice between the demo db and the production db is made.demo_paperedit.json
anddemo_transcription.json
provide the data for the demo when index.html
is run in client side mode in the browser. and lib/app/demo_db.js
provides the logic for the demo db.DB
in ./electron/db.js
allows to connect the backbone front to the medeadown
/ linvodb3
databse locally. As well as trigger ./lib/interactive_transcription_generator
component to at a high levellib/interactive_transcription_generator
backbone.sync
and calls the electron/db.js
which after saving the transcription model in db, triggers this module to get stt transcription, video preivew, and metadata info.transcriber
. interactive_transcription_generator
. On top of prepping the audio or video file to get a transcription from IBM, it also generates a webm html5 video preview and reads the metadata, which is something needed to make an EDL.transcriber
module used by interactive_transcription_generator
can also chose between using Gentle open source STT, Pocketsphinx or IBM to generate the transcription depending on what was specified by the user.interactive_transcription_generator
folder structure overview:pocketsphinx
module was originally extracted from the electron version of the Video grep project. The implementation of this module is discussed in more details in subsequent sections.edl_composer
moduleffmpeg
and electron
ffmpeg
under the hood, and getting ffmpeg
and electron
to work can sometimes be problematic when setting up a new app, so I wrote here about how this setup works in autoEdit, with simplified example.srt
modulespec
folder, to run the test suite npm run test
. Uses jasmine for testing. Testes are setup to be all in one place rather then divided with their respective components, for ease of use. Altho test coverage is far from complete and could do with some attention, see supporting the project if that's something you'd be interested getting involved with.1.0.6
to add the paper-editing functionality.