Can someone point me towards a good article or tutorial on how to access TV tuner and/or web cams from C#? I looked everywhere and can't seem to find anything relevant.
Thanks
This is normally something that the manufacturer of your video hardware would provide, usually in the form of an SDK.
Depending on what you want to do, this might help:
http://www.codeproject.com/KB/directx/directxcapture.aspx
You might want to look at this question about web cams and DirectShowNet, which is a managed wrapper for the DirectShow component in DirectX.
Related
I am trying to build a feature that is similar to facebook's recent timeline/profile video. Where in facebook creates a video that summarizes your timeline events in a very intuitive video. I am wondering how can we make a video out of custom images, texts and themese via code.
I write C#/JavaScript/HTML for living, it would be helpful if there is a library or API that would allow me to do this. If not any other language is fine I am willing to go that extra mile
Any help will be deeply appreciated.
Have a look at ffmpeg. I don't know any .net api but even their windows command line client is powerful enough to script any video composing task.
I have a client that would like to add a feature to their application that allows an administrator to upload videos, which will be embedded in various content areas throughout the site. The whole thing should be transparent to the user, so he doesn't know he's using YouTube, or whatever service.
I see that YouTube has an API, but I don't know whether their TOS would allow my client to use their services transparently, in this manner. What other video hosting/streaming services are there? That is my question.
When I google for this, I just find a bunch of stuff about Netflix and Hulu (the consumer side of things), so I may simply need help with terminology so I can find the right keywords.
If you need more detail, just let me know! Thanks in advance for help with this.
After much looking: I found some services.
zencoder looks like the best!
brightcove looks modern (thanks to commenter Val on my question), but maybe a bit pricey
xtream looks decent
DIY with Windows Streaming Media Services :)
AudioVideoWeb looks okay
Astream looks okay
I hope this helps someone! I will probably go with zencoder (if my client decides they want this video feature they're asking about). If I do, I will come back here and update with my experience.
I am trying to put a Flash ActiveX control into a Windows Form but I am running into a problem: a lack of documentation. The best I have found is a site called "F-IN-BOX" that has some documentation but much of the API is still a black box. For example, some property will take an integer or a string and provide no clue about what it wants. Another exanple is the FlashVersion() function that inexplicably returns 655361 on version 10.
Incidentally I'm having the same problem with Apple's Quicktime OCX. I've searched both sites and Google and I'm starting to wonder if either of these companies provide documentation for any of their products. Does anybody know where I can find documentation for either of them, even if it's the unofficial variety?
Well once i worked with flash on a windows form, I took this example to get started, and the second link its a flash game being loaded to a winform
http://www.codeproject.com/KB/audio-video/flashexternalapi.aspx
http://www.csharphelp.com/archives/files/archive81/cSharpFlash.zip
Hope this helps anyone, about documentation i didn't find any when working on that project i reached Adobe but i never got an answer from them :/
Alex
Adobe help take a look at this sample. It's very simple and nice to use.
You should stick with ExternalInterfaceProxy all time because it simplifies communication 100x times.
I need to do some basic and non basic DSP programming in C#. At its core, it includes the generation of a sin wave deciding its frequency in Hertz. Then I'd like to Frequency Modulate it and maybe filter it.
Can you suggest any library to help me? Ideally this should also work in a SilverLight environment, as my aim is to showcase a ultra-basic SilverLight synthesizer.
Thanks in advance
You might want to check out a couple of articles by Charles Petzold:
A Simple Silverlight Synthesizer
and
A simple electronice Sequencer in Silverlight
The Oscillator class in the SimpleSequencer project might be what you're looking for.
I am working on the development of a Massively Multiplayer Online Role Playing Game (MMORPG) in .NET using C# and Silverlight. One of the features that has been requested for this game is to allow players to upload their own avatars.
Rather than displaying the uploaded images in their raw forms, we want to convert the images to a cartoon form--in other words to cartoonize the image.
Several sites which can accomplish such a task are listed at http://www.hongkiat.com/blog/11-sites-to-create-cartoon-characters-of-yourself/
I realize that these sites are applying an image filter to create the cartoon image. Frankly, I have no reasonable idea what these cartoon image filter algorithms might look like or if there is anything already available in C# or .NET that I could use. If there are no libraries available, I am curious how difficult it would be to roll my own.
This is a minor game feature so I am not interested in devoting a week or more of coding time to implement this. However, if I can code up what I need within a day, then it is probably viable.
At this point, I am primarily looking for guidance as to
what is possible
what libraries are already available (preferably as open source)
where i may find additional information
any other advice or guidance you may be able to provide
Thank you in advance!
Apparently you apply a Gaussian Blur filter to the image. Then you sharpen the image. Perhaps the AForge libraries would help you out.
I've used code from the image processing lab on code project before with success. (update: here's the library it uses)
Christian Graus also has written a whole series on GDI image processing which I found useful (and has the effects listed above for filtering capabilities).