Merge pull request #5 from absoluteSpacehead/master
Cap preview streams to 30 seconds
This commit is contained in:
commit
b6bb64a438
|
@ -254,6 +254,7 @@ App.post("/upload/audio",
|
||||||
"-use_timeline 1",
|
"-use_timeline 1",
|
||||||
"-f dash",
|
"-f dash",
|
||||||
"-ac 2", // downmix
|
"-ac 2", // downmix
|
||||||
|
"-t 30" // max of 30 seconds (requested by mc)
|
||||||
])
|
])
|
||||||
.output(`${AudioPath}/PreviewChunks/PreviewManifest.mpd`)
|
.output(`${AudioPath}/PreviewChunks/PreviewManifest.mpd`)
|
||||||
.on("start", cl => Debug(`Creating preview stream with ${magenta(cl)}`))
|
.on("start", cl => Debug(`Creating preview stream with ${magenta(cl)}`))
|
||||||
|
|
|
@ -91,7 +91,7 @@ export function TrackSubmission() {
|
||||||
<FormControl.Caption>You can use the #tools-and-resources channel to find useful resources on how to create MIDIs.</FormControl.Caption>
|
<FormControl.Caption>You can use the #tools-and-resources channel to find useful resources on how to create MIDIs.</FormControl.Caption>
|
||||||
</FormControl>
|
</FormControl>
|
||||||
<FormControl required={true} sx={formControlStyle}>
|
<FormControl required={true} sx={formControlStyle}>
|
||||||
<FormControl.Label>Audio File (.m4a, .mp3, .wav)</FormControl.Label>
|
<FormControl.Label>Audio File (.m4a, .mp3, .wav, .ogg)</FormControl.Label>
|
||||||
<TextInput type="file" />
|
<TextInput type="file" />
|
||||||
<FormControl.Caption>This will play in the background of your song. Make sure it was exported from REAPER.</FormControl.Caption>
|
<FormControl.Caption>This will play in the background of your song. Make sure it was exported from REAPER.</FormControl.Caption>
|
||||||
</FormControl>
|
</FormControl>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user