go2rtc icon indicating copy to clipboard operation
go2rtc copied to clipboard

Vatilon PA4 won't stream

Open on4ami opened this issue 1 year ago • 10 comments

Hi

I have an AliExpress IPcam model Vatilon PA4. I can view the stream succesfully with VLC, but go2rtc/Frigate won't work.

Any ideas where to start looking please?

VLC stream info: image

I can change the main stream to h265 or lower the resolution, but I keep getting the error error="streams: wrong transport: " stream=Tuinhuis2

go2rtc stream info:

{
  "producers": [
    {
      "type": "RTSP active producer",
      "url": "rtsp://192.168.10.100:554/stream1/",
      "remote_addr": "192.168.10.100:554",
      "user_agent": "go2rtc/1.9.2",
      "sdp": "v=0\r\no=- 1012708258 1 IN IP4 192.168.10.100\r\ns=HTMS\r\ni=stream1\r\ne=NONE\r\nt=0 0\r\na=tool:HTMS\r\na=control:*\r\na=range:npt=0-\r\na=x-qt-text-nam:HTMS\r\na=x-qt-text-inf:stream1\r\nm=video 0 RTP/AVP 96\r\nc=IN IP4 192.168.10.100\r\nb=AS:3\r\na=rtpmap:96 H264/90000\r\na=fmtp:96 packetization-mode=1;profile-level-id=4d0032;sprop-parameter-sets=Z00AMo2NQBaAZdNwEBAUAAAcIAAFfkAQ,aO48gA==\r\na=control:track=1\r\na=recvonly\r\na=Media_header:MEDIAINFO=494D4B48010100000400010000000000000000000000000000000000000000000000000000000000;\r\nm=audio 0 RTP/AVP 0\r\nc=IN IP4 0.0.0.0\r\nb=AS:64\r\na=rtpmap:0 PCMU/8000\r\na=control:track=2\r\na=recvonly\r\nm=audio 0 RTP/AVP 0\r\nc=IN IP4 0.0.0.0\r\nb=AS:64\r\na=rtpmap:0 PCMU/8000\r\na=control:audioback\r\na=sendonly\r\n",
      "medias": [
        "video, recvonly, H.264 Main 5.0",
        "audio, recvonly, PCMU/8000",
        "audio, sendonly, PCMU/8000"
      ],
      "receivers": [
        "96 H264, bytes=0, senders=1"
      ]
    }
  ],
  "consumers": [
    {
      "type": "RTSP passive consumer",
      "url": "rtsp://127.0.0.1:8554/Tuinhuis2",
      "remote_addr": "127.0.0.1:57934",
      "user_agent": "FFmpeg Frigate/0.14.1-f4f3cfa",
      "sdp": "v=0\r\no=- 1 1 IN IP4 0.0.0.0\r\ns=go2rtc/1.9.2\r\nc=IN IP4 0.0.0.0\r\nt=0 0\r\nm=video 0 RTP/AVP 96\r\na=rtpmap:96 H264/90000\r\na=fmtp:96 packetization-mode=1;profile-level-id=4d0032;sprop-parameter-sets=Z00AMo2NQBaAZdNwEBAUAAAcIAAFfkAQ,aO48gA==\r\na=control:trackID=0\r\n",
      "medias": [
        "video, sendonly, H264, H265",
        "audio, sendonly, MPEG4-GENERIC"
      ],
      "senders": [
        "96 H264, bytes=0, receivers=1"
      ]
    }
  ]
}

But sometimes when I click info or probe again, I get the "streams: wrong transport: "

on4ami avatar Sep 02 '24 11:09 on4ami

You can set trace log level for rtsp module and check logs. You can do this on any go2rtc in your LAN. You can run it on your PC for debugging.

AlexxIT avatar Sep 02 '24 13:09 AlexxIT

RTSP trace log:

image

image

on4ami avatar Sep 02 '24 15:09 on4ami

The probe sometimes works, but mostly it gives an error. Probe now says:

{
  "producers": [
    {
      "id": 17,
      "format_name": "rtsp",
      "protocol": "rtsp+tcp",
      "remote_addr": "192.168.10.100:554",
      "url": "rtsp://REDACTED:[email protected]:554/stream1",
      "sdp": "v=0\r\no=- 417891503 1 IN IP4 192.168.10.100\r\ns=HTMS\r\ni=stream1\r\ne=NONE\r\nt=0 0\r\na=tool:HTMS\r\na=control:*\r\na=range:npt=0-\r\na=x-qt-text-nam:HTMS\r\na=x-qt-text-inf:stream1\r\nm=video 0 RTP/AVP 96\r\nc=IN IP4 192.168.10.100\r\nb=AS:4\r\na=rtpmap:96 H264/90000\r\na=fmtp:96 packetization-mode=1;profile-level-id=4d0032;sprop-parameter-sets=Z00AMo2NQBQAWtNwEBAUAAAcIAAFfkAQ,aO48gA==\r\na=control:track=1\r\na=recvonly\r\na=Media_header:MEDIAINFO=494D4B48010100000400010000000000000000000000000000000000000000000000000000000000;\r\nm=audio 0 RTP/AVP 0\r\nc=IN IP4 0.0.0.0\r\nb=AS:64\r\na=rtpmap:0 PCMU/8000\r\na=control:track=2\r\na=recvonly\r\nm=audio 0 RTP/AVP 0\r\nc=IN IP4 0.0.0.0\r\nb=AS:64\r\na=rtpmap:0 PCMU/8000\r\na=control:audioback\r\na=sendonly\r\n",
      "user_agent": "go2rtc/1.9.4",
      "medias": [
        "video, recvonly, H264",
        "audio, recvonly, PCMU/8000",
        "audio, sendonly, PCMU/8000"
      ],
      "receivers": [
        {
          "id": 18,
          "codec": {
            "codec_name": "h264",
            "codec_type": "video",
            "level": 50,
            "profile": "Main"
          },
          "childs": [
            19
          ]
        },
        {
          "id": 20,
          "codec": {
            "codec_name": "pcm_mulaw",
            "codec_type": "audio",
            "sample_rate": 8000
          },
          "childs": [
            21
          ]
        }
      ],
      "senders": [
        {
          "id": 23,
          "codec": {
            "codec_name": "pcm_mulaw",
            "codec_type": "audio",
            "sample_rate": 8000
          },
          "parent": 22
        }
      ]
    }
  ],
  "consumers": [
    {
      "id": 16,
      "format_name": "probe",
      "protocol": "http",
      "remote_addr": "192.168.10.21:6976",
      "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36",
      "medias": [
        "video, sendonly, ALL",
        "audio, sendonly, ALL",
        "audio, recvonly, ANY"
      ],
      "receivers": [
        {
          "id": 22,
          "codec": {
            "codec_name": "ANY",
            "codec_type": ""
          },
          "childs": [
            23
          ]
        }
      ],
      "senders": [
        {
          "id": 19,
          "codec": {
            "codec_name": "h264",
            "codec_type": "video",
            "level": 50,
            "profile": "Main"
          },
          "parent": 18
        },
        {
          "id": 21,
          "codec": {
            "codec_name": "pcm_mulaw",
            "codec_type": "audio",
            "sample_rate": 8000
          },
          "parent": 20
        }
      ]
    }
  ]
}

on4ami avatar Sep 02 '24 15:09 on4ami

Well. As usual. Awful RTSP realisation from noname camera.

  • you can try to use ffmpeg source
  • you can enable only video filter for rtsp source (#media=video)
  • you can share stream to me for fix this problem https://github.com/AlexxIT/go2rtc/wiki/Tunnel-RTSP-camera-to-Intenet

Contacts in github profile

AlexxIT avatar Sep 02 '24 20:09 AlexxIT

Hi, I have the same outdoor PA4 camera and go2rtc works fine without any special settings.

But another model of the indoor camera H42 of the same manufacturer also doesn't work. So, I think there might be something wrong with the firmware. I have already contacted AliExpress seller and will forward the information to their technician. No more details at this time. What firmware version do you have?

This works: Device Type: PA4 Uboot Version: uboot-2016-20 Kernel Version: linux-4.9-12 Software Version: V1.12.37-20240124

This doesn't work: Device Type: H42 Uboot Version: uboot-2016-14 Kernel Version: linux-4.9-15 Software Version: V1.14.10-20240725

Tratos-1 avatar Sep 06 '24 18:09 Tratos-1

Hi, just a fresh update. I've just downgraded the firmware of my H42 to the version below and go2rtc started work like a charm.

This older firmware also works: Device Type: H42 Uboot Version: uboot-2016-12 Kernel Version: linux-4.9-14 Software Version: V1.11.91-20231116

So, I recommend you contact Ali seller or checking official website for a fixed firmware. IPC Software Download: https://www.vatilon.com/ipcrjxz

Tratos-1 avatar Sep 06 '24 19:09 Tratos-1

I had the same issue and just upgraded my H42 to the latest H42-H43-v1.14.48-20240903 and it resolved the issue.

paul-adriaanse avatar Nov 07 '24 13:11 paul-adriaanse

I have the same issue with a PB4 camera running software version V1.14.10-20240725. Trying to get an earlier firmware but no luck so far.

fweilbach avatar Nov 14 '24 18:11 fweilbach

I had the same issue and just upgraded my H42 to the latest H42-H43-v1.14.48-20240903 and it resolved the issue.

Hi, I can confirm this. And that the latest firmware H42-H43-1.14.92 also works OK. On the other hand, the latest firmware PA2-PA4-1.14.91 for the PA4 outdoor camera broke go2rtc. So, I do not recommend upgrading.

Tratos-1 avatar Dec 02 '24 19:12 Tratos-1

I was going through the camera settings of the PA4 with firmware version 1.14.91 and found out that go2rtc works great if audio is enabled in the camera web settings, even though the camera doesn’t have a microphone. It’s a bit of a mystery to me, but finally it’s all good.

Tratos-1 avatar Dec 02 '24 23:12 Tratos-1

Some really helpful comments here, I've download the V1.15 ROM file to update my SimiCam on V1.14.10-20240725, however there is no firmware upgrade option, I've also tried to use the batch updater, but it doesn't detect the camera. I can get into the web server pages on port 80 fine. Any help on how I could upload the ROM is appreciated.

paulandrewcrouch avatar Dec 19 '24 23:12 paulandrewcrouch

I had the same issue and just upgraded my H42 to the latest H42-H43-v1.14.48-20240903 and it resolved the issue.

Hi, is there an archive with firmware files for H42-H43 cameras? I updated my H43 to H42-H43-1.14.92 and now I can't change the time zone. I would like to try the H42-H43 firmware-v1.14.48-20240903. Can you possibly share it with me? Thank you.

s90570 avatar Jan 27 '25 19:01 s90570

Some really helpful comments here, I've download the V1.15 ROM file to update my SimiCam on V1.14.10-20240725, however there is no firmware upgrade option, I've also tried to use the batch updater, but it doesn't detect the camera. I can get into the web server pages on port 80 fine. Any help on how I could upload the ROM is appreciated.

Update: I downloaded IPCBatchtool for Windows V2.0.0.7.1 and was update to update (and make a few other settings changes). All working well now.

paulandrewcrouch avatar Feb 06 '25 10:02 paulandrewcrouch

On the other hand, the latest firmware PA2-PA4-1.14.91 for the PA4 outdoor camera broke go2rtc. So, I do not recommend upgrading.

I'm using this firmware successfully on a Revodata i706 (which seems to be a Vatilon PA4 under the hood) for what it's worth.

leccelecce avatar Sep 13 '25 16:09 leccelecce

hello everyone i have a chinese camera which runs a V1.14.91-20241120, but everytime my nvr reboots (once a week) the camera fails to connect and needs a manual password input can someone supply me with the V1.12 version thank you

oglabogla avatar Oct 07 '25 15:10 oglabogla