Raspbery Pi2 Camera Monitor w/Rpisurv

Hi Nayr,
tell me, how I can help, maybe per PM.
Are you planning multilanguage? I could do translation in German.
Yours
cball
 
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

  • Screen Shot 2016-03-14 at 3.32.57 PM.png
    Screen Shot 2016-03-14 at 3.32.57 PM.png
    12.9 KB · Views: 38
Last edited by a moderator:
I will gladly make the vector art needed for this project


Sent from my iPhone using Tapatalk
 
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.
 
  • Like
Reactions: kozmo2k
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
 
try sudo ./server.js
 
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
 
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.
 
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
 
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
 
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?
 
apparently thats the resolution its coming up as, you might have to hard set it in the /boot/config.txt

might try hdmi_mode=16, thats 1080p @ 60Hz as per: http://elinux.org/RPiconfig
 
whats the monitor's model?
 
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:
  • Like
Reactions: kozmo2k
The tearing is most probably caused by omxplayer. Did the patch that nayr provided for omxplayer gave any results?
 
  • Like
Reactions: kozmo2k