Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Very slow and hiccups on Raspberry pi 5 #1584

Open
pdnovo opened this issue Feb 5, 2025 · 8 comments
Open

Very slow and hiccups on Raspberry pi 5 #1584

pdnovo opened this issue Feb 5, 2025 · 8 comments
Labels
question Further information is requested

Comments

@pdnovo
Copy link

pdnovo commented Feb 5, 2025

Hi All,

I've just done a clean install on a Raspberry 5 with Raspberry Pi OS 64-bit (using the Raspberry Imager).
The Raspberry itself works fine and reacts very snappy.
I've installed the latest version of Go2rtc for arm64 and I connected one IP camera.
Everythings works but just for a few seconds and then the image freezes and after a few seconds it comes up again.

In the past we used Raspberry Pi 4 and everything worked just fine. It seems that there is no hardware acceleration.

Kind regards,
Peter

@AlexxIT AlexxIT added the question Further information is requested label Feb 6, 2025
@AlexxIT
Copy link
Owner

AlexxIT commented Feb 6, 2025

You have not provided details about go2rtc settings and your stream parameters (info).

@pdnovo
Copy link
Author

pdnovo commented Feb 6, 2025

Hi Alex, thanks for your fast response.
I've never used anything other than this, so maybe I'm missing something.

Yaml
streams:
Bascule:
- rtsp://admin:adminpwd@192.168.0.108/cam/realmonitor?channel=1&subtype=1

Info
{"producers":[{"url":"rtsp://admin:adminpwd@192.168.0.108/cam/realmonitor?channel=1&subtype=1"}],"consumers":[]}

Image

@AlexxIT
Copy link
Owner

AlexxIT commented Feb 6, 2025

You should check info for active connection. At the moment when the problems you're complaining about are happening.

@pdnovo
Copy link
Author

pdnovo commented Feb 6, 2025

Ok Alex, I'll do that when I'm at the location, that will be on monday.
I'll keep you informed.

Kind regards,
Peter

@pdnovo
Copy link
Author

pdnovo commented Feb 10, 2025

Good morning Alex,
This is the info when the stream is running.

{
  "producers": [
    {
      "id": 31,
      "format_name": "rtsp",
      "protocol": "rtsp+tcp",
      "remote_addr": "192.168.0.108:554",
      "url": "rtsp://admin:fms$2930@192.168.0.108/cam/realmonitor?channel=1\u0026subtype=1",
      "sdp": "v=0\r\no=RTSP Session 0 0 IN IP4 0.0.0.0\r\ns=Media Server\r\nc=IN IP4 0.0.0.0\r\nt=0 0\r\na=control:*\r\na=packetization-supported:DH\r\na=rtppayload-supported:DH\r\na=range:npt=now-\r\nm=video 0 RTP/AVP 96\r\na=control:trackID=0\r\na=framerate:25.000000\r\na=rtpmap:96 H264/90000\r\na=fmtp:96 packetization-mode=1;profile-level-id=64001E;sprop-parameter-sets=Z2QAHqw0yAsBJ//8AEAALbgoKCoAAAfQAAGGodDACxQACxPXeXGhgBYoABYnrvLhQAA=,aO48MAA=\r\na=recvonly\r\n",
      "user_agent": "go2rtc/1.9.8",
      "medias": [
        "video, recvonly, H264"
      ],
      "receivers": [
        {
          "id": 32,
          "codec": {
            "codec_name": "h264",
            "codec_type": "video",
            "level": 30,
            "profile": "High"
          },
          "childs": [
            33
          ],
          "bytes": 2836763,
          "packets": 3400
        }
      ],
      "bytes_recv": 2877803
    }
  ],
  "consumers": [
    {
      "id": 30,
      "format_name": "webrtc",
      "protocol": "ws+udp",
      "remote_addr": "192.168.0.200:60486 prflx",
      "user_agent": "Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36",
      "medias": [
        "video, sendonly, VP8, VP9, H264, AV1",
        "audio, sendonly, OPUS/48000/2, G722/8000, PCMU/8000, PCMA/8000, L16, PCML"
      ],
      "senders": [
        {
          "id": 33,
          "codec": {
            "codec_name": "h264",
            "codec_type": "video"
          },
          "parent": 32,
          "bytes": 2836763,
          "packets": 3400
        }
      ],
      "bytes_send": 2859964
    }
  ]
}

@AlexxIT
Copy link
Owner

AlexxIT commented Feb 10, 2025

I don't see any problems in this info.

@pdnovo
Copy link
Author

pdnovo commented Feb 10, 2025

I've attached a small video with on the left a Raspberry 4 and on te right a Raspberry 5.
Both are 100% identical (clean install Pi OS 64-bit, latest version go3rtc) and capture the same stream from the network.
The 4 works perfect, the 5 not so.

Raspberry.4.vs.5.-.1.mov

@AlexxIT
Copy link
Owner

AlexxIT commented Feb 10, 2025

Looks like it's a screencast. Maybe you have problem with it. Or problem with video drivers for OS where your browser works. Because they used for video decoding.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants