Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Imou Ranger 2 4Mp Not Showing 4K stream #333

Closed
Betacart opened this issue Jul 29, 2022 · 13 comments
Closed

Imou Ranger 2 4Mp Not Showing 4K stream #333

Betacart opened this issue Jul 29, 2022 · 13 comments
Labels
go2rtc question Further information is requested
Milestone

Comments

@Betacart
Copy link

I tried Imou Ranger 2 Full HD - video has been perfectly loaded and PTZ controls was visible and operable.
I switched to 4K version of that camera and since then, I see only black screen with "Loading video" icon at right top part of screen. PTZ controls are visible and camera can be operated. When load second, low quality stream, picture from camera is also visible. So, I assume only 4K video has problem.
I checked logs and found only following:

.......

  • Stream Try Connect rtsp://xxx:xxx@192.168.0.20:554/cam/realmonitor?channel=1&subtype=1&unicast=true&proto=Onvif
  • WebRTC Ignore Audio Track codec not supported WebRTC support only PCM_ALAW or PCM_MULAW
  • muxerWebRTC.WritePacket WebRTC Client Offline
  • muxerWebRTC.WritePacket WebRTC Codec Not Supported
  • websocket.JSON.Receive EOF
  • Stream Exit On Demand No Viewer
    .......

Am I doing something wrong or is that 4K issue?
Jirka

@Betacart
Copy link
Author

Betacart commented Aug 3, 2022

After change to H.264 using Dahua's Config Tool, I can see picture. So, H.265 support will be nice to add.
Anyway, I have problem with sound, even the output is set to PCMA, one camera can handle it, but second one not.

@AlexxIT
Copy link
Owner

AlexxIT commented Aug 3, 2022

You may ask Google, Firefox and Opera to buy H265 license...

@Betacart
Copy link
Author

Betacart commented Aug 3, 2022

Ah, thank you for reply. I didn't know that.
As I solved problem with video, can you check, why sound is not working? If needed, I can make any test on Ranger 2 4K - as I checked, you not have it as supported, but it work as well as PT commands from ONVIF.

Thanks for help.

@AlexxIT
Copy link
Owner

AlexxIT commented Aug 4, 2022

Just read readme about supported audio codecs

@AlexxIT AlexxIT added the question Further information is requested label Aug 4, 2022
@Betacart
Copy link
Author

Betacart commented Aug 4, 2022

Yes, I already did and set in accordance with it. Anyways, one camera is working fine, second one not broadcast audio.

@AlexxIT
Copy link
Owner

AlexxIT commented Aug 21, 2022

Check my new project. Maybe it can handle 2-way audio for your camera
https://github.com/AlexxIT/go2rtc

@AlexxIT AlexxIT added the go2rtc label Aug 21, 2022
@Betacart
Copy link
Author

Thank you, I will check!
Jirka

@vampywiz17
Copy link

You may ask Google, Firefox and Opera to buy H265 license...

Hello @AlexxIT

I dont want a open a new issue, but now, that chrome will support HEVC in the near future, possible to add the h265 support to the webrtc integration?

I use chrome based browser (Thorium) that support h265/HEVC

webrtc say that not supported codec, but nomal picture card is able to show it (but a high latency....)

Képernyőkép_Terület kiválasztása_20221028130704

@AlexxIT
Copy link
Owner

AlexxIT commented Oct 28, 2022

You can also check project go2rtc. HEVC supported there.
But we talking about MSE technology, not WebRTC technology. Because Chrome doesn't support and probably won't support HEVC for WebRTC.

@DzzD
Copy link

DzzD commented Dec 25, 2022

Ah, thank you for reply. I didn't know that. As I solved problem with video, can you check, why sound is not working? If needed, I can make any test on Ranger 2 4K - as I checked, you not have it as supported, but it work as well as PT commands from ONVIF.

Thanks for help.

Hello, I got a Ranger 2C and a Tapo cam, both with the same config, but unfortunatly the Ranger 2C PTZ does not works, could you who me your config plz ?
here is mine :

type: custom:webrtc-camera
mse: false
entity: camera.lc_profile000
ptz:
  service: onvif.ptz
  data_left:
    entity_id: camera.lc_profile000
    pan: LEFT
  data_right:
    entity_id: camera.lc_profile000
    pan: RIGHT
  data_up:
    entity_id: camera.lc_profile000
    tilt: UP
  data_down:
    entity_id: camera.lc_profile000
    tilt: DOWN

@DzzD
Copy link

DzzD commented Dec 25, 2022

EDIT: I have go2rtc installed as docker and configured on HA, but I did not put anything in the config file

@AlexxIT AlexxIT added this to the v3.0 milestone Jan 2, 2023
@AlexxIT
Copy link
Owner

AlexxIT commented Jan 2, 2023

H265 for MSE supported from v3

@AlexxIT
Copy link
Owner

AlexxIT commented Jan 20, 2023

Should be fixed in v3

@AlexxIT AlexxIT closed this as completed Jan 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
go2rtc question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants