kyriesent / node-rtsp-stream

Stream any RTSP stream and output to websocket for consumption by jsmpeg (https://github.com/phoboslab/jsmpeg). HTML5 streaming video! Requires ffmpeg.
MIT License
451 stars 166 forks source link

Artifacts #67

Open SashaRevizov opened 4 years ago

SashaRevizov commented 4 years ago

Hi, i want some help. I have ip cam and need translate video in browser but i have artifacts. I try many attempts but nothing help. My current ffmpeg '-i rtsp://link -f mpegts - ' изображение

kyriesent commented 4 years ago

This might be due to the encoding requirements of JSMPEG. I think I've seen something similar when the video isn't encoded correctly. See here: https://github.com/phoboslab/jsmpeg#encoding-videoaudio-for-jsmpeg

Are you using the default settings from the library or are you customizing the arguments to FFMPEG?

SashaRevizov commented 4 years ago

I tried use settings from jsmpeg examples and default

dharders commented 3 years ago

I found similar artifacts like @SashaRevizov when my camera (NVR) was streaming H265 format. Changing the camera configuration to stream H264 fixed it.