Need help, Video stuck - camera RTSP, ipcamera binding

Then you can ignore it then, the binding was just saying the stream was closed by the peer which was the browser when you hit refresh. Its normal.

I have not tried it but that should tell ffmpeg to ignore the audio, not sure if it will make any difference to CPU usage, so it may remove the line about it using MONO which when logs are set to INFO you wont see it.

I completely deleted the two cameras and re-added only one camera, the image appears for 2 seconds and disappears

  • I set “FFMPEG_MJPEG_ARGUMENTS” like this:
    -an -q: v 5 -r 2 -vf scale = 480: -2 -update 1

  • As you advised to do autofps.mjpeg so I did (and did not help)

  • When I did test, “top” in SSH then he showed ffmpeg cpu 250
    Should I create a folder in FFMPEG_OUTPUT and then put the path here?
    Could it be that I set ffserver.conf incorrectly or that it’s not that important to mjpeg url?
    And why in the log does this address appear to me: http://127.0.0.1:7525/ipcamera.jpg and not 192.138.1.37 is this correct?
    This is the new log:
    Thanks.

     2020-08-19 16:28:08.643 [DEBUG] [pcamera.internal.StreamServerHandler] - Stream Server recieved request 	GET:/ipcamera.mjpeg
    
      2020-08-19 16:28:08.645 [DEBUG] [hab.binding.ipcamera.internal.Ffmpeg] - Starting ffmpeg with this command now:/usr/bin/ffmpeg -rtsp_transport tcp -hide_banner -loglevel warning -i rtsp://***:****@192.168.1.31/live -an -q:v 5 -r 2 -vf scale=480:-2 -update 1 http://127.0.0.1:7525/ipcamera.jpg
    
      2020-08-19 16:28:13.111 [DEBUG] [hab.binding.ipcamera.internal.Ffmpeg] - Guessed Channel Layout for Input Stream #0.1 : mono
    
      2020-08-19 16:28:13.355 [DEBUG] [hab.binding.ipcamera.internal.Ffmpeg] - [swscaler @ 0x1ec1b20] deprecated pixel format used, make sure you did set range correctly
    
      2020-08-19 16:28:14.879 [DEBUG] [hab.binding.ipcamera.internal.Ffmpeg] - More than 1000 frames duplicated

You don’t need it and if it is running it will draw more CPU. Rename that file so it does not run.
I’m totally confused, you wrote that it was working and now it is not? What changed? Reverse what you changed.

Worked and suddenly did not work, I did not change anything
Does it matter which version of JAVA is installed?

how do i fix this?

2020-08-20 16:08:52.003 [DEBUG] [hab.binding.ipcamera.internal.Ffmpeg] - Guessed Channel Layout for Input Stream #0.1 : mono

2020-08-20 16:08:52.206 [DEBUG] [hab.binding.ipcamera.internal.Ffmpeg] - [swscaler @ 0x1ea7190] deprecated pixel format used, make sure you did set range correctly

I solved the camera issue with me by installing it on my main computer at Agent DVR and there I set up the cameras and the IP addresses of the cameras I put in the camera widget in habpanel and works without any glitches at all as they were until now
I wanted to say thank you for trying to help me, you were 10! :slight_smile:

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.