How to record video? - windows-phone-7

I want to access camera to record video to upload, but have come across many articles which states that there is no access for third party to record video. Here's the link:
http://forums.create.msdn.com/forums/p/74190/452090.aspx
http://pocketnow.com/windows-phone/no-video-camera-access-for-windows-phone-7-developers
Is it true? If not how do I use camera to record video?

Use Mango feature with Raw Camera Data.
Basically, all you need is in following article:
http://jonas.follesoe.no/2011/07/22/qr-code-scanning-on-windows-phone-75-using-zxlib
The only difference is that in method ScanPreviewBuffer author scans QR code, and you should store those images and then make a video from them.
That's how I would do that task

You're in luck because MSDN has a great article on how to do this! You can also download the complete sample code. You can see more samples from MSDN here

Is it true?
It used to be true back when those articles were written. The earlier version of WP7, before Mango, did not support any APIs to access the camera (the best you could do was launch the camera app itself I think). As of v7.1 you have access to it as Shawn and Alex have said.

Related

Is it possible apply audio effects to all sounds coming out of a specific audio endpoint

I have been looking around online for an answer for some days now, without any luck. So now, I hope one of you might be able to help point me in the right direction.
WHAT I AM TRYING TO DO:
I want to build a C# application where I can apply different types of distortion and pitching effects to all types of audio that comes out of a preselected audio endpoint.
It should not matter if the user is playing an audio stream or an audio file on their system. I want to apply effects to it before the audio leves the selected endpoint.
I have been trying to use some of the windows audio APIs like 'DirectSound' and 'WASAPI' and also the open source project NAudio. sadly all with no luck so far.
WHAT I AM STRUGGLING WITH:
I can't seem to figure out what windows API I should use or if I would have to make my own audio API that takes directly with the windows Audio engine: https://learn.microsoft.com/en-us/windows-hardware/drivers/audio/windows-audio-architecture
Please let me know your thoughts, or if you think I am looking at this all wrong.
Simpler solution: It should be possible in a soundcard driver if it can load effects.. SB live successors or EMU based cards are the cheapest and KXproject driver is awesome for those

How to get TripAdvisor photos, as Apple Maps does

Does anyone know if it is possible to access TripAdvisor photos in the same way that Apple Maps does:
I've looked at the TripAdvisor api docs but photo queries don't seem to be a feature. If that is true then how does Apple Maps do it?
I am currently using the Google Places API, but having quite a few issues with it, including image quality (not referring to resolution here, just the types of photo and professionalism)
Thanks
Look closer at the /map-attractions one, it seems to have a call in it that includes photos.
EDIT: Also, see this post about alternatives if that doesn't work out.

Native (non-webview) streaming from YouTube?

I see a lot of applications in the Mac App store, such as MiniTube and CloudPlay, which appear to stream high quality video directly from YouTube, without using any sort of embedded player.
However, I don't see any means of doing this through the documented API. Is their scraping (e.g. http://gitorious.org/minitube/minitube/blobs/master/src/video.cpp) illegal/against the TOS, or merely undocumented and unsupported? Is there a better way of doing it?
(In particular, the so-called "chromeless" iframe player actually has a significant amount of chrome/user interaction, which is more suitable for a website than for a native application.)
EDIT: I suppose my question is primarily for the official YouTube developer support: is scraping the page for the stream against the TOS? If it is, why are these apps allowed to remain on the app store, and if it isn't, what is the best way of doing so?
Never tried this, but according to this discussion here it's against the TOS to access the native streams. They also mention that you are free to access the rstp streams made for mobile devices through the api.
So I think scraping the page is the only way to get the higher quality videos without using an embedded player in your application. If you're okay with lower quality then use the rstp way.
Another discussion about the same subject.
Any scraping would violate YouTube's TOS. There are no undocumented APIs available either. For iOS the best provide option is to use the YouTube iframe embed, but that will be within a webview. For Android, YouTube is building a library to do playback without a webview. Here's a video of the announcement http://www.youtube.com/watch?v=3WFsx-u-q3Y&feature=player_embedded. It's not launched yet, but I know they've been working very hard on it and it should be available soon.

How to modify in real time the video stream from camera on Windows?

My question is similar to this question. I want to capture and modify video stream from web camera in Windows transparently to all applications using web camera. Whether should it be some kind of driver? Is it possible? Is there API for such tasks? I'm reading about DirectShow filters. Am I on the right direction?
Thanks for your help!
You can use DirectShow to capture the video stream from the camera, modify it, and then pass it on to either a DirectShow source filter (will be seen by some apps as "webcam") or to a kernel driver (will be seen by pretty much every app). If you're new to this do realize this is a lot of work. Depending on what you want to do, consider buying ready made components for your developing environment or even complete applications that can do this (I developed one).

Non-flash / No-plugin Video chat?

We are developing a social website and looking to implement video/audio chat for users (people a user is friends with). Most of the talk from the tech team was to use flash. But I don't want users to install anything. Can video/audio/conferencing be done purely in AJAX? Either develop it from scratch or use open source frameworks if any?
Flash is already installed on practically ever browser out there -- except iPhones, iPads, etc. which will likely never support Flash.
AJAX and HTML and CSS currently have no access to video and audio input hardware, so that's a non-starter. In the future this may change.
For now Flash is (for better or for worse) the best way to go.
No, unfortunately you can only do this with a plugin (ie Flash).
I don't believe you have access to video or audio input devices from just the browser.
HTML5 will be the answer in the near future (Work in progress): Link1 and Link2
But for now the only option is Flash

Resources