Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Video preview #9

Open
kudlav opened this issue Jul 2, 2019 · 8 comments
Open

Video preview #9

kudlav opened this issue Jul 2, 2019 · 8 comments
Labels
enhancement New feature or request

Comments

@kudlav
Copy link
Owner

kudlav commented Jul 2, 2019

No description provided.

@kudlav kudlav added the enhancement New feature or request label Jul 2, 2019
@zk94007
Copy link

zk94007 commented Dec 12, 2019

When can you release this preview function?

@kudlav
Copy link
Owner Author

kudlav commented Dec 17, 2019

Hi, I don't have much time at the moment, so probably on February I would be able to continue with this project.

@pegasus1982
Copy link

Today, I found out good idea and implemented.
My criteria is below:

  1. load videos according to segment data of timeline. (of course in and out fields can't be used when load video)
  2. when frame changed, it will change the seek of every videos with some finetune of relative frame index.
    Here every video have start/end frame, in/out frame.
  3. If current frame are matched with a certain video, it will draw that video to canvas(preview).

@kudlav
Copy link
Owner Author

kudlav commented Jul 31, 2020

This month was already working on client side preview. There are two ways how to achieve it - using HTML5 Video API [1] or using Canvas [2].

  1. With Canvas you have absolute control what the user will see but FPS is too low and it doesn't look smooth.
  2. With HTML5 element and Javascript API the video is playing fine but it is hard to synchronize video with actual time (maybe impossible). You can look at and try dev branch. Work fine with Safari browser but is bad with Vivaldi (when play button is pressed, video doesn't play immediatelly and video lagging a lot when playing - it is issue of Vivaldi but it affects preview a lot). Hope there will be event listeners for those loading and buffering events but if not, I will have to try Canvas version.

[1] - http://html5videoguide.net/DefinitiveGuide/chapter4.html
[2] - http://html5videoguide.net/DefinitiveGuide/chapter6.html

@pegasus1982
Copy link

Yeah, I used canvas to draw video.
But as you can guess, the synchronization is critical problem.

@fortunto2
Copy link

Cool project @kudlav, but are there any successes in preview?
Maybe preliminary transcoding will make it possible to make video proxies small and in the required format?
Are there fewer synchronization problems if you do single-line editing?

@jeffaucette
Copy link

@kudlav have you had any success in preview? I need this product absolutely.

@kudlav
Copy link
Owner Author

kudlav commented Jan 19, 2021

I've tried something in dev branch, but I don't have time for this project now. And I am unable to promise anything. But it's definitelly the most important thing, preview, translations, and probably migration to websockets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants