What options do I have for browser playback of streaming content from WAMS (Windows Azure Media Services).
I need to ensure I have dynamic/adaptive streaming. Targeting primarily browsers (Flash or HTML5). Any additional client coverage is great, but not required.
A lot of information regarding player frameworks and other sdk's for streaming content from WAMS can be found here: Developing Windows Azure Media Services Client Applications
Not sure if the following information is any use to you, but it shows the MPEG-DASH preview in WAMS which might be useful! MPEG DASH preview from Windows Azure Media Services
I wound up using JWPlayer for the time being to save writing a Flash player.
All the information around encoding presets/job creation came from:
http://channel9.msdn.com/Events/Build/2013/3-549
Mingfei Yan (http://mingfeiy.com/) has a lot of resources on Azure Media Services including a number of example projects for end-to-end.
Related
This is probably a really stupid question to many of you out there but I personally don't know and would like to understand, is it possible to use the share data contract for UWP to share and upload photos to the Instagram Windows 10 app.
As I am aware only touchscreen devices running windows 10 can publish videos and photos to Instagram natively so if it works would be very handy as it would allow unsupported devices to upload and share content.
If you have installed the Instagram app on your devices, you will find that it has registered protocol in the system.
Then you could use the UWP Share data APIs to share images to Instagram.
Here’s MS official Sharing content source app sample.
I am creating an application which takes video from a camera hosted on the web, runs it through a computer vision algorithm to detect humans (written in C# using EmguCV's OpenCV wrapper) and streams the processed video to an ASP.NET client.
The process I believed would work was to have Azure Media Services create a live stream channel for the video, and somewhere in the process inject my code to process the video. The algorithm uses a SQL database for much of its decision making, and so I thought to put it in a WebJob and have it process video as it is put in storage. I would much rather process it somewhere in the Azure Media Services process, instead of using a WebJob.
My question is: is there a way to process the video as it is coming in, so what is seen in storage is the processed video with boxes around the people (boxes placed by my algorithm which takes a frame as input and outputs a frame)? If so, where can I put my logic to do this, in the encoder setup?
Also, if you have another way of doing it please let me know! I am open to ideas! I plan on scaling this app to use more than one camera as input, and the client should be able to switch between feeds. This is off topic from my question but is a consideration. I know it is possible to have a WebJob take the video out of storage, process it, and put it back, but the app loses the "Live" aspect then.
Technology Stack:
Azure SQL DB created
Azure Website created
Azure Media Services and Storage created
Possible Azure WebJob to handle algorithm?
Thank you so much in advance for any help!
As of now Azure Media Services is not allowing to plug in user defined code into processing pipeline. You can select existing processor or utilize 3d party encoders which are currently presented through azure marketplace.
For now(based on requirements you have) i think you need to have a proxy VM which doing face recognition of incoming stream and redirect processed stream to Azure Media Services live channel. NGIX web server + ffmpeg + OpenCV can be a good solution to look into.
I would like to add to my app UWP on Windows 10 auto camera upload to the cloud function.
So basically I need this functionality, which according to other sources was not supported in WP8.1 so I dropped the idea.
Now when Lumia 950 and Windows 10 Mobile is out I would very much liked to add this function to my app, but unfortunately I can't find anything about it on newest Windows Mobile. Maybe you can help?
The page you link to is only about having a specific page for the auto upload settings within an app. It doesn't do the automatic uploading for you.
That list was only in WP8 and is not in Windows10 so you can't be added to a list that doesn't exist.
To do the uploading you should look at the Background Transfer API. Specifically the BackgroundUploader class.
There's even a sample. (sample is for Win8.1 but should work with minimal modification.)
update - based on coments
I don't know how Dropbox do it (they may have special privileges not available to every developer) but you could create the functionality to upload newly taken photos by having a background task based on a timed event that checks for new files in the camera roll and uploads any it finds.
this feature is only supported by Silverlight app model, not Universal Windows Platform model.
You might want to use the OneDrive SDK to upload your photo/video to the Cloud https://github.com/onedrive/onedrive-sdk-csharp
I am developing an app in which the camera preview will be streamed to an nginx RTMP server. My searching ended to 3 things.
MSDN sample of real-time communication. It uses Windows Phone 8.1 APIs & STSP protocol, but I want to do in WP8 with rtmp:// protocol
Second thing is Reelsome app, which does what I want exactly.
Third is RtmpClient library on NuGet (GitHub Link), which supports only receiving from server. My requirement is to send the camera preview to server.
So is there any built in API do stream the current camera preview?
PS : I don't want to play streaming media but I want to send to server/URL.
It seems that all wp7 apps have sandboxing. My app downloads an MP3, can I at least sync it with Zune or somehow save it to PC?
In the current version of WP7 you cannot save songs to the media library.
You can save them to IsolatedStorage, but since your goal is to transfer them off the device, your only option is to upload them to a web service. From there you can then transfer the files to a PC etc.
Thanks,
Stefan Wick - Microsoft Silverlight
Anything that you download can be saved to isolated storage, but that is unique to your application, is not synched with Zune, and cannot be accessed by other applications. You could take a look at this approach for desktop communication, but then you'd need to provide a desktop application. In which case, you might just as well download the MP3 on the desktop and let Zune sync it with your WP7 normally. If you're provided something more than just media playback, then you can just access the phone's media library from your app.