Skip to content

Latest commit

 

History

History
71 lines (69 loc) · 1.35 KB

README.md

File metadata and controls

71 lines (69 loc) · 1.35 KB

MyAuthoring

Like a DVD or BD for all your videos.

MyAuth permits the use of a JSON script containing reference to source folders and other data to make menus and triggers to show videos (using FFmpeg). It can be used for archive.

Example

Folders structure:

+ res
  + libs
  + media
      01.mp4
      01.mkv
      02.mp4
      ...
  + menu
      0001.jpg
      0001-001.jpg
      0001-002.png
      ...
  + playlist
      root.txt
      ...
  root.json
  ...

JSON for the menus:

[
    {
        "ref": "root-0001",
        "img src": "menu/0001.jpg",
        "img x": 0,
        "img y": 0,
        "img w": 1280,
        "img h": 720,
        "dest": "none",
        "playlist": "none"
    },
    {
        "ref": "sub-0001",
        "img src": "menu/0001-001.jpg",
        "img x": 100,
        "img y": 100,
        "img w": 200,
        "img h": 113,
        "dest": "media/01.mp4",
        "playlist": "none"
    },
    {
        "ref": "sub-0001",
        "img src": "menu/0001-002.jpg",
        "img x": 400,
        "img y": 300,
        "img w": 200,
        "img h": 113,
        "dest": "media/01.mkv",
        "playlist": "none"
    },
    {
        "ref": "all",
        "img src": "none",
        "img x": -1,
        "img y": -1,
        "img w": -1,
        "img h": -1,
        "dest": "none",
        "playlist": "playlist/root.txt"
    }
]