Zulko / moviepy

Video editing with Python
https://zulko.github.io/moviepy/
MIT License
12.67k stars 1.59k forks source link

Multi camera sequence #1264

Open qroda-dev-nc opened 4 years ago

qroda-dev-nc commented 4 years ago

Input- 4 synced music videos shot from different angles. Expected: Possibility to play all four together and based on keyboard-interaction toggle between the videos. Output- A music video with nice transitions from one angle to another.

I am trying to develop this feature but I couldn't find a way to play video-audio and at the same time have keyboard interaction for every timestamp. I have the code to sync the videos based on audio. I am able to this in opencv but i can't play audio in opencv which is important to do the transitions.

This feature is called "multi camera sequence" in adobe premiere.

tburrows13 commented 4 years ago

Thanks for the suggestion. There is code similar to what you want in clip.preview(). It will play a clip with video and audio synced, and when you click, it will print the time stamp (and the colour of the pixel you clicked) to the console. It might not be too much more work to adapt it into an output that can be used to create cuts.