Page 1 of 2 12 LastLast
Results 1 to 20 of 22
  1. #1
    H@CK3R is offline Member
    Join Date
    Sep 2010
    Posts
    11
    Rep Power
    0

    Default 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

  2. #2
    travishein's Avatar
    travishein is offline Senior Member
    Join Date
    Sep 2009
    Location
    Canada
    Posts
    684
    Rep Power
    5

    Default

    there is an open source project for this Home - LTI-CIVIL

  3. #3
    H@CK3R is offline Member
    Join Date
    Sep 2010
    Posts
    11
    Rep Power
    0

    Default

    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.

  4. #4
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

  5. #5
    H@CK3R is offline Member
    Join Date
    Sep 2010
    Posts
    11
    Rep Power
    0

    Default

    No, I want to provide data to video chat app(eg. skype) through my application and not my web cam.

  6. #6
    H@CK3R is offline Member
    Join Date
    Sep 2010
    Posts
    11
    Rep Power
    0

    Default

    last post contd...

    such that my video chat apps should work even if my webcam is not connected to the system

  7. #7
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

    Default

    Quote Originally Posted by H@CK3R View Post
    No, I want to provide data to video chat app(eg. skype) through my application and not my web cam.
    From where the video take into your application?

  8. #8
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

    Default

    Quote Originally Posted by H@CK3R View Post
    last post contd...

    such that my video chat apps should work even if my webcam is not connected to the system
    Again, without a web cam (or such a device) how can you capture the video?

  9. #9
    H@CK3R is offline Member
    Join Date
    Sep 2010
    Posts
    11
    Rep Power
    0

    Default

    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)

  10. #10
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

    Default

    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.

  11. #11
    H@CK3R is offline Member
    Join Date
    Sep 2010
    Posts
    11
    Rep Power
    0

    Default

    Quote Originally Posted by Eranga View Post
    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.
    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

  12. #12
    H@CK3R is offline Member
    Join Date
    Sep 2010
    Posts
    11
    Rep Power
    0

    Default

    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.

  13. #13
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

    Default

    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.

  14. #14
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

    Default

    Quote Originally Posted by H@CK3R View Post
    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.
    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.

  15. #15
    H@CK3R is offline Member
    Join Date
    Sep 2010
    Posts
    11
    Rep Power
    0

    Default

    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.

  16. #16
    H@CK3R is offline Member
    Join Date
    Sep 2010
    Posts
    11
    Rep Power
    0

    Default

    Quote Originally Posted by Eranga View Post
    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.
    '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..??

  17. #17
    H@CK3R is offline Member
    Join Date
    Sep 2010
    Posts
    11
    Rep Power
    0

    Default

    Hey I got the same software problem that I am asking. Can you help me understand how this stuff can be done in java

  18. #18
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

  19. #19
    imorio is offline Senior Member
    Join Date
    Aug 2010
    Posts
    127
    Rep Power
    0

    Default

    Quote Originally Posted by H@CK3R View Post
    Hey I got the same software problem that I am asking. Can you help me understand how this stuff can be done in java
    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.

  20. #20
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,188
    Rep Power
    19

    Default

    Also, if you really feel you must do this yourself, Java is just about the worst choice of development platform. You will need something like C/C++ which works closer to the hardware.

    db

Page 1 of 2 12 LastLast

Similar Threads

  1. generate pseudo random numbers in java
    By csr81 in forum Advanced Java
    Replies: 3
    Last Post: 03-01-2010, 07:08 AM
  2. Replies: 7
    Last Post: 04-07-2009, 06:04 AM
  3. The addition program is providing incorrect sum '0'
    By tabrez_k81 in forum New To Java
    Replies: 4
    Last Post: 12-16-2008, 01:43 PM
  4. initialising a webcam?
    By jonsamwell in forum New To Java
    Replies: 1
    Last Post: 08-25-2008, 05:17 PM
  5. J2ME Webcam 0.1
    By JavaBean in forum Java Software
    Replies: 0
    Last Post: 10-31-2007, 05:25 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •