Comments (5)
Hey @8v-piper, this may help your use case. I asked @Anonymousdog on a previous ticket if manual rotation was possible, and his solution was to run the command /usr/bin/displaycameras rotate
which would automatically switch the feeds. If you configure one of the feeds off-screen, this should work.
Then, if you configure your GPIO button to just issue that command, it should rotate the feed for you.
Hope that helps!
Ted
from displaycameras.
HI @tedtms
Thanks will give it a try i have read up on that ticket and will configure it to send command when it goes high and another one when it goes low again to restore the previous view.
Thanks will update tomorrow after I have tested the solution.
from displaycameras.
Good Day @tedtms
I have tried your solution and it does work to rotate.
Unfortunately there is a but, when I rotate the screen it brings the camera it should rotate to in full screen and displays it in the 2x2 matrix.
Then every time you do the command again it just moves it through to another position in the 2x2 matrix until its off screen again.
here is my layout config file settings
Window names
2x2 screen with 1 off-screen windows
windows=(upper_left upper_right lower_left lower_right off_screen)
Make sure to account for each window above in the list below.
Windows positions
window_positions=(
#First Row
#upper_left
512x384
"0 0 511 383"
#upper_right
512x384
"512 0 1023 383" \
#Second Row (missing all but the far right window because large_left is double size
#lower_left
512x384
"0 384 511 767"
#lower_right
512x384
"512 384 1023 767" \
#off-screen
Full Screen
"1024 0 2047 767"
)
Camera Names
camera_names=(NE SE South SW West)
Make sure to account for each camera above in the list of feeds below.
Camera Feeds
camera_feeds=( \
Mid-Res if your RPi can handle the load
"rtsp://xxx.xxx.xxx.xxx/yyyyy_1" \
Low-Res otherwise
"rtsp://xxx.xxx.xxx.xxx/yyyyy_2" \
#NE
"rtsp://10.0.0.3/axis-media/media.amp?videocodec=h264&resolution=800x600&fps=25&videokeyframeinterval=25&compression=30"
#SE
"rtsp://10.0.0.5/axis-media/media.amp?videocodec=h264&resolution=800x600&fps=25&videokeyframeinterval=25&compression=30"
#South
"rtsp://10.0.0.2/axis-media/media.amp?videocodec=h264&resolution=800x600&fps=25&videokeyframeinterval=25&compression=30"
#SW
"rtsp://10.0.0.7/axis-media/media.amp?videocodec=h264&resolution=800x600&fps=25&videokeyframeinterval=25&compression=30"
#West
"rtsp://10.0.0.5/axis-media/media.amp?videocodec=h264&resolution=800x600&fps=25&videokeyframeinterval=25&compression=30"
#Vestibule
)
Are we rotating cameras through the window matrix? (default false if not set here)
rotate="false"
Am I doing something obviously wrong?
any help is appreciated
from displaycameras.
from displaycameras.
Thank you appreciated I am checking out RpiSurv now.
from displaycameras.
Related Issues (20)
- Flickering HOT 1
- any option to blank screen at night and rewake in the morning HOT 4
- Wont feed on boot HOT 8
- 14 Camera setup Cameras showing in the past HOT 3
- Displaycamera does not work after fresh installation HOT 4
- displaycameras not working after upgrading to bullseye HOT 3
- Service saying that its playing stream but nothing showing HOT 3
- Flicking Screen HOT 3
- Error while loading HOT 5
- Can I access displaycamera output via my network? HOT 1
- Screen is flickering when adding a 5th camera to off screen HOT 2
- Audio from one. camera
- displaycameras service not starting HOT 3
- Camera feed appears zoomed in
- Camera not display video HOT 6
- Cameras Wont playback HOT 6
- Does the layout example file need to be moved to main folder?
- Stuck HOT 1
- audio
- *SOLVED* - rtsp streams not displaying
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from displaycameras.