agsh / rtsp-ffmpeg

Node.js FFMpeg wrapper for streaming RTSP into MotionJPEG
MIT License
249 stars 84 forks source link

Adding ability to disable quality option. #19

Closed Zombitch closed 6 years ago

Zombitch commented 6 years ago

Ability to disable quality ffmpeg option.

Fix issue 9 : https://github.com/agsh/rtsp-ffmpeg/issues/9

Some systems does not support this option (quality) and can display cropped image. In order to disable quality you should set quality option to false (ex : new rtsp.FFMpeg({input: uri, resolution: '1280x720', quality:false, rate:10});)

If quality option is not set, it will be set by default at 3 (like previously)

Seikon commented 6 years ago

Hi @Zombitch It's ok for me. I would like to test it but i have only recent cameras so i think it is an issue for old cameras. Thank you for your contribution. I am gonna ask to comunity for your solution and we could see what append if quality is dissabled.