Skip to content

Commit e8664a8

Browse files
committed
document music
1 parent 7d85749 commit e8664a8

1 file changed

Lines changed: 39 additions & 5 deletions

File tree

‎docs/insvideo.md‎

Lines changed: 39 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,7 @@ generated_at: '2025-12-21T00:37:04.161349597+00:00'
6262
`00:26.4-00:27.0` in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur
6363
`00:27.2-00:28.7` excepteur sint occaecat cupidatat non proident sunt in culpa qui officia deserunt
6464
`00:28.9-00:30.1` mollit anim id est laborum sed ut perspiciatis unde omnis iste natus
65-
`00:30.6-00:33.2` error sit voluptatem accusantium doloremque laudantium totam rem aperiam
66-
`00:33.6-00:35.0` eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae
67-
`00:35.3-00:37.4` dicta sunt explicabo nemo enim ipsam voluptatem quia voluptas sit aspernatur
68-
`00:38.0-00:39.9` aut odit aut fugit sed quia consequuntur magni dolores eos qui ratione
69-
`00:40.3-00:47.0` voluptatem sequi nesciunt neque porro quisquam est qui dolorem ipsum quia dolor sit amet
65+
...
7066
```
7167

7268
### Cuts
@@ -93,12 +89,16 @@ generated_at: '2025-12-21T00:37:04.161349597+00:00'
9389
---
9490
`00:00.0-00:03.4` quick brown fox jumps over the lazy dog consectetur adipiscing elit
9591
`00:03.4-00:13.8` elit sed do eiusmod tempor incididunt ut labore et dolore magna aliqua
92+
9693
Hi, this is the first slide
94+
9795
`00:14.6-00:19.3` ut enim ad minim veniam quis nostrud exercitation ullamco laboris
9896
`00:24.9-00:26.2` nisi ut aliquip ex ea commodo consequat duis aute irure dolor
9997
`00:26.4-00:27.0` in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur
10098
`00:27.2-00:28.7` excepteur sint occaecat cupidatat non proident sunt in culpa qui officia deserunt
99+
101100
Hi, this is the second slide
101+
102102
`00:28.9-00:30.1` mollit anim id est laborum sed ut perspiciatis unde omnis iste natus
103103
`00:30.6-00:33.2` error sit voluptatem accusantium doloremque laudantium totam rem aperiam
104104
`00:33.6-00:35.0` eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae
@@ -154,6 +154,40 @@ contain a single header (h1, h2 ...) they will act as title cards. If they
154154
contain lots of content, they wil not be center aligned and the layout is
155155
adjusted to make the larger amount of content more readable.
156156

157+
### Background music
158+
159+
160+
````markdown
161+
---
162+
video:
163+
hash: '4b59412a676f5994b916dd983e3315cb8ebfed8f99cf1b609310d6dda39db3d9'
164+
name: 'distro.mkv'
165+
source: '/home/benjamin/Videos/distrotest/distro.mkv'
166+
transcript:
167+
source: './insvideodata/4b59412a676f5994b916dd983e3315cb8ebfed8f99cf1b609310d6dda39db3d9.srt'
168+
generated_at: '2025-12-21T00:37:04.161349597+00:00'
169+
---
170+
171+
`00:00.0-00:03.4` quick brown fox jumps over the lazy dog consectetur adipiscing elit
172+
`00:03.4-00:13.8` elit sed do eiusmod tempor incididunt ut labore et dolore magna aliqua
173+
174+
```music
175+
https://www.youtube.com/watch?v=example
176+
```
177+
178+
`00:14.6-00:19.3` ut enim ad minim veniam quis nostrud exercitation ullamco laboris
179+
`00:24.9-00:26.2` nisi ut aliquip ex ea commodo consequat duis aute irure dolor
180+
`00:26.4-00:27.0` in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur
181+
`00:27.2-00:28.7` excepteur sint occaecat cupidatat non proident sunt in culpa qui officia deserunt
182+
````
183+
184+
185+
You can put a file or music url in a code block with the language set to `music`
186+
to set the music for the video. The music will be looped if it is shorter than
187+
the video, and will play until the next music block or the end of the video.
188+
Setting music to `none` or an empty code block will disable music from that point.
189+
190+
157191
## Limitations
158192

159193
You can not edit the content of the words being said. The only AI being used is

0 commit comments

Comments
 (0)