Im making an app that should let the user see video from the camera on the back of the phone in a small frame in my app (300x300)
But im having some problems fetching the stream. I've tried a CameraCaptureTask but does not work on my phone. I seems to open the video app and them close it, returning to the app, right away
Check out the Basic Camera Sample from here: Code Samples for Windows Phone
It's an excellent, fully featured example of probably everything you'll need for your project.
Here's the 'walkthrough' version if you're interested: How to: Create a Base Camera Application for Windows Phone
Related
I'm implementing WPF app where I need to take high quality photos from integrated camera. So far I've been successful with capturing video and taking frames from it (described for example here: Wpf and C # capture webcam and network cameras).
But this is not what I want - because video frame quality is not so great. I have MS Surface 4 Pro which has 8Mpx camera with full HD video support and with the above method I'm able to just get full HD frame from it. But I would like to have full 8Mpx picture, like it is possible to take in the native Windows Camera app.
In UWP I would probably have been successful with CameraCaptureUI class, but I didn't find any clues for WPF.
Does anyone has an idea how this could be implemented?
I've found out that XAML Islands do work with .NET Framework 4.8. So I've been able to implement a WPF solution using UWP components MediaCapture and CaptureElement. With that I can take photos with full resolution which was my goal.
Simple sample project can be found here: https://github.com/ondrasvoboda/WPFCamera, consider it just as a proof of concept.
If your app will run on Windows 10 or above, you can now use most of the APIs from Windows 10 in a WPF application.
https://blogs.windows.com/windowsdeveloper/2019/04/30/calling-windows-10-apis-from-a-desktop-application-just-got-easier/
I am making a login screen for a mobile app in unity3d, that has a video keep on playing in the background and can work on iOS and Android. I have searched online and found out movie texture doesn't work on mobile.
Currently I only can play a video using Handheld.PlayFullScreenMovie, but it is not what I want. I want the video playing and still see the text and have button to click.
I see similar post Set a video as background. But I am using C#. Does anyone know how to do this in unity? Many Thanks!
I have a Desktop Based piece of Touch Screen Software. As part of the process you capture a photo of the user to store later on. The Application works perfectly fine in all versions of Windows other than Windows 8.1 on a Surface Pro 3 (seems to be machines with Metro on).
When it comes to Windows 8.1 the Application Captures the image with no issues. When you then go back to the page to capture again it is unable to grab the camera to take another photo?
Using the Camera Capture in Windows 8.1 itself uses the camera with no issues again. Restarting the Surface Pro allows the camera to work in the application again for one instance and then stops again.
I've tried scouring the web but not having much luck so far. We're using the DirectShow lib
Any advice/ideas/help would be greatly appreciated.
Thanks
Paul
I am making a netradio app on windows phone, my problem is that netradio uses the RTSP audio format and native media player in Windows Phone does not support RTSP.
As a workaround, I have to navigate to a webpage that then handles the audio.
This works fine, and plays the radio, but the problem is that as soon as the app is put in the background the music stops.
Is there a way to keep the webbrowser audio playing?
You could use the BackgroundAudioPlayer within your solution as another project where you could go through a sample here.
And also the sample from Codeplex you can try the Windows Phone Streaming Media.
https://phonesm.codeplex.com/
Hope it helps!
There is no native RTSP support with BackgroundAudioPlayer. You would need to make your own MediaStreamSource implementation to be able to use the stream. At least I didn't find any public 3rd party solutions. Check this http://social.msdn.microsoft.com/Forums/sqlserver/en-US/e052ea29-53cf-4ebb-8558-742b67fc72ad/rtsp-support-in-wp8.
If you are up for the task of writing your own MediaStreamSource implementation, you can use this as starting point and study the RTSP protocol here.
HI friends...I am going to develop Windows phone 8 app (Xaml/C#) which can identify signs (Like famous Logos) using camera. It is like capturing QR code using windows phone. As an example through my application I can scan (like QR code) and identify the Logo which appears in somewhere in board or a picture etc... (Think I have database which is filled with logo information (logo pictures an info) and I connected it to windows phone app.)So my questions are What are the image processing SDKs and libraries I can use to develop this app ?Is there any Blog post which describes those things?Any sample codes?
Thank you very much in Advance
This is a library which has proven to work on WP7 so i'm guessing it will work on WP8 aswell.
It main purpose was augmented reality but its a "vision" library which means you can probably do loads of other vision commands (labelblobs, invert colors etc..)
Link to the library: Here
Samples of its use: Here