Skip to content

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Generate an screencast with a presentation.json

This repo is used in the generation of screencasts related to Cenit IO (https://cenit.io)

Move to scripts folder

cd scripts

image + audio => video

ruby ./image_and_audio_to_video.rb "general/thanks"

This script assumes there are an image and audio files.

imput:

image_path = "../images/general/thanks.png"
audio_path = "../audios/general/thanks.mp3"

output:

video_path = "../videos/general/thanks.mpeg"

Generate and screencast

ruby ./render_screencast.rb "cenit_and_api_econnomy"

This script assumes there is cenit_and_api_econnomy.jon in presentation folder.

{
  "title": "Cenit IO and API Econnomy",
  "file_name": "cenit_and_api_econnomy",
  "description": "The creation of new services using existing API’s is usually a nightmare. Cenit IO, aims to fill that gap to make easy for developers to consume and compose new API’s from existing ones.",
  "tags": "API Econnomy, Cenit IO, Workflow Orchestration API",
  "sequence": [
    "general/what_is_cenit",
    "cenit_and_api_formal_def/challenge_api_econnomy",
    "cenit_and_api_formal_def/why_formal_api_def",
    "cenit_and_api_formal_def/machine_readable_def",
    "cenit_and_api_formal_def/existing_formal_def",
    "cenit_and_api_formal_def/discovering_formal_def",
    "cenit_and_api_formal_def/apis_guru",
    "cenit_and_api_formal_def/swagger_in_cenit",
    "cenit_and_api_formal_def/cenit_concepts_are_superset_of_formal_api_def",
    "general/key_concepts_in_cenit",
    "common_integration_scenarios/multi_channel_sales",
    "common_integration_scenarios/third_party_logistic",
    "common_integration_scenarios/accounting_and_erp",
    "common_integration_scenarios/communications",
    "real_multichannel_use_case/real_multichannel_use_case",
    "real_multichannel_use_case/fancy_marketplace_to_cenit",
    "real_multichannel_use_case/fancy_order_to_shipments_in_cenit",
    "real_multichannel_use_case/orders_from_diferent_marketplace_to_cenit",
    "real_multichannel_use_case/marketplace_orders_to_shipments_in_cenit",
    "real_multichannel_use_case/shipment_cenit_to_shipstation_shipment",
    "real_multichannel_use_case/update_shipment_workflow_from_shipstaion_to_marketplaces",
    "general/cenit_conclusion",
    "general/thanks"
  ]
}

to check the output go to:

cd ../output

output folder is included in .gitignore

screencast.json schema

  {
    "$schema": "http://json-schema.org/schema#",
    "title": {
      "type": "string"
    },
    "file_name": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "tags": {
      "type": "string",
      "pattern": "[^,\s][^\,]*[^,\s]*"
    },
    "sequence": {
      "type": "string",
      "items": {
        "type": "string",
    }
  }

TODO

  • Add an script to add or update a video in youtube.
  • and an script that allow video_silent + audio => video

About

cenit screencast generator

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages