Recording screen audio in UWP - windows

I want to record game playing screen audio using UWP in windows 10, not record audio from web camera.
I tried NAudio, But it doesn’t work in UWP.
I have checked MediaCapture, I assume it can record audio or video from something like camera, not screen audio.
Although I found ScreenCapture.AudioSource property in official document, On windows 10 , This api is not supported.
Is there any way to record screen audio in UWP?

Related

Xamarin XCT Media Element not playing recorded audio on Android

I am using the AudioRecorder Plugin to record audio and then save it / play it back using the XCT Media element control.
Working fine on iPhone, however on Android it's not playing back the audio at all - either locally or from a URL.
I've taken a copy of the Xamarin sample project (https://github.com/xamarin/xamarin-forms-samples/tree/main/UserInterface/MediaElementDemos) and replaced the URL in the PlayWebAudioPage with the link to my recorded Audio file and it just doesn't play on Android.
Any ideas on how to investigate this further / fix?
The file plays fine on iPhone, on the computer web browser, VLC etc.

How to record or get the audio while the audio is playing in windows phone 8?

noob here.
I am developing an app for windows phone that streams audio from the web. I've put the play function with MediaElement class, and i have no problem with it.
Then, i want to add a feature to get/record the audio that i stream. I've googling and didn't find what i want.
Is there a way to do that?
Regards,
BM
This is the Microphone class link which can be used to capture audi.
Give a try and let me know
Microphone to capture audio
also go nthrough this link
capturing and playing audio

Playing video files in Windows Phone 8

I'd like to make app for WP8, which will download and play movies. Android Market has lots apps of this type. But all of just get content, and pass it to video player (MX player for example), and format can be different (.avi, .mkv, .mpeg, etc.), but player shows the content without any problems. For exaple on my Samsung s5830, 1400 mb .avi movie plays good. As I can see - WP8 doesn't has custom video players.
Question: if I download in my app, from web, some movie in .avi format, could I play it on WP8? The same question for video stream for web.
You can play back any video file which is supported by the phone (this is documented on MSDN here). You can stream or play downloaded video from Isolated Storage using the MediaElement in the SDK and on WP8 I think there is a DirectX option too.
It's not enough to say that a file type is supported as these are just video "containers" - each container can contain audio and video of different codecs. MKVs don't look like they're supported at all however.
You can see this video format (codec) support varies between WP7 and 8 and even some kinds of phone dependent on what the chipset in the phone supports. (especially for the high bitrate HD codecs).
There is a nice framework that helps you on playing movies inside your app!
Take a look at it on codeplex http://playerframework.codeplex.com
And some documentation http://smf.codeplex.com/documentation

How can my app playback videos like metro tube does for Windows Phone 7?

I have to code an Windows Phone 7 application which playback videos from YouTube. That's kind of normal, but the first approach it's to playback them in the same way as MetroTube does it (see http://www.metrotubeapp.com/ ) (for example you can playback the youtube video without going to fullscreen and also have playback controls)
I do not have any idea of how to achieve this so, perhaps an embedded page based on You tube video integration but not quite sure yet.
Any idea of how to create this very flexible YouTube player for WP7?

Accessing the output audio buffer on Windows Phone 7

The MediaPlayer.GetVisualizationData method does not work for Windows Phone 7, so I'm trying to find another way to visualize music playing through the MediaPlayer.
The post Extracting sound spectrum data in WP7 gives a method for doing beat detection given an audio buffer, but it doesn't explain how to get this buffer on the phone.
How can I access audio samples/frequency data from the music MediaPlayer is playing? I'm not trying to access a buffer from the microphone - I need access to the output audio on the device.
See my answer to this other SO question:
Extracting sound spectrum data in WP7
"Visualization data is not available
on Windows Phone. Any attempt to get
visualization data on the phone will
populate the VisualizationData class
with 0s."

Resources