phoboslab / jsmpeg

MPEG1 Video Decoder in JavaScript
MIT License
6.31k stars 1.43k forks source link

Movie with 10minutes #360

Open programadriano opened 3 years ago

programadriano commented 3 years ago

Hi, I'd like to use a movie with 10 minutes, but the buffer has a limite. How can I change this limite?

phoboslab commented 3 years ago

There's no built-in limit on the filesize for this library. Browsers may enforce a limit on the amount of RAM the library can use, but A 10 minute video (or anything smaller than 1gb) should really not be a problem.

If your video resolution or bit-rate is very high, you may have to increase the videoBufferSize through the constructor options. See here: https://github.com/phoboslab/jsmpeg#usage