b-jesch / plugin.video.ipcams

GNU General Public License v3.0
24 stars 6 forks source link

rtsp url format !!! #3

Open siliconhippy opened 4 years ago

siliconhippy commented 4 years ago

Hi there !

Good job, simple !

My problem is the correct rtsp url I need for a generic 1080p camera. (CcCloudcam AI WiFi Camera labeled YCC365 with Android app, YCC365 plus, which connects to their Cloud and plays fine on the phone app with PTZ.)

Going to Onvif Device Manager for Windows, I can see the link live stream as rtsp://192.168.1.2:554 for example, and I have to type up the usr/pwd separately as admin (no password.)

Plays also in VLC with usr/pwd input and above link.

But what do I input in Surveillance Cameras ?

rtsp://admin@192.168.1.2:554 ???

I have tried various permutations with or without admin, admin:, :554 but I get no pic. (The camera profile loads as Camera 1, but clicking on it doesn't bring up any pic/video.)

Thanks ☺️

b-jesch commented 4 years ago

Hello,

This simple script is not designed for requests that needs user/passwd confirmation, sorry. A usual way to send user/pass within the url is rtsp://user:passwd@192.168.1.2:554 so You could try admin:@192.168.1.2:554

A plugin that implements authorization is "script.securitycam" from our repo: https://repo.kodinerds,net You could give it a try using that instead of this here.

Regards.

siliconhippy commented 4 years ago

Hi again Birger !

  1. I checked the GitHub kodinerds repo. There is no listing for script.securitycam

  2. I downloaded the kodinerds repo, and under Programs Addons I found Security Cam Overlay by Ryan Melena et al v1.4.1.

But this is for jpg images only and the URL as below format still doesn't work !

  1. I can see my wifi can live stream in Windows 10 Onvif Device Manager as rtsp://192.168.0.26:554 for instance, and I can move the pic up/down and left/right when my WiFi Cam's app is running on my Android phone ( YCC365 Plus app.)

*** Can you kindly recommend a wifi cam add-on for Kodi ?

(The Zoneminder addon is available, but this will require ZM NVR software so cannot work with an independent rtsp stream from a generic WiFi Cam !)

Thanks 😊for your help...

Shippy.

On Thu, Jul 2, 2020, 5:42 AM Birger Jesch notifications@github.com wrote:

Hello,

This simple script is not designed for requests that needs user/passwd confirmation, sorry. A usual way to send user/pass within the url is rtsp:// user:passwd@192.168.1.2:554 so You could try admin:@192.168.1.2:554

A plugin that implements authorization is "script.securitycam" from our repo: https://repo.kodinerds,net You could give it a try using that instead of this here.

Regards.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/b-jesch/plugin.video.ipcams/issues/3#issuecomment-652904249, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKCL4EKT4JJOQ3AT5AT5XDDRZRI7VANCNFSM4OKN6MZQ .

Barabba11 commented 1 year ago

Hi, I can't find that report active, I can't try I've a rtsp formatter like this: rtsp://user:password@IP:port/cam/realmonitor?channel=1%subtype=0 there is anything for Kodi 19 I can use to open that? thank you!

b-jesch commented 1 year ago

Try put your stream url into a .strm file: https://kodi.wiki/view/Internet_video_and_audio_streams

Barabba11 commented 1 year ago

Try put your stream url into a .strm file: https://kodi.wiki/view/Internet_video_and_audio_streams

Thanks for help, I've readed your guide and created a file where I wrote inside:

KODIPROP:rtsp_transport=tcp

rtsp://user:password@mypublicIP:55554/cam/realmonitor?channel=1&subtype=0

I can assure tha link works on VLC, I've saved it into stream.strm, opened kodi, video section, open file and I pointed stream.strm. It loads it, no network activity, it fails. The same for .m3u SHould I installa a plugin such as PVR? Where I do mistake? Thanks

Barabba11 commented 1 year ago

Kodi 19 doesn't support RTSP, game over Kodi 20 does

b-jesch commented 1 year ago

Maybe the addon "RTMP Input" is a solution (addons -> Videoplayer-Inputstream-Addons)?

BruceDenney commented 1 year ago

I think the issue is with a blank password.

I have experienced the same thing, works in vlc, not in kodi.

I also have a camera that has got a password and it works fine in both.

The issue could be that kodi tries to authenticate if the password is present, instead of the user, as a result when you have a user and no password it breaks but in all other cases it is fine.