You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
As part of the Paper-edit view
As a user, I want to be able to get (watch or listen to) a preview of the paper-edit/program script so that I can see how my program's paper-cuts (transcripts text selections) will "render" as audio and/or video.
In the sketch, this would be the "canvas" - borrowing terminology from to the NLE video editors distinction between preview and canvas
Describe the solution you'd like
A React component that takes a sequence of audio or video clips as an input, with start and end time, and displays a player that can
Seamlessly play this EDL (edit decision list) without buffer or load time in between clips
Has player controls, such as
progress bar
play/pause
stop
Note that the component should be able to generate the preview if the sequence is made of audio, video or a mix of audio and video files.
In first version it could just deal with sequences of media, but it be good if in subsequent versions it could handle things like text, titles (as a possible way to display place holders for voice over text?) - this second part needs to be flashed out more. But the general thing to keep in mind is the extensibility of the elements to display, if that makes sense.
bbc/VideoContext
Main option considered is to use bbc/VideoContext within a React component.
See this issue for more details on how it works with an EDL(Edit Decision List) sequence of clips bbc/VideoContext#42
There are other examples and indications in the repo on how to enable, play, pause, and a progress bar.
I think under the hood, Video Context, used the HTML5 canvas to concat the videos in the sequence and then provides a unified interface to treat it as a single media.
Popcorn js was a library by Mozilla, but is no longer mantained.
There was a JSfiddle with an example but
it's not working, coz no popcorn js CDN url is not valid.
Hyperaud.io was one of the first project to experiment with the idea of Hypertranscripts and you can see in the hyperaud.io pad how you can mix from multiple selections and then get a preview.
I think under the hood two HTML5 video elements are cued up one after the other as a workaround to reduce load time of the media.
Additional context
For preview videos you could use two or more Ted Talks
Is your feature request related to a problem? Please describe.
As part of the Paper-edit view
In the sketch, this would be the "canvas" - borrowing terminology from to the NLE video editors distinction between preview and canvas
Describe the solution you'd like
A React component that takes a sequence of audio or video clips as an input, with start and end time, and displays a player that can
Note that the component should be able to generate the preview if the sequence is made of audio, video or a mix of audio and video files.
In first version it could just deal with sequences of media, but it be good if in subsequent versions it could handle things like text, titles (as a possible way to display place holders for voice over text?) - this second part needs to be flashed out more. But the general thing to keep in mind is the extensibility of the elements to display, if that makes sense.
bbc/VideoContext
Main option considered is to use
bbc/VideoContext
within a React component.See this issue for more details on how it works with an EDL(Edit Decision List) sequence of clips bbc/VideoContext#42
There are other examples and indications in the repo on how to enable, play, pause, and a progress bar.
I think under the hood, Video Context, used the HTML5 canvas to concat the videos in the sequence and then provides a unified interface to treat it as a single media.
Describe alternatives you've considered
Vanilla Js
in autoedit2, paper-editing because the files are stored locally, there's no network buffer issue when loading the different clips so used a vanilla js implementation that you can see in this js fiddle
This also uses media fragments to only get the specific segment.
BBC Video compositor
html5-video-compositor was a precoursor of
bbc/VideoContext
, now deprecated.Popcorn JS
Popcorn js was a library by Mozilla, but is no longer mantained.
There was a JSfiddle with an example but
it's not working, coz no popcorn js CDN url is not valid.
The Documentation shows what the
sequence
function used to doHyperaud.io
Hyperaud.io was one of the first project to experiment with the idea of Hypertranscripts
and you can see in the hyperaud.io pad how you can mix from multiple selections and then get a preview.
I think under the hood two HTML5 video elements are cued up one after the other as a workaround to reduce load time of the media.
Additional context
For preview videos you could use two or more Ted Talks
The text was updated successfully, but these errors were encountered: