{"id":500,"date":"2026-08-06T15:31:26","date_gmt":"2026-08-06T13:31:26","guid":{"rendered":"https:\/\/www.lukaswojcik.com\/?page_id=500"},"modified":"2026-08-06T16:36:38","modified_gmt":"2026-08-06T14:36:38","slug":"rtsp-stream-url-builder","status":"publish","type":"page","link":"https:\/\/www.lukaswojcik.com\/blog\/en\/toolbox\/rtsp-stream-url-builder\/","title":{"rendered":"RTSP Stream URL Builder &#038; Vendor Reference"},"content":{"rendered":"<div id=\"rtsp-tool-wrapper\" style=\"max-width: 100%; background: #1e293b; color: #f8fafc; padding: 28px; border-radius: 12px; font-family: system-ui, -apple-system, sans-serif; box-shadow: 0 4px 20px rgba(0,0,0,0.3); border: 1px solid #334155;\">\n<p>    <!-- Privacy Notice Banner --><\/p>\n<div style=\"display: flex; align-items: center; gap: 12px; background: rgba(56, 189, 248, 0.08); border: 1px solid rgba(56, 189, 248, 0.2); padding: 12px 16px; border-radius: 8px; margin-bottom: 24px; font-size: 0.85rem; color: #38bdf8; line-height: 1.4;\">\n        <svg style=\"width: 20px; height: 20px; flex-shrink: 0;\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" viewBox=\"0 0 24 24\"><path stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z\"><\/path><\/svg><br \/>\n        <span><strong>Privacy Guarantee:<\/strong> No data entered here is stored on my server or transferred anywhere else. Everything runs 100% locally in your browser.<\/span>\n    <\/div>\n<h3 style=\"margin-top: 0; color: #38bdf8; font-size: 1.25rem; border-bottom: 1px solid #334155; padding-bottom: 12px; margin-bottom: 20px;\">RTSP Stream URL Builder &amp; Frigate Config Generator<\/h3>\n<div style=\"display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-bottom: 20px;\">\n<div>\n            <label style=\"display: block; font-size: 0.85rem; color: #cbd5e1; margin-bottom: 6px;\">Camera Vendor<\/label><br \/>\n            <select id=\"rtsp-vendor\" style=\"width: 100%; padding: 10px; background: #0f172a; border: 1px solid #475569; color: #fff; border-radius: 6px;\"><option value=\"hikvision\">Hikvision<\/option><option value=\"dahua\">Dahua \/ Amcrest<\/option><option value=\"reolink\">Reolink<\/option><option value=\"axis\">Axis Communications<\/option><option value=\"unifi\">UniFi Protect<\/option><option value=\"generic\">Generic RTSP<\/option><\/select>\n        <\/div>\n<div>\n            <label style=\"display: block; font-size: 0.85rem; color: #cbd5e1; margin-bottom: 6px;\">IP Address \/ Host<\/label><br \/>\n            <input type=\"text\" id=\"rtsp-ip\" value=\"192.168.1.100\" style=\"width: 100%; padding: 10px; background: #0f172a; border: 1px solid #475569; color: #fff; border-radius: 6px; box-sizing: border-box;\">\n        <\/div>\n<div>\n            <label style=\"display: block; font-size: 0.85rem; color: #cbd5e1; margin-bottom: 6px;\">Port<\/label><br \/>\n            <input type=\"text\" id=\"rtsp-port\" value=\"554\" style=\"width: 100%; padding: 10px; background: #0f172a; border: 1px solid #475569; color: #fff; border-radius: 6px; box-sizing: border-box;\">\n        <\/div>\n<div>\n            <label style=\"display: block; font-size: 0.85rem; color: #cbd5e1; margin-bottom: 6px;\">Stream Profile<\/label><br \/>\n            <select id=\"rtsp-profile\" style=\"width: 100%; padding: 10px; background: #0f172a; border: 1px solid #475569; color: #fff; border-radius: 6px;\"><option value=\"main\">Main Stream (High Res)<\/option><option value=\"sub\">Sub Stream (Low Res \/ Detect)<\/option><\/select>\n        <\/div>\n<\/p><\/div>\n<div style=\"display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-bottom: 24px;\">\n<div>\n            <label style=\"display: block; font-size: 0.85rem; color: #cbd5e1; margin-bottom: 6px;\">Username<\/label><br \/>\n            <input type=\"text\" id=\"rtsp-user\" value=\"admin\" style=\"width: 100%; padding: 10px; background: #0f172a; border: 1px solid #475569; color: #fff; border-radius: 6px; box-sizing: border-box;\">\n        <\/div>\n<div>\n            <label style=\"display: block; font-size: 0.85rem; color: #cbd5e1; margin-bottom: 6px;\">Password<\/label><br \/>\n            <input type=\"text\" id=\"rtsp-pass\" value=\"password123\" style=\"width: 100%; padding: 10px; background: #0f172a; border: 1px solid #475569; color: #fff; border-radius: 6px; box-sizing: border-box;\">\n        <\/div>\n<div>\n            <label style=\"display: block; font-size: 0.85rem; color: #cbd5e1; margin-bottom: 6px;\">Channel \/ Camera ID<\/label><br \/>\n            <input type=\"text\" id=\"rtsp-chan\" value=\"1\" style=\"width: 100%; padding: 10px; background: #0f172a; border: 1px solid #475569; color: #fff; border-radius: 6px; box-sizing: border-box;\">\n        <\/div>\n<\/p><\/div>\n<p>    <!-- Output Section --><\/p>\n<div style=\"margin-bottom: 20px;\">\n<div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px;\">\n            <label style=\"font-size: 0.8rem; color: #94a3b8; text-transform: uppercase; font-weight: 600;\">Generated RTSP URL<\/label><br \/>\n            <button onclick=\"copyRtspText('rtsp-out-url', this)\" style=\"background: rgba(71, 85, 105, 0.4); border: 1px solid #475569; color: #cbd5e1; padding: 3px 10px; font-size: 0.75rem; border-radius: 4px; cursor: pointer;\">Copy URL<\/button>\n        <\/div>\n<p>        <input type=\"text\" id=\"rtsp-out-url\" readonly=\"\" style=\"width: 100%; padding: 12px; background: #0f172a; border: 1px solid #334155; color: #38bdf8; font-family: monospace; font-size: 0.95rem; border-radius: 6px; box-sizing: border-box;\">\n    <\/div>\n<div>\n<div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px;\">\n            <label style=\"font-size: 0.8rem; color: #94a3b8; text-transform: uppercase; font-weight: 600;\">Frigate NVR YAML Config Snippet<\/label><br \/>\n            <button onclick=\"copyRtspText('rtsp-out-yaml', this)\" style=\"background: rgba(71, 85, 105, 0.4); border: 1px solid #475569; color: #cbd5e1; padding: 3px 10px; font-size: 0.75rem; border-radius: 4px; cursor: pointer;\">Copy YAML<\/button>\n        <\/div>\n<p>        <textarea id=\"rtsp-out-yaml\" readonly=\"\" rows=\"7\" style=\"width: 100%; padding: 12px; background: #0f172a; border: 1px solid #334155; color: #cbd5e1; font-family: monospace; font-size: 0.85rem; border-radius: 6px; box-sizing: border-box;\"><\/textarea>\n    <\/div>\n<\/div>\n<p><script>\nfunction buildRtsp() {\n    const vendor = document.getElementById('rtsp-vendor').value;\n    const ip = document.getElementById('rtsp-ip').value.trim() || '192.168.1.100';\n    const port = document.getElementById('rtsp-port').value.trim() || '554';\n    const user = document.getElementById('rtsp-user').value.trim();\n    const pass = document.getElementById('rtsp-pass').value.trim();\n    const chan = document.getElementById('rtsp-chan').value.trim() || '1';\n    const profile = document.getElementById('rtsp-profile').value;<\/p>\n<p>    let auth = '';\n    if (user && pass) auth = `${user}:${pass}@`;\n    else if (user) auth = `${user}@`;<\/p>\n<p>    let path = '\/';\n    if (vendor === 'hikvision') {\n        path = profile === 'main' ? `\/Streaming\/Channels\/${chan}01` : `\/Streaming\/Channels\/${chan}02`;\n    } else if (vendor === 'dahua') {\n        let sub = profile === 'main' ? '0' : '1';\n        path = `\/cam\/realmonitor?channel=${chan}&subtype=${sub}`;\n    } else if (vendor === 'reolink') {\n        path = profile === 'main' ? `\/h264Preview_${chan.padStart(2, '0')}_main` : `\/h264Preview_${chan.padStart(2, '0')}_sub`;\n    } else if (vendor === 'axis') {\n        path = `\/axis-media\/media.amp?videocodec=h264&camera=${chan}`;\n    } else if (vendor === 'unifi') {\n        path = profile === 'main' ? `\/live\/channels\/${chan}` : `\/live\/channels\/${chan}sub`;\n    } else {\n        path = profile === 'main' ? `\/live\/stream1` : `\/live\/stream2`;\n    }<\/p>\n<p>    const url = `rtsp:\/\/${auth}${ip}:${port}${path}`;\n    document.getElementById('rtsp-out-url').value = url;<\/p>\n<p>    const yaml = `cameras:\n  camera_${chan}:\n    ffmpeg:\n      inputs:\n        - path: ${url}\n          roles:\n            - ${profile === 'main' ? 'record' : 'detect'}\n    detect:\n      width: ${profile === 'main' ? '1920' : '1280'}\n      height: ${profile === 'main' ? '1080' : '720'}\n      fps: 5`;\n    document.getElementById('rtsp-out-yaml').value = yaml;\n}<\/p>\n<p>document.querySelectorAll('#rtsp-tool-wrapper input, #rtsp-tool-wrapper select').forEach(el => {\n    el.addEventListener('input', buildRtsp);\n});\nbuildRtsp();<\/p>\n<p>function copyRtspText(id, btn) {\n    const field = document.getElementById(id);\n    navigator.clipboard.writeText(field.value).then(() => {\n        const oldText = btn.innerText;\n        btn.innerText = 'Copied!';\n        btn.style.color = '#38bdf8';\n        setTimeout(() => btn.innerText = oldText, 1500);\n    });\n}\n<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Generate standard RTSP\/WebRTC stream URLs and Frigate NVR config blocks for Hikvision, Dahua, Reolink, Axis, and UniFi.<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":38,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"template-tool-base.php","meta":{"footnotes":""},"class_list":["post-500","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>RTSP Stream URL Builder &amp; Vendor Reference - Lukas Wojcik - Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.lukaswojcik.com\/blog\/en\/toolbox\/rtsp-stream-url-builder\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"RTSP Stream URL Builder &amp; Vendor Reference - Lukas Wojcik - Blog\" \/>\n<meta property=\"og:description\" content=\"Generate standard RTSP\/WebRTC stream URLs and Frigate NVR config blocks for Hikvision, Dahua, Reolink, Axis, and UniFi.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.lukaswojcik.com\/blog\/en\/toolbox\/rtsp-stream-url-builder\/\" \/>\n<meta property=\"og:site_name\" content=\"Lukas Wojcik - Blog\" \/>\n<meta property=\"article:modified_time\" content=\"2026-08-06T14:36:38+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/toolbox\\\/rtsp-stream-url-builder\\\/\",\"url\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/toolbox\\\/rtsp-stream-url-builder\\\/\",\"name\":\"RTSP Stream URL Builder & Vendor Reference - Lukas Wojcik - Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/#website\"},\"datePublished\":\"2026-08-06T13:31:26+00:00\",\"dateModified\":\"2026-08-06T14:36:38+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/toolbox\\\/rtsp-stream-url-builder\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/toolbox\\\/rtsp-stream-url-builder\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/toolbox\\\/rtsp-stream-url-builder\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Toolbox\",\"item\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/toolbox\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"RTSP Stream URL Builder &#038; Vendor Reference\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/\",\"name\":\"Lukas Wojcik - Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/#\\\/schema\\\/person\\\/895f7604f9b6b71aad9bba33af28d0f9\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/#\\\/schema\\\/person\\\/895f7604f9b6b71aad9bba33af28d0f9\",\"name\":\"luky\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/lw-x2.jpg\",\"url\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/lw-x2.jpg\",\"contentUrl\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/lw-x2.jpg\",\"width\":424,\"height\":636,\"caption\":\"luky\"},\"logo\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/lw-x2.jpg\"},\"sameAs\":[\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"RTSP Stream URL Builder & Vendor Reference - Lukas Wojcik - Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.lukaswojcik.com\/blog\/en\/toolbox\/rtsp-stream-url-builder\/","og_locale":"en_US","og_type":"article","og_title":"RTSP Stream URL Builder & Vendor Reference - Lukas Wojcik - Blog","og_description":"Generate standard RTSP\/WebRTC stream URLs and Frigate NVR config blocks for Hikvision, Dahua, Reolink, Axis, and UniFi.","og_url":"https:\/\/www.lukaswojcik.com\/blog\/en\/toolbox\/rtsp-stream-url-builder\/","og_site_name":"Lukas Wojcik - Blog","article_modified_time":"2026-08-06T14:36:38+00:00","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/toolbox\/rtsp-stream-url-builder\/","url":"https:\/\/www.lukaswojcik.com\/blog\/en\/toolbox\/rtsp-stream-url-builder\/","name":"RTSP Stream URL Builder & Vendor Reference - Lukas Wojcik - Blog","isPartOf":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/#website"},"datePublished":"2026-08-06T13:31:26+00:00","dateModified":"2026-08-06T14:36:38+00:00","breadcrumb":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/toolbox\/rtsp-stream-url-builder\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.lukaswojcik.com\/blog\/en\/toolbox\/rtsp-stream-url-builder\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/toolbox\/rtsp-stream-url-builder\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.lukaswojcik.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Toolbox","item":"https:\/\/www.lukaswojcik.com\/blog\/en\/toolbox\/"},{"@type":"ListItem","position":3,"name":"RTSP Stream URL Builder &#038; Vendor Reference"}]},{"@type":"WebSite","@id":"https:\/\/www.lukaswojcik.com\/blog\/#website","url":"https:\/\/www.lukaswojcik.com\/blog\/","name":"Lukas Wojcik - Blog","description":"","publisher":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/#\/schema\/person\/895f7604f9b6b71aad9bba33af28d0f9"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.lukaswojcik.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.lukaswojcik.com\/blog\/#\/schema\/person\/895f7604f9b6b71aad9bba33af28d0f9","name":"luky","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/07\/lw-x2.jpg","url":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/07\/lw-x2.jpg","contentUrl":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/07\/lw-x2.jpg","width":424,"height":636,"caption":"luky"},"logo":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/07\/lw-x2.jpg"},"sameAs":["https:\/\/www.lukaswojcik.com\/blog"]}]}},"_links":{"self":[{"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/pages\/500","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/comments?post=500"}],"version-history":[{"count":1,"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/pages\/500\/revisions"}],"predecessor-version":[{"id":8943,"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/pages\/500\/revisions\/8943"}],"up":[{"embeddable":true,"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/pages\/38"}],"wp:attachment":[{"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/media?parent=500"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}