Raspbery Pi2 Camera Monitor w/Rpisurv

cball

Young grasshopper
Joined
Jan 31, 2016
Messages
98
Reaction score
18
Location
North Germany
Hi Nayr,
tell me, how I can help, maybe per PM.
Are you planning multilanguage? I could do translation in German.
Yours
cball
 

nayr

IPCT Contributor
Joined
Jul 16, 2014
Messages
9,329
Reaction score
5,325
Location
Denver, CO
I'll fire up a thread when I am ready, I had not planned on doing multilanguage.. there is not much language to it at all, just name/host/username/password/feed/jpeg/save/delete.. the rest are just icons or numbers at this point.

I'll look into making it multilingual, would probably be pretty easy.. I'll let you kno when I got the base files laid out and you can just run it through a bunch of translators for me and then sumbit it to the repo.

The only other thing I'd like to do is icons for each number of cameras, right now I am using 1,4,9 from bootstrap's glyphicon set: http://getbootstrap.com/components/ (glyphicon glyphicon-th-large) but Id rather have custom made icons for all 12 views in like an svg format that would be easy to edit to add more views later on.. if anyone here wants to make some icons that would be sweet, otherwise its just going to be numbers for now.

Edit: Registered a domain for this project: http://raspipc.tv
 

Attachments

Last edited by a moderator:

ruppmeister

Getting the hang of it
Joined
Apr 15, 2015
Messages
668
Reaction score
98
I will gladly make the vector art needed for this project


Sent from my iPhone using Tapatalk
 

nayr

IPCT Contributor
Joined
Jul 16, 2014
Messages
9,329
Reaction score
5,325
Location
Denver, CO
sweet, I'll get a demo UI online and then see all the grid configurations for each camera.. most of them are pretty simple and work off grids either 3 wide or 4 so just keep em square

man refactoring code is not much fun, take all this code that was so hard to get working.... then break it again.. but I hate releasing code that looks bad and is hard to understand.. I also am not going to much more progress until I get things simpler to work with.. prototyping can get ugly.
 

kozmo2k

Pulling my weight
Joined
May 1, 2014
Messages
81
Reaction score
129
Location
Sunshine State
Hello
Thank you for this great project for the Rpi2!
However, I'm getting an error, at the end, when I run "./server.js"

Code:
pi@raspberrypi:/ipc-pi $ ./server.js
resolution: 1824x984

omxplayer --lavfdopts probesize:25000 --no-keys -p --live --timeout 30 --aspect-mode fill --layer 2 --win "0 0 1824 642" "rtsp://user:pswd@192.168.10.134:554/Streaming/Channels/1"
omxplayer --lavfdopts probesize:25000 --no-keys -p --live --timeout 30 --aspect-mode fill --layer 2 --win "0 642 608 984" "rtsp://user:pswd@192.168.10.137:554/Streaming/Channels/1"
omxplayer --lavfdopts probesize:25000 --no-keys -p --live --timeout 30 --aspect-mode fill --layer 2 --win "608 642 1216 984" "rtsp://user:pswd@192.168.10.135:554/Streaming/Channels/1"
omxplayer --lavfdopts probesize:25000 --no-keys -p --live --timeout 30 --aspect-mode fill --layer 2 --win "1216 642 1824 984" "rtsp://user:pswd@192.168.10.136:554/Streaming/Channels/1"
resolution:
Closed!
resolution:
Closed!
resolution:
Closed!
resolution:
Closed!
omxplayer --lavfdopts probesize:25000 --no-keys -p --live --timeout 30 --aspect-mode fill --layer 2 --win "1216 642 1824 984" "rtsp://user:pswd@192.168.10.136:554/Streaming/Channels/1"
resolution:
Closed!
omxplayer --lavfdopts probesize:25000 --no-keys -p --live --timeout 30 --aspect-mode fill --layer 2 --win "1216 642 1824 984" "rtsp://user:pswd@192.168.10.136:554/Streaming/Channels/1"
resolution:
Closed!
I'm thinking is a resolution issue, but do no see an option to correct it. My monitor is 1920x1080; i ran the Pi setup on Windooze with putty (I know, I know... Would've been better off through a real Linux console, but this laptop was handy...)
All my (Hikvision) cameras streams are good, when I play them one by one through omxplayer.
Thanks
 

TechBill

Known around here
Joined
Nov 1, 2014
Messages
1,770
Reaction score
1,175
Would this also work on a Pi3? Are we building the package on the pi firs time or it is pre-build for pi2 only?

Thank you
Bill
 

nayr

IPCT Contributor
Joined
Jul 16, 2014
Messages
9,329
Reaction score
5,325
Location
Denver, CO
this particular script would run fine on a pi3, but I've kinda abandoned it to work on raspIPC.tv.. I kept it it because it was so beautifully simple and does work well.. i might come back to it and clean it up a bit or add d-bus support from raspIPC to it.

its JavaScript so its not prebuilt binaries, like the other project.. I fell a bit behind schedule this weekend, basketball and all that stuff.. I grew up in Kansas so March Madness is my Chinese New Year :p

I should have raspIPC working here soon.. its so f'n close to release I just have to get a few things working right and have a few people test it.. basically everything I wanted in it is implemented right now.
 

TechBill

Known around here
Joined
Nov 1, 2014
Messages
1,770
Reaction score
1,175
this particular script would run fine on a pi3, but I've kinda abandoned it to work on raspIPC.tv.. I kept it it because it was so beautifully simple and does work well.. i might come back to it and clean it up a bit or add d-bus support from raspIPC to it.

its JavaScript so its not prebuilt binaries, like the other project.. I fell a bit behind schedule this weekend, basketball and all that stuff.. I grew up in Kansas so March Madness is my Chinese New Year :p

I should have raspIPC working here soon.. its so f'n close to release I just have to get a few things working right and have a few people test it.. basically everything I wanted in it is implemented right now.

Cool I was born and grew up in Kansas too. I was born in Salina, KS and grew up and went to school in Topeka, KS. My families are mostly from Salina and Stockton Kansas. We are a huge family, my grandparent had 11 children.

Bill
 

nayr

IPCT Contributor
Joined
Jul 16, 2014
Messages
9,329
Reaction score
5,325
Location
Denver, CO
if you run fbset -s what does it output? you might try sudo su - and then cd ~pi/ipc-pi;./server.js

root@node1:~/ipc-pi/lib# fbset -s

mode "1680x1050"
geometry 1680 1050 1680 1050 16
timings 0 0 0 0 0 0 0
rgba 5/11,6/5,5/0,0/16
endmode
 

kozmo2k

Pulling my weight
Joined
May 1, 2014
Messages
81
Reaction score
129
Location
Sunshine State
if you run fbset -s what does it output? you might try sudo su - and then cd ~pi/ipc-pi;./server.js
Output:
Code:
pi@raspberrypi:~ $ sudo fbset -s

mode "1824x984"
    geometry 1824 984 1824 984 16
    timings 0 0 0 0 0 0 0
    rgba 5/11,6/5,5/0,0/16
endmode
I should have "mode "1920x1080" for my monitor, correct?
 

ruppmeister

Getting the hang of it
Joined
Apr 15, 2015
Messages
668
Reaction score
98
I had this working with my 2032 for a short period until the tearing was too much I guess for the pi and it would go to a white screen until I reboot the pi. Waiting for the RasPipC project is done by @nayr


Sent from my iPhone using Tapatalk
 
Last edited by a moderator:

SvenVD

Getting the hang of it
Joined
Mar 5, 2016
Messages
61
Reaction score
31
The tearing is most probably caused by omxplayer. Did the patch that nayr provided for omxplayer gave any results?
 
Top