fourMs / MGT-python

Musical Gestures Toolbox for Python
https://www.uio.no/ritmo/english/research/labs/fourms/downloads/software/musicalgesturestoolbox/mgt-python/index.html
GNU General Public License v3.0
52 stars 11 forks source link

MGT Workflow #312

Open joachimpoutaraud opened 9 months ago

joachimpoutaraud commented 9 months ago

I've recently been working on designing a visual workflow to make it easier for the user/developer to understand the toolbox. Here is a draft for the main structure of the MgVideo object. It presents the three main objectives with display, convert and analyze respectively using ffplay, ffmpeg and ffprobe.

MGT Workflow (1) (You can edit the workflow using the following link)

At the moment, the toolbox systematically writes video files to disk after the preprocessing has been done. Even if the sum of all preprocessing is kept, it writes the file and delete it each time. I thought it might be cool to keep the preprocessing part loaded on memory and add three functions read, load, and write after the preprocessing part. That way the user/developer could decide what to do with the video frames of the file before writing it to disk.