Tuesday, September 29, 2026

Camera on LAN - Get urls

 

python code snippet  to get url for use with vlc and show the camera on LAN

 

#connection code , previously done in this blog

media = camera.create_media_service()

profiles = media.GetProfiles()

for p in profiles:
    print("Profile:", p.Name)
    print("Token:", p.token)

    uri = media.GetStreamUri({
        'StreamSetup': {
            'Stream': 'RTP-Unicast',
            'Transport': {
                'Protocol': 'RTSP'
            }
        },
        'ProfileToken': p.token
    })

    print("RTSP:", uri.Uri)
    print() 


#

vlc 'rtsp://admin:your_key@192.168.1.8:554/Streaming/Channels/101?transportmode=unicast&profile=Profile_1'

Camera on LAN - Check on LAN

 

python code to test camera ONVIF(EZVIZ) on LAN, if you do not know the ip, use nmap to scan.

 from onvif import ONVIFCamera

camera = ONVIFCamera(
    '192.168.1.8',
    80,
    'admin',
    'your_key',  #get from QR or app
    no_cache=True
)

print("Connected to ONVIF")

info = camera.devicemgmt.GetDeviceInformation()

print("Manufacturer:", info.Manufacturer)
print("Model:", info.Model)
print("Firmware:", info.FirmwareVersion)
print("Serial:", info.SerialNumber)
print("Hardware ID:", info.HardwareId)

Tuesday, September 15, 2026

Friday, September 04, 2026

Slides animation online

 

 

 

[1] Slides +Animation https://slidespeak.co/free-tools/animate-slides-with-ai 

[2] Slides to mp4 https://slidespeak.co/free-tools/convert-powerpoint-to-video-ai

[3] https://app.synthesia.io (To get text to speak/chrome) 

[4] Animation introductions https://www.flexclip.com (To get intro)

Camera on LAN - Get urls

  python code snippet  to get url for use with vlc and show the camera on LAN   #connection code , previously done in this blog media = came...