We've got 6 cameras and recorded some tracks of my band from different corners of the studio. The main idea is to create an interactive video, where user could change the view with this recorded videos. So, u want to watch drummer playing turn his camera and start watch from his camera, want another? not a problem. But. If I will just change videos through the click() and play another video function it'll always show a hypnotic loading disc and make me wait some seconds. I can't even find which frame should i use too (popcorn.js?). Of course it will work on html5 video. But can i avoid this permanent waiting due to the change of cameras ? Certainly we can preload all the 6 videos, but this will take forever. Maybe someone face the same problem? I have just one example to show you http://sigur-ros.co.uk/kveikurlive360/ But this guys are totally insane P.S.: sorry for my English, it leaves much to be desired.
Multylayer or interactive video
525 Views Asked by Arty Shein At
1
There are 1 best solutions below
Related Questions in JAVASCRIPT
- Concatenate excel cell string within cell reference string
- Use hidden information for filtering data
- Using Vlookup in Excel sheet to match substring
- Import from api into multiple excel cells
- Loop through list of files and open them
- Pull and push data from and into sql databases using Excel VBA without pasting the data in Excel sheets
- Loop with equation for upper limit
- excel vba null value in array
- Why is my xml file having these after convert from excel?
- TextToColumns function uses wrong delimiter
Related Questions in HTML5-VIDEO
- Concatenate excel cell string within cell reference string
- Use hidden information for filtering data
- Using Vlookup in Excel sheet to match substring
- Import from api into multiple excel cells
- Loop through list of files and open them
- Pull and push data from and into sql databases using Excel VBA without pasting the data in Excel sheets
- Loop with equation for upper limit
- excel vba null value in array
- Why is my xml file having these after convert from excel?
- TextToColumns function uses wrong delimiter
Related Questions in INTERACTIVE
- Concatenate excel cell string within cell reference string
- Use hidden information for filtering data
- Using Vlookup in Excel sheet to match substring
- Import from api into multiple excel cells
- Loop through list of files and open them
- Pull and push data from and into sql databases using Excel VBA without pasting the data in Excel sheets
- Loop with equation for upper limit
- excel vba null value in array
- Why is my xml file having these after convert from excel?
- TextToColumns function uses wrong delimiter
Related Questions in USER-INTERACTION
- Concatenate excel cell string within cell reference string
- Use hidden information for filtering data
- Using Vlookup in Excel sheet to match substring
- Import from api into multiple excel cells
- Loop through list of files and open them
- Pull and push data from and into sql databases using Excel VBA without pasting the data in Excel sheets
- Loop with equation for upper limit
- excel vba null value in array
- Why is my xml file having these after convert from excel?
- TextToColumns function uses wrong delimiter
Related Questions in POPCORNJS
- Concatenate excel cell string within cell reference string
- Use hidden information for filtering data
- Using Vlookup in Excel sheet to match substring
- Import from api into multiple excel cells
- Loop through list of files and open them
- Pull and push data from and into sql databases using Excel VBA without pasting the data in Excel sheets
- Loop with equation for upper limit
- excel vba null value in array
- Why is my xml file having these after convert from excel?
- TextToColumns function uses wrong delimiter
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
This is a really cool idea. If you use 6 different videos, I'm afraid there's no way to guarantee there won't be any delay when switching. Since you never know in advance when the user is going to click to switch, you need to have all 6 videos ready to go at any point, and they all have to be fully downloaded together. Even if you do, there may be a short but noticeable delay as the browser catches up on decoding the next video.
So what I suggest is combining all 6 points of view into a single video. You can crop the video by placing it inside a div with "overflow: hidden", and then shift the video around inside that box with CSS transforms. You may have to compromise on resolution, and there may still be some buffering up front, but no matter what, all 6 camera angles will stay perfectly in sync. And they'll all share a single audio track.
So, let's say you shoot all your videos at standard 720p. Scale each one down to 640x540 (yes, this will mess up your aspect ratio, but we'll fix that later). Combine all six videos into a 3x2 grid, which will get you a single 1920x1080 video. Then, throw it in some HTML that looks roughly like this:
That will scale your video back up and crop it to show your first camera back at original size and aspect ratio, with a little bit of resolution loss but not too bad. This is still a pretty huge file, and you may need to experiment with some smaller sizes to accommodate slower GPUs that might struggle to scale that big, especially on mobile.
Javascript might look something like this:
And, of course, you'll need to implement your own video controls for pause/play, seek and volume. Good luck, and please let us know how it works out.