I know this topic is not new. I've seen and read some of the articles and resources discussing and even have the demo on how to stream the Kinect data to web browser.
I have an application written in VB.NET and I wanted to ONLY stream the RGB to the web browser. I couldn't find a detailed explanation on how I should modify the codes or how to use the plug-in provided step by step.
I have found the source code for streaming skeleton data to web browser and it's working, but now I want to stream the RGB data. I have seen a lot of website talking about node.js and web socket. But the question is how to use them? anybody please answer~ Thanks!
Related
Is there a "Getting Started" tutorial for connecting an Excel workbook to a REST API using OfficeScript?
For querying / updating.
I can connect Excel on Windows to an Azure SQL Server via ADO and VBA. I realise that (these days) we should connect via an API, and with OfficeScript we should (?) be able to do this from any Excel (Windows, web) with OfficeScript. But I can't find any resources on this.
I'm not looking for direction on how to set up the API at this stage.
Thanks.
Unfortunately, Office Scripts does not currently support importing other JavaScript libraries. It would be nice, but no. I found this while searching for similar functionality.
Please see here on MSDN: https://learn.microsoft.com/en-us/office/dev/scripts/develop/javascript-objects#use-of-external-javascript-libraries-is-not-supported
EDIT:
Looks like there is some examples of getting data from a REST API after all. Check out this older link here: https://learn.microsoft.com/en-us/office/dev/scripts/develop/external-calls#working-with-fetch
It's known that by simply retrieving a Google API key that one can download any file (of any size) directly (and even embed a video to a website etc...), the problem is: when using the standard Google API URL in the form:
https://www.googleapis.com/drive/v3/files/### fileId ###?alt=media&key=### API key ### inserting the file ID and API key in place.
This works if I want to embed, lets say, a video already in .mp4 format, but lets say if I want to embed a .mpg video to an HTMLwebsite: by default, the .mpg format is not embeddable, but its known that Google Drive automatically converts all of its video files into various formats that cna be played in the browser, so:
How can I access the different video formats of a video in Google Drive? Preferably, I'm looking for a programmatic way to get it (like Node.js or PHP).
You need to integrate your Google Drive with Cloud Convert (this is a manual job)
https://zapier.com/apps/cloudconvert/integrations/google-drive
OR
You can make use of Integromat to do it for you (it comes with various automation scripts)
https://www.integromat.com/en/integrations/cloudconvert/google-drive
Once done - you can consume Cloud Convert's APIs using nodejs, php, python, angular etc.
https://cloudconvert.com/api/v1/
(The free plan supports max 1GB file conversion per session)
Most Important - The API has Google Cloud Integration
https://cloudconvert.com/api/v1/googlecloud
Converters:
Cloud Convert for php
https://github.com/cloudconvert/cloudconvert-php
Cloud Convert for nodejs
https://github.com/cloudconvert/cloudconvert-node
Hope that's a good starting point for you..
I think this is a classic x\y problem. https://meta.stackexchange.com/questions/66377/what-is-the-xy-problem You want access to auto converted, embeddable videos AND you want it using a specific tool -- but the tool isn't the right tool because it doesn't do that.
So, forget about the tool, and focus on the problem: there are two other Google services that auto convert video and allow embedding: YouTube, and Google photos.
Photos is interesting because if you can choose "high quality" or original storage, where high quality converts almost anything to an embeddable, web friendly format. YouTube, of course, also makes it easy to convert and embed.
On the photos side, downloading is natively available, and on the YouTube side, there are numerous sites that will provide a download link to your video in a variety of formats.
So, if you really don't want to use ffmpeg* or other standard conversion tools, I'd look into the APIs of the other two mentioned services.
*Unless you are doing a large volume of conversions, you could do this via a free tier node\firebase project.
I am able to use the Cytoscape.js library to display a network graph on my own web browser. I wrote a HTML file containing the JavaScript code that takes in the graph JSON and style JSON files from my laptop and calls cytoscape(). When I run my HTML code on my laptop, the network graph is displayed on my own web browser and I can play with the graph.
Now I need to run the HTML code on our Linux server and then send a web link to the user, so that the user can click on that web link to view the displayed network graph on their own web browser, and the user should also be able to move nodes & edges around just as I did on my own web browser.
I am not a web developer so I am missing some very basic knowledge. I think I probably need to link the HTML code to a web domain (deploying the HTML code on a hosting server with domain name). I was just wondering if you could offer me some advice on how to do this?
Another question (which is more important) is: Assume I am able to link the HTML code to a web domain. When the user clicks on the web link to view the displayed network graph on their own web browser, is the user still able to move nodes & edges around?
The graph JSON and style JSON files and some additional JavaScript code the HTML loads in reside on our server. I am not sure if there are any issues about this when the user accesses the web link?
Any advice would be greatly appreciated.
Thank you very much in advance!
The question is too broad. You'd be best off searching for some books to read regarding web dev.
You might find using Github pages a bit easier than managing your own server, but you really should do some reading either way.
Basic resources to get started
https://developer.mozilla.org/en-US/docs/Web/Guide/Introduction_to_Web_development
https://developer.mozilla.org/en-US/docs/Learn/Server-side/First_steps/Introduction
I am new to frontend/javascript development. Is there any simple solution to stream a HTML5 MediaDevice stream to flask? I have a simple flask server running, which does image processing via OpenCV and outputs the result as a jpeg stream.
Currently, I am using a USB camera as input device, but I want to use a web based solution. Overall, the input should be captured in the browser, send to the server for processing, and finally transferred back to the client.
https://www.kirupa.com/html5/accessing_your_webcam_in_html5.htm
well, this will give you a little idea how to proceed, I found your question while searching solution for myself.
further steps will include sending frames to the flask server -> processing image -> returning image -> displaying frames by javascript/HTML as shown in the above article.
hope this will help
Did anybody faced to problem when QuickTime cannot play streaming video and shows blue question mark instead or errors - 400 (Bad Request) and 10060 (Disconnected)? I have already tried to switch getting stream from UFP to HTTP protocol with custom port in QuickTime settings but this did not help.
And does anybody know where can i find streaming video using RTSP protocol just for testing, links to online streams (not downloaded trailers) are appreciating.
These links do not work for me due to issue mentioned above:
http://mac.sillydog.org/qt/mov/embed_stream.php
And here only last one works (among other streaming types) :
http://quicktime.tc.columbia.edu/users/iml/movies/mtest.html
Thanks, for any links and advices.
The best way I've found to get rtsp streams to play in a browser window is using Apple's own javascript. I've tried hard coding tags with exactly the same parameters, and the embed tags won't work, but the js will. The js file itself is called AC_Quicktime.js. Just google it and you should be able to find a link to it easily enough. Use the one from Apple's site to make sure that you're getting unmodified code. Load that in your HTML page, and in your body, insert this:
<script>
QT_WriteOBJECT(*url*,*width*,*height*,*ActiveX Version*,*parameter1*,*value1*,*parameter2*,*value2*,*parameter3*,*value3*);
</script>
This will draw the appropriate code in whatever container you place the script. ActiveX Version can be an empty string (''), and as many parameters as you like can be entered one after the other. Apple has fairly exhaustive documentation on their website for all their stuff.Apple Developer Connection.
Hope that was marginally helpful.
it appears that this was just a security issue and stream was stopped by private policy of Quick Time so to turn on the ability to play RTSP stream in Safari i needed to check some option in browser settings ...
http://www.niehs.nih.gov/news/video/help/