Hello!
I couldn’t find an answer for this on the forum (hope is not repeated!). I wonder if is possible to get the native camera video texture size on Three.js.
Maybe something like this(?):
var video = document.getElementById( 'video' );
var videoTexture = new THREE.VideoTexture( video );
var videoWidth = videoTexture.width; // or like this: videoTexture.image.width
var videoHeight = videoTexture.height; // or like this: videoTexture.image.height
It would be useful to have such property (if it doesn’t exist already). By getting the native width and height you can calculate the aspect ratios or made proper assumptions about image quality.