Standalone Java app for dedicated live view with Instant Replay

bp2008

Staff member
Joined
Mar 10, 2014
Messages
12,666
Reaction score
14,005
Location
USA
Since I'm not accessing opengl directly (doing it through a game engine) I don't have much control over the opengl version, or really any idea why a Java update alone would have broken it. I did a little googling and found no indication of a problem with Java 8u131 and this game engine.
 

scuzzie2k

n3wb
Joined
Jun 20, 2015
Messages
25
Reaction score
5
All of a sudden mine has stopped working on my Windows 10 PC :( I get this in the error log .

2017/05/19 10:19:01 An exception has occurred in class org.brian.blueirisviewer.images.Images$1:
Exception message was null
Unexpected character (x) at position 0.
at org.json.simple.parser.Yylex.yylex(Yylex.java:610)
at org.json.simple.parser.JSONParser.nextToken(JSONParser.java:269)
at org.json.simple.parser.JSONParser.parse(JSONParser.java:118)
at org.json.simple.parser.JSONParser.parse(JSONParser.java:81)
at org.json.simple.parser.JSONParser.parse(JSONParser.java:75)
at org.brian.blueirisviewer.images.Images$1.run(Images.java:160)
at java.lang.Thread.run(Unknown Source)

Really like this program and now its broke.
 

bp2008

Staff member
Joined
Mar 10, 2014
Messages
12,666
Reaction score
14,005
Location
USA
Blue Iris version 4.5.6.0 / 4.5.6.1 has a broken web server. If you have automatic updates turned on in Blue Iris, I suggest you turn it off so that new bugs don't take you completely by surprise.

You can downgrade to the last working version using a link I posted here:
4.5.6 - May 17, 2017
 

XOIIO

n3wb
Joined
Jun 14, 2017
Messages
24
Reaction score
1
Hey, loving this program, I was curious, is there any way to cycle cameras automatically. I've poked every button I can think of and can't find an option or key to enable this functionality.
 

bp2008

Staff member
Joined
Mar 10, 2014
Messages
12,666
Reaction score
14,005
Location
USA
Yeah, look up a couple of posts at the screenshot and make sure the "All cameras" group has the box checked for "Enable camera auto-cycle stream". Then you should see the All cameras cycle as an option in the dropdown at the top of UI2.
 

XOIIO

n3wb
Joined
Jun 14, 2017
Messages
24
Reaction score
1
Ah, you made ui2 as well? I'm talking just about the java app, as I'm looking to run a modified netbook to monitor the cameras, so I figured using the java app instead of the web page would provide less screen clutter.
 

bp2008

Staff member
Joined
Mar 10, 2014
Messages
12,666
Reaction score
14,005
Location
USA
Oh, I'm sorry. Didn't pay enough attention to which thread this was.

The java app won't do an auto cycle. But UI2 will, and you can just full-screen the browser and drag the clip list closed (or press tilde key) to hide the rest of the UI. Then you have the full screen space dedicated to the video.
 

XOIIO

n3wb
Joined
Jun 14, 2017
Messages
24
Reaction score
1
Ah, alright, good to know, I'll have to see how this netbook handles the task.
 

yeahman

Getting the hang of it
Joined
Nov 8, 2016
Messages
122
Reaction score
5
has someone been able to run it on linux? When i open it.. i get a window for a 1s and then it disappear and nothing...
 

CrazyFin

n3wb
Joined
Jul 14, 2015
Messages
23
Reaction score
5
I really enjoy this cool BlueIrisViewer Java app!

I have my Blue Iris server running on dedicated hardware and that PC is connected to the same screen as my normal PC and the screen is a BENQ BL3200PT with 2560x1600 resolution. I have 4 different computers connected to this awesome screen and I use Synergy app as a software keyboard/mouse switcher.

I normally do not switch over to the surveillance server so I use the BlueIris Java app as a monitoring tool and keep it as a very small window on my desktop showing all my 6 HD cameras (5 x AXIS P3346-VE and 1 x Vivotek FD9381-EHTV [AWESOME camera!]).

However, when I try to minimize the window and toggle to borderless window I am not able to press close with the mouse since the window is now small and the menu page for these settings is bigger than the window. And since it is not possible to either move with tab to the close button or to press something like ENTER or CTRL+ENTER to confirm settings and save I am not able to switch to borderless window and save it when the window is small.

It would be nice to have a shortcut where I can switch back and forth between borderless window and normal window using a shortcut without having to open up the menu. Another solution would be that the menu window for settings does extend beyond the size of the camera window.
 

CrazyFin

n3wb
Joined
Jul 14, 2015
Messages
23
Reaction score
5
Would it be difficult to change the program so that it does not go into the camera zoom view for the camera being clicked on when BlueIrisViewer window is NOT the current active window?
I.e. what I am trying to say is that if BlueIrisViewer is not the current active window and I click on any of the camera views in BlueirisViewer it should NOT zoom into to that camera but rather just make the BlueIrisViewer window to become the active window.
 

bp2008

Staff member
Joined
Mar 10, 2014
Messages
12,666
Reaction score
14,005
Location
USA
I'm sure it is possible, but not something I could just do in five minutes since the app is not at all aware of whether it is focused or not. I don't really run the app myself on non-dedicated displays so this change wouldn't serve any purpose for me. I'm just not interested in digging into that right now :)
 

gth

Young grasshopper
Joined
Dec 11, 2014
Messages
47
Reaction score
3
I was pondering something slightly similar to CrazyFin, but probably just as low a priority -- for the app to go very low CPU/fps activity when minimised. Similar to when lost focus, it would essentially give the BI server less load when it isn't actually showing content to the viewer.

Probably not the most common use case of the viewer software though (is there a hotkey to exit the app?).
 
Joined
Mar 14, 2017
Messages
26
Reaction score
4
Hello all,

I downloaded this file but it will not run for me. When I doubleclick on it nothing happens.
I attempted to start it from CMD line and this is the output I got.

PS C:\Program Files (x86)\BlueIrisViewer.2.7.1> java -jar BlueIrisViewer.jar
Exception in thread "LWJGL Application" com.badlogic.gdx.utils.GdxRuntimeException: OpenGL is not supported by the video
driver.
at com.badlogic.gdx.backends.lwjgl.LwjglGraphics.createDisplayPixelFormat(LwjglGraphics.java:228)
at com.badlogic.gdx.backends.lwjgl.LwjglGraphics.setupDisplay(LwjglGraphics.java:165)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:131)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:114)
Caused by: org.lwjgl.LWJGLException: Pixel format not accelerated
at org.lwjgl.opengl.WindowsPeerInfo.nChoosePixelFormat(Native Method)
at org.lwjgl.opengl.WindowsPeerInfo.choosePixelFormat(WindowsPeerInfo.java:52)
at org.lwjgl.opengl.WindowsDisplay.createWindow(WindowsDisplay.java:252)
at org.lwjgl.opengl.Display.createWindow(Display.java:306)
at org.lwjgl.opengl.Display.create(Display.java:848)
at org.lwjgl.opengl.Display.create(Display.java:757)
at com.badlogic.gdx.backends.lwjgl.LwjglGraphics.createDisplayPixelFormat(LwjglGraphics.java:212)
... 3 more

Currently running Java ver 8U144 I even removed java deleted the sun folder in locallow reinstalled Java and still nothing.

I looked at my video driver and I do not see anything about OpenGL.
 
Top