Files
open-drive/docs/fs.md

31 lines
981 B
Markdown

# File System
## Directory Layout
```text
/META
fopen.json
icon.png
/MENU
1.fim
/VIDEO
1.av1.mkv
2.vp9.mkv
```
- **META**
- **fopen.json:** contains all of the informations about the FOD disc (title, icon filename, starting point etc.)
- **MENU:** contains menu files in FOpen Interactive Markup format, more informations on the documentation page
- **VIDEO:** contains video titles in MKV format, these must follow the standard specs
## Metadata File (fopen.json)
```json
{
"title": "EFN",
"icon": "icon.png",
"start": "MENU 1",
"mainVideo": "1"
}
```
- **title:** title of the FOD project, may be optionally shown on players
- **icon:** the filename of 256x256 PNG file in the "META" folder that will be used as icon, may be optionally shown on players
- **start:** the starting point of the FOD, it's characterized by the type of start point ("MENU" or "VIDEO") and its ID
- **mainVideo:** main video file for players that don't support interactive menus