Closed hupptechnologies closed 4 years ago
Same issue here
Have you checked that the streaming resolution is the same as the script?
Yes checked that already.
I have same problem. In 1280 x 720 it is working fine.
but in other resolution eg(720 x 480) it shows
i did this changes in mpeg1muxer.js file var args = ('-i ' + this.url + ' -vf scale=720:480 -f mpeg1video -b:v 1000k -an -r 24 -').split(' ')
@patelShreyaP you should try: var args = ("-rtsp_transport tcp -i " + this.url + " -s 720x480 -f mpeg1video -b:v 1000k -an -r 24 -").split(" ");
The solution is to change width/height in index.html
to the actual size of your video.
I am closing as I am not working on this solution anymore.
Please see below screenshot how it render. I played the rtsp in vlc palyer and it's perfect, but when played through this library, it appeared as in screenshot.
Below logs on node terminal :
Past duration 0.799995 too large 362908kB time=00:21:04.50 bitrate=2351.1kbits/s dup=12639 drop=5 speed= 1x Last message repeated 4 times