Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
blocks:live-video [2020-03-28 16:24] admin Added koloview ill |
blocks:live-video [2025-07-17 09:33] (current) fredrik [Local Video In] |
||
---|---|---|---|
Line 13: | Line 13: | ||
- RTSP stream. Compatible with most players. Supports audio. Low delay. Supported by most video cameras and streaming boxes. | - RTSP stream. Compatible with most players. Supports audio. Low delay. Supported by most video cameras and streaming boxes. | ||
+ | - RTMP stream. Compatible with most players. Supports audio. Supported by most streaming programs and many streaming devices. | ||
- Local Video In. Compatible with Pixilab player v4.0. Supports audio. Very low latency. Suitable for live camera feeds. | - Local Video In. Compatible with Pixilab player v4.0. Supports audio. Very low latency. Suitable for live camera feeds. | ||
- HLS stream: Compatible with most players. Supports audio. Delay is several seconds. Supported by some streaming boxes and services. | - HLS stream: Compatible with most players. Supports audio. Delay is several seconds. Supported by some streaming boxes and services. | ||
Line 33: | Line 34: | ||
To minimize latency, chose a small custom GOP size (for example 5 frames), or a single frame only (only I-frames). When choosing a smaller GOP structure, the bitrate may need to be increased to maintain video quality. However, keep in mind that a higher bitrate puts more load onto the Blocks server, as it re-packages and distributes the stream, as well as on the network for distributing it. This is especially true when using numerous players simultaneously. | To minimize latency, chose a small custom GOP size (for example 5 frames), or a single frame only (only I-frames). When choosing a smaller GOP structure, the bitrate may need to be increased to maintain video quality. However, keep in mind that a higher bitrate puts more load onto the Blocks server, as it re-packages and distributes the stream, as well as on the network for distributing it. This is especially true when using numerous players simultaneously. | ||
+ | ==== RTMP Stream ==== | ||
+ | |||
+ | RTMP, while similar in some ways to RTSP, works with other types of devices and programs such as [[https:// | ||
+ | |||
+ | One notable caveat with RTMP, that makes it different from the other streaming formats supported by Blocks is the way the connection is made between the RTMP source and Blocks. RTMP expects the external device to make the connection to Blocks, and " | ||
+ | |||
+ | This difference means that some streaming sources may have trouble connecting to Blocks unless Blocks is already expecting the stream, as Blocks won't " | ||
+ | |||
+ | Thus, to use a streaming source that expects the server to listen before it will try to connect, do one of the following: | ||
+ | |||
+ | * Wait with starting the streaming source until you know there' | ||
+ | * Keep an extra " | ||
+ | |||
+ | The second of these options essentially makes sure that Blocks is always actively listening for the stream, even if no other spot is yet showing it. | ||
+ | |||
+ | Finally, due to the direction the stream is flowing in, you need to set up the stream URL at the streaming //source//, pointing it to the Blocks server using its address. Thus, if Blocks runs on 10.2.0.10, your would use a stream URL like this on the streaming source: | ||
+ | |||
+ | < | ||
+ | rtmp:// | ||
+ | </ | ||
+ | |||
+ | In Blocks, you can typically leave this set to the default URL, which means that the Blocks server will listen for this stream on all its network interfaces (if it has more than one). The default URL is | ||
+ | |||
+ | < | ||
+ | |||
+ | To use multiple RTMP streams at the same time, add a port number after the IP address, separated by a colon. The default port number used by RTMP is 1935. | ||
==== Local Video In ==== | ==== Local Video In ==== | ||
Line 42: | Line 69: | ||
The following adapters hage been used successfully. | The following adapters hage been used successfully. | ||
- | * Inogeni | + | * Epiphan AV.io 4K HDMI to USB 3 |
- | * Magwell USB Capture HDMI Gen 2 | + | * Magwell USB Capture HDMI 3 |
+ | * Inogeni 4K HDMI to USB 3 | ||
==== HLS Stream ==== | ==== HLS Stream ==== | ||
Line 97: | Line 124: | ||
* **HLS** news feed http:// | * **HLS** news feed http:// | ||
- | * **HLS** on-demand stream http://184.72.239.149/vod/ | + | * **HLS** on-demand stream http://qthttp.apple.com.edgesuite.net/1010qwoeiuryfg/sl.m3u8 |
* **MJPEG** public webcam http:// | * **MJPEG** public webcam http:// | ||
* **Polling JPEG** public webcam http:// | * **Polling JPEG** public webcam http:// | ||
+ | |||
+ | (Please note this is 3rd party links and may well come and go or even being removed permanently) | ||
Some public cameras using the " | Some public cameras using the " |