Results 1 to 20 of 22
Thread: Providing pseudo Webcam
- 09-23-2010, 06:22 PM #1
Member
- Join Date
- Sep 2010
- Posts
- 11
- Rep Power
- 0
Providing pseudo Webcam
Hi All,
I am new here so please bear with me.
I want to know how an application like Skype determines the presence of webcam in a system and how can I fake it using my java application or is this even possible or not.For example: suppose there is a webcam attached to my system what I want is read the data from the cam and supply it to applications like skype with some modifications or in other words my application will act as camera for the system.
Thanks in advance
- 09-24-2010, 03:13 AM #2
there is an open source project for this Home - LTI-CIVIL
- 09-24-2010, 11:07 AM #3
Member
- Join Date
- Sep 2010
- Posts
- 11
- Rep Power
- 0
Thanks for the info but capturing data is not my problem,moreover this project, as far as I understood, is used to save the video as images,which is not required in my case.My problem is kinda streaming the video captured to say video chat apps and the major point being the system should think that the video is provided by the web cam and not my application or I can replace the input given by web cam to chat applications by my application's output.
- 09-24-2010, 11:17 AM #4
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,370
- Blog Entries
- 1
- Rep Power
- 26
Means that you want to capture the screen and display it on your application?
- 09-25-2010, 05:49 PM #5
Member
- Join Date
- Sep 2010
- Posts
- 11
- Rep Power
- 0
No, I want to provide data to video chat app(eg. skype) through my application and not my web cam.
- 09-25-2010, 05:51 PM #6
Member
- Join Date
- Sep 2010
- Posts
- 11
- Rep Power
- 0
last post contd...
such that my video chat apps should work even if my webcam is not connected to the system
- 09-25-2010, 06:06 PM #7
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,370
- Blog Entries
- 1
- Rep Power
- 26
- 09-25-2010, 06:08 PM #8
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,370
- Blog Entries
- 1
- Rep Power
- 26
- 09-25-2010, 06:12 PM #9
Member
- Join Date
- Sep 2010
- Posts
- 11
- Rep Power
- 0
capturing the video is not an issue,it can be anything, say a video flie on my hard disk or any other thing the point I am wonder about is how will I do the later part (the point in my last post)
- 09-25-2010, 06:24 PM #10
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,370
- Blog Entries
- 1
- Rep Power
- 26
That means pass the video into an application like Skype from your Java application. Am I correct?
If so, you cannot do that, because there is no API provide by Skype to do that from outside.
- 09-25-2010, 06:41 PM #11
Member
- Join Date
- Sep 2010
- Posts
- 11
- Rep Power
- 0
Exactly,I want to do this only but not specifically to skype. Skype is an example of application that uses the system web cam.
Is there no way by which I can fake the presence of web cam.So that when Skype or gmail video chat, checks for the presence of web cam in my system it detects my application and I can provide the input.I dont want any support from Skype,it should work normally.
There will some kind of polling that the Skype does to detect the webcam...ryt?
cant I connect the port or whatever the webcam connects to, to replace the webcam
- 09-25-2010, 06:46 PM #12
Member
- Join Date
- Sep 2010
- Posts
- 11
- Rep Power
- 0
One more thing...
How does the webcam tells the system that Ok now I am present, send any request that comes to you for video chat, to me,i will provide the video for it.
- 09-25-2010, 06:46 PM #13
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,370
- Blog Entries
- 1
- Rep Power
- 26
In high level, what the application does is search the device pool for a webcam and utilize that device to stream the video. It's a functionality of the application.
If you want to bypass that and use your own video in any format, in any location, what you have to do is streaming the existing to the other party. If you want to connect it to another app (I refer the Skype to point that too), it should provide an interface to link with it. But unfortunately most of the applications wont do that.
- 09-25-2010, 06:49 PM #14
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,370
- Blog Entries
- 1
- Rep Power
- 26
As I told you earlier, this is not initiate from the device, it's from the application it self. Basically it search for the device and notify it to start work on. And it's waiting for a video streaming, which is cam provide as an output. Then the incoming stream controlling accordingly by the application.
- 09-25-2010, 06:55 PM #15
Member
- Join Date
- Sep 2010
- Posts
- 11
- Rep Power
- 0
Ok I got your point...
That means if somehow I can make an entry of my application to device list as webcam it might work.
See this smartcam ..This guy is also doing something similar to what I want to do..He is using his mobile to chat on skype and other video chat..
The later part is same what I have asked.
- 09-25-2010, 06:59 PM #16
Member
- Join Date
- Sep 2010
- Posts
- 11
- Rep Power
- 0
'And it's waiting for a video streaming, which is cam provide as an output.'
Here is what I wanted,where is this cam giving output to, from where the application is reading this streaming video...If I also stream my video to same stream or location I suppse my task will be done..??
- 09-25-2010, 07:16 PM #17
Member
- Join Date
- Sep 2010
- Posts
- 11
- Rep Power
- 0
Hey I got the same software problem that I am asking. Can you help me understand how this stuff can be done in java
- 09-26-2010, 08:09 PM #18
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,370
- Blog Entries
- 1
- Rep Power
- 26
If you could ask it specifically I can help you.
- 09-26-2010, 10:07 PM #19
Senior Member
- Join Date
- Aug 2010
- Posts
- 127
- Rep Power
- 0
I get it. You want disguise a streaming video of any source as a webcam feed.
If you want to do that, you're in the wrong place. As far as I know, there is no api supplied that does this. So if you want to write an application that does this, you will need a lot of knowledge about how your operating system works. If you spent a few hours a day on this learning to program etc. it will take between a few months (when you're extremly lucky) and a few years.
Short answer: just buy the dam program.
- 09-27-2010, 02:13 AM #20
Similar Threads
-
generate pseudo random numbers in java
By csr81 in forum Advanced JavaReplies: 3Last Post: 03-01-2010, 08:08 AM -
Implementing a pseudo random generator with shift-register method
By NewJavaBean in forum New To JavaReplies: 7Last Post: 04-07-2009, 07:04 AM -
The addition program is providing incorrect sum '0'
By tabrez_k81 in forum New To JavaReplies: 4Last Post: 12-16-2008, 02:43 PM -
initialising a webcam?
By jonsamwell in forum New To JavaReplies: 1Last Post: 08-25-2008, 06:17 PM -
J2ME Webcam 0.1
By JavaBean in forum Java SoftwareReplies: 0Last Post: 10-31-2007, 06:25 PM
Bookmarks