Hello, I have finally gotten this working and implemented the stream on another page using img src = "xxx.xxx.net:xxx/?action=stream". It shows the video just as well as the web page generated by the program. I'm wondering if anyone knows an easy way to rotate it? I see on the main stream page there are buttons to do so but they call advanced scripts that I don't understand.
Any help would be greatly appreciated. Thanks!
vulture2600:
Hello, I have finally gotten this working and implemented the stream on another page using img src = "xxx.xxx.net:xxx/?action=stream".
...
Did you mean:
http://forum.arduino.cc/index.php?topic=316919.msg2194021#msg2194021
If so you need close that thread.
vulture2600:
Hello, I have finally gotten this working and implemented the stream on another page using img src = "xxx.xxx.net:xxx/?action=stream". It shows the video just as well as the web page generated by the program. I'm wondering if anyone knows an easy way to rotate it? I see on the main stream page there are buttons to do so but they call advanced scripts that I don't understand.
...
http://forum.arduino.cc/index.php?topic=188690.msg2186661#msg2186661
nano /www/webcam/stream.html
change string "/?action=stream" to "http://192.168.0.102:8080/?action=stream" (2 instances)
Open http://192.168.0.102/webcam/stream.html to view.
Thank you again, Sonnyyu or your prompt replies. I never got my other question figured out on how to save parameters. At this point I'm just glad it works at all. I can close it if you think I should.
I found some code online and got it to rotate 90 degrees so I'll close this thread. Thanks!!
vulture2600:
Thank you again, Sonnyyu or your prompt replies. I never got my other question figured out on how to save parameters. At this point I'm just glad it works at all. I can close it if you think I should.I found some code online and got it to rotate 90 degrees so I'll close this thread. Thanks!!
You might share with us url of code as well as how did you gotten this working. It is really for every one benefit.
Good point!
put this in the head of the web page:
<style type = "text/css">
img {
float: down;
margin: 20px;
}
.pics {
clear: both;
}
/*rotate 90 degrees*/
#rotate90 {
/*General*/
transform: rotate(90deg);
/*Firefox*/
-moz-transform: rotate(90deg);
/*Microsoft Internet Explorer*/
-ms-transform: rotate(90deg);
/*Chrome, Safari*/
-webkit-transform: rotate(90deg);
/*Opera*/
-o-transform: rotate(90deg);
/*alter opacity*/
//opacity:0.4;
//filter:alpha(opacity = 40);
}
</style>
Then in the body section:
<img src = "stream location/?action=stream" id = "rotate90">