I am making a video site, and the question is to offer it in different qualities, is it necessary to have copies of the same video in different qualities?, since I want to do something like youtube does and can change between qualities in a video, is there a way to do it? from js?
If possible, you should use ffmpeg, here is the library for node.js:
For ffmpeg to manipulate the data of the videos to give different versions and bitrates and as well as make conversions you must use MP4Box:
The MP4Box will create your DASH-Stream, which is how this technology is known (Dynamic Adaptive Streaming over HTTP)
Then in the browser you must put the url that ffmpeg offers you for the transmission.
Here's a longer example: