videolang / video

Source Code for Video language.
https://lang.video
Apache License 2.0
137 stars 14 forks source link

Extracting separate streams as clips requires use of video/core functionality #2

Closed BenChung closed 7 years ago

BenChung commented 7 years ago

I'm working on editing the video for a conference, and the separate video sources are encoded in a single container, as separate streams. In order to extract these streams in #lang video (thanks to @LeifAndersen), I need to use video/core functionality, as follows:

(require video/core) (define screen (make-producer #:typeavformat

:source "test.mov"

                         #:prop (hash "video-index" 0)))`

This works, but is a bit ungainly. Ideally, there should be some way to do this that doesn't require the use of primitives.

LeifAndersen commented 7 years ago

Commit b6660ed fixes this.

Thanks again for reporting.