yanwsh / videojs-panorama

a plugin for videojs run a full 360 degree panorama video.
http://yanwsh.github.io/videojs-panorama/
Other
485 stars 160 forks source link

Supported 360 video codec, file type, etc #40

Open j-christopher opened 7 years ago

j-christopher commented 7 years ago

Hi,

What is the supported 360 video codec and file type? What is being used in the VideoJs 5 demo?

Thanks!

yanwsh commented 7 years ago

I only tested with h.264 and mp4 type. But i think it properly support other video types which can play in videojs player.

j-christopher commented 7 years ago

It seems that Frame rate and size/dimension plays a role in support across browsers. Using h.264, dimensions below 4k and 29.97 frame rates are most reliable. Using 1920x1080 I was even able to get this to work in IE11, Android phones and iPhones. Using 4k with 60FPS only worked on Chrome on a desktop.

yanwsh commented 7 years ago

Hmm... It's a very heavy rending. What it does is processing each image from the video and put it in a sphere, so I don't think it's good idea to use 4k video or high fps, make it smaller will have better performance.

bayantaani commented 7 years ago

Is this only related to the browser? I can view 8k 380-degree video on YoutTube but not on videojs-panorama. It says that the format is not supported.