I can capture from my Reolink 411 camera using rtsp but it suffers from almost continuous tearing so I am trying to get RTMP to work.
Just changing the capture to RTMP will not capture any images at all. I get the following log entries repeatedly:
I have tried to activate logging but even though it says in the log that FFMPEG logs are enabled I can't find them anywhere . I have followed the instructions to activate logging here https://zmeventnotification.readthedocs ... ml#logging
I have run FFMPEG from the command line
Code: Select all
ffmpeg -i 'rtmp://10.0.0.102/bcs/channel0_sub.bcs?channel=0&Stream=1&user=admin&password=xxxx' webcam.mp4
I then found a mention of increasing the GPU memory so increased that to 512MB
I also found a reference about X265 encoding so changed the optional parameters to
Code: Select all
# Lines beginning with # are a comment
# For changing quality, use the crf option
# 1 is best, 51 is worst quality
#crf=23
vcodec libx264
This has improved it very slightly, I now have 11 events captured but all are corrupted except the third one which captured a single frame image from the camera.
I would really like to see what parameters are being sent to FFMPEG so I can try to work out what is wrong or needed - Can anyone tell me where to find the FFMPEG logs which would show the detailed information of what it is doing?