Results 1 to 2 of 2

Thread: redirect v4l2 webcam stream?

  1. #1
    Join Date
    Dec 2007
    Location
    BUE @ Argentina
    Beans
    1,225
    Distro
    Kubuntu 9.04 Jaunty Jackalope

    Question redirect v4l2 webcam stream?

    Hi there,
    in my company's intranet we have a flash-based video-chat app (sort of chatroulette) that only takes input from a video camera.
    My laptop webcam is mapped at /dev/video0 and the flash app sees it as 'HP Webcam V4L2'.
    I want to direct a video (in Kaffeine or Mplayer) clip or an Oo presentation to this app. (Now I point the camera back and forth to another PC)

    Is there a way to redirect the stream and make it pose as a webcam to be detected by other apps as a webcam? Maybe /dev/video1.

    I tried with
    Code:
    mplayer video.avi > /dev/video1
    but didnt work.

    Hope I made myself clear.
    Thanks for your help.
    /**HP Pavilion DV6646us laptop: AMD 1.9 GHz Turion 64 X2 / 2Gb RAM / 160Gb HDD / NVIDIA GeForce Go 7150M / 15.4" WXGA / BroadCom BCM4328 wireless / Built-in webcam **/
    -- Kubuntu 9.04, CentOs 5.2, Mikrotik RouterOS 3.3 User -- Argentina LoCo Team

  2. #2
    Join Date
    Dec 2007
    Location
    BUE @ Argentina
    Beans
    1,225
    Distro
    Kubuntu 9.04 Jaunty Jackalope

    Re: redirect v4l2 webcam stream?

    Last edited by sergiom99; October 18th, 2010 at 02:05 AM.
    /**HP Pavilion DV6646us laptop: AMD 1.9 GHz Turion 64 X2 / 2Gb RAM / 160Gb HDD / NVIDIA GeForce Go 7150M / 15.4" WXGA / BroadCom BCM4328 wireless / Built-in webcam **/
    -- Kubuntu 9.04, CentOs 5.2, Mikrotik RouterOS 3.3 User -- Argentina LoCo Team

Tags for this Thread

Bookmarks

Posting Permissions

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