mpromonet / webrtc-streamer

WebRTC streamer for V4L2 capture devices, RTSP sources and Screen Capture
https://webrtcstreamer.agreeabletree-365b9a90.canadacentral.azurecontainerapps.io/?layout=2x2
The Unlicense
2.8k stars 581 forks source link

When using some Dahua cameras, it prompts "no frame!" #648

Open 51jintian opened 7 months ago

51jintian commented 7 months ago

Describe the bug A clear and concise description of what the bug is.

When using some Dahua cameras, it prompts "no frame!". In this case, the screen of the instance can be played, but the CPU usage is very high. If the -o parameter is used, there is no video screen display, and the screen keeps spinning.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem. image

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

mpromonet commented 6 months ago

Hi,

The ffmpeg log "no frame!" just means ther is no frame in the packet, it may be problems in parsing. Increasing loglevel may helps you.

Best Regards, Michel.