Blue Iris URLs for external streams

You are right. Had an extra e in the URL. Can't believe I missed it. Cheers
Before I mentioned that, I tried the "e" in the last "mjpeg" at the end and it made no diff but caused the 404 if used in the first one....go figure.
 
Last edited:
I realize this is an old thread, but I have searched and can't find anything newer on this topic.

I am experiencing an issue getting the URL to work in Action Tiles. I am able to open the URL in chrome on my tablets (Amazon Fire HD 8, Nexus 7) and in Action Tiles via browser, but when I launch the AT Panel on my tablets I get a blank box with three dots at the top.

I am using the following URL: http:/BI_IP:port/mjpg/cam1/video.mjpg?user=userid:password=password

Any help would be appreciated.
 
@Wayneski ,
You have:
Code:
http:/BI_IP:port/mjpg/cam1/video.mjpg?user=userid:password=password

Try putting the "e" in your "video.mjpg", making it "video.mjpeg"
 
Hi guys, Ive been trying to work this out for awile and this discussion was very helpful.

Though i may be able to help others out to get the ULRS sorted with the attached speadsheet.

You still need to set BI acess and enter in your DNS or IP, port and camera short names but after that you should be able to cut and paste the link into Chrome or VLC player.
 

Attachments

  • Like
Reactions: giomania
Is the list of URLs posted near the beginning of this thread still correct for BI5?

What I would like to do is offer up a direct URL to the clip during an alert. i.e. when motion is triggered, an alert is sent out (I will be sending to Slack) and I would like to be able to send not only the alert image, but also a URL directly back to my BI5 web server so that if I am interested in the specifc clip, I can just click on the URL and watch the video.

I see that when I use the webserver and go to /cliplist.htm I get a webpage of various clips. Clicking on one of the clips starts video in a popup window with a URL like: http://<ip_addr>:81/clips/@313563 however, that isn't a filename, my guess is that it's just an identifier used in the database that maps to a specifc file on disk.

I guess I need to know two things: 1. during an alert, can I get the URL to access the video directly, and 2. can we access files directly? I did see mention of a http://<ip_addr>/clips/ URL to be able to access the clips, but that URL just spins for me. I should mention that I do have "allow directory listing" enabled.

UPDATE: I see that via MACROS I can obtain the name of the alert snapshot and the video clip file. From there I could put together a URL. However, I would need for the BI web server to be able to serve up files from the C:\Blue Iris\New folder IN ADDITION TO the UI3 web files location....anyone know if this is possible?
 
Last edited:
Is the list of URLs posted near the beginning of this thread still correct for BI5?

Updated list under BI5's built-in "Help" (the big ? up top) beginning on page 167 entitled "HTTP INTERFACE".
 
  • Like
Reactions: dolhop
Thanks. I saw that, but the closest thing is /file/clips/{filename}&mode=jpeg&speed=100 which will produce an M-JPEG stream. I just want it to serve up the video file straight from the disk. I'd like to avoid having to run an instance of nginx to do this....
 
UPDATE: I see that via MACROS I can obtain the name of the alert snapshot and the video clip file. From there I could put together a URL. However, I would need for the BI web server to be able to serve up files from the C:\Blue Iris\New folder IN ADDITION TO the UI3 web files location....anyone know if this is possible?

Yes, try right-clicking a clip in UI3 and mouse over the "Download" option to see the URL it creates. If you record H.264 format directly to MP4 files, you will be able to play the videos directly in a browser without any special effort just by loading that URL.
 
  • Like
Reactions: dolhop
Thanks. That URL seems to match what I initially found: http://<ip_addr>:81/clips/@313563 and the 313563 doesn't have any direct correlation to the filename that is available from the &FILE macro during the alert (which matches the filename on disk). I presume that's a DB identifier.
 
You are right, it is a db identifier. The way you access the actual file on disk is to append its file extension (as UI3 does when making the "Download" link!). If you use Blue Iris's JSON API, it gives you all you need.
 
  • Like
Reactions: dolhop
You are right, it is a db identifier. The way you access the actual file on disk is to append its file extension (as UI3 does when making the "Download" link!). If you use Blue Iris's JSON API, it gives you all you need.

Thanks. Though I cannot parse that fully: the UI3 URL has the DB ID a la http://<ip_addr>:81/clips/@313563. The filename on disk (in C:\BlueIris\New) and given in the &FILE macro during the alert is something like camname.20200227_123547.mp4. Ideally I'd like to be able to have http://<ip_addr>:81/clips/camname.20200227_123547.mp4 available to me via the webserver. OR have the DB ID available to me during the alert as a macro parameter.

As for the JSON API, I see I can request cliplist, but to have to call that during my alert script and iterate over the list of clips seems.....overly complicated for such a simple concept. Did I miss something in the JSON API?

I am a bit surprised this hasn't come up before (or maybe it has, but the search of this forum and the BI forum yielded little). Seems having the DB ID as a macro, and the ability to serve up video files directly would both be good feature additions to BI.

BTW, thanks so much for you assistance with this, I really appreciate it.
 
I think I understand what you are saying now. Forget what I said about using the JSON API.

I just tried, Blue Iris does serve from the "New" recording folder using e.g. http://<ip_addr>:81/clips/camname.20200227_123547.mp4 . Does it not for you?
 
  • Like
Reactions: dolhop
huh. it works, thanks. I was initially tripped up by this because I have "directory listing" enabled, and was expecting to be able to go to http://<ipaddr>/clips/ and see a listing of all clips. This doesn't work. the browser spins as though it's loading, but nothing ever loads. I must have been playing with various settings around this and couldn't get the direct clip URL working either. After resetting the settings, it works. Thanks again.

Any idea why the /clips/ URL doesn't offer a directory listing? Does it for you?
 
I noticed the same thing with directory listing. Seems broken. If you need it to work, you should tell Blue Iris Support.

(The last time I tested directory listing was years ago, but it worked then)
 
  • Like
Reactions: dolhop