Open nschertz opened 3 years ago
Update. I noticed the ownership of the copied multiview file was not set to www-data, so I used chown to change both the owner and group to www-data. Still no luck. I even reduced the number of hosts to 1 in the new multiview.json file to see if I could get multiview.html to work with only one camera. No Luck. when I simply type in CameraIP/html, camera feed worked as expected.
I suspect the issue is with the json config file.
This defines the host url. The example given is for the case where no subfolder is used, e.g. the server files are at /var/www If a subfolder is used then it should be included in the host definition (see wiki).
As you are using the html subfolder then the hosts in the json file should be http://ip/html/
If that does not fix the problem then please zip your multiview.html and multiview.json file and attach here.
Robert - Thank you so much!! That fixed the issue. Knew it had to be something simple..
Now that I have it working, I noticed a specific setting I changed in "system" (Style = night) for the individual camera did not prevail in multiview. Is this also true for camera settings? Understand, from the wiki, that multiview only has the ability to display (i.e. all other functionality and setting change options aren't present). It would be nice if one could toggle between being able to change settings (advanced mode) and merely display ( normal mode ) for each camera in multiview. I know.. pretty complex. At the very least, it would be good if camera settings are preserved for each camera when displaying in multimode. Are you still actively adding new features in this project? I have been in a fairly extensive search over the past year for a good Rpi live streamer. Experimented with motion, motioneyeOS, raspvid... long list. Your approach is the only one I've found that has low latency on a Pi zero W. Thanks very much for bringing this about.
I'm a model railroader who will be using this software with two tunnel cams that will monitor trains in the two 6 ft tunnels I have on my layout. I have, more than once crashed into a train derailed in the tunnels.implimenting tunnel cams will fix this.
Thanks again for the help!! Norb
On Monday, September 27, 2021, 05:10:04 AM EDT, roberttidey ***@***.***> wrote:
I suspect the issue is with the json config file.
This defines the host url. The example given is for the case where no subfolder is used, e.g. the server files are at /var/www If a subfolder is used then it should be included in the host definition (see wiki).
As you are using the html subfolder then the hosts in the json file should be http://ip/html/
If that does not fix the problem then please zip your multiview.html and multiview.json file and attach here.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
One way to expand the multiview is to add url to each image area that takes it through to the camera settings for that camera when you click on the image area. You can then make any changes you want and return back to multiview using the back button on the browser. The camera settings should be preserved.
The easy manual way to do this is to enclose each tag inside a tag with a href property pointing directly at the url for that camera.
So
The more advanced option to achieve the same thing is to modify multivew.php with an extra parameter so that the href in the tags becomes generic and the host reference is applied at the mutlivew.php end using the data from the json file.
Styling isn't supported in multiview as I thought the screen would be pretty much fully occupied wit the images. You can add styling to it by including a css section in multiview.html to do things like setting the overall background colour to black.
I do occasionally add extra features in when somebody makes a request that seems generally useful and I can implement it in a way that doesn't break backwards compatibility.
Thanks for the ideas. I may experiment with these when I get a chance. The multiview now works great for my model train tunnel cams. Thanks again for the assistanceNorbSent from my Galaxy -------- Original message --------From: roberttidey @.> Date: 9/28/21 7:22 AM (GMT-05:00) To: silvanmelchior/RPi_Cam_Web_Interface @.> Cc: nschertz @.>, Author @.> Subject: Re: [silvanmelchior/RPi_Cam_Web_Interface] Multiview not working for me (#636) One way to expand the multiview is to add url to each image area that takes it through to the camera settings for that camera when you click on the image area. You can then make any changes you want and return back to multiview using the back button on the browser. The camera settings should be preserved. The easy manual way to do this is to enclose each tag inside a tag with a href property pointing directly at the url for that camera. So
becomes
The more advanced option to achieve the same thing is to modify multivew.php with an extra parameter so that the href in the tags becomes generic and the host reference is applied at the mutlivew.php end using the data from the json file. Styling isn't supported in multiview as I thought the screen would be pretty much fully occupied wit the images. You can add styling to it by including a css section in multiview.html to do things like setting the overall background colour to black. I do occasionally add extra features in when somebody makes a request that seems generally useful and I can implement it in a way that doesn't break backwards compatibility.
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android.
OK.
I have now actually added the click through camera settings functionality to the multiview.html and multiview.php in the latest version.
Is this available on the git hub site ?Sent from my Galaxy -------- Original message --------From: roberttidey @.> Date: 9/28/21 6:01 PM (GMT-05:00) To: silvanmelchior/RPi_Cam_Web_Interface @.> Cc: nschertz @.>, Author @.> Subject: Re: [silvanmelchior/RPi_Cam_Web_Interface] Multiview not working for me (#636) OK. I have now actually added the click through camera settings functionality to the multiview.html and multiview.php in the latest version.
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android.
Yes.
Hi Robert - I tried your new version with no success. Multi-view displays as it is supposed to, but when I click or double click on the image nothing happens. I reviewed your changes to README.md, config.php, multiview.html and multiview.php, but don't see why it doesn't work. Thoughts? Thanks Norb
On Tuesday, September 28, 2021, 06:01:05 PM EDT, roberttidey ***@***.***> wrote:
OK.
I have now actually added the click through camera settings functionality to the multiview.html and multiview.php in the latest version.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
| | Virus-free. www.avast.com |
Does the mouse pointer change when you hover over a screen in multiview? That would indicate it is a hot link.
If that is OK then it is probably something to do with the links themselves. I normally run with no subfolder on my servers whereas the default is html subfolder. It might be something to do with that.
If you use developer tools in the browser (F12) then you can see the actions on the network tab. Clicking on a screen should send a request to multiview.php with the host number. This should then be followed by a request directly to the server hosting that screen.
Solved. I rebooted the Pi by shutting down and cycling power instead of using the system reboot button in the system menu. Now the cursor changes and the screen changes to the configuration mode when clicked. When I get some time, I am going to experiment with making it so one can go back and forth between multiview and single view config mode. I'd like to be able to launch multiview, click on a camera to change a given camera's settings, then return to multiview with another click (normal operating mode for me). Thanks for the help. Norb
On Monday, October 25, 2021, 04:21:55 AM EDT, roberttidey ***@***.***> wrote:
Does the mouse pointer change when you hover over a screen in multiview? That would indicate it is a hot link.
If that is OK then it is probably something to do with the links themselves. I normally run with no subfolder on my servers whereas the default is html subfolder. It might be something to do with that.
If you use developer tools in the browser (F12) then you can see the actions on the network tab. Clicking on a screen should send a request to multiview.php with the host number. This should then be followed by a request directly to the server hosting that screen.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
Back button on browser will take you from click through single view back to multiview
Got it thanks.Sent from my Galaxy -------- Original message --------From: roberttidey @.> Date: 10/28/21 8:15 AM (GMT-05:00) To: silvanmelchior/RPi_Cam_Web_Interface @.> Cc: nschertz @.>, Author @.> Subject: Re: [silvanmelchior/RPi_Cam_Web_Interface] Multiview not working for me (#636) Back button on browser will take you from click through single view back to multiview
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android.
Hello -
I have the RasPi setup and working for a single feed, but tried to use multiview.html without success. In /var/www/html/ , I copied the multiview.jsonD to multiview.json. I then changed the IPs in multiview.json for each source to the IP for the working camera. I attempted to access multiview.html using CameraIP/html/multiview.html substituting the actual camera IP for CameraIP. I don't get the 4 feeds expected. In fact, I don't get any feeds. If I revert back to the single feed all is well. Thoughts?
Thx Norb